Re: Problem with "Unexpected output" messages
authorAndreas Amann <a.amann@ucc.ie>
Mon, 18 Apr 2011 08:04:49 +0000 (09:04 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:38:05 +0000 (09:38 -0800)
10/efb8ca92626e24b7f2561530ae9c484ac9ff83 [new file with mode: 0644]

diff --git a/10/efb8ca92626e24b7f2561530ae9c484ac9ff83 b/10/efb8ca92626e24b7f2561530ae9c484ac9ff83
new file mode 100644 (file)
index 0000000..6f3a72a
--- /dev/null
@@ -0,0 +1,88 @@
+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 2382C431FB6\r
+       for <notmuch@notmuchmail.org>; Mon, 18 Apr 2011 01:05:01 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       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 KLdA0V72l9my for <notmuch@notmuchmail.org>;\r
+       Mon, 18 Apr 2011 01:04:59 -0700 (PDT)\r
+Received: from mail4.ucc.ie (mail4.ucc.ie [143.239.1.34])\r
+       by olra.theworths.org (Postfix) with ESMTP id 1B223431FB5\r
+       for <notmuch@notmuchmail.org>; Mon, 18 Apr 2011 01:04:58 -0700 (PDT)\r
+Received: from msstf091.ucc.ie (msstf091.ucc.ie [143.239.76.91])\r
+       by mail4.ucc.ie (8.14.4/8.14.4) with ESMTP id p3I84oIQ028934;\r
+       Mon, 18 Apr 2011 09:04:55 +0100\r
+Received: by msstf091.ucc.ie (Postfix, from userid 1000)\r
+       id 1D4C162B41; Mon, 18 Apr 2011 09:04:50 +0100 (IST)\r
+From: Andreas Amann <a.amann@ucc.ie>\r
+To: Florian Friesdorf <flo@chaoflow.net>,\r
+       Notmuch Mail <notmuch@notmuchmail.org>\r
+Subject: Re: Problem with "Unexpected output" messages\r
+In-Reply-To: <87d3kkdg7u.fsf@eve.chaoflow.net>\r
+References: <87pqozi3q2.fsf@msstf091.ucc.ie> <8739ljwy7z.fsf@msstf091.ucc.ie>\r
+       <87d3kkdg7u.fsf@eve.chaoflow.net>\r
+User-Agent: Notmuch/0.5-138-g91d61c7 (http://notmuchmail.org) Emacs/24.0.50.1\r
+       (x86_64-unknown-linux-gnu)\r
+Date: Mon, 18 Apr 2011 09:04:49 +0100\r
+Message-ID: <87sjtgugri.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: Mon, 18 Apr 2011 08:05:01 -0000\r
+\r
+On Sun, 17 Apr 2011 17:56:21 +0200, Florian Friesdorf <flo@chaoflow.net> wrote:\r
+> \r
+> On Fri, 15 Apr 2011 12:28:00 +0100, Andreas Amann <a.amann@ucc.ie> wrote:\r
+> > On Wed, 06 Apr 2011 20:23:17 +0100, Andreas Amann <a.amann@ucc.ie> wrote:\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
+> > FWIW, the patch below solves the problem for me.\r
+> \r
+> Thx, the patch enables display and handling of a message with which I\r
+> had the same problem.\r
+> \r
+> In the message list (emacs UI) the subject now shows as:\r
+> foo?\r
+> \r
+> When showing the mail, the buffer name is:\r
+> foo^J\r
+> \r
+> and there is an empty line in the header part as the control character\r
+> is still present:\r
+> Subject: foo\r
+> \r
+> To: my@email\r
+> Date: ...\r
+> \r
+> Could/should this also be changed?\r
+\r
+It could of course. But maybe that should be the responsibility of the\r
+emacs interface?\r