| Subject: | Re: How to turn off auto indent in C++ mode? |
|---|---|
| From: | Nikolaj Schumacher |
| Date: | Sat, 07 Jun 2008 11:42:39 +0200 |
| Newsgroups: | gnu.emacs.help |
Eli Zaretskii <eliz@xxxxxxx> wrote:
>> Date: Thu, 5 Jun 2008 17:38:13 +0800
>> From: "Zhongxing Xu" <mymlreader@xxxxxxxxx>
>>
>> I want such style:
>>
>> namespace foo {
>> class A {
>> };
>> }
>
> Does "C-c C-l" in the buffer where you edit C++ do what you want?
Instead of turning of electric indentation, you can also configure
indentation to do what you want.
In this case, customize the variable `c-offsets-alist' and set the value
`innamespace' to 0.
regards,
Nikolaj Schumacher
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | auto correction propagation mode, Plamen Tanovski |
|---|---|
| Next by Date: | Re: What does code 123 mean?... (Shell command failed with code 123 and no output), Peter Dyballa |
| Previous by Thread: | Re: How to turn off auto indent in C++ mode?, Eli Zaretskii |
| Next by Thread: | Re: How to turn off auto indent in C++ mode?, Zhongxing Xu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |