unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Olivier Berger <olivier.berger@it-sudparis.eu>
To: David Bremner <david@tethera.net>, 652359@bugs.debian.org
Cc: notmuch@notmuchmail.org
Subject: Re: Bug#652359: notmuch-emacs: Won't display correctly quoted-printable iso-8859-1 mails
Date: Mon, 19 Dec 2011 11:25:04 +0100	[thread overview]
Message-ID: <87d3bkyi2n.fsf@inf-8657.int-evry.fr> (raw)
In-Reply-To: <87zkepa0m8.fsf@zancas.localnet>

On Sun, 18 Dec 2011 20:03:43 -0400, David Bremner <david@tethera.net> wrote:
> On Fri, 16 Dec 2011 17:01:04 +0100, Olivier Berger <olivier.berger@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@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)

  reply	other threads:[~2011-12-19 10:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20111216160104.24920.82593.reportbug@inf-8657.int-evry.fr>
2011-12-16 16:28 ` notmuch-emacs won't display correctly quoted-printable iso-8859-1 mails Olivier Berger
2011-12-18 14:11   ` David Bremner
2011-12-18 14:53     ` Olivier Berger
2011-12-18 16:08       ` Tomi Ollila
2011-12-18 21:42         ` Olivier Berger
2011-12-18 21:55       ` Bug#652359: " David Bremner
2011-12-18 22:22         ` Olivier Berger
2011-12-19  0:03     ` Bug#652359: notmuch-emacs: Won't " David Bremner
2011-12-19 10:25       ` Olivier Berger [this message]
2011-12-19 10:34         ` Olivier Berger
2011-12-19 10:53           ` SOLVED - Was: " Olivier Berger
2011-12-19 11:15             ` Tomi Ollila

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d3bkyi2n.fsf@inf-8657.int-evry.fr \
    --to=olivier.berger@it-sudparis.eu \
    --cc=652359@bugs.debian.org \
    --cc=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).