New "notmuch address" command
[notmuch-archives.git] / 3c / b37d4ca2080a3af40da76089b655051636723a
1 Return-Path: <kanru@kanru.info>\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 95F0940B972\r
6         for <notmuch@notmuchmail.org>; Mon, 26 Jul 2010 19:41:59 -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.801\r
10 X-Spam-Level: *\r
11 X-Spam-Status: No, score=1.801 tagged_above=-999 required=5\r
12         tests=[BAYES_50=0.8, FSL_HELO_NON_FQDN_1=0.001, HELO_NO_DOMAIN=1]\r
13         autolearn=no\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 uMFo-ptgOoWf for <notmuch@notmuchmail.org>;\r
17         Mon, 26 Jul 2010 19:41:48 -0700 (PDT)\r
18 Received: from cp20 (cp20.secserverpros.com [67.220.217.187])\r
19         by olra.theworths.org (Postfix) with ESMTP id B086440B96E\r
20         for <notmuch@notmuchmail.org>; Mon, 26 Jul 2010 19:41:48 -0700 (PDT)\r
21 Received: from 61-30-10-70.static.tfn.net.tw ([61.30.10.70]\r
22         helo=anar.kanru.info) by cp20 with esmtpsa (TLSv1:AES256-SHA:256)\r
23         (Exim 4.69) (envelope-from <kanru@kanru.info>) id 1OdZIR-00035v-5v\r
24         for notmuch@notmuchmail.org; Tue, 27 Jul 2010 01:49:31 +0000\r
25 Received: from kanru by anar.kanru.info with local (Exim 4.72)\r
26         (envelope-from <kanru@kanru.info>)\r
27         id 1OdZIF-0002Mq-Lx; Tue, 27 Jul 2010 09:49:19 +0800\r
28 From: Kan-Ru Chen <kanru@kanru.info>\r
29 To: notmuch@notmuchmail.org\r
30 Subject: [PATCH 1/2] emacs: notmuch-hello: Avoid going to end-of-line in\r
31         search box\r
32 Date: Tue, 27 Jul 2010 09:48:44 +0800\r
33 Message-Id: <1280195325-9066-2-git-send-email-kanru@kanru.info>\r
34 X-Mailer: git-send-email 1.7.1\r
35 In-Reply-To: <1280195325-9066-1-git-send-email-kanru@kanru.info>\r
36 References: <1280195325-9066-1-git-send-email-kanru@kanru.info>\r
37 X-AntiAbuse: This header was added to track abuse,\r
38         please include it with any abuse report\r
39 X-AntiAbuse: Primary Hostname - cp20\r
40 X-AntiAbuse: Original Domain - notmuchmail.org\r
41 X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]\r
42 X-AntiAbuse: Sender Address Domain - kanru.info\r
43 X-Source: \r
44 X-Source-Args: \r
45 X-Source-Dir: \r
46 X-BeenThere: notmuch@notmuchmail.org\r
47 X-Mailman-Version: 2.1.13\r
48 Precedence: list\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, 27 Jul 2010 02:41:59 -0000\r
59 \r
60 widget-end-of-line checks eolp to decide whether C-e in a fixed size\r
61 field should go to the end of the text in the field or the end of\r
62 the field itself. So put a trailing white space to pad the search\r
63 field.\r
64 \r
65 Previous behavior:\r
66 \r
67  Search: [text                _]\r
68 \r
69 Now:\r
70 \r
71  Search: [text_                ]\r
72 ---\r
73  emacs/notmuch-hello.el |    4 ++--\r
74  1 files changed, 2 insertions(+), 2 deletions(-)\r
75 \r
76 diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el\r
77 index f8ae332..6ef03bb 100644\r
78 --- a/emacs/notmuch-hello.el\r
79 +++ b/emacs/notmuch-hello.el\r
80 @@ -416,10 +416,10 @@ Complete list of currently available key bindings:\r
81                        ;; Leave some space at the start and end of the\r
82                        ;; search boxes.\r
83                        :size (max 8 (- (window-width) notmuch-hello-indent\r
84 -                                      (length "Search: ")))\r
85 +                                      (length "Search: ") 1 ))\r
86                        :action (lambda (widget &rest ignore)\r
87                                  (notmuch-hello-search (widget-value widget))))\r
88 -       (widget-insert "\n")\r
89 +       (widget-insert " \n")\r
90  \r
91         (when notmuch-hello-recent-searches\r
92           (widget-insert "\nRecent searches: ")\r
93 -- \r
94 1.7.1\r
95 \r