Re: [O] Insert datetree entry

2017-04-05 Thread Daniele Nicolodi
On 4/5/17 3:40 PM, Bruce V Chiarelli wrote: > > Daniele Nicolodi writes: > >> On 4/4/17 1:25 PM, Bruce V Chiarelli wrote: >>> >>> Daniele Nicolodi writes: >> Hi Bruce, >> >> I modified your code as follow to be able to insert a datetree entry >> correctly being anywhere in an existing datetree.

Re: [O] Insert datetree entry

2017-04-05 Thread Bruce V Chiarelli
Daniele Nicolodi writes: > On 4/4/17 1:25 PM, Bruce V Chiarelli wrote: >> >> Daniele Nicolodi writes: > Hi Bruce, > > I modified your code as follow to be able to insert a datetree entry > correctly being anywhere in an existing datetree. I also added the > possibility of having a prefix argumen

Re: [O] Insert datetree entry

2017-04-04 Thread Daniele Nicolodi
On 4/4/17 1:25 PM, Bruce V Chiarelli wrote: > > Daniele Nicolodi writes: > >> >> thanks for the hint, but I don't understand what `subtree-at-point` is >> in your code, it does not seem to be defined in my emacs and >> `org-datetree-find-date-create` has a third parameter that is >> interpreted

Re: [O] Insert datetree entry

2017-04-04 Thread Daniele Nicolodi
On 4/4/17 1:25 PM, Bruce V Chiarelli wrote: > > Daniele Nicolodi writes: > >> >> thanks for the hint, but I don't understand what `subtree-at-point` is >> in your code, it does not seem to be defined in my emacs and >> `org-datetree-find-date-create` has a third parameter that is >> interpreted

Re: [O] Insert datetree entry

2017-04-04 Thread Bruce V Chiarelli
Daniele Nicolodi writes: > > thanks for the hint, but I don't understand what `subtree-at-point` is > in your code, it does not seem to be defined in my emacs and > `org-datetree-find-date-create` has a third parameter that is > interpreted as a boolean. I'm confused. Ah, yes I forgot that this

Re: [O] Insert datetree entry

2017-04-04 Thread Daniele Nicolodi
On 4/3/17 5:37 PM, Bruce V Chiarelli wrote: > > Daniele Nicolodi writes: > >> Hello, >> >> there is a way in org-mode to insert a datetree entry without going >> through the org-capture? Ideally the function would jump to the >> datetree and inser an headline for the current day if one is not >>

Re: [O] Insert datetree entry

2017-04-03 Thread Bruce V Chiarelli
Daniele Nicolodi writes: > Hello, > > there is a way in org-mode to insert a datetree entry without going > through the org-capture? Ideally the function would jump to the > datetree and inser an headline for the current day if one is not > present, or move to the end of it if one is present. >

[O] Insert datetree entry

2017-04-03 Thread Daniele Nicolodi
Hello, there is a way in org-mode to insert a datetree entry without going through the org-capture? Ideally the function would jump to the datetree and inser an headline for the current day if one is not present, or move to the end of it if one is present. I haven't found anything like this in t