From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [RFC] Change property drawer syntax Date: Sat, 08 Nov 2014 14:46:47 +0100 Message-ID: <87a941yfco.fsf@nicolasgoaziou.fr> References: <87oatek909.fsf@nicolasgoaziou.fr> <87siiadfbj.fsf@nicolasgoaziou.fr> <877fzkcojr.fsf@nicolasgoaziou.fr> <86fvdwsk7e.fsf@example.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xn6LQ-0006ju-Vl for emacs-orgmode@gnu.org; Sat, 08 Nov 2014 08:46:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xn6LH-0005rk-SN for emacs-orgmode@gnu.org; Sat, 08 Nov 2014 08:46:24 -0500 Received: from plane.gmane.org ([80.91.229.3]:37985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xn6LH-0005rf-MF for emacs-orgmode@gnu.org; Sat, 08 Nov 2014 08:46:15 -0500 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xn6LG-0004hw-P5 for emacs-orgmode@gnu.org; Sat, 08 Nov 2014 14:46:14 +0100 In-Reply-To: <86fvdwsk7e.fsf@example.com> (Sebastien Vauban's message of "Thu, 06 Nov 2014 11:21:41 +0100") 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org Hello, 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. Thank you for reminding me about this. Regards, -- Nicolas Goaziou