Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / 11 / 284edebea0a89bcc807a8ac21b00efd00edd7d
1 Return-Path: <keithp@keithp.com>\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 F3064431FBC\r
6         for <notmuch@notmuchmail.org>; Sat, 26 Dec 2009 16:34:34 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id WeeLRYKvYQTG for <notmuch@notmuchmail.org>;\r
11         Sat, 26 Dec 2009 16:34:34 -0800 (PST)\r
12 Received: from keithp.com (home.keithp.com [63.227.221.253])\r
13         by olra.theworths.org (Postfix) with ESMTP id E74A8431FAE\r
14         for <notmuch@notmuchmail.org>; Sat, 26 Dec 2009 16:34:33 -0800 (PST)\r
15 Received: from localhost (localhost [127.0.0.1])\r
16         by keithp.com (Postfix) with ESMTP id 28A45760145\r
17         for <notmuch@notmuchmail.org>; Sat, 26 Dec 2009 16:34:33 -0800 (PST)\r
18 X-Virus-Scanned: Debian amavisd-new at keithp.com\r
19 Received: from keithp.com ([127.0.0.1])\r
20         by localhost (keithp.com [127.0.0.1]) (amavisd-new, port 10024)\r
21         with LMTP id XVcWXPkXgBYn; Sat, 26 Dec 2009 16:34:30 -0800 (PST)\r
22 Received: by keithp.com (Postfix, from userid 1033)\r
23         id 439EA760116; Sat, 26 Dec 2009 16:34:30 -0800 (PST)\r
24 Received: from koto.keithp.com (localhost [127.0.0.1])\r
25         by keithp.com (Postfix) with ESMTP id 2ADC2760142;\r
26         Sat, 26 Dec 2009 16:34:29 -0800 (PST)\r
27 Received: by koto.keithp.com (Postfix, from userid 1488)\r
28         id 8874B1381DE; Sat, 26 Dec 2009 16:34:20 -0800 (PST)\r
29 From: Keith Packard <keithp@keithp.com>\r
30 To: notmuch@notmuchmail.org\r
31 Date: Sat, 26 Dec 2009 16:34:17 -0800\r
32 Message-Id: <1261874058-13820-2-git-send-email-keithp@keithp.com>\r
33 X-Mailer: git-send-email 1.6.5.4\r
34 In-Reply-To: <1261874058-13820-1-git-send-email-keithp@keithp.com>\r
35 References: <1261874058-13820-1-git-send-email-keithp@keithp.com>\r
36 Subject: [notmuch] [PATCH 2/3] Look at whitespace to separate folder name\r
37         from count\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.12\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Sun, 27 Dec 2009 00:34:35 -0000\r
51 \r
52 This allows folder names to contain any non-blank characters\r
53 \r
54 Signed-off-by: Keith Packard <keithp@keithp.com>\r
55 ---\r
56  notmuch.el |    4 ++--\r
57  1 files changed, 2 insertions(+), 2 deletions(-)\r
58 \r
59 diff --git a/notmuch.el b/notmuch.el\r
60 index 3dbb64a..c02adc6 100644\r
61 --- a/notmuch.el\r
62 +++ b/notmuch.el\r
63 @@ -1469,8 +1469,8 @@ Currently available key bindings:\r
64    (save-excursion\r
65      (beginning-of-line)\r
66      (let ((beg (point)))\r
67 -      (forward-word)\r
68 -      (filter-buffer-substring beg (point)))))\r
69 +      (re-search-forward "\\([ \t]*[^ \t]+\\)")\r
70 +      (filter-buffer-substring (match-beginning 1) (match-end 1)))))\r
71  \r
72  (defun notmuch-folder-show-search (&optional folder)\r
73    "Show a search window for the search related to the specified folder."\r
74 -- \r
75 1.6.5.4\r
76 \r