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 3ABD6431FC4
\r
6 for <notmuch@notmuchmail.org>; Tue, 24 Jul 2012 14:22:03 -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 BvEH8-pd5tNe for <notmuch@notmuchmail.org>;
\r
18 Tue, 24 Jul 2012 14:22:02 -0700 (PDT)
\r
19 Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com
\r
20 [209.85.212.179]) (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 9A92A431FAE
\r
23 for <notmuch@notmuchmail.org>; Tue, 24 Jul 2012 14:22:02 -0700 (PDT)
\r
24 Received: by mail-wi0-f179.google.com with SMTP id hq4so19767wib.2
\r
25 for <notmuch@notmuchmail.org>; Tue, 24 Jul 2012 14:22:02 -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=L+bG8fz7Wp/n2Ab94u+CO15k6UB5cwFNg/9Kq06/tz6hXSl7tuzZG8wYMvEr31r7KA
\r
30 IrGK5uopt/kMJ7EMY3Xz4YCL35OQq0zNorTphzJrCN9L3+7aTVy2ANzHBI7c5rxgr7+n
\r
31 31qUlKOMxi9JmdS3XAIWzlXBj8yM9xpAdxHDt9ivlxMA9jEIRfVXa1Mspk0m1cq2mjZw
\r
32 VcJ/CLxZh6lhgKLGhr/D8D1pBFmgZtfxHLfTTAq4jTznUJPYosCoXOvfNu8ZpqlCi2qX
\r
33 uu509N1LL6j1o8MtlV6j8nu/ZkzuXMPnr+PNjVx0749cReBBXvRS+J0L/SSQtofsS1Il
\r
35 Received: by 10.217.1.195 with SMTP id n45mr5855415wes.179.1343164922256;
\r
36 Tue, 24 Jul 2012 14:22:02 -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 t7sm9671120wix.6.2012.07.24.14.22.00 (version=TLSv1/SSLv3 cipher=OTHER); Tue,
\r
40 24 Jul 2012 14:22:01 -0700 (PDT)
\r
41 From: Mark Walters <markwalters1009@gmail.com>
\r
42 To: notmuch@notmuchmail.org
\r
43 Subject: [PATCH 2/5] emacs: make notmuch-show return its buffer
\r
44 Date: Tue, 24 Jul 2012 22:21:48 +0100
\r
45 Message-Id: <1343164911-31589-3-git-send-email-markwalters1009@gmail.com>
\r
46 X-Mailer: git-send-email 1.7.9.1
\r
47 In-Reply-To: <1343164911-31589-1-git-send-email-markwalters1009@gmail.com>
\r
48 References: <1343164911-31589-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: Tue, 24 Jul 2012 21:22:03 -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