[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Capture problems with newlines [9.1.14 (9.1.14-9-g131531-el
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Bug: Capture problems with newlines [9.1.14 (9.1.14-9-g131531-elpa @ /home/calvin/.emacs.d/elpa/org-20181105/)] |
Date: |
Tue, 06 Nov 2018 18:02:24 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello,
Calvin Beck <address@hidden> writes:
> I have this problem where I have a capture template like this:
>
>> ("t" "Todo" entry (file+headline "~/org/todo.org" "Tasks")
>> "* TODO %?\n SCHEDULED: %t\n %a\n")
>
> And then if I have another heading under Tasks...
>
>> * Tasks
>> * HEADING2
>
> Then when capturing a todo entry, if I delete the last line I get something
> like...
>
>> * Tasks
>> ** TODO
>> SCHEDULED: <2018-11-05 Mon>
>> link* HEADING2
>
> And similarly, if I edit the last line in the capture template I get...
>
>> * Tasks
>> ** TODO
>> SCHEDULED: <2018-11-05 Mon>
>> link
>> the stuff that I added at the end of my capture template* HEADING2
>
> This is counter intuitive, as you expect the capture to be isolated from
> the other headings. Additionally, it's not obvious that you are messing
> up other headings when you are using org-capture, so you can end up
> losing tasks and headings, which seems like a very bad behaviour!
Could you test again with development version? I think it was fixed
recently.
Regards,
--
Nicolas Goaziou