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
[Message part 1 (text/plain, inline)]
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.
I think i will need to change the commit message for the patch, because it
can misunderstand.
>
[Message part 2 (text/html, inline)]
This bug report was last modified 1 year and 61 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.