Re: [O] org-babel-expand-src-block v.s. org-babel-execute-src-block with Python

2017-09-03 Thread Nicolas Goaziou
Hello, ed...@openmail.cc writes: > I have noticed that doing C-c C-v v (org-babel-expand-src-block) and > C-c > C-c (org-babel-execute-src-block) yield different results in Python. I guess this is related to the :session parameter, which is not obeyed when using "C-c C-v v". > * Question: >

[O] org-babel-expand-src-block v.s. org-babel-execute-src-block with Python

2017-08-31 Thread edgar
Hello, I have noticed that doing C-c C-v v (org-babel-expand-src-block) and C-c C-c (org-babel-execute-src-block) yield different results in Python. I have attached a file with a MWE and a couple of questions to avoid clutter in the mailing list. Thank you in advance :) . ---

Re: [O] org-babel-expand-src-block behavior

2017-08-14 Thread Nicolas Goaziou
Hello, Ken Mankoff writes: > Is there a way to get variables into org-edit-special? Maybe by pre-pending > C-u to C-c '? The problem is not getting the variables into the remote editing buffer. As you noticed, we would only need to remove the read-only status from `org-babel-expand-src-block' o

Re: [O] org-babel-expand-src-block behavior

2017-08-12 Thread Ken Mankoff
On Sat, Aug 12, 2017 at 12:52 PM, Nicolas Goaziou wrote: > > Ken Mankoff writes: > > > and second, if I make changes and then exit the expanded block > > (via C-') without saving, the changes are lost. If I enter > > =org-edit-special= and exit w/o saving, the changes are propagated > > back to t

Re: [O] org-babel-expand-src-block behavior

2017-08-12 Thread Nicolas Goaziou
Hello, Ken Mankoff writes: > Hi, > > I've just learned about =org-babel-expand-src-block= (from [1]) which seems > like an improvement over =org-edit-special=, because variables are expanded. > > But I notice two issues with it, and I'm wondering if these are intentional > or bugs, or if there

[O] org-babel-expand-src-block behavior

2017-08-11 Thread Ken Mankoff
Hi, I've just learned about =org-babel-expand-src-block= (from [1]) which seems like an improvement over =org-edit-special=, because variables are expanded. But I notice two issues with it, and I'm wondering if these are intentional or bugs, or if there are work-arounds. First, the buffer is r

[O] org-babel-expand-src-block

2012-02-03 Thread Christophe Pouzat
Hi all, Using the last org-mode version from the git repository (7.8.03) I've found a mismatch between the key-chord required to call function =org-babel-expand-src-block= (=C-c C-v v=) and the ones given in the info file: =C-c C-v p= or =C-c C-v C-p=. The same goes for the [[http://orgmode.org/wo