emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [babel] header lines in unnamed lisp code blocks
@ 2013-11-17 20:18 Thomas S. Dye
  2013-11-17 21:07 ` Thomas S. Dye
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas S. Dye @ 2013-11-17 20:18 UTC (permalink / raw)
  To: Org-mode

Hi Eric,

This code doesn't return.

#+header: :results value
#+begin_src lisp
  (+ 1 1)
#+end_src

If I add #+name: xxx, then it does run and returns the error I noted
earlier. 

I have edebug activated on org-babel-execute:lisp and it isn't triggered
when I press C-c C-c in the code block above.

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [babel] header lines in unnamed lisp code blocks
  2013-11-17 20:18 [babel] header lines in unnamed lisp code blocks Thomas S. Dye
@ 2013-11-17 21:07 ` Thomas S. Dye
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas S. Dye @ 2013-11-17 21:07 UTC (permalink / raw)
  To: Org-mode

Aloha all,

Noise, sorry. The code block fails because it is at the top of buffer.
If I put a headline before it, all is well.

Tom

tsd@tsdye.com (Thomas S. Dye) writes:

> Hi Eric,
>
> This code doesn't return.
>
> #+header: :results value
> #+begin_src lisp
>   (+ 1 1)
> #+end_src
>
> If I add #+name: xxx, then it does run and returns the error I noted
> earlier. 
>
> I have edebug activated on org-babel-execute:lisp and it isn't triggered
> when I press C-c C-c in the code block above.
>
> All the best,
> Tom

-- 
Thomas S. Dye
http://www.tsdye.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-17 21:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-17 20:18 [babel] header lines in unnamed lisp code blocks Thomas S. Dye
2013-11-17 21:07 ` Thomas S. Dye

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).