Skip to Content.
Sympa Menu

cc-devel - Re: [cc-devel] More review of liblicense changes since 0.4

cc-devel AT lists.ibiblio.org

Subject: Developer discussion for Creative Commons technology and tools

List archive

Chronological Thread  
  • From: Peter Miller <millerp AT canb.auug.org.au>
  • To: Asheesh Laroia <asheesh AT creativecommons.org>
  • Cc: cc-devel AT lists.sourceforge.net
  • Subject: Re: [cc-devel] More review of liblicense changes since 0.4
  • Date: Thu, 10 Jan 2008 08:35:57 +1100
  • Resent-date: Wed, 9 Jan 2008 15:39:44 -0800 (PST)
  • Resent-from: Asheesh Laroia <paulproteus AT acm.jhu.edu>
  • Resent-to: cc-devel AT lists.ibiblio.org


On Wed, 2008-01-09 at 12:33 -0800, Asheesh Laroia wrote:
> pmiller has committed an .indent.pro file to the source tree that switches
> us to GNU style indenting, which is fine. Curiously, he sets --tab-size0
> rather than giving tabs a width > 0. Why?

Because different people tell their editor to have different tab widths,
and then fill their code with tabs. (Some editors fail to distinguish
indent steps from tab widths.) This means for them, the code is
correctly formatted, but for everyone else who has different tabs, the
indenting is wrong, and ugly wrong at that. The only way around it is
to not use tabs at all, thus --tab-size0

Those little block comments telling emacs and vi and nedit what to do
with the file in C mode can also help, but it doesn't help for other
unknown brain dead editors, and you wind up with one per editor, which
is no longer a little block comment and looks even uglier.

Regards
Peter Miller <millerp AT canb.auug.org.au>
/\/\* http://miller.emu.id.au/pmiller/

PGP public key ID: 1024D/D0EDB64D
fingerprint = AD0A C5DF C426 4F03 5D53 2BDB 18D8 A4E2 D0ED B64D
See http://www.keyserver.net or any PGP keyserver for public key.

"Computer Science is the only discipline in which we view adding a new
wing to a building as being maintenance." -- Jim Horning

Attachment: signature.asc
Description: This is a digitally signed message part




Archive powered by MHonArc 2.6.24.

Top of Page