[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add user customization fido-completion-styles
From: |
Eli Zaretskii |
Subject: |
Re: Add user customization fido-completion-styles |
Date: |
Tue, 02 Jun 2020 21:35:18 +0300 |
> From: João Távora <joaotavora@gmail.com>
> Cc: drew.adams@oracle.com, emacs-devel@gnu.org
> Date: Tue, 02 Jun 2020 19:24:45 +0100
>
> This is complete-with-action minus docstring, can you help me understand
> what's going on?
>
> (defun complete-with-action (action collection string predicate)
> (cond
> ((functionp collection) (funcall collection string predicate action))
> ((eq (car-safe action) 'boundaries) nil)
> ((eq action 'metadata) nil)
> (t
> (funcall
> (cond
> ((null action) 'try-completion)
> ((eq action t) 'all-completions)
> (t 'test-completion))
> string collection predicate))))
What is 'collection'? is it a function?
Anyway, I suggest to run the same experiment after loading all the
code involved in this as *.el files (not *.elc). That should show a
more detailed profile, which hopefully will give a clue.
- Re: Add user customization fido-completion-styles, Andrew Schwartzmeyer, 2020/06/01
- Re: Add user customization fido-completion-styles, João Távora, 2020/06/02
- RE: Add user customization fido-completion-styles, Drew Adams, 2020/06/02
- Re: Add user customization fido-completion-styles, João Távora, 2020/06/02
- Re: Add user customization fido-completion-styles, Eli Zaretskii, 2020/06/02
- Re: Add user customization fido-completion-styles, João Távora, 2020/06/02
- Re: Add user customization fido-completion-styles,
Eli Zaretskii <=
- Re: Add user customization fido-completion-styles, João Távora, 2020/06/02
- Re: Add user customization fido-completion-styles, Eli Zaretskii, 2020/06/02
- Re: Add user customization fido-completion-styles, João Távora, 2020/06/02
- RE: Add user customization fido-completion-styles, Drew Adams, 2020/06/02