From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 16555@debbugs.gnu.org
Subject: bug#16555: 24.3.50; Company and CAPF: dealing with completion values containing extra text
Date: Sun, 26 Jan 2014 01:23:15 -0500 [thread overview]
Message-ID: <jwv38kbl0w7.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <87d2jfxtzo.fsf@yandex.ru> (Dmitry Gutov's message of "Sun, 26 Jan 2014 06:11:23 +0200")
> * Including extra text in completion table seems like it won't mesh well
> with the completion-at-point-functions interface, and specifically
> with the completion-at-point as the frontend. How would one write a
> CAPF function for clang or eclim with argument lists in mind?
From a CAPF point of view, I think it would work as follows:
- all-completions would return the "cropped" names.
- `annotate-function' would be used to add the arglists to *Completions*.
- `exit-function' would be used to insert the arglist after selecting
a candidate.
Stefan
next prev parent reply other threads:[~2014-01-26 6:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-26 4:11 bug#16555: 24.3.50; Company and CAPF: dealing with completion values containing extra text Dmitry Gutov
2014-01-26 6:23 ` Stefan Monnier [this message]
2014-01-26 22:52 ` Dmitry Gutov
2014-01-27 2:46 ` Stefan Monnier
2014-01-28 5:37 ` Dmitry Gutov
2014-01-28 13:24 ` Stefan Monnier
2014-01-28 16:00 ` Dmitry Gutov
2014-01-28 22:04 ` Stefan Monnier
2014-01-28 22:51 ` Dmitry Gutov
2014-01-29 1:34 ` 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=jwv38kbl0w7.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=16555@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
/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).