From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel,gmane.emacs.xemacs.beta Subject: Re: C Mode possibility: optionally disabling K&R function headers. WDYT? Date: Fri, 9 Dec 2011 14:00:12 +0000 Message-ID: <20111209140012.GB4146@acm.acm> References: <20111208112553.GA3205@acm.acm> <8762hq1h0a.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1323439588 3294 80.91.229.12 (9 Dec 2011 14:06:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 9 Dec 2011 14:06:28 +0000 (UTC) Cc: xemacs-beta@xemacs.org, Stefan Monnier , emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 09 15:06:22 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RZ15f-00027f-93 for ged-emacs-devel@m.gmane.org; Fri, 09 Dec 2011 15:06:19 +0100 Original-Received: from localhost ([::1]:38597 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZ15e-0006ZQ-N9 for ged-emacs-devel@m.gmane.org; Fri, 09 Dec 2011 09:06:18 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:48347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZ15c-0006Yj-2c for emacs-devel@gnu.org; Fri, 09 Dec 2011 09:06:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RZ15S-0005wG-IZ for emacs-devel@gnu.org; Fri, 09 Dec 2011 09:06:16 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:35870 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZ15S-0005w4-8r for emacs-devel@gnu.org; Fri, 09 Dec 2011 09:06:06 -0500 Original-Received: (qmail 69261 invoked by uid 3782); 9 Dec 2011 14:06:04 -0000 Original-Received: from acm.muc.de (pD951BEDB.dip.t-dialin.net [217.81.190.219]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 09 Dec 2011 15:06:03 +0100 Original-Received: (qmail 4568 invoked by uid 1000); 9 Dec 2011 14:00:12 -0000 Content-Disposition: inline In-Reply-To: <8762hq1h0a.fsf@uwakimon.sk.tsukuba.ac.jp> User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 193.149.48.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146601 gmane.emacs.xemacs.beta:35898 Archived-At: 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).