Re: [PATCH] config: Expand ~ to $HOME
authorTomi Ollila <tomi.ollila@iki.fi>
Mon, 9 May 2016 08:40:33 +0000 (11:40 +0300)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:48 +0000 (16:21 -0700)
28/82f645dddf08815012c856d229bf316951ba07 [new file with mode: 0644]

diff --git a/28/82f645dddf08815012c856d229bf316951ba07 b/28/82f645dddf08815012c856d229bf316951ba07
new file mode 100644 (file)
index 0000000..de4546d
--- /dev/null
@@ -0,0 +1,62 @@
+Return-Path: <tomi.ollila@iki.fi>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id B21786DE0022\r
+ for <notmuch@notmuchmail.org>; Mon,  9 May 2016 01:40:43 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.592\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.592 tagged_above=-999 required=5 tests=[AWL=-0.060,\r
+  SPF_NEUTRAL=0.652] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id 5-99rS3LjfWI for <notmuch@notmuchmail.org>;\r
+ Mon,  9 May 2016 01:40:35 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 2A3A86DE0005\r
+ for <notmuch@notmuchmail.org>; Mon,  9 May 2016 01:40:35 -0700 (PDT)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+ by guru.guru-group.fi (Postfix) with ESMTP id A88141000B3;\r
+ Mon,  9 May 2016 11:40:33 +0300 (EEST)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: Bijan Chokoufe <bijan@chokoufe.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] config: Expand ~ to $HOME\r
+In-Reply-To: <m21t5bll8y.fsf@guru.guru-group.fi>\r
+References: <1462722574-4176-1-git-send-email-bijan@chokoufe.com>\r
+ <m2r3dc7azk.fsf@guru.guru-group.fi>\r
+ <CAOsAL0pp+3b-sf_k5kdrN7r1W8EtkC2vJ44Mg-e+su-8V=H6bQ@mail.gmail.com>\r
+ <m21t5bll8y.fsf@guru.guru-group.fi>\r
+User-Agent: Notmuch/0.22+18~gbe09ed8 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+ $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+ !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Mon, 09 May 2016 11:40:33 +0300\r
+Message-ID: <m21t5b7hfi.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 09 May 2016 08:40:43 -0000\r
+\r
+On Mon, May 09 2016, Tomi Ollila <tomi.ollila@iki.fi> wrote:\r
+\r
+> your code checked that path[0] == '~', but nothing else, e.g.\r
+>\r
+> ~123randomstuff/... would expand as /home/user23randomstuff/...\r
+\r
+actually /home/user/23randomstuff/...\r
+\r
+Tomi\r