mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-22 17:18:35 +00:00
551d2f1fe7
* org.el (org-sort-entries): Use collated sorting. (org-tags-sort-function): Use collated sorting. (org-string-collate-greaterp): Add helper-function to use as defcustom option, since there is no ‘string-collate-greaterp’ in Emacs. * org-compat.el (org-string-collate-lessp): Add proxy to fall-back on string-lessp when string-collate-lessp is missing (Emacs ≤ 24). * test-org.el (test-org/string-collate-lessp): Add test. (test-org/sort-entries): Add regression test for non-ASCII inputs. ‘org-sort-entries’ and ‘org-tags-sort-function’ advertise alphabetic sorting, but actually sort based only on character code. This produces non-alphabetic orderings of strings in non-ASCII locales. E. g., German Umlauts “Ä Ü Ö” are alphabetically sorted as if they were “A U O”, whereas sorting based on character-code will place them after “Z”, which is unexpected. |
||
---|---|---|
.. | ||
test-ob-awk.el | ||
test-ob-C.el | ||
test-ob-emacs-lisp.el | ||
test-ob-exp.el | ||
test-ob-fortran.el | ||
test-ob-header-arg-defaults.el | ||
test-ob-lilypond.el | ||
test-ob-lob.el | ||
test-ob-lua.el | ||
test-ob-maxima.el | ||
test-ob-octave.el | ||
test-ob-perl.el | ||
test-ob-plantuml.el | ||
test-ob-python.el | ||
test-ob-R.el | ||
test-ob-ruby.el | ||
test-ob-scheme.el | ||
test-ob-sed.el | ||
test-ob-shell.el | ||
test-ob-sqlite.el | ||
test-ob-table.el | ||
test-ob-tangle.el | ||
test-ob-vala.el | ||
test-ob.el | ||
test-org-agenda.el | ||
test-org-archive.el | ||
test-org-attach-annex.el | ||
test-org-attach.el | ||
test-org-capture.el | ||
test-org-clock.el | ||
test-org-colview.el | ||
test-org-datetree.el | ||
test-org-duration.el | ||
test-org-element.el | ||
test-org-feed.el | ||
test-org-footnote.el | ||
test-org-info.el | ||
test-org-inlinetask.el | ||
test-org-lint.el | ||
test-org-list.el | ||
test-org-macro.el | ||
test-org-macs.el | ||
test-org-pcomplete.el | ||
test-org-protocol.el | ||
test-org-src.el | ||
test-org-table.el | ||
test-org-tempo.el | ||
test-org-timer.el | ||
test-org.el | ||
test-ox-publish.el | ||
test-ox.el | ||
test-property-inheritance.el |