Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id B1810429E22 for ; Sat, 7 May 2011 02:20:09 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.69 X-Spam-Level: X-Spam-Status: No, score=-0.69 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7, 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 YaVmQlA7ilAH for ; Sat, 7 May 2011 02:20:09 -0700 (PDT) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id E5D19431FB5 for ; Sat, 7 May 2011 02:20:08 -0700 (PDT) Received: by wyi11 with SMTP id 11so3183753wyi.26 for ; Sat, 07 May 2011 02:20:07 -0700 (PDT) Received: by 10.227.172.7 with SMTP id j7mr2468977wbz.60.1304760007525; Sat, 07 May 2011 02:20:07 -0700 (PDT) Received: from localhost (197.83-240-81.adsl-dyn.isp.belgacom.be [81.240.83.197]) by mx.google.com with ESMTPS id t16sm1476664wbg.6.2011.05.07.02.20.06 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 07 May 2011 02:20:06 -0700 (PDT) From: Pieter Praet To: notmuch@notmuchmail.org Subject: Re: Problem with "Unexpected output" messages User-Agent: Notmuch/0.5-98-g63c37b1 (http://notmuchmail.org) Emacs/23.1.50.1 (x86_64-pc-linux-gnu) Date: Sat, 07 May 2011 11:20:04 +0200 Message-ID: <87mxiykgu3.fsf@praet.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2011 09:20:09 -0000 --=-=-= Content-Type: message/rfc822 Content-Disposition: inline From: Pieter Praet To: Andreas Amann Subject: Re: Problem with "Unexpected output" messages In-Reply-To: <87pqokughm.fsf@msstf091.ucc.ie> References: <87pqozi3q2.fsf@msstf091.ucc.ie> <8739ljwy7z.fsf@msstf091.ucc.ie> <877haspz9b.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me> <87pqokughm.fsf@msstf091.ucc.ie> User-Agent: Notmuch/0.5-87-g30203d7 (http://notmuchmail.org) Emacs/23.1.50.1 (x86_64-pc-linux-gnu) Date: Mon, 18 Apr 2011 10:52:38 +0200 Message-ID: <87pqokx7op.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 On Mon, 18 Apr 2011 09:10:45 +0100, Andreas Amann wrote: > On Sun, 17 Apr 2011 19:24:16 +0200, Pieter Praet wrote: > > On Fri, 15 Apr 2011 12:28:00 +0100, Andreas Amann wrote: > > > On Wed, 06 Apr 2011 20:23:17 +0100, Andreas Amann wrote: > > > > > > > > since commit 44d3c57e (emacs: Display any unexpected output from notmuch > > > > search) I see a number of messages of the form > > > > > > > > Error: Unexpected output from notmuch search: > > > > thread:000000000000XXXX > > > > > > > > after notmuch-search in emacs. > > > > > > > > > FWIW, the patch below solves the problem for me. > > > > > > > > > Works as advertised, but IMHO (since notmuch solely does indexing, > > search and tagging) notmuch should return messages as truthful > > (i.e. unaltered) as possible. > > > > Any postprocessing should be the responsability of the MUA. > > > > However, since notmuch already provides output formats, this could be > > made part of those, eg. "--format=sanitized_text". > > In my opinion, "notmuch search" should output precisely one line per > message per default, and if it outputs two or more lines for one message > it should be considered a bug. Agreed. I got carried away after reading Florian's reply [1]. > > That's a different story for "notmuch show" where I agree that > "--format=..." could be useful to get sanitized versions. > > Andreas > Peace -Pieter [1] id:"87d3kkdg7u.fsf@eve.chaoflow.net" --=-=-= -- Pieter --=-=-=--