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