GNU bug report logs - #47497
28.0.50; dired: does not distinguish between local directory and remote

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Tue, 30 Mar 2021 10:58:01 UTC

Severity: normal

Tags: notabug

Found in version 28.0.50

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #12 received at 47497-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Jean Louis <bugs <at> gnu.support>
Cc: 47497-done <at> debbugs.gnu.org
Subject: Re: bug#47497: 28.0.50; dired: does not distinguish between local
 directory and remote
Date: Tue, 30 Mar 2021 13:09:54 +0200
Jean Louis <bugs <at> gnu.support> writes:

Hi Jean,

> If there exists local directory: /scp:static: by using Dired and
> pressing RET, Emacs will try to open connection over Tramp and show
> remote files.
>
> Is Tramp working on improbability that users will never have such
> directories in / root file system?

Tramp handles this case, if instructed. Read the Tramp manual, chapter
"Frequesntly Asked Questions":

--8<---------------cut here---------------start------------->8---
        − To deactivate TRAMP for some look-alike remote file names,
          set ‘tramp-ignored-file-name-regexp’ to a proper regexp in
          ‘.emacs’.  *Note*, that we don’t use
          ‘customize-set-variable’, in order to avoid loading TRAMP.

               (setq tramp-ignored-file-name-regexp "\\`/ssh:example\\.com:")

          This is needed, if you mount for example a virtual file
          system on your local host’s root directory as
          ‘/ssh:example.com:’.
--8<---------------cut here---------------end--------------->8---

I'm closing the bug, because there's no error. The problem was discussed
in bug#31489 initially.

Best regards, Michael.




This bug report was last modified 4 years and 105 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.