[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-agenda-insert-diary-make-new-entry adds entry as first child
From: |
Bastien |
Subject: |
Re: [O] org-agenda-insert-diary-make-new-entry adds entry as first child? |
Date: |
Mon, 28 Jul 2014 16:20:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Hi Nikolai,
Nikolai Weibull <address@hidden> writes:
> Here’s a suggested solution. We keep track of whether the parent
> entry already has any children, then we call org-insert-heading with
> two universal arguments to add an entry at the end of the current
> subtree. Finally, if there weren’t any children already, we demote
> the entry we added so that it becomes a child of the parent entry.
Finally applied in master, thanks,
> Please note that this was written while eating dinner with my kid.
Bon appétit !
--
Bastien
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [O] org-agenda-insert-diary-make-new-entry adds entry as first child?,
Bastien <=