emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bachir El Khadir <bachir009@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Problem using org-sbe
Date: Sun, 21 Feb 2016 00:24:05 -0500	[thread overview]
Message-ID: <CC82093A-F5B4-4305-ABB0-7F96D187DD2C@gmail.com> (raw)

 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

             reply	other threads:[~2016-02-21  5:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-21  5:24 Bachir El Khadir [this message]
2016-02-21 20:10 ` Problem using org-sbe Thierry Banel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CC82093A-F5B4-4305-ABB0-7F96D187DD2C@gmail.com \
    --to=bachir009@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).