Subject: Re: tab-size [was: commit]
From: Joaquin Cuenca Abela (firstname.lastname@example.org)
Date: Sat Dec 30 2000 - 22:29:57 CST
--- Mike Nordell <email@example.com> wrote:
> > btw, why we have to set tab=4?
> Probably because the original developers used it,
yes, probably... :)
> the most used IDE in the
> world (way more used than Emacs) use tab=4. I can
Not to say, I don't care about the "most used IDE in
the world", but only the "most used IDE by the AbiWord
developers" (and I think that here Emacs beats MS Dev
(which, yes, is pretty good))
But I see your point about hundreds of kb of bloat
(you're overacting a bit, but I see your point :)
The only problem that I try to solve is: When I open
an abiword file with emacs, I always have to type M-x
set-variable [ret] tab-width [ret] 4 [ret].
And I don't want to set that in my .emacs, because I
have others projects which use tab=8 (but
indentation=4... an IMO saner choice).
So if we want to stay like now (tab=4, indentation=4)
I propose to add the lines that Jesper has send to
each Abiword file to make emacs users happier.
> also easily imagine that
> tab=3 isn't as common, and tab=2 would to most be
> outright ridiculous. All
> of this is of course under the assumption that
> indentation is "one tab".
Here is the point, I fail to see why do you want
> Me myself? I've grown found of it. It's not too mich
> (as tab=8 is) for
> indentation, and it's not too little (tab=2 is to me
> ridiculous). That
> leaves tab=3. Since less than 1% seems to use this,
> I think tab=4 and indent
> is "one tab" is a reasonable guideline.
s/tab/indent/g; and I'm with you (2 is too little,
3... nah, it's an odd number, 4 is right).
> you *are* however free to discuss the merits of
> other indentation rules. :-)
> Though, none of'em will be adopted by AW _this_year
> (oh, well, we have 24
> hrs 30 mins left until it's a new year where I live,
I only have to 17:34 minutes...
> if you hurry you might
> just get the discussion going :-) ).
Man, you're understimating me, I can just throw a vote
the 31/Dec at 23:00h (when everybody is dancing an so
on) and say something like...: "if nobody complains I
will apply this patch in a few minutes..." :-) (it
will be surely reverted the 1/Jan, but I will gain the
> > I think that it will be smarter if we just leave
> tab=8 (as Linus says, a
> > tab is 8 spaces just like pi is 3.14159...)
> Linus is from Finland. I live in Sweden. We're
> almost neighbours. Not to
> say, we almost share the same mentality. We're
> stubborn (because we know
> we're right). :-)
weird... I'm mediterranean and me too I know that I'm
right... (it must be an european characteristic :)
> Linus discussed this from a printer POV, being able
> to print the sources by:
> cp x /dev/par
> copy file lpt1:
nah, I think that his main point was: "use
tab=indent=8, and if you touch the right margin, then
your function has too many levels and thus it is too
complex, so change your code."
> In todays world this have no merit at all on its own
> (IMHO). It's just silly
> and bloating the code.
> Some feel that "using spaces gets everyone to see
> the code the ame way".
> True, but how much do you add to a src D/L?
> Some others (like me) use some src files several
> thousand (if not more)
> lines long. No, this is not the kind of crap we
> develop, we're just forced
> to live with it. But, facing a file over 50.000
> lines long, what would you
> prefer; tab=4 redicing the filesize by several
> hundred KB over using
> "indent=<x> spaces" bloating it to its limits?
I have not yet found a dude so stupid to fill 50.000
lines in the same file and so smart to be capable to
indent the code with something minimaly coherent...
> It's a constant dilemma we have to face. Until
> anyone judges "Code is to be
> indented by tab and tab is to be four" I'll use yab
> as indent and tab=4. ;->
> > So, just wondering, why are we using tab=4?
> Old habit... :-)
> The "most used IDE" is of course M$ MSDev IDE. Not
> perfect, but I still
> think it's "the best" around. Pretty depressing
> since it's not that good
> anyways. :-(
yes... it has some very nice things, but its editor
sucks in some points.
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Photos - Share your holiday photos online!
> > http://photos.yahoo.com/
> No Joaquin, I don't Yahoo. Neither have I any Photos
> I'd like to share.
What a shame! :)
Joaquin (which really doesn't care very much about the
indentation nor the tabs... He only wants to open an
AbiWord file and start coding...)
(don't thrust the following lines... neither I Yahoo
neither I want to share my photos!)
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
This archive was generated by hypermail 2b25 : Sat Dec 30 2000 - 22:30:00 CST