[PATCH v4 4/7] emacs: help: split out notmuch-describe-key as a function
[notmuch-archives.git] / 1c / 9b12487acfedcfc80f55317843e21ea4c16a7d
1 Return-Path: <tomi.ollila@iki.fi>\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 EC738429E55\r
6         for <notmuch@notmuchmail.org>; Sun,  2 Jun 2013 07:34:23 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 N2zcNEJ+PPA0 for <notmuch@notmuchmail.org>;\r
16         Sun,  2 Jun 2013 07:34:18 -0700 (PDT)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id 95C53429E4C\r
19         for <notmuch@notmuchmail.org>; Sun,  2 Jun 2013 07:34:18 -0700 (PDT)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21         by guru.guru-group.fi (Postfix) with ESMTP id EF418100030;\r
22         Sun,  2 Jun 2013 17:34:17 +0300 (EEST)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org\r
25 Subject: Re: [PATCH] contrib: pick: bugfix. use\r
26         notmuch-show-only-matching-messages rather than prefix\r
27 In-Reply-To: <1370123491-13902-1-git-send-email-markwalters1009@gmail.com>\r
28 References: <1370123491-13902-1-git-send-email-markwalters1009@gmail.com>\r
29 User-Agent: Notmuch/0.15.2+115~g12cf6af (http://notmuchmail.org) Emacs/24.3.1\r
30         (x86_64-unknown-linux-gnu)\r
31 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
32         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
33         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
34 Date: Sun, 02 Jun 2013 17:34:17 +0300\r
35 Message-ID: <m2a9n8d1jq.fsf@guru.guru-group.fi>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Sun, 02 Jun 2013 14:34:24 -0000\r
51 \r
52 On Sun, Jun 02 2013, Mark Walters <markwalters1009@gmail.com> wrote:\r
53 \r
54 > Previously pick set a prefix argument prior to calling show in the\r
55 > message pane to tell show to only show matching messages. This sets\r
56 > notmuch-show-only-matching-messages instead which is much cleaner and\r
57 > will work even if the user has configured show to default to showing\r
58 > only matching messages.\r
59 > ---\r
60 \r
61 LGTM.\r
62 \r
63 Tomi\r
64 \r
65 \r
66 >  contrib/notmuch-pick/notmuch-pick.el |    4 ++--\r
67 >  1 files changed, 2 insertions(+), 2 deletions(-)\r
68 >\r
69 > diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el\r
70 > index 9079acf..2da43ea 100644\r
71 > --- a/contrib/notmuch-pick/notmuch-pick.el\r
72 > +++ b/contrib/notmuch-pick/notmuch-pick.el\r
73 > @@ -376,8 +376,8 @@ Does NOT change the database."\r
74 >           (split-window-vertically (/ (window-height) 4)))\r
75 >        (with-selected-window notmuch-pick-message-window\r
76 >       ;; Since we are only displaying one message do not indent.\r
77 > -     (let ((notmuch-show-indent-messages-width 0))\r
78 > -       (setq current-prefix-arg '(4))\r
79 > +     (let ((notmuch-show-indent-messages-width 0)\r
80 > +           (notmuch-show-only-matching-messages t))\r
81 >         (setq buffer (notmuch-show id nil nil nil))))\r
82 >        ;; We need the `let' as notmuch-pick-message-window is buffer local.\r
83 >        (let ((window notmuch-pick-message-window))\r
84 > -- \r
85 > 1.7.9.1\r
86 >\r
87 > _______________________________________________\r
88 > notmuch mailing list\r
89 > notmuch@notmuchmail.org\r
90 > http://notmuchmail.org/mailman/listinfo/notmuch\r