in reply to Vassil Nikolov | Васил Николов

@Vassil Nikolov | Васил Николов I'd argue that the code itself is basic. The context in which it is located is not.

I don't know if this has been addressed in a later version of org-mode. I'm using the one from the Debian 13 repositories, but Debian is not exactly a bleeding-edge distro.

For now, I'm solving it by writing my code in the *scratch* buffer and then yanking it into my org-mode code block.

in reply to Vassil Nikolov | Васил Николов

@vnikolov Yes, it's an annoying bug. One workaround is org-edit-special, bound to C-c ' in org-mode-map.

It puts you into a recursive edit buffer, containing only that code block, in unadulterated emacs-lisp-mode. Lots of annoyances go away. Exit with the same key C-c '

This website uses cookies. If you continue browsing this website, you agree to the usage of cookies.