GNU bug report logs -
#1174
23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23
Previous Next
Reported by: usenet <at> frank-schmitt.net
Date: Wed, 15 Oct 2008 20:30:02 UTC
Severity: normal
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On Fri, Oct 17 2008, Stefan Monnier wrote:
>> ;; BEWARE: we used to use string-as-multibyte here which is braindead
>> ;; because it will turn accidental emacs-mule-valid byte sequences
>> ;; into multibyte chars. --Stef
>> ;; Reverted, braindead got 7.5 out of 10 on imdb, so it can't be
>> ;; that bad. --Simon
>
> Who's this Simon who reverted my change without even explaining why?
The one who's listed as the author of nnimap.el (cc-ed).
>> which is called at several places. And this breaks it. If I change
>> this function so that string is not changed, my mails are displayed
>> correctly.
Does it work correctly when using Stefan's version?
( s/string-as-multibyte/string-to-multibyte/ ...)
(defun nnimap-demule (string)
;; BEWARE: we used to use string-as-multibyte here which is braindead
;; because it will turn accidental emacs-mule-valid byte sequences
;; into multibyte chars. --Stef
(funcall (if (and (fboundp 'string-to-multibyte)
(subrp (symbol-function 'string-to-multibyte)))
'string-to-multibyte
'identity)
(or string "")))
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
This bug report was last modified 13 years and 256 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.