From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#25183: 26.0.50; expanding quoted file name on w32 Date: Mon, 12 Dec 2016 17:54:33 +0100 Message-ID: <8760mpxf3q.fsf@gmx.de> References: <87a8c1xhwh.fsf@gmx.de> <83eg1dccvh.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1481565668 22984 195.159.176.226 (12 Dec 2016 18:01:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Dec 2016 18:01:08 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 25183@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 12 19:01:00 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 1cGUuJ-0004f9-B6 for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Dec 2016 19:00:59 +0100 Original-Received: from localhost ([::1]:60399 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGUuN-0000iL-JF for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Dec 2016 13:01:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGTsZ-00057q-As for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2016 11:55:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGTsU-0004So-HE for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2016 11:55:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52288) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cGTsU-0004Si-Ed for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2016 11:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cGTsU-00023T-8u for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2016 11:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Dec 2016 16:55: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.14815616837867 (code B ref 25183); Mon, 12 Dec 2016 16:55:02 +0000 Original-Received: (at 25183) by debbugs.gnu.org; 12 Dec 2016 16:54:43 +0000 Original-Received: from localhost ([127.0.0.1]:39454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGTsB-00022o-0j for submit@debbugs.gnu.org; Mon, 12 Dec 2016 11:54:43 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:49998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGTs9-00022c-Fh for 25183@debbugs.gnu.org; Mon, 12 Dec 2016 11:54:41 -0500 Original-Received: from detlef.gmx.de ([87.146.56.142]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M51eM-1cYPOm1acY-00zGRp; Mon, 12 Dec 2016 17:54:34 +0100 In-Reply-To: <83eg1dccvh.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 12 Dec 2016 18:48:18 +0200") X-Provags-ID: V03:K0:EEFbBQSZ8jIKPhXZn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-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:126923 Archived-At: Eli Zaretskii writes: >> From: Michael Albinus >> Date: Mon, 12 Dec 2016 16:54:06 +0100 >>=20 >>=20 >> Expanding a quoted file name works wrong on w32 systems. With Emacs >> running on =E2=80=98gnu/linux=E2=80=99, there is >>=20 >> (expand-file-name "/:~/path/./file") >> =3D> "/:~/path/file" >>=20 >> This is correct. With Emacs running on =E2=80=98windows-nt=E2=80=99, the= re is >>=20 >> (expand-file-name "/:~/path/./file") >> =3D> "/:c:/Users/lb01177/AppData/Roaming/path/file" > > Try > > (expand-file-name "/:c:/~/path/./file") > > expand-file-name needs to produce an absolute file name, and a file > name that begins with a "~" isn't. > > IOW, I believe this is a feature. If you think it isn't, please > explain why. (file-name-absolute-p "/:~/path/./file") =3D> t Best regards, Michael.