Re: [dwm] more consistent codestyle patch

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Wed, 14 May 2008 16:08:52 +0200

On Wed, May 14, 2008 at 03:54:10PM +0200, Marc Andre Tanner wrote:
> On Tue, May 13, 2008 at 06:08:59PM +0200, Szabolcs Nagy wrote:
> > On 5/13/08, Diego Biurrun <diego_AT_biurrun.de> wrote:
> > > > XGrabButton(dpy, AnyButton, AnyModifier, c->win, False,
> > > > - BUTTONMASK, GrabModeAsync, GrabModeSync, None, None);
> > > > + BUTTONMASK, GrabModeAsync, GrabModeSync, None, None);
> > >
> > > Well, before it was indented to align with the XGrabButton call. This
> >
> > used spaces to achieve this which is wrong
>
> A lot of people seem to argue over tab vs. spaces but somehow don't realize
> that the best (at least in my opinion) is to combine them in a smart
> way. That is, use tabs for indention and spaces for further alignment:
>
> ------->XGrabButton(dpy, AnyButton, AnyModifier, c->win, False,
> ------->............BUTTONMASK, GrabModeAsync, GrabModeSync, None, None);
>
> This way the user can set the tabwidth to whatever he likes and the code
> will still look decent.

Actually that's the way I intend to have the source code -- imho
I used this already quite a lot.

I didn't bother that much so far, because I'm going to polish
the code anyways for the upcoming dwm-5.0 release.

Kind regards,

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Wed May 14 2008 - 16:08:52 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:39:24 UTC