X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Rugxulo 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: References: <73mdrsFvhhebU1 AT mid DOT individual DOT net> <26b8b849-581a-491c-8642-6817b0a2c35d AT n8g2000vbb DOT googlegroups DOT com> <7c2bf159-c640-48d0-96ed-af920b1147e0 AT z19g2000vbz DOT googlegroups DOT com> NNTP-Posting-Host: 65.13.115.246 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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" 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.)