xwem-devel
[Top] [All Lists]

XWEM kbd macro help please

From: Steve Youngs <steve@xxxxxxxx>
Subject: XWEM kbd macro help please
Date: Thu, 20 Jan 2005 14:27:00 +1000
Organization: The XWEM Project
User-agent: Gnus/5.110003 (No Gnus v0.3) SXEmacs/22.1.1 (Aston Martin, linux)
Evgeny!

Yes, I know you explained all this to me on IRC a couple of weeks ago,
but hey, that was IRC and I never remember what happens on IRC :-)

OK, lets suppose that I want to be able to write...

        Evgeny is a really coool lisp hacker!

and I need to write that 100 times per day so I create a macro with...

  H-x ( RET TAB Evgeny is a really coool lisp hacker! RET H-x )

Cool!  Now I can just do `H-x e' whenever I want...
        Evgeny is a really coool lisp hacker!

But I want to save this very important macro across XWEM sessions.
And this is where I get lost.  What are the XWEM equivalents of:

        `name-last-kbd-macro'
        `assign-last-kbd-macro-to-key'
        `insert-kbd-macro'

I _thought_ the procedure went something like:

        H-x ( type type type H-x )

        name it somehow

        insert the macro into ~/.xwem/xwemrc.el or similar somehow

        (define-key xwem-user-macros-map (xwem-kbd "x") 'my-macro)

It is the middle two steps that I can't find a way to do.

-- 
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
|                        In space,                         |
|             No one can hear you rip a stinky             |
|---------------------------------------<steve@xxxxxxxx>---|

Attachment: pgpyL845guTPD.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>