cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/2009/04/09/09:00:36

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rugxulo <rugxulo AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Which editor do you use?
Date: Thu, 9 Apr 2009 05:47:34 -0700 (PDT)
Organization: http://groups.google.com
Lines: 34
Message-ID: <af0613ba-f8f4-4a12-aa4c-bf6d59f477b7@k2g2000yql.googlegroups.com>
References: <f1018f14-b049-48d5-90a6-1cee94bd7ca7 AT z9g2000yqi DOT googlegroups DOT com>
<73mdrsFvhhebU1 AT mid DOT individual DOT net> <bd1b0cf9-a2c1-4fd8-b430-35dfabb5b2d9 AT z1g2000yqn DOT googlegroups DOT com>
<26b8b849-581a-491c-8642-6817b0a2c35d AT n8g2000vbb DOT googlegroups DOT com>
<grg07n$ahv$1 AT aioe DOT org> <7c2bf159-c640-48d0-96ed-af920b1147e0 AT z19g2000vbz DOT googlegroups DOT com>
<RrydnaB7NcRY50DUnZ2dnUVZ_oWdnZ2d AT earthlink DOT com>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1239281254 7114 127.0.0.1 (9 Apr 2009 12:47:34 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Thu, 9 Apr 2009 12:47:34 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: k2g2000yql.googlegroups.com; posting-host=65.13.115.246;
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
X-HTTP-UserAgent: Opera/9.63 (Windows NT 5.1; U; en) Presto/2.1.1,gzip(gfe),gzip(gfe)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

On Apr 8, 11:34=A0pm, "Charles Sandmann" <cwsd DOT  DOT  DOT  AT earthlink DOT net> wrote:
>
> > Well, I for one *HATE* tabs in code.
>
> Smaller code size, automatic formatting. =A0I'll have your tabs. =A0I lov=
e em.
> I'm having tab tab tab tab tab tab ... (flash back to Monty Python's Spam
> sketch)

An 160k file of mine can be shrunk to 130k if I convert spaces to
tabs. But actually it .ZIPs up to approximately the same size either
way, so it's less of an issue. It's not that tabs are bad, just that
nobody handles them the same way.

> >P.S. Looking through CWS' ED sources today, I noticed lines with a LOT
> >of tabs. I'm talking about eight, nine, 10 tabs at the beginning of a
> >single line! Whew! =A0 =A0;-)
>
> Automatic indentation of program structures + complex code. =A0With tab s=
tops
> @ 3 char increments, that's only 30 characters indent...

FYI, GNU sets their tab stop to 2 char increments. So it's hard to
agree on what to use. I think this is where (GNU) indent comes in.

> But with the right editor, you can convert from tabs to spaces with a
> keystroke, so who cares?

M-x tabify or M-x untabify. Yes, it's fairly straightforward. In fact,
I think GNU Emacs will even assume any space in a regex includes tabs
as well by default. (I'm on XP right now, gonna build the latest
pretest via DJGPP.)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019