From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Daniel Mendler <mail@daniel-mendler.de>
Cc: emacs-devel@gnu.org
Subject: Re: [elpa] externals/vertico 5bbddb0 03/48: add while-no-input-ignore-events
Date: Mon, 05 Apr 2021 15:02:48 -0400 [thread overview]
Message-ID: <jwvo8eslg9p.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <90493293-b944-fb6b-372f-7edded4dd3bd@daniel-mendler.de> (Daniel Mendler's message of "Mon, 5 Apr 2021 20:02:24 +0200")
>> I don't understand why you do that.
>> Was the intention to add `selection-request` to `while-no-input-ignore-events`,
>> or to remove everything else from it (which is what it does)?
>> If so, why?
> Icomplete does the same, but I am not sure about all the implications of
> this setting.
Oh I see. This is bug#38024. Thanks.
I just sent a message to that bug, you might like to see what comes out.
> Generally the idea is that the expensive candidate recomputation and
> expensive sorting (vertico--recompute-candidates) is interruptible, such
> that the UI stays responsive. The computation is started again when the next
> event comes in.
That describes the use of `while-no-input`, which I perfectly
understand, but that doesn't explain the `while-no-input-ignore-events`
binding around it which will (IIUC) make it abort whenever you focus
in/out, for example.
Stefan
next prev parent reply other threads:[~2021-04-05 19:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210405145429.5891.40124@vcs0.savannah.gnu.org>
[not found] ` <20210405145439.787C5209C7@vcs0.savannah.gnu.org>
2021-04-05 15:08 ` [elpa] externals/vertico 5bbddb0 03/48: add while-no-input-ignore-events Stefan Monnier
2021-04-05 18:02 ` Daniel Mendler
2021-04-05 19:02 ` Stefan Monnier [this message]
2021-04-05 19:25 ` Daniel Mendler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvo8eslg9p.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=mail@daniel-mendler.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.