Re: On Tabs and Spaces
- From
Andreas Ericsson <ae@op5.se>
- Date
- Oct 16, 2007, 17:23 UTC
- Message-ID
- <4714F3A2.3080103@op5.se>
- In-Reply-To
- <1192548367.3821.4.camel@lt21223.campus.dmacc.edu>
Jeffrey C. Ollie wrote:
Show 7 quoted lines
> On Tue, 2007-10-16 at 12:16 +0200, Adam Piatyszek wrote: >> And if one change the tab size, it will result in a messy alignment in >> line 5. > > Which is why one should never should change the tab size from anything > but 8. >
I have mine set to 4. With an 11.2" screen and 1024x768 resolution, it's not as if I've got much choice if I want to be able to see anything on the screen. Some whitespace-damaged places look ugly, but it's usually not too bad.
Show 5 quoted lines
>> I guess there is no ideal solution for this in Emacs. > > Instead of using "(setq indent-tabs-mode t)" use "(setq indent-tabs-mode > nil)". This will force emacs to always use spaces to indent. >
... but don't do this when hacking on Linux or git. Thanks
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231