1 Return-Path: <pieter@praet.org>
\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 8AE6F431FAF
\r
6 for <notmuch@notmuchmail.org>; Thu, 26 Jan 2012 05:50:43 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 Jr+rW+GqUvOX for <notmuch@notmuchmail.org>;
\r
16 Thu, 26 Jan 2012 05:50:41 -0800 (PST)
\r
17 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com
\r
18 [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 62D29431FAE
\r
21 for <notmuch@notmuchmail.org>; Thu, 26 Jan 2012 05:50:41 -0800 (PST)
\r
22 Received: by wibhi8 with SMTP id hi8so440227wib.26
\r
23 for <notmuch@notmuchmail.org>; Thu, 26 Jan 2012 05:50:40 -0800 (PST)
\r
24 Received: by 10.180.101.161 with SMTP id fh1mr3700685wib.0.1327585840045;
\r
25 Thu, 26 Jan 2012 05:50:40 -0800 (PST)
\r
26 Received: from localhost ([109.131.116.159])
\r
27 by mx.google.com with ESMTPS id m8sm12733450wia.11.2012.01.26.05.50.39
\r
28 (version=TLSv1/SSLv3 cipher=OTHER);
\r
29 Thu, 26 Jan 2012 05:50:39 -0800 (PST)
\r
30 From: Pieter Praet <pieter@praet.org>
\r
31 To: Jani Nikula <jani@nikula.org>,
\r
32 Dmitry Kurochkin <dmitry.kurochkin@gmail.com>, notmuch@notmuchmail.org
\r
33 Subject: Re: [PATCH 1/3] emacs: bind "s" to `notmuch-search' in notmuch-hello
\r
35 In-Reply-To: <874nvukort.fsf@nikula.org>
\r
36 References: <1326828850-8519-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
37 <874nvukort.fsf@nikula.org>
\r
38 User-Agent: Notmuch/0.11+132~ga81001f (http://notmuchmail.org) Emacs/23.3.1
\r
39 (x86_64-unknown-linux-gnu)
\r
40 Date: Thu, 26 Jan 2012 14:48:44 +0100
\r
41 Message-ID: <87zkdavakj.fsf@praet.org>
\r
43 Content-Type: text/plain; charset=us-ascii
\r
44 X-BeenThere: notmuch@notmuchmail.org
\r
45 X-Mailman-Version: 2.1.13
\r
47 List-Id: "Use and development of the notmuch mail system."
\r
48 <notmuch.notmuchmail.org>
\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
52 List-Post: <mailto:notmuch@notmuchmail.org>
\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
56 X-List-Received-Date: Thu, 26 Jan 2012 13:50:43 -0000
\r
58 On Tue, 17 Jan 2012 23:22:30 +0200, Jani Nikula <jani@nikula.org> wrote:
\r
61 > After this, what would the user have to do to bind some key to put the
\r
62 > point in the search box? If someone wants to restore old behaviour for
\r
68 #+begin_src emacs-lisp
\r
69 (add-hook 'notmuch-hello-mode-hook
\r
71 (local-set-key (kbd "s")
\r
72 (lambda() (interactive)
\r
73 (re-search-forward "Search: ")))))
\r