[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Flymake support for C/C++

From: Alan Mackenzie
Subject: Re: [PATCH] Flymake support for C/C++
Date: Thu, 12 Oct 2017 17:50:44 +0000
User-agent: Mutt/1.7.2 (2016-11-26)

Hello, João.

On Thu, Oct 12, 2017 at 16:09:15 +0100, João Távora wrote:
> Hi,

> Here's a proposal for supporting Flymake in C/C++. This patch:

> - Sets up Flymake in c-mode buffers (heads up Alan), but doesn't
>   automatically enable it.

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
new code, but can't quite see why it needs to be an integral part of CC
Mode.  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

If there is any reason why it couldn't work on a CC Mode hook, I'd far
rather solve that reason (thus making the solution available for other
libraries too, and preserving the unity of CC Mode).

[ .... ]

Alan Mackenzie (Nuremberg, Germany).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]