On Fri, 16 Dec 2011 17:28:04 +0100, Olivier Berger <olivier.ber...@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.
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)))))