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 6BEF0429E54 for ; Sun, 22 Jan 2012 13:38:20 -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 vqYinBAlHyvk for ; Sun, 22 Jan 2012 13:38:20 -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 D2A69429E40 for ; Sun, 22 Jan 2012 13:38:19 -0800 (PST) Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) by fire-doxen-postvirus (Postfix) with ESMTP id 416D42E50D89; Sun, 22 Jan 2012 13:38:15 -0800 (PST) X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new Received: from finestructure.net (cpe-76-174-137-84.socal.res.rr.com [76.174.137.84]) (Authenticated sender: jrollins) by fire-doxen-submit (Postfix) with ESMTP id 825362E50DB8; Sun, 22 Jan 2012 13:38:12 -0800 (PST) Received: by finestructure.net (Postfix, from userid 1000) id 77255AF4; Sun, 22 Jan 2012 13:38:12 -0800 (PST) From: Jameson Graef Rollins To: David Edmondson , notmuch@notmuchmail.org Subject: Re: [PATCH 2/3] emacs: Don't return the button from `notmuch-show-insert-part-header'. In-Reply-To: <1327052612-1040-2-git-send-email-dme@dme.org> References: <1327052612-1040-1-git-send-email-dme@dme.org> <1327052612-1040-2-git-send-email-dme@dme.org> User-Agent: Notmuch/0.11+93~gc3dc12a (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Sun, 22 Jan 2012 13:38:09 -0800 Message-ID: <877h0jmn9a.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: Sun, 22 Jan 2012 21:38:20 -0000 --=-=-= On Fri, 20 Jan 2012 09:43:31 +0000, David Edmondson wrote: > Instead, allow the caller to specify some parameters for the > button. Rework `notmuch-show-insert-part-multipart/signed' and > `notmuch-show-insert-part-multipart/encrypted' accordingly, moving > most of the code into a common > `notmuch-show-insert-part-multipart/signed-or-encrypted' to reduce > duplication. Hi, David. A couple of issues with this patch: This patch seems to include multiple distinct changes. There is a change to notmuch-show-insert-part-header, but a seemingly unrelated change to the insertion of signed/encrypted part buttons. They should be in separate patches. I'm also not sure I understand why the proposed changes to the signed/encrypted button insertion functions are necessary or desired. Was there a problem with the logic as it was? What is gained by having one function filled with special casing to handle two things, rather than having two distinct functions? Finally, this patch throws out all the changes from the previous patch, making the previous patch superfluous. jamie. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJPHIHCAAoJEO00zqvie6q89gYQAKjyylLyOngLm8k43S6P6Wk/ 3q8P3H9bYVGQpTIRvn7I5H9YvqZrU98GlkFRcuI7CrwUuy8ojDMpWqC8QGf6hcWx uF9rdmaozaVxQMQPeWuEgaDlTBFag/brRs14tq/4osQijO4aLd7H/lZlV4KHxWR5 qr7oJxVQ9uZmBFrgrJuFbD+gWA/DnfeEp79aM+lCeQm9KkpKn0AJwDFe/ayARGUv EL1uHJDenIK2A9MJuzqw/2Io6G2oMLMkRvQMdzuGWY5D9ZBHYZoBZ26AvzaHxHzt XRd6SdYcQroWCZo/M93t+s+sgEPmeaqbWoMohotlMJMALiitc+4fB1ldLfrKIIcj DanOQrXVJlTxedmPVymHhYy1Utc0XIblTOT8ax2QyOop2Mc/QbjPXBNfBXYCxx8f 94vFAwW8OOv8qq7F1DmqKZMnKpa/gyc661P5WlkcT5IDP6PdT72JwQJ645QuKKHk 6JJpM+WlEqIhOaIuLj41aPfie4XuMne/Mrd3UBn4hrB2ZOaOFnk8387KkRYfWVzU 8b5bBtwLUZfZYnbPPHCxfxJddgwEFvyZ90nr3j0JeWr+EgKjYxZKMSTZyv7jzTbN zslA9mrxxF+5kSlH5KWWyTkIHrWVvpdpJ5+u123abI7CBJ/hY+enDD0xapkHH/lB cCxYdPWDSzX1134/6hAD =4NDl -----END PGP SIGNATURE----- --=-=-=--