I use org-edit-special
and it's really convenient, when editing source code, that's stored in org files. However I often only want to copy some code and I'm used to the highlighting of highlight-parentheses-mode
when I'm reading elisp and I only want it to be turned on in this situation.
Another example is line numbers in large babel blocks. I avoid using files for my own code and I have several blocks that don't fit on my screen. As I don't use nlinum in my org files this would be nice to additionally emphasize large code blocks.
Is it possible to enable the features of minor modes in org buffers, but only activate them for certain blocks ? Just like org-src-fontify-natively
enables syntax highlighting in source code blocks.