1 Return-Path: <dmitry.kurochkin@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 741B142119B
\r
6 for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 11:35:18 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id E7DEzgvHrFO6 for <notmuch@notmuchmail.org>;
\r
17 Tue, 17 Jan 2012 11:35:17 -0800 (PST)
\r
18 Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com
\r
19 [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id D1C9F41ED6E
\r
22 for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 11:35:10 -0800 (PST)
\r
23 Received: by mail-bk0-f53.google.com with SMTP id y12so894828bkt.26
\r
24 for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 11:35:10 -0800 (PST)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=from:to:subject:date:message-id:x-mailer:in-reply-to:references;
\r
27 bh=z0niI0g6yzC63arwaAOe7shFtwidZojIBw9dQ7sZyeM=;
\r
28 b=d4SGROtIymm4ixrkwvNYhIQ4fQinmjCZseKdt6st11wT66H9/2P12Wldcc8HX3pfld
\r
29 h5XnKwV6HUqyu2J+Fl4a1bC0Fd4bRZ4WrS31zplUvvGQnQvL+/aCIKiIxm90aSYZOJwd
\r
30 u5zj5BibEuhmKQCt+IgySE1nouOaDHyo6oPeM=
\r
31 Received: by 10.205.127.65 with SMTP id gz1mr7601038bkc.12.1326828910532;
\r
32 Tue, 17 Jan 2012 11:35:10 -0800 (PST)
\r
33 Received: from localhost ([91.144.186.21])
\r
34 by mx.google.com with ESMTPS id b9sm1265403bks.6.2012.01.17.11.35.09
\r
35 (version=TLSv1/SSLv3 cipher=OTHER);
\r
36 Tue, 17 Jan 2012 11:35:10 -0800 (PST)
\r
37 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
\r
38 To: notmuch@notmuchmail.org
\r
39 Subject: [PATCH 3/3] emacs: bind "s" to `notmuch-hello-search' in
\r
40 notmuch-hello buffer
\r
41 Date: Tue, 17 Jan 2012 23:34:10 +0400
\r
42 Message-Id: <1326828850-8519-3-git-send-email-dmitry.kurochkin@gmail.com>
\r
43 X-Mailer: git-send-email 1.7.8.3
\r
44 In-Reply-To: <1326828850-8519-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
45 References: <1326828850-8519-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
46 X-BeenThere: notmuch@notmuchmail.org
\r
47 X-Mailman-Version: 2.1.13
\r
49 List-Id: "Use and development of the notmuch mail system."
\r
50 <notmuch.notmuchmail.org>
\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
54 List-Post: <mailto:notmuch@notmuchmail.org>
\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
57 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
58 X-List-Received-Date: Tue, 17 Jan 2012 19:35:18 -0000
\r
60 `notmuch-hello-search' uses `notmuch-search' function but refreshes
\r
61 notmuch-hello buffer when the search buffer is closed.
\r
63 emacs/notmuch-hello.el | 5 +++--
\r
64 1 files changed, 3 insertions(+), 2 deletions(-)
\r
66 diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
\r
67 index cb36977..e908659 100644
\r
68 --- a/emacs/notmuch-hello.el
\r
69 +++ b/emacs/notmuch-hello.el
\r
70 @@ -163,7 +163,8 @@ International Bureau of Weights and Measures."
\r
71 (format "%s%03d" notmuch-hello-thousands-separator elem))
\r
74 -(defun notmuch-hello-search (search)
\r
75 +(defun notmuch-hello-search (&optional search)
\r
77 (notmuch-search search notmuch-search-oldest-first nil nil
\r
78 #'notmuch-hello-search-continuation))
\r
80 @@ -330,7 +331,7 @@ should be. Returns a cons cell `(tags-per-line width)'."
\r
81 (define-key map "G" 'notmuch-hello-poll-and-update)
\r
82 (define-key map (kbd "<C-tab>") 'widget-backward)
\r
83 (define-key map "m" 'notmuch-mua-new-mail)
\r
84 - (define-key map "s" 'notmuch-search)
\r
85 + (define-key map "s" 'notmuch-hello-search)
\r
87 "Keymap for \"notmuch hello\" buffers.")
\r
88 (fset 'notmuch-hello-mode-map notmuch-hello-mode-map)
\r