Re: [O] A small patch for org.el to fix error in clojure babel src block code ref

2017-05-09 Thread numbch...@gmail.com
Thanks for fixing, John. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Tue, May 9, 2017 at 7:14 PM, John Kitchin w

Re: [O] A small patch for org.el to fix error in clojure babel src block code ref

2017-05-09 Thread John Kitchin
I think I have just fixed it. The offending command was trying to get an org-element in the special edit buffer which wasn't in org-mode. Its not clear why it worked in some codes and not others though! John --- Professor John Kitchin Doherty Hall A207F Department

Re: [O] A small patch for org.el to fix error in clojure babel src block code ref

2017-05-09 Thread John Kitchin
On Tue, May 9, 2017 at 6:51 AM, Nicolas Goaziou wrote: > org-store-link-functions That is a function in org-ref. I will check it out this morning. Thanks for the pointer to the root of the issue! John --- Professor John Kitchin Doherty Hall A207F Department o

Re: [O] A small patch for org.el to fix error in clojure babel src block code ref

2017-05-09 Thread Nicolas Goaziou
"numbch...@gmail.com" writes: > ​Is there any other possible potential functions will have relation with > this issue?​ According to the backtrace mentioned in the bug report, the culprit is probably `org-label-store-link', which is probably one of the functions returned by `org-store-link-funct

Re: [O] A small patch for org.el to fix error in clojure babel src block code ref

2017-05-09 Thread numbch...@gmail.com
Weird, but this patch does fixed my issue. When I `org-store-link` in opened clojure babel src block will has this issue. But not in other languages babel src blocks like Python, Ruby, C etc. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter

Re: [O] A small patch for org.el to fix error in clojure babel src block code ref

2017-05-09 Thread numbch...@gmail.com
​Is there any other possible potential functions will have relation with this issue?​ [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardivine

Re: [O] A small patch for org.el to fix error in clojure babel src block code ref

2017-05-08 Thread Nicolas Goaziou
Hello, "numbch...@gmail.com" writes: > Here is the original discussion we disscusses. > https://github.com/jkitchin/org-ref/issues/433 > > And Here is the patch: > > #+BEGIN_SRC diff > modified lisp/org.el > @@ -9730,7 +9730,7 @@ active region." > (setq sfuns > (delq > nil (mapc

[O] A small patch for org.el to fix error in clojure babel src block code ref

2017-05-08 Thread numbch...@gmail.com
Here is the original discussion we disscusses. https://github.com/jkitchin/org-ref/issues/433 And Here is the patch: #+BEGIN_SRC diff modified lisp/org.el @@ -9730,7 +9730,7 @@ active region." (setq sfuns (delq nil (mapcar (lambda (f) - (let (fs) (if (funcall f) (push f fs +