org-mode/lisp
Nicolas Goaziou 74d3bd484f Factorize tags parsing
* lisp/org.el (org-tag-string-to-alist):
(org-tag-alist-to-string):
(org-tag-alist-to-groups): New functions.
(org-set-regexps-and-options): Use new functions.

(org--setup-process-tags): Remove function.

(org--setup-collect-keywords): Return tag groups as a string instead of
a list so as to be compatible with new functions.

* lisp/org-mobile.el (org-mobile-create-index-file): Use new functions.

* lisp/org-pcomplete.el (pcomplete/org-mode/file-option/tags): Use new
  functions.
(pcomplete/org-mode/tag): Small refactoring.

* testing/lisp/test-org.el (test-org/tag-string-to-alist):
(test-org/tag-alist-to-string):
(test-org/tag-alist-to-groups): New tests.
2016-04-18 17:40:15 +02:00
..
Makefile Makefile (clean-install): Also remove ox*.el* files 2013-04-18 14:43:45 +02:00
ob-C.el ob-C: Add :libs to babel C++ 2016-03-26 00:32:56 +01:00
ob-J.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-R.el ob-R: Silence byte-compiler 2016-02-02 18:02:08 +01:00
ob-abc.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-asymptote.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-awk.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-calc.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-clojure.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-comint.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-coq.el ox-coq.el: Clean up 2016-02-11 08:54:03 +01:00
ob-core.el Use Babel cache when exporting src blocks 2016-03-17 00:23:02 +01:00
ob-css.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-ditaa.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-dot.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-ebnf.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-emacs-lisp.el Add org-babel-make-language-alias function. 2016-02-22 16:04:03 +00:00
ob-eval.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-exp.el ob-lob: Improve `org-babel-lob-get-info' consistency 2016-02-11 00:32:07 +01:00
ob-forth.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-fortran.el Merge branch 'maint' 2016-02-03 23:37:26 -05:00
ob-gnuplot.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-groovy.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-haskell.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-io.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-java.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-js.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-keys.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-latex.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-ledger.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-lilypond.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-lisp.el ob-lisp: Fix error when evaluating a lisp src-block 2016-04-13 23:29:41 +02:00
ob-lob.el ob-lob: Improve `org-babel-lob-get-info' consistency 2016-02-11 00:32:07 +01:00
ob-makefile.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-matlab.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-maxima.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-mscgen.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-ocaml.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-octave.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-org.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-perl.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-picolisp.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-plantuml.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-processing.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-python.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-ref.el ob: Remove variables related to inline Babel code 2016-02-10 23:50:46 +01:00
ob-ruby.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-sass.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-scala.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-scheme.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-screen.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-sed.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-shell.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-shen.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-sql.el ob-sql.el: fix typo preventing mysql table headers from being parsed 2016-02-09 22:16:53 +01:00
ob-sqlite.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-stan.el Update copyright years for master-only files 2016-01-10 12:07:40 -05:00
ob-table.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-tangle.el ob-tangle: Fix :comment org behavior 2016-02-01 00:01:25 +01:00
ob.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
org-agenda.el org-agenda: Fix Invalid Function 4 error 2016-04-05 23:31:21 +02:00
org-archive.el Merge branch 'maint' 2016-02-11 00:49:59 +01:00
org-attach.el org-attach: Use relative path for git annex 2016-04-10 10:13:57 +02:00
org-bbdb.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
org-bibtex.el Merge branch 'maint' 2016-01-13 00:50:50 -05:00
org-capture.el Merge branch 'maint' 2016-04-13 23:48:27 +02:00
org-clock.el Merge branch 'maint' 2016-01-29 00:28:48 -05:00
org-colview.el org-colview: Fix :id in columnview 2016-02-27 09:25:01 +01:00
org-compat.el Merge branch 'maint' 2016-02-02 17:51:33 +01:00
org-crypt.el Merge branch 'maint' 2016-03-10 09:54:52 +01:00
org-ctags.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
org-datetree.el Silence byte-compiler 2016-01-13 11:43:54 +01:00
org-docview.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
org-element.el Allow angular links within link descriptions 2016-04-06 11:08:53 +02:00
org-entities.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
org-eshell.el Update copyright years 2016-01-09 17:12:03 -05:00
org-faces.el Update copyright years 2016-01-09 17:12:03 -05:00
org-feed.el org-feed: Fix 034c176 merge resolution 2016-01-24 18:23:42 -05:00
org-footnote.el Merge branch 'maint' 2016-03-11 22:51:07 -05:00
org-gnus.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
org-habit.el org-habit: Fix ++ repeaters handling 2016-01-31 00:06:29 +01:00
org-id.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
org-indent.el Merge branch 'maint' 2016-01-02 14:13:41 +01:00
org-info.el org-info.el: Generate HTML links to gnu.org 2016-03-30 15:56:02 +02:00
org-inlinetask.el Merge branch 'maint' 2016-01-09 17:43:27 -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 2016-01-09 17:12:03 -05:00
org-lint.el Update copyright years for master-only files 2016-01-10 12:07:40 -05:00
org-list.el Obsolete `org-icompleting-read' and `org-completing-read-no-i' 2016-01-10 21:16:29 +01:00
org-macro.el Merge branch 'maint' 2016-01-29 00:53:58 +01:00
org-macs.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
org-mhe.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
org-mobile.el Factorize tags parsing 2016-04-18 17:40:15 +02:00
org-mouse.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
org-pcomplete.el Factorize tags parsing 2016-04-18 17:40:15 +02:00
org-plot.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
org-protocol.el Merge branch 'maint' 2016-03-11 22:51:07 -05:00
org-rmail.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
org-src.el Merge branch 'maint' 2016-01-29 00:28:48 -05:00
org-table.el Merge branch 'maint' 2016-03-26 00:20:47 +01:00
org-timer.el Silence byte-compiler 2016-01-13 11:43:54 +01:00
org-w3m.el Update copyright years 2016-01-09 17:12:03 -05:00
org.el Factorize tags parsing 2016-04-18 17:40:15 +02:00
ox-ascii.el ox-ascii: Small refactoring 2016-04-13 23:50:15 +02:00
ox-beamer.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ox-html.el ox-html: Silence byte-compiler 2016-03-30 17:18:47 +02:00
ox-icalendar.el Merge branch 'maint' 2016-04-11 00:32:43 -04:00
ox-latex.el Merge branch 'maint' 2016-02-27 09:35:30 +01:00
ox-man.el Improve compilation checks for some back-ends 2016-01-28 10:02:04 +01:00
ox-md.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ox-odt.el Merge branch 'maint' 2016-02-09 21:55:00 +01:00
ox-org.el Merge branch 'maint' 2016-01-29 00:28:48 -05:00
ox-publish.el ox-publish: Keep code within 80 columns 2016-03-12 23:18:55 +01:00
ox-texinfo.el Merge branch 'maint' 2016-04-06 22:28:16 +02:00
ox.el ox-publish: Better handling of cross-references 2016-03-12 23:18:55 +01:00