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

Previous Next

Packages: emacs, cc-mode;

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: Jostein Kjønigsen <jostein <at> secure.kjonigsen.net>
To: 21465 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Subject: bug#21465: [PATCH] CC-modes hierarchy
Date: Sat, 19 Sep 2015 20:43:14 +0200
> Any objection to the patch below?
> 
> It does the following:
> - Remove c-make-inherited-keymap, since it's not used any more.
> 
> AFAIK this patch has no issues w.r.t compatibility since it relies on
> behavior of define-derived-mode which has existed since "for ever"

csharp-mode[1] is not hosted on ELPA or in Emacs core, so I'm not
going to blame Emacs developers for not checking it, but it may
have issues with this patch.

csharp-mode has gone halfway through a transition to use of
"make-derive-mode", but it's not 100% there.

That means that it currently (still) uses "c-make-inherited-keymap" to
configure itself[2].

If fixing it on my end is easy, I guess that will be easier than
objecting to this patch. I see there's a suggestion posted[3] which I
can try out.

Just thought I'd put it out there that there are indeed more 3rd party
modules depending on the current implementation.

[1] https://github.com/josteink/csharp-mode
[2]
https://github.com/josteink/csharp-mode/blob/master/csharp-mode.el#L1428-L1430
[3] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21465#17

--
Jostein Kjønigsen
jostein <at> kjonigsen.net / jostein <at> secure.kjonigsen.net




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

Previous Next


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