[net.emacs] Keyboard Macros

mr@isrnix.UUCP ( Michael Regoli ) (09/25/84)

	Is it possible to time the execution of
	a defined keyboard macro?  I would like
	to  have  a  macro execute  at  regular
	intervals of say, 30 seconds.  

	Many thanks for your advice!

-- 
           .:.
           /.\                Michael Regoli
          '|-|`       ...ihnp4!inuxc!iuvax!isrnix!mr

chris@umcp-cs.UUCP (Chris Torek) (09/29/84)

*	From: mr@isrnix.UUCP ( Michael Regoli )

	Is it possible to time the execution of
	a defined keyboard macro?  I would like to have a macro execute
	at regular intervals of say, 30 seconds.  

[Assuming Gosling Emacs]

Well, you could do something like

	(defun wait-30 (sit-for 300))

and bind that to a key, but I suspect that's not what you mean.  If you
mean you want something to fire up spontaneously every N seconds, well,
one possibility (if you have subprocesses defined) would be to have a
short program or shell script that generates output every N seconds,
and invoke the desired function as an output filter for the process.
Kind of like ``time''....
-- 
(This page accidently left blank.)

In-Real-Life: Chris Torek, Univ of MD Comp Sci (301) 454-7690
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:	chris@umcp-cs		ARPA:	chris@maryland