emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is the purpose of "To bind the key M-DEL, use "\M\d", not M-DEL


From: Stephen Leake
Subject: Re: What is the purpose of "To bind the key M-DEL, use "\M\d", not M-DEL"
Date: Fri, 05 Jan 2007 02:18:02 -0500
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt)

Richard Stallman <address@hidden> writes:

>     If you do
>
>       (global-set-key [M-DEL] nil)
>
>     you get the error in the subject line.
>
> DEL is not a meaningful function key since function key symbols are
> lower case.  So this has to be an error.
>
> At the Lisp level it is better to teach Lisp programmers the correct
> rules than to try to DWIM.

(global-set-key [M-del] nil)

works, and you seem to imply that is the correct syntax, or at least
acceptable syntax.

perhaps the error message should suggest "M-del" instead of "\M\d"?

Also, all references to M-del in the various help messages quoted in
this thread are "M-DEL"; should they be "M-del" instead? Or "\M\d"?

-- 
-- Stephe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]