1

After writing the expression recall_score() in one of my org-mode files I was no longer able to export into html (or other formats), and I got the following error

Reference ‘score’ not found in this buffer

Is there a reason for this to happen?

My Emacs version is

GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21) of 2017-09-22, modified by Debian

and my org-mode version is

Org-mode version 8.2.10 (release_8.2.10 @ /usr/share/emacs/25.2/lisp/org/)
5
  • This has been fixed many moons ago. Your version of org-mode is ancient: please upgrade.
    – NickD
    Feb 21 '19 at 15:24
  • 1
    I stand corrected: the behavior is as you describe even in the latest version. See this thread from the mailing list. The suggested workaround is to add a zero-width space before the underscore if you don't want it to be interpreted as an inline source block evaluation. But you should still upgrade :-)
    – NickD
    Feb 21 '19 at 16:08
  • Thank you for the insight @NickD! I agree, I'll catch up with the times. Btw, just for my future reference, how did you come across the result from the mailing list? Did you google it, or search a different website? Feb 21 '19 at 19:10
  • 1
    I have a local clone of the org-mode git repo. I did git log --grep=inline-src to find relevant commits and found one that looked promising. The ML list reference was in the commit message (Nicolas Goaziou, the org mode maintainer, is very good about adding such references to his commit messages and, as we have seen here, they can be very useful).
    – NickD
    Feb 21 '19 at 19:37
  • That's neat! Thanks Feb 21 '19 at 21:41
1

It seems that I was writing an inline commmand to call a code block or function, since the expression I wrote includes something of the form call_<name>().

It's explained in this documentation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.