emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Leo <sdl.web@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: A better indentation for lists
Date: Thu, 22 Nov 2007 21:20:00 +0100	[thread overview]
Message-ID: <9E98448A-91CD-463B-9030-80E3D9D1A2E3@science.uva.nl> (raw)
In-Reply-To: <m36407xg9m.fsf@cam.ac.uk>

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

      reply	other threads:[~2007-11-22 20:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-12 22:15 A better indentation for lists Leo
2007-11-22 20:20 ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9E98448A-91CD-463B-9030-80E3D9D1A2E3@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).