New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
org-ref invalid org-store-link in org babel #433
Comments
I can't reproduce the error. (org-store-link) in a code block for me stores a reference to the heading the block is in. Where in org-ref did you find the problem to come from? |
Did you open the src block with |
Have not found where the |
yes, that works fine for me. below, i opened the block, ran org-store-link and typed in hello. Then closed the block and used C-c C-l to insert the link.
|
I think it's a bug in 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))))
+ (let (fs) (if (and (stringp f) (funcall f)) (push f fs))))
(org-store-link-functions)))
sfunsn (mapcar (lambda (fu) (symbol-name (car fu))) sfuns))
(or (and (cdr sfuns) |
Confirmed, this patch works. @jagrg Can you send this patch to Org-mode Mailing List? |
I'm not on that list. If you are, please do.
…On 08 May 2017, stardiviner ***@***.***> wrote:
Confirmed, this patch works. @jagrg Can you send this patch to Org-mode Mailing List?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.*
--
Jonathan
|
Ok, I will send this patch to mailing list. Thanks for this patch. |
It was org-ref after all. I think I have pushed a fix for it. That patch should be unnecessary now. Thanks for reporting it and digging into it! |
Problem solved. Thanks. Pretty sure I dug the wrong hole. ;)
…On 09 May 2017, John Kitchin ***@***.***> wrote:
It was org-ref after all. I think I have pushed a fix for it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.*
--
Jonathan
|
it did eventually confirm org-ref was to blame ;) |
When I try to
org-store-link
in an opened org babel src block like this:It should be work like this:
But it failed with error:
I tried to edebug this, found related to
org-ref
. Then I confirmed with minimal Emacs configemacs -q -l minimal-init.el
.Emacs version:
26.0.50
build from master source codeOrg-mode version:
9.0.6
install from MELPAorg-ref version:
1.0.0
(git-commit 10dc99582ba866fb825443d1bd2132920b9db39f)
The text was updated successfully, but these errors were encountered: