emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Buffer-wide definitions in org-babel
@ 2009-10-07 14:20 Juan Reyero
  2009-10-07 18:48 ` Eric Schulte
  0 siblings, 1 reply; 7+ messages in thread
From: Juan Reyero @ 2009-10-07 14:20 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 658 bytes --]

Greetings,
I am trying to define buffer-wide initializations in org-babel, so that I
can import a python module once and then use its exported symbols in all the
code chunks throughout the buffer.  Is there a way to do it?  I have tried
all the obvious approaches and none seems to work.  (My hope was that I
could define a :session and then use it in every chunk, but python doesn't
like it).

I just found out about org-babel, and I am delighted by its promise.
 Org-mode has changed the way I work (after a year and a half I could not
live without it) but now I think this is going to be another bit step.

Many thanks,

jm
-- 
http://juanreyero.com/blog

[-- Attachment #1.2: Type: text/html, Size: 823 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2009-10-09 14:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-07 14:20 Buffer-wide definitions in org-babel Juan Reyero
2009-10-07 18:48 ` Eric Schulte
2009-10-07 19:17   ` Eric Schulte
2009-10-08 11:16     ` Juan Reyero
2009-10-08  9:22   ` Juan Reyero
2009-10-08 14:11     ` Dan Davison
2009-10-09 14:53       ` Juan Reyero

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