From 0fc201ca5a2d41b632c9310caff2198496d28dd3 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Thu, 29 Mar 2012 18:49:19 +1700 Subject: [PATCH] Re: [PATCH 0/2] Escape message ID queries in Emacs --- 1f/783ee8e067c8bd00a023f6bf52522de73348d3 | 92 +++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 1f/783ee8e067c8bd00a023f6bf52522de73348d3 diff --git a/1f/783ee8e067c8bd00a023f6bf52522de73348d3 b/1f/783ee8e067c8bd00a023f6bf52522de73348d3 new file mode 100644 index 000000000..dcbabd0b2 --- /dev/null +++ b/1f/783ee8e067c8bd00a023f6bf52522de73348d3 @@ -0,0 +1,92 @@ +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 A7B6D431FAF + for ; Wed, 28 Mar 2012 18:49:27 -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 S9ogzC6euseG for ; + Wed, 28 Mar 2012 18:49:25 -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 4622D431FAE + for ; Wed, 28 Mar 2012 18:49:25 -0700 (PDT) +Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) + by fire-doxen-postvirus (Postfix) with ESMTP id C96B82E50DAD; + Wed, 28 Mar 2012 18:49:22 -0700 (PDT) +X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new +Received: from finestructure.net (m17.ligo.caltech.edu [131.215.115.117]) + (Authenticated sender: jrollins) + by fire-doxen-submit (Postfix) with ESMTP id DCAA92E50DA2; + Wed, 28 Mar 2012 18:49:19 -0700 (PDT) +Received: by finestructure.net (Postfix, from userid 1000) + id BF182E0; Wed, 28 Mar 2012 18:49:19 -0700 (PDT) +From: Jameson Graef Rollins +To: Austin Clements , notmuch@notmuchmail.org +Subject: Re: [PATCH 0/2] Escape message ID queries in Emacs +In-Reply-To: <1332812236-20387-1-git-send-email-amdragon@mit.edu> +References: <1332812236-20387-1-git-send-email-amdragon@mit.edu>User-Agent: + Notmuch/0.12+77~g8e9161b (http://notmuchmail.org) Emacs/23.3.1 + (x86_64-pc-linux-gnu) +Date: Wed, 28 Mar 2012 18:49:19 -0700 +Message-ID: <87r4wckwgw.fsf@servo.finestructure.net> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha256; protocol="application/pgp-signature" +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: Thu, 29 Mar 2012 01:49:27 -0000 + +--=-=-= + +On Mon, Mar 26 2012, Austin Clements wrote: +> Currently, Emacs does not escape message ID queries and is +> inconsistent about quoting them. This patch centralizes this in one +> function that always produces a properly quoted and escaped message ID +> query. +> +> With this, Emacs no longer gets confused by Tomi's crazy message, +> id:"id:""1332281811-24710-2b-git-send-email-tomi.ollila@iki.fi""" + +LGTM. + +jamie. + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) + +iQIcBAEBCAAGBQJPc7+fAAoJEO00zqvie6q8qxEP/09IpFsWlBkZ2KRxNRFUU+ox +JMwlU8wvm7DRdqTUrZ0M/PqCTRslKKvPgM1pu9UwHzR1acC3RKmHZ0yQcAHTVhPe +S8YZ5Pl06yA1pZrF2BESQ3EWWnG5ldVywh+FvjWSVwbPA2wau+K06LvewkPjvlFq +4TXU9TjPFTjtaz3oRO1BNVMA3u9sV42QzPK/sVENZ2SQy+en4yapLNkWpN27gkLq +FcAE6XN8+NRt5npgd13FmRkAbHTPq5qH1k+aw9m99OKKIMPx+JtAyrZQ6XYdJWJ6 +7+azqGEKFtIh4n4BDxKG6vlz8KG6KFgL5FHgXFhzNb10QkCkyHz4w1MIadOtFzHr +1cZKwPaxZCYwE8EHjuWBMsdL/3mVcKjK564jIZqHfYY2cYViCwShPoR7UhVi+SjK +y8x+NEsVZg96/JVeQ9swOztHY49N18/aKbg6UNduEjFyVfz/+Pdszf/7c5ZHrMhR +o2sTI5FGIY5sxVQPScgksu9KLBe5pO+5VYp2u5onPH7fOF9ecWaPPz6ztlyukdtL +17QqDm1A6TwteHawaor1qtoXrsNLJQ2HZ8yKe4jPjJ6MIe6RNpRk/8KYx5N5TiNA +w2FhMMcM+WTC3VADP9fVzRPLXwQhPN8fQSpPSzjBMXD2a2Hud/0b1RmVb4edg2dQ +vsasbXmcu0I4vB0x9ePA +=yalg +-----END PGP SIGNATURE----- +--=-=-=-- -- 2.26.2