Re: bug report: notmuch-hello 'All tags' view
[notmuch-archives.git] / b6 / 68929e81d3d5dc8e1bf618da3fc818318bbf76
1 Return-Path: <servilio@gmail.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 E5F044196F6\r
6         for <notmuch@notmuchmail.org>; Fri, 29 Jan 2010 16:08:49 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.742\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.742 tagged_above=-999 required=5\r
12         tests=[AWL=-0.743, BAYES_50=0.001] autolearn=ham\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 UVGMXvubJx19 for <notmuch@notmuchmail.org>;\r
16         Fri, 29 Jan 2010 16:08:49 -0800 (PST)\r
17 Received: from mail-ew0-f220.google.com (mail-ew0-f220.google.com\r
18         [209.85.219.220])\r
19         by olra.theworths.org (Postfix) with ESMTP id 2C7AE431FDA\r
20         for <notmuch@notmuchmail.org>; Fri, 29 Jan 2010 16:08:49 -0800 (PST)\r
21 Received: by ewy20 with SMTP id 20so2613916ewy.0\r
22         for <notmuch@notmuchmail.org>; Fri, 29 Jan 2010 16:08:47 -0800 (PST)\r
23 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
24         h=domainkey-signature:mime-version:received:date:message-id:subject\r
25         :from:to:content-type;\r
26         bh=14C2nQTIWYylkBHS0oZszqK+MmCeO7WjfGJCAKSdfvk=;\r
27         b=dEcstuBBy4Vhz6xQZ0ejZyCk+y8RPQCrrcy+vTdJSQdnxlAs/GKvMAurqWxsdH4igI\r
28         NIesDaWxXPKEK4AV8wkR8nZRcqipxDfJRTzF7mk7uqaVSUVAB1jJ40WiClet4N0b57lN\r
29         jW/ts2P5f6tCBihu1iEF/09RTWCpjC/SZYbXM=\r
30 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
31         h=mime-version:date:message-id:subject:from:to:content-type;\r
32         b=MVM7EjiY1EPj2X9f+IaffKyq677Z9eF0+SQmunwX9lqCONhgPIl+9RH5VopeazHmlb\r
33         V7+qc1xTluaIPnCiHjtG2MSZOg+Xa7p9c6NyAzAJlndnHUbysduWCDZWTvpBZnZFjMk3\r
34         o71dJNC8/5yDQ+k0XI1XSGegXUVJ8KysfqS28=\r
35 MIME-Version: 1.0\r
36 Received: by 10.216.87.81 with SMTP id x59mr777165wee.147.1264810126641; Fri, \r
37         29 Jan 2010 16:08:46 -0800 (PST)\r
38 Date: Fri, 29 Jan 2010 19:08:46 -0500\r
39 Message-ID: <b22065d01001291608h555c580n385ec8c7e17790f7@mail.gmail.com>\r
40 From: Servilio Afre Puentes <servilio@gmail.com>\r
41 To: notmuch@notmuchmail.org\r
42 Content-Type: text/plain; charset=ISO-8859-1\r
43 Subject: [notmuch] [PATCH] Better folder name search strategy.\r
44 X-BeenThere: notmuch@notmuchmail.org\r
45 X-Mailman-Version: 2.1.13\r
46 Precedence: list\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, 30 Jan 2010 00:08:50 -0000\r
57 \r
58 This allows the use non-word characters (e.g.: "/") as the folder name\r
59 in the notmuch-folders variable.\r
60 ---\r
61  notmuch.el |    4 +++-\r
62  1 files changed, 3 insertions(+), 1 deletions(-)\r
63 \r
64 diff --git a/notmuch.el b/notmuch.el\r
65 index 97914f2..bdb0200 100644\r
66 --- a/notmuch.el\r
67 +++ b/notmuch.el\r
68 @@ -1467,7 +1467,9 @@ Currently available key bindings:\r
69    (save-excursion\r
70      (beginning-of-line)\r
71      (let ((beg (point)))\r
72 -      (forward-word)\r
73 +      (save-match-data\r
74 +       (re-search-forward "[ \t]" nil t))\r
75 +      (backward-char)\r
76        (filter-buffer-substring beg (point)))))\r
77 \r
78  (defun notmuch-folder-show-search (&optional folder)\r
79 -- \r
80 1.6.5\r