[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21284: 25.0.50; `completion-file-name-table' should/not use `nrevers
bug#21284: 25.0.50; `completion-file-name-table' should/not use `nreverse'?
Mon, 06 Jun 2016 21:50:05 +0300
> Date: Mon, 06 Jun 2016 09:19:07 -0700
> From: Keith David Bershatsky <address@hidden>
> Cc: address@hidden,Noam Postavsky <address@hidden>,Marcin Borkowski
> I am on OS X and the default sort order is alphabetic, which gets reversed by
> `completion-file-name-table` because it uses `nreverse'.
Then what exactly is the problem here? Emacs doesn't know in what
order the files are returned, it considers the order random.
Reversing a randomly ordered list produces another randomly ordered
list. Applications that need to present the list in some specific
order need to do that explicitly. For example, "C-x C-f TAB TAB" does
display the files in alphabetic order for me, not in reverse