emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "William Léchelle" <william.lechelle@ens-lyon.fr>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Indenting into lists
Date: Mon, 12 Nov 2012 02:04:37 -0500	[thread overview]
Message-ID: <87ehjzpaii.wl%william.lechelle@ens-lyon.fr> (raw)

Hi list,

I often structure notes into (multi-level) lists, and copy-paste multi-line
text into them, some of which gets pasted on column zero. For it to be part of
the list item, it needs to be indented as such, which I'd like <tab> to do.

  ┏━━━━[ <tab> runs the command org-cycle ]
  ┃ When point is not at the beginning of a headline, execute the global binding
  ┃ for TAB, which is re-indenting the line.
  ┗━━━━

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.

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 ?

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

Thanks in advance

             reply	other threads:[~2012-11-12  7:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-12  7:04 William Léchelle [this message]
2012-11-12 20:57 ` Indenting into lists Nicolas Goaziou

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=87ehjzpaii.wl%william.lechelle@ens-lyon.fr \
    --to=william.lechelle@ens-lyon.fr \
    --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).