[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9197: 24.0.50; Visiting a remote file in one server, when default di
bug#9197: 24.0.50; Visiting a remote file in one server, when default directory is in another one
Fri, 29 Jul 2011 17:10:00 +0200
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)
Dani Moncayo <address@hidden> writes:
> Recipe from "emacs -Q":
> 1. Change the current buffer's default directory to some path in
> "host-a": M-x cd <RET> /address@hidden:/dir-a <RET>.
> 2. Try to visit some (existing) file in host-b: C-x C-f
> /address@hidden:/path-to-some-file <RET>.
> Note that, in step #2, just before hitting <RET>, the contents of the
> minibuffer are:
> Expected behavior: the file "/path-to-some-file" (from "host-b") is visited.
> Observed behavior: an error occurs, because Emacs tried to visit a
> (nonexistent) file in "host-a", whose path is
This is the intended behaviour. When your buffer's default directory is
remote and you want to open a local file or a file on another remote
server, you need three slashes, like this:
See also (info "(tramp)Filename completion")
Best regards, Michael.