[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Updating *Completions* as you type
From: |
Michael Albinus |
Subject: |
Re: Updating *Completions* as you type |
Date: |
Mon, 16 Oct 2023 16:50:02 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
Hi Eli,
>> >> + (while-no-input
>> >> + (let ((non-essential t))
>> > ^^^^^^^^^^^^^^^
>> > Why?
>>
>> This I borrowed from zcomplete. It seems sensible, since
>> non-essential's docstring says:
>>
>> E.g., it can be used to prevent Tramp from prompting the user for a
>> password when we are [...] displaying possible completions before the
>> user even asked for it.
>
> So completion on remote files will not be able to benefit from this?
No, remote files are not kicked out by this. non-essential just prevents
to open a *new* connection during the completion phase, when there
doesn't exist one already. If the connection exists already,
non-essential isn't relevant.
However, I believe it isn't needed here. Updating *Completions* will
happen only if a completion package is active. And they bind
non-essential already.
Best regards, Michael.
- Re: Updating *Completions* as you type, (continued)
Re: Updating *Completions* as you type, Juri Linkov, 2023/10/13
- Re: Updating *Completions* as you type, Spencer Baugh, 2023/10/14
- Re: Updating *Completions* as you type, Juri Linkov, 2023/10/14
- Re: Updating *Completions* as you type, sbaugh, 2023/10/15
- Re: Updating *Completions* as you type, Eli Zaretskii, 2023/10/15
- Re: Updating *Completions* as you type, sbaugh, 2023/10/15
- Re: Updating *Completions* as you type, Eli Zaretskii, 2023/10/16
- Re: Updating *Completions* as you type,
Michael Albinus <=
- RE: [External] : Re: Updating *Completions* as you type, Drew Adams, 2023/10/16
Re: Updating *Completions* as you type, sbaugh, 2023/10/16
Re: Updating *Completions* as you type, Juri Linkov, 2023/10/17
Re: Updating *Completions* as you type, Spencer Baugh, 2023/10/18
Re: Updating *Completions* as you type, Juri Linkov, 2023/10/15
Re: Updating *Completions* as you type, Rudolf Adamkovič, 2023/10/16
Re: Updating *Completions* as you type, Juri Linkov, 2023/10/17
Re: Updating *Completions* as you type, Eshel Yaron, 2023/10/15
RE: [External] : Re: Updating *Completions* as you type, Drew Adams, 2023/10/15
Re: Updating *Completions* as you type, Juri Linkov, 2023/10/16