Re: [PATCH] emacs: Modify notmuch-show-get-message-id to return message-id unprefixed...
authorJameson Graef Rollins <jrollins@finestructure.net>
Tue, 18 Oct 2011 15:16:12 +0000 (08:16 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:41 +0000 (09:39 -0800)
a3/f3af9be21c528615478f029629e7217cf07eb9 [new file with mode: 0644]

diff --git a/a3/f3af9be21c528615478f029629e7217cf07eb9 b/a3/f3af9be21c528615478f029629e7217cf07eb9
new file mode 100644 (file)
index 0000000..f77cef1
--- /dev/null
@@ -0,0 +1,102 @@
+Return-Path: <jrollins@finestructure.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id E7388429E26\r
+       for <notmuch@notmuchmail.org>; Tue, 18 Oct 2011 08:16:23 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.29\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id HUhc4Cph3Eex for <notmuch@notmuchmail.org>;\r
+       Tue, 18 Oct 2011 08:16:22 -0700 (PDT)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+       [131.215.239.19])\r
+       by olra.theworths.org (Postfix) with ESMTP id 49BE3429E25\r
+       for <notmuch@notmuchmail.org>; Tue, 18 Oct 2011 08:16:22 -0700 (PDT)\r
+Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by earth-doxen-postvirus (Postfix) with ESMTP id C2F8566E010A;\r
+       Tue, 18 Oct 2011 08:16:21 -0700 (PDT)\r
+X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
+Received: from finestructure.net (cpe-76-174-136-149.socal.res.rr.com\r
+       [76.174.136.149]) (Authenticated sender: jrollins)\r
+       by earth-doxen-submit (Postfix) with ESMTP id E89BA66E02AD;\r
+       Tue, 18 Oct 2011 08:16:15 -0700 (PDT)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id 85C761040; Tue, 18 Oct 2011 08:16:15 -0700 (PDT)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Thomas Schwinge <thomas@schwinge.name>\r
+Subject: Re: [PATCH] emacs: Modify notmuch-show-get-message-id to return\r
+       message-id unprefixed with "id:".\r
+In-Reply-To: <87ehykflzw.fsf@kepler.schwinge.homeip.net>\r
+References: <87mxdabyy8.fsf@washington.ligo-wa.caltech.edu>\r
+       <1318199748-25058-1-git-send-email-jrollins@finestructure.net>\r
+       <87ehykflzw.fsf@kepler.schwinge.homeip.net>\r
+User-Agent: Notmuch/0.9-15-g937a514 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Tue, 18 Oct 2011 08:16:12 -0700\r
+Message-ID: <87obxee3er.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\r
+Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 18 Oct 2011 15:16:24 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Tue, 11 Oct 2011 01:46:43 +0200, Thomas Schwinge <thomas@schwinge.name> =\r
+wrote:\r
+> On Sun,  9 Oct 2011 15:35:48 -0700, Jameson Graef Rollins <jrollins@fines=\r
+tructure.net> wrote:\r
+> >  (defun notmuch-show-get-message-id ()\r
+> >    "Return the message id of the current message."\r
+> > -  (concat "id:\"" (notmuch-show-get-prop :id) "\""))\r
+> > +  (concat "\"" (notmuch-show-get-prop :id) "\""))\r
+>=20\r
+> Shouldn't the double quotes be removed here, too?  (And be re-added in\r
+> the other places where id: is added.)\r
+\r
+Yes, I think you're right Thomas.  Afaik emacs doesn't need any kind of\r
+escaping when storing strings internally.  I'll tweak that and resubmit\r
+the patch.\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJOnZg9AAoJEO00zqvie6q85ecP/RZMdsHrF4I2xcLozRHN5erY\r
+XUatZdW53rg3CTaVXn5PzlFhKW3Fi3386VaTXgiwKweQxw+HF7ICF4s53Iu1t2QB\r
+tYc386z8YXJ8VzsTwp/UxqaCF1upokCfIOTcKXMk0iakJ/JJmkWAyGKKQESq3Dcu\r
+KsHwBplWS2uN1GVfADKafeercjiiQEx0XAf2AAquE0GWtLSvHaE+bp8bw8LU0BnR\r
+5B07+i0jWDTUJCkEb3DKgNCz792Wu9CCaEMBL1fIX2FGM57mTUmXcvyoCa90D0Fp\r
+kY77nYKXJAYQolKC45bPzCjLmUW3TP1kRmq1LxhkJKKbsT5e+4S2oRHgkLE/wXBK\r
+UXbqzuBviDyQi0ggwyQa5qDMrOXBle2ZJTF7GeSm2Y0/Wx2iKwj0QVp09j/kZsr6\r
+zS4IxuHGs5KUvsTHbYrVwGSpcjR7LKi/o/4jy9bC8yBeWQY9gvo1XP1RLKrZGrAF\r
+FzOBLsYvkoSMDuj6OGsMxAyskWVudMfxuAlkMvhKFlWE4iNEeNwN9DeisH/SJ434\r
++h0P4d6Mmg/CLL74/DYAOwvTJp1WGQzYM1HVOQxVQx/uei1fPskk7f8oq7r5jhRr\r
+ZNQopnaBtlIjtbiF6ZmVXy2i1RT3ayeOx522Rot6al6LSN8jMtV9/7tVv1YhEB3A\r
+4BUeuLnzWWalU5dAiued\r
+=TdOl\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r