Re: Orderless matches all TRAMP methods

Michael Albinus <[email protected]>
Newsgroups gmane.emacs.tramp
Message-ID <[email protected]>
Peter Oliver <[email protected]> writes:

Hi Peter,

> I experience the following problem when trying to complete local filenames when TRAMP is loaded.
>
> In "emacs-29.1.90 -Q", I run:
>
> (package-initialize)
> (require 'orderless)
> (setq completion-styles '(orderless))
>
> Then, I type:
>
> C-x C-f C-a C-k /ssh: C-a C-k /zzz TAB
>
> I see:
>
> Click on a completion to select it.
> In this buffer, type RET to select the completion near point.
>
> 45 possible completions:
> -:             adb:           afp:           dav:           davs:
> doas:          docker:        fcp:           ftp:           gdrive:
> krlogin:       ksu:           kubernetes:    mtp:           nc:
> nextcloud:     plink-ksh:     plink:         plinkx:        podman:
> pscp:          psftp:         rclone:        rcp:           remcp:
> remsh:         rsh:           rsync:         scp-ksh:       scp:
> scpx:          sftp:          sg:            smb:           ssh-ksh:
> ssh:           sshfs:         sshx:          su:            sudo-csw-ksh:
> sudo-csw:      sudo-ksh:      sudo:          sudoedit:      telnet:
>
> This isn’t correct, since none of these match "/zzz".

Thanks, I can reproduce it. I'll debug next days (I'm not so fluent with
orderless, so I need some initia first).

Perhaps it is a good idea to write it also as Emacs bug report. This
would make it easier to add a possible solution to Emacs 29.2, which is
in its pretest already.

Best regards, Michael.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.