unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Mathias Dahl <brakjoller@gmail.com>
Subject: Re: cannot call-last-kbd-macro on named macro
Date: Fri, 19 May 2006 16:06:13 +0200	[thread overview]
Message-ID: <uodxu9kiy.fsf@gmail.com> (raw)
In-Reply-To: 87d5eet1tc.fsf@wivenhoe.staff8.ul.ie

Brendan Halpin <brendan.halpin@ul.ie> writes:

>> Yes, that is really neat! How is it done? Programatically I mean. It
>> would be cool to be able to do the same with other commands (buffer
>> cycling, for example, which is now by default on C-x <left> and C-x
>> <right>).
>
> The function kmacro-call-macro in kmacro.el might be a good
> starting point. 

Aaaaa... After looking at that piece of code for a while I noticed
this:

	(if (equal repeat-key (read-event))

So *that* is what it does, read another event and then handles that.

Cool!

Don't ask me why I did not bother to look this up myself, it was right
there, only a C-h k away... :)

      reply	other threads:[~2006-05-19 14:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-09 19:30 cannot call-last-kbd-macro on named macro james.kingston
2006-05-09 19:33 ` james.kingston
2006-05-09 21:17 ` Kevin Rodgers
     [not found] ` <mailman.1620.1147209514.9609.help-gnu-emacs@gnu.org>
2006-05-10 19:12   ` james
2006-05-15 12:08     ` Brendan Halpin
2006-05-15 17:50       ` Kevin Rodgers
2006-05-16 15:20       ` Mathias Dahl
2006-05-16 15:41         ` Brendan Halpin
2006-05-19 14:06           ` Mathias Dahl [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=uodxu9kiy.fsf@gmail.com \
    --to=brakjoller@gmail.com \
    /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).