all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#45234: Annotation function vs. Affixation function
@ 2020-12-14 11:07 clemera
  2020-12-14 11:53 ` Clemens
  2020-12-14 19:31 ` Juri Linkov
  0 siblings, 2 replies; 7+ messages in thread
From: clemera @ 2020-12-14 11:07 UTC (permalink / raw)
  To: 45234

On current master the results of the new annotation function are passed 
to the affixation function in minibuffer-completion-help:

     (when ann-fun
       (setq completions
             (mapcar (lambda (s)
                       (let ((ann (funcall ann-fun s)))
                         (if ann (list s ann) s)))
                     completions)))     (when aff-fun
       (setq completions
             (funcall aff-fun completions)))

If the annotation function returns a result it's packed into a list
which should be an unexpected format for the affixation function?
Maybe when both are defined only the affixation function should be used?





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

end of thread, other threads:[~2020-12-16 21:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-14 11:07 bug#45234: Annotation function vs. Affixation function clemera
2020-12-14 11:53 ` Clemens
2020-12-14 19:31 ` Juri Linkov
2020-12-15 12:35   ` Clemens
2020-12-15 20:19     ` Juri Linkov
2020-12-15 21:06       ` Clemens
2020-12-16 21:20         ` Juri Linkov

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.