From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.help Subject: Re: Key binding syntax Date: Tue, 12 Apr 2005 00:07:12 +0200 Organization: http://purl.org/harder/ Message-ID: <87ll7pne45.fsf@Jesper-Harders-Computer.local> References: <16986.60027.717280.145858@dionysus.ucolick.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1113258457 24157 80.91.229.2 (11 Apr 2005 22:27:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Apr 2005 22:27:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 12 00:27:35 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DL7N4-0003Bg-Tv for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Apr 2005 00:27:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DL6xG-0004bT-Uu for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Apr 2005 18:00:27 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!t-online.de!fr.ip.ndsoftware.net!newsfeed1.uni2.dk!news.get2net.dk.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (darwin) X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:25588 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25588 Greg Novak writes: > I also did "apropos-command key" looking for a command where I can hit > a key and have emacs tell me the exact text that should go into the > first argument to local-set-key in order to rebind the key. Much like > describe-key, but telling me how to rebind it, not what the current > current binding happens to be. You can use the output from `describe-key' (C-h k) in the `kbd' macro. E.g. (global-set-key (kbd "") 'tetris)