Re: [fossil-users] Numbered list syntax?

2009-12-09 Thread Kees Nuyt
On Mon, 07 Dec 2009 15:16:50 +, you wrote:

Hello,

I am looking at the source and see that enumerated lists are defined by:

  1.  Hello
  2.  Goodbye

i.e. a two spaces, a number, a period, two spaces, text.

Why was it decided to use that syntax instead of the common # syntax? This 
means that if I have a list of ten things and want to add in an item after 
position 4, I have to reorder the entire list.

In the fossil docs for the rationale of the wiki markup, I read: The wiki 
markup used by fossil, though limited, is common to most other wiki engines, 
is intuitive, and is sufficient for 90% of all formatting tasks. I've used a 
lot of wiki's and have not seen the numbered list syntax of above and it does 
not seem intuitive either.

I made the change to fossil to support

  #  Hello
  #  Goodbye

can I commit the change drh? The 

  1.  Hello
  2.  Goodbye

syntax is intact and unchanged.


I don't get it. We never had to number the list ourselves.
What was wrong with :

Numbered list

  0  Number one
  0  Number two
  0  Number three
-- 
  (  Kees Nuyt
  )
c[_]
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Numbered list syntax?

2009-12-09 Thread chi


Michael Richter wrote:

 I don't get it. We never had to number the list ourselves.
 What was wrong with :

 Numbered list

  0  Number one
  0  Number two
  0  Number three


 It gives you a list that looks like:

 0. Number one
 0. Number two
 0. Number three

 That's not really a numbered list, now, is it?

Ahhh ... in my Fossil wiki it gives me:

1. Number one
2. Number two
3. Number three

Try for yourself in the Fossil wiki's sandbox ...

But pay attention: Every number enclosed in *two* Blanks!

Ciao,
chi.

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Numbered list syntax?

2009-12-09 Thread Jeremy Cowgar
Kees Nuyt k.n...@zonnet.nl wrote:
 
 I don't get it. We never had to number the list ourselves.
 What was wrong with :
 
 Numbered list
 
   0  Number one
   0  Number two
   0  Number three

Nothing, except it's not documented anywhere or readily noticable in the code. 
I must have skipped right over it! In the wiki_rules, I see:

Enumeration Lists. An enumeration list item is a line that begins with one or 
more digits optionally followed by a . and is surrounded on both sides by two 
or more spaces or by a tab. The number is significant and becomes the number 
shown in the rendered enumeration item. Only a single level of enumeration list 
is supported by wiki. For nested enumerations or for enumerations that count 
using letters or roman numerials, use HTML.

I do, however, by far prefer # over 0 as in many web browsers the default font 
of 0 looks like an O. Also, in keeping with the idea that The wiki markup used 
by fossil, though limited, is common to most other wiki engines, # is much 
more common, I've never run into using 0 before in a wiki system. People will 
intuitively use * and #. As proof, look at how many people never knew Fossil 
did numeric lists! Also, the purpose of a wiki is to make the text both human 
readable and able to be formatted by a computer at the same time. So, when 
reading a numbered list, compare these two items:

John Doe had many pets as a child:
  0  Dog
  0  Cat
  0  Fish
  0  Rabbit
  0  Horse

or.

John Doe had many pets as a child:
  #  Dog
  #  Cat
  #  Fish
  #  Rabbit
  #  Horse

Also, I wanted to make note that even in the fossil wiki where numeric lists 
are used, I see the syntax of:

  1.  Dog
  2.  Cat
  3.  Fish
  4.  

which is the defined syntax.

Jeremy

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Numbered list syntax?

2009-12-09 Thread Michael Richter
2009/12/9 chi ml-fos...@qiao.in-berlin.de

  I don't get it. We never had to number the list ourselves.
  What was wrong with :
 
  Numbered list
 
   0  Number one
   0  Number two
   0  Number three
 
 
  It gives you a list that looks like:
 
  0. Number one
  0. Number two
  0. Number three
 
  That's not really a numbered list, now, is it?

 Ahhh ... in my Fossil wiki it gives me:

 1. Number one
 2. Number two
 3. Number three

 Try for yourself in the Fossil wiki's sandbox ...


I did before I posted.


 But pay attention: Every number enclosed in *two* Blanks!


Yes, I know this.  I got a list of 0.  (Note the period in my list there?)
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Numbered list syntax?

2009-12-09 Thread Jeremy Cowgar
Kees Nuyt k.n...@zonnet.nl wrote:
 
 
 I don't get it. We never had to number the list ourselves.
 What was wrong with :
 
 Numbered list
 
   0  Number one
   0  Number two
   0  Number three

With this new information, value=0 only working on IE and the value= 
attribute being depreciated, I have committed the # list change to fossil. The 
old syntax is still intact and can be used if you like to order your own lists, 
however, I would highly suggest converting over to the new syntax of using # 
for your ordered lists.

Jeremy
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Numbered list syntax?

2009-12-09 Thread Jeremy Cowgar
Michael Richter ttmrich...@gmail.com wrote:
 
  Ahhh ... in my Fossil wiki it gives me:
 
  1. Number one
  2. Number two
  3. Number three
 
  Try for yourself in the Fossil wiki's sandbox ...
 
 
 I did before I posted.
 
 
  But pay attention: Every number enclosed in *two* Blanks!
 
 
 Yes, I know this.  I got a list of 0.  (Note the period in my list there?)

It's not your syntax or fossil, it's the web browser. So far, it looks like 
only IE will turn value=0 into a numbered list. The rest give 0... but do 
not fear, I just committed the # list change.

Jeremy
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Numbered list syntax?

2009-12-09 Thread Kees Nuyt
On Wed, 9 Dec 2009 18:56:13 +0800, you wrote:


 I don't get it. We never had to number the list ourselves.
 What was wrong with :

 Numbered list

  0  Number one
  0  Number two
  0  Number three


It gives you a list that looks like:

0. Number one
0. Number two
0. Number three

No, it doesn't in my version of fossil,
 [732d7c406e] 2009-11-25 22:14:11 ,
nor in the newest,
 [484c8f9f86] 2009-12-08 18:43:51

Using
 Google Chrome browser v3.0.195.33 and
 Internet Explorer 8.0.6001.18865.

But indeed, Firefox v3.5.5 shows the zeroes!

Fossil generates (edited for readability):

pNumbered list !-- 0 0 0 case --
ol
 li value=0Number one/li
 li value=0Number two/li
 li value=0Number three/li
/ol/p 
 
pNumbered list !-- 1 2 3 case --
ol
 li value=1Number one/li
 li value=2Number two/li
 li value=3Number three/li
/ol/p

That's not really a numbered list, now, is it?

Indeed, I think we could even consider this an
(understandable) bug.

Ok, Jeremy has a point in adding a non-digit as a token for
a automatically numbered list, and seeding the enumeration
value only if an explicit digit is given.
-- 
  (  Kees Nuyt
  )
c[_]
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Numbered list syntax?

2009-12-09 Thread Jeremy Cowgar
Kees Nuyt k.n...@zonnet.nl wrote:
 
 Using
  Google Chrome browser v3.0.195.33 and
  Internet Explorer 8.0.6001.18865.
 
 But indeed, Firefox v3.5.5 shows the zeroes!
 

You can download:

http://api.browsershots.org/screenshots/091209-075848-jeremy.cowgar.com-4005547.zip

and see the results in 53 different browsers. IE, Avant, Safari and Chrome all 
show 1. 2. 3. The rest show 0. 0. 0. Further, all text based browsers I've 
found show 0 0 0.

 
 Ok, Jeremy has a point in adding a non-digit as a token for
 a automatically numbered list, and seeding the enumeration
 value only if an explicit digit is given.

I committed the change, however, it does not seed anything. It just uses normal 
HTML syntax. For instance:

  #  Red
  #  Green
  #  Blue

is output as:

ol
liRed/li
liGreen/li
liBlue/li
/ol

The old syntax of:

  12.  Red
  98.  Green
  3.  Blue

still exists and still outputs:

ol
li value=12Red/li
li value=98Green/li
li value=3Blue/li
/ol

Jeremy

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Numbered list syntax?

2009-12-08 Thread Jeremy Cowgar
Any feedback on the below?

Jeremy


Subject: Numbered list syntax?

Hello,

I am looking at the source and see that enumerated lists are defined by:

  1.  Hello
  2.  Goodbye

i.e. a two spaces, a number, a period, two spaces, text.

Why was it decided to use that syntax instead of the common # syntax? This 
means that if I have a list of ten things and want to add in an item after 
position 4, I have to reorder the entire list.

In the fossil docs for the rationale of the wiki markup, I read: The wiki 
markup used by fossil, though limited, is common to most other wiki engines, is 
intuitive, and is sufficient for 90% of all formatting tasks. I've used a lot 
of wiki's and have not seen the numbered list syntax of above and it does not 
seem intuitive either.

I made the change to fossil to support

  #  Hello
  #  Goodbye

can I commit the change drh? The 

  1.  Hello
  2.  Goodbye

syntax is intact and unchanged.

Jeremy

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Numbered list syntax?

2009-12-08 Thread Joshua Paine
On Tue, 2009-12-08 at 23:58 +, Jeremy Cowgar wrote:
 Any feedback on the below?

My only concern would be that in several languages, # is the
everything-after-this-on-this-line-is-a-comment character. Probably
there's no issue, but I'd just want to be sure it wouldn't end up
corrupting code samples.

-- 
Joshua Paine  
LetterBlock: Web applications built with joy  
http://letterblock.com/  
301-576-1920

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Numbered list syntax?

2009-12-08 Thread Jeremy Cowgar
Joshua Paine jos...@letterblock.com wrote:
 On Tue, 2009-12-08 at 23:58 +, Jeremy Cowgar wrote:
  Any feedback on the below?
 
 My only concern would be that in several languages, # is the
 everything-after-this-on-this-line-is-a-comment character. Probably
 there's no issue, but I'd just want to be sure it wouldn't end up
 corrupting code samples.
 

Shouldn't as you should be wrapping code samples in:

verbatim

/verbatim

and inside of that, nothing is parsed. For instance, a code sample of Tcl in 
normal pre tags is disasterous:

pre
# This sets a to equal 20 * 30
set a [expr 20 * 30]
/pre

However, that same code properly inserted into the wiki is just fine:

verbatim
# This sets a to equal 20 * 30
set a [expr 20 * 30]
/verbatim

Even before a change of adding numeric lists via #, the Tcl code is messed up 
in just a pre tag. However, in the verbatim tag, all is well.

Jeremy

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Numbered list syntax?

2009-12-08 Thread Wilson, Ronald
I like it.

Ron Wilson, Engineering Project Lead
(o) 434.455.6453, (m) 434.851.1612, www.harris.com

HARRIS CORPORATION   |   RF Communications Division 
assuredcommunications(tm)


 -Original Message-
 From: fossil-users-boun...@lists.fossil-scm.org [mailto:fossil-users-
 boun...@lists.fossil-scm.org] On Behalf Of Jeremy Cowgar
 Sent: Tuesday, December 08, 2009 6:58 PM
 To: Fossil User Mailing List
 Subject: Re: [fossil-users] Numbered list syntax?
 
 
 Any feedback on the below?
 
 Jeremy
 
 
 Subject: Numbered list syntax?
 
 Hello,
 
 I am looking at the source and see that enumerated lists are defined by:
 
   1.  Hello
   2.  Goodbye
 
 i.e. a two spaces, a number, a period, two spaces, text.
 
 Why was it decided to use that syntax instead of the common # syntax? This
 means that if I have a list of ten things and want to add in an item after
 position 4, I have to reorder the entire list.
 
 In the fossil docs for the rationale of the wiki markup, I read: The wiki
 markup used by fossil, though limited, is common to most other wiki
 engines, is
 intuitive, and is sufficient for 90% of all formatting tasks. I've used a
 lot
 of wiki's and have not seen the numbered list syntax of above and it does
 not
 seem intuitive either.
 
 I made the change to fossil to support
 
   #  Hello
   #  Goodbye
 
 can I commit the change drh? The
 
   1.  Hello
   2.  Goodbye
 
 syntax is intact and unchanged.
 
 Jeremy
 
 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Numbered list syntax?

2009-12-08 Thread altufaltu
Me like it too.


- Altu



-Original Message-
From: Wilson, Ronald rwils...@harris.com
To: fossil-users@lists.fossil-scm.org
Sent: Wed, Dec 9, 2009 6:54 am
Subject: Re: [fossil-users] Numbered list syntax?


I like it.Ron Wilson, Engineering Project Lead(o) 434.455.6453, (m) 
434.851.1612, www.harris.comHARRIS CORPORATION   |   RF Communications Division 
assuredcommunications(tm) -Original Message- From: 
fossil-users-boun...@lists.fossil-scm.org [mailto:fossil-users- 
boun...@lists.fossil-scm.org] On Behalf Of Jeremy Cowgar Sent: Tuesday, 
December 08, 2009 6:58 PM To: Fossil User Mailing List Subject: Re: 
[fossil-users] Numbered list syntax?   Any feedback on the below?  Jeremy 
  Subject: Numbered list syntax?  Hello,  I am looking at the 
source and see that enumerated lists are defined by:1.  Hello   2.  
Goodbye  i.e. a two spaces, a number, a period, two spaces, text.  Why was 
it decided to use that syntax instead of the common # syntax? This means that 
if I have a list of ten things and want to add in an item after position 4, I 
have to reorder the entire list.  In the fossil docs for the rationale of the 
wiki markup, I read: The wiki markup used by fossil, though limited, is 
common to most other wiki engines, is intuitive, and is sufficient for 90% of 
all formatting tasks. I've used a lot of wiki's and have not seen the 
numbered list syntax of above and it does not seem intuitive either.  I 
made the change to fossil to support#  Hello   #  Goodbye  can I 
commit the change drh? The1.  Hello   2.  Goodbye  syntax is intact 
and unchanged.  Jeremy  ___ 
fossil-users mailing list fossil-users@lists.fossil-scm.org 
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users___fossil-users
 mailing 
listfossil-us...@lists.fossil-scm.orghttp://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
 
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Numbered list syntax?

2009-12-08 Thread Michael Richter
I like it a lot.  Renumbering lists was always a hassle.

2009/12/9 altufa...@mail.com

 Me like it too.

  - Altu


 -Original Message-
 From: Wilson, Ronald rwils...@harris.com
 To: fossil-users@lists.fossil-scm.org
 Sent: Wed, Dec 9, 2009 6:54 am
 Subject: Re: [fossil-users] Numbered list syntax?

  I like it.

 Ron Wilson, Engineering Project Lead
 (o) 434.455.6453, (m) 434.851.1612, www.harris.com

 HARRIS CORPORATION   |   RF Communications Division assuredcommunications(tm)


  -Original Message-
  From: fossil-users-boun...@lists.fossil-scm.org [mailto:fossil-users- 
  fossil-users-?
  boun...@lists.fossil-scm.org] On Behalf Of Jeremy Cowgar
  Sent: Tuesday, December 08, 2009 6:58 PM
  To: Fossil User Mailing List
  Subject: Re: [fossil-users] Numbered list syntax?
 
 
  Any feedback on the below?
 
  Jeremy
 
  
  Subject: Numbered list syntax?
 
  Hello,
 
  I am looking at the source and see that enumerated lists are defined by:
 
1.  Hello
2.  Goodbye
 
  i.e. a two spaces, a number, a period, two spaces, text.
 
  Why was it decided to use that syntax instead of the common # syntax? This
  means that if I have a list of ten things and want to add in an item after
  position 4, I have to reorder the entire list.
 
  In the fossil docs for the rationale of the wiki markup, I read: The wiki
  markup used by fossil, though limited, is common to most other wiki
  engines, is
  intuitive, and is sufficient for 90% of all formatting tasks. I've used a
  lot
  of wiki's and have not seen the numbered list syntax of above and it does
  not
  seem intuitive either.
 
  I made the change to fossil to support
 
#  Hello
#  Goodbye
 
  can I commit the change drh? The
 
1.  Hello
2.  Goodbye
 
  syntax is intact and unchanged.
 
  Jeremy
 
  ___
  fossil-users mailing list
  fossil-users@lists.fossil-scm.org
  http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
 ___
 fossil-users mailing 
 listfossil-us...@lists.fossil-scm.orghttp://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Numbered list syntax?

2009-12-07 Thread Jeremy Cowgar
Hello,

I am looking at the source and see that enumerated lists are defined by:

  1.  Hello
  2.  Goodbye

i.e. a two spaces, a number, a period, two spaces, text.

Why was it decided to use that syntax instead of the common # syntax? This 
means that if I have a list of ten things and want to add in an item after 
position 4, I have to reorder the entire list.

In the fossil docs for the rationale of the wiki markup, I read: The wiki 
markup used by fossil, though limited, is common to most other wiki engines, is 
intuitive, and is sufficient for 90% of all formatting tasks. I've used a lot 
of wiki's and have not seen the numbered list syntax of above and it does not 
seem intuitive either.

I made the change to fossil to support

  #  Hello
  #  Goodbye

can I commit the change drh? The 

  1.  Hello
  2.  Goodbye

syntax is intact and unchanged.

Jeremy

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users