Re: [O] [babel] session initialization (was RE: python/babel inline images)

2012-06-07 Thread Eric Schulte
"Mikhail Titov" writes: [...] >> > I would recommend using the `default-directory' variable. That should >> > hold the value of the directory of the Org-mode file or the value of the >> > :dir header argument if present. >> >> Huh... now it works... I remember I've tried before but for some reas

Re: [O] [babel] session initialization (was RE: python/babel inline images)

2012-06-07 Thread Mikhail Titov
[babel] session initialization (was RE: python/babel inline > images) > > > >> ... > > >> > > >> How would I reliably refer to the org doc buffer from where everything > was > > >> called? The following works just fine in session initializa

Re: [O] [babel] session initialization (was RE: python/babel inline images)

2012-06-07 Thread Mikhail Titov
ubject: Re: [O] [babel] session initialization (was RE: python/babel inline > images) > > >> ... > >> > >> How would I reliably refer to the org doc buffer from where everything was > >> called? The following works just fine in session initialization

Re: [O] [babel] session initialization (was RE: python/babel inline images)

2012-06-07 Thread Eric Schulte
;> Cc: emacs-orgmode@gnu.org; 'henry atting'; 'Eric Schulte' >> Subject: Re: [O] [babel] session initialization (was RE: python/babel inline >> images) >> >> > Right now I have something like the following in that function >> > >> >

Re: [O] [babel] session initialization (was RE: python/babel inline images)

2012-06-07 Thread Eric Schulte
7; >> Cc: emacs-orgmode@gnu.org >> Subject: Re: [O] [babel] session initialization (was RE: python/babel > inline >> images) >> >> ... >> >> How would I reliably refer to the org doc buffer from where everything was >> called? The following works

Re: [O] [babel] session initialization (was RE: python/babel inline images)

2012-06-07 Thread Mikhail Titov
[babel] session initialization (was RE: python/babel inline > images) > > ... > > How would I reliably refer to the org doc buffer from where everything was > called? The following works just fine in session initialization code for > Matlab but not for Octave > > (file

Re: [O] [babel] session initialization (was RE: python/babel inline images)

2012-06-06 Thread Mikhail Titov
2 2:02 PM > > To: Mikhail Titov > > Cc: emacs-orgmode@gnu.org; 'henry atting'; 'Eric Schulte' > > Subject: Re: [O] [babel] session initialization (was RE: python/babel > inline > > images) > > > > > Right now I have somet

Re: [O] [babel] session initialization (was RE: python/babel inline images)

2012-06-06 Thread Mikhail Titov
7;Eric Schulte' > Subject: Re: [O] [babel] session initialization (was RE: python/babel inline > images) > > > Right now I have something like the following in that function > > > > (comint-send-string > >(get-buffer-process (current-buffer)) &

Re: [O] [babel] session initialization (was RE: python/babel inline images)

2012-06-06 Thread Eric Schulte
>> >> Most languages should and (at least those I use regularly) do run in the >> directory of the containing Org-mode file. Which languages do not? > > I'm working on ob-octave.el which does not. So I'll fix it in this > case. Great, thanks. > > Which leads me to another question I was about

[O] [babel] session initialization (was RE: python/babel inline images)

2012-06-06 Thread Mikhail Titov
> -Original Message- > From: emacs-orgmode-bounces+mlt=gmx...@gnu.org [mailto:emacs-orgmode- > bounces+mlt=gmx...@gnu.org] On Behalf Of Eric Schulte > Sent: Wednesday, June 06, 2012 12:20 AM > To: Mikhail Titov > Cc: emacs-orgmode@gnu.org; 'henry atting' > Subject: Re: [O] python/babel inli