org-mode/lisp
Sebastian Reuße 88bf8aef28 org-table-sort-lines: Fix case-sensitive sorting
* org-table.el (org-table-sort-lines): Fix case sensitive sorting,
improve docstring.
* test-org-table.el (test-org-table/sort-lines): Enforce C locale when
testing alphabetic sorting.

‘sort-subr’ ignores ‘sort-fold-case’ when a predicate is provided. To
correctly handle case-sensitivity, we now bake it into the predicate.

Since we are now sorting according to the user’s locale, WITH-CASE
will not make a difference in most instances, since most locales
always sort case-insensitively (cf. how GNU sort ignores the ‘-f’
switch).  We now mention this in the function docstring.

In order to meaningfully test case-sensitive sorting, we now enforce
the C locale in the respective unit test.
2018-03-13 09:09: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 Backport commit 69107f347 from Emacs 2018-02-18 16:32:41 -05: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 * ob-core.el (org-babel-result-to-file): relative file link result. 2018-03-06 14:43:22 +08: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 Replace dash by underscore in temp file names. 2018-02-24 21:39:50 +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 Backport commit 66a4e651f from Emacs 2018-02-18 16:32:41 -05:00
ob-perl.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-picolisp.el Backport commit 66a4e651f from Emacs 2018-02-18 16:32:41 -05: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 Merge branch 'maint' 2018-03-01 10:56:01 +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-03-11 19:22:25 +01:00
org-clock.el Merge branch 'maint' 2018-03-06 10:15:22 +01:00
org-colview.el org-colview: Fix typo in docstring 2018-02-10 14:03:59 +01:00
org-compat.el Fix string-collate-lessp shim 2018-03-13 09:09:48 +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 Merge branch 'maint' 2018-03-07 22:07:42 -05: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 Backport commit 66a4e651f from Emacs 2018-02-18 16:32:41 -05:00
org-faces.el New face for upcoming deadlines in agenda 2018-02-27 01:44:49 +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 org-gnus: Fix `org-gnus-store-link' 2018-03-03 23:33:17 +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 Fix alphabetic sorting for tables, plain lists 2018-03-13 09:09:07 +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 Backport commit 66a4e651f from Emacs 2018-02-18 16:32:41 -05: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 org-table-sort-lines: Fix case-sensitive sorting 2018-03-13 09:09:54 +01:00
org-tempo.el org-tempo: Fix TAB behaviour 2018-02-27 02:02:56 +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 string matching operators 2018-03-13 09:09:32 +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-02-18 16:33:04 -05:00
ox-icalendar.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ox-latex.el Backport commit 66a4e651f from Emacs 2018-02-18 16:32:41 -05: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 Backport commit 69107f347 from Emacs 2018-02-18 16:32:41 -05:00
ox-org.el Implement `org-show-all' 2018-01-10 15:58:21 +01:00
ox-publish.el Merge branch 'maint' 2018-02-15 15:04:59 +01:00
ox-texinfo.el Merge branch 'maint' 2018-02-18 16:33:04 -05:00
ox.el Merge branch 'maint' 2018-02-04 00:13:36 +01:00