all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: Peter Mao <peter.mao@gmail.com>
Cc: 65884-done@debbugs.gnu.org
Subject: bug#65884: 29.1; prettify-symbols-unprettify-at-point documentation
Date: Wed, 13 Sep 2023 13:45:47 -0700	[thread overview]
Message-ID: <CADwFkmm7yEeQPG_B+bYjxUOH5Up_ovY7XdaQwU2G+dZisQ8gLA@mail.gmail.com> (raw)
In-Reply-To: <CAEK3s1OiEDq_TN_tqyw86UD9EKS9-XJRG7Cex2hx4YOfrQ3wqA@mail.gmail.com> (Peter Mao's message of "Mon, 11 Sep 2023 21:20:25 -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.





  reply	other threads:[~2023-09-13 20:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-12  4:20 bug#65884: 29.1; prettify-symbols-unprettify-at-point documentation Peter Mao
2023-09-13 20:45 ` Stefan Kangas [this message]
2023-09-14  5:46   ` Eli Zaretskii
2023-09-14  6:04     ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADwFkmm7yEeQPG_B+bYjxUOH5Up_ovY7XdaQwU2G+dZisQ8gLA@mail.gmail.com \
    --to=stefankangas@gmail.com \
    --cc=65884-done@debbugs.gnu.org \
    --cc=peter.mao@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.