From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ding Lei Newsgroups: gmane.emacs.help Subject: Vim like auto indent mode Date: Wed, 19 May 2004 15:55:00 +0800 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20040519075500.GA28707@ipanel.cn> Reply-To: Ding Lei NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084954502 25409 80.91.224.253 (19 May 2004 08:15:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 May 2004 08:15:02 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 19 10:14:52 2004 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 1BQME0-0005wB-00 for ; Wed, 19 May 2004 10:14:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BQLqH-0004eX-UD for geh-help-gnu-emacs@m.gmane.org; Wed, 19 May 2004 03:50:21 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BQLoN-0004NZ-CM for help-gnu-emacs@gnu.org; Wed, 19 May 2004 03:48:23 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BQLnq-0004Eo-0l for help-gnu-emacs@gnu.org; Wed, 19 May 2004 03:48:21 -0400 Original-Received: from [221.4.106.43] (helo=power.eis) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BQLno-0004Dt-Rg for help-gnu-emacs@gnu.org; Wed, 19 May 2004 03:47:49 -0400 Original-Received: from dinglei.ipanel.cn (IDENT:1001@[192.168.10.51]) by power.eis (8.11.2/8.11.2) with ESMTP id i4J7apm17021 for ; Wed, 19 May 2004 15:36:51 +0800 Original-Received: by dinglei.ipanel.cn (Postfix, from userid 1000) id 2540D564BF; Wed, 19 May 2004 15:55:00 +0800 (CST) Original-To: GNU Emacs List Mail-Followup-To: GNU Emacs List Content-Disposition: inline User-Agent: Mutt/1.4.1i X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 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:18589 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18589 Hello folks, Under JDE/C++/C mode, Emacs will auto indent upon some symbols like an ending parenthess("{") or a semi-colon, but I really hope that it will auto indent immediately I press the return key. For example, When I type: for (;;;) { Emacs should indent by one tab, but actually it now will indent only after I type the semicolon. Any Ideas ? Thanks in advance. -- Regards, <(( D i n g L e i ))))))>> || || || Ext: 8102 || || Email: || || Dept. Of Technology/Engineering || || Embedded Information Services Inc. || || || <(((((( ===================== )))))>>> If time heals all wounds, how come the belly button stays the same?