newsgroups-index (beta)

Current group: comp.emacs

How Do I Get a Keyboard Macro to Run at Startup of Emacs?

How Do I Get a Keyboard Macro to Run at Startup of Emacs?  
acoustic.ma at netzero.net
 Re: How Do I Get a Keyboard Macro to Run at Startup of Emacs?  
rgb
From:acoustic.ma at netzero.net
Subject:How Do I Get a Keyboard Macro to Run at Startup of Emacs?
Date:15 Jan 2005 17:15:28 -0800
I'm running under Win XP and I would like to have an icon on my desktop
that would start emacs and have it run a keyboard macro.
The keyboard macro is already defined and named "vid" inside the
..emacs init file.

I do NOT want this macro to run all the time or else I would have the
..emacs file execute the keyboard macro. I only want it to run when I
click on a specific desktop icon.

I can now do this just fine interactively by typing in M-x "vid" after
I have started emacs, but I'd prefer to have it run automatically when
I click an icon to save having to do the typing
repeatedly (I run this task often).

Please email suggestions to me at: audioresearch AT hotpop dot com.
Thanks very much,
Audioresearch
From:rgb
Subject:Re: How Do I Get a Keyboard Macro to Run at Startup of Emacs?
Date:15 Jan 2005 23:46:52 -0800

acoustic.ma@netzero.net wrote:
> I'm running under Win XP and I would like to have an icon on my
desktop
> that would start emacs and have it run a keyboard macro.

You can run any function you want from the command line with -f
http://groups-beta.google.com/group/comp.emacs/msg/9d86336945a4bfe8
   

Copyright © 2006 newsgroups-index   -   All rights reserved   -   Impressum