> >    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.

> There no such thing as a your "headers" in Org. :CLOCK: and "Text" are
> treated equally, as contents of the headline.

  Of course everything's text, but if there's no distinction between
drawers/headers and text, that's the problem. Those headers are metadata
written and managed by org and must follow some rules, whereas the rest of
text is data typed by the user and relatively free. Those headers must even
follow strict processes (like being "repaired" to make CLOCK appear after
PROPERTIES), so I wouldn't say they are normal text.
  Maybe you are referring to the non-drawers metadata, i.e. to those notes
that you can add with C-c C-z. That's in the limbo between org data and
text, that's the tricky part. I don't know whether that should be indented
together with the drawers, probably yes.
  So, I think org should detect its own syntax (:CLOCK: ... :END: etc.), and
do automatic changes only to its own syntax, not to text typed by the user
unless the user asks for it.

--
Daniel

On Sat, Dec 6, 2014 at 6:40 AM, Nicolas Goaziou <m...@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Daniel Clemente <n142...@gmail.com> 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 ("demoted",
> >   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] =>  0:55
> >       :END:
> > Text
> >
> >
> >
> >   to this:
> >
> > ***** some
> >        :CLOCK:
> >        CLOCK: [2013-11-12 Sel 10:45]--[2013-11-12 Sel 11:40] =>  0:55
> >        :END:
> >  Text
> >
> >
> >
> >    while what I expected was this:
> >
> > ***** some
> >        :CLOCK:
> >        CLOCK: [2013-11-12 Sel 10:45]--[2013-11-12 Sel 11:40] =>  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.orgmode/92450) was not to move
> anything in this case, that's bad and was fixed. I think the proposal is
> better.
> >    org-adapt-indentation=nil 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,
>
> --
> Nicolas Goaziou
>

Reply via email to