emacs/lisp/org
Mattias Engdegård 67977ae597 Eliminate some nested repetitions in regexps
Nested repetitions such as (A*)* potentially take exponential time but
can usually be rewritten in a faster and more readable way without
much trouble.  These were all found by Relint.

* lisp/obsolete/terminal.el (te-parse-program-and-args):
* lisp/org/org.el (org-make-tags-matcher):
Apply the transform (A+B*)+ -> A(A|B)*

* lisp/textmodes/fill.el (adaptive-fill-regexp):
Apply the transform A*(B+A*)* -> (A|B)*

* lisp/progmodes/idlw-shell.el (idlwave-shell-filter):
Find the last newline or CR in a more direct way.

* lisp/progmodes/vhdl-mode.el (vhdl-port-copy, vhdl-subprog-copy):
Trim trailing whitespace from a string in a more direct way.
All-whitespace strings are left unchanged as before.
2023-10-29 17:40:36 +01:00
..
ChangeLog.1 ; Fix typos 2023-09-02 18:57:11 +02:00
ob-awk.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-C.el Update to Org 9.6.7-5-gd1d0c3 2023-07-30 16:52:11 -04:00
ob-calc.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-clojure.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-comint.el Update to Org 9.6.3-2-gf2949d 2023-04-02 23:03:32 -04:00
ob-core.el Update to Org 9.6.5-3-g2993f4 2023-04-30 19:36:21 -04:00
ob-css.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-ditaa.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-dot.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-emacs-lisp.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-eshell.el Improve org-babel-execute:eshell docstring 2023-09-17 16:57:25 +02:00
ob-eval.el Update to Org 9.6.1-31-gaf1bb1 2023-02-12 15:43:07 -05:00
ob-exp.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-forth.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-fortran.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-gnuplot.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-groovy.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-haskell.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-java.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-js.el Update to Org 9.6.4-9-g8eb209 2023-04-24 19:47:12 -04:00
ob-julia.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-latex.el Update to Org 9.6.1-48-g92471e 2023-03-18 21:41:22 -04:00
ob-lilypond.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-lisp.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-lob.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-lua.el Don't use obsolete sleep-for argument 2023-10-21 12:26:36 +02:00
ob-makefile.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-matlab.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-maxima.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-ocaml.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-octave.el Update to Org 9.6.1-34-geea8da 2023-02-20 00:41:31 -05:00
ob-org.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-perl.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-plantuml.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-processing.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-python.el Don't use obsolete sleep-for argument 2023-10-21 12:26:36 +02:00
ob-R.el Update to Org 9.6.4-9-g8eb209 2023-04-24 19:47:12 -04:00
ob-ref.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-ruby.el * lisp/org/ob-ruby.el: Fix outdated comments. 2023-01-20 23:32:21 +02:00
ob-sass.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-scheme.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-screen.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-sed.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-shell.el Update to Org 9.6-90-ga6523f 2023-01-07 23:50:54 -05:00
ob-sql.el Update to Org 9.6.1-31-gaf1bb1 2023-02-12 15:43:07 -05:00
ob-sqlite.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-table.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ob-tangle.el ob-tangle.el: fix unintended range in regexp 2023-08-16 16:55:38 +02:00
ob.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
oc-basic.el Update to Org 9.6.8-3-g21171d 2023-08-27 22:38:34 -04:00
oc-biblatex.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
oc-bibtex.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
oc-csl.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
oc-natbib.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
oc.el Update to Org 9.6.4-9-g8eb209 2023-04-24 19:47:12 -04:00
ol-bbdb.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ol-bibtex.el Update to Org 9.6.7-13-g99cc96 2023-08-13 22:11:45 -04:00
ol-docview.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ol-doi.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ol-eshell.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ol-eww.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ol-gnus.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ol-info.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ol-irc.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ol-man.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ol-mhe.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ol-rmail.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ol-w3m.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ol.el ; Grammar fixes ("allow to" et al) 2023-09-17 16:49:21 +02:00
org-agenda.el Update to Org 9.6.10 2023-10-09 23:47:52 -04:00
org-archive.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-attach-git.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-attach.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-capture.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-clock.el Support desktop notifications on Android 2023-08-20 20:25:53 +08:00
org-colview.el Update to Org 9.6.10 2023-10-09 23:47:52 -04:00
org-compat.el Update to Org 9.6.1-31-gaf1bb1 2023-02-12 15:43:07 -05:00
org-crypt.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-ctags.el Make binaries distributed with Emacs work on Android 2023-01-24 21:37:22 +08:00
org-cycle.el Update to Org 9.6.1-34-geea8da 2023-02-20 00:41:31 -05:00
org-datetree.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-duration.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-element.el ; Grammar fixes ("allow to" et al) 2023-09-17 16:49:21 +02:00
org-entities.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-faces.el Update to Org 9.6.7-5-gd1d0c3 2023-07-30 16:52:11 -04:00
org-feed.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-fold-core.el Update to Org 9.6.7-5-gd1d0c3 2023-07-30 16:52:11 -04:00
org-fold.el Update to Org 9.6-81-g563a43 2023-01-01 22:24:28 -05:00
org-footnote.el Update to Org 9.6.1-31-gaf1bb1 2023-02-12 15:43:07 -05:00
org-goto.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-habit.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-id.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-indent.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-inlinetask.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-keys.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-lint.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-list.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-macro.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-macs.el Update to Org 9.6.7-5-gd1d0c3 2023-07-30 16:52:11 -04:00
org-mobile.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-mouse.el Make org-mouse compatible with touch screen event emulation 2023-08-23 09:56:35 +08:00
org-num.el Update to Org 9.6.7-13-g99cc96 2023-08-13 22:11:45 -04:00
org-pcomplete.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-persist.el Update to Org 9.6.1-48-g92471e 2023-03-18 21:41:22 -04:00
org-plot.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-protocol.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-refile.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-src.el Update to Org 9.6.1-48-g92471e 2023-03-18 21:41:22 -04:00
org-table.el ; Grammar fixes ("allow to" et al) 2023-09-17 16:49:21 +02:00
org-tempo.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-timer.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-version.el Update to Org 9.6.10 2023-10-09 23:47:52 -04:00
org.el Eliminate some nested repetitions in regexps 2023-10-29 17:40:36 +01:00
ox-ascii.el Update to Org 9.6.1-48-g92471e 2023-03-18 21:41:22 -04:00
ox-beamer.el Assume that font-lock is preloaded 2023-08-25 20:35:38 +02:00
ox-html.el ; Add several "duplicate value in cond" FIXMEs 2023-10-01 19:00:26 +02:00
ox-icalendar.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ox-koma-letter.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ox-latex.el Update to Org 9.6.4-9-g8eb209 2023-04-24 19:47:12 -04:00
ox-man.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ox-md.el Update to Org 9.6.1-48-g92471e 2023-03-18 21:41:22 -04:00
ox-odt.el Update to Org 9.6.5-3-g2993f4 2023-04-30 19:36:21 -04:00
ox-org.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ox-publish.el Update to Org 9.6.7-13-g99cc96 2023-08-13 22:11:45 -04:00
ox-texinfo.el Update to Org 9.6.7-5-gd1d0c3 2023-07-30 16:52:11 -04:00
ox.el Update to Org 9.6.7-13-g99cc96 2023-08-13 22:11:45 -04:00