Skip to Content.
Sympa Menu

freetds - Re: indent(1) bent

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Castellano, Nicholas" <Nicholas_Castellano AT acml.com>
  • To: "'TDS Development Group'" <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: indent(1) bent
  • Date: Thu, 24 Oct 2002 15:21:31 -0400


Yes, that is why a few of us have said that we should not use tab characters
at all. If you rely on some specific value for tab stops, the code will
always look bad on terminals with a different setting. So, as has already
been said, if we use tabs, we should use a tabstop of 8, which is the
default on just about every terminal.

Cheers,
--nick

-----Original Message-----
From: bounce-freetds-145195 AT franklin.oit.unc.edu
[mailto:bounce-freetds-145195 AT franklin.oit.unc.edu]
Sent: Thursday, October 24, 2002 2:53 PM
To: TDS Development Group
Subject: [freetds] Re: indent(1) bent


Something raised yesterday in a test.
We spoke about possibility to set tabstop to whatever we want. But using
indentation on parameter lead in a problem

This at code like

variable = myfunction(param1, param2,
param3);

aligned will become something like

\tvariable = myfunction(param1, param2,
\t\t\t\t\t param3);

Using tabspace 8

variable = myfunction(param1, param2,
param3);


unaligned...

Is this a problem?


The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the
original message. Please note that we do not accept account orders and/or
instructions by e-mail, and therefore will not be responsible for carrying
out such orders and/or instructions.






Archive powered by MHonArc 2.6.24.

Top of Page