org-mode/lisp
Kyle Meyer 9d9f5179e7 org-sort: Read compare-func in interactive calls
* lisp/org-macs.el (org-read-function): New function.
* lisp/org-table.el (org-table-sort-lines): Make WITH-CASE an optional
argument to match org-sort-entries and org-sort-list.
* lisp/org.el (org-sort-entries):
* lisp/org-table.el (org-table-sort-lines):
* lisp/org-list.el (org-sort-list): Read COMPARE-FUNC when called
interactively rather than being restricted to the default behavior of
sort-subr's PREDICATE parameter.  Only prompt for for GETKEY-FUNC and
COMPARE-FUNC during an interactive call, like org-table-sort-lines
already did for GETKEY-FUNC, but use an argument rather than relying
on the brittle called-interactively-p.

Suggested-by: Zhitao Gong <zhitaao.gong@gmail.com>
<https://lists.gnu.org/archive/html/emacs-orgmode/2017-05/msg00040.html>
2017-05-18 14:46:33 -04:00
..
Makefile Makefile (clean-install): Also remove ox*.el* files 2013-04-18 14:43:45 +02:00
ob-C.el ob-C: Fix command to perform on remote host 2017-04-25 10:08:48 +02:00
ob-J.el Change :version in defcustoms from "25.2" to "26.1" 2017-01-26 00:02:03 -05:00
ob-R.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-abc.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-asymptote.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-awk.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-calc.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-clojure.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-comint.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-coq.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-core.el ob-core: Fix regression 2017-05-08 11:25:17 +02:00
ob-css.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-ditaa.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-dot.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-ebnf.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-emacs-lisp.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-eval.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-exp.el ob-exp: Fix export of src blocks with pathological name 2017-03-18 10:28:15 +01:00
ob-forth.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-fortran.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-gnuplot.el ob-gnuplot: escape % character in output 2017-05-08 11:38:45 +02:00
ob-groovy.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-haskell.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-io.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-java.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-js.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-keys.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-latex.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-ledger.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-lilypond.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-lisp.el Change :version in defcustoms from "25.2" to "26.1" 2017-01-26 00:02:03 -05:00
ob-lob.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-lua.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-makefile.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-matlab.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-maxima.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-mscgen.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-ocaml.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-octave.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-org.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-perl.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-picolisp.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-plantuml.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-processing.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-python.el ob-python: Honor the :python header argument in python src blocks 2017-04-29 16:26:33 +02:00
ob-ref.el Backport commit 3c4c8ca06 from Emacs 2017-05-15 00:02:53 -04:00
ob-ruby.el ob-ruby: Silence byte-compiler 2017-01-02 00:14:06 +01:00
ob-sass.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-scala.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-scheme.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-screen.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-sed.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-shell.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-shen.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-sql.el ob-sql.el: Fix filename conversion in minGW environment. 2017-04-16 09:24:06 +02:00
ob-sqlite.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-stan.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-table.el Update copyright years 2017-01-05 20:19:37 -05:00
ob-tangle.el Update copyright years 2017-01-05 20:19:37 -05:00
ob.el Update copyright years 2017-01-05 20:19:37 -05:00
org-agenda.el org-agenda: Fix logging with bulk-deadlining 2017-05-12 00:39:06 +02:00
org-archive.el Update copyright years 2017-01-05 20:19:37 -05:00
org-attach.el Change :version in defcustoms from "25.2" to "26.1" 2017-01-26 00:02:03 -05:00
org-bbdb.el Update copyright years 2017-01-05 20:19:37 -05:00
org-bibtex.el Change :version in defcustoms from "25.2" to "26.1" 2017-01-26 00:02:03 -05:00
org-capture.el org-capture: Fix typo 2017-04-17 20:04:09 +02:00
org-clock.el org-clock: Disambiguate character syntax 2017-05-15 00:34:58 +02:00
org-colview.el org-colview: Fix agenda columns with diary entries 2017-04-28 00:23:49 +02:00
org-compat.el ob-core: Small refactoring 2017-05-01 15:33:09 +02:00
org-crypt.el Update copyright years 2017-01-01 11:19:15 +01:00
org-ctags.el Update copyright years 2017-01-05 20:19:37 -05:00
org-datetree.el Update copyright years 2017-01-05 20:19:37 -05:00
org-docview.el Update copyright years 2017-01-05 20:19:37 -05:00
org-element.el org-element: Fix $...$ fragments followed by an apostrophe 2017-05-13 09:18:07 +02:00
org-entities.el Update copyright years 2017-01-05 20:19:37 -05:00
org-eshell.el Update copyright years 2017-01-05 20:19:37 -05:00
org-eww.el org-eww: Fix copy of form-elements 2017-02-12 09:00:56 +01:00
org-faces.el Change :version in defcustoms from "25.2" to "26.1" 2017-01-26 00:02:03 -05:00
org-feed.el Update copyright years 2017-01-05 20:19:37 -05:00
org-footnote.el Update copyright years 2017-01-05 20:19:37 -05:00
org-gnus.el Update copyright years 2017-01-05 20:19:37 -05:00
org-habit.el Update copyright years 2017-01-05 20:19:37 -05:00
org-id.el Update copyright years 2017-01-05 20:19:37 -05:00
org-indent.el Update copyright years 2017-01-05 20:19:37 -05:00
org-info.el org-info: Fix HTML export of info link 2017-01-21 13:48:27 +01:00
org-inlinetask.el Update copyright years 2017-01-05 20:19:37 -05:00
org-install.el org-install.el: Do not warn users. 2013-01-22 14:08:39 +01:00
org-irc.el Update copyright years 2017-01-05 20:19:37 -05:00
org-lint.el org-lint: Add checker for empty headlines with tags 2017-02-17 13:23:26 +01:00
org-list.el org-sort: Read compare-func in interactive calls 2017-05-18 14:46:33 -04:00
org-macro.el Update copyright years 2017-01-05 20:19:37 -05:00
org-macs.el org-sort: Read compare-func in interactive calls 2017-05-18 14:46:33 -04:00
org-mhe.el Don't call kill-this-buffer outside of menus 2017-04-16 17:07:44 -04:00
org-mobile.el org-mobile: Fix bug in mobile outline path handling 2017-04-10 21:16:05 +02:00
org-mouse.el Update copyright years 2017-01-05 20:19:37 -05:00
org-pcomplete.el Update copyright years 2017-01-05 20:19:37 -05:00
org-plot.el Update copyright years 2017-01-05 20:19:37 -05:00
org-protocol.el org-protocol: Don't push url to kill-ring 2017-04-18 08:26:42 +02:00
org-rmail.el Update copyright years 2017-01-05 20:19:37 -05:00
org-src.el org-src: Fix indentation when tabs are involved 2017-04-29 11:45:45 +02:00
org-table.el org-sort: Read compare-func in interactive calls 2017-05-18 14:46:33 -04:00
org-timer.el Change :version in defcustoms from "25.2" to "26.1" 2017-01-26 00:02:03 -05:00
org-w3m.el Update copyright years 2017-01-05 20:19:37 -05:00
org.el org-sort: Read compare-func in interactive calls 2017-05-18 14:46:33 -04:00
ox-ascii.el Revert "ox-ascii: Remove useless brackets in sub/super script" 2017-03-11 11:21:26 +01:00
ox-beamer.el Fix LaTeX and Beamer publishing processes 2017-03-08 09:33:09 +01:00
ox-html.el Fontify inline source blocks when exporting to HTML 2017-05-15 18:28:34 +02:00
ox-icalendar.el Update copyright years 2017-01-05 20:19:37 -05:00
ox-latex.el ox-latex: Remove unwanted indentation in horizontal rules 2017-04-16 09:33:33 +02:00
ox-man.el ox-man: Add new line before line break tag 2017-04-01 10:17:01 +02:00
ox-md.el ox-md: Fix internal links 2017-03-10 18:52:06 +01:00
ox-odt.el Change :version in defcustoms from "25.2" to "26.1" 2017-01-26 00:02:03 -05:00
ox-org.el ox-org: Fix footnotes export, part 2 2017-03-15 14:30:52 +01:00
ox-publish.el ox-publish: Consistently cache properties 2017-05-05 23:22:23 +02:00
ox-texinfo.el Change :version in defcustoms from "25.2" to "26.1" 2017-01-26 00:02:03 -05:00
ox.el ox: Do not trim leading and trailing blank lines from code 2017-04-29 14:32:29 +02:00