From: David Bremner <david@tethera.net>
To: Olivier Berger <olivier.berger@it-sudparis.eu>, notmuch@notmuchmail.org
Cc: 652359@bugs.debian.org
Subject: Re: notmuch-emacs won't display correctly quoted-printable iso-8859-1 mails
Date: Sun, 18 Dec 2011 10:11:37 -0400 [thread overview]
Message-ID: <87liqaas12.fsf@zancas.localnet> (raw)
In-Reply-To: <87sjkjyz5i.fsf@inf-8657.int-evry.fr>
[-- Attachment #1: Type: text/plain, Size: 593 bytes --]
On Fri, 16 Dec 2011 17:28:04 +0100, Olivier Berger <olivier.berger@it-sudparis.eu> wrote:
>
> Here's a copy of a bug report I've just filed in Debian's bugtracker [0].
>
> If some of you have an idea of whether there's a fix/workaround ?
>
Hi Olivier;
Can you try the following patch? If you apply it to git, you can use
"make debian-snapshot" to build new packages (assuming you have the
pre-reqs).
Or just patch the notmuch-query.el installed by notmuch-emacs and reload
it.
The search buffer will still be messed up, but if show is OK, that gives
a hint we are on the right track.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: recognize that notmuch will output utf8, regardless of locale --]
[-- Type: text/x-diff, Size: 537 bytes --]
diff --git a/emacs/notmuch-query.el b/emacs/notmuch-query.el
index d66baea..7390f82 100644
--- a/emacs/notmuch-query.el
+++ b/emacs/notmuch-query.el
@@ -38,7 +38,7 @@ is a possibly empty forest of replies.
(setq args (append args search-terms))
(with-temp-buffer
(progn
- (apply 'call-process (append (list notmuch-command nil (list t nil) nil) args))
+ (let ((coding-system-for-read 'utf-8)) (apply 'call-process (append (list notmuch-command nil (list t nil) nil) args)))
(goto-char (point-min))
(json-read)))))
next prev parent reply other threads:[~2011-12-18 14:11 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 [this message]
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
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=87liqaas12.fsf@zancas.localnet \
--to=david@tethera.net \
--cc=652359@bugs.debian.org \
--cc=notmuch@notmuchmail.org \
--cc=olivier.berger@it-sudparis.eu \
/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).