From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: adamsonj@email.unc.edu (Joel J. Adamson) Newsgroups: gmane.emacs.help Subject: Re: parametrized function definition Date: Wed, 09 Jul 2008 08:26:49 -0400 Message-ID: <87r6a36y5y.fsf@edna.homeunix.org> References: <87zlosz4n6.fsf@DEBLAP1.BeNet> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1215618448 21785 80.91.229.12 (9 Jul 2008 15:47:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jul 2008 15:47:28 +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 Jul 09 17:48:14 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 1KGbtj-0007xx-6t for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Jul 2008 17:48:03 +0200 Original-Received: from localhost ([127.0.0.1]:44765 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KGbsr-0008Fg-P3 for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Jul 2008 11:47:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KGbsX-0008El-Fr for help-gnu-emacs@gnu.org; Wed, 09 Jul 2008 11:46:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KGbsU-0008D8-PU for help-gnu-emacs@gnu.org; Wed, 09 Jul 2008 11:46:47 -0400 Original-Received: from [199.232.76.173] (port=38415 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KGbsU-0008Cw-H8 for help-gnu-emacs@gnu.org; Wed, 09 Jul 2008 11:46:46 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:48406) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KGbig-0002xC-8d for help-gnu-emacs@gnu.org; Wed, 09 Jul 2008 11:36:38 -0400 Original-Received: from smtpsrv1.isis.unc.edu ([152.2.1.140] helo=smtp.unc.edu) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KGYp5-0000ug-Iz for help-gnu-emacs@gnu.org; Wed, 09 Jul 2008 08:31:03 -0400 Original-Received: from edna (cpe-024-088-244-186.nc.res.rr.com [24.88.244.186]) (authenticated bits=0) by smtp.unc.edu (8.13.4/8.13.4) with ESMTP id m69CUlhl024585 for ; Wed, 9 Jul 2008 08:30:50 -0400 (EDT) In-Reply-To: <87zlosz4n6.fsf@DEBLAP1.BeNet> (Joe Bloggs's message of "Tue, 08 Jul 2008 18:07:09 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by mx20.gnu.org: Solaris 9 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:55347 Archived-At: Joe Bloggs writes: > Hi, I am trying to write a function that allows me to quickly bind a key combination > to insert arbitrary text: You mean like a keyboard macro? C-x ( t e x t t h a t y o u w a n t t o i n s e r t C-x ), then C-x e to insert the text. You can also create macros of arbitrary keyboard movements, not just text insertion. Right now I'm defining a keyboard macro to insert this text. C-x e => Right now I'm defining a keyboard macro to insert this text. Joel -- Joel J. Adamson (303) 880-3109 Public key: http://pgp.mit.edu http://www.unc.edu/~adamsonj http://trashbird1240.blogspot.com