all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Sorting Order of Completion Candidates
@ 2011-02-28 14:29 Florian Beck
  2011-03-01  1:25 ` Drew Adams
  0 siblings, 1 reply; 15+ messages in thread
From: Florian Beck @ 2011-02-28 14:29 UTC (permalink / raw)
  To: gnu-emacs-help

While writing some code to index my notes I have run into a problem.
I have a carefully crafted list of keywords sorted in order of 
frequency. (When assigning new keywords I want to consider the most 
frequent keywords first.) However

 > (completing-read "Prompt: " '("a" "c" "b"))

gives me

 > Possible completions are:
 > a
 > b
 > c

whereas I want


 > Possible completions are:
 > a
 > c
 > b

If there is no option or hook, if guess I could just modify the 
*Completions* buffer. Any hints how/where it is set up?

Many thanks in advance!



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2011-03-08 14:44 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-28 14:29 Sorting Order of Completion Candidates Florian Beck
2011-03-01  1:25 ` Drew Adams
2011-03-01 10:59   ` Florian Beck
     [not found]   ` <mailman.0.1298977158.15512.help-gnu-emacs@gnu.org>
2011-03-01 14:48     ` Stefan Monnier
2011-03-01 16:29       ` Ted Zlatanov
2011-03-01 18:22         ` Florian Beck
     [not found]         ` <mailman.2.1299003773.19166.help-gnu-emacs@gnu.org>
2011-03-01 19:25           ` Ted Zlatanov
2011-03-01 20:41             ` Florian Beck
     [not found]             ` <mailman.9.1299012339.12270.help-gnu-emacs@gnu.org>
2011-03-01 22:00               ` Ted Zlatanov
2011-03-03 23:29         ` Stefan Monnier
2011-03-04 15:45           ` Ted Zlatanov
2011-03-05  4:48             ` Stefan Monnier
2011-03-07 18:27               ` Ted Zlatanov
2011-03-08  4:09                 ` Stefan Monnier
2011-03-08 14:44                   ` Ted Zlatanov

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.