From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: demoting a heading inserts spaces in column-0 text Date: Sat, 06 Dec 2014 00:40:02 +0100 Message-ID: <871tod3bu5.fsf@nicolasgoaziou.fr> References: <87k326i71d.wl-n142857@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xx2T2-0008VP-9B for emacs-orgmode@gnu.org; Fri, 05 Dec 2014 18:39:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xx2Sr-0006b1-0U for emacs-orgmode@gnu.org; Fri, 05 Dec 2014 18:39:20 -0500 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:60704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xx2Sq-0006aj-L1 for emacs-orgmode@gnu.org; Fri, 05 Dec 2014 18:39:08 -0500 In-Reply-To: <87k326i71d.wl-n142857@gmail.com> (Daniel Clemente's message of "Fri, 05 Dec 2014 20:02:22 +0700") 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: Daniel Clemente Cc: emacs-orgmode@gnu.org Hello, Daniel Clemente writes: > There was a change (cba2f0a2a3024ae5bf71e1a12ba99778a92902a2, Sat > Nov 8 14:35:24 2014 +0100) which made :CLOCK: etc entries shift to > the right when the tree is being shifted to the right (=E2=80=9Edemoted= =E2=80=9C, > e.g. using M-S-Right). > > > But now it changes from this: > > **** some > :CLOCK: > CLOCK: [2013-11-12 Sel 10:45]--[2013-11-12 Sel 11:40] =3D> 0:55 > :END: > Text > > > > to this: >=20=20=20 > ***** some > :CLOCK: > CLOCK: [2013-11-12 Sel 10:45]--[2013-11-12 Sel 11:40] =3D> 0:55 > :END: > Text > > > > while what I expected was this: >=20=20=20=20 > ***** some > :CLOCK: > CLOCK: [2013-11-12 Sel 10:45]--[2013-11-12 Sel 11:40] =3D> 0:55 > :END: > Text > > > > > Proposal: if text starts in column 0, don't move the text; move > only the headers. Then, in this case, :CLOCK: drawer will not move either. Unless "headers" is defined as "stuff not too far from the headline". But it is too vague to be usable. > An old behaviour (reported in http://permalink.gmane.org/gmane.emacs.o= rgmode/92450) was not to move anything in this case, that's bad and was fix= ed. I think the proposal is better. > org-adapt-indentation=3Dnil would write all headers in column 0 by > default, which is ugly and doesn't give the desired result. There no such thing as a your "headers" in Org. :CLOCK: and "Text" are treated equally, as contents of the headline. Regards, --=20 Nicolas Goaziou