|
From: | Andreas Schwab |
Subject: | bug#24206: 25.1; Curly quotes generate invalid strings, leading to a segfault |
Date: | Mon, 15 Aug 2016 18:46:19 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
On Aug 15 2016, Eli Zaretskii <eliz@gnu.org> wrote: > I'm not sure. We never discussed what should Emacs do when > substitute-command-keys is called on a unibyte non-ASCII string which > requires quote substitution. Unibyte strings should not be used for anything but pre-decoding / post-encoding situations directly after / before doing the actual I/O operation. Thus substitute-command-keys should never be called with an undecoded unibyte string. IMHO it would be ok to return something useless in this case (but it shouldn't cause Emacs to crash, of course). Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
[Prev in Thread] | Current Thread | [Next in Thread] |