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 2E033429E21 for ; Fri, 6 May 2011 16:17:42 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] 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 CUkud5T1rW-Y for ; Fri, 6 May 2011 16:17:40 -0700 (PDT) Received: from tesla.chaoflow.net (tesla.chaoflow.net [188.40.54.22]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 04992431FB5 for ; Fri, 6 May 2011 16:17:39 -0700 (PDT) Received: from eve.chaoflow.net (ppp-93-104-187-164.dynamic.mnet-online.de [93.104.187.164]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: flo@chaoflow.net) by tesla.chaoflow.net (Postfix) with ESMTPSA id 4640ACC93; Sat, 7 May 2011 01:17:38 +0200 (CEST) Received: from eve.fritz.box (eve.chaoflow.net [127.0.0.1]) by eve.chaoflow.net (Postfix) with ESMTP id 06B0A2AA; Fri, 6 May 2011 23:17:38 +0000 (Local time zone must be set--see zic manual page) From: Florian Friesdorf To: notmuch@notmuchmail.org Subject: [PATCH] search --format=sanitized_text Date: Sat, 7 May 2011 01:17:25 +0200 Message-Id: <1304723846-29134-1-git-send-email-flo@chaoflow.net> X-Mailer: git-send-email 1.7.5.1 X-Virus-Scanned: clamav-milter 0.96.5 at tesla X-Virus-Status: Clean Cc: 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: Fri, 06 May 2011 23:17:42 -0000 In the release-candidate/0.6, the emacs UI is still not able to handle messages where control characters are contained in the Subject: or Author: fields. As suggested by Pieter Prat, I turned Andreas Amann's patch into a separate format. The patch works and is very useful for me. Is the general direction good? What would be needed to get this included? Florian Friesdorf (1): implement search --format=sanitized_text + emacs UI to use it emacs/notmuch.el | 3 +- notmuch-search.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 1 deletions(-) -- 1.7.5.1