From: "T. V. Raman" <tv.raman.tv@gmail.com>
To: emacs-devel@gnu.org
Subject: minibuffer-completion-help, metadata and determining completions sort order
Date: Sat, 18 Jun 2011 09:46:30 -0700 [thread overview]
Message-ID: <19964.54886.521086.231349@gargle.gargle.HOWL> (raw)
I'm having a hard time understanding how one provides custom
metadata to completion-all-completions and friends. Also, looking
at the code in minibuffer-completions-help, I see that the
metadata can provide a custom sort function -- sounds
good. However the specific use case I want is the ability to not
sort the completions -- Ineed this for implementing Google
Suggest in the minibuffer. I had asked about this many moons ago
and Stefane had said that the code in minibuffer.el would be
changing to support this, assuming the metadata functionality is
to address that and other use cases? Anyway, I'd like the
ability to be able to set things up for Google Suggest so the
completions list goes through unmolested, and as things stand,
Isuppose I could provide a no-op sorter once I figure out to
supply the metadata; however that still feels wasteful since we
would end up traversing the list of completions for no reason ---
there is no option to avoid the sort call in minibuffer-completions-help
--
Best Regards,
--raman
next reply other threads:[~2011-06-18 16:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-18 16:46 T. V. Raman [this message]
2011-06-18 17:23 ` minibuffer-completion-help, metadata and determining completions sort order Thierry Volpiatto
2011-06-18 20:03 ` Stefan Monnier
2011-06-19 16:32 ` T.V. Raman
2011-06-20 1:42 ` Stefan Monnier
-- strict thread matches above, loose matches on Subject: below --
2011-06-18 20:01 raman
2011-06-18 20:15 ` Thierry Volpiatto
2011-06-19 16:33 raman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19964.54886.521086.231349@gargle.gargle.HOWL \
--to=tv.raman.tv@gmail.com \
--cc=emacs-devel@gnu.org \
/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 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.