Re: [PATCH] emacs-show: open excluded matches if no other matches
authorJameson Graef Rollins <jrollins@finestructure.net>
Thu, 12 Apr 2012 19:08:16 +0000 (12:08 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:46:18 +0000 (09:46 -0800)
79/350bc6198907a5dd3efc88c5a1d207bfd06225 [new file with mode: 0644]

diff --git a/79/350bc6198907a5dd3efc88c5a1d207bfd06225 b/79/350bc6198907a5dd3efc88c5a1d207bfd06225
new file mode 100644 (file)
index 0000000..c87dd80
--- /dev/null
@@ -0,0 +1,92 @@
+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 06AA8431FAF\r
+       for <notmuch@notmuchmail.org>; Thu, 12 Apr 2012 12:08:26 -0700 (PDT)\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 clCRvOGhcO6i for <notmuch@notmuchmail.org>;\r
+       Thu, 12 Apr 2012 12:08:25 -0700 (PDT)\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 59FDB431FAE\r
+       for <notmuch@notmuchmail.org>; Thu, 12 Apr 2012 12:08:25 -0700 (PDT)\r
+Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by fire-doxen-postvirus (Postfix) with ESMTP id B56792E50DE4;\r
+       Thu, 12 Apr 2012 12:08:22 -0700 (PDT)\r
+X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new\r
+Received: from finestructure.net (DHCP-123-229.caltech.edu [131.215.123.229])\r
+       (Authenticated sender: jrollins)\r
+       by fire-doxen-submit (Postfix) with ESMTP id F08DA32800E;\r
+       Thu, 12 Apr 2012 12:08:18 -0700 (PDT)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id C9DD44C2; Thu, 12 Apr 2012 12:08:18 -0700 (PDT)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] emacs-show: open excluded matches if no other matches\r
+In-Reply-To: <1331836090-30560-1-git-send-email-markwalters1009@gmail.com>\r
+References: <1331836090-30560-1-git-send-email-markwalters1009@gmail.com>\r
+User-Agent: Notmuch/0.12+112~gffb05d6 (http://notmuchmail.org) Emacs/23.4.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Thu, 12 Apr 2012 12:08:16 -0700\r
+Message-ID: <8762d44vkv.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\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: Thu, 12 Apr 2012 19:08:26 -0000\r
+\r
+--=-=-=\r
+\r
+On Thu, Mar 15 2012, Mark Walters <markwalters1009@gmail.com> wrote:\r
+> Currently emacs show does not open matching but excluded\r
+> messages. This is normally the desired behaviour but is probably not\r
+> ideal if only excluded messages match. This patch opens all the\r
+> matching (necessarily excluded) messages in this case and goes to the\r
+> first one.\r
+\r
+Hi, Mark.  I have tested this patch and it LGTM.  I think this is the\r
+behavior we want, since it's no fun to open up a show buffer and have\r
+all messages in the thread closed.  That doesn't make much sense.\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.12 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJPhyggAAoJEO00zqvie6q82aoQAIyksCUk7cT4I1jI6xz8pes4\r
+cDjd+V8wP3L2ncm7vBiVECTp6sEv9kizI4prVEYAI+d1mhqBG8FMSHcEWh58DDsE\r
+lULAUS0pdsKhormZxcg9RH3o8RZY/1p/xCXYEHmlTNp5ywZTcqKwjxYjQ6m9U0nG\r
+hnEygu4whMSdH26CzOmrY17FeDBGGrLjrdds/InaCQvkykGL18aoW6S+lZ0L8AO+\r
+EMU0WP8NZjnipvPud3WQ4/KYc/bKmY48jUsbXFVSIqCuIy0JzSzQ3wLSIJVtVXau\r
+v/OpY1KkoLw8Mc1PUElos2So7smVCKZcroXF6azD07ccStyfJdUDoofWG2t8Beos\r
+T79K+kO5RxslLNbTBA1f0XTkqZ6ad9fOiTCoU2r2v7nSpugzeRh5UcZcZY9ufNUX\r
+sWqlDF4pxqmbZT+xWDbgv+SFD6tVR+Z2/bUjbrU5Ff2B3Jlg8nTdpbm7HGg5ScFB\r
+Zq/u9AoFmlWu2IRrbAWq463saJszN5zAmRrQrvjsI53u70c5bvEKj8EJpWd9lHX3\r
+jDdm2NhhZ3oEGbyfWjt/ujhuJC7YPqj1nlQH4NoWPnKWZbWjZ690u6tABJs0Fpy1\r
+cCSftwZXwg4pJI7atxhhBsJos07Z5F40GMP+LM2j7kilw2n+GSNttYt62ZXlLN67\r
+EV17+EmHHWUh7CLYiWwJ\r
+=vtfA\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r