(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.


Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-40) was last changed on 26-Sep-2007 09:31 by ChuckSmith  

This page was created on 23-Feb-2007 03:55 by RadomirDopieralski

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 added 11 lines
== 2007-02-22
[[Christoph Sauer]] Dear creole parser developers. We have proposed a [[HyphenListMarkupProposal]]. I know that it is quite yet another change, but I think it's crucial. Please read through it carefully before you rant at me, because that was Chucks first response as well ;). I consider this as an important decision towards a Creole version 1.0. If we have sorted this out I feel pretty much that we are through.
My personal todolist/whishlist towards a Version 1.0
* getting through the [[HyphenListMarkupProposal]] discussion.
* general escape character (clarify usage of spaces before elements), see [[Escape Character Proposal]]
* clarify the usage of placeholder, discuss separate markup for placeholder and plugins/extensions/macros (term is engine specific) see confusion in [[Remove Placeholder Proposal]].
At line 354 added 6 lines
I've added a page called [[List Markup Linebreak Argument]] since it repeatedly appeared, to discuss it there.
--[[Christoph Sauer]], 2007-Apr-14
At line 398 added 87 lines
I propose to //reject// this proposal, for the following reasons:
* star is less common than hyphen in normal text (dialogs and negative numbers);
* if the ambiguity with bold markup is really a problem (which I don't think it is), then the ambiguity between numbered lists and monospace should also be discussed now, so that we don't have to regret this decision;
* we're running out of markup characters, so it'll be difficult to avoid all ambiguities; since this one and {{{#}}}/{{{##}}} are harmless, we should accept them.
-- [[YvesPiguet]], 2007-Mar-21
//keep// - All my developers tell me (WikiWizard Project, CreolePageFilter) that it is easier to implement. Radomir seems to have problems too, otherwise he would not propose the space after bullet. Users instinctively use hyphens in list, I see it all the time - (e.g. just recently this one: [[http://www.marktberolzheim.de/Wiki.jsp?page=HVNews_blogentry_110307_1]]). The [People] at the WMS Workshop wanted it. Yves, it seems that your parser is pretty advanced so you don't have problems with it, but others have. It helps to make implementations easier and does not hurt the eye of the beholder (as {{{'''''}}} or {{{** *}}} does). Please keep your implementation and allow asterisk in lists additionally, but the least common denominator should be hyphens for lists.
Yes, we are running out of markup characters, but as long as we can afford it, we should avoid using the same characters, and this proposal does not introduce a new one - the rule of the frequency of usage is very important here: we can have same markup for rare combinations, but not for bold and lists.
-- [[ChristophSauer]], 2007-Mar-21
Radomir's implementation for MoinMoin passed the [[BoldAndListsAmbiguity]] test...
Hyphens would require to use the context to disambiguate lists and signatures, so I'm
not sure to understand why the implementation would be simpler.
I much prefer a single markup character for unordered lists to offering both, so I'll
switch completely if this proposal is accepted for 0.6. But what do you suggest for {{{##}}}?
I think that separating nowiki and monospace is important (we could give up inline
nowiki if we accept an escape character, but monospace as a normal style is highly
needed, imo).
Another way to disambiguate {{{**}}} and {{{##}}} would be to always consider them as
list markup when they are at the beginning of a line and as style markup elsewhere,
e.g. after a space.
-- [[YvesPiguet]], 2007-Mar-21
Except sometimes you'd want to put emphasis ({{{**}}}) on a whole paragraph...
If I understood your idea, Yves, it wouldn't be possible anymore. Right?
-- [[MicheleTomaiuolo]], 2007-03-22
No, I meant something like that:
A list:
** a single level-2
item spanning two lines
** Very important note: style is reset at the
end of each paragraph!
Skipping level-1 list is just for the sake of illustration. Spaces at the beginning or end
of lines should be discarded anyway (if they aren't by the Creole parser, I guess they are
anyway in HTML). That should be easy to implement with regexps.
I don't want to restart a whole discussion if everyone agreed on hyphens, though...
-- [[YvesPiguet]], 2007-03-22
People do commonly indent lists, especially second-level nested lists. Also the choice of which one is a list and which is bold seems pretty arbitrary, no? Then again, the meaning of this is easier to guess:
A list:
** a single level-2
item spanning two lines
**Very important note: style is reset at the
end of each paragraph!
-- [[Radomir Dopieralski]], 2007-Mar-22
It's done neither in Mediawiki where indenting is used for preformatted blocks, nor in
WikiCreole. I don't have experience with other engines. Edge cases are often unintuitive, whatever
we choose; that's why I insist on simple and consistent rules. I wouldn't mind your proposition
if so many WikiPedia lists hadn't any space. Actually, I don't really dislike it :-)
-- [[YvesPiguet]], 2007-Mar-22
I don't think {{{##}}} would be much of an issue, because I wouldn't expect monospace to be used much at the beginning of numbered lists. However, as Radomir's research suggests, bold is quite common at the beginning of list items. Also, keep in mind that some wiki engines like [[TracWiki]] even require a space before the asterisk or number sign.
-- [[Chuck Smith]], 2007-Mar-22
To be honest, I really liked the original Creole proposal: No nested lists. And thus my first Creole implementation supported * and - for lists, and there was no discussion about nesting. Great! :)
-- AlexSchroeder, 2007-04-03
Christoph wrote: //If you turn on line wrap in an editor, the editor will visually wrap the line. You will find this behavior in almost all editors. Those editors however do NOT insert hard line breaks, that could be confused by parsers so that they make the errors above -- they only do it visually. So far no one has brought up examples of such an editor, or editor option, that inserts hard line breaks into text. Therefore this is considered as an irrelevant argument unless someone provides an example of an editor that is relevant in practice.//
On Macintosh, text editors BBEdit (commercial) and [[http://www.barebones.com/products/textwrangler/index.shtml|TextWrangler]] (free) have such an option.
-- [[YvesPiguet]], 2007-04-17
Version Date Modified Size Author Changes ... Change note
40 26-Sep-2007 09:31 32.753 kB ChuckSmith to previous restore
39 26-Sep-2007 01:03 32.766 kB to previous | to last
38 21-Apr-2007 15:24 32.753 kB ChristophSauer to previous | to last refactoring: moved annunc from talk to here
37 17-Apr-2007 11:02 31.894 kB YvesPiguet to previous | to last BBEdit and TextWrangler do hard wrap
36 14-Apr-2007 10:42 31.148 kB ChristophSauer to previous | to last added link to linebreak argument on lists on relevant discussion
35 03-Apr-2007 12:09 30.974 kB to previous | to last No nested lists.
34 22-Mar-2007 16:19 30.741 kB ChuckSmith to previous | to last reply to Yves about ##
33 22-Mar-2007 12:30 30.352 kB YvesPiguet to previous | to last List indenting
32 22-Mar-2007 12:03 29.945 kB RadomirDopieralski to previous | to last people commonly indent lists
31 22-Mar-2007 10:12 29.552 kB YvesPiguet to previous | to last Clarification
30 22-Mar-2007 09:33 29.004 kB MicheleTomaiuolo to previous | to last emphasis on whole par
29 21-Mar-2007 20:22 28.809 kB YvesPiguet to previous | to last What about sharp?
28 21-Mar-2007 18:26 27.975 kB ChristophSauer to previous | to last keep
27 21-Mar-2007 18:24 27.894 kB ChristophSauer to previous | to last keep
26 21-Mar-2007 18:24 27.89 kB ChristophSauer to previous | to last keep
25 21-Mar-2007 16:51 26.853 kB YvesPiguet to previous | to last Reject
24 08-Mar-2007 17:21 26.285 kB YvesPiguet to previous | to last Thanks
23 08-Mar-2007 17:16 26.239 kB RadomirDopieralski to previous | to last experiments
22 08-Mar-2007 16:47 25.568 kB YvesPiguet to previous | to last Experiment feedback?
21 08-Mar-2007 16:19 25.284 kB RadomirDopieralski to previous | to last single hyphens only
« This page (revision-40) was last changed on 26-Sep-2007 09:31 by ChuckSmith