Re: Coding standards / spaces vs tabs

2010-10-21 Thread Patrick Goetz
On 10/20/2010 9:05 PM, Bron Gondwana wrote: P.S. Here's what I use in vim to make life worth living. It makes tabs visible, and lets me indent blocks quickly by 4 characters while creating the correct tabs. If everyone uses vim, then this problem is easily resolved: :) set tabstop=3 set

Re: Coding standards / spaces vs tabs

2010-10-21 Thread Jeroen van Meeuwen (Kolab Systems)
Bron Gondwana wrote: This is the kind of thing that we really need coding standards for. The prevailing spacing standard for the cyrus codebase is: Yup we do, I had looked for the doc. you mentioned Greg had made but I couldn't find it. Sorry to have jumped the gun on this! Now I happen

Re: Coding standards / spaces vs tabs

2010-10-21 Thread Bron Gondwana
On Thu, Oct 21, 2010 at 01:56:03AM -0500, Patrick Goetz wrote: On 10/20/2010 9:05 PM, Bron Gondwana wrote: P.S. Here's what I use in vim to make life worth living. It makes tabs visible, and lets me indent blocks quickly by 4 characters while creating the correct tabs. If everyone uses

Re: Coding standards / spaces vs tabs

2010-10-21 Thread Patrick Goetz
On 10/21/2010 7:10 AM, Bron Gondwana wrote: set tabstop=3 set expandtab 3? Why three? Einstein said make everything as simple as possible, but not too simple. I think a similar principle applies to indentation: indent as little as possible, but not too little. When I first

Coding standards / spaces vs tabs

2010-10-20 Thread Bron Gondwana
commit 6a9be341d3de4cff9f548bfb0c26546f1a4b2605 Author: Jeroen van Meeuwen (Kolab Systems) vanmeeu...@kolabsys.com Date: Wed Oct 20 13:21:00 2010 +0100 Make sure that sieve scripts use \r\n before saving them, so that multiline responses with different Also, remove the mixed use