From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathaniel Flath Subject: Re: Re: [PATCH] Alphabetical ordered lists Date: Wed, 10 Nov 2010 23:16:43 -0800 Message-ID: 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> <535BC60F-1310-47AD-BCD1-1C88822B852A@gmail.com> <87y69lqs8z.wl%n.goaziou@gmail.com> <4849E760-2A8F-49A4-9B29-347BD3645D1A@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=60446 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGROo-0006y2-BX for emacs-orgmode@gnu.org; Thu, 11 Nov 2010 02:16:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGROn-00072P-AZ for emacs-orgmode@gnu.org; Thu, 11 Nov 2010 02:16:46 -0500 Received: from mail-qw0-f41.google.com ([209.85.216.41]:48653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGROn-00072L-6r for emacs-orgmode@gnu.org; Thu, 11 Nov 2010 02:16:45 -0500 Received: by qwi2 with SMTP id 2so1637100qwi.0 for ; Wed, 10 Nov 2010 23:16:45 -0800 (PST) In-Reply-To: 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: Carsten Dominik Cc: Bernt Hansen , Jacob Mitchell , org-mode List , Nicolas Goaziou Are there any further issues? Thanks, Nathaniel Flath On Thu, Oct 28, 2010 at 12:17 AM, Nathaniel Flath wrot= e: > New patch fixing these issues is attached. > > Let me know of any other problems. > > On Tue, Oct 26, 2010 at 1:23 AM, Carsten Dominik > wrote: >> >> On Oct 26, 2010, at 10:21 AM, Nicolas Goaziou wrote: >> >>> Hello, >>> >>>>>>>> Nathaniel Flath writes: >>> >>>> I think I've fixed the issues brought up with this new patch. Please >>>> let me know what you think. >>> >>> I've noticed a couple of glitches. >>> >>> First, you are using >>> >>> =A0(> 28 (length struct)) >>> >>> to know when to replace letters by numbers. But (length struct) >>> doesn't always match list length, so it will lead to errors when >>> outdenting items. >>> >>> For example, try outdenting, with its subtree, the item marked with >>> "<<<" in the list below: >>> >>> =A0a) etsiun >>> =A0b) etsiun >>> =A0c) etsiun >>> =A0d) etisun >>> =A0e) etsiun >>> =A0f) etsiun >>> =A0g) etsiun >>> =A0h) etsiun >>> =A0i) etisun >>> =A0j) etsiun >>> =A0k) etsiun >>> =A0l) etsiun >>> =A0m) etsiun >>> =A0n) etsiun >>> =A0 =A0a) Outdent me and my children ! <<< >>> =A0 =A0 =A0 a) tersiu >>> =A0 =A0 =A0 b) etsiru >>> =A0 =A0 =A0 c) estiur >>> =A0 =A0 =A0 d) etsnriu >>> =A0 =A0 =A0 e) etsiun >>> =A0 =A0 =A0 f) etiune >>> =A0 =A0 =A0 g) etuirsnet >>> =A0 =A0b) etsiun >>> =A0o) etsiun >>> =A0p) etsiun >>> =A0q) etsiun >>> =A0r) etsiun >>> =A0s) etsiun >>> >>> All the lists will be numbered although they could keep alphabetical >>> bullets. >>> >>> Another (lesser) problem is coming from the regexp chosen for bullets, >>> that is "[0-9A-Za-z]+". I would suggest something alike >>> "\\(\\(?:[0-9]\\)+\\|[A-Za-z]\\)". At the moment, you can set counter >>> to [@a4] and break you list when applying it. >> >> >> Also, even when the alpha lists are turned off, typing >> >> =A0 a) >> >> and pressing M-RET will show that a) is seen as a list bullet. >> >> Thanks for your work, we are getting closer to an acceptable patch. >> >> - Carsten >> >>> >>> Regards, >>> >>> -- Nicolas >> >> - Carsten >> >> >> >> >