Tabs vs spaces in code (was: Emacs auto-modes and tabs)

Jason Stephenson jason at sigio.com
Thu Apr 17 10:35:04 EDT 2003


bscott at ntisys.com wrote:
>   I know some people prefer spaces.  Maybe I'm just old-fashioned, but I
> prefer tabs.  One reason for this is that inserting a tab is (should be) the
> same everywhere.  Even if I don't have a fancy editor that does
> auto-indenting, a tab is still a tab, and I can insert one with a single
> keystroke.  Of course, now Emacs is screwing that up.

Try (setq indent-tabs-mode t) in your .emacs file. You should be able to 
set it to anything other than nil and it should work. Yes, 0 should 
evalute to true, too.




More information about the gnhlug-discuss mailing list