emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Human-readable file sorting


From: Lars Ingebrigtsen
Subject: Re: Human-readable file sorting
Date: Sat, 20 Feb 2016 18:11:52 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

John Wiegley <address@hidden> writes:

> It sounds reasonable to me. So for changing a single invocation of
> `directory-files', would I rely on `file-sorting-method' being a dynamic
> variable?

Yes, I think so.  But I don't think that's something that somebody would
do very often...  If you want a particular sorting method for one
specific call (as opposed to in the normal work flow), you'd most likely
say something like `(sort (directory-files dir nil nil t) 'my-special-sort)'
or something.  I think.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]