On Feb 28, 2009, at 3:50 PM, Thomas Mortagne wrote:

> On Sat, Feb 28, 2009 at 15:44, Vincent Massol <[email protected]>  
> wrote:
>> Hi,
>>
>> This is our last chance to change this behavior. We've found several
>> places where having meaningful spaces are counter-productive:
>>
>> * in table cells since we can't align table anymore. For example:
>>
>> |= column1              |= column2
>> | this is some para  | second column
>> | hello                        | world
>>
>> (not sure this will be rendered nicely in mail but you see what I  
>> mean)
>>
>> * in scripts since having meaningful spaces prevents us from aligning
>> velocity or groovy scripts. For ex we can't write:
>>
>> #if (....)
>>     #if (...)
>>         do something
>>     # end
>> #end
>>
>> To see a better example have a look at http://tinyurl.com/ahz669
>>
>> What I think users real want are meaningful new lines but I see cons
>> overweighting pros for having meaningful white spaces. Thus I'm think
>> we should strip whitespaces at beginning and end of lines including
>> for line breaks.
>> I'm slightly less sure for multiple spaces between words but even
>> there I think we could strip them have users use {{{ }}} to put a non
>> breaking space for ex (or introduce a {{space/}} macro or another
>> special syntax although I'd rather we don't introduce a new syntax).
>>
>
> +0 for making multiples spaces not meaningfull

Do you have another solution or does it mean that you don't think it's  
that important to be able to align scripts and tables?

> but we do it I would prefer ~(space) for non breaking space, it sounds
> more logical and nicer

Yes good idea

Thanks
-Vincent




_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to