From: Dima Kogan <dima@secretsauce.net>
To: 13612@debbugs.gnu.org
Subject: bug#13612: 24.3.50; Incorrect syntax highlighting in cc-mode
Date: Sat, 02 Feb 2013 15:35:17 -0800 [thread overview]
Message-ID: <874nhuguh6.fsf@shorty.local.i-did-not-set--mail-host-address--so-tickle-me> (raw)
I'm observing incorrect highlighting of some C code I'm looking at. This
issue appears to have been around at least since emacs23.
Make a file tst.c with the following in it:
void f(void)
{
filter_R( dt );
filter_t( dt );
a = b;
}
I'm observing the filter_R line being colored differently from the
filter_t line. Everything on the filter_R line is using the 'default'
face. 'filter_t' uses font-lock-type-face. 'dt' on the filter_t line
uses font-lock-variable-name-face.
In GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, X toolkit, Xaw scroll bars)
of 2012-12-31 on dex, modified by Debian
(emacs-snapshot package, version 2:20121231-1)
Windowing system distributor `The X.Org Foundation', version 11.0.11204000
System Description: Debian GNU/Linux 7.0 (wheezy)
Configured using:
`configure --build x86_64-linux-gnu --host x86_64-linux-gnu
--prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib
--localstatedir=/var --infodir=/usr/share/info --mandir=/usr/share/man
--with-pop=yes
--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.3.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3.50/site-lisp:/usr/share/emacs/site-lisp
--without-compress-info --with-crt-dir=/usr/lib/x86_64-linux-gnu/
--with-x=yes --with-x-toolkit=lucid'
Important settings:
value of $LC_ALL: C
value of $LANG: C
locale-coding-system: nil
default enable-multibyte-characters: t
Major mode: C/l
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
abbrev-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug sendmail gnus-util message cl-macs gv
format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse
rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev
mail-utils gmm-utils mailheader reporter etags ring info misearch
multi-isearch pp wid-edit descr-text reposition jka-compr find-func
thai-util thai-word mule-util help-mode help-fns crm thingatpt cc-langs
cl nadvice cl-lib cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs time-date tooltip
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
register page menu-bar rfn-eshadow timer select scroll-bar mouse
jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer loaddefs button faces cus-face macroexp files text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind inotify
dynamic-setting system-font-setting font-render-setting x-toolkit x
multi-tty emacs)
next reply other threads:[~2013-02-02 23:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-02 23:35 Dima Kogan [this message]
2013-02-03 3:48 ` bug#13612: 24.3.50; Incorrect syntax highlighting in cc-mode Eli Zaretskii
2013-02-04 20:59 ` Dima Kogan
2013-02-04 21:15 ` Eli Zaretskii
2013-02-05 14:54 ` Alan Mackenzie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874nhuguh6.fsf@shorty.local.i-did-not-set--mail-host-address--so-tickle-me \
--to=dima@secretsauce.net \
--cc=13612@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.