[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: c++ mode
From: |
Markus Triska |
Subject: |
Re: c++ mode |
Date: |
Sat, 11 Nov 2006 21:54:46 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Gary Wessle <phddas@yahoo.com> 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, <menu-bar> <C++> <Toggle...> <Auto newline>.
| (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
- c++ mode, Gary Wessle, 2006/11/11
- Re: c++ mode, David Hansen, 2006/11/11
- Re: c++ mode,
Markus Triska <=
- Message not available