This seems to work for some toy examples: (defun comment-org-in-src-block () (interactive) (org-edit-special) (comment-dwim nil) (org-edit-src-exit))
Xebar Saram writes: > Hi all > > i was wondering if anyone knew of a command or bind to quickly comment the > entire content of an org code block (with the correct comment syntax)? > > thx! > > Z -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu