Uwe Brauer <o...@mat.ucm.es> writes: >> Uwe Brauer <o...@mat.ucm.es> writes: > > Thanks for the patch (this is against the latest master I presume?) >> Thanks for the heads-up! >> Comment blocks are not supposed to contain Org markup, and thus it indeed >> makes sense to support them in org-edit-special and in structure >> templates. > >> See the attached patch. > > I test and report back: BTW > > 1. The feature I require can only be achieved by using a «src» block > not a comment block. A bit contra intuitive I say
I am sorry, but I am not familiar with the feature you are referring to. Either way, both src and comment blocks are supposed to contain arbitrary non-parseable text, which should not contribute to the statistics? calculations. > 2. Suppose I once mark a lot of headings and add a src block (which > add the required «,» to the *, how do I later get rid of the src > block *and* the «,» AFAIK, you cannot. At least, not using an existing command. What you can instead do is open C-c ' window, copy the unescaped text, exit the window, remove the block, and yank the unescaped text. Best, Ihor