From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel,gmane.emacs.xemacs.beta Subject: Re: C Mode possibility: optionally disabling K&R function headers. WDYT? Date: Fri, 09 Dec 2011 13:55:01 +0900 Message-ID: <8762hq1h0a.fsf@uwakimon.sk.tsukuba.ac.jp> References: <20111208112553.GA3205@acm.acm> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: dough.gmane.org 1323406519 22166 80.91.229.12 (9 Dec 2011 04:55:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 9 Dec 2011 04:55:19 +0000 (UTC) Cc: Alan Mackenzie , emacs-devel@gnu.org, xemacs-beta@xemacs.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 09 05:55:15 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 1RYsUL-0001eo-M4 for ged-emacs-devel@m.gmane.org; Fri, 09 Dec 2011 05:55:13 +0100 Original-Received: from localhost ([::1]:55090 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYsUK-0000sI-TP for ged-emacs-devel@m.gmane.org; Thu, 08 Dec 2011 23:55:12 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:39874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYsUI-0000s6-HE for emacs-devel@gnu.org; Thu, 08 Dec 2011 23:55:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RYsUH-0001Ej-E6 for emacs-devel@gnu.org; Thu, 08 Dec 2011 23:55:10 -0500 Original-Received: from mgmt2.sk.tsukuba.ac.jp ([130.158.97.224]:46294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYsUG-00019S-V3 for emacs-devel@gnu.org; Thu, 08 Dec 2011 23:55:09 -0500 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt2.sk.tsukuba.ac.jp (Postfix) with ESMTP id 169F49707D8; Fri, 9 Dec 2011 13:55:02 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 0F6EB1A2766; Fri, 9 Dec 2011 13:55:02 +0900 (JST) In-Reply-To: X-Mailer: VM 8.2.0a1 under 21.5 (beta31) "ginger" 2dbefd79b3d3 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.158.97.224 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:146592 gmane.emacs.xemacs.beta:35890 Archived-At: 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?