From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Daniel Clemente <n142857@gmail.com>
Cc: Org-mode Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: demoting a heading inserts spaces in column-0 text
Date: Fri, 12 Dec 2014 19:25:25 +0100 [thread overview]
Message-ID: <87388mvxgd.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAJKAhPCBK2E=CjynT5xP7jAzb23g1BQELhMs-RfTWx4r=+Pesw@mail.gmail.com> (Daniel Clemente's message of "Thu, 11 Dec 2014 19:36:58 +0700")
Daniel Clemente <n142857@gmail.com> writes:
> 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,
This is incorrect.
:CLOCK: or :LOGBOOK: or whatever the value of `org-clock-into-drawer'
is, are regular drawers conveniently provided to collect clocks and
allow to hide them away. They have no special meaning in Org, and may
not even exist (i.e., when `org-clock-into-drawer' is nil). There is no
reason to treat them specially.
OTOH, clocks themselves are pure metadata. They could be indented
specifically, but since they are allowed anywhere in a section, it might
be dangerous to do so (e.g. it could break a list). Actually, this is
true for anything that need to appear at the very beginning of the
section, i.e., anything but planning info and properties drawers.
> 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)uà, so I wouldn't say
> they are normal text.
This is also wrong. PROPERTIES drawer, which is metadata, has to be
moved before anything else in the section (with the exception of
planning info). This has nothing to do with CLOCK drawers, which are not
even considered in the process.
> 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.
Again, :CLOCK:...:END: is user's decision, not Org's. So are all
drawers, but, of course, PROPERTIES. The latter is the exception, not
the rule.
Regards,
next prev parent reply other threads:[~2014-12-12 18:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-05 13:02 demoting a heading inserts spaces in column-0 text Daniel Clemente
2014-12-05 23:40 ` Nicolas Goaziou
2014-12-11 12:36 ` Daniel Clemente
2014-12-12 18:25 ` Nicolas Goaziou [this message]
2014-12-13 10:28 ` Daniel Clemente
2014-12-13 11:33 ` Nicolas Goaziou
2014-12-13 13:38 ` Daniel Clemente
2014-12-13 14:10 ` Nicolas Goaziou
[not found] ` <87iohequ70.wl-n142857@gmail.com>
2014-12-22 5:43 ` Fwd: " Daniel Clemente
2014-12-22 11:34 ` Nicolas Goaziou
2014-12-22 15:28 ` Sebastien Vauban
2014-12-23 8:41 ` Nicolas Goaziou
2015-01-09 16:02 ` Daniel Clemente
2015-01-13 11:10 ` Nicolas Goaziou
2015-01-16 14:29 ` Daniel Clemente
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87388mvxgd.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=n142857@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.