GNU bug report logs - #43909
26.1; read syntax breaks prettify-symbols

Previous Next

Package: emacs;

Reported by: marmot-te <marmot-te <at> riseup.net>

Date: Sat, 10 Oct 2020 15:46:01 UTC

Severity: normal

Found in version 26.1

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: marmot-te <marmot-te <at> riseup.net>
Cc: 43909 <at> debbugs.gnu.org
Subject: bug#43909: 26.1; read syntax breaks prettify-symbols
Date: Sat, 10 Oct 2020 22:21:31 +0200
[Message part 1 (text/plain, inline)]
marmot-te <marmot-te <at> riseup.net> writes:

> I constated that using the read syntaxe ?\“
> will interfere with any prettified symbols below it in the buffer.
>
> To reproduce :
> (setq-default prettify-symbols-alist ’((“lambda” . 955)))
> (prettify-symbols-mode 0)
> (prettify-symbols-mode 1)
> lambda
> ?\“
> lambda

I'm guessing that your mail software has destroyed the code example, and
that it was supposed to be:

(setq-default prettify-symbols-alist '(("lambda" . 955)))
(prettify-symbols-mode 0)
(prettify-symbols-mode 1)
lambda
?\"
lambda

If I try that example, though, I'm not able to reproduce the bug.  I
get:

[Message part 2 (image/png, inline)]
[Message part 3 (text/plain, inline)]
Are you able to reproduce the bug starting from "emacs -Q"?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

This bug report was last modified 3 years and 335 days ago.

Previous Next


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