emacs-devel
[Top][All Lists]
Advanced

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

Re: unwind-protect within while-no-input


From: Dmitry Gutov
Subject: Re: unwind-protect within while-no-input
Date: Mon, 27 May 2024 01:56:16 +0300
User-agent: Mozilla Thunderbird

On 26/05/2024 21:00, Stefan Monnier wrote:
All right. Would you say that the general class of circumstances like

  - completion is performed when Emacs is idle
  - non-essential is t
  - called by icomplete to show completion hints

is a good general rule to apply while-no-input?
Yes, basically the choice should be made on the UI side.  The completion
table itself doesn't know why the caller wants the info so it can't know
whether user input makes the request pointless.

Yeah, definitely. I was just wondering whether we should make that choice entirely in the UI, or make it additionally opt-in for completion tables (telling the UI that it's fine with such treatment).



reply via email to

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