[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Parent of a derived mode's keymap.
From: |
Stefan Monnier |
Subject: |
Re: Parent of a derived mode's keymap. |
Date: |
Fri, 10 Jun 2005 11:28:46 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> Currently, the parent of a derived mode's keymap is set by the mode
> function. This means that if the docstring of a derived mode shows
> the keybindings of its keymap, the bindings of the parent keymap are
> not shown until the mode function is first called. Why not set the
> parent keymap at top-level, right after the defvar of the keymap
> variable?
- it may not yet be loaded (that's a pretty common occurrence).
- the parent mode may not use the standard <foo>-mode-map name for
its keymap.
- IIRC there was one more reason, but I can't think of it right now.
Stefan
- Parent of a derived mode's keymap., Lute Kamstra, 2005/06/10
- Re: Parent of a derived mode's keymap.,
Stefan Monnier <=
- Re: Parent of a derived mode's keymap., Lute Kamstra, 2005/06/10
- Re: Parent of a derived mode's keymap., Richard Stallman, 2005/06/11
- Re: Parent of a derived mode's keymap., Stefan Monnier, 2005/06/12
- Re: Parent of a derived mode's keymap., David Kastrup, 2005/06/12
- Re: Parent of a derived mode's keymap., Lute Kamstra, 2005/06/12
- Re: Parent of a derived mode's keymap., David Kastrup, 2005/06/12
- Re: Parent of a derived mode's keymap., Lute Kamstra, 2005/06/12