[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Order of items in ido selection list
From: |
Marcin Borkowski |
Subject: |
Re: Order of items in ido selection list |
Date: |
Mon, 20 Jan 2014 08:22:01 +0100 |
Dnia 2014-01-19, o godz. 19:20:35
Marcin Borkowski <mbork@amu.edu.pl> (by way of Marcin Borkowski
<mbork@wmi.amu.edu.pl>) napisaĆ(a):
> Hi all,
>
> I'm using the yas-ido-prompt in Yasnippet. However, my entries seem
> to be ordered alphabetically. Is there a way to have them listed in
> order I specify in the snippet?
OK, so I've figured it out. The point is, they were not sorted
alphabetically, but *reversed*, since the choice list was processed by
something like
(dolist (choice choices)
...(push choice filtered-choices))
I sent a pull request (adding a single "reverse") to the developer of
YASnippet.
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University