GNU bug report logs -
#71313
[PATCH] Allow insert other elisp keywords in auto-insert
Previous Next
Reported by: "Elijah G." <eg642616 <at> gmail.com>
Date: Sun, 2 Jun 2024 00:19:02 UTC
Severity: normal
Tags: patch
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Elijah G <eg642616 <at> gmail.com> writes:
> El mié., 5 de junio de 2024 5:32 a. m., Eli Zaretskii <eliz <at> gnu.org>
> escribió:
>
> > From: "Elijah G." <eg642616 <at> gmail.com>
> > Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>,
> 71313 <at> debbugs.gnu.org
> > Date: Tue, 04 Jun 2024 18:54:19 -0600
> >
> > Eli Zaretskii <eliz <at> gnu.org> writes:
> >
> > > Thanks, but how will an empty string "fix bugs from 3rd-party
> > > completion UI"? What am I missing here?
> >
> > When using Completions UI such as Vertico or Helm, there is no
> way to
> > exit from Keyword Section to go to next auto-insert Sections
> unless the
> > user press a key sequense, for auto-insert input a empty string
> allow
> > close Keyword section without cancelling the next auto-insert
> actions.
>
> But why would the user want to exit the Keyword Section without
> inputting keywords? And why are Vertico and Helm special in this
> regard?
>
> I didn't mean to exit without input any keyword, after inserting the
> keyword it will ask again for add more keywords, the problem is that
> It's an infinite loop that it's not possible exit
> without pressing any keybinding for insert an empty string (e.g. M-RET
> in Vertico), AFAIK Vertico (and helm according to some commentaries)
> have this problem because they use strictly the
> completing-read completion table for their candidates when
> require-match is non-nil, the patch can be applied since it is just a
> little change without any side-effect.
You can exit the minibuffer with empty string in Helm with C-RET.
--
Thierry
This bug report was last modified 1 year and 60 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.