On Fri, Sep 26, 2008 at 1:14 AM, Sergiu Dumitriu <[EMAIL PROTECTED]> wrote:
> Vincent Massol wrote: > > On Sep 25, 2008, at 5:07 PM, Sergiu Dumitriu wrote: > > > >> Guillaume Lerouge wrote: > >>> On Thu, Sep 25, 2008 at 2:27 PM, Vincent Massol > >>> <[EMAIL PROTECTED]> wrote: > >>> > >>>> Hi, > >>>> > >>>> Guillaume was surprised (and rightly so) that we use this format for > >>>> nested lists: > >>>> > >>>> 111*. > >>>> > >>>> He was expecting 111.* > >> How come? > >> > >>>> I remember I had the same remark the first time I saw this a long > >>>> time > >>>> ago. > >>>> > >>>> Thus (if we agree) we have 2 solutions: > >>>> > >>>> Solution 1: > >>>> ========= > >>>> > >>>> 111.* > >> -0.5, for me at least it is not intuitive at all. > >> > >>>> Solution 2: > >>>> ======== > >>>> > >>>> 1.1.1.* > >> +0.25 > >> A bit too long. > >> > >>> I'm in favor of this solution since it follows the usual pattern > >>> for lists : > >>> > >>> * > >>> ** > >>> > >>> 1. > >>> 1.1. > >>> > >> We could also have a simple dotless 1, like: > >> > >> 1 list item > >> 1* subitem > >> 1* subitem > >> 1*1 numbered subitem > >> 1*1 numbered subitem > >> > >> Of course this means that any non-list 1 at the start of the row > >> should > >> be escaped. Also, it is confusing with the old header syntax. > > > > Yes that's the reason I didn't list it. > > > >> If the dot's placement is not clear enough, we could use ), like: > >> > >> 1) item > >> 1*) subitemitem > >> 111) etc > > > > This sounds too different from other syntaxes ( http://www > > .wikimatrix.org/syntax.php?i=33). > > > > So are you saying that the current notation ("1111*.") is ok for you? > > Of all the choices, it seems to be the least bad one. I disagree with this. This syntax is counter-intuitive for at least 2 reasons : 1. It does not follow the classic list indendation rule ("add the symbol again to indent one more level", the way we do it with stars) 2. There is no understandable reason why the * should be located between the "1" and the "." . An user would expect the second symbol to come after the first one ("1.*") rather than a weird mix of both that does not seem to follow any rationale (at least that's how I felt when I used it : it seemed awkward) The "1.1.1." has the benefit of being more intuitive and more logical than the current one. Since we're already changing many parts of the syntax in order to improve it, I think it would be good to improve this part as well. Guillaume > > Thanks > > -Vincent > > > >>> thus making it easier for users to remember : indent one level = > >>> duplicate > >>> the symbol . > >>> > >>> Guillaume > >>> > >>> > >>>> Another solution would be to use another symbol but we cannot use # > >>>> and the second most common solution is "1." > >>>> See http://www.wikimatrix.org/syntax.php?i=33 > >>>> > >>>> I'm hesitating but I propose to use Solution 2 which seems the most > >>>> consistent to me. > >>>> > >>>> WDYT? > >>>> > > > -- > Sergiu Dumitriu > http://purl.org/net/sergiu/ > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > -- Guillaume Lerouge Product Manager - XWiki Skype ID : wikibc http://blog.xwiki.com/ _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

