Re: Tab width

Julian Mehnle <[email protected]>
Newsgroups gmane.mail.spam.spf.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Magnus Holmgren wrote:
> Judging from the source files the libspf2 developers use a tab with of
> 4. I'm not saying that it's wrong, but the universal standard is 8 and
> using anything else causes some problems since it's not so easy to tell
> all possible editors what tab width to use - not to mention the
> terminal.

That's why source code should never contain tabs for the purpose of 
indentation.  Please expand them to spaces!

> Which explains why the output of spfquery -help is so ugly. 
> Personally I prefer to avoid tabs altogether, partly because they cause
> lines in patch files not to line up well.
>
> But if you want to help people like me to help you, you can put these
> lines in comments at the very top of every file:
>
> -*- tab-width:4; indent-tabs-mode:t; c-basic-offset:4; -*-
> vi: set tabstop=4 noexpandtab:
>
> (You can put the vi line near the end instead if you wish.)

Don't do that.  Avoid tabs for the purpose of indentation at all costs.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGBcqIwL7PKlBZWjsRAogNAJ9doHVd/jtZZVLk+bSPlsqbRgl8gACcD4vc
5GUJZPD3GFLZwbb4wkjvafs=
=rORH
-----END PGP SIGNATURE-----

-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?list_id=1007
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.