From: Eli Zaretskii <eliz@gnu.org>
To: Keith David Bershatsky <esq@lawlist.com>
Cc: 21284@debbugs.gnu.org, mbork@mbork.pl, npostavs@users.sourceforge.net
Subject: bug#21284: 25.0.50; `completion-file-name-table' should/not use `nreverse'?
Date: Mon, 06 Jun 2016 21:50:05 +0300 [thread overview]
Message-ID: <8337oqtan6.fsf@gnu.org> (raw)
In-Reply-To: <m2r3ca9tok.wl%esq@lawlist.com> (message from Keith David Bershatsky on Mon, 06 Jun 2016 09:19:07 -0700)
> Date: Mon, 06 Jun 2016 09:19:07 -0700
> From: Keith David Bershatsky <esq@lawlist.com>
> Cc: 21284@debbugs.gnu.org,Noam Postavsky <npostavs@users.sourceforge.net>,Marcin Borkowski <mbork@mbork.pl>
>
> 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
alphabetic order.
next prev parent reply other threads:[~2016-06-06 18:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-17 17:25 bug#21284: 25.0.50; `completion-file-name-table' should/not use `nreverse'? Keith David Bershatsky
2016-05-04 7:40 ` Marcin Borkowski
2016-05-04 18:14 ` Keith David Bershatsky
2022-02-13 8:52 ` bug#21284: eshell does not sort completion candidates Lars Ingebrigtsen
2022-03-14 10:33 ` Lars Ingebrigtsen
2016-06-06 2:50 ` bug#21284: 25.0.50; `completion-file-name-table' should/not use `nreverse'? Noam Postavsky
2016-06-06 14:43 ` Eli Zaretskii
2016-06-06 23:12 ` Noam Postavsky
2016-06-06 16:19 ` Keith David Bershatsky
2016-06-06 18:50 ` Eli Zaretskii [this message]
2016-06-08 2:43 ` Noam Postavsky
2016-06-06 20:00 ` Keith David Bershatsky
2016-06-07 2:36 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8337oqtan6.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=21284@debbugs.gnu.org \
--cc=esq@lawlist.com \
--cc=mbork@mbork.pl \
--cc=npostavs@users.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.