Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2011-01-12 Thread Nathaniel Flath
Updated patch attached. Thanks, Nathaniel Flath On Mon, Dec 20, 2010 at 10:25 AM, Nicolas Goaziou n.goaz...@gmail.com wrote: 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

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-12-20 Thread Nicolas Goaziou
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,

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-12-10 Thread Nathaniel Flath
Sory for the long delay - I got caught up in other work. A patchaddressing the sisues brought up is attached. Let me know of anything else. Thanks, Nathaniel Flath On Fri, Nov 26, 2010 at 8:39 PM, Nathaniel Flath flat0...@gmail.com wrote: I'm working on your comments, should have another

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-11-26 Thread Nathaniel Flath
I'm working on your comments, should have another patch in the next day or so. The only thing I had issue with was the comment about org-item-beginning-re: I prefer it as a function for the reasons you mention, but I'm not particularly attached to this. Does anyone else have an opinion?

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-11-22 Thread Bernt Hansen
Nathaniel Flath flat0...@gmail.com writes: Let me know if there's anything else, or if I screwed up anything when trying to figure out how to make a git patch(looks like it worked, though.) From 3b46feec08ec4c93f098dbdc6a4590f95afc0e68 Mon Sep 17 00:00:00 2001 From: unknown nfl...@.(none)

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-11-21 Thread Nathaniel Flath
I think I've fixed these, although I'm not an expert in the exporting. Let me know if there's anything else, or if I screwed up anything when trying to figure out how to make a git patch(looks like it worked, though.) Thanks, Nathaniel Flath On Sat, Nov 13, 2010 at 7:16 AM, Nicolas Goaziou

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-11-13 Thread Nicolas Goaziou
Hello, Nathaniel Flath writes: Are there any further issues? Also, as you changed `org-item-beginning-re' into a function, there are a few places outside org-list.el that need to be modified accordingly. And exporters (mainly HTML and DocBook) should be aware of alphabetical bullets.

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-11-11 Thread Nicolas Goaziou
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

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-11-10 Thread Nathaniel Flath
Are there any further issues? Thanks, Nathaniel Flath On Thu, Oct 28, 2010 at 12:17 AM, Nathaniel Flath flat0...@gmail.com wrote: 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 carsten.domi...@gmail.com wrote:

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-10-28 Thread Nathaniel Flath
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 carsten.domi...@gmail.com 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

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-10-26 Thread Carsten Dominik
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 ( 28 (length struct)) to know when to replace

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-10-26 Thread Nicolas Goaziou
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 ( 28 (length struct)) to know when to replace letters by numbers. But (length struct) doesn't always

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-10-22 Thread Carsten Dominik
Hi Nathaniel, I get patch does not apply. Can you please update the patch to the current git master? Thanks - Carsten On Oct 22, 2010, at 7:30 AM, Nathaniel Flath wrote: I think I've fixed the issues brought up with this new patch. Please let me know what you think. On Wed, Oct 20,

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-10-22 Thread Nathaniel Flath
Sorry about that - patch attached. Thanks, Nathaniel Flath On Fri, Oct 22, 2010 at 1:13 AM, Carsten Dominik carsten.domi...@gmail.com wrote: Hi Nathaniel, I get patch does not apply.  Can you please update the patch to the current git master? Thanks - Carsten On Oct 22, 2010, at 7:30

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-10-21 Thread Nathaniel Flath
I think I've fixed the issues brought up with this new patch. Please let me know what you think. On Wed, Oct 20, 2010 at 9:44 PM, Nathaniel Flath flat0...@gmail.com wrote: But I can't help thinking this could lead to unexpected results in some cases (admittedly less than when alpha bullets

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-10-20 Thread Nathaniel Flath
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

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-10-05 Thread Carsten Dominik
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

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-10-04 Thread Carsten Dominik
On Oct 1, 2010, at 3:13 AM, Nathaniel Flath wrote: Carsten, If you think this is acceptable I'll start working on it. Thanks, Nathaniel Flath On Wed, Sep 29, 2010 at 10:46 AM, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Carsten Dominik writes: Or, alternatively, put it in with

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-10-04 Thread Nicolas Goaziou
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

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-10-04 Thread Sebastian Rose
Sorry for not following this thread closely. But from what I read, I thought it might be better to have a _command_ to sort existing lists alphabetically? That way, there is nothing that has to be turned on globally, that could intefere with Org mode's syntax. Excuse me, if that's of topic or

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-10-04 Thread Nathaniel Flath
I don't think this is what I had in mind. What you suggest seems to apply for bulleted lists, and sorting the titles of those alphabetically. I'm trying to implement lists of the form: a. Item 1 b. Item 2 c. Item 3 That work the same as lists like: 1. Item 1 2. Item 2 3.

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-09-30 Thread Nathaniel Flath
Carsten, If you think this is acceptable I'll start working on it. Thanks, Nathaniel Flath On Wed, Sep 29, 2010 at 10:46 AM, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Carsten Dominik writes: Or, alternatively, put it in with an option to turn it on (default off, I think). And maybe

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-09-29 Thread Carsten Dominik
On Sep 28, 2010, at 6:12 PM, Carsten Dominik wrote: On Sep 27, 2010, at 8:55 AM, Nicolas Goaziou wrote: Nathaniel Flath writes: But, there is apparently one major drawback, as I said in a previous post. If the line starts with a word followed by a dot or a parenthesis, Org will see a

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-09-29 Thread Nathaniel Flath
I'd be fine with either (or both) of these, and can code it up once we decide. I find it unlikely that I'd use an alphabetical list of size more than 26, which is why I only had one character to begin with. Thanks, Nathaniel Flath On Wed, Sep 29, 2010 at 8:49 AM, Carsten Dominik

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-09-29 Thread Nicolas Goaziou
Hello, Carsten Dominik writes: Or, alternatively, put it in with an option to turn it on (default off, I think). And maybe we should after all limit it to a single character to avoid confusion. Yes, I do realise that I asked for several characters - but I am learning... What will then

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-09-27 Thread Nicolas Goaziou
Nathaniel Flath writes: But, there is apparently one major drawback, as I said in a previous post. If the line starts with a word followed by a dot or a parenthesis, Org will see a bullet there. This is bad news because the following line will be indented, or a M-RET will delete the word,

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-09-26 Thread Nicolas Goaziou
Hello, I've tried the patch today. There are still some easily-fixed glitches (like letters not included in org-cycle-list-bullet, or bullets allowing mixed text and numbers). But, there is apparently one major drawback, as I said in a previous post. If the line starts with a word followed by a

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-09-26 Thread Nathaniel Flath
But, there is apparently one major drawback, as I said in a previous post. If the line starts with a word followed by a dot or a parenthesis, Org will see a bullet there. This is bad news because the following line will be indented, or a M-RET will delete the word, replacing it with a) or a.

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-09-21 Thread Carsten Dominik
Hi everyone, I would like to know if there are more people interested in this, and if there are people who are willing to test this patch, to make sure nothing breaks. Nicolas, can you in particular please take a look at this - I believe you earlier said that you saw problems with it.

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-09-21 Thread Nicolas Goaziou
Hello, Carsten Dominik writes: Nicolas, can you in particular please take a look at this - I believe you earlier said that you saw problems with it. Sure, I will have a look at it on Sunday. But before testing it, there is, by design, one thing that seems dangerous to me. Let's consider the

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-09-18 Thread Nathaniel Flath
Hey, I gave another shot at this, now that my computer is no longer dead. I believe it fixes the issues described earlier - let me know of any feedback. (Also - I don't know how to get GMail to attach this as anything other than application/octet-stream, so the text is in the message as well.

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-08-27 Thread Jacob Mitchell
On Fri, Aug 27, 2010 at 6:53 AM, Bernt Hansen be...@norang.ca wrote: Carsten Dominik carsten.domi...@gmail.com writes: On Jul 29, 2010, at 10:27 PM, Nathaniel Flath wrote: Hello all, One thing that had been bugging me was the inability to have an ordered list of the form: a.

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-08-27 Thread Nathaniel Flath
I was going to fix the issues described in the first reply - not enough items in particular - and resubmit soon. I got a bit distracted by finals. I'll see if I can figure out the export problem, as well. Thanks, Nathaniel Flath On Fri, Aug 27, 2010 at 5:44 AM, Jacob Mitchell