Re: [PATCH 1/2] emacs: remove some code duplication in notmuch-show
authorJameson Graef Rollins <jrollins@finestructure.net>
Mon, 28 Nov 2011 19:51:01 +0000 (11:51 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:40:28 +0000 (09:40 -0800)
cb/432b5a760969c8d176ad46c60893c1ff9204b2 [new file with mode: 0644]

diff --git a/cb/432b5a760969c8d176ad46c60893c1ff9204b2 b/cb/432b5a760969c8d176ad46c60893c1ff9204b2
new file mode 100644 (file)
index 0000000..e9fe357
--- /dev/null
@@ -0,0 +1,100 @@
+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 7669C429E21\r
+       for <notmuch@notmuchmail.org>; Mon, 28 Nov 2011 11:51:22 -0800 (PST)\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 1Ys0sz-KpswX for <notmuch@notmuchmail.org>;\r
+       Mon, 28 Nov 2011 11:51:21 -0800 (PST)\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 D3DF8431FB6\r
+       for <notmuch@notmuchmail.org>; Mon, 28 Nov 2011 11:51:20 -0800 (PST)\r
+Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by fire-doxen-postvirus (Postfix) with ESMTP id 232F32E50EF6;\r
+       Mon, 28 Nov 2011 11:51:18 -0800 (PST)\r
+X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new\r
+Received: from finestructure.net (dyn-pupin-171-39.dyn.columbia.edu\r
+       [128.59.171.39]) (Authenticated sender: jrollins)\r
+       by fire-doxen-submit (Postfix) with ESMTP id 2066232805F;\r
+       Mon, 28 Nov 2011 11:51:09 -0800 (PST)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id B50378FA; Mon, 28 Nov 2011 11:51:03 -0800 (PST)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Austin Clements <amdragon@MIT.EDU>\r
+Subject: Re: [PATCH 1/2] emacs: remove some code duplication in notmuch-show\r
+In-Reply-To: <20111128182855.GB2050@mit.edu>\r
+References: <1322259811-10834-1-git-send-email-dmitry.kurochkin@gmail.com>\r
+       <87lir0xr3g.fsf@servo.finestructure.net>\r
+       <20111128182855.GB2050@mit.edu>\r
+User-Agent: Notmuch/0.10~rc1+25~g719d650 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Mon, 28 Nov 2011 11:51:01 -0800\r
+Message-ID: <87ty5ovxei.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@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: Mon, 28 Nov 2011 19:51:22 -0000\r
+\r
+--=-=-=\r
+\r
+On Mon, 28 Nov 2011 13:28:55 -0500, Austin Clements <amdragon@MIT.EDU> wrote:\r
+> If props isn't provided, it'll be nil, so notmuch-show-get-prop will\r
+> also interpret its optional props argument as not being provided.\r
+\r
+On Mon, 28 Nov 2011 22:11:43 +0400, Dmitry Kurochkin <dmitry.kurochkin@gmail.com> wrote:\r
+> If props is not supplied it is bound to nil.  There is no special\r
+> "undefined" value.\r
+\r
+jinx!\r
+\r
+Thanks for the clarification, guys.  So this looks like a nice\r
+simplification to me.\r
+\r
+I'm surprised there are no other functions that could make use of this\r
+newly modified notmuch-show-get-header...\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
+iQIcBAEBCAAGBQJO0+YlAAoJEO00zqvie6q8GYsP/181tN3LLN55ZPQ3m9epMzZV\r
+DsO7yqzfFC0afI+ogyv6cZY5dmwzqdYrl//a0FrKmbh6dlG/iwCPPAjgCIfDg9gc\r
+qKY0EBy++eWu6wctNuDjgIIkliRM//YDoYwlV0W0ozs6QmAyNvn7iFaUzw87exxx\r
+U0+EbgIF3sSYu1Jqb5sFSxjav8+tnkYcmRN39xs/GZq8hn2XgYdTeVpADpbg1YoM\r
+zgs2mpslHktutqBOr9ZPGaIQEKx/Tl6NY1U67qupqLsJy3mc2vd1qrdojwPQtE1Q\r
+BTqZet2qUvd/Xzazh/QYt/pVTf4FW7v/GBDLgpZ/m75Boz8fEAYrOKuK/UrekhxC\r
+abBVVMDsQqXP6OxCpmjux248+1OMUmKhQPQI+YOx5QT0BDAgWXswhpqnhRnJNRPy\r
+kKtidpv37QIRXNrsuPi4SB8uSD/Vfo8zUpc8RNxxbg6+yP4MvlUnDQ30RmkcSf0d\r
+aKkgsa4H12fxWtEpKhKuSJ/ivjXdq3ZzuYdfEh3sus4/t/PmVF5uhrJX4gY12DwB\r
+dL1Znv1bSoHrPphkqbBIVvpo462A/RQ2+FyJ0l/MtCvW0Xoqtisc4/j8qaqN6RUw\r
+hUqKVIo+POL2GMtIE2IuY6pVnpUJr0ZvhImF1M5tYnMVNyjS3DNAzWpbEloUeLvq\r
+8ghWU5VaKAbb5h79mb2e\r
+=sfxX\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r