From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Sebastian Wiesner <lunaryorn@gmail.com>
Cc: 14504-done@debbugs.gnu.org
Subject: bug#14504: lisp-mode-shared-map does not derive from prog-mode-map
Date: Wed, 29 May 2013 15:33:30 -0400 [thread overview]
Message-ID: <jwvmwrdu1de.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CALf2awS8kxB1zgd-N6SowgJbzFmNnc81UzaERG4=St34-KcSgQ@mail.gmail.com> (Sebastian Wiesner's message of "Wed, 29 May 2013 15:27:09 +0200")
> The parent keymap of "emacs-lisp-mode-map", "lisp-mode-shared-map" does
> not inherit from "prog-mode-map", which has the odd effect, that though
> "emacs-lisp-mode" derives from "prog-mode", "emacs-lisp-mode-map" does
> not.
Thank you for the report. I installed the patch below which should fix
this oversight.
Stefan
=== modified file 'lisp/emacs-lisp/lisp-mode.el'
--- lisp/emacs-lisp/lisp-mode.el 2013-05-06 20:23:40 +0000
+++ lisp/emacs-lisp/lisp-mode.el 2013-05-29 17:56:08 +0000
@@ -266,6 +266,7 @@
(defvar lisp-mode-shared-map
(let ((map (make-sparse-keymap)))
+ (set-keymap-parent map prog-mode-map)
(define-key map "\e\C-q" 'indent-sexp)
(define-key map "\177" 'backward-delete-char-untabify)
;; This gets in the way when viewing a Lisp file in view-mode. As
prev parent reply other threads:[~2013-05-29 19:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-29 13:27 bug#14504: lisp-mode-shared-map does not derive from prog-mode-map Sebastian Wiesner
2013-05-29 19:33 ` Stefan Monnier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvmwrdu1de.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=14504-done@debbugs.gnu.org \
--cc=lunaryorn@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.