1 Return-Path: <amdragon@mit.edu>
\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 26D09431FBD
\r
6 for <notmuch@notmuchmail.org>; Thu, 20 Feb 2014 11:16:54 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 o0gkHtNWsGH6 for <notmuch@notmuchmail.org>;
\r
16 Thu, 20 Feb 2014 11:16:50 -0800 (PST)
\r
17 Received: from dmz-mailsec-scanner-7.mit.edu (dmz-mailsec-scanner-7.mit.edu
\r
19 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 56627431FC2
\r
22 for <notmuch@notmuchmail.org>; Thu, 20 Feb 2014 11:16:48 -0800 (PST)
\r
23 X-AuditID: 12074424-f79e26d000000c70-09-5306549f7e98
\r
24 Received: from mailhub-auth-1.mit.edu ( [18.9.21.35])
\r
25 (using TLS with cipher AES256-SHA (256/256 bits))
\r
26 (Client did not present a certificate)
\r
27 by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP
\r
28 id B6.37.03184.F9456035; Thu, 20 Feb 2014 14:16:47 -0500 (EST)
\r
29 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])
\r
30 by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id s1KJGhEP014146;
\r
31 Thu, 20 Feb 2014 14:16:43 -0500
\r
32 Received: from drake.dyndns.org (26-4-182.dynamic.csail.mit.edu [18.26.4.182])
\r
33 (authenticated bits=0)
\r
34 (User authenticated as amdragon@ATHENA.MIT.EDU)
\r
35 by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s1KJGfuW012827
\r
36 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);
\r
37 Thu, 20 Feb 2014 14:16:42 -0500
\r
38 Received: from amthrax by drake.dyndns.org with local (Exim 4.77)
\r
39 (envelope-from <amdragon@mit.edu>)
\r
40 id 1WGZ6v-0004ZA-2E; Thu, 20 Feb 2014 14:16:41 -0500
\r
41 From: Austin Clements <amdragon@MIT.EDU>
\r
42 To: notmuch@notmuchmail.org
\r
43 Subject: [PATCH 3/4] emacs: Fix `notmuch-user-other-email' when no other
\r
44 emails are configured
\r
45 Date: Thu, 20 Feb 2014 14:16:36 -0500
\r
46 Message-Id: <1392923797-17045-4-git-send-email-amdragon@mit.edu>
\r
47 X-Mailer: git-send-email 1.8.4.rc3
\r
48 In-Reply-To: <1392923797-17045-1-git-send-email-amdragon@mit.edu>
\r
49 References: <1392923797-17045-1-git-send-email-amdragon@mit.edu>
\r
50 X-Brightmail-Tracker:
\r
51 H4sIAAAAAAAAA+NgFtrJIsWRmVeSWpSXmKPExsUixCmqrDs/hC3YYM9LIYvXCyaxWVy/OZPZ
\r
52 gclj9dpOFo9nq24xBzBFcdmkpOZklqUW6dslcGVcOMhfsJ+tYtuV62wNjGtYuxg5OSQETCSO
\r
53 3z4PZYtJXLi3ng3EFhKYzSRx9bRnFyMXkL2RUeLSmwlMEM4RJomGi5vYIJy5jBILX10Aa2cT
\r
54 0JDYtn85I4gtIiAtsfPubLA4s4CNxOaPj4HiHBzCAnES/ZdjQEwWAVWJxZdDQCp4BRwkpvd3
\r
55 Qx2hJLHw1DYwm1PAUWJp/wdWkHIhoJrOrToTGPkXMDKsYpRNya3SzU3MzClOTdYtTk7My0st
\r
56 0jXXy80s0UtNKd3ECAohdheVHYzNh5QOMQpwMCrx8J6QYgsWYk0sK67MPcQoycGkJMq7IgAo
\r
57 xJeUn1KZkVicEV9UmpNafIhRgoNZSYS3yQYox5uSWFmVWpQPk5LmYFES5621+BUkJJCeWJKa
\r
58 nZpakFoEk5Xh4FCS4A0NBmoULEpNT61Iy8wpQUgzcXCCDOcBGh4ZBDK8uCAxtzgzHSJ/ilFR
\r
59 Spz3KUhCACSRUZoH1wuL8VeM4kCvCPPOB1nBA0wPcN2vgAYzAQ0u2cgKMrgkESEl1cDYEJ62
\r
60 0uaX+NOvc1fnTlgofsak5Q9XyMl93LKed6bpWc+Vz1vkLNa+fjMz03znp7MUDk3dm+a4XyRX
\r
61 4fIlu91m8p3fl+y1a3RvbPs3qzU8NX5+RfLp5pSnHDra6h5p241+bDNRjl2WmaP0K8ZMa/NB
\r
62 7+8Hjyu+3XKh8fj8Q986z/VMvmRf1PNKiaU4I9FQi7moOBEAFwhhQcwCAAA=
\r
63 Cc: bjonnh-nm@bjonnh.net
\r
64 X-BeenThere: notmuch@notmuchmail.org
\r
65 X-Mailman-Version: 2.1.13
\r
67 List-Id: "Use and development of the notmuch mail system."
\r
68 <notmuch.notmuchmail.org>
\r
69 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
70 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
71 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
72 List-Post: <mailto:notmuch@notmuchmail.org>
\r
73 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
74 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
75 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
76 X-List-Received-Date: Thu, 20 Feb 2014 19:16:54 -0000
\r
78 Thanks to the previous patch, this no longer crashes in this
\r
79 situation, but now would return (""). Fix it to return () when no
\r
80 emails are configured.
\r
82 emacs/notmuch-lib.el | 2 +-
\r
83 1 file changed, 1 insertion(+), 1 deletion(-)
\r
85 diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el
\r
86 index 09110b5..2fefdad 100644
\r
87 --- a/emacs/notmuch-lib.el
\r
88 +++ b/emacs/notmuch-lib.el
\r
89 @@ -220,7 +220,7 @@ on the command line, and then retry your notmuch command")))
\r
91 (defun notmuch-user-other-email ()
\r
92 "Return the user.other_email value (as a list) from the notmuch configuration."
\r
93 - (split-string (notmuch-config-get "user.other_email") "\n"))
\r
94 + (split-string (notmuch-config-get "user.other_email") "\n" t))
\r
96 (defun notmuch-poll ()
\r
97 "Run \"notmuch new\" or an external script to import mail.
\r