Thibaut Meyer writes:
> Here is my attempt. Modifying the regex in ob-core.el felt scary, but
> it seems fine since this didn't break any tests and manually testing the
> new regex seemed to work fine. I've added the small change to the
> documentation as you suggested as I think it clarifies thi
* lisp/ob-tangle.el: (org-babel-tangle-collect-blocks): source blocks
without a language are not not ignored anymore, if they inherit a
src-tfile other than "yes" or "no".
* lisp/ob-core.el: adapts the org-babel-src-block-regexp regular
expression to make the language part of a source block optiona
Thibaut Meyer writes:
> I see. I just assumed that header arguments and switches were
> "recognized" and not considered as the language if placed positionally
> first.
>
>> Src block without language could indeed be tangled in your case.
>
> That would be indeed nice...
>
>> However, if the :tang
> Here, a language is actually specified. The language is ":tangle" (there
> is nothing stopping anyone from creating a language name starting from
> colon).
I see. I just assumed that header arguments and switches were
"recognized" and not considered as the language if placed positionally
first
Thibaut Meyer via "General discussions about Org-mode."
writes:
> setting a property in an org file like
>
> '#+PROPERTY: header-args:tangle "file.ext"'
>
> with a source block of the form:
> (note no language is specified for the block)
>
> #+begin_src
> <1: this block won't get tangled>
> #
Hi everyone,
setting a property in an org file like
'#+PROPERTY: header-args:tangle "file.ext"'
with a source block of the form:
(note no language is specified for the block)
#+begin_src
<1: this block won't get tangled>
#+end_src
won't tangle the block
Adding any string as a language to