0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-22 17:18:35 +00:00
org-mode/testing/lisp
Sebastian Reuße 551d2f1fe7 Fix alphabetic sorting for headlines, tags
* 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.
2018-02-12 14:57:54 +01:00
..
test-ob-awk.el
test-ob-C.el Babel C, C++, D support for non-homogeneous input tables 2014-06-08 19:20:16 -04:00
test-ob-emacs-lisp.el Update copyright years 2018-01-07 00:27:54 -05:00
test-ob-exp.el
test-ob-fortran.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-header-arg-defaults.el Remove deprecated syntax for Babel properties 2016-07-04 00:41:56 +02:00
test-ob-lilypond.el Fix duplicate tests 2017-09-08 13:20:48 +02:00
test-ob-lob.el
test-ob-lua.el
test-ob-maxima.el test-ob-maxima: Revert last commit 2016-08-20 23:43:35 +02:00
test-ob-octave.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-perl.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-plantuml.el ob-plantuml: Add support for prologue and header variables 2016-12-10 12:06:04 +01:00
test-ob-python.el ob-python: Fix :session :results output multiline behavior 2017-12-18 23:59:04 -05:00
test-ob-R.el
test-ob-ruby.el Replace org-ctrl-c-ctrl-c' by org-babel-execute-maybe' 2015-01-30 18:28:05 +01:00
test-ob-scheme.el ob-scheme: Fix results error on unspecified and void values 2017-09-14 15:25:04 +02:00
test-ob-sed.el
test-ob-shell.el Fix duplicate tests 2017-09-08 13:20:48 +02:00
test-ob-sqlite.el Fix table variable with commas in ob-sqlite 2017-09-06 13:18:30 +02:00
test-ob-table.el Turn org-mode into Org or Org mode 2016-08-23 22:13:56 +02:00
test-ob-tangle.el Update URLs in source code or tests 2018-01-19 18:30:40 +01:00
test-ob-vala.el ob-vala.el: Add Vala support to Babel 2017-08-07 11:40:25 +02:00
test-ob.el test-ob: Fix test case 2018-02-05 10:45:12 +01:00
test-org-agenda.el test-org-agenda: Small refactoring 2017-08-19 19:42:20 +02:00
test-org-archive.el org-archive: Add a test 2017-12-11 23:22:21 +01:00
test-org-attach-annex.el
test-org-attach.el org-attach,test-org-attach: Refactoring. 2017-11-15 14:39:26 +01:00
test-org-capture.el org-capture: Fix aborting after inserting text at end of buffer 2017-11-03 22:20:11 +01:00
test-org-clock.el Update URLs in source code or tests 2018-01-19 18:30:40 +01:00
test-org-colview.el Merge branch 'maint' 2018-01-19 18:31:48 +01:00
test-org-datetree.el Fix failing test 2015-12-29 22:45:14 +01:00
test-org-duration.el org-duration: Fix `org-duration-to-minutes' with the empty string 2017-09-07 15:20:26 +02:00
test-org-element.el org-element: Fix example and src block interpreter. 2018-02-04 10:04:17 +01:00
test-org-feed.el Update URLs in source code or tests 2018-01-19 18:30:40 +01:00
test-org-footnote.el Merge branch 'maint' 2018-01-19 18:31:48 +01:00
test-org-info.el
test-org-inlinetask.el inlinetask: Fix folding of directly consecutive inlinetask children 2017-12-28 19:12:36 +01:00
test-org-lint.el
test-org-list.el
test-org-macro.el
test-org-macs.el
test-org-pcomplete.el Fix some tests 2017-02-13 17:21:24 +01:00
test-org-protocol.el org-protocol: Sources with date URL are supported 2017-06-28 17:44:27 +02:00
test-org-src.el Fix comma escaping with multiple leading commas 2017-10-24 09:51:43 +02:00
test-org-table.el
test-org-tempo.el
test-org-timer.el org-timer: Fix timer setting from effort property 2017-07-05 12:33:47 +02:00
test-org.el Fix alphabetic sorting for headlines, tags 2018-02-12 14:57:54 +01:00
test-ox-publish.el
test-ox.el
test-property-inheritance.el Remove deprecated syntax for Babel properties 2016-07-04 00:41:56 +02:00