From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Flymake support for C/C++ Date: Sun, 3 Jun 2018 13:44:00 +0000 Message-ID: <20180603134400.GA5860@ACM> References: <87zi8wmmhw.fsf@gmail.com> <20171012175044.GA6106@ACM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1528033586 23718 195.159.176.226 (3 Jun 2018 13:46:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 3 Jun 2018 13:46:26 +0000 (UTC) User-Agent: Mutt/1.9.4 (2018-02-28) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 03 15:46:21 2018 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 1fPTKv-00062t-15 for ged-emacs-devel@m.gmane.org; Sun, 03 Jun 2018 15:46:21 +0200 Original-Received: from localhost ([::1]:35386 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPTN1-0007HR-KR for ged-emacs-devel@m.gmane.org; Sun, 03 Jun 2018 09:48:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPTML-0007HL-Ss for emacs-devel@gnu.org; Sun, 03 Jun 2018 09:47:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPTMG-0001Tp-Tt for emacs-devel@gnu.org; Sun, 03 Jun 2018 09:47:49 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:51269 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1fPTMG-0001T2-MW for emacs-devel@gnu.org; Sun, 03 Jun 2018 09:47:44 -0400 Original-Received: (qmail 8383 invoked by uid 3782); 3 Jun 2018 13:47:41 -0000 Original-Received: from acm.muc.de (p5B146781.dip0.t-ipconnect.de [91.20.103.129]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 03 Jun 2018 15:47:40 +0200 Original-Received: (qmail 5919 invoked by uid 1000); 3 Jun 2018 13:44:00 -0000 Content-Disposition: inline In-Reply-To: X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.1 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:225954 Archived-At: Hello, Stefan. On Sat, Jun 02, 2018 at 11:26:54 -0400, Stefan Monnier wrote: > > I must admit not to being too keen on CC Mode changing like this; it > > would spoil the unity of purpose of the mode. I've glanced through the > What is "the unity of purpose of" CC-mode? That feels like a rhetorical question. It's dealt with in standard software engineering texts. I think it's also clear. If it's not, to anybody, it's probably not that important. > >>From where I stand, your position on this patch amounts to saying "I > don't want to make it easier for users of CC-mode to use flymake-mode". That's indeed the case, with empasis on the "I". I've got enough other things to do that I don't want to spend time contributing to flymake-mode. But I've got nothing against Joćo or anybody else, doing so. However, I'm concerned to get the optimum interface between CC Mode and flymake-mode, and right at the moment that would appear to be none whatsoever. > Yet AFAIK the purpose of CC-mode is to help users of C-like languages > make the best use of Emacs. CC Mode in concert with all the other facilities of Emacs. CC Mode doesn't include Cedet, trailing-space facilities, movement between matching parentheses, font-locking infrastructure, redisplay infrastructure, or any of the many other Emacs features useful with or necessary to C(etc.) Mode. Nor should it. One of these other features is flymake mode. It shouldn't be included in CC Mode either. > I'm having trouble reconciling those different statements into > a coherent whole. > Stefan -- Alan Mackenzie (Nuremberg, Germany).