From: xenodasein--- via "Emacs development discussions." <emacs-devel@gnu.org>
To: mardani29@yahoo.es
Cc: emacs-devel@gnu.org
Subject: Re: Collecting completion candidates from multiple files
Date: Thu, 13 Jan 2022 16:32:06 +0100 (CET) [thread overview]
Message-ID: <MtJ3JWp--3-2@tutanota.de> (raw)
In-Reply-To: <m1r19bllbs.fsf@yahoo.es>
>> 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?
>>
>
> M-x find-library RET dabbrev RET
>
> This built-in library provides hooks like
> dabbrev-select-buffers-function. Packages can customize it to return a
> custom list of buffers. For example, a mode for a programming language
> that supports includes could implement a custom function that returns
> buffers created from parsing includes recursively (something like Vim's
> CTRL-P/CTRL-N, if I'm not mistaken).
>
AFAICT it doesn't have a way to connect to completion-at-point by default?
Maybe this would be a good feature to have.
next prev parent reply other threads:[~2022-01-13 15:32 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
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. [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=MtJ3JWp--3-2@tutanota.de \
--to=emacs-devel@gnu.org \
--cc=mardani29@yahoo.es \
--cc=xenodasein@tutanota.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).