[Top][All Lists]

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

Re: C style alist question?

From: Óscar Fuentes
Subject: Re: C style alist question?
Date: Sat, 06 Apr 2019 06:10:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.90 (gnu/linux)

Ergus <> writes:

> For example: c-lineup-gcc-asm-reg, c-lineup-close-parenm,
> c-lineup-arglist-intro-after-paren... what are those, where are them?

Are you asking for their documentation? They are described on the
CC Mode manual:

> But also: what's the point with bringing a linux style that needs to be
> fixed by all the users that needs it?

Probably nobody cared about fixing the Emacs sources? Although this is
strange, because there are kernel developers with commit access to

> Could anyone help me to fix this, or fix the defaults in Emacs to follow
> the specifications?

Just discuss it with Alan Mackenzie, the maintainer of CC Mode. He is in
the emacs-devel mailing list.

> What's the recommended configuration when we need to switch constantly?
> Because now as I set the tabwidth and the indent-style outside a style,
> when I switch I only get a mixed useless style. 

C styles are buffer local. If you set the correct style in your c-mode
hook, you should be ok.

reply via email to

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