Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 25 / cab9a61943ac51dd8a0ce4a634fcd75a4c99ef
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 6A868429E21\r
6         for <notmuch@notmuchmail.org>; Sat, 16 Apr 2011 06:26:20 -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: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 PmanMvkfFiCp for <notmuch@notmuchmail.org>;\r
16         Sat, 16 Apr 2011 06:26:16 -0700 (PDT)\r
17 Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com\r
18         [74.125.82.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 DF85C431FB6\r
21         for <notmuch@notmuchmail.org>; Sat, 16 Apr 2011 06:26:15 -0700 (PDT)\r
22 Received: by wyi11 with SMTP id 11so3983061wyi.26\r
23         for <notmuch@notmuchmail.org>; Sat, 16 Apr 2011 06:26:14 -0700 (PDT)\r
24 Received: by 10.227.9.196 with SMTP id m4mr3138573wbm.196.1302960374185;\r
25         Sat, 16 Apr 2011 06:26:14 -0700 (PDT)\r
26 Received: from localhost (99.28-240-81.adsl-dyn.isp.belgacom.be\r
27  [81.240.28.99])        by mx.google.com with ESMTPS id\r
28  w12sm2170748wby.7.2011.04.16.06.26.12  (version=TLSv1/SSLv3 cipher=OTHER);\r
29         Sat, 16 Apr 2011 06:26:13 -0700 (PDT)\r
30 From: Pieter Praet <pieter@praet.org>\r
31 To: Kan-Ru Chen <kanru@kanru.info>, notmuch@notmuchmail.org\r
32 Subject: Re: [PATCH 2/2] emacs: notmuch-hello: Add "n" and "p" to mod map\r
33 In-Reply-To: <1280195325-9066-3-git-send-email-kanru@kanru.info>\r
34 References: <1280195325-9066-1-git-send-email-kanru@kanru.info>\r
35         <1280195325-9066-3-git-send-email-kanru@kanru.info>\r
36 User-Agent: Notmuch/0.5-86-g4875299 (http://notmuchmail.org) Emacs/23.1.50.1\r
37         (x86_64-pc-linux-gnu)\r
38 Date: Sat, 16 Apr 2011 15:26:11 +0200\r
39 Message-ID:\r
40  <87lizatjik.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me>\r
41 MIME-Version: 1.0\r
42 Content-Type: text/plain; charset=us-ascii\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.13\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Sat, 16 Apr 2011 13:26:21 -0000\r
56 \r
57 On Tue, 27 Jul 2010 09:48:45 +0800, Kan-Ru Chen <kanru@kanru.info> wrote:\r
58 > Bind "n" to widget-forward and "p" to widget-backward to unify the\r
59 > interface since other notmuch major mode also accept "n" and "p" to\r
60 > navigation.\r
61 > ---\r
62 >  emacs/notmuch-hello.el |    2 ++\r
63 >  1 files changed, 2 insertions(+), 0 deletions(-)\r
64\r
65 > diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el\r
66 > index 6ef03bb..7def241 100644\r
67 > --- a/emacs/notmuch-hello.el\r
68 > +++ b/emacs/notmuch-hello.el\r
69 > @@ -294,6 +294,8 @@ should be. Returns a cons cell `(tags-per-line width)'."\r
70 >      (define-key map "=" 'notmuch-hello-update)\r
71 >      (define-key map "G" 'notmuch-hello-poll-and-update)\r
72 >      (define-key map (kbd "<C-tab>") 'widget-backward)\r
73 > +    (define-key map "n" 'widget-forward)\r
74 > +    (define-key map "p" 'widget-backward)\r
75 >      (define-key map "m" 'notmuch-mua-mail)\r
76 >      (define-key map "s" 'notmuch-hello-goto-search)\r
77 >      map)\r
78 > -- \r
79 > 1.7.1\r
80\r
81\r
82 \r
83 \r
84 Sounds logical in theory, but in practice, you'll soon get stuck\r
85 spamming "nnnnnpppnwtf" in the search field.\r
86 \r
87 That, and TAB/S-TAB feels more natural.\r
88 \r
89 Thanks to this patch, however, I did stumble upon a bug:\r
90 id:"87ei522v4t.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me"\r
91 \r
92 Peace\r
93 \r
94 -Pieter\r