emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: "William Léchelle" <william.lechelle@ens-lyon.fr>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Indenting into lists
Date: Mon, 12 Nov 2012 21:57:54 +0100	[thread overview]
Message-ID: <87ehjy7d4d.fsf@gmail.com> (raw)
In-Reply-To: <87ehjzpaii.wl%william.lechelle@ens-lyon.fr> ("William \=\?utf-8\?Q\?L\=C3\=A9chelle\=22's\?\= message of "Mon, 12 Nov 2012 02:04:37 -0500")

Hello,

William Léchelle <william.lechelle@ens-lyon.fr> writes:

> Problem is tab only indents to the first possible level, that is, until the
> bullets, like so:
>
> * heading
>   - list item on
>     many lines
>   HERE is not enough to be in the list.

That's no exactly right. Since the line was outside the list before, it
indents it so that it's still out of it after. With that rule, it's not
the first possible level, but the only one.

> So in order to achieve the desired behaviour, I have to press space and tab
> alternatively until the line reaches where it belongs (for that combination
> makes it be indented more and more), which becomes tedious when indenting a few
> lines across nested lists.
>
> Is there a better way to indent to the maximum point ?

I suggest C-x r o as it allows to indent more than one line at a time.

> (Could tab cycle between all indenting points, like is automagical in python ?
> That would be truly awesome.)

That's not possible. Though, I think it would be quite disturbing. It
works well with Python because every line is treated as such. But, in an
Org buffer, it would only happen on lines following an item, that is not
often enough, IMO, to make it unsurprising.


Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2012-11-12 21:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-12  7:04 Indenting into lists William Léchelle
2012-11-12 20:57 ` Nicolas Goaziou [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=87ehjy7d4d.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=william.lechelle@ens-lyon.fr \
    /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).