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

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

bug#12852: 24.2; `exit-function' not supported in completion table's met


From: Stefan Monnier
Subject: bug#12852: 24.2; `exit-function' not supported in completion table's metadata alist
Date: Sat, 10 Nov 2012 17:33:48 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> It seems inconsistent that exit-function is not implemented and
> documented like annotation-function. (info "(elisp)Programmed
> Completion")

AFAIK, the exit-function is a global property that applies to the whole
completion, whereas the annotation function is related to the
all-completions output, which can vary depending on where point is
(e.g. in file-name completion the *Completions* buffer may list files or
envvars, so you may need two different annotation-functions).

Hence the exit-function doesn't make much sense in the completion
table's metadata.


        Stefan





reply via email to

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