[PATCH] implement search --format=sanitized_text + emacs UI to use it

Jameson Graef Rollins jrollins at finestructure.net
Fri May 6 18:06:47 PDT 2011


On Fri, 6 May 2011 19:55:26 -0400, Austin Clements <amdragon at mit.edu> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110506/c644e96d/attachment.pgp>


More information about the notmuch mailing list