GNU bug report logs - #21284
eshell does not sort completion candidates

Previous Next

Package: emacs;

Reported by: Keith David Bershatsky <esq <at> lawlist.com>

Date: Mon, 17 Aug 2015 18:08:01 UTC

Severity: minor

Tags: moreinfo

Found in version 25.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Noam Postavsky <npostavs <at> users.sourceforge.net>
Cc: mbork <at> mbork.pl, esq <at> lawlist.com, 21284 <at> debbugs.gnu.org
Subject: bug#21284: 25.0.50; `completion-file-name-table' should/not use `nreverse'?
Date: Mon, 06 Jun 2016 17:43:04 +0300
> From: Noam Postavsky <npostavs <at> users.sourceforge.net>
> Date: Sun, 5 Jun 2016 22:50:10 -0400
> Cc: Keith David Bershatsky <esq <at> lawlist.com>, Marcin Borkowski <mbork <at> mbork.pl>
> I'm getting completions in what looks like a random order, here are
> the first few lines for completions in the emacs src directory:

I suspect that there's a hidden factor here: the order in which the
'readdir' libc function returns the directory entries.  On GNU/Linux,
the order is arbitrary (AFAIK, it's the order of the entries in the
directory file).  On MS-Windows, the order is alphabetic, so reversing
will produce the reverse alphabetic order.  I don't know what happens
on OS X.




This bug report was last modified 3 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.