all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Leake <stephen_leake@member.fsf.org>
Cc: "Lennart Borgman \(gmail\)" <lennart.borgman@gmail.com>,
	emacs-devel@gnu.org
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	[thread overview]
Message-ID: <uzm8y9c2d.fsf@member.fsf.org> (raw)
In-Reply-To: <E1H2Wqv-0003L3-C0@fencepost.gnu.org> (Richard Stallman's message of "Thu, 04 Jan 2007 12:58:09 -0500")

Richard Stallman <rms@gnu.org> 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

  parent reply	other threads:[~2007-01-05  7:18 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
2007-01-05  7:18   ` Stephen Leake [this message]
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=uzm8y9c2d.fsf@member.fsf.org \
    --to=stephen_leake@member.fsf.org \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@gmail.com \
    /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.