emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jonathan Moore <my.jon.moore@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: an annoying indentation
Date: Thu, 14 Jun 2007 02:51:48 +0000 (UTC)	[thread overview]
Message-ID: <loom.20070614T043626-320@post.gmane.org> (raw)
In-Reply-To: m2y7ipm392.fsf@sl392.st-edmunds.cam.ac.uk

Leo <sdl.web <at> gmail.com> writes:
> 
> ----- Carsten Dominik (2007-06-12) wrote:-----
> 
> >> *** heading 1
> >> - item 1
> >> - item 2
> >>
> >> Now hit tabwith cursor right before '-', it becomes,
> >>
> >> *** heading 1
> >>     - item 1
> >>       - item 2
> >
> > The question I have is: why would you press TAB if not to indent?
> 
> But in my case I use 'TAB' to indent. I feel 'item 2' should indent to
> the same level as item 1.
> 

I agree with Leo that this behavior is a minor nuisance.  But it is really bad
if one tries an indent-region on a plain list, because indent-region-function is
nil and you get things like:
         - item 1
           - item 2
             line 1
             line 2
             
             - item 3
               - ...

Working out a sensible place to indent to according to the style of previous
list markers does not seem that hard in principle.  I'd be willing to try coding
an option for this.

  reply	other threads:[~2007-06-14  2:55 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-12 15:13 an annoying indentation Leo
2007-06-12 16:20 ` William Henney
2007-06-12 18:30   ` Leo
2007-06-12 16:35 ` Carsten Dominik
2007-06-12 16:42   ` William Henney
2007-06-12 17:49   ` J. David Boyd
2007-06-12 17:55     ` William Henney
2007-06-12 19:45       ` J. David Boyd
2007-06-12 18:33   ` Leo
2007-06-14  2:51     ` Jonathan Moore [this message]
2007-06-12 17:18 ` Rick Moynihan
2007-06-12 17:36   ` Eddward DeVilla
2007-06-14 11:39     ` Carsten Dominik
2007-06-14 12:01   ` Carsten Dominik
2007-06-14 14:45     ` Leo
2007-06-14 14:57       ` John Rakestraw
2007-06-14 15:02         ` pete phillips
2007-06-14 15:43           ` Rick Moynihan
2007-06-14 15:51             ` William Henney
2007-06-15  7:50             ` Carsten Dominik
2007-06-15  6:14           ` Carsten Dominik
2007-06-15 11:24             ` Dmitri Minaev
2007-06-15 13:44             ` William Henney
2007-06-15 14:13               ` Carsten Dominik
2007-06-15 14:53                 ` William Henney
2007-06-14 14:59       ` William Henney

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=loom.20070614T043626-320@post.gmane.org \
    --to=my.jon.moore@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).