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 18:06:36 +0200 Message-ID: <83y3z5xqer.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1482595696 13603 195.159.176.226 (24 Dec 2016 16:08:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 24 Dec 2016 16:08:16 +0000 (UTC) Cc: michael.albinus@gmx.de, 25183@debbugs.gnu.org To: npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 24 17:08:10 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 1cKorg-0002PL-DO for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Dec 2016 17:08:08 +0100 Original-Received: from localhost ([::1]:44010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKork-0007Q9-Nc for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Dec 2016 11:08:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKore-0007Ps-Nh for bug-gnu-emacs@gnu.org; Sat, 24 Dec 2016 11:08:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKora-0000NC-6Q for bug-gnu-emacs@gnu.org; Sat, 24 Dec 2016 11:08:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38505) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cKora-0000N2-3K for bug-gnu-emacs@gnu.org; Sat, 24 Dec 2016 11:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cKorZ-00012N-V0 for bug-gnu-emacs@gnu.org; Sat, 24 Dec 2016 11:08:01 -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 16:08:01 +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.14825956363932 (code B ref 25183); Sat, 24 Dec 2016 16:08:01 +0000 Original-Received: (at 25183) by debbugs.gnu.org; 24 Dec 2016 16:07:16 +0000 Original-Received: from localhost ([127.0.0.1]:53904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKoqq-00011M-Fd for submit@debbugs.gnu.org; Sat, 24 Dec 2016 11:07:16 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:33370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKoqo-000119-VN for 25183@debbugs.gnu.org; Sat, 24 Dec 2016 11:07:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKoqf-0008RU-Cp for 25183@debbugs.gnu.org; Sat, 24 Dec 2016 11:07:09 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50015) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKoqf-0008RP-9b; Sat, 24 Dec 2016 11:07:05 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4070 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cKoqd-0001iU-RS; Sat, 24 Dec 2016 11:07:05 -0500 In-reply-to: <87lgv5a0py.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net) 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:127402 Archived-At: > From: npostavs@users.sourceforge.net > Cc: michael.albinus@gmx.de, 25183@debbugs.gnu.org > Date: Sat, 24 Dec 2016 08:57:45 -0500 > > If we want to extend the /: quoting to also apply to relative file names > too, then the latter makes sense. Otherwise, the only consistent result > would be > > (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. > 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.