From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bijan Soleymani Newsgroups: gmane.emacs.help Subject: Re: .emacs Date: 27 Dec 2002 18:13:16 -0500 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87u1gzf437.fsf@hurd.crasseux.com> References: <3E0CCD32.90602@free.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1041030614 32087 80.91.224.249 (27 Dec 2002 23:10:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 27 Dec 2002 23:10:14 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18S3cI-0008LN-00 for ; Sat, 28 Dec 2002 00:10:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18S3ce-0000j7-02 for gnu-help-gnu-emacs@m.gmane.org; Fri, 27 Dec 2002 18:10:32 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news.stealth.net!news.stealth.net!wesley.videotron.net!wagner.videotron.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-NNTP-Posting-Host: 24.203.44.117 Original-X-Complaints-To: abuse@videotron.ca Original-X-Trace: wagner.videotron.net 1041030596 24.203.44.117 (Fri, 27 Dec 2002 18:09:56 EST) Original-NNTP-Posting-Date: Fri, 27 Dec 2002 18:09:56 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:108521 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5050 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5050 Oodini writes: > Hello, > > I am reading "Programmiong with GNU tools", and so I am discovering Unix. > > They say in the book that I am supposed to find in my user directory > the file .emacs. It wasn't there. So I created it and put these lines > inside: > > (setq c-indent-level 5) > (setq c-continued-statement-offset 5) > (setq c-argdecl-indent 0) > (setq c-brace-offset -5) > (setq c-label-offset -5) > > I don't know yet EMacs, but I suppose that with this file, indents > must be 5 characters when I am in C mode. But that doesn't work... > You should check the documentation for CC-mode if you want to customize the indentation. Bijan