--- /dev/null
+Return-Path: <a.amann@ucc.ie>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 80986431FB6\r
+ for <notmuch@notmuchmail.org>; Wed, 6 Apr 2011 12:23:28 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id w4s-vn6qeE58 for <notmuch@notmuchmail.org>;\r
+ Wed, 6 Apr 2011 12:23:26 -0700 (PDT)\r
+Received: from mail4.ucc.ie (mail4.ucc.ie [143.239.1.34])\r
+ by olra.theworths.org (Postfix) with ESMTP id 4AEE9431FB5\r
+ for <notmuch@notmuchmail.org>; Wed, 6 Apr 2011 12:23:26 -0700 (PDT)\r
+Received: from msstf091.ucc.ie (msstf091.ucc.ie [143.239.76.91])\r
+ by mail4.ucc.ie (8.13.8/8.13.8) with ESMTP id p36JNIkM005943\r
+ for <notmuch@notmuchmail.org>; Wed, 6 Apr 2011 20:23:23 +0100\r
+Received: by msstf091.ucc.ie (Postfix, from userid 1000)\r
+ id E6A8E62B22; Wed, 6 Apr 2011 20:23:17 +0100 (IST)\r
+From: Andreas Amann <a.amann@ucc.ie>\r
+To: Notmuch Mail <notmuch@notmuchmail.org>\r
+Subject: Problem with "Unexpected output" messages\r
+User-Agent: Notmuch/0.5-80-g8a534dc (http://notmuchmail.org) Emacs/24.0.50.1\r
+ (x86_64-unknown-linux-gnu)\r
+Date: Wed, 06 Apr 2011 20:23:17 +0100\r
+Message-ID: <87pqozi3q2.fsf@msstf091.ucc.ie>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-MD-NoSA: yes\r
+X-Scanned-By: MIMEDefang 2.68 on 143.239.1.34\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 06 Apr 2011 19:23:28 -0000\r
+\r
+\r
+since commit 44d3c57e (emacs: Display any unexpected output from notmuch\r
+search) I see a number of messages of the form\r
+\r
+Error: Unexpected output from notmuch search:\r
+thread:000000000000XXXX \r
+\r
+after notmuch-search in emacs. \r
+\r
+The problem seems to be that some messages contain a "CR LF" sequence in\r
+the "Subject:" line which is either QP or base64 encoded. Apparently the\r
+emacs part of notmuch does not expect such a newline in the subject and\r
+cannot parse the output of "notmuch search". I am happy to forward one\r
+of the offending messages at request. \r
+\r
+This problem occurs with the git master branch as well as with the\r
+crypto branch. Is there any way around this?\r
+\r
+Andreas\r