Hi Bastien, Bastien wrote: > "Sebastien Vauban" <wxhgmqzgw...@spammotel.com> writes: > >> ** This one won't be moved along with the heading >> SCHEDULED: <2011-08-18 Thu> >> >> Because of this text here... > > This should be fixed now. "Meta" lines (SCHEDULED string, etc, > along with the first properties drawer) will be indented correctly, > even when text from the subtree start at the beginning of the line. > > Please confirm this works okay for you, and thanks for reporting > this!
This works in many cases, but suffers some problems. Anyway, you're really not far from giving this a definitive solution[1]. Here a compilation of cases which don't work, or work with an error being generated in the echo area. --8<---------------cut here---------------start------------->8--- * New section The first one works, but generates an error ("setq: Wrong type argument: number-or-marker-p, nil"). ** The SCHED will be moved SCHEDULED: <2011-08-18 Thu> ** This one now move as well along with the heading SCHEDULED: <2011-08-18 Thu> Even with this text here... but error is also generated. Same for the following: works, with error. ** RDV client DEADLINE: <2011-09-06 Tue 08:30-09:15> ** Feestje Iris <2011-08-14 Sun 18:30> Demoting this one does not move the active timestamp, but moves the SCHEDULED line of the next entry. ** TODO Bi-weekly review SCHEDULED: <2011-08-12 Fri ++14d> :PROPERTIES: :RESET_CHECK_BOXES: t: :LAST_REPEAT: [2009-07-28 Tue 21:19] :END: Here, the properties aren't moved. The rest well. --8<---------------cut here---------------end--------------->8--- Thank you so much for patching this. It will save me tens of minutes per month, and an RSI because of adding them manually? ;-) Best regards, Seb Footnotes: [1] I've been sure for months that this worked before (like some half year ago), but never tried on such a vintage version. Anyway, Carsten told me I was wrong... -- Sebastien Vauban