From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel 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 Message-ID: References: <459C5681.60801@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1167981515 4877 80.91.229.12 (5 Jan 2007 07:18:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Jan 2007 07:18:35 +0000 (UTC) Cc: "Lennart Borgman \(gmail\)" , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 05 08:18:33 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H2jLR-0007KS-Qz for ged-emacs-devel@m.gmane.org; Fri, 05 Jan 2007 08:18:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H2jLR-0003qu-7l for ged-emacs-devel@m.gmane.org; Fri, 05 Jan 2007 02:18:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H2jLD-0003oG-3k for emacs-devel@gnu.org; Fri, 05 Jan 2007 02:18:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H2jLB-0003ml-3t for emacs-devel@gnu.org; Fri, 05 Jan 2007 02:18:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H2jLA-0003mi-V2 for emacs-devel@gnu.org; Fri, 05 Jan 2007 02:18:12 -0500 Original-Received: from [207.172.157.102] (helo=smtp02.lnh.mail.rcn.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H2jL9-0007qU-Ll; Fri, 05 Jan 2007 02:18:11 -0500 Original-Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 05 Jan 2007 02:18:11 -0500 Original-Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.7.5a-GA) with ESMTP id IBE86131; Fri, 5 Jan 2007 02:18:09 -0500 (EST) Original-Received: from 208-59-165-113.c3-0.slvr-ubr1.lnh-slvr.md.cable.rcn.com (HELO ACS1100007992) ([208.59.165.113]) by smtp01.lnh.mail.rcn.net with ESMTP; 05 Jan 2007 02:18:10 -0500 Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Thu, 04 Jan 2007 12:58:09 -0500") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) X-Junkmail-Status: score=10/50, host=mr08.lnh.mail.rcn.net X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A090204.459DFA00.00B6,ss=1,fgs=0, ip=207.172.4.11, so=2006-05-09 23:27:51, dmn=5.2.125/2006-10-10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:64811 Archived-At: Richard Stallman 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