From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Christoph Michelbach Newsgroups: gmane.emacs.bugs Subject: bug#31489: 25.3; Dired unable to open directory "/ssh:example.com" Date: Sun, 20 May 2018 21:19:20 +0200 Message-ID: <1526843960.3021.12.camel@gmail.com> References: <1526643719.9043.13.camel@gmail.com> <87zi0xkmua.fsf@gmx.de> <1526681772.32534.6.camel@gmail.com> <87zi0vms8v.fsf@gmx.de> <1526839932.4200.13.camel@gmail.com> <87muwu18pd.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1526843887 7642 195.159.176.226 (20 May 2018 19:18:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 20 May 2018 19:18:07 +0000 (UTC) Cc: 31489@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 20 21:18:03 2018 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 1fKTqE-0001tM-SS for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 May 2018 21:18:03 +0200 Original-Received: from localhost ([::1]:47464 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKTsL-0007rr-NE for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 May 2018 15:20:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKTsD-0007qn-8n for bug-gnu-emacs@gnu.org; Sun, 20 May 2018 15:20:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fKTsA-0005Rc-4r for bug-gnu-emacs@gnu.org; Sun, 20 May 2018 15:20:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34229) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fKTs9-0005RH-WF for bug-gnu-emacs@gnu.org; Sun, 20 May 2018 15:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fKTs9-0004ay-K3 for bug-gnu-emacs@gnu.org; Sun, 20 May 2018 15:20:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christoph Michelbach Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 May 2018 19:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31489 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31489-submit@debbugs.gnu.org id=B31489.152684396917614 (code B ref 31489); Sun, 20 May 2018 19:20:01 +0000 Original-Received: (at 31489) by debbugs.gnu.org; 20 May 2018 19:19:29 +0000 Original-Received: from localhost ([127.0.0.1]:42126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fKTrc-0004a1-PE for submit@debbugs.gnu.org; Sun, 20 May 2018 15:19:28 -0400 Original-Received: from mail-wm0-f48.google.com ([74.125.82.48]:34771) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fKTrb-0004Zo-TP for 31489@debbugs.gnu.org; Sun, 20 May 2018 15:19:28 -0400 Original-Received: by mail-wm0-f48.google.com with SMTP id a137-v6so9546057wme.1 for <31489@debbugs.gnu.org>; Sun, 20 May 2018 12:19:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=VmiwA9E3/FMmixSvuAeslYG0td+FV03DlK3JMIfw+AU=; b=uOD8nxYQk193OYpu4TJGOD2V5bLcKFE/c1MZ/pNm0Xj+FYhd+m52q7FW24Art/a25s e/cTJQ0iSZEWvpa4qGE7PQMaODFga8nG4b4Ty5945b/P2FAGq5LbeHS/MeYXuHTaepBw PWfP3kUKxlU5Npxr5lkQwJswsRPJRY2o1L+P29fojKCYDvdsOmJyICC8apSlKB8rg920 9D8fkdr+vul+yRV4sAibmt0jERAB/cqo60LdHXCyMAF9CTg6frBfMR6EMPmc7buxkp7y /p/vvfFpgXv/wLTtFa3JI3yWMHDHrVucmreLiEtzcW8DMOBk9WwLEAA4AR3QX1dege3j enhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=VmiwA9E3/FMmixSvuAeslYG0td+FV03DlK3JMIfw+AU=; b=Ez2SZpK7zhfVByyvObtnJOJd3viqzaxCqJG/yP+3lvLOZj8qbpIQW12dylV6MQoP99 ZqJSAKYsDLtdU1SkI5mNt4fB2XFAdEuTq1x5l1Mnv1va11sDOWKOIyaKnswuXb+UJA1P ptew4yKHByG3fdrx26A5aS1rCMNFAUgXU/N01SuuS9zjvStpEVDeNkc9YG2LWPQpF9DZ B+Y+uk6e2bFykj/XzmUfgNpNptyxbFtsEFnCGnsLYinMCtnV4j8HXoEfyfJOzX3OCRn6 GWdJ9eXa+cEnLcwd2jB0WN9GvTMkT7cHhvRRJGs88Egv7e6RPOw6pdaSJZuTamPmFXA2 jYbw== X-Gm-Message-State: ALKqPwe+lFqNZ/YzHWhYF8j6XeoN+NG6Wy1u+kmWDVbkBXN9jLeDBiq6 GJjj/ZQERQbjZKY6yZ81cmE= X-Google-Smtp-Source: AB8JxZqIQzSfmyNedqJGl55gSTgG8LoalAFzcq/SidEAvFeQyBluinHYtP5llnI2AtkqwGfuXycf2w== X-Received: by 2002:a1c:3653:: with SMTP id d80-v6mr9672974wma.3.1526843962223; Sun, 20 May 2018 12:19:22 -0700 (PDT) Original-Received: from ?IPv6:2a02:8071:21b0:3d00:fcf6:be36:648f:1aac? ([2a02:8071:21b0:3d00:fcf6:be36:648f:1aac]) by smtp.googlemail.com with ESMTPSA id b10-v6sm33879728wrn.42.2018.05.20.12.19.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 May 2018 12:19:21 -0700 (PDT) In-Reply-To: <87muwu18pd.fsf@gmx.de> X-Mailer: Evolution 3.18.5.2-0ubuntu3.2 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:146327 Archived-At: On Sun, 2018-05-20 at 20:30 +0200, Michael Albinus wrote: > You haven't answered my question: Could you live w/o Tramp, and set > tramp-mode to nil? Or do you want still use Tramp, and I shall extend > Tramp with an "exclude file names" feature? > > Both variants would be a solution for this. I haven't done so because I'm not suffering from this bug atm. I do use tramp but I don't have the problem described in the bug report in practice. I merely wanted to find out to what extent dired can be used as a file browser and explored some edge cases. While doing so, I found a few problems and this is the first one (and thus far only one found while explicitly looking for bugs) I have reported. To evade the problem in practice, one could simply use symlinks for the folders with the weird names. Or one could use a single simlink created via sudo ln -s / /f and then always start at "/f". Evading this problem in practice is simple, but it seems to me that HAVING to evade it shows poor usability. > I don't see how this could be avoided. Of course, dired could quote any > directory name with "/:" when opening a directory with a file name > dedicated to Tramp (or another file name handling library). But this > would discard *any* file name handlers in this subdirectory, including > something like uncrompressing files, as jka-compr does, or decrypting > files, whis is performed by epa. So the problem is that this way of quoting is also used in different places, which means that it's not possible to view the contents of "/ssh:example.com/tarball.tar" in Emacs without removing tramp / disabling tramp / adding an exception for this specific path?