bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16555: 24.3.50; Company and CAPF: dealing with completion values con


From: Stefan Monnier
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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> * 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]