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

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

Re: TAB


From: Joe Corneli
Subject: Re: TAB
Date: Mon, 17 Nov 2003 14:42:39 -0600

I think the following explains how to do what you want. BTW I don't
write java code, but I was thinking that a similar feature for lisp
might be nice. It seems to be harder to find that information (at
least on this computer...).


C-x C-f sample.java RET
C-h k C-i

*snip snip*
The amount and kind of whitespace inserted is controlled by the
variable `c-insert-tab-function', which is called to do the actual
insertion of whitespace.  Normally the function in this variable
just inserts a tab character, or the equivalent number of spaces,
depending on the variable `indent-tabs-mode'.
                           ================

C-h v indent-tabs-mode RET

*snip snip*
indent-tabs-mode's value is t

Documentation:
*Indentation can insert tabs if this is non-nil.
Setting this variable automatically makes it local to the current buffer.




reply via email to

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