Ruiyang Wu <[email protected]> writes:

> Hi,

Hi Ruiyang,

> On Tramp version (2.6.0.2) (with Emacs 28.2), after setting (setq
> minibuffer-completing-file-name t), (file-exists-p "/ssh:") returns t,
> while (tramp-sh-handle-file-exists-p "/ssh:") returns 'Not a Tramp
> file name: "/ssh:"'.

tramp-sh-handle-file-exists-p should never be called with "/ssh:", it
isn't a remote file name. As the error message says. This is not a new behavior.

> On older versions of Tramp, (file-exists-p
> "/ssh:") always returns nil. This new behavior affects other
> completion systems like ivy-mode on melpa.

Yes, this has been changed for the benefit of Tramp method, user and
host name completion. See bug#37954, bug#51386, bug#52758, bug#53513,
bug#54042 and bug#60505.

I don't use ivy-mode. Could you pls give me a recipe that I can
reproduce?

Do you know another completion system which is affected?

> Best,
> Ruiyang

Best regards, Michael.

Reply via email to