Re: [O] Getting source code to work

2012-08-01 Thread Rasmus
Mark Stoehr writes: > and my version (from M-x org-version) is > Org-mode version 7.8.11 How about sh> python --version On my system where python is 3.2.3 and python2 is 2.7.3 I have (setq org-babel-python-command "python2") –Rasmus -- Hooray!

Re: [O] Getting source code to work

2012-08-01 Thread Nick Dokos
Mark Stoehr wrote: > I just installed emacs and org-mode on a new machine, do you have any > suggestions for debugging this? > No easy way, I'm afraid (but maybe somebody else can think of something better). I usually run edebug on the suspect function and single step through it, examining vari

Re: [O] Getting source code to work

2012-08-01 Thread Eric Schulte
Mark Stoehr writes: > I just installed emacs and org-mode on a new machine, do you have any > suggestions for debugging this? > Hi Mark, What version of Org-mode do you have installed? What version of Emacs are you using? Does the problem persist when you start emacs with "emacs -Q"? -- Eri

Re: [O] Getting source code to work

2012-08-01 Thread Thomas S. Dye
Hi Mark, Perhaps someone else can reproduce the problem then? I'm not able to reproduce it. If not, then one of the elisp wizards on this list might be able to point out likely problems with your setup. All the best, Tom Mark Stoehr writes: > Thanks Tom, > > I do have > > (org-babel-do-l

Re: [O] Getting source code to work

2012-08-01 Thread Mark Stoehr
I just installed emacs and org-mode on a new machine, do you have any suggestions for debugging this? Mark On Wed, Aug 1, 2012 at 2:11 PM, Nick Dokos wrote: > Mark Stoehr wrote: > >> Hi, I'm trying to include python source code in my document and I'm >> finding that org-babel-execute-buffer (

Re: [O] Getting source code to work

2012-08-01 Thread Nick Dokos
Mark Stoehr wrote: > Hi, I'm trying to include python source code in my document and I'm > finding that org-babel-execute-buffer ( as well as C-c C-c at the end > of a code block) does not successfully run my code, instead I get an > error "Invalid function: org-save-outline-visibility". I saw

Re: [O] Getting source code to work

2012-08-01 Thread Mark Stoehr
Thanks Tom, I do have (org-babel-do-load-languages 'org-babel-load-languages '((python . t) (R . t))) in my ~/.emacs.d/init.el and my version (from M-x org-version) is Org-mode version 7.8.11 Cheers, Mark On Wed, Aug 1, 2012 at 2:07 PM, Thomas S. Dye wrote: > Al

Re: [O] Getting source code to work

2012-08-01 Thread Thomas S. Dye
Aloha Mark, Mark Stoehr writes: > Hi, I'm trying to include python source code in my document and I'm > finding that org-babel-execute-buffer ( as well as C-c C-c at the end > of a code block) does not successfully run my code, instead I get an > error "Invalid function: org-save-outline-visibi

[O] Getting source code to work

2012-08-01 Thread Mark Stoehr
Hi, I'm trying to include python source code in my document and I'm finding that org-babel-execute-buffer ( as well as C-c C-c at the end of a code block) does not successfully run my code, instead I get an error "Invalid function: org-save-outline-visibility". I saw messages earlier http://thre