zsh-workers
 help / color / mirror / code / Atom feed
* [5.9 BUG] strange partial-word completion with matcher-list
@ 2022-06-23 13:27 Vincent Lefevre
  2022-06-23 14:12 ` Vincent Lefevre
  0 siblings, 1 reply; 2+ messages in thread
From: Vincent Lefevre @ 2022-06-23 13:27 UTC (permalink / raw)
  To: zsh-workers

On a Debian/unstable machine with zsh 5.9, I get the strange
following partial-word completion. There is no such issue on
a Debian/stable machine with zsh 5.8.

To reproduce it:

mkdir test-directory
cd test-directory
touch mpfr-impl.h mpfr-intmax.h
autoload -U compinit
compinit
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*'

Then type

  : m-i

and [Tab] to complete on "m-i". I get:

  : mpfr-iN.h

with the cursor over the period. The character "N" is incorrect.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [5.9 BUG] strange partial-word completion with matcher-list
  2022-06-23 13:27 [5.9 BUG] strange partial-word completion with matcher-list Vincent Lefevre
@ 2022-06-23 14:12 ` Vincent Lefevre
  0 siblings, 0 replies; 2+ messages in thread
From: Vincent Lefevre @ 2022-06-23 14:12 UTC (permalink / raw)
  To: zsh-workers

On 2022-06-23 15:27:17 +0200, Vincent Lefevre wrote:
[...]
> Then type
> 
>   : m-i
> 
> and [Tab] to complete on "m-i". I get:
> 
>   : mpfr-iN.h
> 
> with the cursor over the period. The character "N" is incorrect.

This was fixed in commit 3e3cfabcc74dc79d4d8717c4e5859d8d01be6c54
(<https://zsh.org/workers/50325>).

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-23 14:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-23 13:27 [5.9 BUG] strange partial-word completion with matcher-list Vincent Lefevre
2022-06-23 14:12 ` Vincent Lefevre

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).