emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [babel] using #+call for inline results


From: Christian Moe
Subject: Re: [O] [babel] using #+call for inline results
Date: Sun, 26 Jun 2011 13:56:33 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10

Hi, Eric,

Very nice, thanks!

I note the turnover on your long-term low-priority stack is about two days.
:)

But I seem to have a problem (running your example):

Debugger entered--Lisp error: (invalid-function (nonempty (a b) (let ((it (match-string a))) (if (= (length it) 0) (match-string b) it))))
  (nonempty (a b) (let (...) (if ... ... it)))()
  org-babel-lob-get-info()
  org-babel-lob-execute-maybe()
  org-babel-execute-maybe()
  org-babel-execute-safely-maybe()
  run-hook-with-args-until-success(org-babel-execute-safely-maybe)
  org-ctrl-c-ctrl-c(nil)
  call-interactively(org-ctrl-c-ctrl-c nil nil)

Yours,
Christian


On 6/25/11 12:36 AM, Eric Schulte wrote:
Christian Moe<address@hidden>  writes:

+1 for inline calls. No hurry, though.


I've just pushed up an implementation for inline call blocks, the new
syntax is described in the documentation but a simple example is below.

     #+source: square
     #+begin_src emacs-lisp :var it=0
       (* it it)
     #+end_src

     Here is a call_square(it=4) stuck in the middle of some prose.

Please let me know how it works and if you have any problems or
recommendations.

Cheers -- Eric





reply via email to

[Prev in Thread] Current Thread [Next in Thread]