[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Collecting completion candidates from multiple files
From: |
xenodasein |
Subject: |
Re: Collecting completion candidates from multiple files |
Date: |
Thu, 13 Jan 2022 15:47:12 +0100 (CET) |
>> What I'm inquiring about is how to implement the collection of
>> completion candidates from multiple buffers.
>>
>
> It's a rather vague question. Usually completion data either comes from
> Emacs itself (e.g. lists of commands, or elements of a hash-table, ...),
> or from a buffer, or from external info (e.g. files or subprocesses) but
> rarely from several buffers. This said, I'm not sure what kind of
> difficulty you're facing nor what kind of help you expect to find from
> other examples. It'd likely depend a lot on what the actual collection
> work looks like.
>
> If you're thinking of completion data along the lines of `imenu` but not
> limited to the current buffer/file, then I suspect you're not looking
> for "multiple buffers" but "multiple files", in which case examples may
> be Eglot and CEDET?
>
>
> Stefan
>
I wondered about this also; is there built-in completion functionality that
can collect all words or symbols from existing buffers of the same mode, or
all existing buffers?