[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C Mode possibility: optionally disabling K&R function headers. WDYT?
From: |
Alan Mackenzie |
Subject: |
Re: C Mode possibility: optionally disabling K&R function headers. WDYT? |
Date: |
Fri, 9 Dec 2011 14:00:12 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Dec 09, 2011 at 01:55:01PM +0900, Stephen J. Turnbull wrote:
> 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.
> > 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?
No, but that's a poor criterion for detecting the absence of K&R. That
typedef could just as well be a variable declaration.
--
Alan Mackenzie (Nuremberg, Germany).