all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Order of items in ido selection list
@ 2014-01-19 18:20 Marcin Borkowski
  2014-01-20  7:22 ` Marcin Borkowski
  0 siblings, 1 reply; 2+ messages in thread
From: Marcin Borkowski @ 2014-01-19 18:20 UTC (permalink / raw)
  To: GNU Emacs users list

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?

Best,

-- 
Marcin Borkowski
room B3-46, phone no +48 61 829 5375
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University



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

* Re: Order of items in ido selection list
  2014-01-19 18:20 Order of items in ido selection list Marcin Borkowski
@ 2014-01-20  7:22 ` Marcin Borkowski
  0 siblings, 0 replies; 2+ messages in thread
From: Marcin Borkowski @ 2014-01-20  7:22 UTC (permalink / raw)
  To: help-gnu-emacs

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



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

end of thread, other threads:[~2014-01-20  7:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-19 18:20 Order of items in ido selection list Marcin Borkowski
2014-01-20  7:22 ` Marcin Borkowski

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.