org-mode/testing/lisp
Ihor Radchenko ba8c468634
org-insert-todo-heading-respect-content: Fix regression in b4e41b
* lisp/org.el (org-insert-todo-heading-respect-content): Do not force
first TODO keyword in the inserted heading.  Instead, accept prefix
arguments and pass them directly to `org-insert-todo-heading'.
* etc/ORG-NEWS (~org-insert-todo-heading-respect-content~ now accepts
prefix arguments): Document the change.
*
testing/lisp/test-org.el (test-org/insert-todo-heading-respect-content):
Add tests.

Reported-by: Xuan Wang <xuan.public@gmail.com>
Link: https://orgmode.org/list/CALjN2yehOVYZuU+tURes+mJ5XyTrRY1O0UG1ijH-6TjJ=W0ibw@mail.gmail.com
2023-06-07 15:18:16 +03:00
..
test-ob-C.el lisp/ob-C.el: replace %f with %s to prevent unneeded rounding 2023-06-02 10:23:58 +03:00
test-ob-R.el * testing/lisp/test-ob-R.el (ob-session-R-result-value): New test 2023-04-18 15:04:57 +02:00
test-ob-awk.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-ob-clojure.el Update remaining copyright years 2023-01-01 13:13:15 -05:00
test-ob-emacs-lisp.el Update remaining copyright years 2023-01-01 13:13:15 -05:00
test-ob-eshell.el testing/lisp/test-ob-eshell.el: Fix tests 2022-10-13 18:28:56 +08:00
test-ob-exp.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-ob-fortran.el test-ob-fortran: Enable and fix commented tests 2023-04-08 14:56:08 +02:00
test-ob-header-arg-defaults.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-ob-java.el Update remaining copyright years 2023-01-01 13:13:15 -05:00
test-ob-julia.el testing/lisp: Add missing `featurep' checks for required packages 2022-10-13 18:30:07 +08:00
test-ob-lilypond.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-ob-lob.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-ob-lua.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-ob-maxima.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-ob-octave.el test-ob-octave: Fix tests failing on Debian CI (followup) 2023-01-23 15:47:08 +03:00
test-ob-perl.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-ob-plantuml.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-ob-python.el fixup! test-ob-python: Disable test failing on CI when using older Emacs 2022-11-16 17:42:17 +08:00
test-ob-ruby.el testing/lisp: Add missing `featurep' checks for required packages 2022-10-13 18:30:07 +08:00
test-ob-scheme.el testing/lisp: Add missing `featurep' checks for required packages 2022-10-13 18:30:07 +08:00
test-ob-sed.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-ob-shell.el ob-shell.el: Add async evaluation 2023-03-22 14:55:11 -04:00
test-ob-sql.el testing/lisp: Add missing `provide' 2022-10-13 18:30:44 +08:00
test-ob-sqlite.el testing/lisp: Add missing `provide' 2022-10-13 18:30:44 +08:00
test-ob-table.el org-sbe: Allow quoting string values 2023-02-23 12:29:18 +03:00
test-ob-tangle.el Consistently allow null character in block and drawer bodies 2023-04-25 21:06:50 +02:00
test-ob.el org-babel-result-to-file: Fix results file inside attachment dir 2022-12-07 14:13:49 +03:00
test-oc.el org-cite-list-bibliography-files: Preserve relative bibliography paths 2023-05-02 14:47:56 +02:00
test-ol-bbdb.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-ol.el testing: Address FIXMEs identified in 1a5e3f931 2022-09-16 11:30:16 +08:00
test-org-agenda.el org-search-view: Fix searching across inlinetasks 2022-12-27 13:10:02 +03:00
test-org-archive.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-org-attach-git.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-org-attach.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-org-capture.el org-capture-finalize: Do not save new file with :no-save aborted capture 2023-01-22 13:49:07 +03:00
test-org-clock.el org-clock.el: Fix week start != 1 2023-05-07 10:03:52 +02:00
test-org-colview.el testing/lisp/test-org-colview.el: Add tests 2023-05-14 16:06:41 +02:00
test-org-datetree.el lisp/org-datetree.el: Allow datetrees with TODO, priority, tags 2023-01-21 12:29:32 +03:00
test-org-duration.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-org-element.el Prefer "backend" over "back-end" 2023-04-20 14:11:19 +02:00
test-org-feed.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-org-fold.el test-org-fold.el: Add test for inline image displaying when cycling 2022-10-26 12:43:08 +08:00
test-org-footnote.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-org-info.el ol-info: Define :insert-description function 2022-08-26 21:09:39 +08:00
test-org-inlinetask.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-org-lint.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-org-list.el org-toggle-item: Move footnote-definitions out of the lists 2022-11-11 13:19:01 +08:00
test-org-macro.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-org-macs.el test-org-macs.el: Add test for template-expansion bug 2022-04-30 17:45:32 +08:00
test-org-num.el test-org-num.el: Do not rely on fixed overlay order in `overlays-in' 2022-11-09 10:12:44 +08:00
test-org-pcomplete.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-org-protocol.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-org-src.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-org-table.el Prefer "timestamp" over "time-stamp" 2023-04-30 13:48:52 +02:00
test-org-tempo.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-org-timer.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-org.el org-insert-todo-heading-respect-content: Fix regression in b4e41b 2023-06-07 15:18:16 +03:00
test-ox-html.el ox-html: Update from MathJax 2 to MathJax 3+ 2022-11-21 10:44:56 +08:00
test-ox-icalendar.el ox-icalendar: Use consistent CRLF line endings 2023-04-02 13:20:56 -07:00
test-ox-latex.el org-latex-line-break-safe: Use safer value of "\\[0pt]" 2022-10-29 10:34:05 +08:00
test-ox-publish.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-ox-texinfo.el ox-texinfo: Fix invalid syntax in Texinfo version detection code 2023-02-17 13:30:16 +03:00
test-ox.el Prefer "backend" over "back-end" 2023-04-20 14:11:19 +02:00
test-property-inheritance.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00