From: Eli Zaretskii <eliz@gnu.org>
To: wsnyder@wsnyder.org (Wilson Snyder)
Cc: emacs-devel@gnu.org
Subject: Re: Emacs 23.3 stops font-lock when have long face name
Date: Wed, 25 Nov 2015 19:40:33 +0200 [thread overview]
Message-ID: <8337vux9im.fsf@gnu.org> (raw)
In-Reply-To: <7qr3jetg5q.fsf@emma.svaha.wsnyder.org>
> From: wsnyder@wsnyder.org (Wilson Snyder)
> Date: Wed, 25 Nov 2015 07:30:41 -0500
>
> I'm trying to fix a font-lock issue with long face names
> reported against Emacs 23.3, which I've confirmed is fixed
> in Emacs 25.
>
> There's a keyword list:
>
> (setq verilog-font-lock-keywords
> ....
> (cons (concat "\\<\\(" verilog-font-grouping-keywords "\\)\\>")
> 'verilog-font-lock-fixme-face)
>
> this works correctly. Changing the face name used to
>
> 'verilog-font-lock-fixmefixmefixmefixmefixmefixmefixme-face)
>
> which has an identical face definition as the shorter name,
> makes the fontification break - font-lock simply stops
> highlighting using this face half way through the smallish
> buffer, but continues using other (shorter) face names.
>
> This is not affected by font-lock-maximum-size.
>
> Can anyone please suggest what version this was fixed and
> suggest a workaround for the older Emacsen?
Can you post a minimal file (or files) required to reproduce this, and
a reproducible recipe starting from "emacs -Q"?
Thanks.
next prev parent reply other threads:[~2015-11-25 17:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-25 12:30 Emacs 23.3 stops font-lock when have long face name Wilson Snyder
2015-11-25 17:40 ` Eli Zaretskii [this message]
2015-11-25 21:09 ` Stefan Monnier
2015-11-26 14:13 ` Wilson Snyder
2015-11-30 16:07 ` Eli Zaretskii
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=8337vux9im.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=wsnyder@wsnyder.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.