[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Insert datetree entry
From: |
Daniele Nicolodi |
Subject: |
Re: [O] Insert datetree entry |
Date: |
Tue, 4 Apr 2017 13:50:08 -0600 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 |
On 4/4/17 1:25 PM, Bruce V Chiarelli wrote:
>
> Daniele Nicolodi <address@hidden> 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 is a fairly new feature. Sorry for the
> confusion. In the latest Org, the optional keep-restriction parameter can be
>
> - t - make the datetree at the end of the current /view/ of the buffer,
> - nil - make the datetree at the end of the file, even if it was narrowed
> to a subtree before, or
> - 'subtree-at-point - put the datetree as a subheading at the end of the
> current heading. This one is new in Org 9.0.5.
>
> The first two options have been around for a long time, so if you get
> rid of 'subtree-at-point it should be fine. It will default to nil.
I would like t he functionality provided specifying 'subtree-at-point,
but it has been introduced after the 3.0.5 release currently available
on melpa :(
Cheers,
Daniele