Re: [Zope] ZWiki/Structured Text formatting surprise

2000-07-11 Thread Steve Alexander
Jim wrote: > A number of people have complained about the use of single quotes > for in-line code. One possible alternative is to use ``code''. I like the way it looks. However, I think it causes a problem with code like this: `` if a == '': doSomething() '' You could use ``code`` instead,

Re: [Zope] ZWiki/Structured Text formatting surprise

2000-07-11 Thread Jim Fulton
Stephen Harrison wrote: > > Jim Fulton wrote: > > > > Chris Withers wrote: > > > > > > Jim Fulton wrote: > > > > I suggest that, since this appeared in a code snippit to begin > > > > with, it should have been written as: > > > > > > > > blah blah '(_.None,_,foo)' blah blah > > > > > > I don't

Re: [Zope] ZWiki/Structured Text formatting surprise

2000-07-11 Thread Jim Fulton
Chris Withers wrote: > > Jim Fulton wrote: (snip) > > > How about extending ! beyond just escaping WikiNames? > > > > I *really* **really** hate the ! wiki name escape. > > Why? A goal of structured text is that it should be readable in it's original form. The conventions used should mimic the

Re: [Zope] ZWiki/Structured Text formatting surprise

2000-07-11 Thread Stephen Harrison
Jim Fulton wrote: > > Chris Withers wrote: > > > > Jim Fulton wrote: > > > I suggest that, since this appeared in a code snippit to begin > > > with, it should have been written as: > > > > > > blah blah '(_.None,_,foo)' blah blah > > > > I don't format my code like that ;-) > > I'm not sure w

Re: [Zope] ZWiki/Structured Text formatting surprise

2000-07-11 Thread Chris Withers
Jim Fulton wrote: > > > blah blah '(_.None,_,foo)' blah blah > I'm not sure what the ';)' refers to, but single quotes are > the correct way to indicate literal code in structured text. Sorry, that'll teach me to answer email at 20 to midnight :( I see the point now... > > How about extending

Re: [Zope] ZWiki/Structured Text formatting surprise

2000-07-11 Thread Jim Fulton
Chris Withers wrote: > > Jim Fulton wrote: > > I suggest that, since this appeared in a code snippit to begin > > with, it should have been written as: > > > > blah blah '(_.None,_,foo)' blah blah > > I don't format my code like that ;-) I'm not sure what the ';)' refers to, but single quotes

Re: [Zope] ZWiki/Structured Text formatting surprise

2000-07-10 Thread Chris Withers
Jim Fulton wrote: > I suggest that, since this appeared in a code snippit to begin > with, it should have been written as: > > blah blah '(_.None,_,foo)' blah blah I don't format my code like that ;-) > Note that the StructuredText underlining feature is > widely considered a missfeature and

Re: [Zope] ZWiki/Structured Text formatting surprise

2000-07-05 Thread Jim Fulton
Chris Withers wrote: > > Bill Anderson wrote: > > Why not put a space in there, after the comma? As in: > > (_.None, _, foo) I suggest that, since this appeared in a code snippit to begin with, it should have been written as: blah blah '(_.None,_,foo)' blah blah in which case, the '_'s shoul

Re: [Zope] ZWiki/Structured Text formatting surprise

2000-06-29 Thread Bill Anderson
Chris Withers wrote: > > Bill Anderson wrote: > > Why not put a space in there, after the comma? As in: > > (_.None, _, foo) > > > > Likewise, I tried this in the Sandbox. Works for me. :) > > I'd prefer to see a generic way of escaping structured text formatting. > > Maybe this is something fo

Re: [Zope] ZWiki/Structured Text formatting surprise

2000-06-29 Thread Chris Withers
Bill Anderson wrote: > Why not put a space in there, after the comma? As in: > (_.None, _, foo) > > Likewise, I tried this in the Sandbox. Works for me. :) I'd prefer to see a generic way of escaping structured text formatting. Maybe this is something for StructuredTextNG? Chris _

Re: [Zope] ZWiki/Structured Text formatting surprise

2000-06-28 Thread Bill Anderson
Martijn Pieters wrote: > > On Tue, Jun 27, 2000 at 10:42:01PM +0200, Rik Hoekstra wrote: > > >Just noticed that (_.None,_, gets rendered as (.None,, in a structrued > > >text wiki. Not useful :/ > > > > Hm, in a structuredtextdtml Wiki (such as the Zope edu Wiki) this works. See > > the SandBox t

Re: [Zope] ZWiki/Structured Text formatting surprise

2000-06-27 Thread Martijn Pieters
On Tue, Jun 27, 2000 at 10:42:01PM +0200, Rik Hoekstra wrote: > >Just noticed that (_.None,_, gets rendered as (.None,, in a structrued > >text wiki. Not useful :/ > > Hm, in a structuredtextdtml Wiki (such as the Zope edu Wiki) this works. See > the SandBox there http://www.zope.org/Wikis/zope-e

Re: [Zope] ZWiki/Structured Text formatting surprise

2000-06-27 Thread Rik Hoekstra
>Hi, > >Just noticed that (_.None,_, gets rendered as (.None,, in a structrued >text wiki. Not useful :/ Hm, in a structuredtextdtml Wiki (such as the Zope edu Wiki) this works. See the SandBox there http://www.zope.org/Wikis/zope-edu/SandBox. So I can't reproduce it now. > >I've got around

[Zope] ZWiki/Structured Text formatting surprise

2000-06-27 Thread Chris Withers
Hi, Just noticed that (_.None,_, gets rendered as (.None,, in a structrued text wiki. Not useful :/ I've got around this by doing ('_'.None,_, but that's not really the right idea. Does anyone know of the proper way of escaping this? cheers, Chris