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 14:45:39 -0400 Message-ID: References: <87zi8wmmhw.fsf@gmail.com> <20171012175044.GA6106@ACM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1507833944 2905 195.159.176.226 (12 Oct 2017 18:45:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 12 Oct 2017 18:45:44 +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 20:45:35 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 1e2iU5-0007Z9-A5 for ged-emacs-devel@m.gmane.org; Thu, 12 Oct 2017 20:45:29 +0200 Original-Received: from localhost ([::1]:46788 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2iUC-0007LX-RC for ged-emacs-devel@m.gmane.org; Thu, 12 Oct 2017 14:45:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2iU6-0007LB-4g for emacs-devel@gnu.org; Thu, 12 Oct 2017 14:45:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2iU2-0007DA-4Y for emacs-devel@gnu.org; Thu, 12 Oct 2017 14:45:30 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:40808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2iU1-0007CB-VF; Thu, 12 Oct 2017 14:45:26 -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 v9CIjMeT031923; Thu, 12 Oct 2017 14:45:22 -0400 Original-Received: by lechazo.home (Postfix, from userid 20848) id CF58464469; Thu, 12 Oct 2017 14:45:39 -0400 (EDT) In-Reply-To: <20171012175044.GA6106@ACM> (Alan Mackenzie's message of "Thu, 12 Oct 2017 17:50:44 +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 <6128> : streams <1766961> : uri <2515479> 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:219426 Archived-At: > What is stopping the needed setup and initialisation being in a > function to be added to one of the mode's hooks: say c-mode-common-hook, > or even c-initialization-hook (which are documented in the CC Mode > manual)? The same could apply to font-lock support in CC-mode, or indentation support in CC-mode, or imenu support, or ... I'm not saying that the flymake support for C code has to be in CC-mode, but I think it's a natural place for it. Stefan