0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-22 14:48:39 +00:00
org-mode/testing/lisp
Nicolas Goaziou 91236a3db3 org-src: Fix indentation when tabs are involved
* lisp/org-src.el (org-src--source-type):
(org-src--tab-width): New variables.
(org-src--edit-element): Set variables above.

(org-src--contents-for-write-back): Re-indent properly non-blank lines
before inserting contents back into the source buffer.
(org-edit-src-code): Delegate block indentation to
`org-src--contents-for-write-back'.

* testing/lisp/test-org-src.el (test-org-src/indented-blocks): New
  test.

Reported-by: Brent Goodrick <bgoodr@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/113207>
2017-04-29 11:45:45 +02:00
..
test-ob-awk.el awk code blocks handle tabular input 2014-06-07 11:16:55 -04:00
test-ob-C.el Babel C, C++, D support for non-homogeneous input tables 2014-06-08 19:20:16 -04:00
test-ob-emacs-lisp.el Update copyright years 2017-01-05 20:19:37 -05:00
test-ob-exp.el ob-exp: Fix export of src blocks with pathological name 2017-03-18 10:28:15 +01:00
test-ob-fortran.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-header-arg-defaults.el Remove deprecated syntax for Babel properties 2016-07-04 00:41:56 +02:00
test-ob-lilypond.el ob-lilypond: Fix failing tests 2015-11-08 17:31:34 +01:00
test-ob-lob.el Turn org-mode into Org or Org mode 2016-08-23 22:13:56 +02:00
test-ob-lua.el ob-lua.el: Update library for Org 9.0 2016-08-29 08:57:10 +02:00
test-ob-maxima.el test-ob-maxima: Revert last commit 2016-08-20 23:43:35 +02:00
test-ob-octave.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-perl.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-python.el Replace TBLNAME with NAME in tests 2016-02-10 15:40:11 +01:00
test-ob-R.el testing/lisp/test-ob-R.el: Initialize ESS vars for :session tests 2016-01-24 10:08:31 -08:00
test-ob-ruby.el Replace org-ctrl-c-ctrl-c' by org-babel-execute-maybe' 2015-01-30 18:28:05 +01:00
test-ob-sed.el Org Babel now supports sed scripts 2015-05-30 14:59:01 +02:00
test-ob-shell.el Turn org-mode into Org or Org mode 2016-08-23 22:13:56 +02:00
test-ob-table.el Turn org-mode into Org or Org mode 2016-08-23 22:13:56 +02:00
test-ob-tangle.el ob-tangle: Fix last commit 2016-12-10 00:59:08 +01:00
test-ob.el Fix failing tests 2017-03-05 18:05:02 +01:00
test-org-agenda.el test-org-agenda: Test agenda buffername when reload sticky agenda 2017-03-21 20:42:08 +01:00
test-org-attach-annex.el Silence byte-compiler in "testing/" 2016-06-04 21:12:30 +02:00
test-org-capture.el org-capture: Fix escaping characters in template embedded S-exps 2017-03-14 09:03:59 +01:00
test-org-clock.el org-clock: Fix regression in Clock table 2017-02-13 21:28:59 +01:00
test-org-colview.el org-colview: Fix time sum when mixing duration and H:MM:SS time 2016-11-11 12:02:34 +01:00
test-org-datetree.el Fix failing test 2015-12-29 22:45:14 +01:00
test-org-element.el org-element: Fix radio link parser 2017-04-15 17:27:01 +02:00
test-org-feed.el org-feed: Fix failing test 2016-01-13 17:08:58 +01:00
test-org-footnote.el org-footnote: Handle un-referenced definitions 2016-02-27 16:05:35 +01:00
test-org-info.el org-info: Add tests 2017-01-21 13:56:58 +01:00
test-org-inlinetask.el test-org-inlinetask: Testing inlinetasks 2015-12-04 19:59:52 +01:00
test-org-lint.el org-lint: Add checker for empty headlines with tags 2017-02-17 13:23:26 +01:00
test-org-list.el test-org-list.el: Fix visibility tests 2017-03-07 16:37:25 +01:00
test-org-macro.el org-macro: Fix expansion in narrowed buffers 2016-01-29 00:52:49 +01:00
test-org-pcomplete.el Fix some tests 2017-02-13 17:21:24 +01:00
test-org-protocol.el org-protocol: Allow key=val&key2=val2-style URLs 2015-12-22 13:41:45 +01:00
test-org-src.el org-src: Fix indentation when tabs are involved 2017-04-29 11:45:45 +02:00
test-org-table.el org-table: Fix error with `org-table-get-field' at bob 2017-02-01 20:56:38 +01:00
test-org-timer.el org-timer.el: hh:mm:ss format for setting a timer 2015-06-02 23:18:13 +02:00
test-org.el Fix `org-forward-heading-same-level' 2017-04-15 16:51:33 +02:00
test-ox.el ox: Fix "Fix :filter-options" 2017-03-23 16:46:28 +01:00
test-property-inheritance.el Remove deprecated syntax for Babel properties 2016-07-04 00:41:56 +02:00