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 #100 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#14574: prog-prettify-symbols breaks font-locking
Date: Sun, 16 Jun 2013 19:14:45 -0400
> Yes, I agree.  Maybe we can add a `prog-prettify-uninstall' function
> that expects the buffer-local `prog-prettify-symbols-alist' to be
> unchanged and removes all compositions named in it?  And that can be
> added to the font-lock unload hook when `prog-mode' is installed?

The simpler solution is to make prog-prettify-install add `composition'
to the extra-managed properties.


        Stefan




This bug report was last modified 12 years and 1 day ago.

Previous Next


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