From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: why not auto-renumbering list ? Date: Sat, 07 Aug 2010 14:41:34 +0200 Message-ID: <87vd7mfvcx.wl%n.goaziou@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from [140.186.70.92] (port=35500 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oi9bW-0004PH-TP for emacs-orgmode@gnu.org; Sun, 08 Aug 2010 13:24:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ohiiy-0000CD-Jz for emacs-orgmode@gnu.org; Sat, 07 Aug 2010 08:42:05 -0400 Received: from mail-ww0-f41.google.com ([74.125.82.41]:56120) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ohiiy-0000C3-Ft for emacs-orgmode@gnu.org; Sat, 07 Aug 2010 08:42:04 -0400 Received: by wwd20 with SMTP id 20so20859wwd.0 for ; Sat, 07 Aug 2010 05:42:03 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode List Hello, 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 indentation. What do you think about it? Regards, -- Nicolas