emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Re: identation in enabled org-indent-mode and disabled OIM


From: Thomas Hisch
Subject: [O] Re: identation in enabled org-indent-mode and disabled OIM
Date: Wed, 2 Mar 2011 13:31:57 +0100

On Wed, Mar 2, 2011 at 1:17 PM, Nicolas <address@hidden> wrote:
> Hello,
>
> Thomas Hisch <address@hidden> writes:
>
>> why is there no consistent identation between disable OIM and enabled
>> OIM, or is there a way to enable this consitent identation ??
>
> You have to keep in mind that OIM fakes indentation, that is, you think
> your line is indented, but in fact, it still lays at column 0. Thus,
> most the spaces used to indent a line outside OIM aren't needed anymore
> with OIM on.
>
> Anyway, it isn't as bad as it sounds. When you stop OIM, you just have
> to re-indent the whole buffer to get your spaces back (C-x h C-M-\ for
> example).
>

Thanks for the explanation. This makes things clearer.  However, when
i use lists (has nothing to do with OIM):

(enabled OIM)
* Head 1
Test 0
** Subhead 1
Test 1
*** Subsubhead 1
Test 1a
** Subhead 2
Test 2
- item 1
  lals2
  lsakdl3
  lkal3
item 2

(after disabling OIM)
* Head 1
Test 0
** Subhead 1
Test 1
*** Subsubhead 1
Test 1a
** Subhead 2
Test 2
- item 1
  lals2
  lsakdl3
  lkal3
item 2

After reindenting the whole buffer with
C-x h C-M-\  the list (item1) is not indented properly:

* Head 1
  Test 0
** Subhead 1
   Test 1
*** Subsubhead 1
    Test 1a
** Subhead 2
   Test 2
- item 1
  lals2
  lsakdl3
  lkal3
   item 2

 Is this a bug ?

Regards
Thomas



reply via email to

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