[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23
From: |
Frank Schmitt |
Subject: |
bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23 |
Date: |
Fri, 17 Oct 2008 20:36:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Reiner Steib <reinersteib+gmane@imap.cc> writes:
> 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 "")))
Yes, it does.
Frank
--
Have you ever considered how much text can fit in eighty columns? Given that a
signature typically contains up to four lines of text, this space allows you to
attach a tremendous amount of valuable information to your messages. Seize the
opportunity and don't waste your signature on bullshit that nobody cares about.
- bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23, (continued)
- bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23, Andreas Schwab, 2008/10/17
- bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23, Frank Schmitt, 2008/10/17
- bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23, Eli Zaretskii, 2008/10/17
- bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23, Frank Schmitt, 2008/10/17
- bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23, Frank Schmitt, 2008/10/17
- bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23, Stefan Monnier, 2008/10/17
- bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23, Reiner Steib, 2008/10/17
- bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23,
Frank Schmitt <=
- bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23, Frank Schmitt, 2008/10/23
- bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23, Stefan Monnier, 2008/10/23
- bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23, Frank Schmitt, 2008/10/17
- bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23, Richard M. Stallman, 2008/10/17
- bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23, James Cloos, 2008/10/28