Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 37 / 7b487fce0a68fc1b6a3535a3f4882ab9a6b349
1 Return-Path: <jrollins@finestructure.net>\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 6246D431FC7\r
6         for <notmuch@notmuchmail.org>; Mon,  2 Apr 2012 01:20: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: -2.3\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3] 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 wX+5aJhEnm5f for <notmuch@notmuchmail.org>;\r
16         Mon,  2 Apr 2012 01:20:58 -0700 (PDT)\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
18         [131.215.239.19])\r
19         by olra.theworths.org (Postfix) with ESMTP id DC158431FC0\r
20         for <notmuch@notmuchmail.org>; Mon,  2 Apr 2012 01:20:58 -0700 (PDT)\r
21 Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
22         by fire-doxen-postvirus (Postfix) with ESMTP id A8CDB2E509DC\r
23         for <notmuch@notmuchmail.org>; Mon,  2 Apr 2012 01:20:58 -0700 (PDT)\r
24 X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new\r
25 Received: from finestructure.net (unknown [76.89.193.65])\r
26         (Authenticated sender: jrollins)\r
27         by fire-doxen-submit (Postfix) with ESMTP id F3F552E50C1E\r
28         for <notmuch@notmuchmail.org>; Mon,  2 Apr 2012 01:20:56 -0700 (PDT)\r
29 Received: by finestructure.net (Postfix, from userid 1000)\r
30         id 929881924; Mon,  2 Apr 2012 01:20:56 -0700 (PDT)\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
32 To: Notmuch Mail <notmuch@notmuchmail.org>\r
33 Subject: [PATCH 2/6] emacs: have tag-completion return all tags for nil input\r
34 Date: Mon,  2 Apr 2012 01:20:49 -0700\r
35 Message-Id: <1333354853-25729-3-git-send-email-jrollins@finestructure.net>\r
36 X-Mailer: git-send-email 1.7.9.1\r
37 In-Reply-To: <1333354853-25729-2-git-send-email-jrollins@finestructure.net>\r
38 References: <1333354853-25729-1-git-send-email-jrollins@finestructure.net>\r
39         <1333354853-25729-2-git-send-email-jrollins@finestructure.net>\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Mon, 02 Apr 2012 08:20:59 -0000\r
53 \r
54 Previously the function would fail if the initial input was nil.  Now\r
55 it will return a list of all tags, which obviously makes much more\r
56 sense.\r
57 ---\r
58  emacs/notmuch.el |    2 ++\r
59  1 files changed, 2 insertions(+), 0 deletions(-)\r
60 \r
61 diff --git a/emacs/notmuch.el b/emacs/notmuch.el\r
62 index 38ae005..0ab8fc2 100644\r
63 --- a/emacs/notmuch.el\r
64 +++ b/emacs/notmuch.el\r
65 @@ -85,6 +85,8 @@ For example:\r
66  `notmuch-read-tag-changes' function.")\r
67  \r
68  (defun notmuch-tag-completions (&optional search-terms)\r
69 +  (if (eq search-terms nil)\r
70 +      (setq search-terms (list "*")))\r
71    (split-string\r
72     (with-output-to-string\r
73       (with-current-buffer standard-output\r
74 -- \r
75 1.7.9.1\r
76 \r