I often limit or unlimit the evaluation of specific code blocks in org-mode babel using :eval
header argument.
Here's an example:
#+BEGIN_SRC emacs-lisp :results value scalar :eval no
(+ 1 1)
#+END_SRC
#+RESULTS:
: 2
I toggle the code blocks between :eval no
and :eval n
(or delete :eval no
completely) by hand.
#+PROPERTY: eval no
is convenient, but is not suited for each code block.
Are there any better ways to toggle the :eval
status handy, like below?
C-c C-t (org-todo)
Rotate the TODO state of the current item among
(unmarked) -> TODO -> DONE