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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juanma Barranquero <lekktu <at> gmail.com>, Kenichi Handa <handa <at> gnu.org>
Cc: 14574 <at> debbugs.gnu.org
Subject: Re: bug#14574: prog-prettify-symbols breaks font-locking
Date: Mon, 17 Jun 2013 18:00:10 +0300
> From: Juanma Barranquero <lekktu <at> gmail.com>
> Date: Mon, 17 Jun 2013 11:22:33 +0200
> 
> On Mon, Jun 17, 2013 at 9:25 AM, Ted Zlatanov <tzz <at> lifelogs.com> wrote:
> 
> > IIUC, that would be pretty annoying when editing Perl or other languages
> > with Unicode (e.g. Cyrillic) data in the script.
> 
> Not many scripts (relatively speaking) use the kind of character
> variation that needs composition

If you are the user of those particular scripts, removing the
compositions will be rather nasty for you, because it makes the text
barely legible, sometimes not at all.

> (mostly arabic and many indic scripts, but not cyrilic, I think).

Arabic uses automatic compositions, not static compositions produced
by text properties.  If you want to see which scripts use the
'composition' properties, search Lisp files for compose-region.

Perhaps Handa-san could tell if having 'composition' properties in
comments and strings is something that can happen in real life for
some scripts used in those comments/strings.  If it can (and I don't
know one way or the other), then I don't think we should remove all of
the 'composition' properties just because font-lock was turned off.

> we're still a long way from another release, I suppose. Plenty of
> time to receive user complains and implement a more thorough fix,
> IMHO.

You assume that representatives of affected communities track Emacs
development.  But that assumption is not really guaranteed to be true.




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.