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: Richard Stallman
Subject: Re: What is the purpose of "To bind the key M-DEL, use "\M\d", not M-DEL"
Date: Thu, 04 Jan 2007 19:31:06 -0500

        M-DEL (translated from <M-backspace>) runs the command 
    backward-kill-word
          which is an interactive compiled Lisp function in `simple.el'.
        It is bound to <C-backspace>, M-DEL.


    Would it not be better if the error message we are talking about told me 
    to bind [M-backspace] instead?

Binding M-backspace is NOT the right way to handle this.  You should
bind the character M-DEL.  However that's a character, not a function
key, so you don't write it as [M-DEL] in Lisp.

This is not a simple subject, and I don't think an error message can
explain it all.  What maybe it could do is refer to a node in the Lisp
manual.




reply via email to

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