From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Mark Mynsted Newsgroups: gmane.emacs.help Subject: Re: Indenting in emacs Date: 30 Apr 2003 07:28:50 -0500 Organization: Uncle John's Band Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1051706033 7379 80.91.224.249 (30 Apr 2003 12:33:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 30 Apr 2003 12:33:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 30 14:33:49 2003 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 19AqmT-0001uM-00 for ; Wed, 30 Apr 2003 14:33:49 +0200 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 19AqjK-0004DO-02 for gnu-help-gnu-emacs@m.gmane.org; Wed, 30 Apr 2003 08:30:34 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!outbound.vha.COM!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: outbound.vha.com (204.68.152.1) Original-X-Trace: fu-berlin.de 1051705730 12855171 204.68.152.1 (16 [148877]) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:112558 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:9054 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9054 >>>>> "seguso" == seguso writes: seguso> Hello, seguso> While programming in C++, I am trying to set the seguso> indentation style as follows: seguso> func() seguso> { seguso> for (;;) seguso> { seguso> x = 5; seguso> } seguso> } seguso> I tried c-set-style, but there is no style which works seguso> like that. That looks like Ellemtel style to me. Perhaps you could use Ellemtel then customize it where it deviates from your requirements. ;; use Ellemtel style for all C like languages (c-set-style "ellemtel") -- -MM I rarely read email from this address /"\ because of spam. \ / ASCII Ribbon Campaign I MAY see it if you put #NOTSPAM# X Against HTML Mail in the subject line. / \