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