GNU bug report logs - #21465
[PATCH] CC-modes hierarchy

Previous Next

Packages: cc-mode, emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Sat, 12 Sep 2015 02:33:02 UTC

Severity: normal

Tags: patch, wontfix

Found in version 25.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Alan Mackenzie <acm <at> muc.de>, 21465 <at> debbugs.gnu.org
Subject: bug#21465: [PATCH] CC-modes hierarchy
Date: Mon, 07 Sep 2020 18:52:00 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> You already have this layer, with c-mode-common-hook and
> c-mode-base-map.  My patch just makes this layering more standard and
> then takes advantage of it to share some code.
>
> Here's another version of the patch with the following changes:
> - Got rid of c-derivative-mode (which I still use at other places in my
>   local patches, but for now, I won't push for it any more).
> - Keep c-make-inherited-keymap for backward compatibility.
> - Fix the "c-mode-hook is run twice" bug, using the same hack as is used
>   by define-globalized-minor-mode.
> The third point also makes the c-mode-common "extra layer" more useful
> since that hack is added in there.
>
> Any objections to this version?

This was four years ago, and there apparently wasn't any response here?
Alan?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 314 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.