Re: [PATCH v4 04/16] Provide _notmuch_crypto_{set,get}_gpg_path
[notmuch-archives.git] / d1 / 6a48ed8373b25116903ec9bbf35bc3b19b3c69
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 EE293431FAF\r
6         for <notmuch@notmuchmail.org>; Thu,  2 Feb 2012 03:24:04 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \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 7Rd9Evglb0pI for <notmuch@notmuchmail.org>;\r
16         Thu,  2 Feb 2012 03:24:04 -0800 (PST)\r
17 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com\r
18  [74.125.82.45])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
19  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
20  338BC431FAE    for <notmuch@notmuchmail.org>; Thu,  2 Feb 2012 03:24:04 -0800\r
21  (PST)\r
22 Received: by wgbdt12 with SMTP id dt12so2114493wgb.2\r
23         for <notmuch@notmuchmail.org>; Thu, 02 Feb 2012 03:24:03 -0800 (PST)\r
24 Received: by 10.180.80.8 with SMTP id n8mr3881944wix.14.1328181842954;\r
25         Thu, 02 Feb 2012 03:24:02 -0800 (PST)\r
26 Received: from hotblack-desiato.hh.sledj.net\r
27         (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25])\r
28         by mx.google.com with ESMTPS id q7sm50954510wix.5.2012.02.02.03.23.59\r
29         (version=TLSv1/SSLv3 cipher=OTHER);\r
30         Thu, 02 Feb 2012 03:24:00 -0800 (PST)\r
31 Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)\r
32         id AE2A9A0C3F; Thu,  2 Feb 2012 11:23:54 +0000 (GMT)\r
33 From: David Edmondson <dme@dme.org>\r
34 To: notmuch@notmuchmail.org\r
35 Subject: [PATCH v6 8/8] emacs: A prefix argument to `notmuch-show' should\r
36         invert the matching message behaviour.\r
37 Date: Thu,  2 Feb 2012 11:23:53 +0000\r
38 Message-Id: <1328181833-14988-9-git-send-email-dme@dme.org>\r
39 X-Mailer: git-send-email 1.7.8.3\r
40 In-Reply-To: <1328181833-14988-1-git-send-email-dme@dme.org>\r
41 References: <1327486729-18052-1-git-send-email-dme@dme.org>\r
42         <1328181833-14988-1-git-send-email-dme@dme.org>\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.13\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Thu, 02 Feb 2012 11:24:05 -0000\r
56 \r
57 Allow the user to open a thread with inverted\r
58 `notmuch-show-only-matching-messages' behaviour using a prefix\r
59 argument.\r
60 ---\r
61  emacs/notmuch-show.el |    5 ++++-\r
62  1 files changed, 4 insertions(+), 1 deletions(-)\r
63 \r
64 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
65 index ae7af02..e9aa4e7 100644\r
66 --- a/emacs/notmuch-show.el\r
67 +++ b/emacs/notmuch-show.el\r
68 @@ -1024,8 +1024,11 @@ function is used."\r
69      ;; buffer.\r
70      (setq notmuch-show-process-crypto notmuch-crypto-process-mime)\r
71      ;; Set the default value for\r
72 -    ;; `notmuch-show-elide-non-matching-messages' in this buffer.\r
73 +    ;; `notmuch-show-elide-non-matching-messages' in this buffer. If\r
74 +    ;; there is a prefix argument, invert the default.\r
75      (setq notmuch-show-elide-non-matching-messages notmuch-show-only-matching-messages)\r
76 +    (if current-prefix-arg\r
77 +       (setq notmuch-show-elide-non-matching-messages (not notmuch-show-elide-non-matching-messages)))\r
78  \r
79      (setq notmuch-show-thread-id thread-id\r
80           notmuch-show-parent-buffer parent-buffer\r
81 -- \r
82 1.7.8.3\r
83 \r