org-mode language and header args should be excluded from chunk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nXhtml |
Fix Committed
|
Medium
|
Unassigned |
Bug Description
Would it be possible to modify the chunk-finding procedure for Org-mode src blocks so that the language and header args are excluded from the chunk? I had a quick go (below) but it seemed to cause problems. Org src blocks have the form
#+begin_src LANG [switches] [babel header args]
so everything until the end-of-line should be matched as a chunk beginning and should be excluded from the chunk itself.
I'm excited to see the Org-mode support in mumamo -- thanks very much for working on this.
Dan
diff --git a/util/
index eb3c5c2..29bfb16 100644
--- a/util/
+++ b/util/
@@ -2886,7 +2886,7 @@ See `mumamo-
(defun mumamo-
"Helper for `mumamo-
POS is where to start search and MAX is where to stop."
- (let ((where (mumamo-
+ (let ((where (mumamo-
(when where
(let ((exc-mode (let ((here (point)))
Thanks for the suggestion, Dan. I have committed a change that should fix this. Should be in next release.