[Top][All Lists]

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

Re: enable sorting by version in `ls-lisp-handle-switches'

From: Stefan Monnier
Subject: Re: enable sorting by version in `ls-lisp-handle-switches'
Date: Sun, 07 Mar 2010 09:49:49 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (gnu/linux)

> At first, I made `string-version-lessp', by referring to
> `glibc-2.11.1/string/strverscmp.c'.
> But I was not satisfied with the spec.
> So I made another function `string-logical-lessp'.

> If no problems, please apply to `ls-lisp.el'.

You may also want to take a look at mpc-compare-strings which does
something similar, tho simpler (not specific to versions, just taking
care of numbers).


reply via email to

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