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: Ergus
Subject: Re: [PATCH] Re: Other details about completion.
Date: Thu, 7 Apr 2022 11:16:49 +0200

On Thu, Apr 07, 2022 at 10:35:24AM +0300, Juri Linkov wrote:
We could add a new variable or a new value to completion-auto-help
to show the completions buffer on any edit.

This will be very complex to do with the current infrastructure.  Not
for the show, but for the update.  I wanted to do it and it required
too many changes here and there... Maybe you find a better way.

Any way.. IMHO I think that going in that direction is a bad and more
complex approach.  For such behavior it may be better to use
icomplete and similes...

icomplete is based on post-command-hook, so zcomplete would need it too.

Sorry, not agree here. If zcomplete intention is to emulate the zsh
behavior then it is not needed to use post-command-hook. Completions are
shown on demand <tab>... post-command-hook is for a behavior more like
browsers... We already have helm, ivy, icomplete, vertico, selectrum,
ido, fido (with the vertical variants too) and all the others... I don't
think we need more of that and reinvent the well once again.

Simple in better than complicated ;)


reply via email to

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