help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modify indention for C/C++


From: Florian Lindner
Subject: Re: Modify indention for C/C++
Date: Wed, 11 Jun 2014 15:31:57 +0200
User-agent: Roundcube Webmail/1.0.1

Am 11.06.2014 15:24, schrieb Florian Lindner:
Hello,

what is the canonical way to modify indention for certain keywords?
I've found numerous ways in the internets. I want to change the linux
style so, that is does not do indention for namespaces.

I tried that, and it seems to correctly c-style-alist but has no
effect. How can I change/modify an indention style?

Thanks,
Florian

Documentation to c-style-alist says:

Do not change this variable directly.  Use the function `c-add-style'
to add new styles or modify existing styles (it is not a good idea to
modify existing styles -- you should create a new style that inherits
the existing style).

But in the doc of c-add-style it does not mention how to inherit from a style.

Another question: (statement-case-open . +) Why is there a dot . in the middle of the clause?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]