Re: [Orgmode] [babel][bug] \ in detangling

2011-01-13 Thread Eric Schulte
I've pushed up a fix for this issue, Instead of using language-specific comment regexps ob-jump-to-org now keep looking for a block-start comment until it find one which has a matching block-end comment. Thanks for pointing out this error case -- Eric Seth Burleigh writes: > Ive attached the f

Re: [Orgmode] [babel][bug] \ in detangling

2011-01-13 Thread Seth Burleigh
Ive attached the file it fails on. Notice that it fails below the constants macro, but if you're above it, it will succeed since it wont find the [[name val]] general.clj Description: Binary data ___ Emacs-orgmode mailing list Please use `Reply All' to

Re: [Orgmode] [babel][bug] \ in detangling

2011-01-13 Thread Seth Burleigh
thanks. also, when trying to detangle my code, i found another bug. In the functions org-babel-tangle-jump-to--org and org-babel-detangle, it uses org-bracket-link-analytic-regexp to search for the [[file:]] links. However, it does not include the comment in the regex (";;" in clojure), so someho

Re: [Orgmode] [babel][bug] \ in detangling

2011-01-13 Thread Eric Schulte
Thanks for pointing this out, I've just pushed up your change. Cheers -- Eric Seth Burleigh writes: > (defun org-babel-update-block-body (new-body) > "Update the body of the current code block to NEW-BODY." > (if (not (org-babel-where-is-src-block-head)) > (error "not in source block"