GNU bug report logs - #52459
28.0.90; prin1-to-string does not escape bidi control characters despite print-escape-control-characters=t

Previous Next

Package: emacs;

Reported by: Daniel Mendler <mail <at> daniel-mendler.de>

Date: Sun, 12 Dec 2021 20:14:01 UTC

Severity: normal

Found in version 28.0.90

Full log


Message #50 received at 52459 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Daniel Mendler <mail <at> daniel-mendler.de>
Cc: 52459 <at> debbugs.gnu.org
Subject: Re: bug#52459: 28.0.90; prin1-to-string does not escape bidi control
 characters despite print-escape-control-characters=t
Date: Mon, 13 Dec 2021 21:08:49 +0200
> Cc: 52459 <at> debbugs.gnu.org
> From: Daniel Mendler <mail <at> daniel-mendler.de>
> Date: Mon, 13 Dec 2021 19:57:54 +0100
> 
> > Once again: prin1 will not help with displaying these characters.
> > Emacs doesn't use prin1 to display text.
> 
> Of course not. I am using prin1 to create a string from a value which I
> can then copy to a source file or display somewhere in the UI.

That will solve only a small fraction of situations where these
characters are displayed, because the vast majority of them don't use
prin1 to produce a string to display.  Most of the stuff displayed by
Emacs doesn't come from strings produced by prin1, it comes from
displaying the text of some buffer.

So your proposal is incomplete at best.  Again, I already tried to
explain that several times.




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

Previous Next


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