[Top][All Lists]

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

Re: minibuffer-completion-help, metadata and determining completions sor

From: Thierry Volpiatto
Subject: Re: minibuffer-completion-help, metadata and determining completions sort order
Date: Sat, 18 Jun 2011 19:23:51 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

"T. V. Raman" <address@hidden> writes:

> 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

BTW Anything have already google suggestions.

A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 

reply via email to

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