emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [RFC] Change property drawer syntax


From: Sebastien Vauban
Subject: Re: [O] [RFC] Change property drawer syntax
Date: Wed, 12 Nov 2014 11:40:15 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (windows-nt)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]