all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#55787: 29.0.50; inconsistent sort order with ls-lisp-version-lessp
@ 2022-06-03 23:21 TAKAHASHI Yoshio
  2022-06-04  7:44 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: TAKAHASHI Yoshio @ 2022-06-03 23:21 UTC (permalink / raw)
  To: 55787

Hi,

I encounter an inconsistent sort result.  The position of "01.0" and/or
"01.2" seems wrong.


$ cat /tmp/test.el
(require 'ls-lisp)
(print (sort (vector "01.0" "10" "010" "01.2")
             (lambda (x y)
               (ls-lisp-version-lessp x y))))
$ emacs -Q --batch -l /tmp/test.el

["01.0" "10" "010" "01.2"]
$

In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0)
 of 2022-05-26 built on LAPTOP-89LTAUNV
Repository revision: 531688a19e2125b20c2efa032e02b9cebbedb397
Repository branch: master
Windowing system distributor 'Microsoft Corporation', version 11.0.12010000
System Description: Ubuntu 22.04 LTS






^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-06-05  9:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-03 23:21 bug#55787: 29.0.50; inconsistent sort order with ls-lisp-version-lessp TAKAHASHI Yoshio
2022-06-04  7:44 ` Eli Zaretskii
2022-06-04 14:11   ` TAKAHASHI Yoshio
2022-06-04 14:52     ` Eli Zaretskii
2022-06-05  2:37       ` TAKAHASHI Yoshio
2022-06-05  7:01         ` Eli Zaretskii
2022-06-05  9:38           ` TAKAHASHI Yoshio
2022-06-05  9:48             ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.