delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
X-Recipient: | djgpp AT delorie DOT com |
Date: | Sat, 11 Apr 2009 11:02:59 +0300 |
From: | Eli Zaretskii <eliz AT gnu DOT org> |
Subject: | Re: tabs vs. spaces and how to "best" compress files |
In-reply-to: | <COL101-W7006E7B5646037AC9D7234E6810@phx.gbl> |
X-012-Sender: | halo1 AT inter DOT net DOT il |
To: | Jay <jay DOT krell AT cornell DOT edu> |
Cc: | djgpp AT delorie DOT com, cwsdpmi AT earthlink DOT net, rugxulo AT gmail DOT com, |
cbfalconer AT yahoo DOT com, sterten AT aol DOT com | |
Message-id: | <83eivz39e4.fsf@gnu.org> |
References: | <200904110405 DOT n3B4523G017697 AT delorie DOT com> <COL101-W7006E7B5646037AC9D7234E6810 AT phx DOT gbl> |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> From: Jay <jay DOT krell AT cornell DOT edu> > Date: Sat, 11 Apr 2009 04:48:38 +0000 > > The problem with tabs is they render differently depending on settings. If you write your own code, you will be consistent. In code written by other people, you cannot rely on them using spaces no more than you can rely on consistent settings for tab stops. > I can change it to 8 space tabs per-file, but it doesn't stick if I close/reopen. In Emacs, you can add a file-local variable setting to the file, setting tab-width to whatever the file needs to look pretty.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |