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#25183: 26.0.50; expanding quoted file name on w32 Date: Mon, 12 Dec 2016 20:08:37 -0500 Message-ID: References: <87a8c1xhwh.fsf@gmx.de> <83eg1dccvh.fsf@gnu.org> <8760mpxf3q.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1481591350 10502 195.159.176.226 (13 Dec 2016 01:09:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Dec 2016 01:09:10 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: Michael Albinus , 25183@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 13 02:09:07 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 1cGbaa-0001o5-RL for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2016 02:09:04 +0100 Original-Received: from localhost ([::1]:34665 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGbae-0007AK-W1 for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Dec 2016 20:09:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGbaZ-0007AD-IA for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2016 20:09:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGbaY-0006T2-Ll for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2016 20:09:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52663) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cGbaY-0006Sw-J0 for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2016 20:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cGbaY-0000V7-Do for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2016 20:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Dec 2016 01:09: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.14815913381915 (code B ref 25183); Tue, 13 Dec 2016 01:09:02 +0000 Original-Received: (at 25183) by debbugs.gnu.org; 13 Dec 2016 01:08:58 +0000 Original-Received: from localhost ([127.0.0.1]:39829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGbaU-0000Up-4Z for submit@debbugs.gnu.org; Mon, 12 Dec 2016 20:08:58 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGbaS-0000Ua-Gw for 25183@debbugs.gnu.org; Mon, 12 Dec 2016 20:08:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGbaM-0006Rc-Js for 25183@debbugs.gnu.org; Mon, 12 Dec 2016 20:08:51 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGba9-0006Q8-Lq; Mon, 12 Dec 2016 20:08:37 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cGba9-0007M3-8v; Mon, 12 Dec 2016 20:08:37 -0500 X-Spook: Operation Iraqi Freedom Subway Serbian halcon Consul X-Ran: jcaZtD{D7J]$1@QQ'td$7`96S4*YxT8Iaj^q_*><>)GbIU=0?'R}x|jQ8(IC/u0_;$fy|R X-Hue: yellow X-Attribution: GM In-Reply-To: (Noam Postavsky's message of "Mon, 12 Dec 2016 19:39:09 -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:126950 Archived-At: Noam Postavsky wrote: >>>> (expand-file-name "/:~/path/./file") >>>> => "/:~/path/file" > >>>> (expand-file-name "/:~/path/./file") >>>> => "/:c:/Users/lb01177/AppData/Roaming/path/file" > >> >> (file-name-absolute-p "/:~/path/./file") >> => t > > I think all these cases are user error, `(emacs) Quoted File Names' says > > You can "quote" an absolute file name [...] add '/:' at the beginning > > But you cannot quote a relative file name, which looks like what > you're trying to do here. It might better to throw an error than > return nonsense (though possibly not worth the trouble). But "~/blah" is an absolute file name. ?