Re: Design decision on #3532 -- spaceless templatetag

2007-03-31 Thread Adrian Holovaty
On 3/30/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > 1) Is there a valid use case out there for the default 'leave 1 space' > behaviour that I am missing? > > 2) What is the community opinion on changing the default behaviour of > spaceless to 0 spaces (thereby introducing a backwards >

Re: Design decision on #3532 -- spaceless templatetag

2007-03-31 Thread Rob Hudson
> Ok - initial opinion appears to be anti configurability and anti > changing the default. Another option is to introduce a different tag > for the 0-spaces case. Opinions? Suggestions for names? Spaceless is > the obvious choice, but that name is taken :-) My thought was: "spaceless" is no

Re: Design decision on #3532 -- spaceless templatetag

2007-03-31 Thread Rob Hudson
> Ok - initial opinion appears to be anti configurability and anti > changing the default. Another option is to introduce a different tag > for the 0-spaces case. Opinions? Suggestions for names? Spaceless is > the obvious choice, but that name is taken :-) My thought was: "spaceless" is no

Re: Design decision on #3532 -- spaceless templatetag

2007-03-30 Thread Malcolm Tredinnick
On Sat, 2007-03-31 at 12:19 +0800, Russell Keith-Magee wrote: > On 3/31/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > > > On Sat, 2007-03-31 at 10:59 +0800, Russell Keith-Magee wrote: > > [...] > > > 1) Is there a valid use case out there for the default 'leave 1 space' > > > behaviour

Re: Design decision on #3532 -- spaceless templatetag

2007-03-30 Thread Russell Keith-Magee
On 3/31/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Sat, 2007-03-31 at 10:59 +0800, Russell Keith-Magee wrote: > [...] > > 1) Is there a valid use case out there for the default 'leave 1 space' > > behaviour that I am missing? > > Readability of the generated source is not to be

Re: Design decision on #3532 -- spaceless templatetag

2007-03-30 Thread Jacob Kaplan-Moss
Hey Russ -- I'm +0 on spaceless actually being spaceless; -0 on keeping a single space as an option, -1 on one space being default or allowing an arbitrary number of spaces. Jacob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Design decision on #3532 -- spaceless templatetag

2007-03-30 Thread Malcolm Tredinnick
On Sat, 2007-03-31 at 10:59 +0800, Russell Keith-Magee wrote: [...] > 1) Is there a valid use case out there for the default 'leave 1 space' > behaviour that I am missing? Readability of the generated source is not to be sneezed at. Using the spaceless tag, you can have a nicely laid out

Design decision on #3532 -- spaceless templatetag

2007-03-30 Thread Russell Keith-Magee
Hi all, This discussion is about _very_ trivial change, but it would break backwards compatibility, so I want to get some consensus before I commit anything. Ticket #3532 ( http://code.django.project.com/tickets/3532 ) discusses the spaceless templatetag. In particular, there has been a request