Derek Chen-Becker <de...@chen-becker.org> writes: > When I asked the question I was just thinking of using it as a reference > for expanding the current org-src-lang-modes values, but now that you've > asked the question, perhaps we could dynamically amend org-src-lang-modes > based on the contents of sh-ancestor-alist. Does that make sense?
Nope, it does not. May you elaborate how exactly can we derive major mode for an src block using sh-ancestor-alist? >From my reading of sh-script.el, we may simply use bash-ts-mode for all the shells. -- Ihor Radchenko // yantar92, Org mode contributor, 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>