From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21284: 25.0.50; `completion-file-name-table' should/not use `nreverse'? Date: Mon, 06 Jun 2016 17:43:04 +0300 Message-ID: <83mvmytm2v.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1465225377 18296 80.91.229.3 (6 Jun 2016 15:02:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Jun 2016 15:02:57 +0000 (UTC) Cc: 21284@debbugs.gnu.org, esq@lawlist.com, mbork@mbork.pl To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 06 17:02:46 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b9w3B-0007Vg-VH for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Jun 2016 17:02:46 +0200 Original-Received: from localhost ([::1]:43000 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9w3B-0004Vc-4d for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Jun 2016 11:02:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9vlA-00059b-D1 for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2016 10:44:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b9vl4-000815-D5 for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2016 10:44:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44541) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9vl4-000811-9X for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2016 10:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b9vl4-00082d-4G for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2016 10:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Jun 2016 14:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21284 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible Original-Received: via spool by 21284-submit@debbugs.gnu.org id=B21284.146522421430864 (code B ref 21284); Mon, 06 Jun 2016 14:44:02 +0000 Original-Received: (at 21284) by debbugs.gnu.org; 6 Jun 2016 14:43:34 +0000 Original-Received: from localhost ([127.0.0.1]:56878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9vkb-00081k-PN for submit@debbugs.gnu.org; Mon, 06 Jun 2016 10:43:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9vkZ-00081X-8H for 21284@debbugs.gnu.org; Mon, 06 Jun 2016 10:43:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b9vkP-0007ry-4e for 21284@debbugs.gnu.org; Mon, 06 Jun 2016 10:43:26 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52748) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9vjd-0007Rq-99; Mon, 06 Jun 2016 10:42:33 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4029 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b9vjb-0005Zx-5i; Mon, 06 Jun 2016 10:42:31 -0400 In-reply-to: (message from Noam Postavsky on Sun, 5 Jun 2016 22:50:10 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:119148 Archived-At: > From: Noam Postavsky > Date: Sun, 5 Jun 2016 22:50:10 -0400 > Cc: Keith David Bershatsky , Marcin Borkowski > 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.