From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Bug: Extra space inserted in repeated tasks' date line Date: Thu, 18 Aug 2011 11:04:58 +0200 Message-ID: <8062lvgked.fsf@somewhere.org> References: <20110815120242.GA9035@gmail.com> <877h6bcfwp.fsf@gnu.org> <80ei0jgmct.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Hi Carsten, Carsten Dominik wrote: > On Aug 18, 2011, at 10:22 AM, Sebastien Vauban wrote: >> Bastien wrote: >>> Markus Berlin writes: >>>> some time ago I noticed this small bug (small but it keeps annoying me!): >>>> an extra space is introduced just before "SCHEDULED" >> >> Similar to this, I've noticed that sometimes the SCHEDULED line (or >> DEADLINE, or ...) is moved synchronously with the heading when >> promoting/demoting, sometimes not. >> >> I now found in which cases it does and when it does not: it depends on the >> presence of text in the entry. > > It depends on the presence of *unindented* text in the entry, > and purposefully so. > >> 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--- > > See the variable `org-adapt-indentation'. This was left untouched by me, that is set to t (default), with the above behavior. If I change it to nil, I'm even farer from the behavior I would like to get. In this new case: --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--- The indentation of both SCHEDULED lines is not changed at all. I would like that their indentation would be changed with the heading, even if I write all my body text starting in column 0. So, this is not currently handled, IIUC? The SCHEDULED lines don't have a different status than the "body text" for indentation purpose ("follow-headline" or "stay-where-you-are")? Best regards, Seb -- Sebastien Vauban