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 2853A431FB6
\r
6 for <notmuch@notmuchmail.org>; Sat, 16 Apr 2011 06:07:09 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\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 Qh7RsJfTzg3K for <notmuch@notmuchmail.org>;
\r
16 Sat, 16 Apr 2011 06:07:05 -0700 (PDT)
\r
17 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com
\r
18 [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
19 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
20 17D28431FB5 for <notmuch@notmuchmail.org>; Sat, 16 Apr 2011 06:07:04 -0700
\r
22 Received: by wwi36 with SMTP id 36so3684076wwi.2
\r
23 for <notmuch@notmuchmail.org>; Sat, 16 Apr 2011 06:07:04 -0700 (PDT)
\r
24 Received: by 10.227.59.134 with SMTP id l6mr3055901wbh.34.1302959223891;
\r
25 Sat, 16 Apr 2011 06:07:03 -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 l24sm2161812wbc.30.2011.04.16.06.07.01 (version=TLSv1/SSLv3 cipher=OTHER);
\r
29 Sat, 16 Apr 2011 06:07:02 -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 1/2] emacs: notmuch-hello: Avoid going to end-of-line in
\r
34 In-Reply-To: <1280195325-9066-2-git-send-email-kanru@kanru.info>
\r
35 References: <1280195325-9066-1-git-send-email-kanru@kanru.info>
\r
36 <1280195325-9066-2-git-send-email-kanru@kanru.info>
\r
37 User-Agent: Notmuch/0.5-86-g4875299 (http://notmuchmail.org) Emacs/23.1.50.1
\r
38 (x86_64-pc-linux-gnu)
\r
39 Date: Sat, 16 Apr 2011 15:07:00 +0200
\r
41 <87zknquyyz.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me>
\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: Sat, 16 Apr 2011 13:07:09 -0000
\r
58 On Tue, 27 Jul 2010 09:48:44 +0800, Kan-Ru Chen <kanru@kanru.info> wrote:
\r
59 > widget-end-of-line checks eolp to decide whether C-e in a fixed size
\r
60 > field should go to the end of the text in the field or the end of
\r
61 > the field itself. So put a trailing white space to pad the search
\r
64 > Previous behavior:
\r
72 > emacs/notmuch-hello.el | 4 ++--
\r
73 > 1 files changed, 2 insertions(+), 2 deletions(-)
\r
75 > diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
\r
76 > index f8ae332..6ef03bb 100644
\r
77 > --- a/emacs/notmuch-hello.el
\r
78 > +++ b/emacs/notmuch-hello.el
\r
79 > @@ -416,10 +416,10 @@ Complete list of currently available key bindings:
\r
80 > ;; Leave some space at the start and end of the
\r
82 > :size (max 8 (- (window-width) notmuch-hello-indent
\r
83 > - (length "Search: ")))
\r
84 > + (length "Search: ") 1 ))
\r
85 > :action (lambda (widget &rest ignore)
\r
86 > (notmuch-hello-search (widget-value widget))))
\r
87 > - (widget-insert "\n")
\r
88 > + (widget-insert " \n")
\r
90 > (when notmuch-hello-recent-searches
\r
91 > (widget-insert "\nRecent searches: ")
\r
100 Can't imagine how this has been collecting dust for so long.
\r
102 Very useful, very concise, and still applies cleanly to HEAD.
\r