GNU bug report logs - #714
directory-files: Doc string is irritatingly vague wrt sorting.

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Wed, 13 Aug 2008 19:15:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 714 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 714 <at> debbugs.gnu.org
Subject: Re: bug#714: directory-files: Doc string is irritatingly vague wrt sorting.
Date: Fri, 15 Aug 2008 15:14:51 -0400
Alan Mackenzie wrote:

> More importantly, it doesn't state the predicate used for the sorting.
> "Obviously", this will be some sort of alphabetical sort, but this gets
> complicated for mixed case filenames and (more importantly) for character
> sets which aren't vanilla ASCII.

Will saying it uses `string-lessp' be good enough for you? The details
of said function are in the Elisp manual.




This bug report was last modified 16 years and 284 days ago.

Previous Next


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