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: Fri, 09 Dec 2011 16:11:25 -0500 Message-ID: References: <20111208112553.GA3205@acm.acm> <20111209135311.GA4146@acm.acm> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1323465095 26749 80.91.229.12 (9 Dec 2011 21:11:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 9 Dec 2011 21:11:35 +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 Fri Dec 09 22:11:31 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 1RZ7j9-0001rW-90 for ged-emacs-devel@m.gmane.org; Fri, 09 Dec 2011 22:11:31 +0100 Original-Received: from localhost ([::1]:57802 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZ7j8-0002Gu-A2 for ged-emacs-devel@m.gmane.org; Fri, 09 Dec 2011 16:11:30 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:45907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZ7j5-0002Ge-JH for emacs-devel@gnu.org; Fri, 09 Dec 2011 16:11:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RZ7j4-0003wz-Gv for emacs-devel@gnu.org; Fri, 09 Dec 2011 16:11:27 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:59908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZ7j4-0003wv-ET for emacs-devel@gnu.org; Fri, 09 Dec 2011 16:11:26 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EABh44k5FpY2M/2dsb2JhbABDqniBBoFyAQEEAVYjBQsLDiYSFBgNJIgatWqLcgSIMJo0hFE X-IronPort-AV: E=Sophos;i="4.71,328,1320642000"; d="scan'208";a="151642740" Original-Received: from 69-165-141-140.dsl.teksavvy.com (HELO ceviche.home) ([69.165.141.140]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 09 Dec 2011 16:11:25 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 830F2660E9; Fri, 9 Dec 2011 16:11:25 -0500 (EST) In-Reply-To: <20111209135311.GA4146@acm.acm> (Alan Mackenzie's message of "Fri, 9 Dec 2011 13:53:11 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:146612 gmane.emacs.xemacs.beta:35899 Archived-At: >> I don't see any need for a key-binding to toggle it, tho. > Maybe, maybe not. But it wouldn't do any harm. (There are 11 spare C-c > C- bindings still unused in CC Mode.) Your call. To me, the need for dynamically toggling it is simply unimaginable, and "11" sounds very small, and the added code needed to support it (docstring, code to force a reparse, etc...). >> And I'd rather keep it ON by default for 24.1. > That's fine. But I was more thinking of it as a new feature than a bug > fix, and thus for CC Mode 5.33 / Emacs 25. I'd be very happy to have it for 24.2 (and to set it to OFF in Emacs's .dir-locals.el). > I've no particularly strong feelings as to the default; I think it > should be OFF eventually, but leaving it ON to begin with > seems sensible. I don't have an opinion on the default after 24.1 (tho bug reports during the 24.2 pretest may change that, of course ;-). Stefan