[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposal: Bind backspace and delete like DEL in view-mode
From: |
Kim F. Storm |
Subject: |
Re: Proposal: Bind backspace and delete like DEL in view-mode |
Date: |
29 Dec 2001 02:00:41 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
Richard Stallman <address@hidden> writes:
> In general, I think it would be nice if define-key would issue an
> error message when making a meaningless binding (i.e. for a symbol
> which cannot occur as an event). Unfortunately, I don't know how to
> make such a test i general - and I don't see why DEL or TAB should
> have special treatment here...
>
> You're asking for a kind of special treatment for them. If we decide
> to give them special treatment, there's no sense rejecting this option
> just because it would be special treatment.
Ok. At least the user will be informed that the key binding is invalid.
Anyway, it would still be nice if define-key would generate an error
if someone is trying to bind a meaningless key symbol.
>
> I wrote the code to detect this as an error. It was under 15 lines long.
It doesn't handle modifiers. If I enter C-h k M-return, emacs tells
me about M-RET, and C-space and M-space is reported as C-SPC and
M-SPC. Maybe there are other like them?
BTW, there is a typo in the error message: "..., use; use ..."
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: Proposal: Bind backspace and delete like DEL in view-mode, (continued)
- Re: Proposal: Bind backspace and delete like DEL in view-mode, Kim F. Storm, 2001/12/25
- Re: Proposal: Bind backspace and delete like DEL in view-mode, Richard Stallman, 2001/12/26
- Re: Proposal: Bind backspace and delete like DEL in view-mode, Kai Großjohann, 2001/12/26
- Re: Proposal: Bind backspace and delete like DEL in view-mode, Kim F. Storm, 2001/12/26
- Re: Proposal: Bind backspace and delete like DEL in view-mode, Eli Zaretskii, 2001/12/27
- Re: Proposal: Bind backspace and delete like DEL in view-mode, Kim F. Storm, 2001/12/27
- Re: Proposal: Bind backspace and delete like DEL in view-mode, Richard Stallman, 2001/12/28
- Re: Proposal: Bind backspace and delete like DEL in view-mode, Richard Stallman, 2001/12/27
- Re: Proposal: Bind backspace and delete like DEL in view-mode, Kim F. Storm, 2001/12/27
- Re: Proposal: Bind backspace and delete like DEL in view-mode, Richard Stallman, 2001/12/28
- Re: Proposal: Bind backspace and delete like DEL in view-mode,
Kim F. Storm <=
- Re: Proposal: Bind backspace and delete like DEL in view-mode, Kai Großjohann, 2001/12/29
- Re: Proposal: Bind backspace and delete like DEL in view-mode, Richard Stallman, 2001/12/29
- Re: Proposal: Bind backspace and delete like DEL in view-mode, Kai Großjohann, 2001/12/28
- Re: Proposal: Bind backspace and delete like DEL in view-mode, Kim F. Storm, 2001/12/28
- Re: Proposal: Bind backspace and delete like DEL in view-mode, Miles Bader, 2001/12/28
- Re: Proposal: Bind backspace and delete like DEL in view-mode, Kai Großjohann, 2001/12/29
- Re: Proposal: Bind backspace and delete like DEL in view-mode, Kim F. Storm, 2001/12/29
- Re: Proposal: Bind backspace and delete like DEL in view-mode, Kai Großjohann, 2001/12/29