From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Rasmussen Newsgroups: gmane.emacs.help Subject: Re: Emacs newbie - Syntax Highlighting and Indentation Date: Sat, 15 Nov 2003 15:18:42 +0100 Organization: UNI-C Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <87n0ay24ms.fsf@141-moc-9.acn.waw.pl> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1068906643 16590 80.91.224.253 (15 Nov 2003 14:30:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 Nov 2003 14:30:43 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 15 15:30:40 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AL1Rg-0006jg-00 for ; Sat, 15 Nov 2003 15:30:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AL2Nz-0004IZ-No for geh-help-gnu-emacs@m.gmane.org; Sat, 15 Nov 2003 10:30:55 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!news.net.uni-c.dk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: oek.dk Original-X-Trace: news.net.uni-c.dk 1068905710 13632 62.61.154.25 (15 Nov 2003 14:15:10 GMT) Original-X-Complaints-To: usenet@news.net.uni-c.dk Original-NNTP-Posting-Date: Sat, 15 Nov 2003 14:15:10 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en, da In-Reply-To: <87n0ay24ms.fsf@141-moc-9.acn.waw.pl> Original-Xref: shelby.stanford.edu gnu.emacs.help:118317 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:14258 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14258 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