bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27270: display-raw-bytes-as-hex generates ambiguous output for Emacs


From: Paul Eggert
Subject: bug#27270: display-raw-bytes-as-hex generates ambiguous output for Emacs strings
Date: Mon, 25 Apr 2022 09:49:15 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

On 4/25/22 00:40, Lars Ingebrigtsen wrote:

Comparing this to SQL injection is far fetched

Call me paranoid if you like. (Can you tell I used to work for a computer security company? :-) And to be honest my main motivation is irritation that cut-and-paste doesn't work, not security.


We have a similar issue with the octal printer -- if you print something
out with it, and you end up with something displayed as foo\205bar, you
cut and paste that from -nw, and you save it into a file,

Nobody expects things to work if you output with one quoting scheme and input with a different one. But cutting and pasting from Emacs's read-eval-print-loop is expected to work.


display-raw-bytes-as-hex is a display setting.  You want to change it so
that the data output will be different

No, I would like to change only the display. (I had suggested otherwise in comment #5 of this bug report, but was mistaken and took that suggestion back in later comments.)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]