C Mode possibility: optionally disabling K&R function headers. WDYT?

Stephen J. Turnbull stephen at xemacs.org
Thu Dec 8 23:55:01 EST 2011


Stefan Monnier writes:
 > > Solving this bug is difficult.  One way would be just to disable K&R in
 > > C Mode, except when explicitly enabled by the user.  After all, K&R
 > > parameters have been obsolete for over 10 years now.
 > 
 > > The key sequnce to toggle it would be C-c C-k.
 > 
 > > Can anybody think up any reasons why this would be a Bad Thing.  Does
 > > anybody feel particularly strongly about this?
 > 
 > I think introducing a config var to disable K&R would be great
 > (especially since IIUC it is a source of trouble, including peformance
 > trouble).

+1 from XEmacs.

 > I don't see any need for a key-binding to toggle it, tho.

+1 from XEmacs.

 > And I'd rather keep it ON by default for 24.1.

XEmacs will make its own judgment on defaults for XEmacs. :-)  I don't
have an opinion at the moment.

I don't understand why this is a problem though.  Does K&R allow
typedef declarations in parameter lists?



More information about the XEmacs-Beta mailing list