GNU bug report logs - #14574
prog-prettify-symbols breaks font-locking

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Sat, 8 Jun 2013 04:36:01 UTC

Severity: normal

Found in version 24.3.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #61 received at 14574 <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 14574 <at> debbugs.gnu.org
Subject: Re: bug#14574: prog-prettify-symbols breaks font-locking
Date: Sun, 16 Jun 2013 00:48:34 +0200
On Sat, Jun 15, 2013 at 8:43 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:

> Probably because turning off font-lock removes the font-lock text
> properties, but doesn't remove the 'composition' text property.

Yes. But IIUC what Ted said, turning off font-lock mode is removing
the prettification for him. ??

As for the composition text property, I suppose it could be possible
to mark the prettified text during font-locking and use some font-lock
-hook or -function to remove it at turn-off time?




This bug report was last modified 11 years and 343 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.