org-mode/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
..
Makefile Makefile (clean-install): Also remove ox*.el* files 2013-04-18 14:43:45 +02:00
ob-C.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-J.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-R.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-abc.el Update copyright years 2018-01-07 00:27:54 -05:00
ob-asymptote.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-awk.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-calc.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-clojure.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-comint.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-coq.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-core.el `org-save-outline-visibility' preserve outline, blocks and drawers 2018-02-11 11:37:50 +01:00
ob-css.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-ditaa.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-dot.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-ebnf.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-emacs-lisp.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-eval.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-exp.el ob-exp: Fix Lisp evaluation when exporting a source block 2018-01-30 10:42:56 +01:00
ob-forth.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-fortran.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-gnuplot.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-groovy.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-haskell.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-hledger.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-io.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-java.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-js.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-keys.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-latex.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-ledger.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-lilypond.el Merge branch 'maint' 2018-01-19 18:22:00 +01:00
ob-lisp.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-lob.el Merge branch 'maint' 2018-01-22 19:29:32 +01:00
ob-lua.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-makefile.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-matlab.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-maxima.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-mscgen.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-ocaml.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-octave.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-org.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-perl.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-picolisp.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-plantuml.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-processing.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-python.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-ref.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-ruby.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-sass.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-scheme.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-screen.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-sed.el Update copyright years 2018-01-07 00:27:54 -05:00
ob-shell.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-shen.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-sql.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-sqlite.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-stan.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-table.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-tangle.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-vala.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-agenda.el org-agenda: Remove superfluous messages at bulk marking 2018-02-05 10:41:49 +01:00
org-archive.el Merge branch 'maint' 2018-01-19 18:22:00 +01:00
org-attach.el Merge branch 'maint' 2018-01-07 00:28:35 -05:00
org-bbdb.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-bibtex.el Update copyright years 2018-01-07 00:27:54 -05:00
org-capture.el Merge branch 'maint' 2018-01-19 18:22:00 +01:00
org-clock.el Merge branch 'maint' 2018-02-04 23:33:41 +01:00
org-colview.el org-colview: Fix typo in docstring 2018-02-10 14:03:59 +01:00
org-compat.el Fix alphabetic sorting for headlines, tags 2018-02-12 14:57:54 +01:00
org-crypt.el Update copyright years 2018-01-07 00:27:54 -05:00
org-ctags.el Update copyright years 2018-01-07 00:27:54 -05:00
org-datetree.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-docview.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-duration.el Merge branch 'maint' 2018-01-07 00:28:35 -05:00
org-element.el org-element: Fix example and src block interpreter. 2018-02-04 10:04:17 +01:00
org-entities.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-eshell.el Update copyright years 2018-01-07 00:27:54 -05:00
org-eww.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-faces.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-feed.el Merge branch 'maint' 2018-02-03 15:24:50 +01:00
org-footnote.el Merge branch 'maint' 2018-01-19 18:22:00 +01:00
org-gnus.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-goto.el Update master-only copyright years 2018-01-07 00:28:44 -05:00
org-habit.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-id.el Merge branch 'maint' 2018-01-19 18:22:00 +01:00
org-indent.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-info.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-inlinetask.el Merge branch 'maint' 2018-01-19 18:22:00 +01:00
org-install.el org-install.el: Do not warn users. 2013-01-22 14:08:39 +01:00
org-irc.el Merge branch 'maint' 2018-01-07 00:28:35 -05:00
org-lint.el Update copyright years 2018-01-07 00:27:54 -05:00
org-list.el Move `org-flag-region' to "org-macs.el" 2018-02-11 11:27:53 +01:00
org-macro.el Merge branch 'maint' 2018-01-07 00:28:35 -05:00
org-macs.el org-macs.el: Tiny re-ordering 2018-02-11 11:45:07 +01:00
org-mhe.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-mobile.el Merge branch 'maint' 2018-01-19 18:22:00 +01:00
org-mouse.el Merge branch 'maint' 2018-01-19 18:22:00 +01:00
org-pcomplete.el Merge branch 'maint' 2018-01-19 18:22:00 +01:00
org-plot.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-protocol.el Update URLs in source code or tests 2018-01-19 18:30:40 +01:00
org-rmail.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-src.el Merge branch 'maint' 2018-01-19 18:22:00 +01:00
org-table.el Merge branch 'maint' 2018-02-05 15:37:15 +01:00
org-tempo.el org-tempo: Do not activate Org Tempo in export output buffers and agenda 2018-02-11 12:06:42 +01:00
org-timer.el Merge branch 'maint' 2018-01-19 18:22:00 +01:00
org-w3m.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org.el Fix alphabetic sorting for headlines, tags 2018-02-12 14:57:54 +01:00
ox-ascii.el ox-ascii: Use angle brackets for external links 2018-02-10 14:16:37 +01:00
ox-beamer.el ox-beamer: Update copyright year 2018-01-02 11:51:26 +01:00
ox-html.el Merge branch 'maint' 2018-01-19 18:22:00 +01:00
ox-icalendar.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ox-latex.el Make manual and URL links in docstrings clickable 2018-02-05 15:27:12 +01:00
ox-man.el Update copyright years 2018-01-07 00:27:54 -05:00
ox-md.el Merge branch 'maint' 2018-01-07 00:28:35 -05:00
ox-odt.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ox-org.el Implement `org-show-all' 2018-01-10 15:58:21 +01:00
ox-publish.el Merge branch 'maint' 2018-01-18 23:43:44 +01:00
ox-texinfo.el Merge branch 'maint' 2018-01-07 00:28:35 -05:00
ox.el Merge branch 'maint' 2018-02-04 00:13:36 +01:00