GNU bug report logs -
#65884
29.1; prettify-symbols-unprettify-at-point documentation
Previous Next
Reported by: Peter Mao <peter.mao <at> gmail.com>
Date: Tue, 12 Sep 2023 04:21:02 UTC
Severity: normal
Found in version 29.1
Fixed in version 29.2
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Wed, 13 Sep 2023 13:45:47 -0700
with message-id <CADwFkmm7yEeQPG_B+bYjxUOH5Up_ovY7XdaQwU2G+dZisQ8gLA <at> mail.gmail.com>
and subject line Re: bug#65884: 29.1; prettify-symbols-unprettify-at-point documentation
has caused the debbugs.gnu.org bug report #65884,
regarding 29.1; prettify-symbols-unprettify-at-point documentation
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
65884: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65884
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
I just learned about prettify-symbols mode and
prettify-symbols-unprettify-at-point from Tony Zorman's recent blog post,
so I tried it out, unsuccessfully at first...
Recipe from emacs -Q:
In the *scratch* buffer:
M-x prettify-symbols-mode
(setq prettify-symbols-unprettify-at-point t)
C-x C-e ;; to evaluate the setq
lambda ;; the symbol λ appears
C-b
At this point, I'm expecting the symbol λ to deprettify back to
"lambda", but it does not.
Looking in the code in prog-mode.el, I see that the unprettification
needs to be set **before** the minor mode is activated in the buffer.
Perhaps this should be pointed out in the documentation?
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
Version: 29.2
Peter Mao <peter.mao <at> gmail.com> writes:
> I just learned about prettify-symbols mode and prettify-symbols-unprettify-at-point from Tony Zorman's recent blog post, so I tried it out, unsuccessfully
> at first...
>
> Recipe from emacs -Q:
>
> In the *scratch* buffer:
> M-x prettify-symbols-mode
> (setq prettify-symbols-unprettify-at-point t)
> C-x C-e ;; to evaluate the setq
> lambda ;; the symbol λ appears
> C-b
>
> At this point, I'm expecting the symbol λ to deprettify back to
> "lambda", but it does not.
>
> Looking in the code in prog-mode.el, I see that the unprettification
> needs to be set **before** the minor mode is activated in the buffer.
> Perhaps this should be pointed out in the documentation?
Thanks, I've now documented this on emacs-29.
This bug report was last modified 1 year and 255 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.