emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] A better indentation for lists


From: Carsten Dominik
Subject: Re: [Orgmode] A better indentation for lists
Date: Thu, 22 Nov 2007 21:20:00 +0100

After some puzzling, I tend to agree that this is a better proposal, so
I will give it a try in the next version.  Thanks, Leo, for the detailed
description.  There are, of course, remaining problems, like the first
text lines after a list - it will be indented to the list level when
pressing tab.  I don't think that it is possible to implement this
in a bullet-proof way, all we can ami for is something that is
comfortable for most.

- Carsten

On  12Nov2007, at 11:15 PM, Leo wrote:

Dear all,

The indentation of lists has annoyed me for quite a while. The following
behavior can be observed:

<example 1>
* Head
  - 1
  - 2
    + 3
      - 4

If we need -4 to be on the same level as 1 and 2, we need to move 4 to
form the following:

<example 2>
* Head
  - 1
  - 2
    + 3
  - 4

Now if I reindent the buffer, <example 2> will go back to <example 1>,
i.e. the indentation of list is not robust at all.

Thus I propose the following:

 i. TAB can only move an item if it is before the first indentation
    level


     <example 2>
     * Head                                * Head
     - 1                                     - 1
     - 2                ==>>                 - 2
     + 3                                     + 3
     - 4                                     - 4

 ii. M-<right/left> for moving to other levels for example if 3 should
     be a sublist, move cursor to it and press <M-right>

     * Head
       - 1
       - 2
         + 3
       - 4

I feel this behavior is more robust than current one.

HTH,
--
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

       Use the most powerful email client -- http://gnus.org/



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

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