DONE header argument values are not being collected from properties
- State "DONE" from "TODO"
- State "TODO" from ""
Many types of header arguments are not having their values properly read from outline-level properties.
There were two problems here
- we weren't searching for all needed header arguments in properties
- we weren't inheriting header arguments from enclosing properties
both of these issues were resolved in changes to
org-babel-params-from-properties
(see below).
-
we are now tracking the following properties
'("cache" "cmdline" "exports" "file" "noweb" "results" "session" "tangle" "var")
-
we now search the properties of enclosing headlines by adding
t
as the last argument to(org-entry-get (point) header-arg t)
code for `org-babel-params-from-properties'
(defun org-babel-params-from-properties () "Return an association list of any source block params which may be specified in the properties of the current outline entry." (save-match-data (delq nil (mapcar (lambda (header-arg) (let ((val (or (condition-case nil (org-entry-get (point) header-arg t) (error nil)) (cdr (assoc header-arg org-file-properties))))) (when val ;; (message "prop %s=%s" header-arg val) ;; debugging (cons (intern (concat ":" header-arg)) val)))) '("cache" "cmdline" "exports" "file" "noweb" "results" "session" "tangle" "var")))))