Re: [PATCH] contrib: pick: bugfix for pick splitting the window excessively
[notmuch-archives.git] / d1 / 37aacd84724f88cbdfc957ce3d604b34301f39
1 Return-Path: <zack@upsilon.cc>\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 CD31E431FB6\r
6         for <notmuch@notmuchmail.org>; Mon, 26 Mar 2012 14:15:05 -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\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 NNZZKK8grWwf for <notmuch@notmuchmail.org>;\r
16         Mon, 26 Mar 2012 14:15:05 -0700 (PDT)\r
17 Received: from upsilon.hackadomia.org (upsilon.hackadomia.org\r
18  [91.121.245.170])      by olra.theworths.org (Postfix) with ESMTP id 01C18431FAF\r
19         for <notmuch@notmuchmail.org>; Mon, 26 Mar 2012 14:15:04 -0700 (PDT)\r
20 Received: from usha.takhisis.invalid (did75-22-78-236-196-47.fbx.proxad.net\r
21         [78.236.196.47])\r
22         by upsilon.hackadomia.org (Postfix) with ESMTPSA id E17E8B6092\r
23         for <notmuch@notmuchmail.org>; Mon, 26 Mar 2012 23:15:03 +0200 (CEST)\r
24 Received: by usha.takhisis.invalid (Postfix, from userid 1000)\r
25         id ED5A6681C47; Mon, 26 Mar 2012 23:15:02 +0200 (CEST)\r
26 Date: Mon, 26 Mar 2012 23:15:02 +0200\r
27 From: Stefano Zacchiroli <zack@upsilon.cc>\r
28 To: notmuch@notmuchmail.org\r
29 Subject: Re: Bug#628018: [PATCH] notmuch-mutt utility for notmuch/contrib/\r
30 Message-ID: <20120326211502.GA5582@upsilon.cc>\r
31 Mail-Followup-To: notmuch@notmuchmail.org, zack@upsilon.cc\r
32 References: <87ehsfr6lb.fsf@zancas.localnet>\r
33         <m2aa33o81v.fsf@guru.guru-group.fi>\r
34         <87d37zl7qe.fsf@servo.finestructure.net>\r
35         <20120326152902.GA11610@upsilon.cc>\r
36         <20120326190332.GE6677@aguila.ca>\r
37 MIME-Version: 1.0\r
38 Content-Type: text/plain; charset=iso-8859-1\r
39 Content-Disposition: inline\r
40 Content-Transfer-Encoding: 8bit\r
41 In-Reply-To: <20120326190332.GE6677@aguila.ca>\r
42 User-Agent: Mutt/1.5.21 (2010-09-15)\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.13\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Mon, 26 Mar 2012 21:15:06 -0000\r
56 \r
57 On Mon, Mar 26, 2012 at 01:03:32PM -0600, Scott Barker wrote:\r
58 > FYI, I use the following in my .muttrc, which includes an expansion of $HOME\r
59 > in <change-folder-readonly>, and it works fine:\r
60\r
61 >   macro index / "<shell-escape>mutt-notmuch --prompt search<enter><change-folder-readonly>$HOME/.cache/mutt_results<enter>" "notmuch search"\r
62 \r
63 Right, but I need support for variable expansions with defaults, because\r
64 there's no guarantee that $XDG_CACHE_HOME is defined in user\r
65 environment. I.e., I need the equivalent of shell ${name:-default}\r
66 idiom.\r
67 \r
68 AFAICT that is not supported by Mutt natively. Hence the need of\r
69 resorting to shell escaping.\r
70 \r
71 Hope this explains,\r
72 -- \r
73 Stefano Zacchiroli     zack@{upsilon.cc,pps.jussieu.fr,debian.org} . o .\r
74 Maître de conférences   ......   http://upsilon.cc/zack   ......   . . o\r
75 Debian Project Leader    .......   @zack on identi.ca   .......    o o o\r
76 « the first rule of tautology club is the first rule of tautology club »\r