From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25183: 26.0.50; expanding quoted file name on w32 Date: Sat, 24 Dec 2016 20:00:32 +0200 Message-ID: <83pokhxl4v.fsf@gnu.org> References: <87a8c1xhwh.fsf@gmx.de> <83eg1dccvh.fsf@gnu.org> <8760mpxf3q.fsf@gmx.de> <87mvg0d33x.fsf@users.sourceforge.net> <877f745izp.fsf@gmx.de> <83eg1bbxp5.fsf@gnu.org> <8337hdzdz2.fsf@gnu.org> <87lgv5a0py.fsf@users.sourceforge.net> <83y3z5xqer.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1482602540 32596 195.159.176.226 (24 Dec 2016 18:02:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 24 Dec 2016 18:02:20 +0000 (UTC) Cc: michael.albinus@gmx.de, 25183@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 24 19:02:15 2016 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 1cKqe1-0007K1-Tj for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Dec 2016 19:02:10 +0100 Original-Received: from localhost ([::1]:44410 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKqe6-0007Uk-IH for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Dec 2016 13:02:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKqdx-0007Ud-Ph for bug-gnu-emacs@gnu.org; Sat, 24 Dec 2016 13:02:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKqdu-0004m4-OE for bug-gnu-emacs@gnu.org; Sat, 24 Dec 2016 13:02:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38594) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cKqdu-0004lw-KK for bug-gnu-emacs@gnu.org; Sat, 24 Dec 2016 13:02:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cKqdu-0003l4-Bf for bug-gnu-emacs@gnu.org; Sat, 24 Dec 2016 13:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Dec 2016 18:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25183 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25183-submit@debbugs.gnu.org id=B25183.148260248114394 (code B ref 25183); Sat, 24 Dec 2016 18:02:02 +0000 Original-Received: (at 25183) by debbugs.gnu.org; 24 Dec 2016 18:01:21 +0000 Original-Received: from localhost ([127.0.0.1]:53993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKqdD-0003k4-Jj for submit@debbugs.gnu.org; Sat, 24 Dec 2016 13:01:19 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55063) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKqdA-0003jo-Vq for 25183@debbugs.gnu.org; Sat, 24 Dec 2016 13:01:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKqd2-0004KQ-Pa for 25183@debbugs.gnu.org; Sat, 24 Dec 2016 13:01:11 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKqd2-0004KM-MT; Sat, 24 Dec 2016 13:01:08 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4221 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cKqcz-0002sG-RI; Sat, 24 Dec 2016 13:01:08 -0500 In-reply-to: (message from Noam Postavsky on Sat, 24 Dec 2016 12:43:24 -0500) 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:127414 Archived-At: > From: Noam Postavsky > Date: Sat, 24 Dec 2016 12:43:24 -0500 > Cc: Michael Albinus , 25183@debbugs.gnu.org > > >> (expand-file-name "/:~/path/./file") => (error "/: quoting relative file name") > > > > expand-file-name doesn't signal errors, and I don't think it would be > > a good idea to have it start doing that. > > I think the status quo (leaving it inconsistent) is okay too (garbage > in, garbage out). But expansion of "~" in the Windows build should be bypassed in this case, don't you agree? > >> As I've said in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25183#29, > >> currently "/:~/foo" is a kind of paradoxical file name, being > >> both/neither relative nor absolute. > > > > file-name-absolute-p is not smart enough to handle this case with the > > rigor we are discussing, so I don't think this aspect is important for > > the purposes of this discussion. The "/:" quoting was chosen because > > it fools file-name-absolute-p, so the above is not surprising. > > I don't think file-name-absolute-p is relevant. We are in agreement about that.