unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Completion at point with empty prefix?
@ 2012-11-30  0:15 Dmitry Gutov
  2012-11-30  4:18 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Gutov @ 2012-11-30  0:15 UTC (permalink / raw)
  To: help-gnu-emacs

In the mode I'm writing, in certain contexts, there can be only a
limited set of completions when the function call has no sender.

So I don't actually need a prefix to show the user the set of methods
they can call at the point, and supporting that should increase the API
discoverability.

How do I set that up? I have a completion-at-point function working, but
if START is the same as END in the returned list, `completion-at-point'
just says "No symbol here".

I tried inserting space after point and returning END = START + 1, made
no difference.

--Dmitry




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

end of thread, other threads:[~2012-11-30 15:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-30  0:15 Completion at point with empty prefix? Dmitry Gutov
2012-11-30  4:18 ` Stefan Monnier
2012-11-30 15:32   ` Dmitry Gutov

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).