Re: [Boost-bugs] [Boost C++ Libraries] #1204: Non-breaking-space?

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1204: Non-breaking-space?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-08-23 20:09:07


#1204: Non-breaking-space?
-------------------------------+--------------------------------------------
  Reporter: djowel | Owner: djowel
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: quickbook
   Version: Boost 1.34.1 | Severity: Cosmetic
Resolution: | Keywords:
-------------------------------+--------------------------------------------
Old description:

> Joel:
>
> >> >> I think we should take advantage of macros as much as possible
> >> >> before considering any syntax addition. nbsp can definitely be
> >> >> a macro, FWIW, e.g.:
> >> >> [def _nbsp_ [''' ''']]
>
> Rene:
>
> > > Won't that break in most situations? Specifically because it won't
> have
> > > spaces around it to differentiate it from the context:
> > >
> > > [^-f_nbsp_/Jambase/]
>
> Dave:
>
> At my urging, docutils ended up with a "breaking non-space". That is,
> if you escape a regular space it just separates docutils tokens with
> no other significance. Thus:
>
> [^-f\ _nbsp_\ /Jambase/]

New description:

 Joel:

>> >> I think we should take advantage of macros as much as possible
>> >> before considering any syntax addition. nbsp can definitely be
>> >> a macro, FWIW, e.g.:
>> >> {{{[def _nbsp_ [''' ''']]}}}

 Rene:

> > Won't that break in most situations? Specifically because it won't
 have
> > spaces around it to differentiate it from the context:
> >
> > {{{[^-f_nbsp_/Jambase/]}}}

 Dave:

 At my urging, docutils ended up with a "breaking non-space". That is,
 if you escape a regular space it just separates docutils tokens with
 no other significance. Thus:

   {{{[^-f\ _nbsp_\ /Jambase/]}}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1204#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC