From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" 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 10:11:17 +0100 Message-ID: <459E1635.1030204@gmail.com> References: <459C5681.60801@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167988312 6054 80.91.229.12 (5 Jan 2007 09:11:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Jan 2007 09:11:52 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 05 10:11:49 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 1H2l71-0006O0-Ku for ged-emacs-devel@m.gmane.org; Fri, 05 Jan 2007 10:11:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H2l70-0000TG-Vj for ged-emacs-devel@m.gmane.org; Fri, 05 Jan 2007 04:11:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H2l6m-0000Sl-3H for emacs-devel@gnu.org; Fri, 05 Jan 2007 04:11:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H2l6k-0000SN-7S for emacs-devel@gnu.org; Fri, 05 Jan 2007 04:11:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H2l6k-0000SI-1h for emacs-devel@gnu.org; Fri, 05 Jan 2007 04:11:26 -0500 Original-Received: from [80.76.149.212] (helo=ch-smtp01.sth.basefarm.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H2l6c-0004Sn-NT; Fri, 05 Jan 2007 04:11:19 -0500 Original-Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:64641 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1H2l6b-0002WG-3d; Fri, 05 Jan 2007 10:11:17 +0100 User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) Original-To: Stephen Leake In-Reply-To: X-Antivirus: avast! (VPS 0701-0, 2007-01-03), Outbound message X-Antivirus-Status: Clean X-Scan-Result: No virus found in message 1H2l6b-0002WG-3d. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1H2l6b-0002WG-3d 6111862507b0b50cc0f774b87c383f6d 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:64814 Archived-At: Stephen Leake wrote: > 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. > 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.