[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
A probable beginner's mistake
From: |
emm . charpentier |
Subject: |
A probable beginner's mistake |
Date: |
Sun, 21 Apr 2024 20:46:48 +0200 (CEST) |
I'd have sworn that org could evaluate inline "throwaway" code. But I seem to
be mistaken.
The following :
================================================================
#+options: toc:nil author:nil
For the life of me, I can't explain this:
#+name: foo
#+begin_src emacs-lisp :exports code :var x=3
(+ 2 x)
#+end_src
Inline call to a predefined function : call_foo(x=4). Works.
Inline "throwaway" code : src_emacs-lisp((+ 2 3)). Does *not* work.
What the...
================================================================
exports to (UTF8 buffer)
================================================================
For the life of me, I can't explain this:
┌────
│ (+ 2 x)
└────
Inline call to a predefined function : `6'. Works.
Inline "throwaway" code : src_emacs-lisp((+ 2 3)). Does *not* work.
What the…
================================================================
Could some kind soul explain the direction and magnitude of my mistake ?
Sincerely,
--
Emmanuel Charpentier
- A probable beginner's mistake,
emm . charpentier <=