Re: [notmuch] [PATCH 4/9] Factor out message buffer mgmt from notmuch-show-view-all...
authorCarl Worth <cworth@cworth.org>
Sat, 28 Nov 2009 05:10:42 +0000 (21:10 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:46 +0000 (09:35 -0800)
f5/19465c2297b1ebbb46bf100b52ac01b0ffc732 [new file with mode: 0644]

diff --git a/f5/19465c2297b1ebbb46bf100b52ac01b0ffc732 b/f5/19465c2297b1ebbb46bf100b52ac01b0ffc732
new file mode 100644 (file)
index 0000000..5bb0b13
--- /dev/null
@@ -0,0 +1,82 @@
+Return-Path: <cworth@cworth.org>\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 43E8F431FC0;\r
+       Fri, 27 Nov 2009 21:10:58 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\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 hSZUE62OA3OB; Fri, 27 Nov 2009 21:10:57 -0800 (PST)\r
+Received: from cworth.org (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 8B900431FAE;\r
+       Fri, 27 Nov 2009 21:10:57 -0800 (PST)\r
+From: Carl Worth <cworth@cworth.org>\r
+To: camalot@picnicpark.org, notmuch@notmuchmail.org\r
+In-Reply-To: <1259328615-1445-5-git-send-email-camalot@picnicpark.org>\r
+References: <1259328615-1445-1-git-send-email-camalot@picnicpark.org>\r
+       <1259328615-1445-2-git-send-email-camalot@picnicpark.org>\r
+       <1259328615-1445-3-git-send-email-camalot@picnicpark.org>\r
+       <1259328615-1445-4-git-send-email-camalot@picnicpark.org>\r
+       <1259328615-1445-5-git-send-email-camalot@picnicpark.org>\r
+Date: Fri, 27 Nov 2009 21:10:42 -0800\r
+Message-ID: <87iqcvtest.fsf@yoom.home.cworth.org>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+Cc: Keith Amidon <keith@nicira.com>\r
+Subject: Re: [notmuch] [PATCH 4/9] Factor out message buffer mgmt from\r
+ notmuch-show-view-all-mime-parts\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\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: Sat, 28 Nov 2009 05:10:58 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Fri, 27 Nov 2009 05:30:10 -0800, camalot@picnicpark.org wrote:\r
+> From: Keith Amidon <keith@nicira.com>\r
+>=20\r
+> The ability to temporarily create a buffer containing only the\r
+> contents of the currently selected message in notmuch show mode is\r
+> generally useful.  This commit factors the majority of the code\r
+> required to do so out of notmuch-show-view-all-mime-parts into a macro\r
+> called with-current-notmuch-show-message and rewrites the original\r
+> function in terms of the macro.\r
+>=20\r
+> A future set of commits will provide additional functionality using\r
+> the macro as well.\r
+\r
+Hurrah! I'm glad to see that you are wholly more capable with emacs lisp\r
+than I am. I knew of lisp macros of course, but didn't know the actual\r
+syntax for writing one.\r
+\r
+As is probably painfully obvious, I've just been learning emacs lisp as\r
+I've been forced to hear. And I'll be more than happy to step aside and\r
+let experts take over. :-)\r
+\r
+This piece is pushed.\r
+\r
+=2DCarl\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFLELDT6JDdNq8qSWgRAu9IAJ9dcMl3350KpN6R7FeoaaasCUjlGgCfVAG9\r
+PGkGGvNC4q9hw5k29Qc7vb4=\r
+=5udG\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r