[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: feature/completions-highlight-modifications e3c5b99 3/6: Add complet
From: |
Juri Linkov |
Subject: |
Re: feature/completions-highlight-modifications e3c5b99 3/6: Add completions-highlight-mode initial implementation. |
Date: |
Sat, 21 Nov 2020 21:30:17 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
>>> Maybe we should look more how zsh behaves... and try to mimic that as
>>> much as possible. Because it is already pretty consisten
>>
>>Does zsh use arrow keys to navigate in completions?
>>How then it's possible to get previous/next history item (up/down arrows),
>>and move the cursor in the command line (left/right arrows)?
>
> Similar to what we are doing.
>
> 1) When NO completions shown: previous/next history and so on.
> 2) When completions are shown: navigate completions.
>
> Completions are only shown after a "tab request" 1->2 (unlike
> incomplete)
Trying to mimic the 'zsh' behavior is a good thing. Using
'zsh' as a reference, what do you think about naming the package
'zcomplete'.
> If you type any letter completions disappear, inserts a space and then
> the letter, so
>
> backspace just hides completions (deletes the inserted space), so goes
> from 2->1 easily (unlike *Completions*).
If you want to emulate the 'zsh' behavior, then much simpler approach
would be to allow TAB to pop-up the completions buffer, i.e. to display
and switch to it. Then all motion keys will be available by default.
To display the cursor in the minibuffer is still possible by using
'(cursor-in-echo-area t)'. RET will insert the completion under point
to the minibuffer. Any self-inserting key could switch back
to the minibuffer and insert its character.
- RE: feature/completions-highlight-modifications e3c5b99 3/6: Add completions-highlight-mode initial implementation., (continued)
- Re: feature/completions-highlight-modifications e3c5b99 3/6: Add completions-highlight-mode initial implementation., Juri Linkov, 2020/11/18
- RE: feature/completions-highlight-modifications e3c5b99 3/6: Add completions-highlight-mode initial implementation., Drew Adams, 2020/11/18
- Re: feature/completions-highlight-modifications e3c5b99 3/6: Add completions-highlight-mode initial implementation., Ergus, 2020/11/18
- Re: feature/completions-highlight-modifications e3c5b99 3/6: Add completions-highlight-mode initial implementation., Juri Linkov, 2020/11/19
- Re: feature/completions-highlight-modifications e3c5b99 3/6: Add completions-highlight-mode initial implementation., Ergus, 2020/11/19
- Re: feature/completions-highlight-modifications e3c5b99 3/6: Add completions-highlight-mode initial implementation., Juri Linkov, 2020/11/20
- Message not available
- Re: feature/completions-highlight-modifications e3c5b99 3/6: Add completions-highlight-mode initial implementation.,
Juri Linkov <=
- Re: feature/completions-highlight-modifications e3c5b99 3/6: Add completions-highlight-mode initial implementation., Ergus, 2020/11/22
- Re: feature/completions-highlight-modifications e3c5b99 3/6: Add completions-highlight-mode initial implementation., Juri Linkov, 2020/11/22
- Re: feature/completions-highlight-modifications e3c5b99 3/6: Add completions-highlight-mode initial implementation., Ergus, 2020/11/22
- Re: feature/completions-highlight-modifications e3c5b99 3/6: Add completions-highlight-mode initial implementation., Juri Linkov, 2020/11/23
- Re: feature/completions-highlight-modifications e3c5b99 3/6: Add completions-highlight-mode initial implementation., Ergus, 2020/11/23
- Re: feature/completions-highlight-modifications e3c5b99 3/6: Add completions-highlight-mode initial implementation., Jean Louis, 2020/11/23
- Re: feature/completions-highlight-modifications e3c5b99 3/6: Add completions-highlight-mode initial implementation., Eli Zaretskii, 2020/11/23
- Re: feature/completions-highlight-modifications e3c5b99 3/6: Add completions-highlight-mode initial implementation., Jean Louis, 2020/11/23
- Re: feature/completions-highlight-modifications e3c5b99 3/6: Add completions-highlight-mode initial implementation., Dmitry Gutov, 2020/11/23
- Re: feature/completions-highlight-modifications e3c5b99 3/6: Add completions-highlight-mode initial implementation., Ergus, 2020/11/23