Re: [O] strange behavior with org-babel python

2015-05-11 Thread Puneeth Chaganti
On Tue, May 12, 2015 at 6:37 AM, Doyley, Marvin M. wrote: > Hi there, > > If run the follow codes I get the following, could someone explain to me what > is going wrong [snip] > PS in .emacs, I have (setq org-babel-python-command "ipython --no-banner > --classic --no-confirm-exit") To reliably

[O] strange behavior with org-babel python

2015-05-11 Thread Doyley, Marvin M.
Hi there, If run the follow codes I get the following, could someone explain to me what is going wrong (1) The desired results #+BEGIN_SRC python :results output :exports both :session x=5 def foo(x): if x>0: return x+1 else: return x-1 print(foo(

[O] Capturing file name from python session when using matplotlib

2015-05-11 Thread Dror Atariah
* Capturing filename I would like to use (babel) orgmode as an interactive python notebook. Therefore, in order to allow the various code blocks to "know" each other, it is important to use the ~:session~ option. However, once ~:session~ is used, together with ~matplotlib~ the desired behavior is

[O] Inaccurate documentation for org-metaleft?

2015-05-11 Thread Alain . Cochard
Sorry if I am totally confused, I am an org beginner. If I do 'C-h f org-metaleft', I see org-metaleft is an interactive compiled Lisp function in `org.el'. (org-metaleft &optional ARG) Promote heading or move table column to left. Calls `org-do-promote' or `org-table-move-column',

Re: [O] bug:? org babel updating images (C-c C-c) triggers "show as text" (C-c C-c) in imagemagick buffer.

2015-05-11 Thread Leo Ufimtsev
- Original Message - > From: "Sebastien Vauban" > To: emacs-orgmode@gnu.org > Sent: Sunday, May 10, 2015 4:37:39 PM > Subject: Re: [O] bug:? org babel updating images (C-c C-c) triggers "show as > text" (C-c C-c) in imagemagick buffer. > > Eric S Fraga wrote: > > On Friday, 8 May 201

[O] Bug: org-set-tags duplicates tags in org-tag-persistent-alist

2015-05-11 Thread Paul Rankin
When setting org-tag-alist or org-tag-persistent-alist, calling org-set-tags or org-agenda-set-tags will populate select with both alist tags and any tags from tagged subheadings. To reproduce: $ cat tmp.org * TODO task:tag1: $ emacs -Q (setq org-tag-persistent-alist

Re: [O] bug:? org babel updating images (C-c C-c) triggers "show as text" (C-c C-c) in imagemagick buffer.

2015-05-11 Thread Eric S Fraga
On Sunday, 10 May 2015 at 22:37, Sebastien Vauban wrote: [...] > IIUC, you should retrain yourselves to use other key bindings than the > "do-it-all" C-c C-c. No, this has nothing to do with C-c C-c in org. It has to do with what Emacs does with image buffers so is potentially a little off-topi

[O] Correct way to insert results

2015-05-11 Thread Alex Bennée
Hi, I'm working on adding async call functionality to org-babel blocks so I don't need to block my main Emacs for long running calculations. However I'm having problems with the insertion of the results once handled. My code looks like this: (defmacro async-org-call (async-form) "Expands `ASYNC