From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#18891: Doesn't handle pwd = /C: very well Date: Thu, 06 Nov 2014 09:33:45 +0100 Message-ID: <87oaskk9sm.fsf@gmx.de> References: <87d293dtc5.fsf@gmx.de> <83lhnqvqt9.fsf@gnu.org> <87y4rpvqgz.fsf@gmx.de> <87d291l8vd.fsf@gmx.de> <83mw85t2bu.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415262868 26856 80.91.229.3 (6 Nov 2014 08:34:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Nov 2014 08:34:28 +0000 (UTC) Cc: 18891@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 06 09:34:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XmIWJ-0005kP-IE for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Nov 2014 09:34:19 +0100 Original-Received: from localhost ([::1]:51514 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmIWG-0003UY-Va for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Nov 2014 03:34:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmIW8-0003UH-70 for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2014 03:34:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmIW2-000065-8B for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2014 03:34:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmIW2-00005o-5P for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2014 03:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XmIW1-000820-Jt for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2014 03:34:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Nov 2014 08:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18891 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18891-submit@debbugs.gnu.org id=B18891.141526283030856 (code B ref 18891); Thu, 06 Nov 2014 08:34:01 +0000 Original-Received: (at 18891) by debbugs.gnu.org; 6 Nov 2014 08:33:50 +0000 Original-Received: from localhost ([127.0.0.1]:51049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmIVq-00081b-BE for submit@debbugs.gnu.org; Thu, 06 Nov 2014 03:33:50 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:62921) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmIVo-00081T-7o for 18891@debbugs.gnu.org; Thu, 06 Nov 2014 03:33:48 -0500 Original-Received: from detlef.gmx.de ([87.146.47.108]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LmOLO-1YL56807Yg-00ZycH; Thu, 06 Nov 2014 09:33:46 +0100 In-Reply-To: <83mw85t2bu.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 06 Nov 2014 05:50:13 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:wHAODSzDh+dw8XDZJeWo1uPYyQkZkdMQzX1IK7kd0VgEB8I8+OQ V57JZHLxkSyppXIAJN6jbUKAsNo0Q0uojaEjYovBlnBgE0ccqfVKm280yYz60oYR+pGw0bE LJYtgUi2qxwRu5ngA5mkhGCmT4EEK18k0J/Se6znOc9ZOIfaNmNKibnnBNnadejRn8i2Vzp Hl9F8RP85yP5pU3kmQXmA== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:95605 Eli Zaretskii writes: >> > Don't blame me, the design seems to be older than my liaison with Emacs >> > (ange-ftp.el is copyrighted since 1989; I've started with Emacs in >> > autumn 1990, IIRC). >> >> I guess Tramp could check if there's matching local dir and pass the >> request through untouched if there is. > > If Tramp did that, how would the user tell Tramp that it should access > the remote host, even though there is a matching local file? (The > converse situation can be handled with /: quoting.) Indeed. And there are even cases where checking a local dir wouldn't work: (make-directory "/C:/foo/bar/baz" t) After all, I believe the use case (local file name, which looks like a remote one) isn't relevant enough to add ugly hacks. Best regards, Michael.