From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "chris.danx" Newsgroups: gmane.emacs.help Subject: Re: C formatting Date: Sat, 28 Dec 2002 12:57:42 +0000 Organization: ntl News Service Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <3E0CED7C.7020002@free.fr><3E0D9996.3050603@free.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1041080156 16518 80.91.224.249 (28 Dec 2002 12:55:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 28 Dec 2002 12:55:56 +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 18SGVP-0004I5-00 for ; Sat, 28 Dec 2002 13:55:55 +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 18SGVP-0002J8-07 for gnu-help-gnu-emacs@m.gmane.org; Sat, 28 Dec 2002 07:55:55 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed.stueberl.de!newspeer1-gui.server.ntli.net!ntli.net!newsfep1-gui.server.ntli.net.POSTED!53ab2750!not-for-mail User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en, en-us Original-Newsgroups: gnu.emacs.help In-Reply-To: <3E0D9996.3050603@free.fr> X-Inktomi-Trace: pc2-bbrg1-4-cust73.renf.cable.ntl.com 1041080092 8364 80.4.70.73 (28 Dec 2002 12:54:52 GMT) Original-Lines: 16 Original-NNTP-Posting-Host: 80.1.224.4 Original-X-Complaints-To: abuse@ntlworld.com Original-X-Trace: newsfep1-gui.server.ntli.net 1041080092 80.1.224.4 (Sat, 28 Dec 2002 12:54:52 GMT) Original-NNTP-Posting-Date: Sat, 28 Dec 2002 12:54:52 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:108540 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:5069 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5069 Oodini wrote: > Well, it doesn't do exactly what I want. > After the "if", when I press Enter, Emacs put an extra indent, whereas I > want it to put the cursor under the "if". I guess it supposes I put the > opening brace af the end of the line where there is the "if". But if you type "{" then it jumps under the if like you want. There's probably a way to make it position the cursor but automatically I don't know what it is, sorry. Danx -- for personal replies change spamoff to chris