home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / source / a2.0bemacs-src.lha / Emacs-19.25 / lisp / timer.elc < prev    next >
Emacs Compiled Lisp  |  1994-05-04  |  3.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6b 77 7a 68 40 68 61 |piled by| kwzh@ha|
|00000020| 6c 2e 67 6e 75 2e 61 69 | 2e 6d 69 74 2e 65 64 75 |l.gnu.ai|.mit.edu|
|00000030| 20 6f 6e 20 54 75 65 20 | 4d 61 79 20 20 33 20 32 | on Tue |May 3 2|
|00000040| 31 3a 35 35 3a 30 31 20 | 31 39 39 34 0a 3b 3b 3b |1:55:01 |1994.;;;|
|00000050| 20 66 72 6f 6d 20 66 69 | 6c 65 20 2f 67 64 2f 67 | from fi|le /gd/g|
|00000060| 6e 75 2f 65 6d 61 63 73 | 2f 31 39 2e 30 2f 6c 69 |nu/emacs|/19.0/li|
|00000070| 73 70 2f 74 69 6d 65 72 | 2e 65 6c 0a 3b 3b 3b 20 |sp/timer|.el.;;; |
|00000080| 65 6d 61 63 73 20 76 65 | 72 73 69 6f 6e 20 31 39 |emacs ve|rsion 19|
|00000090| 2e 32 32 2e 39 32 2e 32 | 2e 0a 3b 3b 3b 20 62 79 |.22.92.2|..;;; by|
|000000a0| 74 65 63 6f 6d 70 20 76 | 65 72 73 69 6f 6e 20 46 |tecomp v|ersion F|
|000000b0| 53 46 20 32 2e 31 30 0a | 3b 3b 3b 20 6f 70 74 69 |SF 2.10.|;;; opti|
|000000c0| 6d 69 7a 61 74 69 6f 6e | 20 69 73 20 6f 6e 2e 0a |mization| is on..|
|000000d0| 3b 3b 3b 20 74 68 69 73 | 20 66 69 6c 65 20 75 73 |;;; this| file us|
|000000e0| 65 73 20 6f 70 63 6f 64 | 65 73 20 77 68 69 63 68 |es opcod|es which|
|000000f0| 20 64 6f 20 6e 6f 74 20 | 65 78 69 73 74 20 69 6e | do not |exist in|
|00000100| 20 45 6d 61 63 73 20 31 | 38 2e 0a 0a 28 69 66 20 | Emacs 1|8...(if |
|00000110| 28 61 6e 64 20 28 62 6f | 75 6e 64 70 20 27 65 6d |(and (bo|undp 'em|
|00000120| 61 63 73 2d 76 65 72 73 | 69 6f 6e 29 0a 09 20 28 |acs-vers|ion).. (|
|00000130| 6f 72 20 28 61 6e 64 20 | 28 62 6f 75 6e 64 70 20 |or (and |(boundp |
|00000140| 27 65 70 6f 63 68 3a 3a | 76 65 72 73 69 6f 6e 29 |'epoch::|version)|
|00000150| 20 65 70 6f 63 68 3a 3a | 76 65 72 73 69 6f 6e 29 | epoch::|version)|
|00000160| 0a 09 20 20 20 20 20 28 | 73 74 72 69 6e 67 2d 6c |.. (|string-l|
|00000170| 65 73 73 70 20 65 6d 61 | 63 73 2d 76 65 72 73 69 |essp ema|cs-versi|
|00000180| 6f 6e 20 22 31 39 22 29 | 29 29 0a 20 20 20 20 28 |on "19")|)). (|
|00000190| 65 72 72 6f 72 20 22 60 | 2f 67 64 2f 67 6e 75 2f |error "`|/gd/gnu/|
|000001a0| 65 6d 61 63 73 2f 31 39 | 2e 30 2f 6c 69 73 70 2f |emacs/19|.0/lisp/|
|000001b0| 74 69 6d 65 72 2e 65 6c | 27 20 77 61 73 20 63 6f |timer.el|' was co|
|000001c0| 6d 70 69 6c 65 64 20 66 | 6f 72 20 45 6d 61 63 73 |mpiled f|or Emacs|
|000001d0| 20 31 39 22 29 29 0a 0a | 28 62 79 74 65 2d 63 6f | 19"))..|(byte-co|
|000001e0| 64 65 20 22 c0 11 c2 c3 | 21 84 5c 6e 00 c4 13 c2 |de "....|!.\n....|
|000001f0| c5 21 84 12 00 c4 15 c2 | c6 21 84 1b 00 c7 16 06 |.!......|.!......|
|00000200| c4 87 22 20 5b 22 74 69 | 6d 65 72 22 20 74 69 6d |.." ["ti|mer" tim|
|00000210| 65 72 2d 70 72 6f 67 72 | 61 6d 20 62 6f 75 6e 64 |er-progr|am bound|
|00000220| 70 20 74 69 6d 65 72 2d | 70 72 6f 63 65 73 73 20 |p timer-|process |
|00000230| 6e 69 6c 20 74 69 6d 65 | 72 2d 61 6c 69 73 74 20 |nil time|r-alist |
|00000240| 74 69 6d 65 72 2d 6f 75 | 74 20 22 22 5d 20 32 29 |timer-ou|t ""] 2)|
|00000250| 0a 28 64 65 66 76 61 72 | 20 74 69 6d 65 72 2d 64 |.(defvar| timer-d|
|00000260| 6f 6e 74 2d 65 78 69 74 | 20 6e 69 6c 20 22 5c 0a |ont-exit| nil "\.|
|00000270| 49 66 20 6e 6f 6e 2d 6e | 69 6c 2c 20 64 6f 6e 27 |If non-n|il, don'|
|00000280| 74 20 65 78 69 74 20 74 | 68 65 20 74 69 6d 65 72 |t exit t|he timer|
|00000290| 20 70 72 6f 63 65 73 73 | 20 77 68 65 6e 20 6e 6f | process| when no|
|000002a0| 20 6d 6f 72 65 20 65 76 | 65 6e 74 73 20 61 72 65 | more ev|ents are|
|000002b0| 20 70 65 6e 64 69 6e 67 | 2e 22 29 0a 28 62 79 74 | pending|.").(byt|
|000002c0| 65 2d 63 6f 64 65 20 22 | c0 c1 c2 5c 22 88 c3 c4 |e-code "|...\"...|
|000002d0| c1 5c 22 87 22 20 5b 64 | 65 66 61 6c 69 61 73 20 |.\"." [d|efalias |
|000002e0| 74 69 6d 65 72 2d 6b 69 | 6c 6c 2d 65 6d 61 63 73 |timer-ki|ll-emacs|
|000002f0| 2d 68 6f 6f 6b 20 23 5b | 6e 69 6c 20 22 08 85 11 |-hook #[|nil "...|
|00000300| 00 c1 08 c2 5c 22 88 c3 | 08 c2 5c 22 88 c4 08 21 |....\"..|..\"...!|
|00000310| 87 22 20 5b 74 69 6d 65 | 72 2d 70 72 6f 63 65 73 |." [time|r-proces|
|00000320| 73 20 73 65 74 2d 70 72 | 6f 63 65 73 73 2d 73 65 |s set-pr|ocess-se|
|00000330| 6e 74 69 6e 65 6c 20 6e | 69 6c 20 73 65 74 2d 70 |ntinel n|il set-p|
|00000340| 72 6f 63 65 73 73 2d 66 | 69 6c 74 65 72 20 64 65 |rocess-f|ilter de|
|00000350| 6c 65 74 65 2d 70 72 6f | 63 65 73 73 5d 20 33 5d |lete-pro|cess] 3]|
|00000360| 20 61 64 64 2d 68 6f 6f | 6b 20 6b 69 6c 6c 2d 65 | add-hoo|k kill-e|
|00000370| 6d 61 63 73 2d 68 6f 6f | 6b 5d 20 33 29 0a 28 64 |macs-hoo|k] 3).(d|
|00000380| 65 66 61 6c 69 61 73 20 | 27 72 75 6e 2d 61 74 2d |efalias |'run-at-|
|00000390| 74 69 6d 65 20 23 5b 28 | 74 69 6d 65 20 72 65 70 |time #[(|time rep|
|000003a0| 65 61 74 20 66 75 6e 63 | 74 69 6f 6e 20 26 72 65 |eat func|tion &re|
|000003b0| 73 74 20 61 72 67 73 29 | 20 22 08 a8 83 5c 6e 00 |st args)| "...\n.|
|000003c0| c1 c2 08 5c 22 10 0b 83 | 16 00 c4 0b 21 c5 3e 83 |...\"...|....!.>.|
|000003d0| 41 00 0b 83 1e 00 c6 0b | 21 88 c7 1e 08 c9 ca c7 |A.......|!.......|
|000003e0| cb 0e 5c 66 0e 0d 5c 22 | 23 29 13 c7 16 0e cf 0b |..\f..\"|#)......|
|000003f0| d0 5c 22 88 d1 0b d2 5c | 22 88 d3 0b 21 88 82 4d |.\"....\|"...!..M|
|00000400| 00 c4 0b 21 d4 3d 83 4d | 00 d5 0b 21 88 d6 20 d7 |...!.=.M|...!.. .|
|00000410| 0e 0e 47 51 89 1e 18 0e | 19 0e 1a 0e 1b 46 1e 1c |..GQ....|.....F..|
|00000420| dd 0b 08 de 0e 18 df 52 | 5c 22 88 0e 1c 0e 0e 42 |.......R|\".....B|
|00000430| 16 0e 0e 1c 2a 87 22 20 | 5b 74 69 6d 65 20 66 6f |....*." |[time fo|
|00000440| 72 6d 61 74 20 22 25 64 | 20 73 65 63 22 20 74 69 |rmat "%d| sec" ti|
|00000450| 6d 65 72 2d 70 72 6f 63 | 65 73 73 20 70 72 6f 63 |mer-proc|ess proc|
|00000460| 65 73 73 2d 73 74 61 74 | 75 73 20 28 65 78 69 74 |ess-stat|us (exit|
|00000470| 20 73 69 67 6e 61 6c 20 | 6e 69 6c 29 20 64 65 6c | signal |nil) del|
|00000480| 65 74 65 2d 70 72 6f 63 | 65 73 73 20 6e 69 6c 20 |ete-proc|ess nil |
|00000490| 70 72 6f 63 65 73 73 2d | 63 6f 6e 6e 65 63 74 69 |process-|connecti|
|000004a0| 6f 6e 2d 74 79 70 65 20 | 73 74 61 72 74 2d 70 72 |on-type |start-pr|
|000004b0| 6f 63 65 73 73 20 22 74 | 69 6d 65 72 22 20 65 78 |ocess "t|imer" ex|
|000004c0| 70 61 6e 64 2d 66 69 6c | 65 2d 6e 61 6d 65 20 74 |pand-fil|e-name t|
|000004d0| 69 6d 65 72 2d 70 72 6f | 67 72 61 6d 20 65 78 65 |imer-pro|gram exe|
|000004e0| 63 2d 64 69 72 65 63 74 | 6f 72 79 20 74 69 6d 65 |c-direct|ory time|
|000004f0| 72 2d 61 6c 69 73 74 20 | 73 65 74 2d 70 72 6f 63 |r-alist |set-proc|
|00000500| 65 73 73 2d 66 69 6c 74 | 65 72 20 74 69 6d 65 72 |ess-filt|er timer|
|00000510| 2d 70 72 6f 63 65 73 73 | 2d 66 69 6c 74 65 72 20 |-process|-filter |
|00000520| 73 65 74 2d 70 72 6f 63 | 65 73 73 2d 73 65 6e 74 |set-proc|ess-sent|
|00000530| 69 6e 65 6c 20 74 69 6d | 65 72 2d 70 72 6f 63 65 |inel tim|er-proce|
|00000540| 73 73 2d 73 65 6e 74 69 | 6e 65 6c 20 70 72 6f 63 |ss-senti|nel proc|
|00000550| 65 73 73 2d 6b 69 6c 6c | 2d 77 69 74 68 6f 75 74 |ess-kill|-without|
|00000560| 2d 71 75 65 72 79 20 73 | 74 6f 70 20 63 6f 6e 74 |-query s|top cont|
|00000570| 69 6e 75 65 2d 70 72 6f | 63 65 73 73 20 63 75 72 |inue-pro|cess cur|
|00000580| 72 65 6e 74 2d 74 69 6d | 65 2d 73 74 72 69 6e 67 |rent-tim|e-string|
|00000590| 20 22 2d 22 20 74 6f 6b | 65 6e 20 72 65 70 65 61 | "-" tok|en repea|
|000005a0| 74 20 66 75 6e 63 74 69 | 6f 6e 20 61 72 67 73 20 |t functi|on args |
|000005b0| 65 6c 74 20 70 72 6f 63 | 65 73 73 2d 73 65 6e 64 |elt proc|ess-send|
|000005c0| 2d 73 74 72 69 6e 67 20 | 22 40 22 20 22 5c 6e 22 |-string |"@" "\n"|
|000005d0| 5d 20 37 20 22 5c 0a 52 | 75 6e 20 61 20 66 75 6e |] 7 "\.R|un a fun|
|000005e0| 63 74 69 6f 6e 20 61 74 | 20 61 20 74 69 6d 65 2c |ction at| a time,|
|000005f0| 20 61 6e 64 20 6f 70 74 | 69 6f 6e 61 6c 6c 79 20 | and opt|ionally |
|00000600| 6f 6e 20 61 20 72 65 67 | 75 6c 61 72 20 69 6e 74 |on a reg|ular int|
|00000610| 65 72 76 61 6c 2e 0a 41 | 72 67 75 6d 65 6e 74 73 |erval..A|rguments|
|00000620| 20 61 72 65 20 54 49 4d | 45 2c 20 52 45 50 45 41 | are TIM|E, REPEA|
|00000630| 54 2c 20 46 55 4e 43 54 | 49 4f 4e 20 26 72 65 73 |T, FUNCT|ION &res|
|00000640| 74 20 41 52 47 53 2e 0a | 54 49 4d 45 2c 20 61 20 |t ARGS..|TIME, a |
|00000650| 73 74 72 69 6e 67 2c 20 | 63 61 6e 20 62 65 20 73 |string, |can be s|
|00000660| 70 65 63 69 66 69 65 64 | 20 61 62 73 6f 6c 75 74 |pecified| absolut|
|00000670| 65 6c 79 20 6f 72 20 72 | 65 6c 61 74 69 76 65 20 |ely or r|elative |
|00000680| 74 6f 20 6e 6f 77 2e 0a | 54 49 4d 45 20 63 61 6e |to now..|TIME can|
|00000690| 20 61 6c 73 6f 20 62 65 | 20 61 6e 20 69 6e 74 65 | also be| an inte|
|000006a0| 67 65 72 2c 20 61 20 6e | 75 6d 62 65 72 20 6f 66 |ger, a n|umber of|
|000006b0| 20 73 65 63 6f 6e 64 73 | 2e 0a 52 45 50 45 41 54 | seconds|..REPEAT|
|000006c0| 2c 20 61 6e 20 69 6e 74 | 65 67 65 72 20 6e 75 6d |, an int|eger num|
|000006d0| 62 65 72 20 6f 66 20 73 | 65 63 6f 6e 64 73 2c 20 |ber of s|econds, |
|000006e0| 69 73 20 74 68 65 20 69 | 6e 74 65 72 76 61 6c 20 |is the i|nterval |
|000006f0| 6f 6e 20 77 68 69 63 68 | 20 74 6f 20 72 65 70 65 |on which| to repe|
|00000700| 61 74 0a 74 68 65 20 63 | 61 6c 6c 20 74 6f 20 74 |at.the c|all to t|
|00000710| 68 65 20 66 75 6e 63 74 | 69 6f 6e 2e 20 20 49 66 |he funct|ion. If|
|00000720| 20 52 45 50 45 41 54 20 | 69 73 20 6e 69 6c 2c 20 | REPEAT |is nil, |
|00000730| 63 61 6c 6c 20 69 74 20 | 6a 75 73 74 20 6f 6e 63 |call it |just onc|
|00000740| 65 2e 0a 0a 41 62 73 6f | 6c 75 74 65 20 74 69 6d |e...Abso|lute tim|
|00000750| 65 73 20 6d 61 79 20 62 | 65 20 73 70 65 63 69 66 |es may b|e specif|
|00000760| 69 65 64 20 69 6e 20 61 | 20 77 69 64 65 20 76 61 |ied in a| wide va|
|00000770| 72 69 65 74 79 20 6f 66 | 20 66 6f 72 6d 61 74 73 |riety of| formats|
|00000780| 3b 0a 53 6f 6d 65 74 68 | 69 6e 67 20 6f 66 20 74 |;.Someth|ing of t|
|00000790| 68 65 20 66 6f 72 6d 20 | 60 48 4f 55 52 3a 4d 49 |he form |`HOUR:MI|
|000007a0| 4e 3a 53 45 43 20 54 49 | 4d 45 5a 4f 4e 45 20 4d |N:SEC TI|MEZONE M|
|000007b0| 4f 4e 54 48 2f 44 41 59 | 2f 59 45 41 52 27 2c 20 |ONTH/DAY|/YEAR', |
|000007c0| 77 68 65 72 65 0a 61 6c | 6c 20 66 69 65 6c 64 73 |where.al|l fields|
|000007d0| 20 61 72 65 20 6e 75 6d | 62 65 72 73 2c 20 77 6f | are num|bers, wo|
|000007e0| 72 6b 73 3b 20 74 68 65 | 20 66 6f 72 6d 61 74 20 |rks; the| format |
|000007f0| 75 73 65 64 20 62 79 20 | 74 68 65 20 55 6e 69 78 |used by |the Unix|
|00000800| 20 60 64 61 74 65 27 0a | 63 6f 6d 6d 61 6e 64 20 | `date'.|command |
|00000810| 77 6f 72 6b 73 20 74 6f | 6f 2e 0a 0a 52 65 6c 61 |works to|o...Rela|
|00000820| 74 69 76 65 20 74 69 6d | 65 73 20 6d 61 79 20 62 |tive tim|es may b|
|00000830| 65 20 73 70 65 63 69 66 | 69 65 64 20 61 73 20 61 |e specif|ied as a|
|00000840| 20 73 65 72 69 65 73 20 | 6f 66 20 6e 75 6d 62 65 | series |of numbe|
|00000850| 72 73 20 66 6f 6c 6c 6f | 77 65 64 20 62 79 20 75 |rs follo|wed by u|
|00000860| 6e 69 74 73 3a 0a 20 20 | 31 20 6d 69 6e 20 20 20 |nits:. |1 min |
|00000870| 20 20 20 20 20 20 09 64 | 65 6e 6f 74 65 73 20 6f | .d|enotes o|
|00000880| 6e 65 20 6d 69 6e 75 74 | 65 20 66 72 6f 6d 20 6e |ne minut|e from n|
|00000890| 6f 77 2e 0a 20 20 6d 69 | 6e 09 09 09 64 6f 65 73 |ow.. mi|n...does|
|000008a0| 20 74 6f 6f 2e 0a 20 20 | 31 20 6d 69 6e 20 35 20 | too.. |1 min 5 |
|000008b0| 73 65 63 09 09 64 65 6e | 6f 74 65 73 20 36 35 20 |sec..den|otes 65 |
|000008c0| 73 65 63 6f 6e 64 73 20 | 66 72 6f 6d 20 6e 6f 77 |seconds |from now|
|000008d0| 2e 0a 20 20 31 20 6d 69 | 6e 20 32 20 73 65 63 20 |.. 1 mi|n 2 sec |
|000008e0| 33 20 68 6f 75 72 20 34 | 20 64 61 79 20 35 20 77 |3 hour 4| day 5 w|
|000008f0| 65 65 6b 20 36 20 66 6f | 72 74 6e 69 67 68 74 20 |eek 6 fo|rtnight |
|00000900| 37 20 6d 6f 6e 74 68 20 | 38 20 79 65 61 72 0a 09 |7 month |8 year..|
|00000910| 09 09 64 65 6e 6f 74 65 | 73 20 74 68 65 20 73 75 |..denote|s the su|
|00000920| 6d 20 6f 66 20 61 6c 6c | 20 74 68 65 20 67 69 76 |m of all| the giv|
|00000930| 65 6e 20 64 75 72 61 74 | 69 6f 6e 73 20 66 72 6f |en durat|ions fro|
|00000940| 6d 20 6e 6f 77 2e 22 20 | 22 73 52 75 6e 20 61 74 |m now." |"sRun at|
|00000950| 20 74 69 6d 65 3a 20 5c | 6e 4e 52 65 70 65 61 74 | time: \|nNRepeat|
|00000960| 20 69 6e 74 65 72 76 61 | 6c 3a 20 5c 6e 61 46 75 | interva|l: \naFu|
|00000970| 6e 63 74 69 6f 6e 3a 20 | 22 5d 29 0a 28 64 65 66 |nction: |"]).(def|
|00000980| 61 6c 69 61 73 20 27 63 | 61 6e 63 65 6c 2d 74 69 |alias 'c|ancel-ti|
|00000990| 6d 65 72 20 23 5b 28 65 | 6c 74 29 20 22 08 41 c1 |mer #[(e|lt) ".A.|
|000009a0| a0 88 08 41 41 c2 a0 87 | 22 20 5b 65 6c 74 20 6e |...AA...|" [elt n|
|000009b0| 69 6c 20 69 67 6e 6f 72 | 65 5d 20 32 20 22 5c 0a |il ignor|e] 2 "\.|
|000009c0| 43 61 6e 63 65 6c 20 61 | 20 74 69 6d 65 72 20 70 |Cancel a| timer p|
|000009d0| 72 65 76 69 6f 75 73 6c | 79 20 6d 61 64 65 20 77 |reviousl|y made w|
|000009e0| 69 74 68 20 60 72 75 6e | 2d 61 74 2d 74 69 6d 65 |ith `run|-at-time|
|000009f0| 27 2e 0a 54 68 65 20 61 | 72 67 75 6d 65 6e 74 20 |'..The a|rgument |
|00000a00| 73 68 6f 75 6c 64 20 62 | 65 20 61 20 76 61 6c 75 |should b|e a valu|
|00000a10| 65 20 70 72 65 76 69 6f | 75 73 6c 79 20 72 65 74 |e previo|usly ret|
|00000a20| 75 72 6e 65 64 20 62 79 | 20 60 72 75 6e 2d 61 74 |urned by| `run-at|
|00000a30| 2d 74 69 6d 65 27 2e 0a | 43 61 6e 63 65 6c 6c 69 |-time'..|Cancelli|
|00000a40| 6e 67 20 74 68 65 20 74 | 69 6d 65 72 20 6d 65 61 |ng the t|imer mea|
|00000a50| 6e 73 20 74 68 61 74 20 | 6e 6f 74 68 69 6e 67 20 |ns that |nothing |
|00000a60| 73 70 65 63 69 61 6c 20 | 0a 77 69 6c 6c 20 68 61 |special |.will ha|
|00000a70| 70 70 65 6e 20 61 74 20 | 74 68 65 20 73 70 65 63 |ppen at |the spec|
|00000a80| 69 66 69 65 64 20 74 69 | 6d 65 2e 22 5d 29 0a 28 |ified ti|me."]).(|
|00000a90| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 c1 c2 5c 22 |byte-cod|e "...\"|
|00000aa0| 88 c0 c3 c4 5c 22 87 22 | 20 5b 64 65 66 61 6c 69 |....\"."| [defali|
|00000ab0| 61 73 20 74 69 6d 65 72 | 2d 70 72 6f 63 65 73 73 |as timer|-process|
|00000ac0| 2d 66 69 6c 74 65 72 20 | 23 5b 28 70 72 6f 63 20 |-filter |#[(proc |
|00000ad0| 73 74 72 29 20 22 08 09 | 50 10 c2 89 89 1b 1c 1d |str) "..|P.......|
|00000ae0| c6 c7 08 5c 22 83 89 00 | 08 c8 89 94 4f 14 c9 5c |...\"...|....O..\|
|00000af0| 66 0e 5c 6e 5c 22 15 08 | c8 95 c2 4f 10 0d 83 52 |f.\n\"..|...O...R|
|00000b00| 00 cb cc 0d 38 cd 0d 38 | 5c 22 88 ce 0d 41 40 21 |....8..8|\"...A@!|
|00000b10| 83 48 00 cf 0e 10 0d 41 | 40 d1 0d 40 c7 52 5c 22 |.H.....A|@..@.R\"|
|00000b20| 88 82 5c 6e 00 d2 0d 0e | 5c 6e 5c 22 16 5c 6e 82 |..\n....|\n\".\n.|
|00000b30| 5c 6e 00 c6 d3 5c 66 5c | 22 83 5c 6e 00 5c 66 d4 |\n...\f\|".\n.\f.|
|00000b40| 94 d4 95 4f 13 5c 66 cc | 94 cc 95 4f 15 c9 5c 66 |...O.\f.|...O..\f|
|00000b50| cd 94 cd 95 4f 0e 5c 6e | 5c 22 14 d2 5c 66 0e 5c |....O.\n|\"..\f.\|
|00000b60| 6e 5c 22 16 5c 6e d5 d6 | 21 88 d7 d8 0b cc 5c 66 |n\".\n..|!.....\f|
|00000b70| 38 0d 24 88 82 5c 6e 00 | 0e 5c 6e 86 97 00 0e 19 |8.$..\n.|.\n.....|
|00000b80| 86 97 00 da 0e 10 21 2b | 87 22 20 5b 74 69 6d 65 |......!+|." [time|
|00000b90| 72 2d 6f 75 74 20 73 74 | 72 20 6e 69 6c 20 65 72 |r-out st|r nil er|
|00000ba0| 72 6f 72 20 74 6f 6b 65 | 6e 20 64 6f 20 73 74 72 |ror toke|n do str|
|00000bb0| 69 6e 67 2d 6d 61 74 63 | 68 20 22 5c 6e 22 20 30 |ing-matc|h "\n" 0|
|00000bc0| 20 61 73 73 6f 63 20 74 | 69 6d 65 72 2d 61 6c 69 | assoc t|imer-ali|
|00000bd0| 73 74 20 61 70 70 6c 79 | 20 32 20 33 20 6e 61 74 |st apply| 2 3 nat|
|00000be0| 6e 75 6d 70 20 73 65 6e | 64 2d 73 74 72 69 6e 67 |nump sen|d-string|
|00000bf0| 20 70 72 6f 63 20 22 20 | 73 65 63 40 22 20 64 65 | proc " |sec@" de|
|00000c00| 6c 71 20 22 74 69 6d 65 | 72 3a 20 5c 5c 28 5b 5e |lq "time|r: \\([^|
|00000c10| 3a 5d 2b 5c 5c 29 3a 20 | 5c 5c 28 5b 5e 40 5d 2a |:]+\\): |\\([^@]*|
|00000c20| 5c 5c 29 40 5c 5c 28 2e | 2a 5c 5c 29 24 22 20 31 |\\)@\\(.|*\\)$" 1|
|00000c30| 20 64 69 6e 67 20 6e 6f | 2d 74 65 72 6d 69 6e 61 | ding no|-termina|
|00000c40| 74 65 20 6d 65 73 73 61 | 67 65 20 22 25 73 20 66 |te messa|ge "%s f|
|00000c50| 6f 72 20 25 73 3b 20 63 | 6f 75 6c 64 6e 27 74 20 |or %s; c|ouldn't |
|00000c60| 73 65 74 20 61 74 20 5c | 22 25 73 5c 22 22 20 74 |set at \|"%s\"" t|
|00000c70| 69 6d 65 72 2d 64 6f 6e | 74 2d 65 78 69 74 20 70 |imer-don|t-exit p|
|00000c80| 72 6f 63 65 73 73 2d 73 | 65 6e 64 2d 65 6f 66 5d |rocess-s|end-eof]|
|00000c90| 20 36 5d 20 74 69 6d 65 | 72 2d 70 72 6f 63 65 73 | 6] time|r-proces|
|00000ca0| 73 2d 73 65 6e 74 69 6e | 65 6c 20 23 5b 28 70 72 |s-sentin|el #[(pr|
|00000cb0| 6f 63 20 73 74 72 29 20 | 22 c0 09 21 89 1a c3 3d |oc str) |"..!...=|
|00000cc0| 83 10 00 c4 09 21 82 28 | 00 0d 83 5c 22 00 5c 6e |.....!.(|...\".\n|
|00000cd0| c6 3d 84 5c 22 00 c7 c8 | 21 88 c9 ca 21 88 cb 16 |.=.\"...|!...!...|
|00000ce0| 5c 66 cb 89 15 29 87 22 | 20 5b 70 72 6f 63 65 73 |\f...)."| [proces|
|00000cf0| 73 2d 73 74 61 74 75 73 | 20 70 72 6f 63 20 73 74 |s-status| proc st|
|00000d00| 61 74 20 73 74 6f 70 20 | 63 6f 6e 74 69 6e 75 65 |at stop |continue|
|00000d10| 2d 70 72 6f 63 65 73 73 | 20 74 69 6d 65 72 2d 61 |-process| timer-a|
|00000d20| 6c 69 73 74 20 65 78 69 | 74 20 64 69 6e 67 20 6e |list exi|t ding n|
|00000d30| 6f 2d 74 65 72 6d 69 6e | 61 74 65 20 6d 65 73 73 |o-termin|ate mess|
|00000d40| 61 67 65 20 22 54 69 6d | 65 72 20 65 78 69 74 65 |age "Tim|er exite|
|00000d50| 64 20 61 62 6e 6f 72 6d | 61 6c 6c 79 2e 20 20 41 |d abnorm|ally. A|
|00000d60| 6c 6c 20 65 76 65 6e 74 | 73 20 63 61 6e 63 65 6c |ll event|s cancel|
|00000d70| 6c 65 64 2e 22 20 6e 69 | 6c 20 74 69 6d 65 72 2d |led." ni|l timer-|
|00000d80| 70 72 6f 63 65 73 73 5d | 20 33 5d 5d 20 33 29 0a |process]| 3]] 3).|
|00000d90| 28 64 65 66 61 6c 69 61 | 73 20 27 63 61 6e 63 65 |(defalia|s 'cance|
|00000da0| 6c 2d 66 75 6e 63 74 69 | 6f 6e 2d 74 69 6d 65 72 |l-functi|on-timer|
|00000db0| 73 20 23 5b 28 66 75 6e | 63 74 69 6f 6e 29 20 22 |s #[(fun|ction) "|
|00000dc0| 08 89 19 83 1c 00 c2 09 | 40 38 0b 3d 83 15 00 c4 |........|@8.=....|
|00000dd0| 09 40 08 5c 22 10 09 41 | 89 11 84 06 00 29 08 86 |.@.\"..A|.....)..|
|00000de0| 29 00 0d 86 29 00 c6 0e | 07 21 87 22 20 5b 74 69 |)...)...|.!." [ti|
|00000df0| 6d 65 72 2d 61 6c 69 73 | 74 20 61 6c 69 73 74 20 |mer-alis|t alist |
|00000e00| 32 20 66 75 6e 63 74 69 | 6f 6e 20 64 65 6c 71 20 |2 functi|on delq |
|00000e10| 74 69 6d 65 72 2d 64 6f | 6e 74 2d 65 78 69 74 20 |timer-do|nt-exit |
|00000e20| 70 72 6f 63 65 73 73 2d | 73 65 6e 64 2d 65 6f 66 |process-|send-eof|
|00000e30| 20 74 69 6d 65 72 2d 70 | 72 6f 63 65 73 73 5d 20 | timer-p|rocess] |
|00000e40| 34 20 22 5c 0a 43 61 6e | 63 65 6c 20 61 6c 6c 20 |4 "\.Can|cel all |
|00000e50| 65 76 65 6e 74 73 20 73 | 63 68 65 64 75 6c 65 64 |events s|cheduled|
|00000e60| 20 62 79 20 60 72 75 6e | 2d 61 74 2d 74 69 6d 65 | by `run|-at-time|
|00000e70| 27 20 77 68 69 63 68 20 | 77 6f 75 6c 64 20 72 75 |' which |would ru|
|00000e80| 6e 20 46 55 4e 43 54 49 | 4f 4e 2e 22 20 22 61 43 |n FUNCTI|ON." "aC|
|00000e90| 61 6e 63 65 6c 20 74 69 | 6d 65 72 73 20 6f 66 20 |ancel ti|mers of |
|00000ea0| 66 75 6e 63 74 69 6f 6e | 3a 20 22 5d 29 0a 28 70 |function|: "]).(p|
|00000eb0| 72 6f 76 69 64 65 20 28 | 71 75 6f 74 65 20 74 69 |rovide (|quote ti|
|00000ec0| 6d 65 72 29 29 0a | |mer)). | |
+--------+-------------------------+-------------------------+--------+--------+