unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Joe Bloggs <who@cares.invalid>
To: help-gnu-emacs@gnu.org
Subject: Re: parametrized function definition
Date: Mon, 14 Jul 2008 21:23:12 +0100	[thread overview]
Message-ID: <87ej5w1ahb.fsf@DEBLAP1.BeNet> (raw)
In-Reply-To: mailman.14451.1215618411.18990.help-gnu-emacs@gnu.org

adamsonj@email.unc.edu (Joel J. Adamson) writes:

> Joe Bloggs <who@cares.invalid> 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

The problem with macros is that if I have several of them then several keys presses
are required to access each one. I prefer to have simple two-finger key combinations.


      parent reply	other threads:[~2008-07-14 20:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-08 17:07 parametrized function definition Joe Bloggs
2008-07-09  7:06 ` Lennart Borgman (gmail)
2008-07-09  8:12   ` Thien-Thi Nguyen
2008-07-09  8:19     ` Lennart Borgman (gmail)
     [not found]   ` <mailman.14435.1215591337.18990.help-gnu-emacs@gnu.org>
2008-07-09 14:44     ` Joe Bloggs
2008-07-09 10:40 ` Xah
2008-07-09 12:26 ` Joel J. Adamson
2008-07-09 12:46 ` weber
2008-07-14 20:32   ` Joe Bloggs
     [not found] ` <mailman.14451.1215618411.18990.help-gnu-emacs@gnu.org>
2008-07-14 20:23   ` Joe Bloggs [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ej5w1ahb.fsf@DEBLAP1.BeNet \
    --to=who@cares.invalid \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).