From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: mode for preprocessed files Date: Wed, 23 Jul 2008 22:24:15 -0400 Message-ID: References: <200807240017.m6O0HHNL013737@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1216866289 620 80.91.229.12 (24 Jul 2008 02:24:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Jul 2008 02:24:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 24 04:25:38 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KLqWM-0004ep-3P for ged-emacs-devel@m.gmane.org; Thu, 24 Jul 2008 04:25:34 +0200 Original-Received: from localhost ([127.0.0.1]:55860 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLqVS-0006r0-LH for ged-emacs-devel@m.gmane.org; Wed, 23 Jul 2008 22:24:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KLqV8-0006dP-NV for emacs-devel@gnu.org; Wed, 23 Jul 2008 22:24:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KLqV8-0006ce-4K for emacs-devel@gnu.org; Wed, 23 Jul 2008 22:24:18 -0400 Original-Received: from [199.232.76.173] (port=41726 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLqV7-0006cO-NA for emacs-devel@gnu.org; Wed, 23 Jul 2008 22:24:17 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:60923) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KLqV7-0007M8-Hk for emacs-devel@gnu.org; Wed, 23 Jul 2008 22:24:17 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq8EANyEh0hFxIYw/2dsb2JhbACBWrB2gX0 X-IronPort-AV: E=Sophos;i="4.31,242,1215403200"; d="scan'208";a="24738021" Original-Received: from 69-196-134-48.dsl.teksavvy.com (HELO pastel.home) ([69.196.134.48]) by ironport2-out.teksavvy.com with ESMTP; 23 Jul 2008 22:24:16 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id D89797F1C; Wed, 23 Jul 2008 22:24:15 -0400 (EDT) In-Reply-To: <200807240017.m6O0HHNL013737@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Wed, 23 Jul 2008 17:17:17 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:101358 Archived-At: > Currently C and C++ preprocessed files (.i and .ii, respectively) are > opened in fundamental mode. > Would anyone object if we would use c-mode and c++-mode for them by default? > I've been doing this locally for a long time without any problem. It might be OK, tho I wonder how often that's useful. I.e. it's OK but put it way down the list, with a comment explaining why .i and .ii are mapped to c-mode and c++-mode (it wouldn't have occurred to me that those extensions are actually used for C and C++ files). Stefan