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 2B96A429E21 for ; Fri, 6 May 2011 18:06:57 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.29 X-Spam-Level: X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3, 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 QbOLuFOT0tE6 for ; Fri, 6 May 2011 18:06:55 -0700 (PDT) Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu [131.215.239.19]) by olra.theworths.org (Postfix) with ESMTP id 39BAE431FB5 for ; Fri, 6 May 2011 18:06:55 -0700 (PDT) Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1]) by earth-doxen-postvirus (Postfix) with ESMTP id 8909E66E05F9; Fri, 6 May 2011 18:06:53 -0700 (PDT) X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new Received: from servo.finestructure.net (m8.ligo.caltech.edu [131.215.115.108]) (Authenticated sender: jrollins) by earth-doxen-submit (Postfix) with ESMTP id 9709466E05F3; Fri, 6 May 2011 18:06:48 -0700 (PDT) Received: by servo.finestructure.net (Postfix, from userid 1000) id 849D0121C; Fri, 6 May 2011 18:06:49 -0700 (PDT) From: Jameson Graef Rollins To: Austin Clements , Florian Friesdorf Subject: Re: [PATCH] implement search --format=sanitized_text + emacs UI to use it In-Reply-To: References: <1304723846-29134-1-git-send-email-flo@chaoflow.net> <1304723846-29134-2-git-send-email-flo@chaoflow.net> User-Agent: Notmuch/0.6 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Fri, 06 May 2011 18:06:47 -0700 Message-ID: <87liyjgvyw.fsf@servo.factory.finestructure.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Cc: notmuch@notmuchmail.org, a.amann@ucc.ie 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 01:06:57 -0000 --=-=-= On Fri, 6 May 2011 19:55:26 -0400, Austin Clements wrote: > Perhaps text summary output should *always* do this. The text summary > format is meant half for user consumption and half for emacs > consumption and allowing newlines that don't indicate the end of a > summary line seems bad for *both* use cases. Hi, Florian. I think I agree with Austin here that the text output should probably just always be sanitized. Can you try sending in a patch that just automatically sanitizes the text output? Also, I believe that this patch is not entirely compatible with the current head of the release-candidate/0.6 branch. I pushed a patch to that branch to fix a search output formatting bug, and in so doing I added a field to the search_format struct. If you could make those changes and post a new patch that would be great. Thanks. jamie. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJNxJsnAAoJEO00zqvie6q8r1YP/ifH92Lsa/0HaeLGCK1F3PqF oeNUXN9G26jLS2ws5fiJ/Xa3IaVwAHopL2mqfqDO696BZ+fFhUrU3XaiGzSLAYAO bZcyGSW3hWifeFjVyZVFFto/nRE4xtv0WMjipVqbwkGwbcrKs9JZyP6H2Cwrwhq/ 2sJg8AKIXDitWQV4yIp9+er21IgXYaelZ9tG1j0bZubcERJvVE3OKKDYM2aoEFjq RzJHkLc91HLRvztzrtbDh2vsGyDy5QsuQkAQS1nUxsGHOB7cNMsMWlX8t0GJTQPr Fq9bPJOHWYececV19OOYbYFnK9K80ddg5bB6/qBe01bmnhPsOxBOZ/BRVzwn2DQe HpgLQgh3rkAFiOy0B+dQGAVVJMVpirO1Mq8qtSi51jyRfLTpVBqK7SHOkcqbK52E ++Mt1+NX8BrhMjfvsaGDLVNWBzHjQyLq8muwdbKaor8Zt6kZLvyMuCIc5C2QbfUe QmV27Q5J/2naNnGJlSj1PTaX3AMZa4vUsiydUACQrSzZsJwVVLUOmIUDoNcmwR/6 ymQ1E8UpZC/pMxeNKrTmdo4+NtbfT3sKG/Err2b4yxlzEXxVHN96rqGmqtR/kGGf QDgTicbH6DN/F2l5riDiZGJlbdbVMulqIpk0hstqhdbw8PEYJAtWPaZ+HKnLb/h4 dLlaUQxVPPlvncPPyHCC =RTJg -----END PGP SIGNATURE----- --=-=-=--