Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP
Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!sdcrdcf!hplabs!hao!seismo!umcp-cs!chris
From: chris@umcp-cs.UUCP (Chris Torek)
Newsgroups: net.emacs
Subject: Re: Keyboard Macros
Message-ID: <158@umcp-cs.UUCP>
Date: Fri, 28-Sep-84 18:14:04 EDT
Article-I.D.: umcp-cs.158
Posted: Fri Sep 28 18:14:04 1984
Date-Received: Sun, 30-Sep-84 03:48:25 EDT
References: <274@isrnix.UUCP>
Organization: U of Maryland, Computer Science Dept., College Park, MD
Lines: 24

*	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