bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#21465: [PATCH] CC-modes hierarchy


From: Stefan Monnier
Subject: bug#21465: [PATCH] CC-modes hierarchy
Date: Sun, 13 Sep 2015 09:25:53 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> It is not clear to me how to adapt a 3rd party derived mode to
> this.

Hmm... I'm missing something.  I don't see how your problem is linked to
my patch?

> For mode derivation, either I have

> (define-derived-mode foo++-mode c++-mode "Foo++"
>  ...)

> In which case there will be a parent c++-mode-map and a C++ menu present

But that's already the case with the code in (say) Emacs-24, no?

> when there shouldn't be, or:
> (define-derived-mode foo++-mode c-derivative-mode "Foo++"
>  ...)
> and fontification is broken.

How is it broken?


        Stefan





reply via email to

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