Revision f6a67901e79d8d35e6bf30f0766b2417740090b7

Ethan Blanton elb at pidgin.im
Tue Aug 28 14:05:08 EDT 2007


Richard Laager spake unto us the following wisdom:
> On Tue, 2007-08-28 at 10:06 -0400, Ethan Blanton wrote:
> > For the record, _tabs are 8 spaces_.
> 
> > (Note that I myself also prefer 4-space indentation -- but that is a
> > completely separate issue.)
> 
> If you use tabs for indentation and spaces for lining things up, this is
> never* a problem, regardless of the tab width.

While this is sort of true, and we have discussed it numerous times in
#pidgin, let me give you an example of where it falls down: actually
using tabs for tabulation.  Lest you think this is a contrived
example, see the table in irc/parse.c:55 with a tab stop of four.
There are places like that all over Pidgin.

You can claim that such alignment should be done with spaces, but in
that case, you have completely removed all utility of the TAB
character, and I reassert: tabs are 8 spaces.

Ethan

-- 
The laws that forbid the carrying of arms are laws [that have no remedy
for evils].  They disarm only those who are neither inclined nor
determined to commit crimes.
		-- Cesare Beccaria, "On Crimes and Punishments", 1764
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://pidgin.im/pipermail/devel/attachments/20070828/6fdcacfc/attachment.sig>


More information about the Devel mailing list