[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: zsh-like zcomplete-mode based on icomplete-mode
From: |
Juri Linkov |
Subject: |
Re: zsh-like zcomplete-mode based on icomplete-mode |
Date: |
Sun, 10 Apr 2022 22:11:57 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
> Works now. It's quite nice. I'm not sure if it is expected that with
> zcomplete-show-matches-on-no-input enabled, there are no *Completions*
> shown initially. For example with C-x C-f, it would be nice to
> immediately see the contents of the current directory.
There are no completions shown initially because after adapting
icomplete-mode I removed the hook 'post-command-hook'
that is the workhorse of icomplete-mode and that is
called initially to handle no input, and replaced it
with the hook 'after-change-functions' because only
changes on the minibuffer should affect the shown
completions. So an additional call of zcomplete-exhibit
should be added to the end of zcomplete-minibuffer-setup.
Maybe these fixes should be applied to a new branch.
- zsh-like zcomplete-mode based on icomplete-mode, Juri Linkov, 2022/04/09
- Re: zsh-like zcomplete-mode based on icomplete-mode, Ergus, 2022/04/09
- Re: zsh-like zcomplete-mode based on icomplete-mode, Juri Linkov, 2022/04/10
- Re: zsh-like zcomplete-mode based on icomplete-mode, Ergus, 2022/04/10
- RE: [External] : Re: zsh-like zcomplete-mode based on icomplete-mode, Drew Adams, 2022/04/10
- Re: zsh-like zcomplete-mode based on icomplete-mode, Juri Linkov, 2022/04/10
- Re: zsh-like zcomplete-mode based on icomplete-mode, Ergus, 2022/04/10
- Re: zsh-like zcomplete-mode based on icomplete-mode, Juri Linkov, 2022/04/11
- Re: zsh-like zcomplete-mode based on icomplete-mode, Juri Linkov, 2022/04/12