GNU bug report logs - #19145
24.4; prettify-symbols-mode inconsistent behavior

Previous Next

Package: emacs;

Reported by: Ken Mankoff <mankoff <at> gmail.com>

Date: Fri, 21 Nov 2014 17:54:01 UTC

Severity: minor

Found in version 24.4

Full log


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

From: Ted Zlatanov <tzz <at> lifelogs.com>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 19145 <at> debbugs.gnu.org, Ken Mankoff <mankoff <at> gmail.com>
Subject: Re: bug#19145: 24.4; prettify-symbols-mode inconsistent behavior
Date: Tue, 25 Nov 2014 04:49:11 -0500
On Mon, 24 Nov 2014 09:53:43 -0500 Stefan Monnier <monnier <at> IRO.UMontreal.CA> wrote: 

SM> Duh!  Sorry, I somehow failed to see "python-mode" in your original
SM> bug report.  So yes, you're trying to prettify subparts of identifiers,
SM> and prettify-symbols-mode currently provides no support at all for that.
...
SM> But w.r.t "delta" in "delta_x" it would make a lot of sense for
SM> prettify-symbols-mode to provide support for that.

I don't think it would--I would keep `prettify-symbols-mode' strict. I
think Ken needs a different mode that's yet to be written:
`prettify-regex-mode'?

"delta_x" is an entirely different thing from "delta" in all the
programming languages I can think of, so I would not expect to see δ_x
all over the code just because I want to prettify deltas themselves. If
anything, it would make finding the real standalone deltas harder.

Ted




This bug report was last modified 10 years and 242 days ago.

Previous Next


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