Re: [feature request] emacs: use `notmuch insert` for FCC
[notmuch-archives.git] / e8 / 5d683eec8c849b486dd56c2218014937556cb1
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 3B0BB431E64\r
6         for <notmuch@notmuchmail.org>; Mon,  9 Jul 2012 18:49:50 -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: -0.7\r
10 X-Spam-Level: \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 HM9Lf74JFeUu for <notmuch@notmuchmail.org>;\r
16         Mon,  9 Jul 2012 18:49:49 -0700 (PDT)\r
17 Received: from dmz-mailsec-scanner-4.mit.edu (DMZ-MAILSEC-SCANNER-4.MIT.EDU\r
18         [18.9.25.15])\r
19         by olra.theworths.org (Postfix) with ESMTP id 8169C431FBF\r
20         for <notmuch@notmuchmail.org>; Mon,  9 Jul 2012 18:49:49 -0700 (PDT)\r
21 X-AuditID: 1209190f-b7f306d0000008b4-85-4ffb8a3c72d2\r
22 Received: from mailhub-auth-4.mit.edu ( [18.7.62.39])\r
23         by dmz-mailsec-scanner-4.mit.edu (Symantec Messaging Gateway) with SMTP\r
24         id AF.B7.02228.C3A8BFF4; Mon,  9 Jul 2012 21:49:48 -0400 (EDT)\r
25 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])\r
26         by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id q6A1nmGC006944; \r
27         Mon, 9 Jul 2012 21:49:48 -0400\r
28 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91])\r
29         (authenticated bits=0)\r
30         (User authenticated as amdragon@ATHENA.MIT.EDU)\r
31         by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q6A1nkYQ016560\r
32         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
33         Mon, 9 Jul 2012 21:49:47 -0400 (EDT)\r
34 Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77)\r
35         (envelope-from <amdragon@mit.edu>)\r
36         id 1SoPaE-0002oy-B7; Mon, 09 Jul 2012 21:49:46 -0400\r
37 Date: Mon, 9 Jul 2012 21:49:46 -0400\r
38 From: Austin Clements <amdragon@MIT.EDU>\r
39 To: Jani Nikula <jani@nikula.org>\r
40 Subject: Re: [PATCH 1/3] emacs: add no-display arg to\r
41         notmuch-hello-refresh-hook\r
42 Message-ID: <20120710014946.GB7332@mit.edu>\r
43 References:\r
44  <37899e28dbf67e4620a53279a869be3174c02d6f.1339775602.git.jani@nikula.org>\r
45 MIME-Version: 1.0\r
46 Content-Type: text/plain; charset=us-ascii\r
47 Content-Disposition: inline\r
48 In-Reply-To:\r
49  <37899e28dbf67e4620a53279a869be3174c02d6f.1339775602.git.jani@nikula.org>\r
50 User-Agent: Mutt/1.5.21 (2010-09-15)\r
51 X-Brightmail-Tracker:\r
52  H4sIAAAAAAAAA+NgFmpileLIzCtJLcpLzFFi42IRYrdT17Xp+u1vMH+SjUXTdGeL6zdnMjsw\r
53         edy6/5rd49mqW8wBTFFcNimpOZllqUX6dglcGV37+hkL3rJVTG7tYGpgPM3axcjJISFgInFu\r
54         3wsWCFtM4sK99WwgtpDAPkaJnbeDuxi5gOz1jBLP189ghHBOMEms/v+AGcJZwijx7uUDJpAW\r
55         FgEViY/tvWBj2QQ0JLbtX84IYosIKEpsPrkfzGYWkJb49rsZrF5YIEii99ZBMJtXQFuifdle\r
56         qNWhEmd737FAxAUlTs58wgLRqyVx499LoHoOsDnL/3GAhDkFwiRebr7FDmKLAp0w5eQ2tgmM\r
57         QrOQdM9C0j0LoXsBI/MqRtmU3Crd3MTMnOLUZN3i5MS8vNQiXRO93MwSvdSU0k2MoKDmlOTf\r
58         wfjtoNIhRgEORiUe3k0sv/2FWBPLiitzDzFKcjApifIWdACF+JLyUyozEosz4otKc1KLDzFK\r
59         cDArifDecgXK8aYkVlalFuXDpKQ5WJTEea+m3PQXEkhPLEnNTk0tSC2CycpwcChJ8CZ1AjUK\r
60         FqWmp1akZeaUIKSZODhBhvMADe8BqeEtLkjMLc5Mh8ifYlSUEuctAUkIgCQySvPgemFJ5xWj\r
61         ONArwrylIFU8wIQF1/0KaDAT0OD2nl8gg0sSEVJSDYxJhgZxTyfnLvzhVsrgqsTBlm4z1b0/\r
62         PVqx6+lsMd/dqfHlB1gnte00bIh3K/Ttv5Bkft1vr85BvgP7Fq+Y/Fj9sn3dt5BTwjV3HzM9\r
63         eX3e5FeJ9so475UyRbl/ex4V2N0o4j4qWHI7dc5/uV38ep1rT/imh2RrOymfyEs9++J1XbSn\r
64         KNNGcyWW4oxEQy3mouJEAPMmG4wVAwAA\r
65 Cc: notmuch@notmuchmail.org\r
66 X-BeenThere: notmuch@notmuchmail.org\r
67 X-Mailman-Version: 2.1.13\r
68 Precedence: list\r
69 List-Id: "Use and development of the notmuch mail system."\r
70         <notmuch.notmuchmail.org>\r
71 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
72         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
73 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
74 List-Post: <mailto:notmuch@notmuchmail.org>\r
75 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
76 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
77         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
78 X-List-Received-Date: Tue, 10 Jul 2012 01:49:50 -0000\r
79 \r
80 Quoth Jani Nikula on Jun 15 at  6:53 pm:\r
81 > Add no-display arg to notmuch-hello-refresh-hook to allow each hook to\r
82 > decide what is appropriate when no-display is t, which is typically\r
83 > the case when called non-interactively. This is used by the following\r
84 > patch.\r
85\r
86 > This breaks existing hooks people might have, which will now need to\r
87 > accept the argument.\r
88\r
89 > Signed-off-by: Jani Nikula <jani@nikula.org>\r
90 \r
91 This seems like an overloaded use of no-display.  If I'm reading the\r
92 code right, no-display indicates whether or not the notmuch-hello\r
93 buffer should be switched to and seems like a workaround for some\r
94 particular corner-case (I'm not even sure what).  This seems like a\r
95 strange condition to predicate a hook on (but maybe I just don't\r
96 understand).  What condition, abstractly speaking, is\r
97 notmuch-hello-refresh-status-message trying to run under?\r