"Charles C. Berry" <address@hidden> writes:
Thanks for the patches. Here's another round of comments.
OK. Now those cases (and some others) insert `*Inline error:' and a
comment as to what the error is and ignore the actual value.
Based on my own experience, I thought it best to allow Babel to run
without stopping when there are problems with inline src blocks rather
than stop with an error.
We already stop with an error for missing footnotes definitions or
missing macro templates. I'm not totally against your suggestion, but
I think it would be better to follow this.
I hope the approach I took modifies `org-macro-expand'.
The "as-is" template returns the macro element :value stripped of the
leading "{{{<name>(" and the trailing "[\n]?)}}}". The template
allows macros that mark text - possibly including commas - but do not
modify it.
Actually I preferred the previous implementation because this one adds
another level of indirection, the (undocumented) "as-is" template.
"results" -> "$1" was more elegant.
We just need an `org-macro-protect-argument' function. I can do the
refactoring if you want.