Jim Porter <[email protected]> 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.
