From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <flo@chaoflow.net>
Received: from localhost (localhost [127.0.0.1])
	by olra.theworths.org (Postfix) with ESMTP id 3080F431FB6
	for <notmuch@notmuchmail.org>; Sun, 17 Apr 2011 08:56:26 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
X-Spam-Flag: NO
X-Spam-Score: 0.01
X-Spam-Level: 
X-Spam-Status: No, score=0.01 tagged_above=-999 required=5
	tests=[T_MIME_NO_TEXT=0.01] autolearn=disabled
Received: from olra.theworths.org ([127.0.0.1])
	by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Nl2nmhKf37Sx for <notmuch@notmuchmail.org>;
	Sun, 17 Apr 2011 08:56:24 -0700 (PDT)
Received: from tesla.chaoflow.net (tesla.chaoflow.net [188.40.54.22])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by olra.theworths.org (Postfix) with ESMTPS id 516AA431FB5
	for <notmuch@notmuchmail.org>; Sun, 17 Apr 2011 08:56:24 -0700 (PDT)
Received: from eve.chaoflow.net (p5DE95522.dip.t-dialin.net [93.233.85.34])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	(Authenticated sender: flo@chaoflow.net)
	by tesla.chaoflow.net (Postfix) with ESMTPSA id 39B68C841;
	Sun, 17 Apr 2011 17:56:22 +0200 (CEST)
Received: by eve.chaoflow.net (Postfix, from userid 1000) id E226FB36;
	Sun, 17 Apr 2011 15:56:21 +0000 (Local time zone must be set--see zic
	manual page)
From: Florian Friesdorf <flo@chaoflow.net>
To: Andreas Amann <a.amann@ucc.ie>, Notmuch Mail <notmuch@notmuchmail.org>
Subject: Re: Problem with "Unexpected output" messages
In-Reply-To: <8739ljwy7z.fsf@msstf091.ucc.ie>
References: <87pqozi3q2.fsf@msstf091.ucc.ie> <8739ljwy7z.fsf@msstf091.ucc.ie>
User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1
	(x86_64-unknown-linux-gnu)
Date: Sun, 17 Apr 2011 17:56:21 +0200
Message-ID: <87d3kkdg7u.fsf@eve.chaoflow.net>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha1; protocol="application/pgp-signature"
X-Virus-Scanned: clamav-milter 0.96.5 at tesla
X-Virus-Status: Clean
X-BeenThere: notmuch@notmuchmail.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: "Use and development of the notmuch mail system."
	<notmuch.notmuchmail.org>
List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
	<mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
List-Archive: <http://notmuchmail.org/pipermail/notmuch>
List-Post: <mailto:notmuch@notmuchmail.org>
List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
	<mailto:notmuch-request@notmuchmail.org?subject=subscribe>
X-List-Received-Date: Sun, 17 Apr 2011 15:56:26 -0000

--=-=-=
Content-Transfer-Encoding: quoted-printable


On Fri, 15 Apr 2011 12:28:00 +0100, Andreas Amann <a.amann@ucc.ie> wrote:
> On Wed, 06 Apr 2011 20:23:17 +0100, Andreas Amann <a.amann@ucc.ie> wrote:
> >=20
> > since commit 44d3c57e (emacs: Display any unexpected output from notmuch
> > search) I see a number of messages of the form
> >=20
> > Error: Unexpected output from notmuch search:
> > thread:000000000000XXXX=20
> >=20
> > after notmuch-search in emacs.=20
>=20
> FWIW, the patch below solves the problem for me.

Thx, the patch enables display and handling of a message with which I
had the same problem.

In the message list (emacs UI) the subject now shows as:
foo?

When showing the mail, the buffer name is:
foo^J

and there is an empty line in the header part as the control character
is still present:
Subject: foo

To: my@email
Date: ...

Could/should this also be changed?

=2D-=20
Florian Friesdorf <flo@chaoflow.net>
  GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: flo@chaoflow.net
IRC: chaoflow on freenode,ircnet,blafasel,OFTC

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iQIcBAEBAgAGBQJNqw2lAAoJEDj4maMMRfCDkysP+gO2lwLKDSKrkQ5k7Q3XxM/G
8KBxTODkTunn6q7pr4X76s/9iMRt7nR4ihh4RnP0cGTtO5qQhqAmqdb5SXU7FPU/
+psE6FdtL7PUuv1gpAuljKXvhVol2c6DMQMKoSemfX2J9dlplE733taIKTZctmkp
tEuoUTcQ2nNOndLwSvbVpLdvKhyndNUmTxFETtuHQBGs49PBiwlZcjii3RCPydtt
YpOBun6M7NGR0gant2wkzA45Jz50i4MjOAGvIfllb95QEBY4IXJAMq+aqWkzFuqX
6ZIYeumBjzs+SpBToODT5x4upJpWV9y+zAfaBVNyiCLp0YDZafTB8YcIjnoay0k/
w/RR6PfQ+hKsPlEZfaO2Z2e/Ai1fH1Vt9kZJWK91J5sYmyv54ZuwCdHfGpxBZ+XF
2YEFnBXYXOYNEsTqE6gNTtrMS3t7WzmCyaEMhCD2gFa2s5gcFjTz7KDlWjU4WSJf
Yy3pEyVR1ugm+uuVzjGdrhqkX8X6gykaHfriWC+PSifk1mQOE1L0GXNBY9oYd+om
ox/3QbzhjxfaJzQ1Z4N6U8Vq7QGoxJoTQ57PYg8bwWxyXyzbnZ9mr7DgyK9A7Cnl
lXevcJrJM1mdedSylRT0CtKAF4GRPV11kWKlMxBSK/rml9f/MaPippZVrOHStgjb
erH55PEaE3D1XDGlzGmi
=g1vF
-----END PGP SIGNATURE-----
--=-=-=--