From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
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 [thread overview]
Message-ID: <E1H2czC-0004A8-DT@fencepost.gnu.org> (raw)
In-Reply-To: <459D4B86.6040408@gmail.com> (lennart.borgman@gmail.com)
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.
next prev parent reply other threads:[~2007-01-05 0:31 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-04 1:21 What is the purpose of "To bind the key M-DEL, use "\M\d", not M-DEL" Lennart Borgman (gmail)
2007-01-04 17:58 ` Richard Stallman
2007-01-04 18:19 ` Drew Adams
2007-01-04 18:46 ` Lennart Borgman (gmail)
2007-01-04 18:53 ` Andreas Schwab
2007-01-04 19:04 ` Lennart Borgman (gmail)
2007-01-04 19:28 ` Edward O'Connor
2007-01-04 19:28 ` Lennart Borgman (gmail)
2007-01-04 20:02 ` Andreas Schwab
2007-01-05 0:26 ` Lennart Borgman (gmail)
2007-01-05 9:49 ` Andreas Schwab
2007-01-05 9:57 ` Lennart Borgman (gmail)
2007-01-05 19:09 ` Richard Stallman
2007-01-05 0:31 ` Richard Stallman [this message]
2007-01-05 7:18 ` Stephen Leake
2007-01-05 9:11 ` Lennart Borgman (gmail)
2007-01-06 2:54 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1H2czC-0004A8-DT@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.