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 01:26:05 +0100 Message-ID: <459D9B1D.9020604@gmail.com> References: <459C5681.60801@gmail.com> <459D4B86.6040408@gmail.com> <86ejqa8ubs.fsf@rakim.cfhp.org> <459D554E.1020603@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 1167956797 22625 80.91.229.12 (5 Jan 2007 00:26:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Jan 2007 00:26:37 +0000 (UTC) Cc: Edward O'Connor , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 05 01:26:28 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 1H2cuh-0006Cq-Jg for ged-emacs-devel@m.gmane.org; Fri, 05 Jan 2007 01:26:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H2cug-0006M7-Us for ged-emacs-devel@m.gmane.org; Thu, 04 Jan 2007 19:26:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H2cuQ-0006L1-PT for emacs-devel@gnu.org; Thu, 04 Jan 2007 19:26:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H2cuO-0006Ie-PE for emacs-devel@gnu.org; Thu, 04 Jan 2007 19:26:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H2cuO-0006IY-Hb for emacs-devel@gnu.org; Thu, 04 Jan 2007 19:26:08 -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 1H2cuN-0007xL-If for emacs-devel@gnu.org; Thu, 04 Jan 2007 19:26:08 -0500 Original-Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:63607 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1H2cuL-00067L-49; Fri, 05 Jan 2007 01:26:05 +0100 User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) Original-To: Andreas Schwab 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 1H2cuL-00067L-49. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1H2cuL-00067L-49 ab94af4d4ac81179f41572a7ddd824eb 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:64797 Archived-At: Andreas Schwab wrote: > "Lennart Borgman (gmail)" writes: > > >> Which actually works, yes. But isn't there a point in telling about >> M-backspace instead since M-DEL is made in the platform specific >> translation in function-key-map? >> > > No, M-DEL is the canonical key. Anthing defined via function-key-map is > non-canonical. > Ah, thanks. That means my latest patch for the tutorial is wrong AFAICS now - so please do not install that - yet. I had to consult Webster to see what canonical really means .... Now let me see if I understand this... - here is then another question around this: As I understand it now the preferable way to define a key is (of course) always to use a canonical representation. Maybe it even can not be done in any other way? But then I do not understand the use of M-backspace. In pc-mode.el M-backspace is used for keybinding. Works ok on w32 and I guess on other platforms too? But backward-kill-word is not bound to M-backspace directly on w32, but instead through function-key-map. Why is it so? Where is backward-kill-word on other systems? What does C-h w give? What does M-backspace do on other systems?