emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fonts do not work correctly in cc-mode


From: Matzi Kratzi
Subject: Fonts do not work correctly in cc-mode
Date: Mon, 23 Apr 2007 10:50:25 +0200

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Quite often, but not always, cc-mode does not fontify the "head" of a
function definition correctly.

static uint8 CheckIE_ActivateUTC_Req(LL_Data_Ind_t *ActivateUTC_Req_p,
                                    ActivateUTC_ReqAddr_t
*ActivateUTC_ReqAddr_p)
{
...
}

"uint8 CheckIE_ActivateUTC_Req" is black. I want "uint8" to be green
and "CheckIE_ActivateUTC_Req" to be blue.

If I use M-x font-lock-fontify-buffer when I see this, emacs will
fontify it correctly. If I add a space somewhere inside
CheckIE_ActivateUTC_Req and then immediately delete it, emacs will
also fontify it correctly.


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
   `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
c:/Download/emacs-070423/etc/DEBUG for instructions.


In GNU Emacs 22.0.98.1 (i386-mingw-nt5.0.2195)
of 2007-04-23 on E001560B82878
Windowing system distributor `Microsoft Corp.', version 5.0.2195
configured using `configure --with-gcc (3.4)'

Important settings:
 value of $LC_ALL: nil
 value of $LC_COLLATE: nil
 value of $LC_CTYPE: nil
 value of $LC_MESSAGES: nil
 value of $LC_MONETARY: nil
 value of $LC_NUMERIC: nil
 value of $LC_TIME: nil
 value of $LANG: SVE
 locale-coding-system: cp1252
 default-enable-multibyte-characters: t

Major mode: C/l

Minor modes in effect:
 encoded-kbd-mode: t
 tooltip-mode: t
 tool-bar-mode: t
 mouse-wheel-mode: t
 menu-bar-mode: t
 file-name-shadow-mode: t
 global-font-lock-mode: t
 font-lock-mode: t
 blink-cursor-mode: t
 unify-8859-on-encoding-mode: t
 utf-translate-cjk-mode: t
 auto-compression-mode: t
 line-number-mode: t
 abbrev-mode: t

Recent input:
<drag-n-drop> C-s c h e c k <return> SPC <backspace>
M-x r e p o r t SPC b u SPC <backspace> <backspace>
<tab> <return>

Recent messages:
("C:\\Download\\emacs-070423\\bin\\emacs.exe" "-Q")
Loading encoded-kb...done
For information about the GNU Project and its goals, type C-h C-p.
Loading url-util...done
psr.c has auto save data; consider M-x recover-this-file
Loading cc-mode...done
Mark saved where search started
Loading emacsbug...done




reply via email to

[Prev in Thread] Current Thread [Next in Thread]