From: Alan Mackenzie <acm@muc.de>
To: Christoph <cschol2112@googlemail.com>
Cc: 7264@debbugs.gnu.org
Subject: bug#7264: 24.0.50; cc-mode: fontification of enums broken
Date: Sat, 30 Oct 2010 12:31:47 +0000 [thread overview]
Message-ID: <20101030123147.GA7856@muc.de> (raw)
In-Reply-To: <86lj5rxhtm.fsf@gmail.com>
On Thu, Oct 21, 2010 at 05:11:01PM -0600, Christoph wrote:
> Fontification of enumeration typedefs seems to be broken in the trunk
> (r102035).
> Write the following piece of code to file.c and open it.
> typedef enum
> {
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
[ snip 190 identical lines ]
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER
> } MyEnum;
> After the 22nd member, the fontification disappears, i.e. the
> members are not fontified as enumeration members anymore.
I've just committed a fix for this. The cause of the partial
fontification was jit_lock's habit of fontifying 500 bytes at a time in
the background. This reached the 22nd item in the enum block, after
which it had no context for the next lot of 500 bytes.
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2010-10-30 12:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-21 23:11 bug#7264: 24.0.50; cc-mode: fontification of enums broken Christoph
2010-10-23 14:22 ` Christoph
2010-10-23 20:02 ` Alan Mackenzie
2010-10-30 12:31 ` Alan Mackenzie [this message]
2010-10-30 21:09 ` 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=20101030123147.GA7856@muc.de \
--to=acm@muc.de \
--cc=7264@debbugs.gnu.org \
--cc=cschol2112@googlemail.com \
/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.