[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Orderless matches all TRAMP methods
From: |
Michael Albinus |
Subject: |
Re: Orderless matches all TRAMP methods |
Date: |
Wed, 15 Nov 2023 21:20:34 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Peter Oliver <p.d.oliver@mavit.org.uk> 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.