tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix hostname completion on MS Windows


From: Michael Albinus
Subject: Re: [PATCH] Fix hostname completion on MS Windows
Date: Fri, 09 Apr 2021 10:03:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jim Porter <jporterbugs@gmail.com> writes:

Hi Jim,

>> I know, that Eli Zaretskii (maintainer of Emacs) has committed several
>> patches in order to drop such a volume letter for remote file names, but
>> I don't remember where they have been applied. Perhaps, this was an
>> Emacs 28 change.
>
> It looks like `file-name-completion' still adds the volume letter by
> calling `expand-file-name' on Emacs 28. I didn't see any changes to
> `file-name-completion' since Emacs 27.

Yes, you are right. I've pushed your patch to the repositories, with
slighly reformatted comment.

> [1] At least for sshx, my understanding is that this would only happen
> if you had the connection info cached in ~/.emacs.d/tramp, so you
> wouldn't see this with "emacs -Q" even with my patch to fix things. It
> would matter in everyday usage though.

Hmm, strange. Tramp knows several places to grab host names for
completion, for example ~/.ssh/config and ~/.ssh/known_hosts. Doesn't
this work for you?

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]