From 28927acf17739f3295496f2b5bd478ba128fcba0 Mon Sep 17 00:00:00 2001 From: Bijan Chokoufe Date: Wed, 11 May 2016 19:17:27 +0000 Subject: [PATCH] Re: [PATCH] config: Expand ~ to $HOME --- 55/af23ba5cb6188360e6dfe83c58deb8455db3e9 | 119 ++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 55/af23ba5cb6188360e6dfe83c58deb8455db3e9 diff --git a/55/af23ba5cb6188360e6dfe83c58deb8455db3e9 b/55/af23ba5cb6188360e6dfe83c58deb8455db3e9 new file mode 100644 index 000000000..ab3a54616 --- /dev/null +++ b/55/af23ba5cb6188360e6dfe83c58deb8455db3e9 @@ -0,0 +1,119 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id B2EA36DE0173 + for ; Wed, 11 May 2016 12:17:48 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.578 +X-Spam-Level: +X-Spam-Status: No, score=-0.578 tagged_above=-999 required=5 + tests=[AWL=-0.109, FREEMAIL_FORGED_FROMDOMAIN=0.249, + FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, + HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, + RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id AsQQRxhVo-XA for ; + Wed, 11 May 2016 12:17:40 -0700 (PDT) +Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com + [209.85.218.51]) + by arlo.cworth.org (Postfix) with ESMTPS id 2FE546DE00D3 + for ; Wed, 11 May 2016 12:17:40 -0700 (PDT) +Received: by mail-oi0-f51.google.com with SMTP id x19so84198675oix.2 + for ; Wed, 11 May 2016 12:17:40 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:mime-version:references:in-reply-to:from:date + :message-id:subject:to:cc; + bh=Ro5HKJOGpikAQ3jno0J2ety3Wp9w1GOyJLrMpZfOghU=; + b=ES6Vt3r/r18xZ6WNmNT9SX75ErohT+Ke9tjGNf+ah7IsZLCf8VHl5B/IN76j8tgSgL + 27bT8ETIw1rI/9ts4sucygrUjy2bYUSRIaant1znrGT6ZiZajXpU71Pvu8tfcJJZTN0n + k5ql7HtD8U5h5n5dNxuHD9Mo3lHN7f8Qgp+YZIz7gVXPdqcx6n3606TS1yMzHctBkeWP + z4l2t+sMkU3h24cpYOieFqGOxDMXSxEGLcx1jzDJLP0cnEE/7OFIo+NjBs7S/oi1Oae2 + duFy2cF9aheqdRPOWom0D2cb+VHapgWcxjCKBCNfBpjb4ZzbJMM7ZkM7mLzODG34qzdr + EM4Q== +X-Gm-Message-State: AOPr4FWFLCMqaO1HkPRD2hEgnOtJYEd+/c2ZEjfUQ5e7onOdY70VXH9sLP+8Sy3D2ukFv24+tOYifLOW+NIuIw== +X-Received: by 10.202.60.5 with SMTP id j5mr3132552oia.43.1462994257375; Wed, + 11 May 2016 12:17:37 -0700 (PDT) +MIME-Version: 1.0 +References: <1462722574-4176-1-git-send-email-bijan@chokoufe.com> + + + <20160509215724.GA3634@600B5B> + +In-Reply-To: +From: Bijan Chokoufe +Date: Wed, 11 May 2016 19:17:27 +0000 +Message-ID: + +Subject: Re: [PATCH] config: Expand ~ to $HOME +To: David Edmondson , Tomi Ollila +Cc: notmuch@notmuchmail.org +Content-Type: multipart/alternative; boundary=001a113cc26c04fb96053295e5cb +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Wed, 11 May 2016 19:17:48 -0000 + +--001a113cc26c04fb96053295e5cb +Content-Type: text/plain; charset=UTF-8 + +so what would be the spec for handling ~user? +As Tomi pointed out ~foo will point to different folders if set by user +'foo' or by user 'bar'. +To what folder should it point and where do I get this information? + +David Edmondson schrieb am Di., 10. Mai 2016 um 10:22 Uhr: + +> On Mon, May 09 2016, Bijan Chokoufe Nejad wrote: +> +> >> ~user is ~ in case you're 'user' -- except that now that I think of it +> >> ~user could read home directory from /etc/passwd and not using $HOME. +> >> If you're 'eve', then ~alice should definitely be different than ~ +> > +> > OK I see. I never used ~user instead of ~ and don't see any advantage in +> using +> > ~user but good to know it's there. +> +> A solution that supports ~ but not ~user seems incomplete. +> + +--001a113cc26c04fb96053295e5cb +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + + + +--001a113cc26c04fb96053295e5cb-- -- 2.26.2