Re: Tramp over eshell local vs. remote directories

Michael Albinus <[email protected]>
Newsgroups gmane.emacs.tramp
Message-ID <[email protected]>
Reza Housseini <[email protected]> writes:

Hi Reza,

>> Yes, this is intended. "cd" is a built-in command of eshell, and it
>> interprets the directory name like a Lisp file name. "~" is your local
>> home directory. If you do "C-x C-f ~", you will always open your local
>> home directory, whereever you call it from in Emacs.
>
> I was just wondering because calling cp /some/file ~, copies the file
> to the remote home directory, therefore the tilde is interpreted
> differently in this case.

Hmm, this looks inconsistent, indeed. Perhaps you report the case as
Emacs bug?

(I'm not sure whether this is a bug or an inconsistency, but it might be
good to be clarified)

> Best regards,

Best regards, Michael.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.