From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Triska Newsgroups: gmane.emacs.help Subject: Re: c++ mode Date: Sat, 11 Nov 2006 21:54:46 +0100 Message-ID: <87odrdd7qh.fsf@gmx.at> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1163281243 1698 80.91.229.2 (11 Nov 2006 21:40:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Nov 2006 21:40:43 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 11 22:40:41 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gj0aY-00021l-Um for geh-help-gnu-emacs@m.gmane.org; Sat, 11 Nov 2006 22:40:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gj0aY-0001XQ-8D for geh-help-gnu-emacs@m.gmane.org; Sat, 11 Nov 2006 16:40:34 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!newscore.univie.ac.at!aconews-feed.univie.ac.at!aconews.univie.ac.at!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:bUPtlg54z9ZnDGLab87GYE4nxVw= Original-Lines: 26 Original-NNTP-Posting-Host: v254-101.vps.tuwien.ac.at Original-X-Trace: 1163278000 tunews.univie.ac.at 28520 128.131.254.101 Original-X-Complaints-To: abuse@tuwien.ac.at Original-Xref: shelby.stanford.edu gnu.emacs.help:143036 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:38655 Archived-At: Gary Wessle writes: > I have c++ mode on but can not get the feature where you hit ";, {, > }"and it will go to next line. is there a variable need setting? ,---- | C-c C-a runs the command c-toggle-auto-newline | which is an interactive compiled Lisp function in `cc-cmds.el'. | It is bound to C-c C-a, . | (c-toggle-auto-newline &optional arg) | | Toggle auto-newline feature. | Optional numeric arg, if supplied, turns on auto-newline when | positive, turns it off when negative, and just toggles it when zero or | left out. | | Turning on auto-newline automatically enables electric indentation. | | When the auto-newline feature is enabled (indicated by "/la" on the | modeline after the mode name) newlines are automatically inserted | after special characters such as brace, comma, semi-colon, and colon. `---- Best wishes! -- Markus Triska