Hello, Christopher Genovese <genov...@cmu.edu> writes:
> When tangling a file whose source code blocks have capitalized BEGIN_SRC and > END_SRC (as produced by <s-TAB for instance), org-babel-tangle will not > detect the source code blocks when case-fold-search is nil. > > The variable org-babel-src-block-regexp has the begin_src and end_src in > lower > case, and neither the code generated by the macro org-babel-map-src-blocks > (in > ob-core.el) nor its caller org-babel-tangle-collect-blocks (in > ob-tangle.el) set > case-fold-search dynamically to make this regex match the capitalized > blocks in > org-babel-map-src-blocks. > > I've included a minimal sample file below, but it's pretty simple to > reproduce > with Emacs -q. I also included a simple patch to ob-core.el (in > org-babel-map-src-blocks) > that I tested quickly, in case it helps. I applied this change along with its inline source block counterpart. Thank you. Regards, -- Nicolas Goaziou