* [Question] How can I get metadata from completion-in-region
@ 2014-02-01 17:02 Thierry Volpiatto
2014-02-01 17:54 ` Thierry Volpiatto
0 siblings, 1 reply; 3+ messages in thread
From: Thierry Volpiatto @ 2014-02-01 17:02 UTC (permalink / raw)
To: emacs-devel
Hi,
is is possible to get the metadata from the 'collection' value of
`completion-in-region' ?
Actually I get my completion list with `all-completions' in my
specialized `completion-in-region-function' but I have not
the additional info at end of string.
e.g I get "foo", but I would like to have "foo <f>"
I read minibuffer.el, but I couldn't find how to get this, or maybe I
missed something, any pointer welcome.
See:
https://github.com/emacs-helm/helm/issues/407
Thanks.
--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Question] How can I get metadata from completion-in-region
2014-02-01 17:02 [Question] How can I get metadata from completion-in-region Thierry Volpiatto
@ 2014-02-01 17:54 ` Thierry Volpiatto
2014-02-01 18:20 ` Thierry Volpiatto
0 siblings, 1 reply; 3+ messages in thread
From: Thierry Volpiatto @ 2014-02-01 17:54 UTC (permalink / raw)
To: emacs-devel
Ok I finally found how to get this, sorry for the noise.
If somebody have the same problem, this info can be get with a closure
which is provided by completion-in-region in
`completion-extra-properties':
(plist-get completion-extra-properties :annotation-function)
--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Question] How can I get metadata from completion-in-region
2014-02-01 17:54 ` Thierry Volpiatto
@ 2014-02-01 18:20 ` Thierry Volpiatto
0 siblings, 0 replies; 3+ messages in thread
From: Thierry Volpiatto @ 2014-02-01 18:20 UTC (permalink / raw)
To: emacs-devel
Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
> Ok I finally found how to get this, sorry for the noise.
>
> If somebody have the same problem, this info can be get with a closure
> which is provided by completion-in-region
Read `completion-at-point' instead of `completion-in-region' sorry.
> in `completion-extra-properties':
>
> (plist-get completion-extra-properties :annotation-function)
--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-02-01 18:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-01 17:02 [Question] How can I get metadata from completion-in-region Thierry Volpiatto
2014-02-01 17:54 ` Thierry Volpiatto
2014-02-01 18:20 ` Thierry Volpiatto
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.