GNU bug report logs - #38485
Customizing glyph widths

Previous Next

Package: emacs;

Reported by: Clément Pit-Claudel <cpitclaudel <at> gmail.com>

Date: Wed, 4 Dec 2019 04:24:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: rms <at> gnu.org
Cc: cpitclaudel <at> gmail.com, casouri <at> gmail.com, 38485 <at> debbugs.gnu.org
Subject: bug#38485: "prettified" symbols
Date: Fri, 06 Dec 2019 09:58:48 +0200
> From: Richard Stallman <rms <at> gnu.org>
> Cc: eliz <at> gnu.org, casouri <at> gmail.com, 38485 <at> debbugs.gnu.org
> Date: Thu, 05 Dec 2019 23:15:27 -0500
> 
> Would someone please send me a 10-line general explanation of
> what the "prettified" symbols feature does, or would do?

It displays symbol names in programming languages as pretty symbols.
For example, "lambda" in Lisp can be displayed as λ.  This uses static
character composition to do its job.

I suggest to look at the code, it's quite short and simple.  Start
around line 200 in prog-mode.el, where prettify-symbols-mode is
defined.

> In what modes or contexts would this operate, by default?

By default, this mode is turned off.  You need to turn it on, and it
is currently written to work with programming-language major modes.




This bug report was last modified 5 years and 195 days ago.

Previous Next


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