Reza Housseini <reza.housse...@gmail.com> 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.

Reply via email to