logo       

Re: C formatting: msg#00872

emacs.help

Subject: Re: C formatting

Oodini <svdbg@xxxxxxx> writes:

> hello,
>
> I am fighting with EMacs in order to get my programmation style:
No need to fight, this is well documented in the CC-mode manual in the
section about customizing indentation. There is also useful
information in the emacs manual under the section about indentation,
and the section about editing programs.

I think there was a change at some point and if you want to use your
own style you have to set the CC-mode style to user.

> By the way, there is no way, in the buffer, to put two following tabs ??
Tab runs the indentation function and indents the current line based
on the current style. If you want to add an extra "tab" you should do
M-i (this is documented in the indentation section of the emacs manual).

Hope that helps,

Bijan


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise