From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Re: [PATCH] Alphabetical ordered lists Date: Mon, 20 Dec 2010 19:25:43 +0100 Message-ID: <87pqswti6w.wl%n.goaziou@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> <535BC60F-1310-47AD-BCD1-1C88822B852A@gmail.com> <87y69lqs8z.wl%n.goaziou@gmail.com> <4849E760-2A8F-49A4-9B29-347BD3645D1A@gmail.com> <87r5ep2r0k.wl%n.goaziou@gmail.com> <87bp5hi4qy.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=35734 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PUkRw-0004tI-5K for emacs-orgmode@gnu.org; Mon, 20 Dec 2010 13:27:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PUkQh-00067V-Tl for emacs-orgmode@gnu.org; Mon, 20 Dec 2010 13:25:52 -0500 Received: from mail-wy0-f169.google.com ([74.125.82.169]:54856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PUkQh-00067H-OJ for emacs-orgmode@gnu.org; Mon, 20 Dec 2010 13:25:51 -0500 Received: by wyj26 with SMTP id 26so3287244wyj.0 for ; Mon, 20 Dec 2010 10:25:50 -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: Nathaniel Flath Cc: Bernt Hansen , Jacob Mitchell , org-mode List , Carsten Dominik Hello, >>>>> Nathaniel Flath writes: > Sory for the long delay - I got caught up in other work. A > patchaddressing the sisues brought up is attached. I've had a look at your patch. I think the modifications to HTML and DocBook exporters are nice. It could be possible to do the same thing in LaTeX, but it would require yet another package (enumitem) by default. Anyway, here are the code comments : - in your patch, you should try to list modifications to the functions, and which functions were created. For example : * org-list.el (org-alphabetical-lists): new variable (org-cycle-list-bullet): added "A)" "a)" "A." and "a." to the list of bullets in cycle. None of them is allowed in a description list. - The "yes" at the beginning of org-docbook.el should be removed - I advise against using (org-next-item) programmatically. It means you compute the structure associated to the list for each item in the list. I left a note about this circa line 847 in org-list.el - There's a bug with the following situation : A) test B) tersi C) teirsu D) tersiu E) tesiu F) teisru G) etisu - sub-item 1 - sub-item 2 - sub-item 3 - sub-item 4 H) tesinu I) tesinru J) etnrsiu K) tesriun L) etnsiu M) estinu N) etsniu O) etsinu P) tesnu Q) etsinu R) etsiun S) etsnriu T) etsnriu U) etsinu V) etsiu W) etinrsu X) last item If you outdent sub-items 2 to 4 at the same time (with a region), bullet of the last item will become "AA)" and will not be recognized as a list item anymore. - There's also a bug with counters: * [0/0] Counter A. [X] first box B. [X] second box These boxes are not counted when bullets are literals (try C-c #). HTH, Regards, -- Nicolas