Thibaut Meyer <thib...@thibaut.dev> 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 :tangle value is set to something like "yes", there is >> no way or can deduce the tangle file name. > > .. but I guess that this prevents us from supporting this use case.
Not necessarily. The reason why src blocks without language are not tangled is simply because of the way I fixed https://list.orgmode.org/orgmode/as8p193mb241369d9f0701f57e293429288...@as8p193mb2413.eurp193.prod.outlook.com/T/#u I think that `org-babel-tangle-collect-blocks' can be changed to allow tangling src blocks without language with explicitly provided tangle target. It might be a good exercise if you want to submit a patch. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>