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

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

Re: Emacs newbie - Syntax Highlighting and Indentation


From: David Rasmussen
Subject: Re: Emacs newbie - Syntax Highlighting and Indentation
Date: Sat, 15 Nov 2003 15:18:42 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007

Artur Hefczyc wrote:

The shortest answer to your question is:

Put to your .emacs file following code:
(setq c-basic-offset 2)


Where exactly in .emacs do I put this? Just at the bottom after everything else?

Other setting you might find useful for Java coding are:
(setq tab-width 4
      indent-tabs-mode nil)


What does this do?

/David



reply via email to

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