From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: [PATCH] Alphabetical ordered lists Date: Tue, 5 Oct 2010 09:40:47 +0200 Message-ID: <535BC60F-1310-47AD-BCD1-1C88822B852A@gmail.com> References: <87bp8o498o.fsf@gollum.intra.norang.ca> <393C5110-E4D3-4B36-8F4E-4F94B5AA0F93@gmail.com> <87k4m876g3.wl%n.goaziou@gmail.com> <87iq1r7k00.wl%n.goaziou@gmail.com> <747F5104-6B1C-43E8-BF42-883287B7E303@gmail.com> <87aan0789y.wl%n.goaziou@gmail.com> <874od127wq.wl%n.goaziou@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=45717 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P33AH-0007TQ-L0 for emacs-orgmode@gnu.org; Tue, 05 Oct 2010 04:46:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P32rU-0008Vj-Ae for emacs-orgmode@gnu.org; Tue, 05 Oct 2010 04:27:05 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:55925) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P32rU-0008Ty-6M for emacs-orgmode@gnu.org; Tue, 05 Oct 2010 04:27:00 -0400 Received: by mail-ey0-f169.google.com with SMTP id 5so3004848eyh.0 for ; Tue, 05 Oct 2010 01:26:59 -0700 (PDT) In-Reply-To: <874od127wq.wl%n.goaziou@gmail.com> 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: Nicolas Goaziou , Nathaniel Flath Cc: Bernt Hansen , Jacob Mitchell , org-mode List On Oct 4, 2010, at 7:18 PM, Nicolas Goaziou wrote: >>>>>> Carsten Dominik writes: > >> I think it would be appropriate in this case to simply throw an >> error and let the user clean up with undo. > > Certainly, but this still means that any 27+ items list will never be > able to complete a full bullet cycle as the user will have to undo > each time alphabetical bullets are reached. It could perhaps start > again at letter 'a'... Ok, we could force the list to become numbered when someone tries to cycle it into a,b,... THis does not mean that you'd have to count in advance, you could simply try the renumbering and when stepping over z throw an exception that will force the list to move to the next state which would be numbers. > >> Nicolas, would you *object* against a patch by Nathaniel that >> implements this? You are Mr lists now, so your green light will be >> needed. > > I wouldn't object against it as some people are finding it useful and > as it won't be turned on by default (if I remember correctly). Yes, we sould not turn it on by default because it might bahave strange under some circumstances. > > But I can't help thinking this could lead to unexpected results in > some cases (admittedly less than when alpha bullets could be any size > long). It definitely will. Here is an alternative idea. Nathaniel, what do you think about this: We could keep the numbering as we have it in the Org file, but introduce something like [@a] in the first item that will convert the numbering into a,b,... upon export to ASCII, HTML, maybe even LaTeX (even though I think LaTeX demands some consistency here and prefers to have the global setup decide how lists work). Hell, we could even use [@A] for capitals and [@i] and [@I] for roman numbering :) - Carsten