ob: Remove indentation information from Babel properties
commit88659208793dca18b7672428175e9a712af7b5ad
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 28 Jan 2016 16:11:48 +0000 (28 17:11 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 10 Feb 2016 14:40:10 +0000 (10 15:40 +0100)
treebe25093c0fb3d97a5439f8359eb8a18704b895a7
parent5f94f49db063784f2ee9079e8d5c91a685412c60
ob: Remove indentation information from Babel properties

* lisp/ob-core.el (org-babel-get-src-block-info): Do not return block
  indentation.
(org-babel-parse-src-block-match): Ignore block indentation.
(org-babel-demarcate-block): Find appropriate indentation instead of
using the one from the original block.
(org-babel-where-is-src-block-result): Change signature.  Indent
according to context instead of relying on indentation from original
block.
(org-babel-insert-result): Change signature.
(org-babel-check-confirm-evaluate):
(org-babel-execute-src-block):
(org-babel-insert-header-arg): Apply change to src-block info.

* lisp/ob-exp.el (org-babel-exp-process-buffer): Apply change to
  src-block info.

* lisp/ob-lob.el (org-babel-lob-get-info): Do not return indentation.
(org-babel-lob-execute): Apply change to lob-info.

Indentation from source block is often wrong at the block and its
results may not be in the same context.
lisp/ob-core.el
lisp/ob-exp.el
lisp/ob-lob.el