all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
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:46:30 +0100	[thread overview]
Message-ID: <459D4B86.6040408@gmail.com> (raw)
In-Reply-To: <E1H2Wqv-0003L3-C0@fencepost.gnu.org>

Richard Stallman wrote:
>     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.
>   

The error message could have said this of course, but it is not the 
whole story.

> At the Lisp level it is better to teach Lisp programmers the correct
> rules than to try to DWIM.
>   

When I do

   C-h k Meta backspace

on w32 the help buffer tells me

    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?

  parent reply	other threads:[~2007-01-04 18:46 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) [this message]
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
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=459D4B86.6040408@gmail.com \
    --to=lennart.borgman@gmail.com \
    --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.