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: Sun, 24 Apr 2022 15:46:55 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

On 4/24/22 02:56, Vasilij Schneidermann wrote:

Under which conditions exactly does the bug happen?

I run into it with emacs -nw or equivalent, which I often use when I have a high-latency network connection so GUI Emacs is too slow. A few people even run Emacs from text consoles, with no graphics or windowing system at all, though I'm usually not that hard-core.


trying to work around terminals being bad doesn't
seem worth the extra effort.

Please bear with us poor users who don't always use GUIs...


what exactly should the logic be here?
Detect if there's a preceding hex escaped byte and if yes, display
adjacent bytes that are formatted using hex characters using escaping,
too?

Simpler than that. When hex-escaping a character, Emacs would look at the next character and if it's hexadecimal would print "\ " (or some similar escaping approach). This is a simple test and won't hurt printing performance much in the usual case.





reply via email to

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