emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Lawrence Bottorff <borgauf@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Automatic ordered lists with "intelligent decimalization"?
Date: Sat, 7 Jun 2014 08:52:52 -0500	[thread overview]
Message-ID: <CAFAhFSX_5oxroCN_YPQyhYFWaHY_X5zb5eYFtR2TO3_oXofvwQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 940 bytes --]

I've seen explanations all around this issue, but nothing specific to the
question: Can you create so-called *ordered* list entries automatically,
i.e., just with M-ret and  M-left/right? I saw this very question asked in
stackoverflow.com (
http://stackoverflow.com/questions/13378222/emacs-ordered-lists-in-org-mode)
. . . then not answered.

I want to create a hierarchy of list items which are numbered, with proper
"decimalization" for the subtree(s):

1. thing-1
1.1. thing-1-1
1.2. thing-1-2
1.2.1. thing-1-2-1
. . .

It seems from the documentation that this behavior is only manual
insertion. Otherwise, I start with

1. Header

then do M-ret and M-right. But that only indents and starts another 1. line.

1. Header
   1. sub header

Subsequent M-ret's only produces either increments, or a M-ret M-right
creates a sub-sub starting again at 1:

1. Header
   1. sub header
   2. sub header
   3. sub header
      1. sub sub header

[-- Attachment #2: Type: text/html, Size: 1445 bytes --]

             reply	other threads:[~2014-06-07 13:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-07 13:52 Lawrence Bottorff [this message]
2014-06-07 13:58 ` Automatic ordered lists with "intelligent decimalization"? Nicolas Goaziou
2014-06-07 18:34   ` Lawrence Bottorff
2014-06-07 21:04     ` Alexander Baier

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=CAFAhFSX_5oxroCN_YPQyhYFWaHY_X5zb5eYFtR2TO3_oXofvwQ@mail.gmail.com \
    --to=borgauf@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).