emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Re: Other details about completion.


From: Juri Linkov
Subject: Re: [PATCH] Re: Other details about completion.
Date: Fri, 08 Apr 2022 10:45:48 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

>> So inserting a letter from the Completions buffer is the only thing
>> that you miss from zsh?
>
> Actually yes, that and remove the mode-line to completions...
>
>> But you also said above that this feature is
>> not important because such cases are rare: "M-x find-file /my/file/path".
>
> I can live with that. Lets say in our case adding a space does not make
> much sense, but just inserting the letter in place without completion
> may be a better behavior... But again... I can live with this.

Indeed, there is a problem with staying in the Completions buffer
and typing a letter.  When this letter will update the completion,
then the Completions buffer should be updated that causes more problems
such as where to move point after such buffer reverting, since
the Completions buffer is the current buffer, etc.

>> In all other regards, currently it works exactly like in zsh:
>> 'TAB TAB' selects the Completions window, and C-g cancels it.
>
> Yes...

So we have two possible cases: selecting a completion candidate
when the Completions buffer is the current buffer, and the second
case is when the minibuffer is current.  The first case now works fine,
and we need to improve the second case.  The new mode zcomplete-mode
will help to do this.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]