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 12:04:06 +0100 Message-ID: <867fz348rd.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; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 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, Yes, that's what I want [1]! > you might want to set this variable to nil. Isn't that somehow duplicate with `org-indent-mode' (which I don't enable either)? =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 org-indent-mode is an interactive autoloaded Lisp function in `= org-indent.el'. =E2=94=82=20 =E2=94=82 (org-indent-mode &optional ARG) =E2=94=82=20 =E2=94=82 When active, indent text according to outline structure. =E2=94=82=20 =E2=94=82 Internally this works by adding `line-prefix' and `wrap-prefix' =E2=94=82 properties, after each buffer modification, on the modified zon= e. =E2=94=82=20 =E2=94=82 The process is synchronous. Though, initial indentation of =E2=94=82 buffer, which can take a few seconds on large buffers, is done =E2=94=82 during idle time. =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 Would I want to let the indentation following the level of the entries, I'm not sure what I'd have to do: - (org-indent-mode), and/or - (setq org-adapt-indentation t)? Best regards, Seb [1] And that simplifies A LOT file diffs... Hence, another question: shouldn't the default be reversed (no adaption of indentation, by default)? --=20 Sebastien Vauban