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: rms@gnu.org, 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 10:11:17 +0100	[thread overview]
Message-ID: <459E1635.1030204@gmail.com> (raw)
In-Reply-To: <uzm8y9c2d.fsf@member.fsf.org>

Stephen Leake wrote:
> 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.
>   

This is very confusing. Did you actually try if the binding work? I get 
no error message with this variant, but the binding is not on the key we 
are talking about AFAICS.

  reply	other threads:[~2007-01-05  9:11 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
2007-01-05  9:11     ` Lennart Borgman (gmail) [this message]
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=459E1635.1030204@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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.