[Top][All Lists]

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

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

From: Stefan Monnier
Subject: Re: [PATCH] Flymake support for C/C++
Date: Fri, 01 Jun 2018 18:08:08 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> As do flyspell, compile mode, trailing space mode (or whatever it's
>> called), #ifdef mode (or whatever that's properly called), and any
>> number of other minor modes.  None of them make an appearance in the CC
>> Mode source code, but are frequently enabled in major mode hooks.
>> outline.el doesn't either.
> I was merely pointing out that a brief "flymake" appearance in
> cc-mode.el would hardly be an exception. Of course Emacs has so many
> other parts that some of them are bound to not appear in cc-mode :-).

Also note that most of those that don't appear in cc-mode are modes
which don't really need to be tweaked based on the buffer's language.

> We can, but I believe c-mode-common-hook in particular should be a
> pristine nil after Emacs -Q.


> Perhaps I am mistaken and it's not that common a practice, but all the
> major modes flymake has entered in have followed the same guideline.

CC-mode is not just another major mode ;-)


reply via email to

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