From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#33255: 27.0.50; expand-file-name: default directory expanded twice if relative Date: Thu, 22 Nov 2018 13:25:20 -0500 Message-ID: References: <0c2e43c3-82ec-5783-391d-e79549c5c1db@cs.ucla.edu> <106aab5d-7910-3021-03a1-e4e5d910d831@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1542911218 15791 195.159.176.226 (22 Nov 2018 18:26:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 22 Nov 2018 18:26:58 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: 33255@debbugs.gnu.org, immerrr again , Noam Postavsky To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 22 19:26:53 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gPtgj-00040O-Lq for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Nov 2018 19:26:53 +0100 Original-Received: from localhost ([::1]:48843 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPtiq-0005vS-8E for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Nov 2018 13:29:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPtfw-0002pr-JE for bug-gnu-emacs@gnu.org; Thu, 22 Nov 2018 13:26:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPtfv-00019h-Jg for bug-gnu-emacs@gnu.org; Thu, 22 Nov 2018 13:26:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38378) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gPtfv-00019F-Fp for bug-gnu-emacs@gnu.org; Thu, 22 Nov 2018 13:26:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gPtfv-00056T-7u for bug-gnu-emacs@gnu.org; Thu, 22 Nov 2018 13:26:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Nov 2018 18:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33255 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33255-submit@debbugs.gnu.org id=B33255.154291113719580 (code B ref 33255); Thu, 22 Nov 2018 18:26:01 +0000 Original-Received: (at 33255) by debbugs.gnu.org; 22 Nov 2018 18:25:37 +0000 Original-Received: from localhost ([127.0.0.1]:42636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gPtfV-00055k-62 for submit@debbugs.gnu.org; Thu, 22 Nov 2018 13:25:37 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gPtfU-00055X-DS for 33255@debbugs.gnu.org; Thu, 22 Nov 2018 13:25:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPtfN-0000fI-G3 for 33255@debbugs.gnu.org; Thu, 22 Nov 2018 13:25:31 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53159) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPtfE-0000St-M7; Thu, 22 Nov 2018 13:25:20 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1gPtfE-0004lk-JK; Thu, 22 Nov 2018 13:25:20 -0500 X-Spook: Crypto AG Tsunami Warning Center FIPS140 Osama Avalanche X-Ran: xT*co!2BFO"3@Zp{;K,*e8+dwT7yPA7?9X#J8Qbo8|+woO>l!ISAvp6Ga>d?eD+QZtH=9' X-Hue: magenta X-Attribution: GM In-Reply-To: <106aab5d-7910-3021-03a1-e4e5d910d831@cs.ucla.edu> (Paul Eggert's message of "Tue, 20 Nov 2018 12:44:25 -0800") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:152678 Archived-At: Paul Eggert wrote: > It needs to be read in context. Section 2.6.1 is about tilde expansion > in the shell, e.g., how to treat commands like this: > > cd ~eggert/xxx > cd ~/yyy > > 2.6.1 says "If the login name is null (that is, the tilde-prefix > contains only the tilde), the tilde-prefix is replaced by the value of > the variable /HOME."/ This is talking about the second "echo" example > which uses a null login name, and it means that the second example is > treated like this: > > cd "$HOME"/yyy/ This seems to be telling me what tilde expansion is. I am at this point looking for any documentation (not even from POSIX, any shell or frankly any Unix utility will do) that says "HOME need not be absolute, if not, here's how that is handled". So far all I see from POSIX is that it doesn't say anything about whether HOME is absolute or not.