emacs-devel
[Top][All Lists]
Advanced

[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 20:45:23 +0000
User-agent: Mutt/1.7.2 (2016-11-26)

Hello, Stefan.

On Thu, Oct 12, 2017 at 14:45:39 -0400, Stefan Monnier wrote:
> > 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 ...

Font-lock and indentation support are essential to the major mode.  But
all of these, bar indentation, are connected to major modes via hooks of
one sort or another.

> 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.

What does Flymake mode do, anyway?  There's no documentation for it in
the Emacs manual, and its doc string, at least in 25.3, only says how to
turn it on and off, not what it's for.

>         Stefan

-- 
Alan Mackenzie (Nuremberg, Germany).



reply via email to

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