* A better indentation for lists
@ 2007-11-12 22:15 Leo
2007-11-22 20:20 ` Carsten Dominik
0 siblings, 1 reply; 2+ messages in thread
From: Leo @ 2007-11-12 22:15 UTC (permalink / raw)
To: emacs-orgmode
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: A better indentation for lists
2007-11-12 22:15 A better indentation for lists Leo
@ 2007-11-22 20:20 ` Carsten Dominik
0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2007-11-22 20:20 UTC (permalink / raw)
To: Leo; +Cc: emacs-orgmode
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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-11-22 20:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-12 22:15 A better indentation for lists Leo
2007-11-22 20:20 ` Carsten Dominik
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).