Try typing C-c C-c on the line
(defun fibbd ...)
This will actually define fibbd.
Then update the table with C-u C-c *
Le 21/02/2016 06:24, Bachir El Khadir a écrit :
> Hello all,
> I am new to org-mode. I have just installed the latest version using
> el-get, but I am having a very annoying problem.
> The command org-sbe doesn't seem to work.
> Here is a minimal example that I took from the doc:
>
> #+begin_src emacs-lisp :results silent
>(defun fibbd (n) (if (< n 2) 1 (+ (fibbd (- n 1)) (fibbd (- n 2)
> #+end_src
>
> #+name: fibbd
> #+begin_src emacs-lisp :var n=2 :results silent
> (fibbd n)
> #+end_src
>
> | original | fibbd |
> |--+|
> |0 | #ERROR |
> |1 | #ERROR |
> |2 | #ERROR |
> |3 | #ERROR |
> |4 | #ERROR |
> |5 | #ERROR |
> |6 | #ERROR |
> |7 | #ERROR |
> |8 | #ERROR |
> |9 | #ERROR |
> #+TBLFM: $2='(org-sbe "fibbd" (n $1))
>
> As you can see I keep getting #ERROR
> Am i doing something wrong?
> Thanks a lot
>
>
>