From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: [RFC] Change property drawer syntax Date: Mon, 10 Nov 2014 11:19:43 +0100 Message-ID: <86r3xb4atc.fsf@example.com> References: <87oatek909.fsf@nicolasgoaziou.fr> <87siiadfbj.fsf@nicolasgoaziou.fr> <877fzkcojr.fsf@nicolasgoaziou.fr> <86fvdwsk7e.fsf@example.com> <87a941yfco.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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