emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: why not auto-renumbering list ?
Date: Sat, 07 Aug 2010 14:41:34 +0200	[thread overview]
Message-ID: <87vd7mfvcx.wl%n.goaziou@gmail.com> (raw)


I'm still into lists, and I'm wondering about the global usefulness of
`org-auto-renumber-ordered-lists', provided that:

- it isn't noticeably slower to renumber and fix a list than to simply
  fix its indentation;
- you can use [@start:num] to enforce a special numbering;
- some actions on a list will renumber it whatever the value of this
  variable is.

So, I'd like to hear about other users. Do you set this variable to
nil? If so, what is your use case?

If there's a need for decreasing numbers or numbers increasing by more
than one, I could add [@step:num] and [@start:num,@step:num] as
possibilities, but it looks a bit overkill to me.

Anyway, the idea behind this would be to:

- remove `org-maybe-renumber-ordered-list',
- remove `org-maybe-renumber-ordered-list-safe',
- remove this variable,
- rename `org-fix-bullet-type' to `org-fix-bullet',
- call `org-fix-bullet' unconditionally when acting on a list instead
  of having to decide if the function should renumber or simply fix

What do you think about it?

-- Nicolas

             reply	other threads:[~2010-08-08 17:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-07 12:41 Nicolas Goaziou [this message]
2010-08-09  6:56 ` why not auto-renumbering list ? Carsten Dominik
2010-08-09 11:35   ` Nicolas Goaziou
2010-08-09 12:35     ` Nicolas Goaziou
2010-08-10  8:47       ` Andrew Swann
2010-08-10  9:46         ` Nicolas Goaziou
2010-08-10 11:18           ` Andrew Swann
2010-08-10 12:32             ` Nicolas Goaziou
2010-08-11  7:43               ` Andrew Swann

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:

  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=87vd7mfvcx.wl%n.goaziou@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* 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


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).