Gerd Moellmann
e5da45fda7
(timer-relative-time): Fix computation for negative `micro'.
2001-10-05 09:26:53 +00:00
Pavel Janík
5553563924
Some fixes to follow coding conventions in files maintained by FSF.
2001-07-15 16:15:35 +00:00
Ken Raeburn
ad78255132
properly mark Attic files as deleted
2001-07-06 08:41:36 +00:00
Andrew Innes
903c64e933
(run-with-idle-timer): Undo last change, so that timer
...
is not activated immediately if Emacs is already idle. Some
existing code relies on this behaviour.
2000-08-30 12:39:15 +00:00
Andrew Innes
7fe165d7c7
(timer-activate-when-idle): Add optional parameter
...
DONT-WAIT. Update docstring.
(run-with-idle-timer): Specify extra parameter to
timer-activate-when-idle, so that timer will be activated
immediately if Emacs is already idle.
2000-07-24 22:05:31 +00:00
Richard M. Stallman
37c004c4f9
(run-with-idle-timer): Doc fix.
2000-07-19 22:04:34 +00:00
Richard M. Stallman
83ff83c08c
(timer-event-handler): Reactivate timer first,
...
then run the handler function.
1997-08-28 01:03:17 +00:00
Richard M. Stallman
b0144c1bbe
(timer-event-handler): Take timer as arg directly.
...
Don't bind a key in special-event-map.
1997-05-09 19:57:36 +00:00
Karl Heuer
0a1a8ee95b
(timer-until): Fix syntax error.
1997-04-14 19:22:51 +00:00
Richard M. Stallman
953c43d8e7
New function.
...
(timer-max-repeats): New variable.
(timer-event-handler): Avoid rerunning a timer many times
if real time has "jumped" forward.
1997-04-14 11:09:20 +00:00
Richard M. Stallman
59b1de826d
(timer-next-integral-multiple-of-time): Doc fix.
1996-12-10 07:24:21 +00:00
Richard M. Stallman
91c6fd0ccf
(cancel-function-timers): Add autoload.
1996-10-08 19:01:56 +00:00
Richard M. Stallman
388d92ac27
(cancel-timer): Add autoload cookie.
1996-10-07 16:10:14 +00:00
Paul Eggert
155f9a9408
(timer-next-integral-multiple-of-time): New function.
...
(run-at-time): If TIME is t, do the action at the next
integral multiple of REPEAT.
1996-09-03 18:16:06 +00:00
Paul Eggert
fa4993617b
(run-at-time): Doc fix.
1996-09-03 05:20:35 +00:00
Richard M. Stallman
4b5406e4cb
(run-at-time): Allow floating REPEAT values.
1996-04-04 16:35:55 +00:00
Richard M. Stallman
13f8accb34
(timer-event-handler): Save copies of events too.
1996-04-02 15:14:29 +00:00
Richard M. Stallman
b883eed316
(timer-event-handler): Inhibit quitting.
...
Record the last few events.
1996-03-27 00:08:15 +00:00
Richard M. Stallman
1b96639086
(timer-set-time): Don't set usecs to nil.
...
(timer-duration): Return nil if junk at end of string.
Handle just a number--treat it as number of seconds.
1996-03-24 02:05:38 +00:00
Richard M. Stallman
cf9b15ce37
(timer-set-time, timer-set-time-with-usecs): Doc fix.
...
(run-at-time, with-timeout): Doc fix.
(run-with-timer): Just call run-at-time.
(timer-set-idle-time): New function.
(run-with-idle-timer): Use it to set the idle time.
Doc fix. Fix interactive code.
1996-02-28 01:27:52 +00:00
Richard M. Stallman
995b296f03
Comment change.
1996-02-26 18:51:09 +00:00
Karl Heuer
9d69069393
(run-with-idle-timer): New function.
...
(timer-create, timerp): Leave a slot for idle-delay.
(timer-activate-when-idle): New function.
(timer-event-handler): Handle idle-delay timers specially.
(cancel-timer, cancel-function-timers): Handle idle-delay timers.
1996-02-21 21:28:57 +00:00
Roland McGrath
34f05bb1ad
(run-at-time): Doc fix.
1996-02-07 16:56:01 +00:00
Roland McGrath
0c6be60d27
(run-at-time): Handle numbers as relative times in seconds, as the original
...
code did.
1996-02-07 16:54:50 +00:00
Richard M. Stallman
91341ed256
(run-with-timer): Set repetition interval.
1996-02-02 19:45:55 +00:00
Richard M. Stallman
c4ba2209a5
Initial revision
1996-01-31 20:12:19 +00:00
Richard M. Stallman
8a9fe4d22b
(run-after-delay): Add autoload cookie.
...
Delete USECS arg. Let REPEAT be a float.
1996-01-29 02:26:52 +00:00
Richard M. Stallman
4395bfdb6a
Sun Jan 28 20:55:10 1996 Richard M. Stallman <rms@mole.gnu.ai.mit.edu>
...
* timer.el (timer-inc-time): New function.
(run-at-time): Use that.
(run-after-delay): New function.
* timer.el: Add a usecs slot to each timer.
Almost all functions changed.
Sun Jan 28 16:47:55 1996 Morten Welinder <terra@diku.dk>
* timer.el: Complete rewrite to use built-in timer feature.
1996-01-29 02:19:30 +00:00
Erik Naggum
b578f267af
Update FSF's address.
1996-01-14 07:34:30 +00:00
Richard M. Stallman
1f66361e08
(timer-process-filter): No need for save-match-data.
1994-11-22 04:38:30 +00:00
Richard M. Stallman
91f1c349d4
(timer-process-filter): Use save-match-data.
1994-11-17 16:50:21 +00:00
Richard M. Stallman
c3207e5d72
Finish installing previous change.
1994-10-21 20:29:30 +00:00
Richard M. Stallman
63afb1f896
(timer-error, timer-abnormal-termination,
...
timer-filter-error): New error conditions.
(timer-process-filter, timer-process-sentinel): Signal an error,
don't just print a message.
1994-10-21 20:27:08 +00:00
Richard M. Stallman
b2e609ff8c
(run-at-time): If REPEAT is 0, don't repeat.
1994-06-24 18:50:03 +00:00
Karl Heuer
8f1204db34
Update copyright.
1994-05-03 23:47:06 +00:00
Richard M. Stallman
e2ec008d00
(timer-kill-emacs-hook): New function.
...
(kill-emacs-hook): Add the new hook.
1994-04-06 00:11:17 +00:00
Jim Blandy
eb8c3be94e
Apply typo patches from Paul Eggert.
1993-06-09 11:59:12 +00:00
Richard M. Stallman
43be9218ca
(run-at-time): Pass args to start-process in right order.
1993-05-31 17:59:07 +00:00
Richard M. Stallman
046c6887bc
(cancel-function-timers): Renamed from spurious duplicate
...
definition of cancel-timer.
1993-05-29 20:43:41 +00:00
Jim Blandy
77328ee1d3
* timer.el (timer-program): New defconst.
...
(run-at-time): Use timer-program as the name of the program the
subprocess should run, and search for it in exec-directory, rather
than checking the entire exec path.
1993-04-01 01:07:38 +00:00
Eric S. Raymond
c91c4e6d7f
Added or corrected Commentary section
1993-03-22 22:44:33 +00:00
Richard M. Stallman
16ad0a7100
(run-at-time): Allow an integer as TIME.
...
(cancel-timer): New function.
1993-03-09 22:57:25 +00:00
Jim Blandy
b6341cd1d2
* timer.el (run-at-time): Doc fix.
1993-03-02 07:33:41 +00:00
Michael I. Bushnell
a973c898d9
Use process-send-string instead of send-string.
1993-01-08 21:14:11 +00:00
Roland McGrath
dffd312417
(run-at-time): Use a pipe to talk to the timer process.
1993-01-08 20:28:41 +00:00
Christopher Zaborsky
1433a22243
Doc fix.
1992-11-10 20:01:10 +00:00
Richard M. Stallman
1f3a7283af
(timer-process-sentinel): Don't set timer-scratch.
1992-09-28 12:41:39 +00:00
Richard M. Stallman
510aa4ddc4
Doc fix.
1992-09-26 22:58:56 +00:00
Jim Blandy
fbfed6f05f
entered into RCS
1992-08-19 03:54:46 +00:00
Eric S. Raymond
eea8d4efaf
*** empty log message ***
1992-07-22 02:58:21 +00:00