emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: Bernt Hansen <bernt@norang.ca>,
	org-mode List <emacs-orgmode@gnu.org>,
	Jacob Mitchell <jacob.d.mitchell@gmail.com>
Subject: Re: Re: [PATCH] Alphabetical ordered lists
Date: Tue, 26 Oct 2010 10:23:32 +0200	[thread overview]
Message-ID: <4849E760-2A8F-49A4-9B29-347BD3645D1A@gmail.com> (raw)
In-Reply-To: <87y69lqs8z.wl%n.goaziou@gmail.com>


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 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:
>
>  a) etsiun
>  b) etsiun
>  c) etsiun
>  d) etisun
>  e) etsiun
>  f) etsiun
>  g) etsiun
>  h) etsiun
>  i) etisun
>  j) etsiun
>  k) etsiun
>  l) etsiun
>  m) etsiun
>  n) etsiun
>     a) Outdent me and my children ! <<<
>        a) tersiu
>        b) etsiru
>        c) estiur
>        d) etsnriu
>        e) etsiun
>        f) etiune
>        g) etuirsnet
>     b) etsiun
>  o) etsiun
>  p) etsiun
>  q) etsiun
>  r) etsiun
>  s) 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

    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

  reply	other threads:[~2010-10-26  8:24 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-29 20:27 [PATCH] Alphabetical ordered lists Nathaniel Flath
2010-07-29 21:07 ` Nick Dokos
2010-08-01 18:33   ` David Maus
2010-08-02  9:31 ` Nicolas Goaziou
2010-08-27  8:11 ` Carsten Dominik
2010-08-27 10:53   ` Bernt Hansen
2010-08-27 12:44     ` Jacob Mitchell
2010-08-27 13:01       ` Nathaniel Flath
2010-09-18  7:43         ` Nathaniel Flath
2010-09-21 12:48           ` Carsten Dominik
2010-09-21 16:46             ` Nicolas Goaziou
2010-09-26 17:36             ` Nicolas Goaziou
2010-09-26 22:16               ` Nathaniel Flath
2010-09-27  6:55                 ` Nicolas Goaziou
2010-09-28 16:12                   ` Carsten Dominik
2010-09-29 15:49                     ` Carsten Dominik
2010-09-29 16:50                       ` Nathaniel Flath
2010-09-29 17:46                       ` Nicolas Goaziou
2010-10-01  1:13                         ` Nathaniel Flath
2010-10-04  8:33                           ` Carsten Dominik
2010-10-04 17:18                             ` Nicolas Goaziou
2010-10-05  0:07                               ` Sebastian Rose
2010-10-05  0:21                                 ` Nathaniel Flath
2010-10-05  7:40                               ` Carsten Dominik
2010-10-21  4:44                                 ` Nathaniel Flath
2010-10-22  5:30                                   ` Nathaniel Flath
2010-10-22  8:13                                     ` Carsten Dominik
2010-10-23  1:04                                       ` Nathaniel Flath
2010-10-26  8:21                                     ` Nicolas Goaziou
2010-10-26  8:23                                       ` Carsten Dominik [this message]
2010-10-28  7:17                                         ` Nathaniel Flath
2010-11-11  7:16                                           ` Nathaniel Flath
2010-11-11  8:57                                             ` Nicolas Goaziou
2010-11-13 15:16                                             ` Nicolas Goaziou
2010-11-22  4:45                                               ` Nathaniel Flath
2010-11-22 13:37                                                 ` Bernt Hansen
2010-11-22 18:37                                                 ` Nicolas Goaziou
2010-11-27  4:39                                                   ` Nathaniel Flath
2010-12-11  2:41                                                     ` Nathaniel Flath
2010-12-20 18:25                                                       ` Nicolas Goaziou
2011-01-12 20:05                                                         ` Nathaniel Flath

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4849E760-2A8F-49A4-9B29-347BD3645D1A@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=jacob.d.mitchell@gmail.com \
    --cc=n.goaziou@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).