1 Return-Path: <dme@dme.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 02E1E431FBF
\r
6 for <notmuch@notmuchmail.org>; Wed, 8 Feb 2012 00:02:43 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id 2u73OE-RAcO6 for <notmuch@notmuchmail.org>;
\r
16 Wed, 8 Feb 2012 00:02:42 -0800 (PST)
\r
17 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com
\r
18 [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id B9DAD431FD2
\r
21 for <notmuch@notmuchmail.org>; Wed, 8 Feb 2012 00:02:32 -0800 (PST)
\r
22 Received: by mail-we0-f181.google.com with SMTP id p13so204855wer.26
\r
23 for <notmuch@notmuchmail.org>; Wed, 08 Feb 2012 00:02:32 -0800 (PST)
\r
25 Received: by 10.180.109.77 with SMTP id hq13mr24632383wib.7.1328688152454;
\r
26 Wed, 08 Feb 2012 00:02:32 -0800 (PST)
\r
27 Received: from hotblack-desiato.hh.sledj.net
\r
28 (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25])
\r
29 by mx.google.com with ESMTPS id ft8sm6695099wib.11.2012.02.08.00.02.28
\r
30 (version=TLSv1/SSLv3 cipher=OTHER);
\r
31 Wed, 08 Feb 2012 00:02:29 -0800 (PST)
\r
32 Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)
\r
33 id 55185A380B; Wed, 8 Feb 2012 08:02:21 +0000 (GMT)
\r
34 From: David Edmondson <dme@dme.org>
\r
35 To: notmuch@notmuchmail.org
\r
36 Subject: [PATCH v8 8/8] emacs: A prefix argument to `notmuch-show' should
\r
37 invert the matching message behaviour.
\r
38 Date: Wed, 8 Feb 2012 08:02:19 +0000
\r
39 Message-Id: <1328688139-3865-11-git-send-email-dme@dme.org>
\r
40 X-Mailer: git-send-email 1.7.8.3
\r
41 In-Reply-To: <1328688139-3865-1-git-send-email-dme@dme.org>
\r
42 References: <1327486729-18052-1-git-send-email-dme@dme.org>
\r
43 <1328688139-3865-1-git-send-email-dme@dme.org>
\r
45 ALoCoQmL/wZun4Q5DyIZkmqbAEO4oODA4eDmG5yFC4NWGJrb/x8D2bVxTC+NN6L3sPGk6wf0ngEJ
\r
46 X-BeenThere: notmuch@notmuchmail.org
\r
47 X-Mailman-Version: 2.1.13
\r
49 List-Id: "Use and development of the notmuch mail system."
\r
50 <notmuch.notmuchmail.org>
\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
54 List-Post: <mailto:notmuch@notmuchmail.org>
\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
57 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
58 X-List-Received-Date: Wed, 08 Feb 2012 08:02:43 -0000
\r
60 Allow the user to open a thread with inverted
\r
61 `notmuch-show-only-matching-messages' behaviour using a prefix
\r
64 emacs/notmuch-show.el | 5 ++++-
\r
65 1 files changed, 4 insertions(+), 1 deletions(-)
\r
67 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
68 index d077ae0..fc36524 100644
\r
69 --- a/emacs/notmuch-show.el
\r
70 +++ b/emacs/notmuch-show.el
\r
71 @@ -1037,8 +1037,11 @@ function is used."
\r
73 (setq notmuch-show-process-crypto notmuch-crypto-process-mime)
\r
74 ;; Set the default value for
\r
75 - ;; `notmuch-show-elide-non-matching-messages' in this buffer.
\r
76 + ;; `notmuch-show-elide-non-matching-messages' in this buffer. If
\r
77 + ;; there is a prefix argument, invert the default.
\r
78 (setq notmuch-show-elide-non-matching-messages notmuch-show-only-matching-messages)
\r
79 + (if current-prefix-arg
\r
80 + (setq notmuch-show-elide-non-matching-messages (not notmuch-show-elide-non-matching-messages)))
\r
82 (setq notmuch-show-thread-id thread-id
\r
83 notmuch-show-parent-buffer parent-buffer
\r