freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Castellano, Nicholas" <Nicholas_Castellano AT acml.com>
- To: "'TDS Development Group'" <freetds AT franklin.metalab.unc.edu>
- Subject: RE: indent (next shot:) )
- Date: Mon, 28 Oct 2002 16:31:14 -0500
The math was simply to illustrate how gindent actually deals with
indentation. There's no "formula" explicit in our indent settings.
Indenting expressions in this way really does add to clarity, especially in
complicated expressions that span multiple lines.
Once we are done tweaking all our settings, I plan to create a set of emacs
settings that will help indent properly (for our definition of properly).
Then it's basically just a matter of hitting "tab" to indent a particular
line.
I don't think anyone plans to do indent runs as frequently as you suggest.
Maybe once per release, if even that much. Make a reasonable attempt to
indent consistently, and you'll be fine. The idea is to have a tree that's
mostly consistent and easy to read, not to strictly adhere to a firm set of
rules upon pain of death. At least, that's my interpretation of what we're
aiming for.
Cheers,
--nick
-----Original Message-----
From: bounce-freetds-145195 AT franklin.oit.unc.edu
[mailto:bounce-freetds-145195 AT franklin.oit.unc.edu]
Sent: Monday, October 28, 2002 4:02 PM
To: TDS Development Group
Subject: [freetds] RE: indent (next shot:) )
At 3:06 PM -0500 10/28/2002, Lowden, James K wrote:
>Splain to me, just so I'm clear, is this right:
>
> if ((ret = tds_process_row_tokens(dbproc->tds_socket, &rowtype,
> &computeid)) == TDS_SUCCEED) {
Why don't we end it with making this:
if ((ret = tds_process_row_tokens(dbproc->tds_socket, &rowtype
&computeid)) == TDS_SUCCEED) {
i.e. only use 1 tab past the start line for multi line statement indention?
Having the stuff way out to the right is more confusing to me, not
less. (Though I don't mind padding things over when it's less than
1/2 the way across window, but I'd imagine indent can't do that.)
Also, the idea of using a formula seems really strange. My
understanding is that Brian's position is to not change his tab stop
because he uses it on multiple projects (and I feel the same way).
So now we have to do the math to figure out how far to ident
something? Or run indent before every checkin?
--
__________________________________________________________________________
"They that can give up essential liberty
Mark J. Lilback to obtain a little temporary safety
<mark AT lilback.com> deserve neither liberty or safety."
http://www.lilback.com/ -- Benjamin Franklin
---
You are currently subscribed to freetds as: [Nicholas_Castellano AT acml.com]
To unsubscribe, forward this message to
$subst('Email.Unsub')
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.
-
RE: indent (next shot:) )
, (continued)
- RE: indent (next shot:) ), Castellano, Nicholas, 10/28/2002
- RE: indent (next shot:) ), Lowden, James K, 10/28/2002
- RE: indent (next shot:) ), Castellano, Nicholas, 10/28/2002
- RE: indent (next shot:) ), Lowden, James K, 10/28/2002
- RE: indent (next shot:) ), Castellano, Nicholas, 10/28/2002
- RE: indent (next shot:) ), Bob Kline, 10/28/2002
- RE: indent (next shot:) ), Castellano, Nicholas, 10/28/2002
- RE: indent (next shot:) ), Lowden, James K, 10/28/2002
- RE: indent (next shot:) ), Brian Bruns, 10/28/2002
- RE: indent (next shot:) ), Mark J. Lilback, 10/28/2002
- RE: indent (next shot:) ), Castellano, Nicholas, 10/28/2002
- RE: indent (next shot:) ), Steve Langasek, 10/29/2002
- RE: indent (next shot:) ), Casey Allen Shobe, 10/29/2002
Archive powered by MHonArc 2.6.24.