1 Return-Path: <markwalters1009@gmail.com>
\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 236A1421169
\r
6 for <notmuch@notmuchmail.org>; Wed, 11 Jul 2012 11:57:30 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0.201 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,
\r
14 RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
15 Received: from olra.theworths.org ([127.0.0.1])
\r
16 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id sjVLst5SXE7O for <notmuch@notmuchmail.org>;
\r
18 Wed, 11 Jul 2012 11:57:28 -0700 (PDT)
\r
19 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com
\r
20 [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
21 (No client certificate requested)
\r
22 by olra.theworths.org (Postfix) with ESMTPS id 9858C42116C
\r
23 for <notmuch@notmuchmail.org>; Wed, 11 Jul 2012 11:57:26 -0700 (PDT)
\r
24 Received: by mail-we0-f181.google.com with SMTP id t57so1096499wey.26
\r
25 for <notmuch@notmuchmail.org>; Wed, 11 Jul 2012 11:57:26 -0700 (PDT)
\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
27 h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;
\r
28 bh=GBZc1PVLkSAFnQJw8vjXvCTjtP2pzqEtOC/uvMAH+5I=;
\r
29 b=XHyT9qGaYuUc8yoTN0VYbJe5bSikS+6cNra3V9uY/TMq32IXkEJqPiUy6zIys6MO+j
\r
30 6/nNaLGMB4jdBPBG+zf3xBwvigpW4o3Ih3bBqWDUg+bCWD4x7PXwsmNIK+aMgn2bUHxu
\r
31 D9K1T7V8AjdHiW7Kufv6Z8Sja6G4LZ6yeVUIvxpsx3vBy5eYWFeGesvedbLeQ7ePemaB
\r
32 xBro83oiBhYWznTjDjpBkz+0gv3QyNOQeC5xtzpSMSMko7Q3l/vbQczW0sLv2UaYsvbS
\r
33 lHPNp60awv2K1nZT7hKtIDSWDeJ6VQbrZKiOnfu285gRc5MqVMu9DfjYuah7RJH5/Yp6
\r
35 Received: by 10.180.78.99 with SMTP id a3mr49304484wix.15.1342033046279;
\r
36 Wed, 11 Jul 2012 11:57:26 -0700 (PDT)
\r
37 Received: from localhost (94-192-233-223.zone6.bethere.co.uk.
\r
38 [94.192.233.223]) by mx.google.com with ESMTPS id
\r
39 cl8sm35768355wib.10.2012.07.11.11.57.24 (version=TLSv1/SSLv3 cipher=OTHER);
\r
40 Wed, 11 Jul 2012 11:57:25 -0700 (PDT)
\r
41 From: Mark Walters <markwalters1009@gmail.com>
\r
42 To: notmuch@notmuchmail.org
\r
43 Subject: [PATCH 3/3] emacs: make notmuch-show return its buffer
\r
44 Date: Wed, 11 Jul 2012 19:57:07 +0100
\r
45 Message-Id: <1342033027-30286-4-git-send-email-markwalters1009@gmail.com>
\r
46 X-Mailer: git-send-email 1.7.9.1
\r
47 In-Reply-To: <1342033027-30286-1-git-send-email-markwalters1009@gmail.com>
\r
48 References: <1342033027-30286-1-git-send-email-markwalters1009@gmail.com>
\r
49 X-BeenThere: notmuch@notmuchmail.org
\r
50 X-Mailman-Version: 2.1.13
\r
52 List-Id: "Use and development of the notmuch mail system."
\r
53 <notmuch.notmuchmail.org>
\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
57 List-Post: <mailto:notmuch@notmuchmail.org>
\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
60 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
61 X-List-Received-Date: Wed, 11 Jul 2012 18:57:30 -0000
\r
63 notmuch-pick uses the returned buffer to try and make sure it does not
\r
64 close the wrong buffer.
\r
66 emacs/notmuch-show.el | 3 ++-
\r
67 1 files changed, 2 insertions(+), 1 deletions(-)
\r
69 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
70 index 6335d45..1cabd17 100644
\r
71 --- a/emacs/notmuch-show.el
\r
72 +++ b/emacs/notmuch-show.el
\r
73 @@ -1031,7 +1031,8 @@ function is used."
\r
74 notmuch-show-parent-buffer parent-buffer
\r
75 notmuch-show-query-context query-context)
\r
76 (notmuch-show-build-buffer)
\r
77 - (notmuch-show-goto-first-wanted-message)))
\r
78 + (notmuch-show-goto-first-wanted-message)
\r
79 + (current-buffer)))
\r
81 (defun notmuch-show-build-buffer ()
\r
82 (let ((inhibit-read-only t))
\r