From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: How to over-ride c-set-style ... indentation Date: Sat, 16 Nov 2002 19:50:02 +0100 Organization: University of Dortmund, Germany Sender: help-gnu-emacs-admin@gnu.org Message-ID: <848yztcpt1.fsf@lucy.cs.uni-dortmund.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1037474421 11059 80.91.224.249 (16 Nov 2002 19:20:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 16 Nov 2002 19:20:21 +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 18D8UN-0002sE-00 for ; Sat, 16 Nov 2002 20:20:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18D8UZ-0002Ru-00; Sat, 16 Nov 2002 14:20:31 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!p508773c2.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 12 Original-NNTP-Posting-Host: p508773c2.dip.t-dialin.net (80.135.115.194) Original-X-Trace: fu-berlin.de 1037472605 16541477 80.135.115.194 (16 [73968]) User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:gYbrDKZTep/RMQ9cHDVO/a74lVw= Original-Xref: shelby.stanford.edu gnu.emacs.help:107117 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3672 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3672 Kai Peter Ford writes: > (add-hook 'java-mode-hook > '(lambda () > (c-set-style "ellemtel"))) I guess you can just add (setq c-basic-offset 4) after the c-set-style statement. kai -- ~/.signature is: umop ap!sdn (Frank Nobis)