From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: Looking up and CALLING a key binding Date: Mon, 5 Jan 2009 17:13:39 -0800 (PST) Organization: http://groups.google.com Message-ID: <5e307aad-4ae3-4527-8fef-cee66fd9c2aa@o40g2000prn.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1231253877 30645 80.91.229.12 (6 Jan 2009 14:57:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Jan 2009 14:57:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 06 15:59:08 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LKDOc-00007B-Fo for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Jan 2009 15:59:06 +0100 Original-Received: from localhost ([127.0.0.1]:54082 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LKDNN-0005cS-2J for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Jan 2009 09:57:49 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!o40g2000prn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: 69.226.242.127 Original-X-Trace: posting.google.com 1231204419 31784 127.0.0.1 (6 Jan 2009 01:13:39 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 6 Jan 2009 01:13:39 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: o40g2000prn.googlegroups.com; posting-host=69.226.242.127; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:165766 X-Mailman-Approved-At: Tue, 06 Jan 2009 09:55:55 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor 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:61110 Archived-At: On Jan 5, 6:00=C2=A0am, TheLonelyStar wrote: > Hi, > > I know very little elisp have basicly no practical expirience with it. > > I know I can lookup a keybinding with lookup-key and similiar. > But how do I look it up and call it (execute it)? > > Thanks! > nathan what exactly you want to do? are you writing a elisp program? ... or you trying to do something in emacs? once you know what command the binding is associated with, you can just call the command by typing Alt+x commandName. if you are writing elisp... once you get the command name, say it is forward-word, then you can run it by just (forward-word) ... some example of your case would be good to clarify. Xah =E2=88=91 http://xahlee.org/ =E2=98=84