From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Re: [PATCH] Alphabetical ordered lists Date: Thu, 11 Nov 2010 09:57:58 +0100 Message-ID: <874obo44q1.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> 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=37171 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGSyt-0003zZ-CC for emacs-orgmode@gnu.org; Thu, 11 Nov 2010 03:58:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGSyl-00010f-2v for emacs-orgmode@gnu.org; Thu, 11 Nov 2010 03:58:00 -0500 Received: from mail-wy0-f169.google.com ([74.125.82.169]:37359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGSyk-00010Q-UD for emacs-orgmode@gnu.org; Thu, 11 Nov 2010 03:57:59 -0500 Received: by wyf23 with SMTP id 23so1952618wyf.0 for ; Thu, 11 Nov 2010 00:57:57 -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: > Are there any further issues? Thanks, Nathaniel Flath I've quick checked your patch and it looks like it is doing its job. Two things to note, though: 1. I strongly recommend that `org-list-can-be-alphabetical' should make use of non-interactive forms instead of interactive ones. In other words, you should use `org-get-beginning-of-list' and `org-get-next-item' instead of `org-beginning-of-item-list' and `org-next-item'. You can see my note about it in org-list.el at line 856. If you have the structure of the list, `caadr' on it (or an equivalent if you don't like cl.el) will give you a valid top item needed by non-interactive forms. 2. Your patch doesn't apply to current git head, you should correct the conflict. Regards, -- Nicolas