[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Documentation about the completion framework
From: |
Daniele Nicolodi |
Subject: |
Re: Documentation about the completion framework |
Date: |
Mon, 21 Jan 2019 20:53:06 -0700 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
On 21/01/2019 20:37, Stefan Monnier wrote:
>> Trying to understand this code: how is this different from computing
>> candidates directly in my-completion-at-point-function and passing it down?
>
> The completion function is not always called.
> The completion-in-region-mode for example just calls
> completion-at-point-function after each command (without looking up the
> completion-table) just to see if we're still within the same field.
I see. Unfortunately I didn't find any documentation of this mechanism.
Did I overlook it, or should I think about submitting a patch improving
the docstrings?
Thansk!
Cheers,
Dan