From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Flymake support for C/C++ Date: Thu, 12 Oct 2017 17:05:41 -0400 Message-ID: References: <87zi8wmmhw.fsf@gmail.com> <20171012175044.GA6106@ACM> <87tvz4mcg3.fsf@gmail.com> <20171012203953.GB6106@ACM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1507842397 9093 195.159.176.226 (12 Oct 2017 21:06:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 12 Oct 2017 21:06:37 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: sdl.web@gmail.com, eliz@gnu.org, npostavs@users.sourceforge.net, =?windows-1252?B?Sm/jbyBU4XZvcmE=?= , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 12 23:06:33 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2kgU-0000wK-Tj for ged-emacs-devel@m.gmane.org; Thu, 12 Oct 2017 23:06:27 +0200 Original-Received: from localhost ([::1]:47252 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2kga-00089U-Sd for ged-emacs-devel@m.gmane.org; Thu, 12 Oct 2017 17:06:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2kfZ-0007fe-HW for emacs-devel@gnu.org; Thu, 12 Oct 2017 17:05:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2kfV-0004Fa-E8 for emacs-devel@gnu.org; Thu, 12 Oct 2017 17:05:29 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:45386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2kfV-0004F7-9y; Thu, 12 Oct 2017 17:05:25 -0400 Original-Received: from lechazo.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id v9CL5NdC027375; Thu, 12 Oct 2017 17:05:23 -0400 Original-Received: by lechazo.home (Postfix, from userid 20848) id 209736447C; Thu, 12 Oct 2017 17:05:41 -0400 (EDT) In-Reply-To: <20171012203953.GB6106@ACM> (Alan Mackenzie's message of "Thu, 12 Oct 2017 20:39:53 +0000") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6135=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6135> : inlines <6129> : streams <1766974> : uri <2515530> 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.21 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" Xref: news.gmane.org gmane.emacs.devel:219432 Archived-At: >> Does setting a variable in the mode function make it an "integral part"? > Yes. It tightly couples Flymake Mode with CC Mode. It would render CC > Mode non-functional in the absence of Flymake Mode. No. It just sets a variable. This variable is then only used if the user elects to enable flymake mode. Without flymake mode, or if the user decides not to enable flymake mode, it will have no effect at all. Stefan