From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: demoting a heading inserts spaces in column-0 text Date: Fri, 12 Dec 2014 19:25:25 +0100 Message-ID: <87388mvxgd.fsf@nicolasgoaziou.fr> References: <87k326i71d.wl-n142857@gmail.com> <871tod3bu5.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzUtL-0007Oo-VK for emacs-orgmode@gnu.org; Fri, 12 Dec 2014 13:24:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzUtB-0003eJ-QA for emacs-orgmode@gnu.org; Fri, 12 Dec 2014 13:24:39 -0500 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:41884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzUtB-0003eF-Jy for emacs-orgmode@gnu.org; Fri, 12 Dec 2014 13:24:29 -0500 In-Reply-To: (Daniel Clemente's message of "Thu, 11 Dec 2014 19:36:58 +0700") 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Daniel Clemente Cc: Org-mode Org-Mode Daniel Clemente 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=C3=A0, so I wouldn't s= ay > 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,