1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-24 07:20:29 +00:00
org-mode/testing/lisp
Ihor Radchenko 022bb471c1
org-indent-line: Fix indentation inside src blocks with `electric-indent-mode'
* lisp/org.el (org-indent-line): Use `indent-according-to-mode' to
indent in src block's major mode.  Using `indent-line-function' fails
when `electric-indent-mode' wants to suppress <tab> indentation.
* testing/lisp/test-org.el (test-org/with-electric-indent): Add test.

Reported-by: the_wurfkreuz <the_wurfkreuz@proton.me>
Link: https://orgmode.org/list/5O9VMGb6WRaqeHR5_NXTb832Z2Lek_5L40YPDA52-S3kPwGYJspI8kLWaGtuq3DXyhtHpj1J7jTIXb39RX9BtCa2ecrWHjijZqI8QAD742U=@proton.me
2024-07-09 18:05:41 +02:00
..
test-duplicates-detector.el testing/lisp/test-duplicates-detector.el: Fix Emacs 27 compatibility 2024-02-11 15:11:11 +01:00
test-ob-awk.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-C.el testing: Delete useless ert tests 2023-09-17 12:48:36 +03:00
test-ob-calc.el ob-calc/matrix-inversion: Force `calc-float-format' in the test 2024-05-02 15:58:19 +03:00
test-ob-clojure.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
test-ob-comint.el testing/lisp/test-ob-comint.el: Make test for echo filter 2024-03-29 12:11:18 +01:00
test-ob-emacs-lisp.el Update remaining copyright years 2024-01-06 15:55:18 -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 org-babel-exp-code: Fix exporting src blocks with :var arguments 2024-06-06 14:44:01 +02:00
test-ob-fortran.el testing: Delete useless ert tests 2023-09-17 12:48:36 +03:00
test-ob-haskell-ghci.el ob-haskell/session-named-none-means-one-shot-sessions: Remove duplicate 2024-02-09 14:57:57 +01: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 2024-01-06 15:55:18 -05:00
test-ob-julia.el testing: Fix file names in file headers 2024-03-13 15:35:30 +03:00
test-ob-lilypond.el testing: Delete useless ert tests 2023-09-17 12:48:36 +03:00
test-ob-lob.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-lua.el ob-lua: Support all types and multiple values in results 2024-04-24 16:04:38 +03:00
test-ob-maxima.el * lisp/ob-maxima.el: enable use of batch' loader and draw' 2023-10-04 11:27:46 +03:00
test-ob-octave.el org-babel-comint-with-output: Fix for edge case of `comint-prompt-regexp' 2023-09-06 12:19:14 +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 ob-python: Test and improve robustness for externally started python 2023-12-29 07:46:49 -08:00
test-ob-R.el Fix obsolete `sleep-for' usage 2023-10-21 16:08:25 +03: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 test-ob-scheme.el: Disable testing for older Emacs unsupported by Geiser 2023-08-07 14:57:17 +03:00
test-ob-sed.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-shell.el test-ob-shell.el: Skip based on feature detection 2024-05-02 15:56:16 +03:00
test-ob-sql.el testing/lisp: Add missing `provide' 2022-10-13 18:30:44 +08:00
test-ob-sqlite.el ob-sqlite: Use a transient in-memory database by default 2023-08-12 11:00:48 +03:00
test-ob-table.el org-sbe: Allow quoting string values 2023-02-23 12:29:18 +03:00
test-ob-tangle.el org-babel-expand-noweb-references: Add trialing newline after comments 2024-05-04 14:30:25 +03:00
test-ob.el org-babel-read: Read quotes strings ignoring leading/trailing newlines 2024-05-04 22:19:45 +03:00
test-oc-basic.el oc-basic.el: Drop {...} when rendering Bibtex entries 2024-02-29 12:21:08 +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 testing: Fix file names in file headers 2024-03-13 15:35:30 +03:00
test-ol.el Do not use org-fold to hide link parts 2024-05-02 12:29:27 +03:00
test-org-agenda.el Fix typos surrounding `org-agenda-skip-scheduled-repeats-after-deadline' 2024-05-24 19:56:07 +02: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/lisp/test-org-attach-git.el: Avoid using global git config 2023-08-18 12:03:58 +03:00
test-org-attach.el org-element: Defer more when parsing headings and inlinetasks 2023-07-01 14:35:36 +03: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 test-org-clock: Fix typo in test name 2024-06-01 17:10:58 -04:00
test-org-colview.el lisp/org-colview.el: Add link parameter to colview dynamic block 2024-04-26 15:44:46 +03:00
test-org-ctags.el test-org-ctags: Fix CI failures 2024-04-30 16:41:01 +03: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 org-element-timestamp-parser: Allow time in diary sexp timestamps 2024-05-03 13:42:06 +03: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 testing: Fix file names in file headers 2024-03-13 15:35:30 +03:00
test-org-footnote.el org-footnote-new: Add an option to create new anonymous labels 2024-02-05 15:38:48 +01: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 org-lint: Remove checker for #+name with colon 2023-12-17 14:57:03 +01: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 test-org-macro.el: Add test for CVE-2024-30202 2024-05-06 15:55:00 +03: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 test-org-src.el: Work around `current-column' bug in older emacs 2023-07-10 11:19:31 +03:00
test-org-table.el Revert "org-table-eval-formula: Fix parsing of mode string when formula has ;" 2024-05-21 11:09:46 +02:00
test-org-tempo.el testing: Fix misleading file headers 2024-03-13 15:35:31 +03:00
test-org-timer.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-org.el org-indent-line: Fix indentation inside src blocks with `electric-indent-mode' 2024-07-09 18:05:41 +02:00
test-ox-ascii.el testing: Fix file names in file headers 2024-03-13 15:35:30 +03:00
test-ox-beamer.el testing/lisp/test-ox-beamer.el: New regression tests for ox-beamer. 2024-03-17 17:35:38 +03:00
test-ox-html.el testing: Add missing lexical-binding modeline 2024-03-13 15:35:32 +03:00
test-ox-icalendar.el ox-icalendar: Add support for unscheduled and repeating TODOs 2023-06-18 06:51:47 -07:00
test-ox-latex.el ox-latex: Remove org-latex-line-break-safe 2024-01-31 12:35:29 +01:00
test-ox-md.el testing/lisp/test-ox-md.el (ox-md/headline-style): New test 2024-05-12 14:53:39 +03:00
test-ox-publish.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ox-texinfo.el testing: Add missing lexical-binding modeline 2024-03-13 15:35:32 +03:00
test-ox.el org-export--set-variables: Fix variable assignment 2024-06-13 17:26:44 +02:00
test-property-inheritance.el testing: Fix misleading file headers 2024-03-13 15:35:31 +03:00