[Zope3-dev] Re: Code cleanup day

Philipp von Weitershausen philipp at weitershausen.de
Wed Feb 25 11:09:56 EST 2004


Sidnei da Silva wrote:
> On Wed, Feb 25, 2004 at 04:11:09PM +0100, Philipp von Weitershausen wrote:
> > 2. Enforce http://dev.zope.org/Zope3/ZCMLStyleGuide. According to what 
> > I've seen in checkins, people seem to have different taste with how ZCML 
> > should be formatted, and seldomly look at the before mentioned style 
> > guide. I've actually seen correct format being "beaufified" incorrectly.
> 
> I'm surprised that such a thing exists. I may not have paid enough
> attention. However, I disagree with some of the suggested
> formatting. I'm currently using emacs nxml-mode (plus a patch to
> indent attributes in multiple lines correctly), and IMHO it does a
> wonderful job at (no-brainer) indenting both ZCML and ZPT. Can I
> suggest some minor changes to the proposed style?

I actually like it the way it is, but that's just me (and SteveA who 
wrote the guide). I might already haven a idea of what the changes are 
you're going to suggest (since you were one of the "beautifiers" :)) but 
it'd be good to have the arguments on the table for discussion.

Philipp




More information about the Zope3-dev mailing list