help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: replace TAB with 8 whitespaces


From: Peter J. Acklam
Subject: Re: replace TAB with 8 whitespaces
Date: Thu, 12 Jun 2003 19:34:04 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (windows-nt)

"jinneemop" <jinneemop@isee.zju.edu> wrote:

> I wish to use 8 spaces to indent source code under c++ mode. 
> When I press TAB, I'd like emacs to insert 8 spaces instead.
> How can I do this?

   (setq-default indent-tabs-mode nil)

Peter

-- 
I wish dialog boxes had a button saying "Whatever".  I hate being
forced to answer "Yes" or "No" to a question I have no opinion on
whatsoever.  There ought to be a button matching my indifference.
                                          -- me


reply via email to

[Prev in Thread] Current Thread [Next in Thread]