Re: [O] avoiding "First item of list cannot move without its subtree"

2017-02-21 Thread Max Rydahl Andersen
On 21 Feb 2017, at 18:35, Nicolas Goaziou wrote: "Max Rydahl Andersen" writes: Any pointers on how to do this ? I tried this but no luck to get hooked in: ``` (defadvice org-fix-list-indent (around org-list-indent-item-generic) "Advise list indention to trigger

Re: [O] Python loops with ":results output"

2017-02-21 Thread John Kitchin
The startup is a bit slower I find too. On the other hand I get the right output, async execution, multiple inline images, and export to jupyter notebooks with my scimax modifications. On Tue, Feb 21, 2017 at 3:53 PM Sebastian P. Luque wrote: > On Tue, 21 Feb 2017 08:58:59

Re: [O] Python loops with ":results output"

2017-02-21 Thread Sebastian P . Luque
On Tue, 21 Feb 2017 08:58:59 -0500, John Kitchin wrote: > On Mon, Feb 20, 2017 at 11:04 PM, Seb wrote: > #+BEGIN_SRC python :session :results output :exports results for i > in range(3):     print("Iter {0}".format(i)) > #+END_SRC > Try

Re: [O] [ANN] New Org duration library

2017-02-21 Thread Achim Gratz
Nicolas Goaziou writes: > You can post your old customization here, I try to help you convert it > to the new format, if possible at all. Well, once I remembered why I had to customize it, things fell into place. It wasn't something complicated, just that I wanted all durations shown in h:mm,

Re: [O] [ANN] New Org duration library

2017-02-21 Thread Nicolas Goaziou
Achim Gratz writes: > Thanks, but will there be some helper function to migrate the old > customizations? I didn't even remember that I had customized this > variable until I couldn't clock in or out anymore (I remember now that I > customized it so it would record durations

Re: [O] BUG: agenda for current days excludes reoccurring events

2017-02-21 Thread Nicolas Goaziou
Hello, Jarmo Hurri writes: > If I am on the right track here, org-agenda-show-future-repeats controls > future repetitions, and org-agenda-prefer-last-repeat controls > repetitions for today? Almost. The former controls repetitions starting from tomorrow. The latter

Re: [O] [ANN] New Org duration library

2017-02-21 Thread Achim Gratz
Nicolas Goaziou writes: >> You seem to have (some of) these aliased to org-duration format somehow. >> This breaks a lot of things because the format of the former variables >> is not recognized. I got a bunch of errors about :hour not being a list >> for instance. There surely must be a better

Re: [O] [ANN] New Org duration library

2017-02-21 Thread Nicolas Goaziou
Hello, Achim Gratz writes: > You seem to have (some of) these aliased to org-duration format somehow. > This breaks a lot of things because the format of the former variables > is not recognized. I got a bunch of errors about :hour not being a list > for instance. There

Re: [O] avoiding "First item of list cannot move without its subtree"

2017-02-21 Thread Nicolas Goaziou
"Max Rydahl Andersen" writes: > Any pointers on how to do this ? > > I tried this but no luck to get hooked in: > > ``` > (defadvice org-fix-list-indent > (around org-list-indent-item-generic) > "Advise list indention to trigger creation of star instead" > (message

Re: [O] [ANN] New Org duration library

2017-02-21 Thread Achim Gratz
Nicolas Goaziou writes: > `org-time-clocksum-format', `org-time-clocksum-use-fractional' and > `org-time-clocksum-fractional-format' are obsolete. If you changed them, > consider modifying ~org-duration-format~ instead. You seem to have (some of) these aliased to org-duration format somehow. This

Re: [O] org-export-babel-evaluate=nil ignores ":exports results" setting - this has changed

2017-02-21 Thread Charles C. Berry
On Tue, 21 Feb 2017, Aaron Ecay wrote: Hi Chuck, 2017ko otsailak 20an, "Charles C. Berry"-ek idatzi zuen: [...] Allowing header args to be processed (as before) also allows for arbitrary code to be executed. The point of setting ‘org-export-use-babel’ or `org-export-babel-evaluate' to

Re: [O] org-export-babel-evaluate=nil ignores ":exports results" setting - this has changed

2017-02-21 Thread Charles C. Berry
On Mon, 20 Feb 2017, Derek Feichtinger wrote: Hi Chuck On 21.02.2017 00:54, Charles C. Berry wrote: On Mon, 20 Feb 2017, Derek Feichtinger wrote: When org-export-babel-evaluate is set to nil, I see a different behavior now as compared to earlier versions of org. Indeed. It is now

Re: [O] avoiding "First item of list cannot move without its subtree"

2017-02-21 Thread Max Rydahl Andersen
On 21 Feb 2017, at 8:42, Nicolas Goaziou wrote: > Hello, > > "Max Rydahl Andersen" writes: > >> Might be - but seems it fits very naturally to be able to at least >> allow to move list items outside its parent. >> >> Don't get me wrong - I like it defaults to stopping, but

Re: [O] Python loops with ":results output"

2017-02-21 Thread John Kitchin
On Mon, Feb 20, 2017 at 11:04 PM, Seb wrote: > #+BEGIN_SRC python :session :results output :exports results > for i in range(3): > print("Iter {0}".format(i)) > > #+END_SRC > Try using ob-ipython. It doesn't have that issue for me. John

Re: [O] Saving org-capture buffer while writing it

2017-02-21 Thread Ian Barton
> > Hi, > > > > Sometimes when I am taking notes, I end up spending a lot of time in a > > capture buffer. If I happen to switch to something else, I end up > > loosing the capture buffer. I probably just kill the buffer > > accidentally, or do `C-c C-k'. > > > > Is there a way I can take backups

Re: [O] Possible Bug in Capture.

2017-02-21 Thread Ian Barton
> > Your template is invalid. Per `org-capture-templates', it should be > > (file+datetree "path/to/file") > > IOW, there should be no "Notes." > > > Regards, > > -- > Nicolas Goaziou > Thank you! Things have obviously changed since the last time I set up a capture template. Note to self:

Re: [O] org-export-babel-evaluate=nil ignores ":exports results" setting - this has changed

2017-02-21 Thread Aaron Ecay
Hi Chuck, 2017ko otsailak 20an, "Charles C. Berry"-ek idatzi zuen: [...] > > Allowing header args to be processed (as before) also allows for arbitrary > code to be executed. The point of setting ‘org-export-use-babel’ or > `org-export-babel-evaluate' to nil was to prevent this. For that