[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs-26 d2d5e54: Mention remote file name completion in Emacs manua
From: |
Michael Albinus |
Subject: |
Re: emacs-26 d2d5e54: Mention remote file name completion in Emacs manual |
Date: |
Sun, 04 Feb 2018 10:08:14 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
"John Wiegley" <address@hidden> writes:
> MA> There is one exception: If you type two slashes at the top of the local
> MA> part of a remote file name, it behaves like for local file names. That
> MA> means, "/ssh:host:// TAB" completes to "/".
>
> MA> I don't remember why we have done this, but for consistency reasons,
> MA> "/ssh:host:// TAB" should complete to "/ssh:host:/", and "/ssh:host:///
> MA> TAB" should complete to "/".
>
> MA> Opinions?
>
> Maybe that you'd be changing 30 years of muscle memory on people? I use //
> several times a day to "Get back to root", when I don't want to complete
> within a sub-path. It also works in places (like ivy) where C-a C-k doesn't
> always.
Good point. However, when I use // in remote file names, often it works
as expected, sometimes not due to that inconsistency. And I *know* what
I'm doing, I have implemented this. But my muscle memory doesn't care :-)
I don't insist in changing the current behaviour. But shouldn't we adapt
then Eli's wording slightly?
Best regards, Michael.