GNU bug report logs -
#30405
26.0.91; Incorrect apostrophe translation in ImageMagick error message
Previous Next
Reported by: Gemini Lasswell <gazally <at> runbox.com>
Date: Fri, 9 Feb 2018 21:15:01 UTC
Severity: normal
Found in versions 26.0.91, 25.1
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Glenn Morris <rgm <at> gnu.org>
> Date: Fri, 09 Feb 2018 19:29:03 -0500
> Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 30405 <at> debbugs.gnu.org
>
> Maybe a better example is:
>
> (defun foo ()
> (interactive)
> (error "can't"))
> (set-buffer-multibyte nil)
> M-x foo
I applied (the obvious) band-aid to image.el, so it no longer shows a
garbled error message.
The more general issue should be fixed on master, as it's too late to
make such changes on the release branch. Note also that
substitute-command-keys is affected as well, as can be seen by
evaluating the following:
(progn
(set-buffer-multibyte nil)
(substitute-command-keys "can't"))
Basically, anything that produces non-ASCII characters and then shows
that in the echo area while the current buffer is unibyte will hit
this problem. While Lisp programs that produce literal strings can be
told to take care of that when they use unibyte buffers, the cases
discussed in this bug report happen because we convert ASCII strings
to non-ASCII strings under the hood, so the Lisp programs cannot be
held accountable.
This bug report was last modified 7 years and 93 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.