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: [Emacs-diffs] trunk r116461: Connect electric-indent-mode up with CC Mode. Bug #15478. Date: Mon, 03 Mar 2014 22:48:50 -0500 Message-ID: References: <20140222182704.GA2639@acm.acm> <20140228195051.GA3446@acm.acm> <20140302115118.GA3768@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1393905006 25664 80.91.229.3 (4 Mar 2014 03:50:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Mar 2014 03:50:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 04 04:50:14 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WKgMw-00045s-D7 for ged-emacs-devel@m.gmane.org; Tue, 04 Mar 2014 04:50:14 +0100 Original-Received: from localhost ([::1]:42826 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKgMv-0000EX-Vj for ged-emacs-devel@m.gmane.org; Mon, 03 Mar 2014 22:50:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKgMl-00006P-33 for emacs-devel@gnu.org; Mon, 03 Mar 2014 22:50:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WKgMc-0006eW-M5 for emacs-devel@gnu.org; Mon, 03 Mar 2014 22:50:03 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:38390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKgMc-0006eJ-Gs for emacs-devel@gnu.org; Mon, 03 Mar 2014 22:49:54 -0500 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.DIT.UMontreal.CA (8.14.1/8.14.1) with ESMTP id s243nupB006324; Mon, 3 Mar 2014 22:49:57 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 03258AE185; Mon, 3 Mar 2014 22:48:50 -0500 (EST) In-Reply-To: <20140302115118.GA3768@acm.acm> (Alan Mackenzie's message of "Sun, 2 Mar 2014 11:51:18 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered SUBJ_END_HASH_PTRN=0.2, RV4870=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4870> : inlines <554> : streams <1132655> : uri <1688032> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:170121 Archived-At: > Using version numbers to check for features is not exactly clean coding. Much less hideous than checking how many times a function was called. > The default for electric-indent-mode is changed in a future Emacs > version. So it's hypothetical. We'll cross this bridge if/when we get there. > The challenge is to distinguish between (i) and ((ii) or (iii)). No, we should only care about "enabled" and "disabled". Stefan