[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
Keith David Bershatsky
bug#21284: 25.0.50; `completion-file-name-table' should/not use `nreverse'?
Mon, 06 Jun 2016 13:00:40 -0700
If there is/are valid reason(s) to reverse the order, then perhaps consider
mentioning one or more of those reasons in a comment within
`completion-file-name-table' along with a mention of bug 21284.
If there is no valid reason whatsoever to reverse the order, then perhaps
consider removing `nreverse` from `completion-file-name-table`.
If the issue is "de minimus", then the bug report can be closed without further
At Mon, 06 Jun 2016 21:50:05 +0300,
Eli Zaretskii wrote:
> . . .
> 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
> alphabetic order.