From: Eli Zaretskii <eliz@gnu.org>
To: "João Távora" <joaotavora@gmail.com>
Cc: drew.adams@oracle.com, emacs-devel@gnu.org
Subject: Re: Add user customization fido-completion-styles
Date: Tue, 02 Jun 2020 21:35:18 +0300 [thread overview]
Message-ID: <83h7vtco49.fsf@gnu.org> (raw)
In-Reply-To: <87o8q1l40i.fsf@gmail.com> (message from João Távora on Tue, 02 Jun 2020 19:24:45 +0100)
> 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.
next prev parent reply other threads:[~2020-06-02 18:35 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-31 21:02 Add user customization fido-completion-styles Andrew Schwartzmeyer
2020-05-31 23:43 ` João Távora
2020-05-31 23:59 ` Dmitry Gutov
2020-06-01 0:21 ` João Távora
2020-06-01 0:37 ` Andrew Schwartzmeyer
2020-06-01 4:37 ` Andrew Schwartzmeyer
2020-06-02 11:14 ` João Távora
2020-06-02 16:14 ` Drew Adams
2020-06-02 17:51 ` João Távora
2020-06-02 18:11 ` Eli Zaretskii
2020-06-02 18:24 ` João Távora
2020-06-02 18:35 ` Eli Zaretskii [this message]
2020-06-02 19:11 ` João Távora
2020-06-02 19:25 ` Eli Zaretskii
2020-06-02 20:00 ` João Távora
2020-06-02 20:51 ` Drew Adams
2020-06-02 15:40 ` Tassilo Horn
2020-06-02 15:55 ` João Távora
2020-06-02 16:47 ` Tassilo Horn
2020-06-02 17:03 ` João Távora
2020-06-02 18:05 ` Tassilo Horn
2020-06-02 17:10 ` Tassilo Horn
2020-06-02 19:28 ` João Távora
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83h7vtco49.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=joaotavora@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).