[Pkg-kde-extras] Bug#463738: gtk-qt-engine: Emacs doesn't show LaTeX files in AUCTeX's LaTeX mode

Braun Gábor braung at renyi.hu
Fri Oct 15 10:27:10 UTC 2010


Package: gtk-qt-engine
Version: 1:1.1+svn5-4+b1
Followup-For: Bug #463738


See 
http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/402751b25b47a913/bde12a7f74e1b02d?hide_quotes=no#msg_8fe02ee641a06bbf

When starting emacs to load a LaTeX file, it is not fontified
and shown in Fundamental mode.
Typing M-x LaTeX-mode returns an error: 
Invalid face height 0.0.
Typing M-x LaTeX-mode again the buffer switches to LaTeX mode.

Starting emacs as LC_NUMERIC=C emacs file.tex
the problem does not occur.

These are my own experience and
the above link describes the same problem, I guess,
I don't know for sure that it is gtk-qt-engine's fault but
I have this problem only recently and have installed the package
again recently.

You can also find the opinion of the mantainer of AUCTeX in the 
following link, let me copy the relevant part:

<quote>
[LC_NUMERIC=C] will affect every program started from within Emacs as 
well.  I am not clear what code is responsible for this: the problem is 
likely because either scanf or printf or its equivalents use "," instead of 
"." in numbers. 
 
Whether this happens inside of Emacs proper or in GTK, I don't know.  In 
general, you rarely want LC_NUMERIC to be different from "C" for 
_anything_.  Programming languages and libraries and utilities break 
because programmers hardly ever expect that the equivalent of 
printf("%4.2f",3.0) would result in "3,00" in foreign locales. 
</quote>

ii  auctex         11.85-1        integrated document editing 
ii  emacs23        23.2+1-4       The GNU Emacs editor (with GTK+ user 

Best wishes,

	Gábor Braun

-- System Information:
Debian Release: squeeze/sid
  APT prefers stable
  APT policy: (990, 'stable'), (650, 'testing'), (600, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=hu_HU.UTF-8, LC_CTYPE=hu_HU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gtk-qt-engine depends on:
ii  libatk1.0-0                 1.30.0-1     The ATK accessibility toolkit
ii  libc6                       2.11.2-6     Embedded GNU C Library: Shared lib
ii  libcairo2                   1.8.10-6     The Cairo 2D vector graphics libra
ii  libfontconfig1              2.8.0-2.1    generic font configuration library
ii  libfreetype6                2.4.2-1      FreeType 2 font engine, shared lib
ii  libgcc1                     1:4.4.5-2    GCC support library
ii  libglib2.0-0                2.24.2-1     The GLib library of C routines
ii  libgtk2.0-0                 2.20.1-1+b1  The GTK+ graphical user interface 
ii  libpango1.0-0               1.28.1-1     Layout and rendering of internatio
ii  libqtcore4                  4:4.6.3-1+b1 Qt 4 core module
ii  libqtgui4                   4:4.6.3-1+b1 Qt 4 GUI module
ii  libstdc++6                  4.4.5-2      The GNU Standard C++ Library v3
ii  libx11-6                    2:1.3.3-3    X11 client-side library

Versions of packages gtk-qt-engine recommends:
ii  kde-config-gtk-style     1:1.1+svn5-4+b1 KDE configuration module for GTK+ 

gtk-qt-engine suggests no packages.

-- no debconf information





More information about the pkg-kde-extras mailing list