Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / 5f / f11e356da08f9b8b58cf78e880776df56a9366
1 Return-Path: <too@guru.guru-group.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 25F1B431E84\r
6         for <notmuch@notmuchmail.org>; Thu,  1 Mar 2012 05:34:11 -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\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 uUoB05qI2IUV for <notmuch@notmuchmail.org>;\r
16         Thu,  1 Mar 2012 05:34:09 -0800 (PST)\r
17 Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66])\r
18         by olra.theworths.org (Postfix) with ESMTP id 4A61B431E82\r
19         for <notmuch@notmuchmail.org>; Thu,  1 Mar 2012 05:34:09 -0800 (PST)\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
21         id 0DB7268055; Thu,  1 Mar 2012 15:34:08 +0200 (EET)\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>\r
23 To: notmuch@notmuchmail.org\r
24 Subject: [PATCH 1/2] emacs: retain show buffer state after retrieving gpg key\r
25 Date: Thu,  1 Mar 2012 15:34:05 +0200\r
26 Message-Id: <1330608846-25183-1-git-send-email-tomi.ollila@iki.fi>\r
27 X-Mailer: git-send-email 1.7.6.1\r
28 Cc: Tomi Ollila <tomi.ollila@iki.fi>\r
29 X-BeenThere: notmuch@notmuchmail.org\r
30 X-Mailman-Version: 2.1.13\r
31 Precedence: list\r
32 List-Id: "Use and development of the notmuch mail system."\r
33         <notmuch.notmuchmail.org>\r
34 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
35         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
36 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
37 List-Post: <mailto:notmuch@notmuchmail.org>\r
38 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
39 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
40         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
41 X-List-Received-Date: Thu, 01 Mar 2012 13:34:11 -0000\r
42 \r
43 After retrieving gpg key retain show buffer state like in\r
44 all other operations (i.e. no other calls to notmuch-show-refresh-view\r
45 provides optional reset-state argument).\r
46 Emacs MUA keeps current message under cursor instead of going first\r
47 open message(possibly marking it read).\r
48 ---\r
49  emacs/notmuch-crypto.el |    2 +-\r
50  1 files changed, 1 insertions(+), 1 deletions(-)\r
51 \r
52 diff --git a/emacs/notmuch-crypto.el b/emacs/notmuch-crypto.el\r
53 index 94da325..e916d66 100644\r
54 --- a/emacs/notmuch-crypto.el\r
55 +++ b/emacs/notmuch-crypto.el\r
56 @@ -145,7 +145,7 @@ mode."\r
57         (insert "\n")\r
58         (call-process "gpg" nil t t "--list-keys" keyid))\r
59        (recenter -1))\r
60 -    (notmuch-show-refresh-view t)))\r
61 +    (notmuch-show-refresh-view)))\r
62  \r
63  (defun notmuch-crypto-insert-encstatus-button (encstatus)\r
64    (let* ((status (plist-get encstatus :status))\r
65 -- \r
66 1.7.8.2\r
67 \r