GNU bug report logs - #23175
CC Mode 5.33 (C++/l); `c-mode-base-map' has no parent keymap

Previous Next

Packages: emacs, cc-mode;

Reported by: glaysher <at> umich.edu

Date: Thu, 31 Mar 2016 21:21:03 UTC

Severity: wishlist

Tags: patch

Merged with 26658

Found in version 25.2

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


Message #14 received at control <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> users.sourceforge.net
To: control <at> debbugs.gnu.org
Subject: Re: bug#26658: 25.2;
 cc-mode doesn't use prog-mode-map as parent for c-mode-base-map
Date: Wed, 03 May 2017 23:52:00 -0400
severity 26658 wishlist
tags 26658 = patch
quit

Alan Mackenzie <acm <at> muc.de> writes:

> I've been trying to think of good reasons not to do this (on the CC Mode
> within Emacs), and haven't been able to come up with any yet.  ;-)
>
> I think it's more likely that as define-derived-mode and prog-mode
> gradually congealed into existence, prog-mode-map got left out of
> c-mode-base-map, sort of forgotten.
>
> So yes, this change would surely be a good idea, given that this CC Mode
> is derived from prog-mode anyway.

Vasilij Schneidermann <mail <at> vasilij.de> writes:

> I've ensured the bug is present and wrote a patch that fixes the issue.




This bug report was last modified 7 years and 316 days ago.

Previous Next


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