Prefered CC mode setup?
dshaw at jabberwocky.com
Mon Apr 10 00:34:58 CEST 2006
On Sun, Apr 09, 2006 at 05:57:09PM -0400, Anthony Carrico wrote:
> Could one of the GnuPG developers (who uses emacs) please post the
> recommended CC mode settings? I think I'm in "gnu" mode and it doesn't
> seem to quite match. Might be a good thing to add to HACKING.
We use the standard GNU defaults, a la 'indent --gnu-style', for new
code. However, there is a lot of existing code in there that is K&R.
It was decided that reformatting the code in bulk was a bad idea and
thus as functions are edited over time, they have been slowly evolving
into GNU style.
So, short answer is, if you are editing a function and adding a line
or two, match whatever style you see there. If you are adding a new
function or significantly changing existing code, use GNU style.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 250 bytes
Desc: not available
Url : /pipermail/attachments/20060409/630ce882/attachment.pgp
More information about the Gnupg-devel