Re: [PATCH] implement search --format=sanitized_text + emacs UI to use it
authorPieter Praet <pieter@praet.org>
Sat, 7 May 2011 09:25:43 +0000 (11:25 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:38:10 +0000 (09:38 -0800)
bd/8b4566d16f913d655133e443b9a77696dee7b6 [new file with mode: 0644]

diff --git a/bd/8b4566d16f913d655133e443b9a77696dee7b6 b/bd/8b4566d16f913d655133e443b9a77696dee7b6
new file mode 100644 (file)
index 0000000..fba4c0c
--- /dev/null
@@ -0,0 +1,108 @@
+Return-Path: <pieter@praet.org>\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 E479B429E20\r
+       for <notmuch@notmuchmail.org>; Sat,  7 May 2011 02:25:48 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 g5Y9qrMdLSTO for <notmuch@notmuchmail.org>;\r
+       Sat,  7 May 2011 02:25:48 -0700 (PDT)\r
+Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com\r
+       [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 00198431FB5\r
+       for <notmuch@notmuchmail.org>; Sat,  7 May 2011 02:25:47 -0700 (PDT)\r
+Received: by wyi11 with SMTP id 11so3185715wyi.26\r
+       for <notmuch@notmuchmail.org>; Sat, 07 May 2011 02:25:46 -0700 (PDT)\r
+Received: by 10.227.199.82 with SMTP id er18mr4911891wbb.63.1304760346523;\r
+       Sat, 07 May 2011 02:25:46 -0700 (PDT)\r
+Received: from localhost (197.83-240-81.adsl-dyn.isp.belgacom.be\r
+       [81.240.83.197])\r
+       by mx.google.com with ESMTPS id x13sm1999956wby.59.2011.05.07.02.25.44\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Sat, 07 May 2011 02:25:45 -0700 (PDT)\r
+From: Pieter Praet <pieter@praet.org>\r
+To: Jameson Graef Rollins <jrollins@finestructure.net>,\r
+       Austin Clements <amdragon@mit.edu>, Florian Friesdorf <flo@chaoflow.net>\r
+Subject: Re: [PATCH] implement search --format=sanitized_text + emacs UI to\r
+       use it\r
+In-Reply-To: <87pqnukh3z.fsf@praet.org>\r
+References: <1304723846-29134-1-git-send-email-flo@chaoflow.net>\r
+       <1304723846-29134-2-git-send-email-flo@chaoflow.net>\r
+       <BANLkTime86NE4W5j+p0uJiR5_cF3gZVd8Q@mail.gmail.com>\r
+       <87liyjgvyw.fsf@servo.factory.finestructure.net>\r
+       <87pqnukh3z.fsf@praet.org>\r
+User-Agent: Notmuch/0.5-98-g63c37b1 (http://notmuchmail.org) Emacs/23.1.50.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Sat, 07 May 2011 11:25:43 +0200\r
+Message-ID: <87k4e2kgko.fsf@praet.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Cc: notmuch@notmuchmail.org, a.amann@ucc.ie\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: Sat, 07 May 2011 09:25:49 -0000\r
+\r
+On Sat, 07 May 2011 11:14:08 +0200, Pieter Praet <pieter@praet.org> wrote:\r
+> On Fri, 06 May 2011 18:06:47 -0700, Jameson Graef Rollins <jrollins@finestructure.net> wrote:\r
+> > On Fri, 6 May 2011 19:55:26 -0400, Austin Clements <amdragon@mit.edu> wrote:\r
+> > > Perhaps text summary output should *always* do this.  The text summary\r
+> > > format is meant half for user consumption and half for emacs\r
+> > > consumption and allowing newlines that don't indicate the end of a\r
+> > > summary line seems bad for *both* use cases.\r
+> > \r
+> > Hi, Florian.  I think I agree with Austin here that the text output\r
+> > should probably just always be sanitized.  Can you try sending in a\r
+> > patch that just automatically sanitizes the text output?\r
+> \r
+> Indeed, Andreas and I agreed [1] as well that sanitization should be\r
+> default for search, yet optional for show.\r
+> \r
+> > Also, I believe that this patch is not entirely compatible with the\r
+> > current head of the release-candidate/0.6 branch.  I pushed a patch to\r
+> > that branch to fix a search output formatting bug, and in so doing I\r
+> > added a field to the search_format struct.\r
+> > \r
+> > If you could make those changes and post a new patch that would be\r
+> > great.  Thanks.\r
+> > \r
+> > jamie.\r
+> Non-text part: application/pgp-signature\r
+> > _______________________________________________\r
+> > notmuch mailing list\r
+> > notmuch@notmuchmail.org\r
+> > http://notmuchmail.org/mailman/listinfo/notmuch\r
+> \r
+> Peace\r
+> \r
+> -- \r
+> Pieter\r
+> \r
+> \r
+> [1] id:"87pqokx7op.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me"\r
+\r
+... and apparently that never reached the list since his reply was\r
+addressed at me personally, so I've forwarded it: 87mxiykgu3.fsf@praet.org\r
+\r
+\r
+Peace\r
+\r
+-- \r
+Pieter\r