[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [RFC] Change property drawer syntax
From: |
Sebastien Vauban |
Subject: |
Re: [O] [RFC] Change property drawer syntax |
Date: |
Mon, 10 Nov 2014 11:19:43 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (windows-nt) |
Hello Nicolas,
Nicolas Goaziou wrote:
> Sebastien Vauban writes:
>
>> One question, now that this syntax is stabilized, can the following
>> long-standing bug be fixed: sometimes the SCHEDULED line (or
>> DEADLINE, or ...) is moved synchronously with the heading when
>> promoting/demoting, sometimes not.
>>
>> I found in which cases it does and when it does not: it depends on
>> the presence of text in the entry.
>>
>> So, for example:
>>
>> --8<---------------cut here---------------start------------->8---
>> * The SCHED will be moved
>> SCHEDULED: <2011-08-18 Thu>
>>
>> * This one won't be moved along with the heading
>> SCHEDULED: <2011-08-18 Thu>
>>
>> Because of this text here...
>> --8<---------------cut here---------------end--------------->8---
>>
>> becomes, when *demoted*:
>>
>> --8<---------------cut here---------------start------------->8---
>> * New section
>>
>> ** The SCHED will be moved
>> SCHEDULED: <2011-08-18 Thu>
>>
>> ** This one won't be moved along with the heading
>> SCHEDULED: <2011-08-18 Thu>
>>
>> Because of this text here...
>> --8<---------------cut here---------------end--------------->8---
>>
>> This had been fixed by Bastien in August 2011, but the fix had reverted
>> afterward.
>
> I pushed a change that should make indentation shift hopefully smarter.
It does work perfectly on the "meta-stuff" (SCHEDULED, DEADLINE,
etc.). Though, it moves as well the "body" text -- while I'm not using
`org-indent-mode'.
--8<---------------cut here---------------start------------->8---
* New section
* The SCHED will be moved
SCHEDULED: <2011-08-18 Thu>
** This one won't be moved along with the heading
SCHEDULED: <2011-08-18 Thu>
Because of this text here...
--8<---------------cut here---------------end--------------->8---
^ Space inserted here.
See http://screencast.com/t/2AkkSTpqe5.
> Thank you for reminding me about this.
Thanks to you for your continuous support! We don't say it enough ;-(
Best regards,
Seb
--
Sebastien Vauban
- Re: [O] [RFC] Change property drawer syntax, Nicolas Goaziou, 2014/11/01
- Re: [O] [RFC] Change property drawer syntax, Christian Egli, 2014/11/03
- Re: [O] [RFC] Change property drawer syntax, Sebastien Vauban, 2014/11/06
- Re: [O] [RFC] Change property drawer syntax, Sebastien Vauban, 2014/11/12
- Re: [O] [RFC] Change property drawer syntax, Nicolas Goaziou, 2014/11/13
- Re: [O] [RFC] Change property drawer syntax, Sebastien Vauban, 2014/11/26
Re: [O] [RFC] Change property drawer syntax, Sebastien Vauban, 2014/11/12