[Orgmode] Re: Org, org-plot, and babel+gnuplot on Windows

2010-09-18 Thread Sébastien Vauban
HI Eric,

Eric Schulte wrote:
 Sébastien Vauban wxhgmqzgw...@spammotel.com writes:
 1) Babel relies on gnuplot-mode for session based evaluation
 2) gnuplot-mode does not work on windows

 Which results in the need to add a :session none header argument on
 windows to avoid session based evaluation.

 I thought that =:session none= was the default. See
 http://orgmode.org/manual/session.html#session.

 So, writing nothing is OK, or do you really need to *explicitly* dismiss
 the session?

 You are correct that =:session none= is the global default, however header
 arguments can be specified on the global, language, file, headline, and code
 block scale,

Not using such global params *yet*, I had only the small picture in mind.
Thanks for refreshing my memory...


 and it so happens that =:session= is specified in
 `org-babel-default-header-args:gnuplot' on the language level for gnuplot.
 This could undone with something like the following.

 (setq org-babel-default-header-args:gnuplot
   '((:results . file)
 (:exports . results)))

I did not know such things... Great to learn... A proof I had reason to ask, I
would have missed this forever ;-)

Thanks a lot,
  Seb

-- 
Sébastien Vauban


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


[Orgmode] Re: Org, org-plot, and babel+gnuplot on Windows

2010-09-17 Thread Sébastien Vauban
Hi Eric,

 1) Babel relies on gnuplot-mode for session based evaluation
 2) gnuplot-mode does not work on windows

 Which results in the need to add a :session none header argument on
 windows to avoid session based evaluation.

I thought that =:session none= was the default. See
http://orgmode.org/manual/session.html#session.

So, writing nothing is OK, or do you really need to *explicitly* dismiss the
session?

Best regards,
  Seb

-- 
Sébastien Vauban


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


Re: [Orgmode] Re: Org, org-plot, and babel+gnuplot on Windows

2010-09-17 Thread Eric Schulte
Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 Hi Eric,

 1) Babel relies on gnuplot-mode for session based evaluation
 2) gnuplot-mode does not work on windows

 Which results in the need to add a :session none header argument on
 windows to avoid session based evaluation.

 I thought that =:session none= was the default. See
 http://orgmode.org/manual/session.html#session.

 So, writing nothing is OK, or do you really need to *explicitly* dismiss the
 session?


Hi Seb,

You are correct that =:session none= is the global default, however
header arguments can be specified on the global, language, file,
headline, and code block scale, and it so happens that =:session= is
specified in `org-babel-default-header-args:gnuplot' on the language
level for gnuplot.  This could undone with something like the following.

(setq org-babel-default-header-args:gnuplot
  '((:results . file)
(:exports . results)))

Best -- Eric


 Best regards,
   Seb

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