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

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

Re: [h-e-w] Adjusting Emacs, please help


From: Robert A. Lerche
Subject: Re: [h-e-w] Adjusting Emacs, please help
Date: Sun, 15 Jun 2008 19:26:16 -0700

Look at CC mode in the emacs info.  (Editing Programs has a *note CC
Mode, follow that).

I'm ashamed to admit that I haven't been entering much C code lately
but I used to do quite a bit.  Here are some very old settings from my
.emacs file (just an example, and I haven't tested them lately -- they
match a style at a company I worked for a long time ago):

(setq c-indent-level               4)
(setq c-continued-statement-offset 4)
(setq c-brace-offset               0)
(setq c-continued-brace-offset    -4)
(setq c-brace-imaginary-offset     0)
(setq c-argdecl-indent             4)
(setq c-label-offset              -2)
(setq c-auto-newline             nil)






reply via email to

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