unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: "Dirk-Jan C. Binnema" <djcb@djcbsoftware.nl>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: ordering candidates when using completion-at-point-functions
Date: Wed, 03 Jul 2013 20:32:09 -0400	[thread overview]
Message-ID: <jwvzju3upxy.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87wqpd2qx9.fsf@djcbsoftware.nl> (Dirk-Jan C. Binnema's message of "Sat, 29 Jun 2013 12:43:14 +0300")

> Instead, I would like to deliver the candidates in order of frequency; I

What do you mean by "deliver"?

> (An alternative might be to use a display-sort-function; it seems the

Using display-sort-function sounds about right, yes.

> current org-contacts[2] does something like that; but this seems /very/
> complicated solution, which is hopefully not necessary for my modest
> needs...)

Which part do you find complicated?  We can probably provide some helper
function to make it simpler.


        Stefan



  reply	other threads:[~2013-07-04  0:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-29  9:43 ordering candidates when using completion-at-point-functions Dirk-Jan C. Binnema
2013-07-04  0:32 ` Stefan Monnier [this message]
2013-07-04  5:02   ` Dirk-Jan C. Binnema
2013-07-04  5:23     ` Jambunathan K

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=jwvzju3upxy.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=djcb@djcbsoftware.nl \
    --cc=help-gnu-emacs@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.
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).