Re: Emacs: notmuch-show-mode failing to actually update tags
[notmuch-archives.git] / 36 / 2d7cef7335d1c214032a5232e32ac8a062973f
1 Return-Path: <xma@gnu.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 40EBB431FB6\r
6         for <notmuch@notmuchmail.org>; Mon, 18 Apr 2011 00:26:18 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 1.463\r
10 X-Spam-Level: *\r
11 X-Spam-Status: No, score=1.463 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, RDNS_DYNAMIC=0.363, TO_NO_BRKTS_DYNIP=1]\r
13         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 5dGdSq9cKlMD for <notmuch@notmuchmail.org>;\r
17         Mon, 18 Apr 2011 00:26:16 -0700 (PDT)\r
18 Received: from xhlj.maillard.im (cha51-3-88-164-105-66.fbx.proxad.net\r
19         [88.164.105.66])\r
20         by olra.theworths.org (Postfix) with ESMTP id 0B493431FB5\r
21         for <notmuch@notmuchmail.org>; Mon, 18 Apr 2011 00:26:16 -0700 (PDT)\r
22 Received: from xhlj.maillard.im (xhlj.maillard.im [127.0.0.1])\r
23         by xhlj.maillard.im (Postfix) with ESMTP id CB1AF2C061;\r
24         Mon, 18 Apr 2011 09:26:12 +0200 (CEST)\r
25 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=maillard.im; h=from:to\r
26         :subject:in-reply-to:references:reply-to:date:message-id\r
27         :mime-version:content-type; s=postfix; bh=xmUOvneqNOfcckU17O2SAM\r
28         SK2Nc=; b=mO/NiqwzhNL/hpj54SsnRqx8sywa7ERQpWvQ0FxH3BwLwJ1SI4JdVe\r
29         B69Eux9k3lHm9DgUBZvVMs9obJm8KG8kuUO43JGMSv0L40uXQ6drek/8jaYo9M+A\r
30         c9TrW1zdkWf84FkpyVMi9erVhXpqk9nYepMHj6+BWopvWQsWu8Fl8=\r
31 DomainKey-Signature: a=rsa-sha1; c=nofws; d=maillard.im; h=from:to\r
32         :subject:in-reply-to:references:reply-to:date:message-id\r
33         :mime-version:content-type; q=dns; s=postfix; b=VaOtXRcYjWXbDWfk\r
34         IZFhoBRA55M8H29p0AQXJfZmnwo+xncIBgdYNaxDfN/U5BidfemP73xEzsz1UTMp\r
35         vIOI7WS/PXy4S1K6P9wXkBbNaaTUsgNUC4op30Rhuc56bxEIDHfuVX42DZteX5GE\r
36         henj6d+NxBH1QsVWuoFsg0EEdyw=\r
37 Received: from maillard.im (unknown [192.168.0.254])\r
38         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
39         (No client certificate requested)\r
40         by xhlj.maillard.im (Postfix) with ESMTPSA;\r
41         Mon, 18 Apr 2011 09:26:12 +0200 (CEST)\r
42 From: Xavier Maillard <xavier@maillard.im>\r
43 To: Pieter Praet <pieter@praet.org>, Kan-Ru Chen <kanru@kanru.info>,\r
44         notmuch@notmuchmail.org\r
45 Subject: Re: [PATCH 2/2] emacs: notmuch-hello: Add "n" and "p" to mod map\r
46 In-Reply-To:\r
47  <87lizatjik.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me>\r
48 References: <1280195325-9066-1-git-send-email-kanru@kanru.info>\r
49         <1280195325-9066-3-git-send-email-kanru@kanru.info>\r
50         <87lizatjik.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me>\r
51 User-Agent: Notmuch/0.5-133-gc509598 (http://notmuchmail.org) Emacs/23.2.1\r
52         (i486-slackware-linux-gnu)\r
53 Date: Mon, 18 Apr 2011 09:36:45 +0200\r
54 Message-ID: <m2vcycyprm.fsf@gnu.org>\r
55 MIME-Version: 1.0\r
56 Content-Type: text/plain; charset=us-ascii\r
57 X-BeenThere: notmuch@notmuchmail.org\r
58 X-Mailman-Version: 2.1.13\r
59 Precedence: list\r
60 Reply-To: Xavier Maillard <xma@gnu.org>\r
61 List-Id: "Use and development of the notmuch mail system."\r
62         <notmuch.notmuchmail.org>\r
63 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
64         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
65 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
66 List-Post: <mailto:notmuch@notmuchmail.org>\r
67 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
68 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
69         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
70 X-List-Received-Date: Mon, 18 Apr 2011 07:26:18 -0000\r
71 \r
72 Hi Pieter,\r
73 \r
74 On Sat, 16 Apr 2011 15:26:11 +0200, Pieter Praet <pieter@praet.org> wrote:\r
75 > On Tue, 27 Jul 2010 09:48:45 +0800, Kan-Ru Chen <kanru@kanru.info> wrote:\r
76 > > Bind "n" to widget-forward and "p" to widget-backward to unify the\r
77 > > interface since other notmuch major mode also accept "n" and "p" to\r
78 > > navigation.\r
79 > > ---\r
80 > >  emacs/notmuch-hello.el |    2 ++\r
81 > >  1 files changed, 2 insertions(+), 0 deletions(-)\r
82 > > \r
83 > > diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el\r
84 > > index 6ef03bb..7def241 100644\r
85 > > --- a/emacs/notmuch-hello.el\r
86 > > +++ b/emacs/notmuch-hello.el\r
87 > > @@ -294,6 +294,8 @@ should be. Returns a cons cell `(tags-per-line width)'."\r
88 > >      (define-key map "=" 'notmuch-hello-update)\r
89 > >      (define-key map "G" 'notmuch-hello-poll-and-update)\r
90 > >      (define-key map (kbd "<C-tab>") 'widget-backward)\r
91 > > +    (define-key map "n" 'widget-forward)\r
92 > > +    (define-key map "p" 'widget-backward)\r
93 > >      (define-key map "m" 'notmuch-mua-mail)\r
94 > >      (define-key map "s" 'notmuch-hello-goto-search)\r
95 > >      map)\r
96 > > -- \r
97 > > 1.7.1\r
98 > > \r
99 > > \r
100\r
101\r
102 > Sounds logical in theory, but in practice, you'll soon get stuck\r
103 > spamming "nnnnnpppnwtf" in the search field.\r
104\r
105 > That, and TAB/S-TAB feels more natural.\r
106 \r
107 More natural than what exactly ? Anyway, that would not hurt to add 'n'\r
108 and 'p' as another way to navigate through widgets in my opinion\r
109 (whatsmore that's how customize also works -i.e navigation done both\r
110 with TAB/S-TAB and n/p)\r
111 \r
112 /Xavier\r