From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.emacs.xemacs.beta Subject: Re: C Mode possibility: optionally disabling K&R function headers. WDYT? Date: Thu, 08 Dec 2011 08:40:38 -0500 Message-ID: References: <20111208112553.GA3205@acm.acm> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1323351654 19109 80.91.229.12 (8 Dec 2011 13:40:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 8 Dec 2011 13:40:54 +0000 (UTC) Cc: xemacs-beta@xemacs.org, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 08 14:40:50 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 1RYeDS-0006xQ-9o for ged-emacs-devel@m.gmane.org; Thu, 08 Dec 2011 14:40:50 +0100 Original-Received: from localhost ([::1]:54600 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYeDR-0002e9-K5 for ged-emacs-devel@m.gmane.org; Thu, 08 Dec 2011 08:40:49 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:36218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYeDK-0002dq-H7 for emacs-devel@gnu.org; Thu, 08 Dec 2011 08:40:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RYeDI-0004JS-Vv for emacs-devel@gnu.org; Thu, 08 Dec 2011 08:40:42 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:51367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYeDI-0004JC-SO for emacs-devel@gnu.org; Thu, 08 Dec 2011 08:40:40 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id pB8Decpu017885; Thu, 8 Dec 2011 08:40:39 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 6278759403; Thu, 8 Dec 2011 08:40:38 -0500 (EST) In-Reply-To: <20111208112553.GA3205@acm.acm> (Alan Mackenzie's message of "Thu, 8 Dec 2011 11:25:53 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4064=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4064> : streams <708845> : uri <1024023> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:146577 gmane.emacs.xemacs.beta:35887 Archived-At: > 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). I don't see any need for a key-binding to toggle it, tho. And I'd rather keep it ON by default for 24.1. Stefan