[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposal: Remap interactive commands via keymaps
From: |
Kim F. Storm |
Subject: |
Re: Proposal: Remap interactive commands via keymaps |
Date: |
05 Jan 2002 02:39:49 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
Richard Stallman <address@hidden> writes:
> > (define-key x-mode-map [self-insert-command] 'x-self-insert-command)
>
>
> I think this is a great idea.
Thanks!
If this is implemented, I would propose to add a new variable named,
say, `remap-interactive-commands-p' (default t) to [temporarily]
disable this feature. The purpose of this variable is two-fold:
1) make it possible to disable the feature for some specific purpose
(which I cannot imagine, but just in case something will need it)
2) so a package can test it using (boundp '...) to determine whether
this feature is available - or if it has to use
substitute-key-definition or some other method for backwards
compatibility (for emacs 20.x or 21.1).
Of these, I think 2) is the most important to allow packages to
gradually adapt to the new feature!
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Proposal: Remap interactive commands via keymaps, Kim F. Storm, 2002/01/03
- Re: Proposal: Remap interactive commands via keymaps, Eli Zaretskii, 2002/01/04
- Re: Proposal: Remap interactive commands via keymaps, Kim F. Storm, 2002/01/05
- Re: Proposal: Remap interactive commands via keymaps, Jason Rumney, 2002/01/06
- Re: Proposal: Remap interactive commands via keymaps, Kim F. Storm, 2002/01/06
- Re: Proposal: Remap interactive commands via keymaps, Jason Rumney, 2002/01/06
- Re: Proposal: Remap interactive commands via keymaps, Kim F. Storm, 2002/01/06
- Re: Proposal: Remap interactive commands via keymaps, Richard Stallman, 2002/01/07
- Re: Proposal: Remap interactive commands via keymaps, Kim F. Storm, 2002/01/07