emacs-orgmode
[Top][All Lists]
Advanced

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

[O] demoting a heading inserts spaces in column-0 text


From: Daniel Clemente
Subject: [O] demoting a heading inserts spaces in column-0 text
Date: Fri, 05 Dec 2014 20:02:22 +0700
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/25.0.50 (x86_64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO)


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

   If some people prefer „move header+text even if text is in column 0“ 
(current behaviour) over „move header but not text if text is in column 0“ 
(proposal), org-adapt-indentation could select choose between the two.
   

   Thanks,
Daniel



reply via email to

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