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 Subject: Re: tabs vs. spaces and how to "best" compress files In-reply-to: X-012-Sender: halo1 AT inter DOT net DOT il To: Jay 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> 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 Precedence: bulk > From: Jay > 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.