Re: [notmuch] [PATCH] notmuch: Add search mode hook
authorKeith Packard <keithp@keithp.com>
Thu, 19 Nov 2009 05:21:11 +0000 (21:21 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:36 +0000 (09:35 -0800)
2a/35c6e07d9b273b6fc04fe013f908e4f60841de [new file with mode: 0644]

diff --git a/2a/35c6e07d9b273b6fc04fe013f908e4f60841de b/2a/35c6e07d9b273b6fc04fe013f908e4f60841de
new file mode 100644 (file)
index 0000000..a6c6d3f
--- /dev/null
@@ -0,0 +1,79 @@
+Return-Path: <keithp@keithp.com>\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 38CB9431FBC\r
+       for <notmuch@notmuchmail.org>; Wed, 18 Nov 2009 21:21:17 -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 zyQ3LFn74Tku for <notmuch@notmuchmail.org>;\r
+       Wed, 18 Nov 2009 21:21:16 -0800 (PST)\r
+Received: from keithp.com (home.keithp.com [63.227.221.253])\r
+       by olra.theworths.org (Postfix) with ESMTP id 7F408431FAE\r
+       for <notmuch@notmuchmail.org>; Wed, 18 Nov 2009 21:21:16 -0800 (PST)\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by keithp.com (Postfix) with ESMTP id 9E420B9404C;\r
+       Wed, 18 Nov 2009 21:21:15 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at keithp.com\r
+Received: from keithp.com ([127.0.0.1])\r
+       by localhost (keithp.com [127.0.0.1]) (amavisd-new, port 10024)\r
+       with LMTP id 7cK+yR466poj; Wed, 18 Nov 2009 21:21:12 -0800 (PST)\r
+Received: by keithp.com (Postfix, from userid 1033)\r
+       id 86D35B9402F; Wed, 18 Nov 2009 21:21:12 -0800 (PST)\r
+Received: from keithp.com (localhost [127.0.0.1])\r
+       by keithp.com (Postfix) with ESMTP id 79A08B88003;\r
+       Wed, 18 Nov 2009 21:21:12 -0800 (PST)\r
+From: Keith Packard <keithp@keithp.com>\r
+To: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>,\r
+       notmuch@notmuchmail.org\r
+In-Reply-To:\r
+ <1258606537-12566-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com>\r
+References:\r
+ <1258606537-12566-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com>\r
+Date: Wed, 18 Nov 2009 21:21:11 -0800\r
+Message-ID: <yunskcb2ipk.fsf@aiko.keithp.com>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+Subject: Re: [notmuch] [PATCH] notmuch: Add search mode hook\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: Thu, 19 Nov 2009 05:21:17 -0000\r
+\r
+--=-=-=\r
+\r
+On Thu, 19 Nov 2009 10:25:37 +0530, "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> wrote:\r
+\r
+> This patch add notmuch-search-mode-hook and rename\r
+> notmuch-show-hook to notmuch-show-mode-hook. This\r
+> also runs notmuch-show-mode-hook when we enable\r
+> notmuch-show-mode\r
+\r
+I'm not sure we want to run the hooks that early; I can easily imagine\r
+hooks that want to be run after the message has been loaded.\r
+\r
+--\r
+keith.packard@intel.com\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFLBNXIQp8BWwlsTdMRApTlAKCs+UL/i+ctYfv1nYi2ZK8HpgOKIgCgvLRt\r
+IRgLDxRO1aicg6t7U/C0H+8=\r
+=QGmR\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r