From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: [RFC] Change property drawer syntax Date: Wed, 12 Nov 2014 11:40:15 +0100 Message-ID: <86bnocn1m8.fsf@example.com> References: <87oatek909.fsf@nicolasgoaziou.fr> <87siiadfbj.fsf@nicolasgoaziou.fr> <877fzkcojr.fsf@nicolasgoaziou.fr> <86fvdwsk7e.fsf@example.com> <87a941yfco.fsf@nicolasgoaziou.fr> <86r3xb4atc.fsf@example.com> <87r3xbqqwl.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: > >> 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'. >> >> * 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... >> ^ Space inserted here. > > This is expected, actually. I realize that `org-adapt-indentation' > docstring is not totally up-to-date. > > If your indentation shouldn't depend on the current headline level, > you might want to set this variable to nil. I've done that but, now, it does not support anymore the structure I had in all my Org files: --8<---------------cut here---------------start------------->8--- ** TODO Show typical Org entry SCHEDULED: <2014-11-08 Sat> :LOGBOOK: CLOCK: [2014-11-11 Tue 12:35]--[2014-11-11 Tue 14:19] => 1:44 :END: I have the planning lines and the drawers indented at the level of the entry. On the other hand, the "body text" of the entry always begins at column 0. This makes a clear distinction between "meta-stuff" and the contents of the entry itself. --8<---------------cut here---------------end--------------->8--- Now, with `org-adapt-indentation' set to `t', the whole "block" moves to the right when demoting, and to the left (except for the LOGBOOK drawer!? [1]) when promoting. With `org-adapt-indentation' set to `nil', nothing moves (but the headline), when demoting or promoting. Thanks for your help. Best regards, Seb [1] See http://screencast.com/t/nsGNuoHL. -- Sebastien Vauban