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 5DDD7429E25 for ; Fri, 12 Aug 2011 01:07:35 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.09 X-Spam-Level: X-Spam-Status: No, score=-0.09 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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 QSkoCFXTuQgY for ; Fri, 12 Aug 2011 01:07:33 -0700 (PDT) Received: from homiemail-a21.g.dreamhost.com (caiajhbdcbef.dreamhost.com [208.97.132.145]) by olra.theworths.org (Postfix) with ESMTP id 4F28D431FB6 for ; Fri, 12 Aug 2011 01:07:33 -0700 (PDT) Received: from homiemail-a21.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a21.g.dreamhost.com (Postfix) with ESMTP id C6004300072; Fri, 12 Aug 2011 01:07:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:cc:subject :in-reply-to:references:date:message-id:mime-version: content-type; q=dns; s=sspaeth.de; b=TQ/uOM7RXLGvZSAH8MqaV589UPa Pkr7pn84p+ThCn/ROfRnt/pZmyZmM1YmAKSNh6CJMprGjVrwj3G7PStS6s4zGc0i Tj8IaYjFtRUUGm0fnW14eGD9s8oceFPm/iU8HCvKe15I5EtSd95HekbZzFRnAam8 c3CxV0S5I3Ki7fNw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version: content-type; s=sspaeth.de; bh=F/64VHWYT60eqFi5JztF1vtdUiU=; b=l CtkWRMLaUJziUvrsfn6S/Wx+/55y/guVT9WA7OMpjIiJHTenWUn/Sz4mQVyYe6ge XFCWBgumeAFxTTy9p1sKf6iZN8WywzJGvDbcPO/nASW9cWGluiMkR/N/8b+EmFsB d/xWrbWeMxeaC0t4Dt6htuGkJaIJaqHpDFVdtDMtpM= Received: from spaetzbook.sspaeth.de (unknown [84.55.206.35]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fax@sspaeth.de) by homiemail-a21.g.dreamhost.com (Postfix) with ESMTPSA id 091ED30006C; Fri, 12 Aug 2011 01:07:21 -0700 (PDT) Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation); Fri, 12 Aug 2011 10:07:19 +0200 From: Sebastian Spaeth To: Austin Clements , Pieter Praet Subject: Re: [PATCH v2] emacs: bad regexp @ `notmuch-search-process-filter' In-Reply-To: <20110711210532.GC25558@mit.edu> References: <20110705214234.GA15360@mit.edu> <1310416993-31031-1-git-send-email-pieter@praet.org> <20110711210532.GC25558@mit.edu> User-Agent: Notmuch/0.5-233-gb404931 (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) Date: Fri, 12 Aug 2011 10:07:19 +0200 Message-ID: <87zkjfnjd4.fsf@SSpaeth.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: Notmuch Mail 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, 12 Aug 2011 08:07:35 -0000 --=-=-= On Mon, 11 Jul 2011 17:05:32 -0400, Austin Clements wrote: > So what would be a good format? One possibility would be to > NULL-delimit the query part; as distasteful as I find that, this part > of the search output isn't meant for user consumption. Though I fear > this is endemic to the dual role the search output currently plays as > both user and computer readable. Perhaps we take a queue from xargs and have a command line switch for \n vs \0 output? --null -- 0 Input items are terminated by a null character instead of by whitespace, and the quotes and backslash are not special (every character is taken lit- erally). --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk5E3zcACgkQVYX1jMgnoGImIACfZb3PVNruq8jLOQYaEz9jrY+e fxUAn3hvm06o5+uXsUzAVwSUBFVjywio =BIRp -----END PGP SIGNATURE----- --=-=-=--