--- Begin Message ---
Subject: |
24.0.50; Visiting a remote file in one server, when default directory is in another one |
Date: |
Fri, 29 Jul 2011 10:56:11 +0200 |
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:
/address@hidden:/dir-a//address@hidden:/path-to-some-file
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
"/address@hidden:/path-to-some-file".
Note also a different but related problem: the highlighting of the
minibuffer text is consistent with the current behavior (only the
"/dir-a/" part is in gray color). Thus, this should be fixed too, to
make it consistent with the right behavior. I.e., in this example, the
part in gray should be "/address@hidden:/dir-a/".
In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
of 2011-07-25 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt'
--
Dani Moncayo
--- End Message ---
--- Begin Message ---
Subject: |
Re: 24.0.50; Visiting a remote file in one server, when default directory is in another one |
Date: |
Sat, 30 Jul 2011 17:54:34 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Dani Moncayo <address@hidden> writes:
> Hi Michael,
Hi Dani,
> Maybe the explanation of "ignored chunks in find-file input" in node
> [1] should be generalized to take remote files into account, or at
> least add some link to node [3].
I have added a link.
> Anyway, I now understand the current behavior, and you can close this
> bug report.
Done.
> Thanks.
Thanks for reporting, and best regards, Michael.
--- End Message ---