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