From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#25183: 26.0.50; expanding quoted file name on w32 Date: Mon, 12 Dec 2016 19:39:09 -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; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1481589612 24026 195.159.176.226 (13 Dec 2016 00:40:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Dec 2016 00:40:12 +0000 (UTC) Cc: 25183@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 13 01:40: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 1cGb8Y-0005Uq-S0 for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2016 01:40:06 +0100 Original-Received: from localhost ([::1]:34579 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGb8c-0002IQ-Ui for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Dec 2016 19:40:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGb8X-0002HI-UQ for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2016 19:40:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGb8U-0007YP-16 for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2016 19:40:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52627) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cGb8T-0007YL-Tu for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2016 19:40:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cGb8T-0008EO-OP for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2016 19:40:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Dec 2016 00:40: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.148158955831585 (code B ref 25183); Tue, 13 Dec 2016 00:40:01 +0000 Original-Received: (at 25183) by debbugs.gnu.org; 13 Dec 2016 00:39:18 +0000 Original-Received: from localhost ([127.0.0.1]:39793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGb7l-0008DM-OP for submit@debbugs.gnu.org; Mon, 12 Dec 2016 19:39:17 -0500 Original-Received: from mail-oi0-f41.google.com ([209.85.218.41]:36026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGb7j-0008D7-HB for 25183@debbugs.gnu.org; Mon, 12 Dec 2016 19:39:15 -0500 Original-Received: by mail-oi0-f41.google.com with SMTP id v84so106828798oie.3 for <25183@debbugs.gnu.org>; Mon, 12 Dec 2016 16:39:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=MrMci0poOQCwXeHCqQf2JUBDZP0QckT9UcZpBGpajZ8=; b=LlwoeHLVO0PNYvkNtwcINiGo7243iGntfLe7S+yAfFUfUpTw7qxNmRuG9f2e2dUQyK 99yQRp1aEeYZQy5Kf2CvPfNTYwLgHZL2tMKYXNXLjdoMLliYcV/SyQ866edadMk5nG6d g2PpWVGFLQi1ERAnC1E9pnOt1ilTyGpj1vyQdxtxGwpxMnD38XYyDeBReLaGKSGiwHIT v4vZ6UOhasgDWer8sbiQ7BkZpMXb9sgK//oDIlm2Fsovmf2bU74oT9TIc8J5978l/3QQ W02ziGi6SrT1kWsyA+0xr7hYtfJ12UQhVF8N+yTtDyTaV9cL+Z/AOPfabLMg+OJWcI+H 7TxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=MrMci0poOQCwXeHCqQf2JUBDZP0QckT9UcZpBGpajZ8=; b=QlGQ4Nzr/1fj2AP1r2VUZIfipiU2LwvUaH9NZKUUew+HxZsCpxKU+A7dRXtM/NsrUb +qkH8/FnlU0kUjTEKGOkKij1Fh+cpucOxXM+aAogNDjxNWoTxxFQzeyDamxcr9HwAh4v xnKlFpjPLrAD5bP7gQ+YMqw6Ie21TvW+7quSGC+x0rtAzYY77DdOQETswiz5jz0CerSg YoulTWxeFe4NfQVefpm5mjIIK+G1Blg7ZD5f4XKshpMny8cVVA9eywb9Y/2x5FNGqYIg z634IL7ZwtDcsIYDQve4TvY4Cqde8g3A6nwn0k2LigY/eLewNylna0/i5VQ6Ncfc9VuF GOvQ== X-Gm-Message-State: AKaTC00vawXSWF00kpm4rq3BsJm8hnUIa9w2fWLvqrsvPo4eBU53Gf34DJoD8rbuciEoAzybHr2ABIRGiZjZKA== X-Received: by 10.157.58.119 with SMTP id j110mr50570699otc.208.1481589549831; Mon, 12 Dec 2016 16:39:09 -0800 (PST) Original-Received: by 10.157.6.234 with HTTP; Mon, 12 Dec 2016 16:39:09 -0800 (PST) In-Reply-To: <8760mpxf3q.fsf@gmx.de> X-Google-Sender-Auth: ReGmOoWXko9kX41h9b8nBBAO1-4 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:126944 Archived-At: >>> (expand-file-name "/:~/path/./file") >>> =3D> "/:~/path/file" >>> (expand-file-name "/:~/path/./file") >>> =3D> "/:c:/Users/lb01177/AppData/Roaming/path/file" > > (file-name-absolute-p "/:~/path/./file") > =3D> t I think all these cases are user error, `(emacs) Quoted File Names' says You can "quote" an absolute file name [...] add =E2=80=98/:=E2=80=99 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).