From: Daniele Nicolodi <daniele@grinta.net>
To: "Daniel Martín" <mardani29@yahoo.es>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Collecting completion candidates from multiple files
Date: Thu, 13 Jan 2022 09:53:55 +0100 [thread overview]
Message-ID: <5fef94c1-c05e-4cb3-6022-0ba8ca86698d@grinta.net> (raw)
In-Reply-To: <m11r1cmtjq.fsf@yahoo.es>
On 13/01/2022 00:19, Daniel Martín wrote:
> Daniele Nicolodi <daniele@grinta.net> writes:
>
>> Hello,
>>
>> is there a standard facility and/or user interface to collect
>> completion candidates from multiple files composing a project?
>>
>> I'm developing a mode for a language that has an "include" facility
>> and I would like to support collecting completion candidates from the
>> definitions contained in all the files that compose a project,
>> independently of whether the current buffer has an explicit "include"
>> directive or not.
>
> The standard facility provided by Emacs is based on the hook
> completion-at-point-functions, that each major mode can customize to
> provide appropriate completion on the text in Emacs buffers.
Hello Martin,
thank you for your response, I know how to implement completion. What
I'm inquiring about is how to implement the collection of completion
candidates from multiple buffers. I can implement this in my mode,
however I'm wondering if Emacs already has a facility for this kind of
things.
Cheers,
Dan
next prev parent reply other threads:[~2022-01-13 8:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-12 20:48 Collecting completion candidates from multiple files Daniele Nicolodi
2022-01-12 23:19 ` Daniel Martín
2022-01-13 8:53 ` Daniele Nicolodi [this message]
2022-01-13 14:19 ` Stefan Monnier
2022-01-13 14:47 ` xenodasein--- via Emacs development discussions.
2022-01-13 15:14 ` Daniel Martín
2022-01-13 15:32 ` xenodasein--- via Emacs development discussions.
2022-01-13 17:37 ` Stefan Monnier
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=5fef94c1-c05e-4cb3-6022-0ba8ca86698d@grinta.net \
--to=daniele@grinta.net \
--cc=emacs-devel@gnu.org \
--cc=mardani29@yahoo.es \
/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.