From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: yumagi@citiz.net (Zero Yu) Newsgroups: gmane.emacs.help Subject: Does the C++ style "Stroustrup" really feet Bjarne's book? Date: 20 Jan 2004 19:52:30 -0800 Organization: http://groups.google.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1b10ad80.0401201952.2513cf4a@posting.google.com> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1074657830 1353 80.91.224.253 (21 Jan 2004 04:03:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Jan 2004 04:03:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 21 05:03:43 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 1Aj9ah-0002WA-00 for ; Wed, 21 Jan 2004 05:03:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Aj9a6-0004Pz-IL for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Jan 2004 23:03:06 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: 221.137.43.54 Original-X-Trace: posting.google.com 1074657150 29983 127.0.0.1 (21 Jan 2004 03:52:30 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 21 Jan 2004 03:52:30 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:120300 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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:16242 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16242 I am a new guy in emacs. I choose style "Stroustrup" in C++ style. But I found that sometimes it didn't really meet the book. When I write the inline function in class defination, e.g. class X() { public: X() { foo(); function_indent_incorrect(); } }; After I select the region, and use the function "indent-region", Emacs didn't indent correctly. It will indent like this: class X() { public: X() { foo(); function_indent_incorrect(); } }; Is there any way to change that? or I have to write all the sentences in one line.