all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs 23.3 stops font-lock when have long face name
@ 2015-11-25 12:30 Wilson Snyder
  2015-11-25 17:40 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Wilson Snyder @ 2015-11-25 12:30 UTC (permalink / raw
  To: emacs-devel


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?

I would prefer not to rename the long face's name (really
it's verilog-font-grouping-keywords-face) since that name
has been stable for several versions of Emacs and may be in
user's customizations.

Thanks



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-11-30 16:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2015-11-25 21:09 ` Stefan Monnier
2015-11-26 14:13 ` Wilson Snyder
2015-11-30 16:07   ` Eli Zaretskii

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.