all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: bojohan+news@dd.chalmers.se (Johan Bockgård)
To: help-gnu-emacs@gnu.org
Subject: Re: Another few emacs questions
Date: Sat, 02 Jun 2007 11:22:01 +0200	[thread overview]
Message-ID: <yoijabvin22u.fsf@gamma02.me.chalmers.se> (raw)
In-Reply-To: 1180322087.603463.11690@r19g2000prf.googlegroups.com

mowgli <knowledgeless@gmail.com> writes:

> How would you save a macro, in other words, map a key to use a command
> sequence? What to put in .emacs?

Like

    (global-set-key (kbd "<f9>") (kbd "C-a <down> M-x foo RET ..."))

-- 
Johan Bockgård

      parent reply	other threads:[~2007-06-02  9:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-28  3:14 Another few emacs questions mowgli
2007-05-28  8:33 ` Kamen Tomov
2007-05-28 19:51 ` Eli Zaretskii
2007-06-02  9:22 ` Johan Bockgård [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

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

  git send-email \
    --in-reply-to=yoijabvin22u.fsf@gamma02.me.chalmers.se \
    --to=bojohan+news@dd.chalmers.se \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.