From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stefan Thomas" Newsgroups: gmane.emacs.help Subject: macro with keypad three Date: Wed, 8 Oct 2008 15:04:14 +0200 Message-ID: <8c1eed9b0810080604w341e40b3y7af8b12170d966e8@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_114877_9188123.1223471054549" X-Trace: ger.gmane.org 1223471373 17266 80.91.229.12 (8 Oct 2008 13:09:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Oct 2008 13:09:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 08 15:10:30 2008 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 1KnYjW-0000GC-E2 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Oct 2008 15:05:50 +0200 Original-Received: from localhost ([127.0.0.1]:41796 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnYiS-0006tu-Ot for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Oct 2008 09:04:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KnYi9-0006tV-86 for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 09:04:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnYi7-0006tG-OT for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 09:04:16 -0400 Original-Received: from [199.232.76.173] (port=58307 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnYi7-0006tD-Gz for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 09:04:15 -0400 Original-Received: from yw-out-1718.google.com ([74.125.46.158]:51661) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KnYi7-0004OF-Au for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 09:04:15 -0400 Original-Received: by yw-out-1718.google.com with SMTP id 9so651945ywk.66 for ; Wed, 08 Oct 2008 06:04:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=A+a/PljT1DBHJtVHKFrwhDP1sWGQtyzHTFbsCRpeAVQ=; b=YO+hzkx3USGmBkyTzlrjjQh1Uft7arjLK/VO7m5VLpc9LypkYezoFx3fCMvXW+K+q+ ACBaY1eneRmPLw+l4hO15VZV+6S9dUcVz6fk8GN33J1IuphKULRVKDVtxrm95PcDVAG8 XIa8Bw2mUr0zadtoB75Fa/OE+S5du4wPbIH4U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=mEE5hwYd9OyZy6hpbYn6l3NDZ6B+COe0XWvXf2ytgNQHIwFJnmLnpmBf5tHz8Hwl7d Zu9MQfojhV3ae/5Bv6JT6Ys3QpGyVsSLuvoQJ00oZBHwhhK2H0S9TCDpu4G71NFMSVdN b43z8MdpkcfZdbizXUGNKhncEUsiTCUQ0JN+I= Original-Received: by 10.151.132.6 with SMTP id j6mr242047ybn.87.1223471054563; Wed, 08 Oct 2008 06:04:14 -0700 (PDT) Original-Received: by 10.150.181.12 with HTTP; Wed, 8 Oct 2008 06:04:14 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:58536 Archived-At: ------=_Part_114877_9188123.1223471054549 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Dear emacs-users, I have defined a new macro, that I can execute in shell mode with C-3: (fset 'dreiklang (lambda (&optional arg) "Keyboard macro." (interactive "p") (kmacro-exec-ring-item (quote ([67108896 134217779 134217826 134217847 60 21 67108896 2 62 5] 0 "%d")) arg))) (global-set-key [?\C-3] 'dreiklang) But I want to execute this macro with the 3 of the keypad. How can I define this? Thanks for Your help, Stefan ------=_Part_114877_9188123.1223471054549 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Dear emacs-users,
I have defined a new macro, that I can execute in shell mode with C-3:
(fset 'dreiklang
   (lambda (&optional arg) "Keyboard macro." (interactive "p") (kmacro-exec-ring-item (quote ([67108896 134217779 134217826 134217847 60 21 67108896 2 62 5] 0 "%d")) arg)))
(global-set-key [?\C-3] 'dreiklang)
 But I want to execute this macro with the 3 of the keypad. How can I define this?
Thanks for Your help,
Stefan
------=_Part_114877_9188123.1223471054549--