[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TAB
From: |
Dan Anderson |
Subject: |
Re: TAB |
Date: |
Mon, 17 Nov 2003 13:16:02 -0500 |
On Mon, 2003-11-17 at 12:31, Kevin Rodgers wrote:
> David Rasmussen wrote:
>
> > When I edit java-files, most of the times emacs inserts spaces when I
> > press TAB to indent something. But sometimes I've found it inserts a TAB
> > character instead. Why?
>
>
> C-h v indent-tabs-mode
>
> > How can I turn it off? I never want TAB
> > characters when editing Java or C++ source code files.
>
> (setq-default indent-tabs-mode nil) ; for all modes, or
>
> (add-hook 'java-mode-hook ; for just java mode
> (lambda () (setq indent-tabs-mode nil)))
That tells him how to turn of tabs. Is there any way to change tabs to
spaces? i.e. when tabbing insert 4 spaces instead of a tab (if tabs
default to 4 spaces long)?
-Dan
- TAB, David Rasmussen, 2003/11/17
- Re: TAB, Kevin Rodgers, 2003/11/17
- Re: TAB,
Dan Anderson <=
- Message not available
- Message not available
- Re: TAB, David Rasmussen, 2003/11/19
Re: TAB, Dan Anderson, 2003/11/17