all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Documentation about the completion framework
@ 2019-01-21 19:22 Daniele Nicolodi
  2019-01-21 19:49 ` Eric Abrahamsen
  2019-01-21 21:17 ` Stefan Monnier
  0 siblings, 2 replies; 13+ messages in thread
From: Daniele Nicolodi @ 2019-01-21 19:22 UTC (permalink / raw)
  To: Emacs developers

Hello,

I'm implementing completion-at-point for an emacs mode.

Unfortunately docstring of the relevant elisp functions are not always
detailed and in some cases not complete. I would also really appreciate
some documentation on how the framework can be used and how is it
supposed to be used, even better if there would be some hints on how to
keep it efficient.

Does such documentation exist somewhere? Does anyone have any resource
to recommend?

One specific question I have: in some circumstances completion-at-point
enters a mode in which it is called for each keystroke (I think this is
completion-in-region-mode). How does this happen and why? I would like
to avoid that my function to collect completion targets get called on
each keystroke. Is there a way to do that?

Another question: what is the most efficient way to collect completion
targets in the current buffer? Is there an alternative from doing it at
ache invocation of the completion-at-point hook?

Thank you!

Cheers,
Dan



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-01-22 20:22 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-21 19:22 Documentation about the completion framework Daniele Nicolodi
2019-01-21 19:49 ` Eric Abrahamsen
2019-01-21 22:33   ` Daniele Nicolodi
2019-01-21 23:11     ` Eric Abrahamsen
2019-01-21 23:13   ` Drew Adams
2019-01-22 16:31     ` Eric Abrahamsen
2019-01-22 20:22       ` Drew Adams
2019-01-21 21:17 ` Stefan Monnier
2019-01-21 22:21   ` Daniele Nicolodi
2019-01-22  2:02   ` Daniele Nicolodi
2019-01-22  3:37     ` Stefan Monnier
2019-01-22  3:53       ` Daniele Nicolodi
2019-01-22 12:11         ` Stefan Monnier

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.