Bug#652359: notmuch-emacs: Won't display correctly quoted-printable iso-8859-1 mails

Olivier Berger olivier.berger at it-sudparis.eu
Mon Dec 19 02:25:04 PST 2011


On Sun, 18 Dec 2011 20:03:43 -0400, David Bremner <david at tethera.net> wrote:
> On Fri, 16 Dec 2011 17:01:04 +0100, Olivier Berger <olivier.berger at it-sudparis.eu> wrote:
> 
> > In my understanding, the quoted-printable iso-8859-1 is correct for
> > french accents, and is converted somehow to UTF-8, though it is
> > displayed in an emacs buffer that looks like iso-8859-1 (The
> > minibuffer separator line starts with '-1:%*-' ...
> 
> Do you the same behaviour with "emacs -q"?
> 

No.

> I did the following: 
> 
> $ export LANG=fr_FR.utf8
> $ export LC_CTYPE=fr_FR.utf8
> $ emacs -q  # gtk emacs
> 
> M-x notmuch
> 
> and your message id:"877h1wv7mg.fsf at inf-8657.int-evry.fr" displays fine
> (with U in the modeline).
> 

Same here :-) ... so there's something weird in my (emacs?)
environment...

> Poking around at random, I did 
> 
>        M-x set-language-environment <Return> French <Return>
> 
> and then I could duplicate your problem; the mode line shows 8859-1
> coding system and the message is not displayed correctly.

Same here. As well as with Latin-1.

On the contrary, UTF-8 sets it fine ;-) as well as if M-x
reset-language-environment, as expected ;)

> On the other hand, in this case the patch I sent does fix the actual
> message display for me, just as it did in the other case where I set
> the locale directly to fr_FR (without utf8).
> 

Strange : that doesn't suffice here... but there may be other
combinations of settings that differ from yours.

Anyway, we seem to have a workaround here, if I just reset the language environment...
But I wonder what other side-effects there may be.

Still, just for comparison, Gnus managed well... but maybe because it
doesn't work with UTF-8 ;-)

Thanks for your help.

Best regards,
-- 
Olivier BERGER 
http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France)



More information about the notmuch mailing list