help-gnu-emacs
[Top][All Lists]
Advanced

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

Sorting Order of Completion Candidates


From: Florian Beck
Subject: Sorting Order of Completion Candidates
Date: Mon, 28 Feb 2011 15:29:18 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

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!



reply via email to

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