[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65884: 29.1; prettify-symbols-unprettify-at-point documentation
From: |
Eli Zaretskii |
Subject: |
bug#65884: 29.1; prettify-symbols-unprettify-at-point documentation |
Date: |
Thu, 14 Sep 2023 08:46:57 +0300 |
> Resent-To: bug-gnu-emacs@gnu.org
> Cc: 65884-done@debbugs.gnu.org
> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Wed, 13 Sep 2023 13:45:47 -0700
>
> Version: 29.2
>
> Peter Mao <peter.mao@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.
Did you forget to push?