home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / lemacs-19.6 / lisp / calendar / calendar.elc < prev    next >
Emacs Compiled Lisp  |  1993-04-01  |  97.0 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
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
100% xdgMime text/x-emacs-lisp default (weak)



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 6a 6c 7a 40 61 73 68 |piled by| jlz@ash|
|00000020| 77 65 64 6e 65 73 64 61 | 79 20 6f 6e 20 4d 6f 6e |wednesda|y on Mon|
|00000030| 20 4d 61 72 20 31 35 20 | 30 30 3a 31 33 3a 31 35 | Mar 15 |00:13:15|
|00000040| 20 31 39 39 33 0a 3b 3b | 3b 20 66 72 6f 6d 20 66 | 1993.;;|; from f|
|00000050| 69 6c 65 20 2f 63 61 64 | 69 6c 6c 61 63 2d 61 77 |ile /cad|illac-aw|
|00000060| 32 2f 74 65 73 74 62 69 | 6e 2d 62 75 69 6c 64 73 |2/testbi|n-builds|
|00000070| 2f 6c 65 6d 61 63 73 2f | 6c 69 73 70 2f 63 61 6c |/lemacs/|lisp/cal|
|00000080| 65 6e 64 61 72 2f 63 61 | 6c 65 6e 64 61 72 2e 65 |endar/ca|lendar.e|
|00000090| 6c 0a 3b 3b 3b 20 65 6d | 61 63 73 20 76 65 72 73 |l.;;; em|acs vers|
|000000a0| 69 6f 6e 20 31 39 2e 36 | 20 28 62 65 74 61 32 29 |ion 19.6| (beta2)|
|000000b0| 20 4c 75 63 69 64 2e 0a | 3b 3b 3b 20 62 79 74 65 | Lucid..|;;; byte|
|000000c0| 63 6f 6d 70 20 76 65 72 | 73 69 6f 6e 20 32 2e 31 |comp ver|sion 2.1|
|000000d0| 30 3b 20 31 36 2d 66 65 | 62 2d 39 33 2e 0a 3b 3b |0; 16-fe|b-93..;;|
|000000e0| 3b 20 6f 70 74 69 6d 69 | 7a 61 74 69 6f 6e 20 69 |; optimi|zation i|
|000000f0| 73 20 6f 6e 2e 0a 3b 3b | 3b 20 74 68 69 73 20 66 |s on..;;|; this f|
|00000100| 69 6c 65 20 75 73 65 73 | 20 6f 70 63 6f 64 65 73 |ile uses| opcodes|
|00000110| 20 77 68 69 63 68 20 64 | 6f 20 6e 6f 74 20 65 78 | which d|o not ex|
|00000120| 69 73 74 20 69 6e 20 45 | 6d 61 63 73 31 38 2e 0a |ist in E|macs18..|
|00000130| 0a 28 69 66 20 28 61 6e | 64 20 28 62 6f 75 6e 64 |.(if (an|d (bound|
|00000140| 70 20 27 65 6d 61 63 73 | 2d 76 65 72 73 69 6f 6e |p 'emacs|-version|
|00000150| 29 0a 09 20 28 6f 72 20 | 28 61 6e 64 20 28 62 6f |).. (or |(and (bo|
|00000160| 75 6e 64 70 20 27 65 70 | 6f 63 68 3a 3a 76 65 72 |undp 'ep|och::ver|
|00000170| 73 69 6f 6e 29 20 65 70 | 6f 63 68 3a 3a 76 65 72 |sion) ep|och::ver|
|00000180| 73 69 6f 6e 29 0a 09 20 | 20 20 20 20 28 73 74 72 |sion).. | (str|
|00000190| 69 6e 67 2d 6c 65 73 73 | 70 20 65 6d 61 63 73 2d |ing-less|p emacs-|
|000001a0| 76 65 72 73 69 6f 6e 20 | 22 31 39 22 29 29 29 0a |version |"19"))).|
|000001b0| 20 20 20 20 28 65 72 72 | 6f 72 20 22 54 68 69 73 | (err|or "This|
|000001c0| 20 66 69 6c 65 20 77 61 | 73 20 63 6f 6d 70 69 6c | file wa|s compil|
|000001d0| 65 64 20 66 6f 72 20 45 | 6d 61 63 73 31 39 2e 22 |ed for E|macs19."|
|000001e0| 29 29 0a 0a 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |))..(byt|e-code "|
|000001f0| c0 11 c2 87 22 20 5b 22 | 56 65 72 73 69 6f 6e 20 |...." ["|Version |
|00000200| 35 2c 20 72 65 6c 65 61 | 73 65 64 20 41 75 67 75 |5, relea|sed Augu|
|00000210| 73 74 20 31 30 2c 20 31 | 39 39 32 22 20 63 61 6c |st 10, 1|992" cal|
|00000220| 65 6e 64 61 72 2d 76 65 | 72 73 69 6f 6e 20 6e 69 |endar-ve|rsion ni|
|00000230| 6c 5d 20 31 29 0a 28 64 | 65 66 76 61 72 20 76 69 |l] 1).(d|efvar vi|
|00000240| 65 77 2d 64 69 61 72 79 | 2d 65 6e 74 72 69 65 73 |ew-diary|-entries|
|00000250| 2d 69 6e 69 74 69 61 6c | 6c 79 20 6e 69 6c 20 22 |-initial|ly nil "|
|00000260| 5c 0a 2a 49 66 20 74 2c | 20 74 68 65 20 64 69 61 |\.*If t,| the dia|
|00000270| 72 79 20 65 6e 74 72 69 | 65 73 20 66 6f 72 20 74 |ry entri|es for t|
|00000280| 68 65 20 63 75 72 72 65 | 6e 74 20 64 61 74 65 20 |he curre|nt date |
|00000290| 77 69 6c 6c 20 62 65 20 | 64 69 73 70 6c 61 79 65 |will be |displaye|
|000002a0| 64 20 6f 6e 20 65 6e 74 | 72 79 2e 0a 54 68 65 20 |d on ent|ry..The |
|000002b0| 64 69 61 72 79 20 69 73 | 20 64 69 73 70 6c 61 79 |diary is| display|
|000002c0| 65 64 20 69 6e 20 61 6e | 6f 74 68 65 72 20 77 69 |ed in an|other wi|
|000002d0| 6e 64 6f 77 20 77 68 65 | 6e 20 74 68 65 20 63 61 |ndow whe|n the ca|
|000002e0| 6c 65 6e 64 61 72 20 69 | 73 20 66 69 72 73 74 20 |lendar i|s first |
|000002f0| 64 69 73 70 6c 61 79 65 | 64 2c 0a 69 66 20 74 68 |displaye|d,.if th|
|00000300| 65 20 63 75 72 72 65 6e | 74 20 64 61 74 65 20 69 |e curren|t date i|
|00000310| 73 20 76 69 73 69 62 6c | 65 2e 20 20 54 68 65 20 |s visibl|e. The |
|00000320| 6e 75 6d 62 65 72 20 6f | 66 20 64 61 79 73 20 6f |number o|f days o|
|00000330| 66 20 64 69 61 72 79 20 | 65 6e 74 72 69 65 73 20 |f diary |entries |
|00000340| 64 69 73 70 6c 61 79 65 | 64 0a 69 73 20 67 6f 76 |displaye|d.is gov|
|00000350| 65 72 6e 65 64 20 62 79 | 20 74 68 65 20 76 61 72 |erned by| the var|
|00000360| 69 61 62 6c 65 20 60 6e | 75 6d 62 65 72 2d 6f 66 |iable `n|umber-of|
|00000370| 2d 64 69 61 72 79 2d 65 | 6e 74 72 69 65 73 27 2e |-diary-e|ntries'.|
|00000380| 22 29 0a 28 64 65 66 76 | 61 72 20 6e 75 6d 62 65 |").(defv|ar numbe|
|00000390| 72 2d 6f 66 2d 64 69 61 | 72 79 2d 65 6e 74 72 69 |r-of-dia|ry-entri|
|000003a0| 65 73 20 31 20 22 5c 0a | 2a 53 70 65 63 69 66 69 |es 1 "\.|*Specifi|
|000003b0| 65 73 20 68 6f 77 20 6d | 61 6e 79 20 64 61 79 73 |es how m|any days|
|000003c0| 20 6f 66 20 64 69 61 72 | 79 20 65 6e 74 72 69 65 | of diar|y entrie|
|000003d0| 73 20 61 72 65 20 74 6f | 20 62 65 20 64 69 73 70 |s are to| be disp|
|000003e0| 6c 61 79 65 64 20 69 6e | 69 74 69 61 6c 6c 79 2e |layed in|itially.|
|000003f0| 0a 54 68 69 73 20 76 61 | 72 69 61 62 6c 65 20 61 |.This va|riable a|
|00000400| 66 66 65 63 74 73 20 74 | 68 65 20 64 69 61 72 79 |ffects t|he diary|
|00000410| 20 64 69 73 70 6c 61 79 | 20 77 68 65 6e 20 74 68 | display| when th|
|00000420| 65 20 63 6f 6d 6d 61 6e | 64 20 4d 2d 78 20 64 69 |e comman|d M-x di|
|00000430| 61 72 79 20 69 73 20 75 | 73 65 64 2c 0a 6f 72 20 |ary is u|sed,.or |
|00000440| 69 66 20 74 68 65 20 76 | 61 6c 75 65 20 6f 66 20 |if the v|alue of |
|00000450| 74 68 65 20 76 61 72 69 | 61 62 6c 65 20 60 76 69 |the vari|able `vi|
|00000460| 65 77 2d 64 69 61 72 79 | 2d 65 6e 74 72 69 65 73 |ew-diary|-entries|
|00000470| 2d 69 6e 69 74 69 61 6c | 6c 79 27 20 69 73 20 74 |-initial|ly' is t|
|00000480| 2e 20 20 46 6f 72 0a 65 | 78 61 6d 70 6c 65 2c 20 |. For.e|xample, |
|00000490| 69 66 20 74 68 65 20 64 | 65 66 61 75 6c 74 20 76 |if the d|efault v|
|000004a0| 61 6c 75 65 20 31 20 69 | 73 20 75 73 65 64 2c 20 |alue 1 i|s used, |
|000004b0| 74 68 65 6e 20 6f 6e 6c | 79 20 74 68 65 20 63 75 |then onl|y the cu|
|000004c0| 72 72 65 6e 74 20 64 61 | 79 27 73 20 64 69 61 72 |rrent da|y's diar|
|000004d0| 79 0a 65 6e 74 72 69 65 | 73 20 77 69 6c 6c 20 62 |y.entrie|s will b|
|000004e0| 65 20 64 69 73 70 6c 61 | 79 65 64 2e 20 20 49 66 |e displa|yed. If|
|000004f0| 20 74 68 65 20 76 61 6c | 75 65 20 32 20 69 73 20 | the val|ue 2 is |
|00000500| 75 73 65 64 2c 20 74 68 | 65 6e 20 62 6f 74 68 20 |used, th|en both |
|00000510| 74 68 65 20 63 75 72 72 | 65 6e 74 0a 64 61 79 27 |the curr|ent.day'|
|00000520| 73 20 61 6e 64 20 74 68 | 65 20 6e 65 78 74 20 64 |s and th|e next d|
|00000530| 61 79 27 73 20 65 6e 74 | 72 69 65 73 20 77 69 6c |ay's ent|ries wil|
|00000540| 6c 20 62 65 20 64 69 73 | 70 6c 61 79 65 64 2e 20 |l be dis|played. |
|00000550| 20 54 68 65 20 76 61 6c | 75 65 20 63 61 6e 20 61 | The val|ue can a|
|00000560| 6c 73 6f 20 62 65 0a 61 | 20 76 65 63 74 6f 72 20 |lso be.a| vector |
|00000570| 73 75 63 68 20 61 73 20 | 5b 30 20 32 20 32 20 32 |such as |[0 2 2 2|
|00000580| 20 32 20 34 20 31 5d 3b | 20 74 68 69 73 20 76 61 | 2 4 1];| this va|
|00000590| 6c 75 65 20 77 69 6c 6c | 20 63 61 75 73 65 20 6e |lue will| cause n|
|000005a0| 6f 20 64 69 61 72 79 20 | 65 6e 74 72 69 65 73 20 |o diary |entries |
|000005b0| 74 6f 0a 62 65 20 64 69 | 73 70 6c 61 79 65 64 20 |to.be di|splayed |
|000005c0| 6f 6e 20 53 75 6e 64 61 | 79 2c 20 74 68 65 20 63 |on Sunda|y, the c|
|000005d0| 75 72 72 65 6e 74 20 64 | 61 74 65 27 73 20 61 6e |urrent d|ate's an|
|000005e0| 64 20 74 68 65 20 6e 65 | 78 74 20 64 61 79 27 73 |d the ne|xt day's|
|000005f0| 20 64 69 61 72 79 20 65 | 6e 74 72 69 65 73 0a 74 | diary e|ntries.t|
|00000600| 6f 20 62 65 20 64 69 73 | 70 6c 61 79 65 64 20 4d |o be dis|played M|
|00000610| 6f 6e 64 61 79 20 74 68 | 72 6f 75 67 68 20 54 68 |onday th|rough Th|
|00000620| 75 72 73 64 61 79 2c 20 | 46 72 69 64 61 79 20 74 |ursday, |Friday t|
|00000630| 68 72 6f 75 67 68 20 4d | 6f 6e 64 61 79 27 73 20 |hrough M|onday's |
|00000640| 65 6e 74 72 69 65 73 20 | 74 6f 0a 62 65 20 64 69 |entries |to.be di|
|00000650| 73 70 6c 61 79 65 64 20 | 6f 6e 20 46 72 69 64 61 |splayed |on Frida|
|00000660| 79 2c 20 61 6e 64 20 6f | 6e 6c 79 20 53 61 74 75 |y, and o|nly Satu|
|00000670| 72 64 61 79 27 73 20 65 | 6e 74 72 69 65 73 20 74 |rday's e|ntries t|
|00000680| 6f 20 62 65 20 64 69 73 | 70 6c 61 79 65 64 20 6f |o be dis|played o|
|00000690| 6e 0a 53 61 74 75 72 64 | 61 79 2e 20 20 54 68 69 |n.Saturd|ay. Thi|
|000006a0| 73 20 76 61 72 69 61 62 | 6c 65 20 64 6f 65 73 20 |s variab|le does |
|000006b0| 6e 6f 74 20 61 66 66 65 | 63 74 20 74 68 65 20 64 |not affe|ct the d|
|000006c0| 69 61 72 79 20 64 69 73 | 70 6c 61 79 20 77 69 74 |iary dis|play wit|
|000006d0| 68 20 74 68 65 20 60 64 | 27 0a 63 6f 6d 6d 61 6e |h the `d|'.comman|
|000006e0| 64 20 66 72 6f 6d 20 74 | 68 65 20 63 61 6c 65 6e |d from t|he calen|
|000006f0| 64 61 72 3b 20 69 6e 20 | 74 68 61 74 20 63 61 73 |dar; in |that cas|
|00000700| 65 2c 20 74 68 65 20 70 | 72 65 66 69 78 20 61 72 |e, the p|refix ar|
|00000710| 67 75 6d 65 6e 74 20 63 | 6f 6e 74 72 6f 6c 73 20 |gument c|ontrols |
|00000720| 74 68 65 0a 6e 75 6d 62 | 65 72 20 6f 66 20 64 61 |the.numb|er of da|
|00000730| 79 73 20 6f 66 20 64 69 | 61 72 79 20 65 6e 74 72 |ys of di|ary entr|
|00000740| 69 65 73 20 64 69 73 70 | 6c 61 79 65 64 2e 22 29 |ies disp|layed.")|
|00000750| 0a 28 64 65 66 76 61 72 | 20 6d 61 72 6b 2d 64 69 |.(defvar| mark-di|
|00000760| 61 72 79 2d 65 6e 74 72 | 69 65 73 2d 69 6e 2d 63 |ary-entr|ies-in-c|
|00000770| 61 6c 65 6e 64 61 72 20 | 6e 69 6c 20 22 5c 0a 2a |alendar |nil "\.*|
|00000780| 49 66 20 74 2c 20 64 61 | 74 65 73 20 77 69 74 68 |If t, da|tes with|
|00000790| 20 64 69 61 72 79 20 65 | 6e 74 72 69 65 73 20 77 | diary e|ntries w|
|000007a0| 69 6c 6c 20 62 65 20 6d | 61 72 6b 65 64 20 69 6e |ill be m|arked in|
|000007b0| 20 74 68 65 20 63 61 6c | 65 6e 64 61 72 20 77 69 | the cal|endar wi|
|000007c0| 6e 64 6f 77 2e 0a 54 68 | 65 20 6d 61 72 6b 69 6e |ndow..Th|e markin|
|000007d0| 67 20 73 79 6d 62 6f 6c | 20 69 73 20 73 70 65 63 |g symbol| is spec|
|000007e0| 69 66 69 65 64 20 62 79 | 20 74 68 65 20 76 61 72 |ified by| the var|
|000007f0| 69 61 62 6c 65 20 60 64 | 69 61 72 79 2d 65 6e 74 |iable `d|iary-ent|
|00000800| 72 79 2d 6d 61 72 6b 65 | 72 27 2e 22 29 0a 28 64 |ry-marke|r'.").(d|
|00000810| 65 66 76 61 72 20 64 69 | 61 72 79 2d 65 6e 74 72 |efvar di|ary-entr|
|00000820| 79 2d 6d 61 72 6b 65 72 | 20 22 2b 22 20 22 5c 0a |y-marker| "+" "\.|
|00000830| 2a 54 68 65 20 73 79 6d | 62 6f 6c 20 75 73 65 64 |*The sym|bol used|
|00000840| 20 74 6f 20 6d 61 72 6b | 20 64 61 74 65 73 20 74 | to mark| dates t|
|00000850| 68 61 74 20 68 61 76 65 | 20 64 69 61 72 79 20 65 |hat have| diary e|
|00000860| 6e 74 72 69 65 73 2e 22 | 29 0a 28 64 65 66 76 61 |ntries."|).(defva|
|00000870| 72 20 76 69 65 77 2d 63 | 61 6c 65 6e 64 61 72 2d |r view-c|alendar-|
|00000880| 68 6f 6c 69 64 61 79 73 | 2d 69 6e 69 74 69 61 6c |holidays|-initial|
|00000890| 6c 79 20 6e 69 6c 20 22 | 5c 0a 2a 49 66 20 74 2c |ly nil "|\.*If t,|
|000008a0| 20 74 68 65 20 68 6f 6c | 69 64 61 79 73 20 66 6f | the hol|idays fo|
|000008b0| 72 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 74 68 |r the cu|rrent th|
|000008c0| 72 65 65 20 6d 6f 6e 74 | 68 20 70 65 72 69 6f 64 |ree mont|h period|
|000008d0| 20 77 69 6c 6c 20 62 65 | 20 64 69 73 70 6c 61 79 | will be| display|
|000008e0| 65 64 0a 6f 6e 20 65 6e | 74 72 79 2e 20 20 54 68 |ed.on en|try. Th|
|000008f0| 65 20 68 6f 6c 69 64 61 | 79 73 20 61 72 65 20 64 |e holida|ys are d|
|00000900| 69 73 70 6c 61 79 65 64 | 20 69 6e 20 61 6e 6f 74 |isplayed| in anot|
|00000910| 68 65 72 20 77 69 6e 64 | 6f 77 20 77 68 65 6e 20 |her wind|ow when |
|00000920| 74 68 65 20 63 61 6c 65 | 6e 64 61 72 20 69 73 0a |the cale|ndar is.|
|00000930| 66 69 72 73 74 20 64 69 | 73 70 6c 61 79 65 64 2e |first di|splayed.|
|00000940| 22 29 0a 28 64 65 66 76 | 61 72 20 6d 61 72 6b 2d |").(defv|ar mark-|
|00000950| 68 6f 6c 69 64 61 79 73 | 2d 69 6e 2d 63 61 6c 65 |holidays|-in-cale|
|00000960| 6e 64 61 72 20 6e 69 6c | 20 22 5c 0a 2a 49 66 20 |ndar nil| "\.*If |
|00000970| 74 2c 20 64 61 74 65 73 | 20 6f 66 20 68 6f 6c 69 |t, dates| of holi|
|00000980| 64 61 79 73 20 77 69 6c | 6c 20 62 65 20 6d 61 72 |days wil|l be mar|
|00000990| 6b 65 64 20 69 6e 20 74 | 68 65 20 63 61 6c 65 6e |ked in t|he calen|
|000009a0| 64 61 72 20 77 69 6e 64 | 6f 77 2e 0a 54 68 65 20 |dar wind|ow..The |
|000009b0| 6d 61 72 6b 69 6e 67 20 | 73 79 6d 62 6f 6c 20 69 |marking |symbol i|
|000009c0| 73 20 73 70 65 63 69 66 | 69 65 64 20 62 79 20 74 |s specif|ied by t|
|000009d0| 68 65 20 76 61 72 69 61 | 62 6c 65 20 60 63 61 6c |he varia|ble `cal|
|000009e0| 65 6e 64 61 72 2d 68 6f | 6c 69 64 61 79 2d 6d 61 |endar-ho|liday-ma|
|000009f0| 72 6b 65 72 27 2e 22 29 | 0a 28 64 65 66 76 61 72 |rker'.")|.(defvar|
|00000a00| 20 63 61 6c 65 6e 64 61 | 72 2d 68 6f 6c 69 64 61 | calenda|r-holida|
|00000a10| 79 2d 6d 61 72 6b 65 72 | 20 22 2a 22 20 22 5c 0a |y-marker| "*" "\.|
|00000a20| 2a 54 68 65 20 73 79 6d | 62 6f 6c 20 75 73 65 64 |*The sym|bol used|
|00000a30| 20 74 6f 20 6d 61 72 6b | 20 6e 6f 74 61 62 6c 65 | to mark| notable|
|00000a40| 20 64 61 74 65 73 20 69 | 6e 20 74 68 65 20 63 61 | dates i|n the ca|
|00000a50| 6c 65 6e 64 61 72 2e 22 | 29 0a 28 64 65 66 76 61 |lendar."|).(defva|
|00000a60| 72 20 61 6c 6c 2d 68 65 | 62 72 65 77 2d 63 61 6c |r all-he|brew-cal|
|00000a70| 65 6e 64 61 72 2d 68 6f | 6c 69 64 61 79 73 20 6e |endar-ho|lidays n|
|00000a80| 69 6c 20 22 5c 0a 2a 49 | 66 20 6e 69 6c 2c 20 74 |il "\.*I|f nil, t|
|00000a90| 68 65 20 68 6f 6c 69 64 | 61 79 73 20 66 72 6f 6d |he holid|ays from|
|00000aa0| 20 74 68 65 20 48 65 62 | 72 65 77 20 63 61 6c 65 | the Heb|rew cale|
|00000ab0| 6e 64 61 72 20 74 68 61 | 74 20 61 72 65 20 73 68 |ndar tha|t are sh|
|00000ac0| 6f 77 6e 20 77 69 6c 6c | 0a 69 6e 63 6c 75 64 65 |own will|.include|
|00000ad0| 20 6f 6e 6c 79 20 74 68 | 6f 73 65 20 64 61 79 73 | only th|ose days|
|00000ae0| 20 6f 66 20 73 75 63 68 | 20 6d 61 6a 6f 72 20 69 | of such| major i|
|00000af0| 6e 74 65 72 65 73 74 20 | 61 73 20 74 6f 20 61 70 |nterest |as to ap|
|00000b00| 70 65 61 72 20 6f 6e 20 | 73 65 63 75 6c 61 72 0a |pear on |secular.|
|00000b10| 63 61 6c 65 6e 64 61 72 | 73 2e 20 20 49 66 20 74 |calendar|s. If t|
|00000b20| 2c 20 74 68 65 20 68 6f | 6c 69 64 61 79 73 20 73 |, the ho|lidays s|
|00000b30| 68 6f 77 6e 20 69 6e 20 | 74 68 65 20 63 61 6c 65 |hown in |the cale|
|00000b40| 6e 64 61 72 20 77 69 6c | 6c 20 69 6e 63 6c 75 64 |ndar wil|l includ|
|00000b50| 65 20 61 6c 6c 0a 73 70 | 65 63 69 61 6c 20 64 61 |e all.sp|ecial da|
|00000b60| 79 73 20 74 68 61 74 20 | 77 6f 75 6c 64 20 62 65 |ys that |would be|
|00000b70| 20 73 68 6f 77 6e 20 6f | 6e 20 61 20 63 6f 6d 70 | shown o|n a comp|
|00000b80| 6c 65 74 65 20 48 65 62 | 72 65 77 20 63 61 6c 65 |lete Heb|rew cale|
|00000b90| 6e 64 61 72 2e 22 29 0a | 28 64 65 66 76 61 72 20 |ndar.").|(defvar |
|00000ba0| 61 6c 6c 2d 63 68 72 69 | 73 74 69 61 6e 2d 63 61 |all-chri|stian-ca|
|00000bb0| 6c 65 6e 64 61 72 2d 68 | 6f 6c 69 64 61 79 73 20 |lendar-h|olidays |
|00000bc0| 6e 69 6c 20 22 5c 0a 2a | 49 66 20 6e 69 6c 2c 20 |nil "\.*|If nil, |
|00000bd0| 74 68 65 20 68 6f 6c 69 | 64 61 79 73 20 66 72 6f |the holi|days fro|
|00000be0| 6d 20 74 68 65 20 43 68 | 72 69 73 74 69 61 6e 20 |m the Ch|ristian |
|00000bf0| 63 61 6c 65 6e 64 61 72 | 20 74 68 61 74 20 61 72 |calendar| that ar|
|00000c00| 65 20 73 68 6f 77 6e 20 | 77 69 6c 6c 0a 69 6e 63 |e shown |will.inc|
|00000c10| 6c 75 64 65 20 6f 6e 6c | 79 20 74 68 6f 73 65 20 |lude onl|y those |
|00000c20| 64 61 79 73 20 6f 66 20 | 73 75 63 68 20 6d 61 6a |days of |such maj|
|00000c30| 6f 72 20 69 6e 74 65 72 | 65 73 74 20 61 73 20 74 |or inter|est as t|
|00000c40| 6f 20 61 70 70 65 61 72 | 20 6f 6e 20 73 65 63 75 |o appear| on secu|
|00000c50| 6c 61 72 0a 63 61 6c 65 | 6e 64 61 72 73 2e 20 20 |lar.cale|ndars. |
|00000c60| 49 66 20 74 2c 20 74 68 | 65 20 68 6f 6c 69 64 61 |If t, th|e holida|
|00000c70| 79 73 20 73 68 6f 77 6e | 20 69 6e 20 74 68 65 20 |ys shown| in the |
|00000c80| 63 61 6c 65 6e 64 61 72 | 20 77 69 6c 6c 20 69 6e |calendar| will in|
|00000c90| 63 6c 75 64 65 20 61 6c | 6c 0a 73 70 65 63 69 61 |clude al|l.specia|
|00000ca0| 6c 20 64 61 79 73 20 74 | 68 61 74 20 77 6f 75 6c |l days t|hat woul|
|00000cb0| 64 20 62 65 20 73 68 6f | 77 6e 20 6f 6e 20 61 20 |d be sho|wn on a |
|00000cc0| 63 6f 6d 70 6c 65 74 65 | 20 43 68 72 69 73 74 69 |complete| Christi|
|00000cd0| 61 6e 20 63 61 6c 65 6e | 64 61 72 2e 22 29 0a 28 |an calen|dar.").(|
|00000ce0| 64 65 66 76 61 72 20 61 | 6c 6c 2d 69 73 6c 61 6d |defvar a|ll-islam|
|00000cf0| 69 63 2d 63 61 6c 65 6e | 64 61 72 2d 68 6f 6c 69 |ic-calen|dar-holi|
|00000d00| 64 61 79 73 20 6e 69 6c | 20 22 5c 0a 2a 49 66 20 |days nil| "\.*If |
|00000d10| 6e 69 6c 2c 20 74 68 65 | 20 68 6f 6c 69 64 61 79 |nil, the| holiday|
|00000d20| 73 20 66 72 6f 6d 20 74 | 68 65 20 49 73 6c 61 6d |s from t|he Islam|
|00000d30| 69 63 20 63 61 6c 65 6e | 64 61 72 20 74 68 61 74 |ic calen|dar that|
|00000d40| 20 61 72 65 20 73 68 6f | 77 6e 20 77 69 6c 6c 0a | are sho|wn will.|
|00000d50| 69 6e 63 6c 75 64 65 20 | 6f 6e 6c 79 20 74 68 6f |include |only tho|
|00000d60| 73 65 20 64 61 79 73 20 | 6f 66 20 73 75 63 68 20 |se days |of such |
|00000d70| 6d 61 6a 6f 72 20 69 6e | 74 65 72 65 73 74 20 61 |major in|terest a|
|00000d80| 73 20 74 6f 20 61 70 70 | 65 61 72 20 6f 6e 20 73 |s to app|ear on s|
|00000d90| 65 63 75 6c 61 72 0a 63 | 61 6c 65 6e 64 61 72 73 |ecular.c|alendars|
|00000da0| 2e 20 20 49 66 20 74 2c | 20 74 68 65 20 68 6f 6c |. If t,| the hol|
|00000db0| 69 64 61 79 73 20 73 68 | 6f 77 6e 20 69 6e 20 74 |idays sh|own in t|
|00000dc0| 68 65 20 63 61 6c 65 6e | 64 61 72 20 77 69 6c 6c |he calen|dar will|
|00000dd0| 20 69 6e 63 6c 75 64 65 | 20 61 6c 6c 0a 73 70 65 | include| all.spe|
|00000de0| 63 69 61 6c 20 64 61 79 | 73 20 74 68 61 74 20 77 |cial day|s that w|
|00000df0| 6f 75 6c 64 20 62 65 20 | 73 68 6f 77 6e 20 6f 6e |ould be |shown on|
|00000e00| 20 61 20 63 6f 6d 70 6c | 65 74 65 20 49 73 6c 61 | a compl|ete Isla|
|00000e10| 6d 69 63 20 63 61 6c 65 | 6e 64 61 72 2e 22 29 0a |mic cale|ndar.").|
|00000e20| 28 64 65 66 76 61 72 20 | 63 61 6c 65 6e 64 61 72 |(defvar |calendar|
|00000e30| 2d 6c 6f 61 64 2d 68 6f | 6f 6b 20 6e 69 6c 20 22 |-load-ho|ok nil "|
|00000e40| 5c 0a 2a 4c 69 73 74 20 | 6f 66 20 66 75 6e 63 74 |\.*List |of funct|
|00000e50| 69 6f 6e 73 20 74 6f 20 | 62 65 20 63 61 6c 6c 65 |ions to |be calle|
|00000e60| 64 20 61 66 74 65 72 20 | 74 68 65 20 63 61 6c 65 |d after |the cale|
|00000e70| 6e 64 61 72 20 69 73 20 | 66 69 72 73 74 20 6c 6f |ndar is |first lo|
|00000e80| 61 64 65 64 2e 0a 54 68 | 69 73 20 69 73 20 74 68 |aded..Th|is is th|
|00000e90| 65 20 70 6c 61 63 65 20 | 74 6f 20 61 64 64 20 6b |e place |to add k|
|00000ea0| 65 79 20 62 69 6e 64 69 | 6e 67 73 20 74 6f 20 63 |ey bindi|ngs to c|
|00000eb0| 61 6c 65 6e 64 61 72 2d | 6d 6f 64 65 2d 6d 61 70 |alendar-|mode-map|
|00000ec0| 2e 22 29 0a 28 64 65 66 | 76 61 72 20 69 6e 69 74 |.").(def|var init|
|00000ed0| 69 61 6c 2d 63 61 6c 65 | 6e 64 61 72 2d 77 69 6e |ial-cale|ndar-win|
|00000ee0| 64 6f 77 2d 68 6f 6f 6b | 20 6e 69 6c 20 22 5c 0a |dow-hook| nil "\.|
|00000ef0| 2a 4c 69 73 74 20 6f 66 | 20 66 75 6e 63 74 69 6f |*List of| functio|
|00000f00| 6e 73 20 74 6f 20 62 65 | 20 63 61 6c 6c 65 64 20 |ns to be| called |
|00000f10| 77 68 65 6e 20 74 68 65 | 20 63 61 6c 65 6e 64 61 |when the| calenda|
|00000f20| 72 20 77 69 6e 64 6f 77 | 20 69 73 20 66 69 72 73 |r window| is firs|
|00000f30| 74 20 6f 70 65 6e 65 64 | 2e 0a 54 68 65 20 66 75 |t opened|..The fu|
|00000f40| 6e 63 74 69 6f 6e 73 20 | 69 6e 76 6f 6b 65 64 20 |nctions |invoked |
|00000f50| 61 72 65 20 63 61 6c 6c | 65 64 20 61 66 74 65 72 |are call|ed after|
|00000f60| 20 74 68 65 20 63 61 6c | 65 6e 64 61 72 20 77 69 | the cal|endar wi|
|00000f70| 6e 64 6f 77 20 69 73 20 | 6f 70 65 6e 65 64 2c 20 |ndow is |opened, |
|00000f80| 62 75 74 0a 6f 6e 63 65 | 20 6f 70 65 6e 65 64 20 |but.once| opened |
|00000f90| 69 73 20 6e 65 76 65 72 | 20 63 61 6c 6c 65 64 20 |is never| called |
|00000fa0| 61 67 61 69 6e 2e 20 20 | 4c 65 61 76 69 6e 67 20 |again. |Leaving |
|00000fb0| 74 68 65 20 63 61 6c 65 | 6e 64 61 72 20 77 69 74 |the cale|ndar wit|
|00000fc0| 68 20 74 68 65 20 60 71 | 27 20 63 6f 6d 6d 61 6e |h the `q|' comman|
|00000fd0| 64 0a 61 6e 64 20 72 65 | 65 6e 74 65 72 69 6e 67 |d.and re|entering|
|00000fe0| 20 69 74 20 77 69 6c 6c | 20 63 61 75 73 65 20 74 | it will| cause t|
|00000ff0| 68 65 73 65 20 66 75 6e | 63 74 69 6f 6e 73 20 74 |hese fun|ctions t|
|00001000| 6f 20 62 65 20 63 61 6c | 6c 65 64 20 61 67 61 69 |o be cal|led agai|
|00001010| 6e 2e 22 29 0a 28 64 65 | 66 76 61 72 20 74 6f 64 |n.").(de|fvar tod|
|00001020| 61 79 2d 76 69 73 69 62 | 6c 65 2d 63 61 6c 65 6e |ay-visib|le-calen|
|00001030| 64 61 72 2d 68 6f 6f 6b | 20 6e 69 6c 20 22 5c 0a |dar-hook| nil "\.|
|00001040| 2a 4c 69 73 74 20 6f 66 | 20 66 75 6e 63 74 69 6f |*List of| functio|
|00001050| 6e 73 20 63 61 6c 6c 65 | 64 20 77 68 65 6e 65 76 |ns calle|d whenev|
|00001060| 65 72 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 64 |er the c|urrent d|
|00001070| 61 74 65 20 69 73 20 76 | 69 73 69 62 6c 65 2e 0a |ate is v|isible..|
|00001080| 54 68 69 73 20 63 61 6e | 20 62 65 20 75 73 65 64 |This can| be used|
|00001090| 2c 20 66 6f 72 20 65 78 | 61 6d 70 6c 65 2c 20 74 |, for ex|ample, t|
|000010a0| 6f 20 72 65 70 6c 61 63 | 65 20 74 6f 64 61 79 27 |o replac|e today'|
|000010b0| 73 20 64 61 74 65 20 77 | 69 74 68 20 61 73 74 65 |s date w|ith aste|
|000010c0| 72 69 73 6b 73 3b 20 61 | 0a 66 75 6e 63 74 69 6f |risks; a|.functio|
|000010d0| 6e 20 60 63 61 6c 65 6e | 64 61 72 2d 73 74 61 72 |n `calen|dar-star|
|000010e0| 2d 64 61 74 65 27 20 69 | 73 20 69 6e 63 6c 75 64 |-date' i|s includ|
|000010f0| 65 64 20 66 6f 72 20 74 | 68 69 73 20 70 75 72 70 |ed for t|his purp|
|00001100| 6f 73 65 3a 0a 20 20 20 | 20 28 73 65 74 71 20 74 |ose:. | (setq t|
|00001110| 6f 64 61 79 2d 76 69 73 | 69 62 6c 65 2d 63 61 6c |oday-vis|ible-cal|
|00001120| 65 6e 64 61 72 2d 68 6f | 6f 6b 20 27 63 61 6c 65 |endar-ho|ok 'cale|
|00001130| 6e 64 61 72 2d 73 74 61 | 72 2d 64 61 74 65 29 0a |ndar-sta|r-date).|
|00001140| 49 74 20 63 6f 75 6c 64 | 20 61 6c 73 6f 20 62 65 |It could| also be|
|00001150| 20 75 73 65 64 20 74 6f | 20 6d 61 72 6b 20 74 68 | used to| mark th|
|00001160| 65 20 63 75 72 72 65 6e | 74 20 64 61 74 65 20 77 |e curren|t date w|
|00001170| 69 74 68 20 60 3d 27 3b | 20 61 20 66 75 6e 63 74 |ith `=';| a funct|
|00001180| 69 6f 6e 20 69 73 20 61 | 6c 73 6f 0a 70 72 6f 76 |ion is a|lso.prov|
|00001190| 69 64 65 64 20 66 6f 72 | 20 74 68 69 73 3a 0a 20 |ided for| this:. |
|000011a0| 20 20 20 28 73 65 74 71 | 20 74 6f 64 61 79 2d 76 | (setq| today-v|
|000011b0| 69 73 69 62 6c 65 2d 63 | 61 6c 65 6e 64 61 72 2d |isible-c|alendar-|
|000011c0| 68 6f 6f 6b 20 27 63 61 | 6c 65 6e 64 61 72 2d 6d |hook 'ca|lendar-m|
|000011d0| 61 72 6b 2d 74 6f 64 61 | 79 29 0a 0a 54 68 65 20 |ark-toda|y)..The |
|000011e0| 63 6f 72 72 65 73 70 6f | 6e 64 69 6e 67 20 76 61 |correspo|nding va|
|000011f0| 72 69 61 62 6c 65 20 60 | 74 6f 64 61 79 2d 69 6e |riable `|today-in|
|00001200| 76 69 73 69 62 6c 65 2d | 63 61 6c 65 6e 64 61 72 |visible-|calendar|
|00001210| 2d 68 6f 6f 6b 27 20 69 | 73 20 74 68 65 20 6c 69 |-hook' i|s the li|
|00001220| 73 74 20 6f 66 0a 66 75 | 6e 63 74 69 6f 6e 73 20 |st of.fu|nctions |
|00001230| 63 61 6c 6c 65 64 20 77 | 68 65 6e 20 74 68 65 20 |called w|hen the |
|00001240| 63 61 6c 65 6e 64 61 72 | 20 66 75 6e 63 74 69 6f |calendar| functio|
|00001250| 6e 20 77 61 73 20 63 61 | 6c 6c 65 64 20 77 68 65 |n was ca|lled whe|
|00001260| 6e 20 74 68 65 20 63 75 | 72 72 65 6e 74 0a 64 61 |n the cu|rrent.da|
|00001270| 74 65 20 69 73 20 6e 6f | 74 20 76 69 73 69 62 6c |te is no|t visibl|
|00001280| 65 20 69 6e 20 74 68 65 | 20 77 69 6e 64 6f 77 2e |e in the| window.|
|00001290| 0a 0a 4f 74 68 65 72 20 | 74 68 61 6e 20 74 68 65 |..Other |than the|
|000012a0| 20 75 73 65 20 6f 66 20 | 74 68 65 20 70 72 6f 76 | use of |the prov|
|000012b0| 69 64 65 64 20 66 75 6e | 63 74 69 6f 6e 73 2c 20 |ided fun|ctions, |
|000012c0| 74 68 65 20 63 68 61 6e | 67 69 6e 67 20 6f 66 20 |the chan|ging of |
|000012d0| 61 6e 79 0a 63 68 61 72 | 61 63 74 65 72 73 20 69 |any.char|acters i|
|000012e0| 6e 20 74 68 65 20 63 61 | 6c 65 6e 64 61 72 20 62 |n the ca|lendar b|
|000012f0| 75 66 66 65 72 20 62 79 | 20 74 68 65 20 68 6f 6f |uffer by| the hoo|
|00001300| 6b 73 20 6d 61 79 20 63 | 61 75 73 65 20 74 68 65 |ks may c|ause the|
|00001310| 20 66 61 69 6c 75 72 65 | 20 6f 66 20 74 68 65 0a | failure| of the.|
|00001320| 66 75 6e 63 74 69 6f 6e | 73 20 74 68 61 74 20 6d |function|s that m|
|00001330| 6f 76 65 20 62 79 20 64 | 61 79 73 20 61 6e 64 20 |ove by d|ays and |
|00001340| 77 65 65 6b 73 2e 22 29 | 0a 28 64 65 66 76 61 72 |weeks.")|.(defvar|
|00001350| 20 74 6f 64 61 79 2d 69 | 6e 76 69 73 69 62 6c 65 | today-i|nvisible|
|00001360| 2d 63 61 6c 65 6e 64 61 | 72 2d 68 6f 6f 6b 20 6e |-calenda|r-hook n|
|00001370| 69 6c 20 22 5c 0a 2a 4c | 69 73 74 20 6f 66 20 66 |il "\.*L|ist of f|
|00001380| 75 6e 63 74 69 6f 6e 73 | 20 63 61 6c 6c 65 64 20 |unctions| called |
|00001390| 77 68 65 6e 65 76 65 72 | 20 74 68 65 20 63 75 72 |whenever| the cur|
|000013a0| 72 65 6e 74 20 64 61 74 | 65 20 69 73 20 6e 6f 74 |rent dat|e is not|
|000013b0| 20 76 69 73 69 62 6c 65 | 2e 0a 0a 54 68 65 20 63 | visible|...The c|
|000013c0| 6f 72 72 65 73 70 6f 6e | 64 69 6e 67 20 76 61 72 |orrespon|ding var|
|000013d0| 69 61 62 6c 65 20 60 74 | 6f 64 61 79 2d 76 69 73 |iable `t|oday-vis|
|000013e0| 69 62 6c 65 2d 63 61 6c | 65 6e 64 61 72 2d 68 6f |ible-cal|endar-ho|
|000013f0| 6f 6b 27 20 69 73 20 74 | 68 65 20 6c 69 73 74 20 |ok' is t|he list |
|00001400| 6f 66 0a 66 75 6e 63 74 | 69 6f 6e 73 20 63 61 6c |of.funct|ions cal|
|00001410| 6c 65 64 20 77 68 65 6e | 20 74 68 65 20 63 61 6c |led when| the cal|
|00001420| 65 6e 64 61 72 20 66 75 | 6e 63 74 69 6f 6e 20 77 |endar fu|nction w|
|00001430| 61 73 20 63 61 6c 6c 65 | 64 20 77 68 65 6e 20 74 |as calle|d when t|
|00001440| 68 65 20 63 75 72 72 65 | 6e 74 0a 64 61 74 65 20 |he curre|nt.date |
|00001450| 69 73 20 76 69 73 69 62 | 6c 65 20 69 6e 20 74 68 |is visib|le in th|
|00001460| 65 20 77 69 6e 64 6f 77 | 2e 0a 0a 4f 74 68 65 72 |e window|...Other|
|00001470| 20 74 68 61 6e 20 74 68 | 65 20 75 73 65 20 6f 66 | than th|e use of|
|00001480| 20 74 68 65 20 70 72 6f | 76 69 64 65 64 20 66 75 | the pro|vided fu|
|00001490| 6e 63 74 69 6f 6e 73 2c | 20 74 68 65 20 63 68 61 |nctions,| the cha|
|000014a0| 6e 67 69 6e 67 20 6f 66 | 20 61 6e 79 0a 63 68 61 |nging of| any.cha|
|000014b0| 72 61 63 74 65 72 73 20 | 69 6e 20 74 68 65 20 63 |racters |in the c|
|000014c0| 61 6c 65 6e 64 61 72 20 | 62 75 66 66 65 72 20 62 |alendar |buffer b|
|000014d0| 79 20 74 68 65 20 68 6f | 6f 6b 73 20 6d 61 79 20 |y the ho|oks may |
|000014e0| 63 61 75 73 65 20 74 68 | 65 20 66 61 69 6c 75 72 |cause th|e failur|
|000014f0| 65 20 6f 66 20 74 68 65 | 0a 66 75 6e 63 74 69 6f |e of the|.functio|
|00001500| 6e 73 20 74 68 61 74 20 | 6d 6f 76 65 20 62 79 20 |ns that |move by |
|00001510| 64 61 79 73 20 61 6e 64 | 20 77 65 65 6b 73 2e 22 |days and| weeks."|
|00001520| 29 0a 28 64 65 66 76 61 | 72 20 64 69 61 72 79 2d |).(defva|r diary-|
|00001530| 66 69 6c 65 20 22 7e 2f | 64 69 61 72 79 22 20 22 |file "~/|diary" "|
|00001540| 5c 0a 2a 4e 61 6d 65 20 | 6f 66 20 74 68 65 20 66 |\.*Name |of the f|
|00001550| 69 6c 65 20 69 6e 20 77 | 68 69 63 68 20 6f 6e 65 |ile in w|hich one|
|00001560| 27 73 20 70 65 72 73 6f | 6e 61 6c 20 64 69 61 72 |'s perso|nal diar|
|00001570| 79 20 6f 66 20 64 61 74 | 65 73 20 69 73 20 6b 65 |y of dat|es is ke|
|00001580| 70 74 2e 0a 0a 54 68 65 | 20 66 69 6c 65 27 73 20 |pt...The| file's |
|00001590| 65 6e 74 72 69 65 73 20 | 61 72 65 20 6c 69 6e 65 |entries |are line|
|000015a0| 73 20 69 6e 20 61 6e 79 | 20 6f 66 20 74 68 65 20 |s in any| of the |
|000015b0| 66 6f 72 6d 73 0a 0a 20 | 20 20 20 20 20 20 20 20 |forms.. | |
|000015c0| 20 20 20 4d 4f 4e 54 48 | 2f 44 41 59 0a 20 20 20 | MONTH|/DAY. |
|000015d0| 20 20 20 20 20 20 20 20 | 20 4d 4f 4e 54 48 2f 44 | | MONTH/D|
|000015e0| 41 59 2f 59 45 41 52 0a | 20 20 20 20 20 20 20 20 |AY/YEAR.| |
|000015f0| 20 20 20 20 4d 4f 4e 54 | 48 4e 41 4d 45 20 44 41 | MONT|HNAME DA|
|00001600| 59 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 4d 4f |Y. | MO|
|00001610| 4e 54 48 4e 41 4d 45 20 | 44 41 59 2c 20 59 45 41 |NTHNAME |DAY, YEA|
|00001620| 52 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 44 41 |R. | DA|
|00001630| 59 4e 41 4d 45 0a 0a 61 | 74 20 74 68 65 20 62 65 |YNAME..a|t the be|
|00001640| 67 69 6e 6e 69 6e 67 20 | 6f 66 20 74 68 65 20 6c |ginning |of the l|
|00001650| 69 6e 65 3b 20 74 68 65 | 20 72 65 6d 61 69 6e 64 |ine; the| remaind|
|00001660| 65 72 20 6f 66 20 74 68 | 65 20 6c 69 6e 65 20 69 |er of th|e line i|
|00001670| 73 20 74 68 65 20 64 69 | 61 72 79 20 65 6e 74 72 |s the di|ary entr|
|00001680| 79 0a 73 74 72 69 6e 67 | 20 66 6f 72 20 74 68 61 |y.string| for tha|
|00001690| 74 20 64 61 74 65 2e 20 | 20 4d 4f 4e 54 48 20 61 |t date. | MONTH a|
|000016a0| 6e 64 20 44 41 59 20 61 | 72 65 20 6f 6e 65 20 6f |nd DAY a|re one o|
|000016b0| 72 20 74 77 6f 20 64 69 | 67 69 74 20 6e 75 6d 62 |r two di|git numb|
|000016c0| 65 72 73 2c 20 59 45 41 | 52 20 69 73 0a 61 20 6e |ers, YEA|R is.a n|
|000016d0| 75 6d 62 65 72 20 61 6e | 64 20 6d 61 79 20 62 65 |umber an|d may be|
|000016e0| 20 77 72 69 74 74 65 6e | 20 69 6e 20 66 75 6c 6c | written| in full|
|000016f0| 20 6f 72 20 61 62 62 72 | 65 76 69 61 74 65 64 20 | or abbr|eviated |
|00001700| 74 6f 20 74 68 65 20 66 | 69 6e 61 6c 20 74 77 6f |to the f|inal two|
|00001710| 20 64 69 67 69 74 73 2e | 0a 49 66 20 74 68 65 20 | digits.|.If the |
|00001720| 64 61 74 65 20 64 6f 65 | 73 20 6e 6f 74 20 63 6f |date doe|s not co|
|00001730| 6e 74 61 69 6e 20 61 20 | 79 65 61 72 2c 20 69 74 |ntain a |year, it|
|00001740| 20 69 73 20 67 65 6e 65 | 72 69 63 20 61 6e 64 20 | is gene|ric and |
|00001750| 61 70 70 6c 69 65 73 20 | 74 6f 20 61 6e 79 20 79 |applies |to any y|
|00001760| 65 61 72 2e 0a 44 41 59 | 4e 41 4d 45 20 65 6e 74 |ear..DAY|NAME ent|
|00001770| 72 69 65 73 20 61 70 70 | 6c 79 20 74 6f 20 61 6e |ries app|ly to an|
|00001780| 79 20 64 61 74 65 20 6f | 6e 20 77 68 69 63 68 20 |y date o|n which |
|00001790| 69 73 20 6f 6e 20 74 68 | 61 74 20 64 61 79 20 6f |is on th|at day o|
|000017a0| 66 20 74 68 65 20 77 65 | 65 6b 2e 0a 4d 4f 4e 54 |f the we|ek..MONT|
|000017b0| 48 4e 41 4d 45 20 61 6e | 64 20 44 41 59 4e 41 4d |HNAME an|d DAYNAM|
|000017c0| 45 20 63 61 6e 20 62 65 | 20 73 70 65 6c 6c 65 64 |E can be| spelled|
|000017d0| 20 69 6e 20 66 75 6c 6c | 2c 20 61 62 62 72 65 76 | in full|, abbrev|
|000017e0| 69 61 74 65 64 20 74 6f | 20 74 68 72 65 65 0a 63 |iated to| three.c|
|000017f0| 68 61 72 61 63 74 65 72 | 73 20 28 77 69 74 68 20 |haracter|s (with |
|00001800| 6f 72 20 77 69 74 68 6f | 75 74 20 61 20 70 65 72 |or witho|ut a per|
|00001810| 69 6f 64 29 2c 20 63 61 | 70 69 74 61 6c 69 7a 65 |iod), ca|pitalize|
|00001820| 64 20 6f 72 20 6e 6f 74 | 2e 20 20 41 6e 79 20 6f |d or not|. Any o|
|00001830| 66 20 44 41 59 2c 0a 4d | 4f 4e 54 48 2c 20 6f 72 |f DAY,.M|ONTH, or|
|00001840| 20 4d 4f 4e 54 48 4e 41 | 4d 45 2c 20 59 45 41 52 | MONTHNA|ME, YEAR|
|00001850| 20 63 61 6e 20 62 65 20 | 60 2a 27 20 77 68 69 63 | can be |`*' whic|
|00001860| 68 20 6d 61 74 63 68 65 | 73 20 61 6e 79 20 64 61 |h matche|s any da|
|00001870| 79 2c 20 6d 6f 6e 74 68 | 2c 20 6f 72 20 79 65 61 |y, month|, or yea|
|00001880| 72 2c 0a 72 65 73 70 65 | 63 74 69 76 65 6c 79 2e |r,.respe|ctively.|
|00001890| 0a 0a 54 68 65 20 45 75 | 72 6f 70 65 61 6e 20 73 |..The Eu|ropean s|
|000018a0| 74 79 6c 65 20 28 69 6e | 20 77 68 69 63 68 20 74 |tyle (in| which t|
|000018b0| 68 65 20 64 61 79 20 70 | 72 65 63 65 64 65 73 20 |he day p|recedes |
|000018c0| 74 68 65 20 6d 6f 6e 74 | 68 29 20 63 61 6e 20 62 |the mont|h) can b|
|000018d0| 65 20 75 73 65 64 0a 69 | 6e 73 74 65 61 64 2c 20 |e used.i|nstead, |
|000018e0| 69 66 20 79 6f 75 20 65 | 78 65 63 75 74 65 20 60 |if you e|xecute `|
|000018f0| 65 75 72 6f 70 65 61 6e | 2d 63 61 6c 65 6e 64 61 |european|-calenda|
|00001900| 72 27 20 77 68 65 6e 20 | 69 6e 20 74 68 65 20 63 |r' when |in the c|
|00001910| 61 6c 65 6e 64 61 72 2c | 20 6f 72 20 73 65 74 0a |alendar,| or set.|
|00001920| 60 65 75 72 6f 70 65 61 | 6e 2d 63 61 6c 65 6e 64 |`europea|n-calend|
|00001930| 61 72 2d 73 74 79 6c 65 | 27 20 74 6f 20 74 20 69 |ar-style|' to t i|
|00001940| 6e 20 79 6f 75 72 20 2e | 65 6d 61 63 73 20 66 69 |n your .|emacs fi|
|00001950| 6c 65 2e 20 20 54 68 65 | 20 45 75 72 6f 70 65 61 |le. The| Europea|
|00001960| 6e 20 66 6f 72 6d 73 20 | 61 72 65 0a 0a 20 20 20 |n forms |are.. |
|00001970| 20 20 20 20 20 20 20 20 | 20 44 41 59 2f 4d 4f 4e | | DAY/MON|
|00001980| 54 48 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 44 |TH. | D|
|00001990| 41 59 2f 4d 4f 4e 54 48 | 2f 59 45 41 52 0a 20 20 |AY/MONTH|/YEAR. |
|000019a0| 20 20 20 20 20 20 20 20 | 20 20 44 41 59 20 4d 4f | | DAY MO|
|000019b0| 4e 54 48 4e 41 4d 45 0a | 20 20 20 20 20 20 20 20 |NTHNAME.| |
|000019c0| 20 20 20 20 44 41 59 20 | 4d 4f 4e 54 48 4e 41 4d | DAY |MONTHNAM|
|000019d0| 45 20 59 45 41 52 0a 20 | 20 20 20 20 20 20 20 20 |E YEAR. | |
|000019e0| 20 20 20 44 41 59 4e 41 | 4d 45 0a 0a 54 6f 20 72 | DAYNA|ME..To r|
|000019f0| 65 76 65 72 74 20 74 6f | 20 74 68 65 20 64 65 66 |evert to| the def|
|00001a00| 61 75 6c 74 20 41 6d 65 | 72 69 63 61 6e 20 73 74 |ault Ame|rican st|
|00001a10| 79 6c 65 20 66 72 6f 6d | 20 74 68 65 20 45 75 72 |yle from| the Eur|
|00001a20| 6f 70 65 61 6e 20 73 74 | 79 6c 65 2c 20 65 78 65 |opean st|yle, exe|
|00001a30| 63 75 74 65 0a 60 61 6d | 65 72 69 63 61 6e 2d 63 |cute.`am|erican-c|
|00001a40| 61 6c 65 6e 64 61 72 27 | 20 69 6e 20 74 68 65 20 |alendar'| in the |
|00001a50| 63 61 6c 65 6e 64 61 72 | 2e 0a 0a 41 20 64 69 61 |calendar|...A dia|
|00001a60| 72 79 20 65 6e 74 72 79 | 20 63 61 6e 20 62 65 20 |ry entry| can be |
|00001a70| 70 72 65 63 65 64 65 64 | 20 62 79 20 61 20 64 69 |preceded| by a di|
|00001a80| 61 72 79 2d 6e 6f 6e 6d | 61 72 6b 69 6e 67 2d 73 |ary-nonm|arking-s|
|00001a90| 79 6d 62 6f 6c 20 28 6f | 72 64 69 6e 61 72 69 6c |ymbol (o|rdinaril|
|00001aa0| 79 20 60 26 27 29 0a 74 | 6f 20 6d 61 6b 65 20 74 |y `&').t|o make t|
|00001ab0| 68 61 74 20 65 6e 74 72 | 79 20 6e 6f 6e 6d 61 72 |hat entr|y nonmar|
|00001ac0| 6b 69 6e 67 2d 2d 74 68 | 61 74 20 69 73 2c 20 69 |king--th|at is, i|
|00001ad0| 74 20 77 69 6c 6c 20 6e | 6f 74 20 62 65 20 6d 61 |t will n|ot be ma|
|00001ae0| 72 6b 65 64 20 6f 6e 20 | 64 61 74 65 73 20 69 6e |rked on |dates in|
|00001af0| 0a 74 68 65 20 63 61 6c | 65 6e 64 61 72 20 77 69 |.the cal|endar wi|
|00001b00| 6e 64 6f 77 20 62 75 74 | 20 77 69 6c 6c 20 61 70 |ndow but| will ap|
|00001b10| 70 65 61 72 20 69 6e 20 | 61 20 64 69 61 72 79 20 |pear in |a diary |
|00001b20| 77 69 6e 64 6f 77 2e 0a | 0a 4d 75 6c 74 69 6c 69 |window..|.Multili|
|00001b30| 6e 65 20 64 69 61 72 79 | 20 65 6e 74 72 69 65 73 |ne diary| entries|
|00001b40| 20 61 72 65 20 6d 61 64 | 65 20 62 79 20 69 6e 64 | are mad|e by ind|
|00001b50| 65 6e 74 69 6e 67 20 6c | 69 6e 65 73 20 61 66 74 |enting l|ines aft|
|00001b60| 65 72 20 74 68 65 20 66 | 69 72 73 74 20 77 69 74 |er the f|irst wit|
|00001b70| 68 0a 65 69 74 68 65 72 | 20 61 20 54 41 42 20 6f |h.either| a TAB o|
|00001b80| 72 20 6f 6e 65 20 6f 72 | 20 6d 6f 72 65 20 73 70 |r one or| more sp|
|00001b90| 61 63 65 73 2e 0a 0a 4c | 69 6e 65 73 20 6e 6f 74 |aces...L|ines not|
|00001ba0| 20 69 6e 20 6f 6e 65 20 | 74 68 65 20 61 62 6f 76 | in one |the abov|
|00001bb0| 65 20 66 6f 72 6d 61 74 | 73 20 61 72 65 20 69 67 |e format|s are ig|
|00001bc0| 6e 6f 72 65 64 2e 20 20 | 48 65 72 65 20 61 72 65 |nored. |Here are|
|00001bd0| 20 73 6f 6d 65 20 73 61 | 6d 70 6c 65 20 64 69 61 | some sa|mple dia|
|00001be0| 72 79 0a 65 6e 74 72 69 | 65 73 20 28 69 6e 20 74 |ry.entri|es (in t|
|00001bf0| 68 65 20 64 65 66 61 75 | 6c 74 20 41 6d 65 72 69 |he defau|lt Ameri|
|00001c00| 63 61 6e 20 73 74 79 6c | 65 29 3a 0a 0a 20 20 20 |can styl|e):.. |
|00001c10| 20 20 31 32 2f 32 32 2f | 31 39 38 38 20 54 77 65 | 12/22/|1988 Twe|
|00001c20| 6e 74 69 65 74 68 20 77 | 65 64 64 69 6e 67 20 61 |ntieth w|edding a|
|00001c30| 6e 6e 69 76 65 72 73 61 | 72 79 21 21 0a 20 20 20 |nniversa|ry!!. |
|00001c40| 20 20 26 31 2f 31 2e 20 | 48 61 70 70 79 20 4e 65 | &1/1. |Happy Ne|
|00001c50| 77 20 59 65 61 72 21 0a | 20 20 20 20 20 31 30 2f |w Year!.| 10/|
|00001c60| 32 32 20 52 75 74 68 27 | 73 20 62 69 72 74 68 64 |22 Ruth'|s birthd|
|00001c70| 61 79 2e 0a 20 20 20 20 | 20 32 31 3a 20 50 61 79 |ay.. | 21: Pay|
|00001c80| 64 61 79 0a 20 20 20 20 | 20 54 75 65 73 64 61 79 |day. | Tuesday|
|00001c90| 2d 2d 77 65 65 6b 6c 79 | 20 6d 65 65 74 69 6e 67 |--weekly| meeting|
|00001ca0| 20 77 69 74 68 20 67 72 | 61 64 20 73 74 75 64 65 | with gr|ad stude|
|00001cb0| 6e 74 73 20 61 74 20 31 | 30 61 6d 0a 20 20 20 20 |nts at 1|0am. |
|00001cc0| 20 20 20 20 20 20 20 20 | 20 20 53 75 70 6f 77 69 | | Supowi|
|00001cd0| 74 2c 20 53 68 65 6e 2c | 20 42 69 74 6e 65 72 2c |t, Shen,| Bitner,|
|00001ce0| 20 61 6e 64 20 4b 61 70 | 6f 6f 72 20 74 6f 20 61 | and Kap|oor to a|
|00001cf0| 74 74 65 6e 64 2e 0a 20 | 20 20 20 20 31 2f 31 33 |ttend.. | 1/13|
|00001d00| 2f 38 39 20 46 72 69 64 | 61 79 20 74 68 65 20 74 |/89 Frid|ay the t|
|00001d10| 68 69 72 74 65 65 6e 74 | 68 21 21 0a 20 20 20 20 |hirteent|h!!. |
|00001d20| 20 26 74 68 75 20 34 70 | 6d 20 73 71 75 61 73 68 | &thu 4p|m squash|
|00001d30| 20 67 61 6d 65 20 77 69 | 74 68 20 4c 6c 6f 79 64 | game wi|th Lloyd|
|00001d40| 2e 0a 20 20 20 20 20 6d | 61 72 20 31 36 20 44 61 |.. m|ar 16 Da|
|00001d50| 64 27 73 20 62 69 72 74 | 68 64 61 79 0a 20 20 20 |d's birt|hday. |
|00001d60| 20 20 41 70 72 69 6c 20 | 31 35 2c 20 31 39 38 39 | April |15, 1989|
|00001d70| 20 49 6e 63 6f 6d 65 20 | 74 61 78 20 64 75 65 2e | Income |tax due.|
|00001d80| 0a 20 20 20 20 20 26 2a | 20 31 35 20 74 69 6d 65 |. &*| 15 time|
|00001d90| 20 63 61 72 64 73 20 64 | 75 65 2e 0a 0a 49 66 20 | cards d|ue...If |
|00001da0| 74 68 65 20 66 69 72 73 | 74 20 6c 69 6e 65 20 6f |the firs|t line o|
|00001db0| 66 20 61 20 64 69 61 72 | 79 20 65 6e 74 72 79 20 |f a diar|y entry |
|00001dc0| 63 6f 6e 73 69 73 74 73 | 20 6f 6e 6c 79 20 6f 66 |consists| only of|
|00001dd0| 20 74 68 65 20 64 61 74 | 65 20 6f 72 20 64 61 79 | the dat|e or day|
|00001de0| 20 6e 61 6d 65 20 77 69 | 74 68 0a 6e 6f 20 74 72 | name wi|th.no tr|
|00001df0| 61 69 6c 69 6e 67 20 62 | 6c 61 6e 6b 73 20 6f 72 |ailing b|lanks or|
|00001e00| 20 70 75 6e 63 74 75 61 | 74 69 6f 6e 2c 20 74 68 | punctua|tion, th|
|00001e10| 65 6e 20 74 68 61 74 20 | 6c 69 6e 65 20 77 69 6c |en that |line wil|
|00001e20| 6c 20 6e 6f 74 20 62 65 | 20 64 69 73 70 6c 61 79 |l not be| display|
|00001e30| 65 64 20 69 6e 20 74 68 | 65 0a 64 69 61 72 79 20 |ed in th|e.diary |
|00001e40| 77 69 6e 64 6f 77 3b 20 | 6f 6e 6c 79 20 74 68 65 |window; |only the|
|00001e50| 20 63 6f 6e 74 69 6e 75 | 61 74 69 6f 6e 20 6c 69 | continu|ation li|
|00001e60| 6e 65 73 20 77 69 6c 6c | 20 62 65 20 73 68 6f 77 |nes will| be show|
|00001e70| 6e 2e 20 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |n. For |example,|
|00001e80| 20 74 68 65 0a 73 69 6e | 67 6c 65 20 64 69 61 72 | the.sin|gle diar|
|00001e90| 79 20 65 6e 74 72 79 0a | 0a 20 20 20 20 20 30 32 |y entry.|. 02|
|00001ea0| 2f 31 31 2f 31 39 38 39 | 0a 20 20 20 20 20 20 42 |/11/1989|. B|
|00001eb0| 69 6c 6c 20 42 6c 61 74 | 74 6e 65 72 20 76 69 73 |ill Blat|tner vis|
|00001ec0| 69 74 73 20 50 72 69 6e | 63 65 74 6f 6e 20 74 6f |its Prin|ceton to|
|00001ed0| 64 61 79 0a 20 20 20 20 | 20 20 32 70 6d 20 43 6f |day. | 2pm Co|
|00001ee0| 67 6e 69 74 69 76 65 20 | 53 74 75 64 69 65 73 20 |gnitive |Studies |
|00001ef0| 43 6f 6d 6d 69 74 74 65 | 65 20 6d 65 65 74 69 6e |Committe|e meetin|
|00001f00| 67 0a 20 20 20 20 20 20 | 32 3a 33 30 2d 35 3a 33 |g. |2:30-5:3|
|00001f10| 30 20 4c 69 7a 7a 69 65 | 20 61 74 20 4c 61 77 72 |0 Lizzie| at Lawr|
|00001f20| 65 6e 63 65 76 69 6c 6c | 65 20 66 6f 72 20 60 47 |encevill|e for `G|
|00001f30| 72 6f 75 70 20 49 6e 69 | 74 69 61 74 69 76 65 27 |roup Ini|tiative'|
|00001f40| 0a 20 20 20 20 20 20 34 | 3a 30 30 70 6d 20 4a 61 |. 4|:00pm Ja|
|00001f50| 6d 69 65 20 54 61 70 70 | 65 6e 64 65 6e 0a 20 20 |mie Tapp|enden. |
|00001f60| 20 20 20 20 37 3a 33 30 | 70 6d 20 44 69 6e 6e 65 | 7:30|pm Dinne|
|00001f70| 72 20 61 74 20 47 65 6f | 72 67 65 20 61 6e 64 20 |r at Geo|rge and |
|00001f80| 45 64 27 73 20 66 6f 72 | 20 41 6c 61 6e 20 52 79 |Ed's for| Alan Ry|
|00001f90| 61 6e 0a 20 20 20 20 20 | 20 37 3a 33 30 2d 31 30 |an. | 7:30-10|
|00001fa0| 3a 30 30 70 6d 20 64 61 | 6e 63 65 20 61 74 20 53 |:00pm da|nce at S|
|00001fb0| 74 65 77 61 72 74 20 43 | 6f 75 6e 74 72 79 20 44 |tewart C|ountry D|
|00001fc0| 61 79 20 53 63 68 6f 6f | 6c 0a 0a 77 69 6c 6c 20 |ay Schoo|l..will |
|00001fd0| 61 70 70 65 61 72 20 69 | 6e 20 74 68 65 20 64 69 |appear i|n the di|
|00001fe0| 61 72 79 20 77 69 6e 64 | 6f 77 20 77 69 74 68 6f |ary wind|ow witho|
|00001ff0| 75 74 20 74 68 65 20 64 | 61 74 65 20 6c 69 6e 65 |ut the d|ate line|
|00002000| 20 61 74 20 74 68 65 20 | 62 65 67 69 6e 6e 69 6e | at the |beginnin|
|00002010| 67 2e 20 20 54 68 69 73 | 0a 66 61 63 69 6c 69 74 |g. This|.facilit|
|00002020| 79 20 61 6c 6c 6f 77 73 | 20 74 68 65 20 64 69 61 |y allows| the dia|
|00002030| 72 79 20 77 69 6e 64 6f | 77 20 74 6f 20 6c 6f 6f |ry windo|w to loo|
|00002040| 6b 20 6e 65 61 74 65 72 | 2c 20 62 75 74 20 63 61 |k neater|, but ca|
|00002050| 6e 20 63 61 75 73 65 20 | 63 6f 6e 66 75 73 69 6f |n cause |confusio|
|00002060| 6e 20 69 66 0a 75 73 65 | 64 20 77 69 74 68 20 6d |n if.use|d with m|
|00002070| 6f 72 65 20 74 68 61 6e | 20 6f 6e 65 20 64 61 79 |ore than| one day|
|00002080| 27 73 20 65 6e 74 72 69 | 65 73 20 64 69 73 70 6c |'s entri|es displ|
|00002090| 61 79 65 64 2e 0a 0a 44 | 69 61 72 79 20 65 6e 74 |ayed...D|iary ent|
|000020a0| 72 69 65 73 20 63 61 6e | 20 62 65 20 62 61 73 65 |ries can| be base|
|000020b0| 64 20 6f 6e 20 4c 69 73 | 70 20 73 65 78 70 73 2e |d on Lis|p sexps.|
|000020c0| 20 20 46 6f 72 20 65 78 | 61 6d 70 6c 65 2c 20 74 | For ex|ample, t|
|000020d0| 68 65 20 64 69 61 72 79 | 20 65 6e 74 72 79 0a 0a |he diary| entry..|
|000020e0| 20 20 20 20 20 20 25 25 | 28 64 69 61 72 79 2d 62 | %%|(diary-b|
|000020f0| 6c 6f 63 6b 20 31 31 20 | 31 20 31 39 39 30 20 31 |lock 11 |1 1990 1|
|00002100| 31 20 31 30 20 31 39 39 | 30 29 20 56 61 63 61 74 |1 10 199|0) Vacat|
|00002110| 69 6f 6e 0a 0a 63 61 75 | 73 65 73 20 74 68 65 20 |ion..cau|ses the |
|00002120| 64 69 61 72 79 20 65 6e | 74 72 79 20 5c 22 56 61 |diary en|try \"Va|
|00002130| 63 61 74 69 6f 6e 5c 22 | 20 74 6f 20 61 70 70 65 |cation\"| to appe|
|00002140| 61 72 20 66 72 6f 6d 20 | 4e 6f 76 65 6d 62 65 72 |ar from |November|
|00002150| 20 31 20 74 68 72 6f 75 | 67 68 20 4e 6f 76 65 6d | 1 throu|gh Novem|
|00002160| 62 65 72 0a 31 30 2c 20 | 31 39 39 30 2e 20 20 4f |ber.10, |1990. O|
|00002170| 74 68 65 72 20 66 75 6e | 63 74 69 6f 6e 73 20 61 |ther fun|ctions a|
|00002180| 76 61 69 6c 61 62 6c 65 | 20 61 72 65 20 60 64 69 |vailable| are `di|
|00002190| 61 72 79 2d 66 6c 6f 61 | 74 27 2c 20 60 64 69 61 |ary-floa|t', `dia|
|000021a0| 72 79 2d 61 6e 6e 69 76 | 65 72 73 61 72 79 27 2c |ry-anniv|ersary',|
|000021b0| 0a 60 64 69 61 72 79 2d | 63 79 63 6c 69 63 27 2c |.`diary-|cyclic',|
|000021c0| 20 60 64 69 61 72 79 2d | 64 61 79 2d 6f 66 2d 79 | `diary-|day-of-y|
|000021d0| 65 61 72 27 2c 20 60 64 | 69 61 72 79 2d 69 73 6f |ear', `d|iary-iso|
|000021e0| 2d 64 61 74 65 27 2c 20 | 60 64 69 61 72 79 2d 66 |-date', |`diary-f|
|000021f0| 72 65 6e 63 68 2d 64 61 | 74 65 27 2c 0a 60 64 69 |rench-da|te',.`di|
|00002200| 61 72 79 2d 68 65 62 72 | 65 77 2d 64 61 74 65 27 |ary-hebr|ew-date'|
|00002210| 2c 20 60 64 69 61 72 79 | 2d 69 73 6c 61 6d 69 63 |, `diary|-islamic|
|00002220| 2d 64 61 74 65 27 2c 20 | 60 64 69 61 72 79 2d 6d |-date', |`diary-m|
|00002230| 61 79 61 6e 2d 64 61 74 | 65 27 2c 0a 60 64 69 61 |ayan-dat|e',.`dia|
|00002240| 72 79 2d 79 61 68 72 7a | 65 69 74 27 2c 20 60 64 |ry-yahrz|eit', `d|
|00002250| 69 61 72 79 2d 73 75 6e | 72 69 73 65 2d 73 75 6e |iary-sun|rise-sun|
|00002260| 73 65 74 27 2c 20 60 64 | 69 61 72 79 2d 70 68 61 |set', `d|iary-pha|
|00002270| 73 65 73 2d 6f 66 2d 6d | 6f 6f 6e 27 2c 0a 60 64 |ses-of-m|oon',.`d|
|00002280| 69 61 72 79 2d 70 61 72 | 61 73 68 61 27 2c 20 60 |iary-par|asha', `|
|00002290| 64 69 61 72 79 2d 6f 6d | 65 72 27 2c 20 60 64 69 |diary-om|er', `di|
|000022a0| 61 72 79 2d 72 6f 73 68 | 2d 68 6f 64 65 73 68 27 |ary-rosh|-hodesh'|
|000022b0| 2c 20 61 6e 64 0a 60 64 | 69 61 72 79 2d 73 61 62 |, and.`d|iary-sab|
|000022c0| 62 61 74 68 2d 63 61 6e | 64 6c 65 73 27 2e 20 20 |bath-can|dles'. |
|000022d0| 53 65 65 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |See the |document|
|000022e0| 61 74 69 6f 6e 20 66 6f | 72 20 74 68 65 20 66 75 |ation fo|r the fu|
|000022f0| 6e 63 74 69 6f 6e 0a 60 | 6c 69 73 74 2d 73 65 78 |nction.`|list-sex|
|00002300| 70 2d 64 69 61 72 79 2d | 65 6e 74 72 69 65 73 27 |p-diary-|entries'|
|00002310| 20 66 6f 72 20 6d 6f 72 | 65 20 64 65 74 61 69 6c | for mor|e detail|
|00002320| 73 2e 0a 0a 44 69 61 72 | 79 20 65 6e 74 72 69 65 |s...Diar|y entrie|
|00002330| 73 20 62 61 73 65 64 20 | 6f 6e 20 74 68 65 20 48 |s based |on the H|
|00002340| 65 62 72 65 77 20 61 6e | 64 2f 6f 72 20 74 68 65 |ebrew an|d/or the|
|00002350| 20 49 73 6c 61 6d 69 63 | 20 63 61 6c 65 6e 64 61 | Islamic| calenda|
|00002360| 72 20 61 72 65 20 61 6c | 73 6f 0a 70 6f 73 73 69 |r are al|so.possi|
|00002370| 62 6c 65 2c 20 62 75 74 | 20 62 65 63 61 75 73 65 |ble, but| because|
|00002380| 20 74 68 65 73 65 20 61 | 72 65 20 73 6f 6d 65 77 | these a|re somew|
|00002390| 68 61 74 20 73 6c 6f 77 | 2c 20 74 68 65 79 20 61 |hat slow|, they a|
|000023a0| 72 65 20 69 67 6e 6f 72 | 65 64 0a 75 6e 6c 65 73 |re ignor|ed.unles|
|000023b0| 73 20 79 6f 75 20 73 65 | 74 20 74 68 65 20 60 6e |s you se|t the `n|
|000023c0| 6f 6e 67 72 65 67 6f 72 | 69 61 6e 2d 64 69 61 72 |ongregor|ian-diar|
|000023d0| 79 2d 6c 69 73 74 69 6e | 67 2d 68 6f 6f 6b 27 20 |y-listin|g-hook' |
|000023e0| 61 6e 64 20 74 68 65 0a | 60 6e 6f 6e 67 72 65 67 |and the.|`nongreg|
|000023f0| 6f 72 69 61 6e 2d 64 69 | 61 72 79 2d 6d 61 72 6b |orian-di|ary-mark|
|00002400| 69 6e 67 2d 68 6f 6f 6b | 27 20 61 70 70 72 6f 70 |ing-hook|' approp|
|00002410| 72 69 61 74 65 6c 79 2e | 20 20 53 65 65 20 74 68 |riately.| See th|
|00002420| 65 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 0a |e docume|ntation.|
|00002430| 66 6f 72 20 74 68 65 73 | 65 20 66 75 6e 63 74 69 |for thes|e functi|
|00002440| 6f 6e 73 20 66 6f 72 20 | 64 65 74 61 69 6c 73 2e |ons for |details.|
|00002450| 0a 0a 44 69 61 72 79 20 | 66 69 6c 65 73 20 63 61 |..Diary |files ca|
|00002460| 6e 20 63 6f 6e 74 61 69 | 6e 20 64 69 72 65 63 74 |n contai|n direct|
|00002470| 69 76 65 73 20 74 6f 20 | 69 6e 63 6c 75 64 65 20 |ives to |include |
|00002480| 74 68 65 20 63 6f 6e 74 | 65 6e 74 73 20 6f 66 20 |the cont|ents of |
|00002490| 6f 74 68 65 72 20 66 69 | 6c 65 73 3b 20 66 6f 72 |other fi|les; for|
|000024a0| 0a 64 65 74 61 69 6c 73 | 2c 20 73 65 65 20 74 68 |.details|, see th|
|000024b0| 65 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 20 |e docume|ntation |
|000024c0| 66 6f 72 20 74 68 65 20 | 76 61 72 69 61 62 6c 65 |for the |variable|
|000024d0| 20 60 6c 69 73 74 2d 64 | 69 61 72 79 2d 65 6e 74 | `list-d|iary-ent|
|000024e0| 72 69 65 73 2d 68 6f 6f | 6b 27 2e 22 29 0a 28 64 |ries-hoo|k'.").(d|
|000024f0| 65 66 76 61 72 20 64 69 | 61 72 79 2d 6e 6f 6e 6d |efvar di|ary-nonm|
|00002500| 61 72 6b 69 6e 67 2d 73 | 79 6d 62 6f 6c 20 22 26 |arking-s|ymbol "&|
|00002510| 22 20 22 5c 0a 2a 54 68 | 65 20 73 79 6d 62 6f 6c |" "\.*Th|e symbol|
|00002520| 20 75 73 65 64 20 74 6f | 20 69 6e 64 69 63 61 74 | used to| indicat|
|00002530| 65 20 74 68 61 74 20 61 | 20 64 69 61 72 79 20 65 |e that a| diary e|
|00002540| 6e 74 72 79 20 69 73 20 | 6e 6f 74 20 74 6f 20 62 |ntry is |not to b|
|00002550| 65 20 6d 61 72 6b 65 64 | 20 69 6e 20 74 68 65 0a |e marked| in the.|
|00002560| 63 61 6c 65 6e 64 61 72 | 20 77 69 6e 64 6f 77 2e |calendar| window.|
|00002570| 22 29 0a 28 64 65 66 76 | 61 72 20 68 65 62 72 65 |").(defv|ar hebre|
|00002580| 77 2d 64 69 61 72 79 2d | 65 6e 74 72 79 2d 73 79 |w-diary-|entry-sy|
|00002590| 6d 62 6f 6c 20 22 48 22 | 20 22 5c 0a 2a 54 68 65 |mbol "H"| "\.*The|
|000025a0| 20 73 79 6d 62 6f 6c 20 | 75 73 65 64 20 74 6f 20 | symbol |used to |
|000025b0| 69 6e 64 69 63 61 74 65 | 20 74 68 61 74 20 61 20 |indicate| that a |
|000025c0| 64 69 61 72 79 20 65 6e | 74 72 79 20 69 73 20 61 |diary en|try is a|
|000025d0| 63 63 6f 72 64 69 6e 67 | 20 74 6f 20 74 68 65 0a |ccording| to the.|
|000025e0| 48 65 62 72 65 77 20 63 | 61 6c 65 6e 64 61 72 2e |Hebrew c|alendar.|
|000025f0| 22 29 0a 28 64 65 66 76 | 61 72 20 69 73 6c 61 6d |").(defv|ar islam|
|00002600| 69 63 2d 64 69 61 72 79 | 2d 65 6e 74 72 79 2d 73 |ic-diary|-entry-s|
|00002610| 79 6d 62 6f 6c 20 22 49 | 22 20 22 5c 0a 2a 54 68 |ymbol "I|" "\.*Th|
|00002620| 65 20 73 79 6d 62 6f 6c | 20 75 73 65 64 20 74 6f |e symbol| used to|
|00002630| 20 69 6e 64 69 63 61 74 | 65 20 74 68 61 74 20 61 | indicat|e that a|
|00002640| 20 64 69 61 72 79 20 65 | 6e 74 72 79 20 69 73 20 | diary e|ntry is |
|00002650| 61 63 63 6f 72 64 69 6e | 67 20 74 6f 20 74 68 65 |accordin|g to the|
|00002660| 0a 49 73 6c 61 6d 69 63 | 20 63 61 6c 65 6e 64 61 |.Islamic| calenda|
|00002670| 72 2e 22 29 0a 28 64 65 | 66 76 61 72 20 64 69 61 |r.").(de|fvar dia|
|00002680| 72 79 2d 69 6e 63 6c 75 | 64 65 2d 73 74 72 69 6e |ry-inclu|de-strin|
|00002690| 67 20 22 23 69 6e 63 6c | 75 64 65 22 20 22 5c 0a |g "#incl|ude" "\.|
|000026a0| 2a 54 68 65 20 73 74 72 | 69 6e 67 20 75 73 65 64 |*The str|ing used|
|000026b0| 20 74 6f 20 69 6e 64 69 | 63 61 74 65 20 74 68 65 | to indi|cate the|
|000026c0| 20 69 6e 63 6c 75 73 69 | 6f 6e 20 6f 66 20 61 6e | inclusi|on of an|
|000026d0| 6f 74 68 65 72 20 66 69 | 6c 65 20 6f 66 20 64 69 |other fi|le of di|
|000026e0| 61 72 79 20 65 6e 74 72 | 69 65 73 0a 69 6e 20 64 |ary entr|ies.in d|
|000026f0| 69 61 72 79 2d 66 69 6c | 65 2e 20 20 53 65 65 20 |iary-fil|e. See |
|00002700| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |the docu|mentatio|
|00002710| 6e 20 66 6f 72 20 74 68 | 65 20 66 75 6e 63 74 69 |n for th|e functi|
|00002720| 6f 6e 0a 60 69 6e 63 6c | 75 64 65 2d 6f 74 68 65 |on.`incl|ude-othe|
|00002730| 72 2d 64 69 61 72 79 2d | 66 69 6c 65 73 27 2e 22 |r-diary-|files'."|
|00002740| 29 0a 28 64 65 66 76 61 | 72 20 73 65 78 70 2d 64 |).(defva|r sexp-d|
|00002750| 69 61 72 79 2d 65 6e 74 | 72 79 2d 73 79 6d 62 6f |iary-ent|ry-symbo|
|00002760| 6c 20 22 25 25 22 20 22 | 5c 0a 2a 54 68 65 20 73 |l "%%" "|\.*The s|
|00002770| 74 72 69 6e 67 20 75 73 | 65 64 20 74 6f 20 69 6e |tring us|ed to in|
|00002780| 64 69 63 61 74 65 20 61 | 20 73 65 78 70 20 64 69 |dicate a| sexp di|
|00002790| 61 72 79 20 65 6e 74 72 | 79 20 69 6e 20 64 69 61 |ary entr|y in dia|
|000027a0| 72 79 2d 66 69 6c 65 2e | 0a 53 65 65 20 74 68 65 |ry-file.|.See the|
|000027b0| 20 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 20 66 | documen|tation f|
|000027c0| 6f 72 20 74 68 65 20 66 | 75 6e 63 74 69 6f 6e 20 |or the f|unction |
|000027d0| 60 6c 69 73 74 2d 73 65 | 78 70 2d 64 69 61 72 79 |`list-se|xp-diary|
|000027e0| 2d 65 6e 74 72 69 65 73 | 27 2e 22 29 0a 28 64 65 |-entries|'.").(de|
|000027f0| 66 76 61 72 20 61 62 62 | 72 65 76 69 61 74 65 64 |fvar abb|reviated|
|00002800| 2d 63 61 6c 65 6e 64 61 | 72 2d 79 65 61 72 20 74 |-calenda|r-year t|
|00002810| 20 22 5c 0a 2a 49 6e 74 | 65 72 70 72 65 74 20 61 | "\.*Int|erpret a|
|00002820| 20 74 77 6f 2d 64 69 67 | 69 74 20 79 65 61 72 20 | two-dig|it year |
|00002830| 44 44 20 69 6e 20 61 20 | 64 69 61 72 79 20 65 6e |DD in a |diary en|
|00002840| 74 72 79 20 61 73 20 62 | 65 69 6e 67 20 65 69 74 |try as b|eing eit|
|00002850| 68 65 72 20 31 39 44 44 | 20 6f 72 0a 32 30 44 44 |her 19DD| or.20DD|
|00002860| 2c 20 61 73 20 61 70 70 | 72 6f 70 72 69 61 74 65 |, as app|ropriate|
|00002870| 2c 20 66 6f 72 20 74 68 | 65 20 47 72 65 67 6f 72 |, for th|e Gregor|
|00002880| 69 61 6e 20 63 61 6c 65 | 6e 64 61 72 3b 20 73 69 |ian cale|ndar; si|
|00002890| 6d 69 6c 61 72 6c 79 20 | 66 6f 72 20 74 68 65 20 |milarly |for the |
|000028a0| 48 65 62 72 65 77 20 61 | 6e 64 0a 49 73 6c 61 6d |Hebrew a|nd.Islam|
|000028b0| 69 63 20 63 61 6c 65 6e | 64 61 72 73 2e 20 20 49 |ic calen|dars. I|
|000028c0| 66 20 74 68 69 73 20 76 | 61 72 69 61 62 6c 65 20 |f this v|ariable |
|000028d0| 69 73 20 6e 69 6c 2c 20 | 79 65 61 72 73 20 6d 75 |is nil, |years mu|
|000028e0| 73 74 20 62 65 20 77 72 | 69 74 74 65 6e 20 69 6e |st be wr|itten in|
|000028f0| 20 66 75 6c 6c 2e 22 29 | 0a 28 64 65 66 76 61 72 | full.")|.(defvar|
|00002900| 20 65 75 72 6f 70 65 61 | 6e 2d 63 61 6c 65 6e 64 | europea|n-calend|
|00002910| 61 72 2d 73 74 79 6c 65 | 20 6e 69 6c 20 22 5c 0a |ar-style| nil "\.|
|00002920| 2a 55 73 65 20 74 68 65 | 20 45 75 72 6f 70 65 61 |*Use the| Europea|
|00002930| 6e 20 73 74 79 6c 65 20 | 6f 66 20 64 61 74 65 73 |n style |of dates|
|00002940| 20 69 6e 20 74 68 65 20 | 64 69 61 72 79 20 61 6e | in the |diary an|
|00002950| 64 20 69 6e 20 61 6e 79 | 20 64 69 73 70 6c 61 79 |d in any| display|
|00002960| 73 2e 20 20 49 66 20 74 | 68 69 73 0a 76 61 72 69 |s. If t|his.vari|
|00002970| 61 62 6c 65 20 69 73 20 | 74 2c 20 61 20 64 61 74 |able is |t, a dat|
|00002980| 65 20 31 2f 32 2f 31 39 | 39 30 20 77 6f 75 6c 64 |e 1/2/19|90 would|
|00002990| 20 62 65 20 69 6e 74 65 | 72 70 72 65 74 65 64 20 | be inte|rpreted |
|000029a0| 61 73 20 46 65 62 72 75 | 61 72 79 20 31 2c 20 31 |as Febru|ary 1, 1|
|000029b0| 39 39 30 2e 0a 54 68 65 | 20 61 63 63 65 70 74 65 |990..The| accepte|
|000029c0| 64 20 45 75 72 6f 70 65 | 61 6e 20 64 61 74 65 20 |d Europe|an date |
|000029d0| 73 74 79 6c 65 73 20 61 | 72 65 0a 0a 20 20 20 20 |styles a|re.. |
|000029e0| 20 20 20 20 20 20 20 20 | 44 41 59 2f 4d 4f 4e 54 | |DAY/MONT|
|000029f0| 48 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 44 41 |H. | DA|
|00002a00| 59 2f 4d 4f 4e 54 48 2f | 59 45 41 52 0a 20 20 20 |Y/MONTH/|YEAR. |
|00002a10| 20 20 20 20 20 20 20 20 | 20 44 41 59 20 4d 4f 4e | | DAY MON|
|00002a20| 54 48 4e 41 4d 45 0a 20 | 20 20 20 20 20 20 20 20 |THNAME. | |
|00002a30| 20 20 20 44 41 59 20 4d | 4f 4e 54 48 4e 41 4d 45 | DAY M|ONTHNAME|
|00002a40| 20 59 45 41 52 0a 20 20 | 20 20 20 20 20 20 20 20 | YEAR. | |
|00002a50| 20 20 44 41 59 4e 41 4d | 45 0a 0a 4e 61 6d 65 73 | DAYNAM|E..Names|
|00002a60| 20 63 61 6e 20 62 65 20 | 63 61 70 69 74 61 6c 69 | can be |capitali|
|00002a70| 7a 65 64 20 6f 72 20 6e | 6f 74 2c 20 77 72 69 74 |zed or n|ot, writ|
|00002a80| 74 65 6e 20 69 6e 20 66 | 75 6c 6c 2c 20 6f 72 20 |ten in f|ull, or |
|00002a90| 61 62 62 72 65 76 69 61 | 74 65 64 20 74 6f 20 74 |abbrevia|ted to t|
|00002aa0| 68 72 65 65 0a 63 68 61 | 72 61 63 74 65 72 73 20 |hree.cha|racters |
|00002ab0| 77 69 74 68 20 6f 72 20 | 77 69 74 68 6f 75 74 20 |with or |without |
|00002ac0| 61 20 70 65 72 69 6f 64 | 2e 22 29 0a 28 64 65 66 |a period|.").(def|
|00002ad0| 76 61 72 20 61 6d 65 72 | 69 63 61 6e 2d 64 61 74 |var amer|ican-dat|
|00002ae0| 65 2d 64 69 61 72 79 2d | 70 61 74 74 65 72 6e 20 |e-diary-|pattern |
|00002af0| 27 28 28 6d 6f 6e 74 68 | 20 22 2f 22 20 64 61 79 |'((month| "/" day|
|00002b00| 20 22 5b 5e 2f 30 2d 39 | 5d 22 29 20 28 6d 6f 6e | "[^/0-9|]") (mon|
|00002b10| 74 68 20 22 2f 22 20 64 | 61 79 20 22 2f 22 20 79 |th "/" d|ay "/" y|
|00002b20| 65 61 72 20 22 5b 5e 30 | 2d 39 5d 22 29 20 28 6d |ear "[^0|-9]") (m|
|00002b30| 6f 6e 74 68 6e 61 6d 65 | 20 22 20 2a 22 20 64 61 |onthname| " *" da|
|00002b40| 79 20 22 5b 5e 2c 30 2d | 39 5d 22 29 20 28 6d 6f |y "[^,0-|9]") (mo|
|00002b50| 6e 74 68 6e 61 6d 65 20 | 22 20 2a 22 20 64 61 79 |nthname |" *" day|
|00002b60| 20 22 2c 20 2a 22 20 79 | 65 61 72 20 22 5b 5e 30 | ", *" y|ear "[^0|
|00002b70| 2d 39 5d 22 29 20 28 64 | 61 79 6e 61 6d 65 20 22 |-9]") (d|ayname "|
|00002b80| 5c 5c 57 22 29 29 20 22 | 5c 0a 2a 4c 69 73 74 20 |\\W")) "|\.*List |
|00002b90| 6f 66 20 70 73 65 75 64 | 6f 2d 70 61 74 74 65 72 |of pseud|o-patter|
|00002ba0| 6e 73 20 64 65 73 63 72 | 69 62 69 6e 67 20 74 68 |ns descr|ibing th|
|00002bb0| 65 20 41 6d 65 72 69 63 | 61 6e 20 70 61 74 74 65 |e Americ|an patte|
|00002bc0| 72 6e 73 20 6f 66 20 64 | 61 74 65 20 75 73 65 64 |rns of d|ate used|
|00002bd0| 2e 0a 53 65 65 20 74 68 | 65 20 64 6f 63 75 6d 65 |..See th|e docume|
|00002be0| 6e 74 61 74 69 6f 6e 20 | 6f 66 20 64 69 61 72 79 |ntation |of diary|
|00002bf0| 2d 64 61 74 65 2d 66 6f | 72 6d 73 20 66 6f 72 20 |-date-fo|rms for |
|00002c00| 61 6e 20 65 78 70 6c 61 | 6e 61 6e 74 69 6f 6e 2e |an expla|nantion.|
|00002c10| 22 29 0a 28 64 65 66 76 | 61 72 20 65 75 72 6f 70 |").(defv|ar europ|
|00002c20| 65 61 6e 2d 64 61 74 65 | 2d 64 69 61 72 79 2d 70 |ean-date|-diary-p|
|00002c30| 61 74 74 65 72 6e 20 27 | 28 28 64 61 79 20 22 2f |attern '|((day "/|
|00002c40| 22 20 6d 6f 6e 74 68 20 | 22 5b 5e 2f 30 2d 39 5d |" month |"[^/0-9]|
|00002c50| 22 29 20 28 64 61 79 20 | 22 2f 22 20 6d 6f 6e 74 |") (day |"/" mont|
|00002c60| 68 20 22 2f 22 20 79 65 | 61 72 20 22 5b 5e 30 2d |h "/" ye|ar "[^0-|
|00002c70| 39 5d 22 29 20 28 62 61 | 63 6b 75 70 20 64 61 79 |9]") (ba|ckup day|
|00002c80| 20 22 20 2a 22 20 6d 6f | 6e 74 68 6e 61 6d 65 20 | " *" mo|nthname |
|00002c90| 22 5c 5c 57 2b 5c 5c 3c | 5b 5e 2a 30 2d 39 5d 22 |"\\W+\\<|[^*0-9]"|
|00002ca0| 29 20 28 64 61 79 20 22 | 20 2a 22 20 6d 6f 6e 74 |) (day "| *" mont|
|00002cb0| 68 6e 61 6d 65 20 22 20 | 2a 22 20 79 65 61 72 20 |hname " |*" year |
|00002cc0| 22 5b 5e 30 2d 39 5d 22 | 29 20 28 64 61 79 6e 61 |"[^0-9]"|) (dayna|
|00002cd0| 6d 65 20 22 5c 5c 57 22 | 29 29 20 22 5c 0a 2a 4c |me "\\W"|)) "\.*L|
|00002ce0| 69 73 74 20 6f 66 20 70 | 73 65 75 64 6f 2d 70 61 |ist of p|seudo-pa|
|00002cf0| 74 74 65 72 6e 73 20 64 | 65 73 63 72 69 62 69 6e |tterns d|escribin|
|00002d00| 67 20 74 68 65 20 45 75 | 72 6f 70 65 61 6e 20 70 |g the Eu|ropean p|
|00002d10| 61 74 74 65 72 6e 73 20 | 6f 66 20 64 61 74 65 20 |atterns |of date |
|00002d20| 75 73 65 64 2e 0a 53 65 | 65 20 74 68 65 20 64 6f |used..Se|e the do|
|00002d30| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 6f 66 20 64 |cumentat|ion of d|
|00002d40| 69 61 72 79 2d 64 61 74 | 65 2d 66 6f 72 6d 73 20 |iary-dat|e-forms |
|00002d50| 66 6f 72 20 61 6e 20 65 | 78 70 6c 61 6e 61 6e 74 |for an e|xplanant|
|00002d60| 69 6f 6e 2e 22 29 0a 28 | 64 65 66 76 61 72 20 64 |ion.").(|defvar d|
|00002d70| 69 61 72 79 2d 64 61 74 | 65 2d 66 6f 72 6d 73 20 |iary-dat|e-forms |
|00002d80| 28 62 79 74 65 2d 63 6f | 64 65 20 22 08 ab 82 09 |(byte-co|de "....|
|00002d90| 87 5c 6e 87 22 20 5b 65 | 75 72 6f 70 65 61 6e 2d |.\n." [e|uropean-|
|00002da0| 63 61 6c 65 6e 64 61 72 | 2d 73 74 79 6c 65 20 65 |calendar|-style e|
|00002db0| 75 72 6f 70 65 61 6e 2d | 64 61 74 65 2d 64 69 61 |uropean-|date-dia|
|00002dc0| 72 79 2d 70 61 74 74 65 | 72 6e 20 61 6d 65 72 69 |ry-patte|rn ameri|
|00002dd0| 63 61 6e 2d 64 61 74 65 | 2d 64 69 61 72 79 2d 70 |can-date|-diary-p|
|00002de0| 61 74 74 65 72 6e 5d 20 | 31 29 20 22 5c 0a 2a 4c |attern] |1) "\.*L|
|00002df0| 69 73 74 20 6f 66 20 70 | 73 65 75 64 6f 2d 70 61 |ist of p|seudo-pa|
|00002e00| 74 74 65 72 6e 73 20 64 | 65 73 63 72 69 62 69 6e |tterns d|escribin|
|00002e10| 67 20 74 68 65 20 66 6f | 72 6d 73 20 6f 66 20 64 |g the fo|rms of d|
|00002e20| 61 74 65 20 75 73 65 64 | 20 69 6e 20 74 68 65 20 |ate used| in the |
|00002e30| 64 69 61 72 79 2e 0a 54 | 68 65 20 70 61 74 74 65 |diary..T|he patte|
|00002e40| 72 6e 73 20 6f 6e 20 74 | 68 65 20 6c 69 73 74 20 |rns on t|he list |
|00002e50| 6d 75 73 74 20 62 65 20 | 4d 55 54 55 41 4c 4c 59 |must be |MUTUALLY|
|00002e60| 20 45 58 43 4c 55 53 49 | 56 45 20 61 6e 64 20 6d | EXCLUSI|VE and m|
|00002e70| 75 73 74 20 73 68 6f 75 | 6c 64 20 6e 6f 74 20 6d |ust shou|ld not m|
|00002e80| 61 74 63 68 0a 61 6e 79 | 20 70 6f 72 74 69 6f 6e |atch.any| portion|
|00002e90| 20 6f 66 20 74 68 65 20 | 64 69 61 72 79 20 65 6e | of the |diary en|
|00002ea0| 74 72 79 20 69 74 73 65 | 6c 66 2c 20 6a 75 73 74 |try itse|lf, just|
|00002eb0| 20 74 68 65 20 64 61 74 | 65 20 63 6f 6d 70 6f 6e | the dat|e compon|
|00002ec0| 65 6e 74 2e 0a 0a 41 20 | 70 73 65 75 64 6f 2d 70 |ent...A |pseudo-p|
|00002ed0| 61 74 74 65 72 6e 20 69 | 73 20 61 20 6c 69 73 74 |attern i|s a list|
|00002ee0| 20 6f 66 20 72 65 67 75 | 6c 61 72 20 65 78 70 72 | of regu|lar expr|
|00002ef0| 65 73 73 69 6f 6e 73 20 | 61 6e 64 20 74 68 65 20 |essions |and the |
|00002f00| 6b 65 79 77 6f 72 64 73 | 20 60 6d 6f 6e 74 68 27 |keywords| `month'|
|00002f10| 2c 0a 60 64 61 79 27 2c | 20 60 79 65 61 72 27 2c |,.`day',| `year',|
|00002f20| 20 60 6d 6f 6e 74 68 6e | 61 6d 65 27 2c 20 61 6e | `monthn|ame', an|
|00002f30| 64 20 60 64 61 79 6e 61 | 6d 65 27 2e 20 20 54 68 |d `dayna|me'. Th|
|00002f40| 65 20 6b 65 79 77 6f 72 | 64 20 60 6d 6f 6e 74 68 |e keywor|d `month|
|00002f50| 6e 61 6d 65 27 20 77 69 | 6c 6c 0a 6d 61 74 63 68 |name' wi|ll.match|
|00002f60| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 74 68 65 | the nam|e of the|
|00002f70| 20 6d 6f 6e 74 68 2c 20 | 63 61 70 69 74 61 6c 69 | month, |capitali|
|00002f80| 7a 65 64 20 6f 72 20 6e | 6f 74 2c 20 6f 72 20 69 |zed or n|ot, or i|
|00002f90| 74 73 20 74 68 72 65 65 | 2d 6c 65 74 74 65 72 0a |ts three|-letter.|
|00002fa0| 61 62 62 72 65 76 69 61 | 74 69 6f 6e 2c 20 66 6f |abbrevia|tion, fo|
|00002fb0| 6c 6c 6f 77 65 64 20 62 | 79 20 61 20 70 65 72 69 |llowed b|y a peri|
|00002fc0| 6f 64 20 6f 72 20 6e 6f | 74 3b 20 69 74 20 77 69 |od or no|t; it wi|
|00002fd0| 6c 6c 20 61 6c 73 6f 20 | 6d 61 74 63 68 20 60 2a |ll also |match `*|
|00002fe0| 27 2e 0a 53 69 6d 69 6c | 61 72 6c 79 2c 20 60 64 |'..Simil|arly, `d|
|00002ff0| 61 79 6e 61 6d 65 27 20 | 77 69 6c 6c 20 6d 61 74 |ayname' |will mat|
|00003000| 63 68 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 74 |ch the n|ame of t|
|00003010| 68 65 20 64 61 79 2c 20 | 63 61 70 69 74 61 6c 69 |he day, |capitali|
|00003020| 7a 65 64 20 6f 72 20 6e | 6f 74 2c 20 6f 72 0a 69 |zed or n|ot, or.i|
|00003030| 74 73 20 74 68 72 65 65 | 2d 6c 65 74 74 65 72 20 |ts three|-letter |
|00003040| 61 62 62 72 65 76 69 61 | 74 69 6f 6e 2c 20 66 6f |abbrevia|tion, fo|
|00003050| 6c 6c 6f 77 65 64 20 62 | 79 20 61 20 70 65 72 69 |llowed b|y a peri|
|00003060| 6f 64 20 6f 72 20 6e 6f | 74 2e 20 20 54 68 65 20 |od or no|t. The |
|00003070| 6b 65 79 77 6f 72 64 73 | 0a 60 6d 6f 6e 74 68 27 |keywords|.`month'|
|00003080| 2c 20 60 64 61 79 27 2c | 20 61 6e 64 20 60 79 65 |, `day',| and `ye|
|00003090| 61 72 27 20 77 69 6c 6c | 20 6d 61 74 63 68 20 74 |ar' will| match t|
|000030a0| 68 6f 73 65 20 6e 75 6d | 65 72 69 63 61 6c 20 76 |hose num|erical v|
|000030b0| 61 6c 75 65 73 2c 20 70 | 72 65 63 65 64 65 64 20 |alues, p|receded |
|000030c0| 62 79 0a 61 72 62 69 74 | 72 61 72 69 6c 79 20 6d |by.arbit|rarily m|
|000030d0| 61 6e 79 20 7a 65 72 6f | 73 3b 20 74 68 65 79 20 |any zero|s; they |
|000030e0| 77 69 6c 6c 20 61 6c 73 | 6f 20 6d 61 74 63 68 20 |will als|o match |
|000030f0| 60 2a 27 2e 0a 0a 54 68 | 65 20 6d 61 74 63 68 69 |`*'...Th|e matchi|
|00003100| 6e 67 20 6f 66 20 74 68 | 65 20 64 69 61 72 79 20 |ng of th|e diary |
|00003110| 65 6e 74 72 69 65 73 20 | 77 69 74 68 20 74 68 65 |entries |with the|
|00003120| 20 64 61 74 65 20 66 6f | 72 6d 73 20 69 73 20 64 | date fo|rms is d|
|00003130| 6f 6e 65 20 77 69 74 68 | 20 74 68 65 0a 73 74 61 |one with| the.sta|
|00003140| 6e 64 61 72 64 20 73 79 | 6e 74 61 78 20 74 61 62 |ndard sy|ntax tab|
|00003150| 6c 65 20 66 72 6f 6d 20 | 46 75 6e 64 61 6d 65 6e |le from |Fundamen|
|00003160| 74 61 6c 20 6d 6f 64 65 | 2c 20 62 75 74 20 77 69 |tal mode|, but wi|
|00003170| 74 68 20 74 68 65 20 60 | 2a 27 20 63 68 61 6e 67 |th the `|*' chang|
|00003180| 65 64 20 73 6f 0a 74 68 | 61 74 20 69 74 20 69 73 |ed so.th|at it is|
|00003190| 20 61 20 77 6f 72 64 20 | 63 6f 6e 73 74 69 74 75 | a word |constitu|
|000031a0| 65 6e 74 2e 0a 0a 49 66 | 2c 20 74 6f 20 62 65 20 |ent...If|, to be |
|000031b0| 6d 75 74 75 61 6c 6c 79 | 20 65 78 63 6c 75 73 69 |mutually| exclusi|
|000031c0| 76 65 2c 20 61 20 70 73 | 65 75 64 6f 2d 70 61 74 |ve, a ps|eudo-pat|
|000031d0| 74 65 72 6e 20 6d 75 73 | 74 20 6d 61 74 63 68 20 |tern mus|t match |
|000031e0| 61 20 70 6f 72 74 69 6f | 6e 20 6f 66 20 74 68 65 |a portio|n of the|
|000031f0| 0a 64 69 61 72 79 20 65 | 6e 74 72 79 20 69 74 73 |.diary e|ntry its|
|00003200| 65 6c 66 2c 20 74 68 65 | 20 66 69 72 73 74 20 65 |elf, the| first e|
|00003210| 6c 65 6d 65 6e 74 20 6f | 66 20 74 68 65 20 70 61 |lement o|f the pa|
|00003220| 74 74 65 72 6e 20 4d 55 | 53 54 20 62 65 20 60 62 |ttern MU|ST be `b|
|00003230| 61 63 6b 75 70 27 2e 20 | 20 54 68 69 73 0a 64 69 |ackup'. | This.di|
|00003240| 72 65 63 74 69 76 65 20 | 63 61 75 73 65 73 20 74 |rective |causes t|
|00003250| 68 65 20 64 61 74 65 20 | 72 65 63 6f 67 6e 69 7a |he date |recogniz|
|00003260| 65 72 20 74 6f 20 62 61 | 63 6b 20 75 70 20 74 6f |er to ba|ck up to|
|00003270| 20 74 68 65 20 62 65 67 | 69 6e 6e 69 6e 67 20 6f | the beg|inning o|
|00003280| 66 20 74 68 65 0a 63 75 | 72 72 65 6e 74 20 77 6f |f the.cu|rrent wo|
|00003290| 72 64 20 6f 66 20 74 68 | 65 20 64 69 61 72 79 20 |rd of th|e diary |
|000032a0| 65 6e 74 72 79 2c 20 73 | 6f 20 69 6e 20 6e 6f 20 |entry, s|o in no |
|000032b0| 63 61 73 65 20 63 61 6e | 20 74 68 65 20 70 61 74 |case can| the pat|
|000032c0| 74 65 72 6e 20 6d 61 74 | 63 68 20 6d 6f 72 65 20 |tern mat|ch more |
|000032d0| 74 68 61 6e 0a 61 20 70 | 6f 72 74 69 6f 6e 20 6f |than.a p|ortion o|
|000032e0| 66 20 74 68 65 20 66 69 | 72 73 74 20 77 6f 72 64 |f the fi|rst word|
|000032f0| 20 6f 66 20 74 68 65 20 | 64 69 61 72 79 20 65 6e | of the |diary en|
|00003300| 74 72 79 2e 22 29 0a 28 | 64 65 66 76 61 72 20 65 |try.").(|defvar e|
|00003310| 75 72 6f 70 65 61 6e 2d | 63 61 6c 65 6e 64 61 72 |uropean-|calendar|
|00003320| 2d 64 69 73 70 6c 61 79 | 2d 66 6f 72 6d 20 27 28 |-display|-form '(|
|00003330| 28 69 66 20 64 61 79 6e | 61 6d 65 20 28 63 6f 6e |(if dayn|ame (con|
|00003340| 63 61 74 20 64 61 79 6e | 61 6d 65 20 22 2c 20 22 |cat dayn|ame ", "|
|00003350| 29 29 20 64 61 79 20 22 | 20 22 20 6d 6f 6e 74 68 |)) day "| " month|
|00003360| 6e 61 6d 65 20 22 20 22 | 20 79 65 61 72 29 20 22 |name " "| year) "|
|00003370| 5c 0a 2a 54 68 65 20 70 | 73 65 75 64 6f 2d 70 61 |\.*The p|seudo-pa|
|00003380| 74 74 65 72 6e 20 74 68 | 61 74 20 67 6f 76 65 72 |ttern th|at gover|
|00003390| 6e 73 20 74 68 65 20 77 | 61 79 20 61 20 47 72 65 |ns the w|ay a Gre|
|000033a0| 67 6f 72 69 61 6e 20 64 | 61 74 65 20 69 73 20 66 |gorian d|ate is f|
|000033b0| 6f 72 6d 61 74 74 65 64 | 0a 69 6e 20 74 68 65 20 |ormatted|.in the |
|000033c0| 45 75 72 6f 70 65 61 6e | 20 73 74 79 6c 65 2e 20 |European| style. |
|000033d0| 20 53 65 65 20 74 68 65 | 20 64 6f 63 75 6d 65 6e | See the| documen|
|000033e0| 74 61 74 69 6f 6e 20 6f | 66 20 63 61 6c 65 6e 64 |tation o|f calend|
|000033f0| 61 72 2d 64 61 74 65 2d | 64 69 73 70 6c 61 79 2d |ar-date-|display-|
|00003400| 66 6f 72 6d 73 0a 66 6f | 72 20 61 6e 20 65 78 70 |forms.fo|r an exp|
|00003410| 6c 61 6e 61 6e 74 69 6f | 6e 2e 22 29 0a 28 64 65 |lanantio|n.").(de|
|00003420| 66 76 61 72 20 61 6d 65 | 72 69 63 61 6e 2d 63 61 |fvar ame|rican-ca|
|00003430| 6c 65 6e 64 61 72 2d 64 | 69 73 70 6c 61 79 2d 66 |lendar-d|isplay-f|
|00003440| 6f 72 6d 20 27 28 28 69 | 66 20 64 61 79 6e 61 6d |orm '((i|f daynam|
|00003450| 65 20 28 63 6f 6e 63 61 | 74 20 64 61 79 6e 61 6d |e (conca|t daynam|
|00003460| 65 20 22 2c 20 22 29 29 | 20 6d 6f 6e 74 68 6e 61 |e ", "))| monthna|
|00003470| 6d 65 20 22 20 22 20 64 | 61 79 20 22 2c 20 22 20 |me " " d|ay ", " |
|00003480| 79 65 61 72 29 20 22 5c | 0a 2a 54 68 65 20 70 73 |year) "\|.*The ps|
|00003490| 65 75 64 6f 2d 70 61 74 | 74 65 72 6e 20 74 68 61 |eudo-pat|tern tha|
|000034a0| 74 20 67 6f 76 65 72 6e | 73 20 74 68 65 20 77 61 |t govern|s the wa|
|000034b0| 79 20 61 20 47 72 65 67 | 6f 72 69 61 6e 20 64 61 |y a Greg|orian da|
|000034c0| 74 65 20 69 73 20 66 6f | 72 6d 61 74 74 65 64 0a |te is fo|rmatted.|
|000034d0| 69 6e 20 74 68 65 20 41 | 6d 65 72 69 63 61 6e 20 |in the A|merican |
|000034e0| 73 74 79 6c 65 2e 20 20 | 53 65 65 20 74 68 65 20 |style. |See the |
|000034f0| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 20 6f 66 |document|ation of|
|00003500| 20 63 61 6c 65 6e 64 61 | 72 2d 64 61 74 65 2d 64 | calenda|r-date-d|
|00003510| 69 73 70 6c 61 79 2d 66 | 6f 72 6d 73 0a 66 6f 72 |isplay-f|orms.for|
|00003520| 20 61 6e 20 65 78 70 6c | 61 6e 61 6e 74 69 6f 6e | an expl|anantion|
|00003530| 2e 22 29 0a 28 64 65 66 | 76 61 72 20 63 61 6c 65 |.").(def|var cale|
|00003540| 6e 64 61 72 2d 64 61 74 | 65 2d 64 69 73 70 6c 61 |ndar-dat|e-displa|
|00003550| 79 2d 66 6f 72 6d 20 28 | 62 79 74 65 2d 63 6f 64 |y-form (|byte-cod|
|00003560| 65 20 22 08 ab 82 09 87 | 5c 6e 87 22 20 5b 65 75 |e ".....|\n." [eu|
|00003570| 72 6f 70 65 61 6e 2d 63 | 61 6c 65 6e 64 61 72 2d |ropean-c|alendar-|
|00003580| 73 74 79 6c 65 20 65 75 | 72 6f 70 65 61 6e 2d 63 |style eu|ropean-c|
|00003590| 61 6c 65 6e 64 61 72 2d | 64 69 73 70 6c 61 79 2d |alendar-|display-|
|000035a0| 66 6f 72 6d 20 61 6d 65 | 72 69 63 61 6e 2d 63 61 |form ame|rican-ca|
|000035b0| 6c 65 6e 64 61 72 2d 64 | 69 73 70 6c 61 79 2d 66 |lendar-d|isplay-f|
|000035c0| 6f 72 6d 5d 20 31 29 20 | 22 5c 0a 2a 54 68 65 20 |orm] 1) |"\.*The |
|000035d0| 70 73 65 75 64 6f 2d 70 | 61 74 74 65 72 6e 20 74 |pseudo-p|attern t|
|000035e0| 68 61 74 20 67 6f 76 65 | 72 6e 73 20 74 68 65 20 |hat gove|rns the |
|000035f0| 77 61 79 20 61 20 47 72 | 65 67 6f 72 69 61 6e 20 |way a Gr|egorian |
|00003600| 64 61 74 65 20 69 73 20 | 66 6f 72 6d 61 74 74 65 |date is |formatte|
|00003610| 64 0a 61 73 20 61 20 73 | 74 72 69 6e 67 20 62 79 |d.as a s|tring by|
|00003620| 20 74 68 65 20 66 75 6e | 63 74 69 6f 6e 20 60 63 | the fun|ction `c|
|00003630| 61 6c 65 6e 64 61 72 2d | 64 61 74 65 2d 73 74 72 |alendar-|date-str|
|00003640| 69 6e 67 27 2e 20 20 41 | 20 70 73 65 75 64 6f 2d |ing'. A| pseudo-|
|00003650| 70 61 74 74 65 72 6e 20 | 69 73 20 61 0a 6c 69 73 |pattern |is a.lis|
|00003660| 74 20 6f 66 20 65 78 70 | 72 65 73 73 69 6f 6e 73 |t of exp|ressions|
|00003670| 20 74 68 61 74 20 63 61 | 6e 20 69 6e 76 6f 6c 76 | that ca|n involv|
|00003680| 65 20 74 68 65 20 6b 65 | 79 77 6f 72 64 73 20 60 |e the ke|ywords `|
|00003690| 6d 6f 6e 74 68 27 2c 20 | 60 64 61 79 27 2c 20 61 |month', |`day', a|
|000036a0| 6e 64 0a 60 79 65 61 72 | 27 2c 20 61 6c 6c 20 6e |nd.`year|', all n|
|000036b0| 75 6d 62 65 72 73 20 69 | 6e 20 73 74 72 69 6e 67 |umbers i|n string|
|000036c0| 20 66 6f 72 6d 2c 20 61 | 6e 64 20 60 6d 6f 6e 74 | form, a|nd `mont|
|000036d0| 68 6e 61 6d 65 27 20 61 | 6e 64 20 60 64 61 79 6e |hname' a|nd `dayn|
|000036e0| 61 6d 65 27 2c 20 62 6f | 74 68 0a 61 6c 70 68 61 |ame', bo|th.alpha|
|000036f0| 62 65 74 69 63 20 73 74 | 72 69 6e 67 73 2e 20 20 |betic st|rings. |
|00003700| 46 6f 72 20 65 78 61 6d | 70 6c 65 2c 20 74 68 65 |For exam|ple, the|
|00003710| 20 49 53 4f 20 73 74 61 | 6e 64 61 72 64 20 77 6f | ISO sta|ndard wo|
|00003720| 75 6c 64 20 75 73 65 20 | 74 68 65 20 70 73 65 75 |uld use |the pseu|
|00003730| 64 6f 2d 0a 70 61 74 74 | 65 72 6e 0a 0a 20 20 20 |do-.patt|ern.. |
|00003740| 20 20 20 20 27 28 79 65 | 61 72 20 5c 22 2d 5c 22 | '(ye|ar \"-\"|
|00003750| 20 6d 6f 6e 74 68 20 5c | 22 2d 5c 22 20 64 61 79 | month \|"-\" day|
|00003760| 29 0a 0a 77 68 69 6c 65 | 20 61 20 74 79 70 69 63 |)..while| a typic|
|00003770| 61 6c 20 41 6d 65 72 69 | 63 61 6e 20 66 6f 72 6d |al Ameri|can form|
|00003780| 20 77 6f 75 6c 64 20 62 | 65 0a 0a 20 20 20 20 20 | would b|e.. |
|00003790| 20 20 27 28 6d 6f 6e 74 | 68 20 5c 22 2f 5c 22 20 | '(mont|h \"/\" |
|000037a0| 64 61 79 20 5c 22 2f 5c | 22 20 28 73 75 62 73 74 |day \"/\|" (subst|
|000037b0| 72 69 6e 67 20 79 65 61 | 72 20 2d 32 29 29 0a 0a |ring yea|r -2))..|
|000037c0| 61 6e 64 0a 0a 20 20 20 | 20 20 20 20 27 28 28 66 |and.. | '((f|
|000037d0| 6f 72 6d 61 74 20 5c 22 | 25 39 73 2c 20 25 39 73 |ormat \"|%9s, %9s|
|000037e0| 20 25 32 73 2c 20 25 34 | 73 5c 22 20 64 61 79 6e | %2s, %4|s\" dayn|
|000037f0| 61 6d 65 20 6d 6f 6e 74 | 68 6e 61 6d 65 20 64 61 |ame mont|hname da|
|00003800| 79 20 79 65 61 72 29 29 | 0a 0a 77 6f 75 6c 64 20 |y year))|..would |
|00003810| 67 69 76 65 20 74 68 65 | 20 75 73 75 61 6c 20 41 |give the| usual A|
|00003820| 6d 65 72 69 63 61 6e 20 | 73 74 79 6c 65 20 69 6e |merican |style in|
|00003830| 20 66 69 78 65 64 2d 6c | 65 6e 67 74 68 20 66 69 | fixed-l|ength fi|
|00003840| 65 6c 64 73 2e 0a 0a 53 | 65 65 20 74 68 65 20 64 |elds...S|ee the d|
|00003850| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 6f 66 20 |ocumenta|tion of |
|00003860| 74 68 65 20 66 75 6e 63 | 74 69 6f 6e 20 60 63 61 |the func|tion `ca|
|00003870| 6c 65 6e 64 61 72 2d 64 | 61 74 65 2d 73 74 72 69 |lendar-d|ate-stri|
|00003880| 6e 67 27 2e 22 29 0a 28 | 64 65 66 76 61 72 20 63 |ng'.").(|defvar c|
|00003890| 61 6c 65 6e 64 61 72 2d | 74 69 6d 65 2d 64 69 73 |alendar-|time-dis|
|000038a0| 70 6c 61 79 2d 66 6f 72 | 6d 20 27 28 31 32 2d 68 |play-for|m '(12-h|
|000038b0| 6f 75 72 73 20 22 3a 22 | 20 6d 69 6e 75 74 65 73 |ours ":"| minutes|
|000038c0| 20 61 6d 2d 70 6d 20 28 | 69 66 20 74 69 6d 65 2d | am-pm (|if time-|
|000038d0| 7a 6f 6e 65 20 22 20 28 | 22 29 20 74 69 6d 65 2d |zone " (|") time-|
|000038e0| 7a 6f 6e 65 20 28 69 66 | 20 74 69 6d 65 2d 7a 6f |zone (if| time-zo|
|000038f0| 6e 65 20 22 29 22 29 29 | 20 22 5c 0a 2a 54 68 65 |ne ")"))| "\.*The|
|00003900| 20 70 73 65 75 64 6f 2d | 70 61 74 74 65 72 6e 20 | pseudo-|pattern |
|00003910| 74 68 61 74 20 67 6f 76 | 65 72 6e 73 20 74 68 65 |that gov|erns the|
|00003920| 20 77 61 79 20 61 20 74 | 69 6d 65 20 6f 66 20 64 | way a t|ime of d|
|00003930| 61 79 20 69 73 20 66 6f | 72 6d 61 74 74 65 64 2e |ay is fo|rmatted.|
|00003940| 0a 0a 41 20 70 73 65 75 | 64 6f 2d 70 61 74 74 65 |..A pseu|do-patte|
|00003950| 72 6e 20 69 73 20 61 20 | 6c 69 73 74 20 6f 66 20 |rn is a |list of |
|00003960| 65 78 70 72 65 73 73 69 | 6f 6e 73 20 74 68 61 74 |expressi|ons that|
|00003970| 20 63 61 6e 20 69 6e 76 | 6f 6c 76 65 20 74 68 65 | can inv|olve the|
|00003980| 20 6b 65 79 77 6f 72 64 | 73 0a 60 31 32 2d 68 6f | keyword|s.`12-ho|
|00003990| 75 72 73 27 2c 20 60 32 | 34 2d 68 6f 75 72 73 27 |urs', `2|4-hours'|
|000039a0| 2c 20 61 6e 64 20 60 6d | 69 6e 75 74 65 73 27 2c |, and `m|inutes',|
|000039b0| 20 20 61 6c 6c 20 6e 75 | 6d 62 65 72 73 20 69 6e | all nu|mbers in|
|000039c0| 20 73 74 72 69 6e 67 20 | 66 6f 72 6d 2c 0a 61 6e | string |form,.an|
|000039d0| 64 20 60 61 6d 2d 70 6d | 27 20 61 6e 64 20 60 74 |d `am-pm|' and `t|
|000039e0| 69 6d 65 2d 7a 6f 6e 65 | 27 2c 20 20 62 6f 74 68 |ime-zone|', both|
|000039f0| 20 61 6c 70 68 61 62 65 | 74 69 63 20 73 74 72 69 | alphabe|tic stri|
|00003a00| 6e 67 73 2e 0a 0a 46 6f | 72 20 65 78 61 6d 70 6c |ngs...Fo|r exampl|
|00003a10| 65 2c 20 74 68 65 20 66 | 6f 72 6d 0a 0a 20 20 27 |e, the f|orm.. '|
|00003a20| 28 32 34 2d 68 6f 75 72 | 73 20 5c 22 3a 5c 22 20 |(24-hour|s \":\" |
|00003a30| 6d 69 6e 75 74 65 73 0a | 20 20 20 20 28 69 66 20 |minutes.| (if |
|00003a40| 74 69 6d 65 2d 7a 6f 6e | 65 20 5c 22 20 28 5c 22 |time-zon|e \" (\"|
|00003a50| 29 20 74 69 6d 65 2d 7a | 6f 6e 65 20 28 69 66 20 |) time-z|one (if |
|00003a60| 74 69 6d 65 2d 7a 6f 6e | 65 20 5c 22 29 5c 22 29 |time-zon|e \")\")|
|00003a70| 29 0a 0a 77 6f 75 6c 64 | 20 67 69 76 65 20 6d 69 |)..would| give mi|
|00003a80| 6c 69 74 61 72 79 2d 73 | 74 79 6c 65 20 74 69 6d |litary-s|tyle tim|
|00003a90| 65 73 20 6c 69 6b 65 20 | 60 32 31 3a 30 37 20 28 |es like |`21:07 (|
|00003aa0| 55 54 29 27 2e 22 29 0a | 28 64 65 66 76 61 72 20 |UT)'.").|(defvar |
|00003ab0| 63 61 6c 65 6e 64 61 72 | 2d 6c 61 74 69 74 75 64 |calendar|-latitud|
|00003ac0| 65 20 6e 69 6c 20 22 5c | 0a 2a 4c 61 74 69 74 75 |e nil "\|.*Latitu|
|00003ad0| 64 65 20 6f 66 20 60 63 | 61 6c 65 6e 64 61 72 2d |de of `c|alendar-|
|00003ae0| 6c 6f 63 61 74 69 6f 6e | 2d 6e 61 6d 65 27 20 69 |location|-name' i|
|00003af0| 6e 20 64 65 67 72 65 65 | 73 2c 20 2b 20 6e 6f 72 |n degree|s, + nor|
|00003b00| 74 68 2c 20 2d 20 73 6f | 75 74 68 2e 0a 46 6f 72 |th, - so|uth..For|
|00003b10| 20 65 78 61 6d 70 6c 65 | 2c 20 34 30 2e 37 20 66 | example|, 40.7 f|
|00003b20| 6f 72 20 4e 65 77 20 59 | 6f 72 6b 20 43 69 74 79 |or New Y|ork City|
|00003b30| 2e 22 29 0a 28 64 65 66 | 76 61 72 20 63 61 6c 65 |.").(def|var cale|
|00003b40| 6e 64 61 72 2d 6c 6f 6e | 67 69 74 75 64 65 20 6e |ndar-lon|gitude n|
|00003b50| 69 6c 20 22 5c 0a 2a 4c | 6f 6e 67 69 74 75 64 65 |il "\.*L|ongitude|
|00003b60| 20 6f 66 20 60 63 61 6c | 65 6e 64 61 72 2d 6c 6f | of `cal|endar-lo|
|00003b70| 63 61 74 69 6f 6e 2d 6e | 61 6d 65 27 20 69 6e 20 |cation-n|ame' in |
|00003b80| 64 65 67 72 65 65 73 2c | 20 2b 20 65 61 73 74 2c |degrees,| + east,|
|00003b90| 20 2d 20 77 65 73 74 2e | 0a 46 6f 72 20 65 78 61 | - west.|.For exa|
|00003ba0| 6d 70 6c 65 2c 20 2d 37 | 34 2e 30 20 66 6f 72 20 |mple, -7|4.0 for |
|00003bb0| 4e 65 77 20 59 6f 72 6b | 20 43 69 74 79 2e 22 29 |New York| City.")|
|00003bc0| 0a 28 64 65 66 76 61 72 | 20 63 61 6c 65 6e 64 61 |.(defvar| calenda|
|00003bd0| 72 2d 6c 6f 63 61 74 69 | 6f 6e 2d 6e 61 6d 65 20 |r-locati|on-name |
|00003be0| 27 28 6c 65 74 20 28 28 | 66 6c 6f 61 74 2d 6f 75 |'(let ((|float-ou|
|00003bf0| 74 70 75 74 2d 66 6f 72 | 6d 61 74 20 22 25 2e 31 |tput-for|mat "%.1|
|00003c00| 66 22 29 29 20 28 66 6f | 72 6d 61 74 20 22 25 73 |f")) (fo|rmat "%s|
|00003c10| 25 73 2c 20 25 73 25 73 | 22 20 28 61 62 73 20 63 |%s, %s%s|" (abs c|
|00003c20| 61 6c 65 6e 64 61 72 2d | 6c 61 74 69 74 75 64 65 |alendar-|latitude|
|00003c30| 29 20 28 69 66 20 28 3e | 20 63 61 6c 65 6e 64 61 |) (if (>| calenda|
|00003c40| 72 2d 6c 61 74 69 74 75 | 64 65 20 30 29 20 22 4e |r-latitu|de 0) "N|
|00003c50| 22 20 22 53 22 29 20 28 | 61 62 73 20 63 61 6c 65 |" "S") (|abs cale|
|00003c60| 6e 64 61 72 2d 6c 6f 6e | 67 69 74 75 64 65 29 20 |ndar-lon|gitude) |
|00003c70| 28 69 66 20 28 3e 20 63 | 61 6c 65 6e 64 61 72 2d |(if (> c|alendar-|
|00003c80| 6c 6f 6e 67 69 74 75 64 | 65 20 30 29 20 22 45 22 |longitud|e 0) "E"|
|00003c90| 20 22 57 22 29 29 29 20 | 22 5c 0a 2a 41 6e 20 65 | "W"))) |"\.*An e|
|00003ca0| 78 70 72 65 73 73 69 6f | 6e 20 74 68 61 74 20 65 |xpressio|n that e|
|00003cb0| 76 61 6c 75 61 74 65 73 | 20 74 6f 20 74 68 65 20 |valuates| to the |
|00003cc0| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 6c 6f 63 61 |name of |the loca|
|00003cd0| 74 69 6f 6e 20 61 74 0a | 60 63 61 6c 65 6e 64 61 |tion at.|`calenda|
|00003ce0| 72 2d 6c 6f 6e 67 69 74 | 75 64 65 27 2c 20 63 61 |r-longit|ude', ca|
|00003cf0| 6c 65 6e 64 61 72 2d 6c | 61 74 69 74 75 64 65 27 |lendar-l|atitude'|
|00003d00| 2e 20 20 44 65 66 61 75 | 6c 74 20 76 61 6c 75 65 |. Defau|lt value|
|00003d10| 20 69 73 20 6a 75 73 74 | 20 74 68 65 20 6c 61 74 | is just| the lat|
|00003d20| 69 74 75 64 65 2c 0a 6c | 6f 6e 67 69 74 75 64 65 |itude,.l|ongitude|
|00003d30| 20 70 61 69 72 2e 22 29 | 0a 28 64 65 66 76 61 72 | pair.")|.(defvar|
|00003d40| 20 63 61 6c 65 6e 64 61 | 72 2d 74 69 6d 65 2d 7a | calenda|r-time-z|
|00003d50| 6f 6e 65 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |one (byt|e-code "|
|00003d60| c0 c1 21 ad 83 c1 20 40 | 87 22 20 5b 66 62 6f 75 |..!... @|." [fbou|
|00003d70| 6e 64 70 20 63 75 72 72 | 65 6e 74 2d 74 69 6d 65 |ndp curr|ent-time|
|00003d80| 2d 7a 6f 6e 65 5d 20 32 | 29 20 22 5c 0a 2a 4e 75 |-zone] 2|) "\.*Nu|
|00003d90| 6d 62 65 72 20 6f 66 20 | 6d 69 6e 75 74 65 73 20 |mber of |minutes |
|00003da0| 64 69 66 66 65 72 65 6e | 63 65 20 62 65 74 77 65 |differen|ce betwe|
|00003db0| 65 6e 20 6c 6f 63 61 6c | 20 73 74 61 6e 64 61 72 |en local| standar|
|00003dc0| 64 20 74 69 6d 65 20 61 | 74 0a 60 63 61 6c 65 6e |d time a|t.`calen|
|00003dd0| 64 61 72 2d 6c 6f 63 61 | 74 69 6f 6e 2d 6e 61 6d |dar-loca|tion-nam|
|00003de0| 65 27 20 61 6e 64 20 55 | 6e 69 76 65 72 73 61 6c |e' and U|niversal|
|00003df0| 20 28 47 72 65 65 6e 77 | 69 63 68 29 20 54 69 6d | (Greenw|ich) Tim|
|00003e00| 65 2e 20 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |e. For |example,|
|00003e10| 20 2d 33 30 30 0a 66 6f | 72 20 4e 65 77 20 59 6f | -300.fo|r New Yo|
|00003e20| 72 6b 20 43 69 74 79 2c | 20 2d 34 38 30 20 66 6f |rk City,| -480 fo|
|00003e30| 72 20 4c 6f 73 20 41 6e | 67 65 6c 65 73 2e 22 29 |r Los An|geles.")|
|00003e40| 0a 28 64 65 66 76 61 72 | 20 63 61 6c 65 6e 64 61 |.(defvar| calenda|
|00003e50| 72 2d 73 74 61 6e 64 61 | 72 64 2d 74 69 6d 65 2d |r-standa|rd-time-|
|00003e60| 7a 6f 6e 65 2d 6e 61 6d | 65 20 28 62 79 74 65 2d |zone-nam|e (byte-|
|00003e70| 63 6f 64 65 20 22 c0 c1 | 21 ad 85 c1 20 41 41 40 |code "..|!... AA@|
|00003e80| 87 22 20 5b 66 62 6f 75 | 6e 64 70 20 63 75 72 72 |." [fbou|ndp curr|
|00003e90| 65 6e 74 2d 74 69 6d 65 | 2d 7a 6f 6e 65 5d 20 32 |ent-time|-zone] 2|
|00003ea0| 29 20 22 5c 0a 2a 41 62 | 62 72 65 76 69 61 74 65 |) "\.*Ab|breviate|
|00003eb0| 64 20 6e 61 6d 65 20 6f | 66 20 73 74 61 6e 64 61 |d name o|f standa|
|00003ec0| 72 64 20 74 69 6d 65 20 | 7a 6f 6e 65 20 61 74 20 |rd time |zone at |
|00003ed0| 60 63 61 6c 65 6e 64 61 | 72 2d 6c 6f 63 61 74 69 |`calenda|r-locati|
|00003ee0| 6f 6e 2d 6e 61 6d 65 27 | 2e 0a 46 6f 72 20 65 78 |on-name'|..For ex|
|00003ef0| 61 6d 70 6c 65 2c 20 5c | 22 45 53 54 5c 22 20 69 |ample, \|"EST\" i|
|00003f00| 6e 20 4e 65 77 20 59 6f | 72 6b 20 43 69 74 79 2c |n New Yo|rk City,|
|00003f10| 20 5c 22 50 53 54 5c 22 | 20 66 6f 72 20 4c 6f 73 | \"PST\"| for Los|
|00003f20| 20 41 6e 67 65 6c 65 73 | 2e 22 29 0a 28 64 65 66 | Angeles|.").(def|
|00003f30| 76 61 72 20 63 61 6c 65 | 6e 64 61 72 2d 64 61 79 |var cale|ndar-day|
|00003f40| 6c 69 67 68 74 2d 74 69 | 6d 65 2d 7a 6f 6e 65 2d |light-ti|me-zone-|
|00003f50| 6e 61 6d 65 20 28 62 79 | 74 65 2d 63 6f 64 65 20 |name (by|te-code |
|00003f60| 22 c0 c1 21 ad 85 c2 c1 | 20 9b 40 87 22 20 5b 66 |"..!....| .@." [f|
|00003f70| 62 6f 75 6e 64 70 20 63 | 75 72 72 65 6e 74 2d 74 |boundp c|urrent-t|
|00003f80| 69 6d 65 2d 7a 6f 6e 65 | 20 33 5d 20 32 29 20 22 |ime-zone| 3] 2) "|
|00003f90| 5c 0a 2a 41 62 62 72 65 | 76 69 61 74 65 64 20 6e |\.*Abbre|viated n|
|00003fa0| 61 6d 65 20 6f 66 20 64 | 61 79 6c 69 67 68 74 2d |ame of d|aylight-|
|00003fb0| 73 61 76 69 6e 67 73 20 | 74 69 6d 65 20 7a 6f 6e |savings |time zon|
|00003fc0| 65 20 61 74 20 60 63 61 | 6c 65 6e 64 61 72 2d 6c |e at `ca|lendar-l|
|00003fd0| 6f 63 61 74 69 6f 6e 2d | 6e 61 6d 65 27 2e 0a 46 |ocation-|name'..F|
|00003fe0| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 5c 22 45 44 |or examp|le, \"ED|
|00003ff0| 54 5c 22 20 69 6e 20 4e | 65 77 20 59 6f 72 6b 20 |T\" in N|ew York |
|00004000| 43 69 74 79 2c 20 5c 22 | 50 44 54 5c 22 20 66 6f |City, \"|PDT\" fo|
|00004010| 72 20 4c 6f 73 20 41 6e | 67 65 6c 65 73 2e 22 29 |r Los An|geles.")|
|00004020| 0a 28 64 65 66 76 61 72 | 20 63 61 6c 65 6e 64 61 |.(defvar| calenda|
|00004030| 72 2d 64 61 79 6c 69 67 | 68 74 2d 73 61 76 69 6e |r-daylig|ht-savin|
|00004040| 67 73 2d 73 74 61 72 74 | 73 20 27 28 63 61 6c 65 |gs-start|s '(cale|
|00004050| 6e 64 61 72 2d 6e 74 68 | 2d 6e 61 6d 65 64 2d 64 |ndar-nth|-named-d|
|00004060| 61 79 20 31 20 30 20 34 | 20 79 65 61 72 29 20 22 |ay 1 0 4| year) "|
|00004070| 5c 0a 2a 41 20 73 65 78 | 70 20 69 6e 20 74 68 65 |\.*A sex|p in the|
|00004080| 20 76 61 72 69 61 62 6c | 65 20 60 79 65 61 72 27 | variabl|e `year'|
|00004090| 20 74 68 61 74 20 67 69 | 76 65 73 20 74 68 65 20 | that gi|ves the |
|000040a0| 47 72 65 67 6f 72 69 61 | 6e 20 64 61 74 65 2c 20 |Gregoria|n date, |
|000040b0| 69 6e 20 74 68 65 20 66 | 6f 72 6d 0a 6f 66 20 61 |in the f|orm.of a|
|000040c0| 20 6c 69 73 74 20 28 6d | 6f 6e 74 68 20 64 61 79 | list (m|onth day|
|000040d0| 20 79 65 61 72 29 2c 20 | 6f 6e 20 77 68 69 63 68 | year), |on which|
|000040e0| 20 64 61 79 6c 69 67 68 | 74 20 73 61 76 69 6e 67 | dayligh|t saving|
|000040f0| 73 20 74 69 6d 65 20 73 | 74 61 72 74 73 2e 20 20 |s time s|tarts. |
|00004100| 54 68 69 73 20 69 73 0a | 75 73 65 64 20 74 6f 20 |This is.|used to |
|00004110| 64 65 74 65 72 6d 69 6e | 65 20 74 68 65 20 73 74 |determin|e the st|
|00004120| 61 72 74 69 6e 67 20 64 | 61 74 65 20 6f 66 20 64 |arting d|ate of d|
|00004130| 61 79 6c 69 67 68 74 20 | 73 61 76 69 6e 67 73 20 |aylight |savings |
|00004140| 74 69 6d 65 20 66 6f 72 | 20 74 68 65 20 68 6f 6c |time for| the hol|
|00004150| 69 64 61 79 0a 6c 69 73 | 74 20 61 6e 64 20 66 6f |iday.lis|t and fo|
|00004160| 72 20 63 6f 72 72 65 63 | 74 69 6e 67 20 74 69 6d |r correc|ting tim|
|00004170| 65 73 20 6f 66 20 64 61 | 79 20 69 6e 20 74 68 65 |es of da|y in the|
|00004180| 20 73 6f 6c 61 72 20 61 | 6e 64 20 6c 75 6e 61 72 | solar a|nd lunar|
|00004190| 20 63 61 6c 63 75 6c 61 | 74 69 6f 6e 73 2e 20 20 | calcula|tions. |
|000041a0| 54 68 65 0a 64 65 66 61 | 75 6c 74 20 76 61 6c 75 |The.defa|ult valu|
|000041b0| 65 20 69 73 20 74 68 65 | 20 41 6d 65 72 69 63 61 |e is the| America|
|000041c0| 6e 20 72 75 6c 65 20 6f | 66 20 74 68 65 20 66 69 |n rule o|f the fi|
|000041d0| 72 73 74 20 53 75 6e 64 | 61 79 20 69 6e 20 41 70 |rst Sund|ay in Ap|
|000041e0| 72 69 6c 2e 0a 0a 46 6f | 72 20 65 78 61 6d 70 6c |ril...Fo|r exampl|
|000041f0| 65 2c 20 69 66 20 64 61 | 79 6c 69 67 68 74 20 73 |e, if da|ylight s|
|00004200| 61 76 69 6e 67 73 20 74 | 69 6d 65 20 69 73 20 6d |avings t|ime is m|
|00004210| 61 6e 64 61 74 65 64 20 | 74 6f 20 73 74 61 72 74 |andated |to start|
|00004220| 20 6f 6e 20 4f 63 74 6f | 62 65 72 20 31 2c 0a 79 | on Octo|ber 1,.y|
|00004230| 6f 75 20 77 6f 75 6c 64 | 20 73 65 74 20 60 63 61 |ou would| set `ca|
|00004240| 6c 65 6e 64 61 72 2d 64 | 61 79 6c 69 67 68 74 2d |lendar-d|aylight-|
|00004250| 73 61 76 69 6e 67 73 2d | 73 74 61 72 74 73 27 20 |savings-|starts' |
|00004260| 74 6f 0a 0a 20 20 20 20 | 20 20 27 28 31 30 20 31 |to.. | '(10 1|
|00004270| 20 79 65 61 72 29 0a 0a | 46 6f 72 20 61 20 6d 6f | year)..|For a mo|
|00004280| 72 65 20 63 6f 6d 70 6c | 65 78 20 65 78 61 6d 70 |re compl|ex examp|
|00004290| 6c 65 2c 20 69 66 20 64 | 61 79 6c 69 67 68 74 20 |le, if d|aylight |
|000042a0| 73 61 76 69 6e 67 73 20 | 74 69 6d 65 20 62 65 67 |savings |time beg|
|000042b0| 69 6e 73 20 6f 6e 20 74 | 68 65 20 66 69 72 73 74 |ins on t|he first|
|000042c0| 20 6f 66 0a 4e 69 73 61 | 6e 20 6f 6e 20 74 68 65 | of.Nisa|n on the|
|000042d0| 20 48 65 62 72 65 77 20 | 63 61 6c 65 6e 64 61 72 | Hebrew |calendar|
|000042e0| 2c 20 77 65 20 77 6f 75 | 6c 64 20 73 65 74 20 60 |, we wou|ld set `|
|000042f0| 63 61 6c 65 6e 64 61 72 | 2d 64 61 79 6c 69 67 68 |calendar|-dayligh|
|00004300| 74 2d 73 61 76 69 6e 67 | 73 2d 73 74 61 72 74 73 |t-saving|s-starts|
|00004310| 27 0a 74 6f 0a 0a 20 20 | 20 20 20 20 27 28 63 61 |'.to.. | '(ca|
|00004320| 6c 65 6e 64 61 72 2d 67 | 72 65 67 6f 72 69 61 6e |lendar-g|regorian|
|00004330| 2d 66 72 6f 6d 2d 61 62 | 73 6f 6c 75 74 65 0a 20 |-from-ab|solute. |
|00004340| 20 20 20 20 20 20 20 20 | 28 63 61 6c 65 6e 64 61 | |(calenda|
|00004350| 72 2d 61 62 73 6f 6c 75 | 74 65 2d 66 72 6f 6d 2d |r-absolu|te-from-|
|00004360| 68 65 62 72 65 77 0a 20 | 20 20 20 20 20 20 20 20 |hebrew. | |
|00004370| 20 20 20 28 6c 69 73 74 | 20 31 20 31 20 28 2b 20 | (list| 1 1 (+ |
|00004380| 79 65 61 72 20 33 37 36 | 30 29 29 29 29 0a 0a 62 |year 376|0))))..b|
|00004390| 65 63 61 75 73 65 20 4e | 69 73 61 6e 20 69 73 20 |ecause N|isan is |
|000043a0| 74 68 65 20 66 69 72 73 | 74 20 6d 6f 6e 74 68 20 |the firs|t month |
|000043b0| 69 6e 20 74 68 65 20 48 | 65 62 72 65 77 20 63 61 |in the H|ebrew ca|
|000043c0| 6c 65 6e 64 61 72 2e 22 | 29 0a 28 64 65 66 76 61 |lendar."|).(defva|
|000043d0| 72 20 63 61 6c 65 6e 64 | 61 72 2d 64 61 79 6c 69 |r calend|ar-dayli|
|000043e0| 67 68 74 2d 73 61 76 69 | 6e 67 73 2d 65 6e 64 73 |ght-savi|ngs-ends|
|000043f0| 20 27 28 63 61 6c 65 6e | 64 61 72 2d 6e 74 68 2d | '(calen|dar-nth-|
|00004400| 6e 61 6d 65 64 2d 64 61 | 79 20 2d 31 20 30 20 31 |named-da|y -1 0 1|
|00004410| 30 20 79 65 61 72 29 20 | 22 5c 0a 2a 41 6e 20 65 |0 year) |"\.*An e|
|00004420| 78 70 72 65 73 73 69 6f | 6e 20 69 6e 20 74 68 65 |xpressio|n in the|
|00004430| 20 76 61 72 69 61 62 6c | 65 20 60 79 65 61 72 27 | variabl|e `year'|
|00004440| 20 74 68 61 74 20 67 69 | 76 65 73 20 74 68 65 20 | that gi|ves the |
|00004450| 47 72 65 67 6f 72 69 61 | 6e 20 64 61 74 65 2c 20 |Gregoria|n date, |
|00004460| 69 6e 20 74 68 65 0a 66 | 6f 72 6d 20 6f 66 20 61 |in the.f|orm of a|
|00004470| 20 6c 69 73 74 20 28 6d | 6f 6e 74 68 20 64 61 79 | list (m|onth day|
|00004480| 20 79 65 61 72 29 2c 20 | 6f 6e 20 77 68 69 63 68 | year), |on which|
|00004490| 20 64 61 79 6c 69 67 68 | 74 20 73 61 76 69 6e 67 | dayligh|t saving|
|000044a0| 73 20 74 69 6d 65 20 65 | 6e 64 73 2e 20 20 54 68 |s time e|nds. Th|
|000044b0| 69 73 0a 69 73 20 75 73 | 65 64 20 74 6f 20 64 65 |is.is us|ed to de|
|000044c0| 74 65 72 6d 69 6e 65 20 | 74 68 65 20 65 6e 64 69 |termine |the endi|
|000044d0| 6e 67 20 64 61 74 65 20 | 6f 66 20 64 61 79 6c 69 |ng date |of dayli|
|000044e0| 67 68 74 20 73 61 76 69 | 6e 67 73 20 74 69 6d 65 |ght savi|ngs time|
|000044f0| 20 66 6f 72 20 74 68 65 | 20 68 6f 6c 69 64 61 79 | for the| holiday|
|00004500| 0a 6c 69 73 74 20 61 6e | 64 20 66 6f 72 20 63 6f |.list an|d for co|
|00004510| 72 72 65 63 74 69 6e 67 | 20 74 69 6d 65 73 20 6f |rrecting| times o|
|00004520| 66 20 64 61 79 20 69 6e | 20 74 68 65 20 73 6f 6c |f day in| the sol|
|00004530| 61 72 20 61 6e 64 20 6c | 75 6e 61 72 20 63 61 6c |ar and l|unar cal|
|00004540| 63 75 6c 61 74 69 6f 6e | 73 2e 0a 54 68 65 20 64 |culation|s..The d|
|00004550| 65 66 61 75 6c 74 20 76 | 61 6c 75 65 20 69 73 20 |efault v|alue is |
|00004560| 74 68 65 20 41 6d 65 72 | 69 63 61 6e 20 72 75 6c |the Amer|ican rul|
|00004570| 65 20 6f 66 20 74 68 65 | 20 6c 61 73 74 20 53 75 |e of the| last Su|
|00004580| 6e 64 61 79 20 69 6e 20 | 4f 63 74 6f 62 65 72 2e |nday in |October.|
|00004590| 0a 53 65 65 20 74 68 65 | 20 64 6f 63 75 6d 65 6e |.See the| documen|
|000045a0| 74 61 74 69 6f 6e 20 66 | 6f 72 20 60 63 61 6c 65 |tation f|or `cale|
|000045b0| 6e 64 61 72 2d 64 61 79 | 6c 69 67 68 74 2d 73 61 |ndar-day|light-sa|
|000045c0| 76 69 6e 67 73 2d 73 74 | 61 72 74 73 27 20 66 6f |vings-st|arts' fo|
|000045d0| 72 20 6f 74 68 65 72 0a | 65 78 61 6d 70 6c 65 73 |r other.|examples|
|000045e0| 2e 22 29 0a 28 66 73 65 | 74 20 27 65 75 72 6f 70 |.").(fse|t 'europ|
|000045f0| 65 61 6e 2d 63 61 6c 65 | 6e 64 61 72 20 23 5b 6e |ean-cale|ndar #[n|
|00004600| 69 6c 20 22 c0 11 5c 6e | 13 0c 15 c6 20 87 22 20 |il "..\n|.... ." |
|00004610| 5b 74 20 65 75 72 6f 70 | 65 61 6e 2d 63 61 6c 65 |[t europ|ean-cale|
|00004620| 6e 64 61 72 2d 73 74 79 | 6c 65 20 65 75 72 6f 70 |ndar-sty|le europ|
|00004630| 65 61 6e 2d 63 61 6c 65 | 6e 64 61 72 2d 64 69 73 |ean-cale|ndar-dis|
|00004640| 70 6c 61 79 2d 66 6f 72 | 6d 20 63 61 6c 65 6e 64 |play-for|m calend|
|00004650| 61 72 2d 64 61 74 65 2d | 64 69 73 70 6c 61 79 2d |ar-date-|display-|
|00004660| 66 6f 72 6d 20 65 75 72 | 6f 70 65 61 6e 2d 64 61 |form eur|opean-da|
|00004670| 74 65 2d 64 69 61 72 79 | 2d 70 61 74 74 65 72 6e |te-diary|-pattern|
|00004680| 20 64 69 61 72 79 2d 64 | 61 74 65 2d 66 6f 72 6d | diary-d|ate-form|
|00004690| 73 20 75 70 64 61 74 65 | 2d 63 61 6c 65 6e 64 61 |s update|-calenda|
|000046a0| 72 2d 6d 6f 64 65 2d 6c | 69 6e 65 5d 20 31 20 22 |r-mode-l|ine] 1 "|
|000046b0| 5c 0a 53 65 74 20 74 68 | 65 20 69 6e 74 65 72 70 |\.Set th|e interp|
|000046c0| 72 65 74 61 74 69 6f 6e | 20 61 6e 64 20 64 69 73 |retation| and dis|
|000046d0| 70 6c 61 79 20 6f 66 20 | 64 61 74 65 73 20 74 6f |play of |dates to|
|000046e0| 20 74 68 65 20 45 75 72 | 6f 70 65 61 6e 20 73 74 | the Eur|opean st|
|000046f0| 79 6c 65 2e 22 20 6e 69 | 6c 5d 29 0a 28 66 73 65 |yle." ni|l]).(fse|
|00004700| 74 20 27 61 6d 65 72 69 | 63 61 6e 2d 63 61 6c 65 |t 'ameri|can-cale|
|00004710| 6e 64 61 72 20 23 5b 6e | 69 6c 20 22 c0 11 5c 6e |ndar #[n|il "..\n|
|00004720| 13 0c 15 c6 20 87 22 20 | 5b 6e 69 6c 20 65 75 72 |.... ." |[nil eur|
|00004730| 6f 70 65 61 6e 2d 63 61 | 6c 65 6e 64 61 72 2d 73 |opean-ca|lendar-s|
|00004740| 74 79 6c 65 20 61 6d 65 | 72 69 63 61 6e 2d 63 61 |tyle ame|rican-ca|
|00004750| 6c 65 6e 64 61 72 2d 64 | 69 73 70 6c 61 79 2d 66 |lendar-d|isplay-f|
|00004760| 6f 72 6d 20 63 61 6c 65 | 6e 64 61 72 2d 64 61 74 |orm cale|ndar-dat|
|00004770| 65 2d 64 69 73 70 6c 61 | 79 2d 66 6f 72 6d 20 61 |e-displa|y-form a|
|00004780| 6d 65 72 69 63 61 6e 2d | 64 61 74 65 2d 64 69 61 |merican-|date-dia|
|00004790| 72 79 2d 70 61 74 74 65 | 72 6e 20 64 69 61 72 79 |ry-patte|rn diary|
|000047a0| 2d 64 61 74 65 2d 66 6f | 72 6d 73 20 75 70 64 61 |-date-fo|rms upda|
|000047b0| 74 65 2d 63 61 6c 65 6e | 64 61 72 2d 6d 6f 64 65 |te-calen|dar-mode|
|000047c0| 2d 6c 69 6e 65 5d 20 31 | 20 22 5c 0a 53 65 74 20 |-line] 1| "\.Set |
|000047d0| 74 68 65 20 69 6e 74 65 | 72 70 72 65 74 61 74 69 |the inte|rpretati|
|000047e0| 6f 6e 20 61 6e 64 20 64 | 69 73 70 6c 61 79 20 6f |on and d|isplay o|
|000047f0| 66 20 64 61 74 65 73 20 | 74 6f 20 74 68 65 20 41 |f dates |to the A|
|00004800| 6d 65 72 69 63 61 6e 20 | 73 74 79 6c 65 2e 22 20 |merican |style." |
|00004810| 6e 69 6c 5d 29 0a 28 64 | 65 66 76 61 72 20 70 72 |nil]).(d|efvar pr|
|00004820| 69 6e 74 2d 64 69 61 72 | 79 2d 65 6e 74 72 69 65 |int-diar|y-entrie|
|00004830| 73 2d 68 6f 6f 6b 20 27 | 6c 70 72 2d 62 75 66 66 |s-hook '|lpr-buff|
|00004840| 65 72 20 22 5c 0a 2a 4c | 69 73 74 20 6f 66 20 66 |er "\.*L|ist of f|
|00004850| 75 6e 63 74 69 6f 6e 73 | 20 74 6f 20 62 65 20 63 |unctions| to be c|
|00004860| 61 6c 6c 65 64 20 61 66 | 74 65 72 20 61 20 74 65 |alled af|ter a te|
|00004870| 6d 70 6f 72 61 72 79 20 | 62 75 66 66 65 72 20 69 |mporary |buffer i|
|00004880| 73 20 70 72 65 70 61 72 | 65 64 20 77 69 74 68 0a |s prepar|ed with.|
|00004890| 74 68 65 20 64 69 61 72 | 79 20 65 6e 74 72 69 65 |the diar|y entrie|
|000048a0| 73 20 63 75 72 72 65 6e | 74 6c 79 20 76 69 73 69 |s curren|tly visi|
|000048b0| 62 6c 65 20 69 6e 20 74 | 68 65 20 64 69 61 72 79 |ble in t|he diary|
|000048c0| 20 62 75 66 66 65 72 2e | 20 20 54 68 65 20 64 65 | buffer.| The de|
|000048d0| 66 61 75 6c 74 20 6a 75 | 73 74 0a 64 6f 65 73 20 |fault ju|st.does |
|000048e0| 74 68 65 20 70 72 69 6e | 74 69 6e 67 2e 20 20 4f |the prin|ting. O|
|000048f0| 74 68 65 72 20 75 73 65 | 73 20 6d 69 67 68 74 20 |ther use|s might |
|00004900| 69 6e 63 6c 75 64 65 2c | 20 66 6f 72 20 65 78 61 |include,| for exa|
|00004910| 6d 70 6c 65 2c 20 72 65 | 61 72 72 61 6e 67 69 6e |mple, re|arrangin|
|00004920| 67 20 74 68 65 0a 6c 69 | 6e 65 73 20 69 6e 74 6f |g the.li|nes into|
|00004930| 20 6f 72 64 65 72 20 62 | 79 20 64 61 79 20 61 6e | order b|y day an|
|00004940| 64 20 74 69 6d 65 2c 20 | 73 61 76 69 6e 67 20 74 |d time, |saving t|
|00004950| 68 65 20 62 75 66 66 65 | 72 20 69 6e 73 74 65 61 |he buffe|r instea|
|00004960| 64 20 6f 66 20 64 65 6c | 65 74 69 6e 67 20 69 74 |d of del|eting it|
|00004970| 2c 20 6f 72 0a 63 68 61 | 6e 67 69 6e 67 20 74 68 |, or.cha|nging th|
|00004980| 65 20 66 75 6e 63 74 69 | 6f 6e 20 75 73 65 64 20 |e functi|on used |
|00004990| 74 6f 20 64 6f 20 74 68 | 65 20 70 72 69 6e 74 69 |to do th|e printi|
|000049a0| 6e 67 2e 22 29 0a 28 64 | 65 66 76 61 72 20 6c 69 |ng.").(d|efvar li|
|000049b0| 73 74 2d 64 69 61 72 79 | 2d 65 6e 74 72 69 65 73 |st-diary|-entries|
|000049c0| 2d 68 6f 6f 6b 20 6e 69 | 6c 20 22 5c 0a 2a 4c 69 |-hook ni|l "\.*Li|
|000049d0| 73 74 20 6f 66 20 66 75 | 6e 63 74 69 6f 6e 73 20 |st of fu|nctions |
|000049e0| 74 6f 20 62 65 20 63 61 | 6c 6c 65 64 20 61 66 74 |to be ca|lled aft|
|000049f0| 65 72 20 74 68 65 20 64 | 69 61 72 79 20 66 69 6c |er the d|iary fil|
|00004a00| 65 20 69 73 20 63 75 6c | 6c 65 64 20 66 6f 72 0a |e is cul|led for.|
|00004a10| 72 65 6c 65 76 61 6e 74 | 20 65 6e 74 72 69 65 73 |relevant| entries|
|00004a20| 2e 20 49 74 20 69 73 20 | 74 6f 20 62 65 20 75 73 |. It is |to be us|
|00004a30| 65 64 20 66 6f 72 20 64 | 69 61 72 79 20 65 6e 74 |ed for d|iary ent|
|00004a40| 72 69 65 73 20 74 68 61 | 74 20 61 72 65 20 6e 6f |ries tha|t are no|
|00004a50| 74 20 66 6f 75 6e 64 20 | 69 6e 0a 74 68 65 20 64 |t found |in.the d|
|00004a60| 69 61 72 79 20 66 69 6c | 65 2e 0a 0a 41 20 66 75 |iary fil|e...A fu|
|00004a70| 6e 63 74 69 6f 6e 20 60 | 69 6e 63 6c 75 64 65 2d |nction `|include-|
|00004a80| 6f 74 68 65 72 2d 64 69 | 61 72 79 2d 66 69 6c 65 |other-di|ary-file|
|00004a90| 73 27 20 69 73 20 70 72 | 6f 76 69 64 65 64 20 66 |s' is pr|ovided f|
|00004aa0| 6f 72 20 75 73 65 20 61 | 73 20 74 68 65 20 76 61 |or use a|s the va|
|00004ab0| 6c 75 65 20 6f 66 0a 74 | 68 69 73 20 68 6f 6f 6b |lue of.t|his hook|
|00004ac0| 2e 20 20 54 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |. This |function|
|00004ad0| 20 65 6e 61 62 6c 65 73 | 20 79 6f 75 20 74 6f 20 | enables| you to |
|00004ae0| 75 73 65 20 73 68 61 72 | 65 64 20 64 69 61 72 79 |use shar|ed diary|
|00004af0| 20 66 69 6c 65 73 20 74 | 6f 67 65 74 68 65 72 0a | files t|ogether.|
|00004b00| 77 69 74 68 20 79 6f 75 | 72 20 6f 77 6e 2e 20 20 |with you|r own. |
|00004b10| 54 68 65 20 66 69 6c 65 | 73 20 69 6e 63 6c 75 64 |The file|s includ|
|00004b20| 65 64 20 61 72 65 20 73 | 70 65 63 69 66 69 65 64 |ed are s|pecified|
|00004b30| 20 69 6e 20 74 68 65 20 | 64 69 61 72 79 2d 66 69 | in the |diary-fi|
|00004b40| 6c 65 20 62 79 20 6c 69 | 6e 65 73 0a 6f 66 20 74 |le by li|nes.of t|
|00004b50| 68 65 20 66 6f 72 6d 0a | 0a 20 20 20 20 20 20 20 |he form.|. |
|00004b60| 20 23 69 6e 63 6c 75 64 | 65 20 5c 22 66 69 6c 65 | #includ|e \"file|
|00004b70| 6e 61 6d 65 5c 22 0a 0a | 54 68 69 73 20 69 73 20 |name\"..|This is |
|00004b80| 72 65 63 75 72 73 69 76 | 65 3b 20 74 68 61 74 20 |recursiv|e; that |
|00004b90| 69 73 2c 20 23 69 6e 63 | 6c 75 64 65 20 64 69 72 |is, #inc|lude dir|
|00004ba0| 65 63 74 69 76 65 73 20 | 69 6e 20 66 69 6c 65 73 |ectives |in files|
|00004bb0| 20 74 68 75 73 20 69 6e | 63 6c 75 64 65 64 20 61 | thus in|cluded a|
|00004bc0| 72 65 0a 6f 62 65 79 65 | 64 2e 20 20 59 6f 75 20 |re.obeye|d. You |
|00004bd0| 63 61 6e 20 63 68 61 6e | 67 65 20 74 68 65 20 5c |can chan|ge the \|
|00004be0| 22 23 69 6e 63 6c 75 64 | 65 5c 22 20 74 6f 20 73 |"#includ|e\" to s|
|00004bf0| 6f 6d 65 20 6f 74 68 65 | 72 20 73 74 72 69 6e 67 |ome othe|r string|
|00004c00| 20 62 79 20 63 68 61 6e | 67 69 6e 67 0a 74 68 65 | by chan|ging.the|
|00004c10| 20 76 61 72 69 61 62 6c | 65 20 60 64 69 61 72 79 | variabl|e `diary|
|00004c20| 2d 69 6e 63 6c 75 64 65 | 2d 73 74 72 69 6e 67 27 |-include|-string'|
|00004c30| 2e 20 20 57 68 65 6e 20 | 79 6f 75 20 75 73 65 20 |. When |you use |
|00004c40| 60 69 6e 63 6c 75 64 65 | 2d 6f 74 68 65 72 2d 64 |`include|-other-d|
|00004c50| 69 61 72 79 2d 66 69 6c | 65 73 27 0a 61 73 20 70 |iary-fil|es'.as p|
|00004c60| 61 72 74 20 6f 66 20 74 | 68 65 20 6c 69 73 74 2d |art of t|he list-|
|00004c70| 64 69 61 72 79 2d 65 6e | 74 72 69 65 73 2d 68 6f |diary-en|tries-ho|
|00004c80| 6f 6b 2c 20 79 6f 75 20 | 77 69 6c 6c 20 70 72 6f |ok, you |will pro|
|00004c90| 62 61 62 6c 79 20 61 6c | 73 6f 20 77 61 6e 74 20 |bably al|so want |
|00004ca0| 74 6f 20 75 73 65 20 74 | 68 65 0a 66 75 6e 63 74 |to use t|he.funct|
|00004cb0| 69 6f 6e 20 60 6d 61 72 | 6b 2d 69 6e 63 6c 75 64 |ion `mar|k-includ|
|00004cc0| 65 64 2d 64 69 61 72 79 | 2d 66 69 6c 65 73 27 20 |ed-diary|-files' |
|00004cd0| 61 73 20 70 61 72 74 20 | 6f 66 20 74 68 65 20 6d |as part |of the m|
|00004ce0| 61 72 6b 2d 64 69 61 72 | 79 2d 65 6e 74 72 69 65 |ark-diar|y-entrie|
|00004cf0| 73 2d 68 6f 6f 6b 2e 0a | 0a 46 6f 72 20 65 78 61 |s-hook..|.For exa|
|00004d00| 6d 70 6c 65 2c 20 79 6f | 75 20 63 6f 75 6c 64 20 |mple, yo|u could |
|00004d10| 75 73 65 0a 0a 20 20 20 | 20 20 28 73 65 74 71 20 |use.. | (setq |
|00004d20| 6c 69 73 74 2d 64 69 61 | 72 79 2d 65 6e 74 72 69 |list-dia|ry-entri|
|00004d30| 65 73 2d 68 6f 6f 6b 0a | 20 20 20 20 20 20 20 27 |es-hook.| '|
|00004d40| 28 69 6e 63 6c 75 64 65 | 2d 6f 74 68 65 72 2d 64 |(include|-other-d|
|00004d50| 69 61 72 79 2d 66 69 6c | 65 73 20 73 6f 72 74 2d |iary-fil|es sort-|
|00004d60| 64 69 61 72 79 2d 65 6e | 74 72 69 65 73 29 29 0a |diary-en|tries)).|
|00004d70| 20 20 20 20 20 28 73 65 | 74 71 20 64 69 61 72 79 | (se|tq diary|
|00004d80| 2d 64 69 73 70 6c 61 79 | 2d 68 6f 6f 6b 20 27 66 |-display|-hook 'f|
|00004d90| 61 6e 63 79 2d 64 69 61 | 72 79 2d 64 69 73 70 6c |ancy-dia|ry-displ|
|00004da0| 61 79 29 0a 0a 69 6e 20 | 79 6f 75 72 20 2e 65 6d |ay)..in |your .em|
|00004db0| 61 63 73 20 66 69 6c 65 | 20 74 6f 20 63 61 75 73 |acs file| to caus|
|00004dc0| 65 20 74 68 65 20 66 61 | 6e 63 79 20 64 69 61 72 |e the fa|ncy diar|
|00004dd0| 79 20 62 75 66 66 65 72 | 20 74 6f 20 62 65 20 64 |y buffer| to be d|
|00004de0| 69 73 70 6c 61 79 65 64 | 20 77 69 74 68 0a 64 69 |isplayed| with.di|
|00004df0| 61 72 79 20 65 6e 74 72 | 69 65 73 20 66 72 6f 6d |ary entr|ies from|
|00004e00| 20 76 61 72 69 6f 75 73 | 20 69 6e 63 6c 75 64 65 | various| include|
|00004e10| 64 20 66 69 6c 65 73 2c | 20 65 61 63 68 20 64 61 |d files,| each da|
|00004e20| 79 27 73 20 65 6e 74 72 | 69 65 73 20 73 6f 72 74 |y's entr|ies sort|
|00004e30| 65 64 20 69 6e 74 6f 0a | 6c 65 78 69 63 6f 67 72 |ed into.|lexicogr|
|00004e40| 61 70 68 69 63 20 6f 72 | 64 65 72 2e 22 29 0a 28 |aphic or|der.").(|
|00004e50| 64 65 66 76 61 72 20 64 | 69 61 72 79 2d 64 69 73 |defvar d|iary-dis|
|00004e60| 70 6c 61 79 2d 68 6f 6f | 6b 20 27 73 69 6d 70 6c |play-hoo|k 'simpl|
|00004e70| 65 2d 64 69 61 72 79 2d | 64 69 73 70 6c 61 79 20 |e-diary-|display |
|00004e80| 22 5c 0a 2a 4c 69 73 74 | 20 6f 66 20 66 75 6e 63 |"\.*List| of func|
|00004e90| 74 69 6f 6e 73 20 74 68 | 61 74 20 68 61 6e 64 6c |tions th|at handl|
|00004ea0| 65 20 74 68 65 20 64 69 | 73 70 6c 61 79 20 6f 66 |e the di|splay of|
|00004eb0| 20 74 68 65 20 64 69 61 | 72 79 2e 0a 0a 4f 72 64 | the dia|ry...Ord|
|00004ec0| 69 6e 61 72 69 6c 79 2c | 20 74 68 69 73 20 6a 75 |inarily,| this ju|
|00004ed0| 73 74 20 64 69 73 70 6c | 61 79 73 20 74 68 65 20 |st displ|ays the |
|00004ee0| 64 69 61 72 79 20 62 75 | 66 66 65 72 20 28 77 69 |diary bu|ffer (wi|
|00004ef0| 74 68 20 68 6f 6c 69 64 | 61 79 73 20 69 6e 64 69 |th holid|ays indi|
|00004f00| 63 61 74 65 64 20 69 6e | 0a 74 68 65 20 6d 6f 64 |cated in|.the mod|
|00004f10| 65 20 6c 69 6e 65 29 2c | 20 69 66 20 74 68 65 72 |e line),| if ther|
|00004f20| 65 20 61 72 65 20 61 6e | 79 20 72 65 6c 65 76 61 |e are an|y releva|
|00004f30| 6e 74 20 65 6e 74 72 69 | 65 73 2e 20 20 41 74 20 |nt entri|es. At |
|00004f40| 74 68 65 20 74 69 6d 65 | 20 74 68 65 73 65 0a 66 |the time| these.f|
|00004f50| 75 6e 63 74 69 6f 6e 73 | 20 61 72 65 20 63 61 6c |unctions| are cal|
|00004f60| 6c 65 64 2c 20 74 68 65 | 20 76 61 72 69 61 62 6c |led, the| variabl|
|00004f70| 65 20 60 64 69 61 72 79 | 2d 65 6e 74 72 69 65 73 |e `diary|-entries|
|00004f80| 2d 6c 69 73 74 27 20 69 | 73 20 61 20 6c 69 73 74 |-list' i|s a list|
|00004f90| 2c 20 69 6e 20 6f 72 64 | 65 72 0a 62 79 20 64 61 |, in ord|er.by da|
|00004fa0| 74 65 2c 20 6f 66 20 61 | 6c 6c 20 72 65 6c 65 76 |te, of a|ll relev|
|00004fb0| 61 6e 74 20 64 69 61 72 | 79 20 65 6e 74 72 69 65 |ant diar|y entrie|
|00004fc0| 73 20 69 6e 20 74 68 65 | 20 66 6f 72 6d 20 6f 66 |s in the| form of|
|00004fd0| 20 28 28 4d 4f 4e 54 48 | 20 44 41 59 20 59 45 41 | ((MONTH| DAY YEA|
|00004fe0| 52 29 0a 53 54 52 49 4e | 47 29 2c 20 77 68 65 72 |R).STRIN|G), wher|
|00004ff0| 65 20 73 74 72 69 6e 67 | 20 69 73 20 74 68 65 20 |e string| is the |
|00005000| 64 69 61 72 79 20 65 6e | 74 72 79 20 66 6f 72 20 |diary en|try for |
|00005010| 74 68 65 20 67 69 76 65 | 6e 20 64 61 74 65 2e 20 |the give|n date. |
|00005020| 20 54 68 69 73 20 63 61 | 6e 20 62 65 0a 75 73 65 | This ca|n be.use|
|00005030| 64 2c 20 66 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |d, for e|xample, |
|00005040| 74 6f 20 68 61 6e 64 6c | 65 20 61 70 70 6f 69 6e |to handl|e appoin|
|00005050| 74 6d 65 6e 74 20 6e 6f | 74 69 66 69 63 61 74 69 |tment no|tificati|
|00005060| 6f 6e 2c 20 70 72 65 70 | 61 72 65 20 61 20 64 69 |on, prep|are a di|
|00005070| 66 66 65 72 65 6e 74 0a | 62 75 66 66 65 72 20 66 |fferent.|buffer f|
|00005080| 6f 72 20 64 69 73 70 6c | 61 79 20 28 70 65 72 68 |or displ|ay (perh|
|00005090| 61 70 73 20 63 6f 6d 62 | 69 6e 65 64 20 77 69 74 |aps comb|ined wit|
|000050a0| 68 20 68 6f 6c 69 64 61 | 79 73 29 2c 20 6f 72 20 |h holida|ys), or |
|000050b0| 70 72 6f 64 75 63 65 20 | 68 61 72 64 20 63 6f 70 |produce |hard cop|
|000050c0| 79 0a 6f 75 74 70 75 74 | 2e 0a 0a 41 20 66 75 6e |y.output|...A fun|
|000050d0| 63 74 69 6f 6e 20 60 66 | 61 6e 63 79 2d 64 69 61 |ction `f|ancy-dia|
|000050e0| 72 79 2d 64 69 73 70 6c | 61 79 27 20 69 73 20 70 |ry-displ|ay' is p|
|000050f0| 72 6f 76 69 64 65 64 20 | 61 73 20 61 6e 20 61 6c |rovided |as an al|
|00005100| 74 65 72 6e 61 74 69 76 | 65 0a 63 68 6f 69 63 65 |ternativ|e.choice|
|00005110| 20 66 6f 72 20 74 68 69 | 73 20 68 6f 6f 6b 3b 20 | for thi|s hook; |
|00005120| 74 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 70 72 |this fun|ction pr|
|00005130| 65 70 61 72 65 73 20 61 | 20 73 70 65 63 69 61 6c |epares a| special|
|00005140| 20 6e 6f 6e 65 64 69 74 | 61 62 6c 65 20 64 69 61 | nonedit|able dia|
|00005150| 72 79 0a 62 75 66 66 65 | 72 20 77 69 74 68 20 74 |ry.buffe|r with t|
|00005160| 68 65 20 72 65 6c 65 76 | 61 6e 74 20 64 69 61 72 |he relev|ant diar|
|00005170| 79 20 65 6e 74 72 69 65 | 73 20 74 68 61 74 20 68 |y entrie|s that h|
|00005180| 61 73 20 6e 65 61 74 20 | 64 61 79 2d 62 79 2d 64 |as neat |day-by-d|
|00005190| 61 79 20 61 72 72 61 6e | 67 65 6d 65 6e 74 0a 77 |ay arran|gement.w|
|000051a0| 69 74 68 20 68 65 61 64 | 69 6e 67 73 2e 20 20 54 |ith head|ings. T|
|000051b0| 68 65 20 66 61 6e 63 79 | 20 64 69 61 72 79 20 62 |he fancy| diary b|
|000051c0| 75 66 66 65 72 20 77 69 | 6c 6c 20 73 68 6f 77 20 |uffer wi|ll show |
|000051d0| 74 68 65 20 68 6f 6c 69 | 64 61 79 73 20 75 6e 6c |the holi|days unl|
|000051e0| 65 73 73 20 74 68 65 0a | 76 61 72 69 61 62 6c 65 |ess the.|variable|
|000051f0| 20 60 68 6f 6c 69 64 61 | 79 73 2d 69 6e 2d 64 69 | `holida|ys-in-di|
|00005200| 61 72 79 2d 62 75 66 66 | 65 72 27 20 69 73 20 73 |ary-buff|er' is s|
|00005210| 65 74 20 74 6f 20 6e 69 | 6c 2e 20 20 4f 72 64 69 |et to ni|l. Ordi|
|00005220| 6e 61 72 69 6c 79 2c 20 | 74 68 65 20 66 61 6e 63 |narily, |the fanc|
|00005230| 79 0a 64 69 61 72 79 20 | 62 75 66 66 65 72 20 77 |y.diary |buffer w|
|00005240| 69 6c 6c 20 6e 6f 74 20 | 73 68 6f 77 20 64 61 79 |ill not |show day|
|00005250| 73 20 66 6f 72 20 77 68 | 69 63 68 20 74 68 65 72 |s for wh|ich ther|
|00005260| 65 20 61 72 65 20 6e 6f | 20 64 69 61 72 79 20 65 |e are no| diary e|
|00005270| 6e 74 72 69 65 73 2c 20 | 65 76 65 6e 0a 69 66 20 |ntries, |even.if |
|00005280| 74 68 61 74 20 64 61 79 | 20 69 73 20 61 20 68 6f |that day| is a ho|
|00005290| 6c 69 64 61 79 3b 20 69 | 66 20 79 6f 75 20 77 61 |liday; i|f you wa|
|000052a0| 6e 74 20 73 75 63 68 20 | 64 61 79 73 20 74 6f 20 |nt such |days to |
|000052b0| 62 65 20 73 68 6f 77 6e | 20 69 6e 20 74 68 65 20 |be shown| in the |
|000052c0| 66 61 6e 63 79 0a 64 69 | 61 72 79 20 62 75 66 66 |fancy.di|ary buff|
|000052d0| 65 72 2c 20 73 65 74 20 | 74 68 65 20 76 61 72 69 |er, set |the vari|
|000052e0| 61 62 6c 65 20 60 64 69 | 61 72 79 2d 6c 69 73 74 |able `di|ary-list|
|000052f0| 2d 69 6e 63 6c 75 64 65 | 2d 62 6c 61 6e 6b 73 27 |-include|-blanks'|
|00005300| 20 74 6f 20 74 2e 22 29 | 0a 28 64 65 66 76 61 72 | to t.")|.(defvar|
|00005310| 20 6e 6f 6e 67 72 65 67 | 6f 72 69 61 6e 2d 64 69 | nongreg|orian-di|
|00005320| 61 72 79 2d 6c 69 73 74 | 69 6e 67 2d 68 6f 6f 6b |ary-list|ing-hook|
|00005330| 20 6e 69 6c 20 22 5c 0a | 2a 4c 69 73 74 20 6f 66 | nil "\.|*List of|
|00005340| 20 66 75 6e 63 74 69 6f | 6e 73 20 74 6f 20 62 65 | functio|ns to be|
|00005350| 20 63 61 6c 6c 65 64 20 | 66 6f 72 20 74 68 65 20 | called |for the |
|00005360| 64 69 61 72 79 20 66 69 | 6c 65 20 61 6e 64 20 69 |diary fi|le and i|
|00005370| 6e 63 6c 75 64 65 64 20 | 66 69 6c 65 73 20 61 73 |ncluded |files as|
|00005380| 0a 74 68 65 79 20 61 72 | 65 20 70 72 6f 63 65 73 |.they ar|e proces|
|00005390| 73 65 64 20 66 6f 72 20 | 6c 69 73 74 69 6e 67 20 |sed for |listing |
|000053a0| 64 69 61 72 79 20 65 6e | 74 72 69 65 73 2e 20 20 |diary en|tries. |
|000053b0| 59 6f 75 20 63 61 6e 20 | 75 73 65 20 61 6e 79 20 |You can |use any |
|000053c0| 6f 72 20 61 6c 6c 20 6f | 66 0a 60 6c 69 73 74 2d |or all o|f.`list-|
|000053d0| 68 65 62 72 65 77 2d 64 | 69 61 72 79 2d 65 6e 74 |hebrew-d|iary-ent|
|000053e0| 72 69 65 73 27 20 61 6e | 64 20 60 6c 69 73 74 2d |ries' an|d `list-|
|000053f0| 69 73 6c 61 6d 69 63 2d | 64 69 61 72 79 2d 65 6e |islamic-|diary-en|
|00005400| 74 72 69 65 73 27 2e 20 | 20 54 68 65 0a 64 6f 63 |tries'. | The.doc|
|00005410| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 66 6f 72 20 74 |umentati|on for t|
|00005420| 68 65 73 65 20 66 75 6e | 63 74 69 6f 6e 73 20 64 |hese fun|ctions d|
|00005430| 65 73 63 72 69 62 65 73 | 20 74 68 65 20 73 74 79 |escribes| the sty|
|00005440| 6c 65 20 6f 66 20 73 75 | 63 68 20 64 69 61 72 79 |le of su|ch diary|
|00005450| 20 65 6e 74 72 69 65 73 | 2e 22 29 0a 28 64 65 66 | entries|.").(def|
|00005460| 76 61 72 20 6d 61 72 6b | 2d 64 69 61 72 79 2d 65 |var mark|-diary-e|
|00005470| 6e 74 72 69 65 73 2d 68 | 6f 6f 6b 20 6e 69 6c 20 |ntries-h|ook nil |
|00005480| 22 5c 0a 2a 4c 69 73 74 | 20 6f 66 20 66 75 6e 63 |"\.*List| of func|
|00005490| 74 69 6f 6e 73 20 63 61 | 6c 6c 65 64 20 61 66 74 |tions ca|lled aft|
|000054a0| 65 72 20 6d 61 72 6b 69 | 6e 67 20 64 69 61 72 79 |er marki|ng diary|
|000054b0| 20 65 6e 74 72 69 65 73 | 20 69 6e 20 74 68 65 20 | entries| in the |
|000054c0| 63 61 6c 65 6e 64 61 72 | 2e 0a 0a 41 20 66 75 6e |calendar|...A fun|
|000054d0| 63 74 69 6f 6e 20 60 6d | 61 72 6b 2d 69 6e 63 6c |ction `m|ark-incl|
|000054e0| 75 64 65 64 2d 64 69 61 | 72 79 2d 66 69 6c 65 73 |uded-dia|ry-files|
|000054f0| 27 20 69 73 20 61 6c 73 | 6f 20 70 72 6f 76 69 64 |' is als|o provid|
|00005500| 65 64 20 66 6f 72 20 75 | 73 65 20 61 73 20 74 68 |ed for u|se as th|
|00005510| 65 0a 6d 61 72 6b 2d 64 | 69 61 72 79 2d 65 6e 74 |e.mark-d|iary-ent|
|00005520| 72 69 65 73 2d 68 6f 6f | 6b 3b 20 69 74 20 65 6e |ries-hoo|k; it en|
|00005530| 61 62 6c 65 73 20 79 6f | 75 20 74 6f 20 75 73 65 |ables yo|u to use|
|00005540| 20 73 68 61 72 65 64 20 | 64 69 61 72 79 20 66 69 | shared |diary fi|
|00005550| 6c 65 73 20 74 6f 67 65 | 74 68 65 72 0a 77 69 74 |les toge|ther.wit|
|00005560| 68 20 79 6f 75 72 20 6f | 77 6e 2e 20 20 54 68 65 |h your o|wn. The|
|00005570| 20 66 69 6c 65 73 20 69 | 6e 63 6c 75 64 65 64 20 | files i|ncluded |
|00005580| 61 72 65 20 73 70 65 63 | 69 66 69 65 64 20 69 6e |are spec|ified in|
|00005590| 20 74 68 65 20 64 69 61 | 72 79 2d 66 69 6c 65 20 | the dia|ry-file |
|000055a0| 62 79 20 6c 69 6e 65 73 | 0a 6f 66 20 74 68 65 20 |by lines|.of the |
|000055b0| 66 6f 72 6d 0a 20 20 20 | 20 20 20 20 20 23 69 6e |form. | #in|
|000055c0| 63 6c 75 64 65 20 5c 22 | 66 69 6c 65 6e 61 6d 65 |clude \"|filename|
|000055d0| 5c 22 0a 54 68 69 73 20 | 69 73 20 72 65 63 75 72 |\".This |is recur|
|000055e0| 73 69 76 65 3b 20 74 68 | 61 74 20 69 73 2c 20 23 |sive; th|at is, #|
|000055f0| 69 6e 63 6c 75 64 65 20 | 64 69 72 65 63 74 69 76 |include |directiv|
|00005600| 65 73 20 69 6e 20 66 69 | 6c 65 73 20 74 68 75 73 |es in fi|les thus|
|00005610| 20 69 6e 63 6c 75 64 65 | 64 20 61 72 65 0a 6f 62 | include|d are.ob|
|00005620| 65 79 65 64 2e 20 20 59 | 6f 75 20 63 61 6e 20 63 |eyed. Y|ou can c|
|00005630| 68 61 6e 67 65 20 74 68 | 65 20 5c 22 23 69 6e 63 |hange th|e \"#inc|
|00005640| 6c 75 64 65 5c 22 20 74 | 6f 20 73 6f 6d 65 20 6f |lude\" t|o some o|
|00005650| 74 68 65 72 20 73 74 72 | 69 6e 67 20 62 79 20 63 |ther str|ing by c|
|00005660| 68 61 6e 67 69 6e 67 20 | 74 68 65 0a 76 61 72 69 |hanging |the.vari|
|00005670| 61 62 6c 65 20 60 64 69 | 61 72 79 2d 69 6e 63 6c |able `di|ary-incl|
|00005680| 75 64 65 2d 73 74 72 69 | 6e 67 27 2e 20 20 57 68 |ude-stri|ng'. Wh|
|00005690| 65 6e 20 79 6f 75 20 75 | 73 65 20 60 6d 61 72 6b |en you u|se `mark|
|000056a0| 2d 69 6e 63 6c 75 64 65 | 64 2d 64 69 61 72 79 2d |-include|d-diary-|
|000056b0| 66 69 6c 65 73 27 20 61 | 73 0a 70 61 72 74 20 6f |files' a|s.part o|
|000056c0| 66 20 74 68 65 20 6d 61 | 72 6b 2d 64 69 61 72 79 |f the ma|rk-diary|
|000056d0| 2d 65 6e 74 72 69 65 73 | 2d 68 6f 6f 6b 2c 20 79 |-entries|-hook, y|
|000056e0| 6f 75 20 77 69 6c 6c 20 | 70 72 6f 62 61 62 6c 79 |ou will |probably|
|000056f0| 20 61 6c 73 6f 20 77 61 | 6e 74 20 74 6f 20 75 73 | also wa|nt to us|
|00005700| 65 20 74 68 65 0a 66 75 | 6e 63 74 69 6f 6e 20 60 |e the.fu|nction `|
|00005710| 69 6e 63 6c 75 64 65 2d | 6f 74 68 65 72 2d 64 69 |include-|other-di|
|00005720| 61 72 79 2d 66 69 6c 65 | 73 27 20 61 73 20 70 61 |ary-file|s' as pa|
|00005730| 72 74 20 6f 66 20 74 68 | 65 20 6c 69 73 74 2d 64 |rt of th|e list-d|
|00005740| 69 61 72 79 2d 65 6e 74 | 72 69 65 73 2d 68 6f 6f |iary-ent|ries-hoo|
|00005750| 6b 2e 22 29 0a 28 64 65 | 66 76 61 72 20 6e 6f 6e |k.").(de|fvar non|
|00005760| 67 72 65 67 6f 72 69 61 | 6e 2d 64 69 61 72 79 2d |gregoria|n-diary-|
|00005770| 6d 61 72 6b 69 6e 67 2d | 68 6f 6f 6b 20 6e 69 6c |marking-|hook nil|
|00005780| 20 22 5c 0a 2a 4c 69 73 | 74 20 6f 66 20 66 75 6e | "\.*Lis|t of fun|
|00005790| 63 74 69 6f 6e 73 20 74 | 6f 20 62 65 20 63 61 6c |ctions t|o be cal|
|000057a0| 6c 65 64 20 61 73 20 74 | 68 65 20 64 69 61 72 79 |led as t|he diary|
|000057b0| 20 66 69 6c 65 20 61 6e | 64 20 69 6e 63 6c 75 64 | file an|d includ|
|000057c0| 65 64 20 66 69 6c 65 73 | 20 61 72 65 0a 70 72 6f |ed files| are.pro|
|000057d0| 63 65 73 73 65 64 20 66 | 6f 72 20 6d 61 72 6b 69 |cessed f|or marki|
|000057e0| 6e 67 20 64 69 61 72 79 | 20 65 6e 74 72 69 65 73 |ng diary| entries|
|000057f0| 2e 20 20 59 6f 75 20 63 | 61 6e 20 75 73 65 20 65 |. You c|an use e|
|00005800| 69 74 68 65 72 20 6f 72 | 20 62 6f 74 68 20 6f 66 |ither or| both of|
|00005810| 0a 6d 61 72 6b 2d 68 65 | 62 72 65 77 2d 64 69 61 |.mark-he|brew-dia|
|00005820| 72 79 2d 65 6e 74 72 69 | 65 73 20 61 6e 64 20 6d |ry-entri|es and m|
|00005830| 61 72 6b 2d 69 73 6c 61 | 6d 69 63 2d 64 69 61 72 |ark-isla|mic-diar|
|00005840| 79 2d 65 6e 74 72 69 65 | 73 2e 20 20 54 68 65 20 |y-entrie|s. The |
|00005850| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 0a 66 6f |document|ation.fo|
|00005860| 72 20 74 68 65 73 65 20 | 66 75 6e 63 74 69 6f 6e |r these |function|
|00005870| 73 20 64 65 73 63 72 69 | 62 65 73 20 74 68 65 20 |s descri|bes the |
|00005880| 73 74 79 6c 65 20 6f 66 | 20 73 75 63 68 20 64 69 |style of| such di|
|00005890| 61 72 79 20 65 6e 74 72 | 69 65 73 2e 22 29 0a 28 |ary entr|ies.").(|
|000058a0| 64 65 66 76 61 72 20 64 | 69 61 72 79 2d 6c 69 73 |defvar d|iary-lis|
|000058b0| 74 2d 69 6e 63 6c 75 64 | 65 2d 62 6c 61 6e 6b 73 |t-includ|e-blanks|
|000058c0| 20 6e 69 6c 20 22 5c 0a | 2a 49 66 20 6e 69 6c 2c | nil "\.|*If nil,|
|000058d0| 20 64 6f 20 6e 6f 74 20 | 69 6e 63 6c 75 64 65 20 | do not |include |
|000058e0| 64 61 79 73 20 77 69 74 | 68 20 6e 6f 20 64 69 61 |days wit|h no dia|
|000058f0| 72 79 20 65 6e 74 72 79 | 20 69 6e 20 74 68 65 20 |ry entry| in the |
|00005900| 6c 69 73 74 20 6f 66 20 | 64 69 61 72 79 0a 65 6e |list of |diary.en|
|00005910| 74 72 69 65 73 2e 20 20 | 53 75 63 68 20 64 61 79 |tries. |Such day|
|00005920| 73 20 77 69 6c 6c 20 74 | 68 65 6e 20 6e 6f 74 20 |s will t|hen not |
|00005930| 62 65 20 73 68 6f 77 6e | 20 69 6e 20 74 68 65 20 |be shown| in the |
|00005940| 74 68 65 20 66 61 6e 63 | 79 20 64 69 61 72 79 20 |the fanc|y diary |
|00005950| 62 75 66 66 65 72 2c 0a | 65 76 65 6e 20 69 66 20 |buffer,.|even if |
|00005960| 74 68 65 79 20 61 72 65 | 20 68 6f 6c 69 64 61 79 |they are| holiday|
|00005970| 73 2e 22 29 0a 28 64 65 | 66 76 61 72 20 68 6f 6c |s.").(de|fvar hol|
|00005980| 69 64 61 79 73 2d 69 6e | 2d 64 69 61 72 79 2d 62 |idays-in|-diary-b|
|00005990| 75 66 66 65 72 20 74 20 | 22 5c 0a 2a 49 66 20 74 |uffer t |"\.*If t|
|000059a0| 2c 20 74 68 65 20 68 6f | 6c 69 64 61 79 73 20 77 |, the ho|lidays w|
|000059b0| 69 6c 6c 20 62 65 20 69 | 6e 64 69 63 61 74 65 64 |ill be i|ndicated|
|000059c0| 20 69 6e 20 74 68 65 20 | 6d 6f 64 65 20 6c 69 6e | in the |mode lin|
|000059d0| 65 20 6f 66 20 74 68 65 | 20 64 69 61 72 79 20 62 |e of the| diary b|
|000059e0| 75 66 66 65 72 0a 28 6f | 72 20 69 6e 20 74 68 65 |uffer.(o|r in the|
|000059f0| 20 66 61 6e 63 79 20 64 | 69 61 72 79 20 62 75 66 | fancy d|iary buf|
|00005a00| 66 65 72 20 6e 65 78 74 | 20 74 6f 20 74 68 65 20 |fer next| to the |
|00005a10| 64 61 74 65 29 2e 20 20 | 54 68 69 73 20 73 6c 6f |date). |This slo|
|00005a20| 77 73 20 64 6f 77 6e 20 | 74 68 65 20 64 69 61 72 |ws down |the diar|
|00005a30| 79 0a 66 75 6e 63 74 69 | 6f 6e 73 20 73 6f 6d 65 |y.functi|ons some|
|00005a40| 77 68 61 74 3b 20 73 65 | 74 74 69 6e 67 20 69 74 |what; se|tting it|
|00005a50| 20 74 6f 20 6e 69 6c 20 | 77 69 6c 6c 20 6d 61 6b | to nil |will mak|
|00005a60| 65 20 74 68 65 20 64 69 | 61 72 79 20 64 69 73 70 |e the di|ary disp|
|00005a70| 6c 61 79 20 66 61 73 74 | 65 72 2e 22 29 0a 28 64 |lay fast|er.").(d|
|00005a80| 65 66 76 61 72 20 67 65 | 6e 65 72 61 6c 2d 68 6f |efvar ge|neral-ho|
|00005a90| 6c 69 64 61 79 73 20 27 | 28 28 66 69 78 65 64 20 |lidays '|((fixed |
|00005aa0| 31 20 31 20 22 4e 65 77 | 20 59 65 61 72 27 73 20 |1 1 "New| Year's |
|00005ab0| 44 61 79 22 29 20 28 66 | 6c 6f 61 74 20 31 20 31 |Day") (f|loat 1 1|
|00005ac0| 20 33 20 22 4d 61 72 74 | 69 6e 20 4c 75 74 68 65 | 3 "Mart|in Luthe|
|00005ad0| 72 20 4b 69 6e 67 20 44 | 61 79 22 29 20 28 66 69 |r King D|ay") (fi|
|00005ae0| 78 65 64 20 32 20 32 20 | 22 47 72 6f 75 6e 64 20 |xed 2 2 |"Ground |
|00005af0| 48 6f 67 20 44 61 79 22 | 29 20 28 66 69 78 65 64 |Hog Day"|) (fixed|
|00005b00| 20 32 20 31 34 20 22 56 | 61 6c 65 6e 74 69 6e 65 | 2 14 "V|alentine|
|00005b10| 27 73 20 44 61 79 22 29 | 20 28 66 6c 6f 61 74 20 |'s Day")| (float |
|00005b20| 32 20 31 20 33 20 22 50 | 72 65 73 69 64 65 6e 74 |2 1 3 "P|resident|
|00005b30| 27 73 20 44 61 79 22 29 | 20 28 66 69 78 65 64 20 |'s Day")| (fixed |
|00005b40| 33 20 31 37 20 22 53 74 | 2e 20 50 61 74 72 69 63 |3 17 "St|. Patric|
|00005b50| 6b 27 73 20 44 61 79 22 | 29 20 28 66 69 78 65 64 |k's Day"|) (fixed|
|00005b60| 20 34 20 31 20 22 41 70 | 72 69 6c 20 46 6f 6f 6c | 4 1 "Ap|ril Fool|
|00005b70| 27 73 20 44 61 79 22 29 | 20 28 66 6c 6f 61 74 20 |'s Day")| (float |
|00005b80| 35 20 30 20 32 20 22 4d | 6f 74 68 65 72 27 73 20 |5 0 2 "M|other's |
|00005b90| 44 61 79 22 29 20 28 66 | 6c 6f 61 74 20 35 20 31 |Day") (f|loat 5 1|
|00005ba0| 20 2d 31 20 22 4d 65 6d | 6f 72 69 61 6c 20 44 61 | -1 "Mem|orial Da|
|00005bb0| 79 22 29 20 28 66 69 78 | 65 64 20 36 20 31 34 20 |y") (fix|ed 6 14 |
|00005bc0| 22 46 6c 61 67 20 44 61 | 79 22 29 20 28 66 6c 6f |"Flag Da|y") (flo|
|00005bd0| 61 74 20 36 20 30 20 33 | 20 22 46 61 74 68 65 72 |at 6 0 3| "Father|
|00005be0| 27 73 20 44 61 79 22 29 | 20 28 66 69 78 65 64 20 |'s Day")| (fixed |
|00005bf0| 37 20 34 20 22 49 6e 64 | 65 70 65 6e 64 65 6e 63 |7 4 "Ind|ependenc|
|00005c00| 65 20 44 61 79 22 29 20 | 28 66 6c 6f 61 74 20 39 |e Day") |(float 9|
|00005c10| 20 31 20 31 20 22 4c 61 | 62 6f 72 20 44 61 79 22 | 1 1 "La|bor Day"|
|00005c20| 29 20 28 66 6c 6f 61 74 | 20 31 30 20 31 20 32 20 |) (float| 10 1 2 |
|00005c30| 22 43 6f 6c 75 6d 62 75 | 73 20 44 61 79 22 29 20 |"Columbu|s Day") |
|00005c40| 28 66 69 78 65 64 20 31 | 30 20 33 31 20 22 48 61 |(fixed 1|0 31 "Ha|
|00005c50| 6c 6c 6f 77 65 65 6e 22 | 29 20 28 66 69 78 65 64 |lloween"|) (fixed|
|00005c60| 20 31 31 20 31 31 20 22 | 56 65 74 65 72 61 6e 27 | 11 11 "|Veteran'|
|00005c70| 73 20 44 61 79 22 29 20 | 28 66 6c 6f 61 74 20 31 |s Day") |(float 1|
|00005c80| 31 20 34 20 34 20 22 54 | 68 61 6e 6b 73 67 69 76 |1 4 4 "T|hanksgiv|
|00005c90| 69 6e 67 22 29 29 20 22 | 5c 0a 2a 47 65 6e 65 72 |ing")) "|\.*Gener|
|00005ca0| 61 6c 20 68 6f 6c 69 64 | 61 79 73 2e 20 20 44 65 |al holid|ays. De|
|00005cb0| 66 61 75 6c 74 20 76 61 | 6c 75 65 20 69 73 20 66 |fault va|lue is f|
|00005cc0| 6f 72 20 74 68 65 20 55 | 6e 69 74 65 64 20 53 74 |or the U|nited St|
|00005cd0| 61 74 65 73 2e 20 20 53 | 65 65 20 74 68 65 0a 64 |ates. S|ee the.d|
|00005ce0| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 66 6f 72 |ocumenta|tion for|
|00005cf0| 20 60 63 61 6c 65 6e 64 | 61 72 2d 68 6f 6c 69 64 | `calend|ar-holid|
|00005d00| 61 79 73 27 20 66 6f 72 | 20 64 65 74 61 69 6c 73 |ays' for| details|
|00005d10| 2e 22 29 0a 28 64 65 66 | 76 61 72 20 6c 6f 63 61 |.").(def|var loca|
|00005d20| 6c 2d 68 6f 6c 69 64 61 | 79 73 20 6e 69 6c 20 22 |l-holida|ys nil "|
|00005d30| 5c 0a 2a 4c 6f 63 61 6c | 20 68 6f 6c 69 64 61 79 |\.*Local| holiday|
|00005d40| 73 2e 0a 53 65 65 20 74 | 68 65 20 64 6f 63 75 6d |s..See t|he docum|
|00005d50| 65 6e 74 61 74 69 6f 6e | 20 66 6f 72 20 60 63 61 |entation| for `ca|
|00005d60| 6c 65 6e 64 61 72 2d 68 | 6f 6c 69 64 61 79 73 27 |lendar-h|olidays'|
|00005d70| 20 66 6f 72 20 64 65 74 | 61 69 6c 73 2e 22 29 0a | for det|ails.").|
|00005d80| 28 64 65 66 76 61 72 20 | 6f 74 68 65 72 2d 68 6f |(defvar |other-ho|
|00005d90| 6c 69 64 61 79 73 20 6e | 69 6c 20 22 5c 0a 2a 55 |lidays n|il "\.*U|
|00005da0| 73 65 72 20 64 65 66 69 | 6e 65 64 20 68 6f 6c 69 |ser defi|ned holi|
|00005db0| 64 61 79 73 2e 0a 53 65 | 65 20 74 68 65 20 64 6f |days..Se|e the do|
|00005dc0| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 66 6f 72 20 |cumentat|ion for |
|00005dd0| 60 63 61 6c 65 6e 64 61 | 72 2d 68 6f 6c 69 64 61 |`calenda|r-holida|
|00005de0| 79 73 27 20 66 6f 72 20 | 64 65 74 61 69 6c 73 2e |ys' for |details.|
|00005df0| 22 29 0a 28 64 65 66 76 | 61 72 20 68 65 62 72 65 |").(defv|ar hebre|
|00005e00| 77 2d 68 6f 6c 69 64 61 | 79 73 20 27 28 28 72 6f |w-holida|ys '((ro|
|00005e10| 73 68 2d 68 61 73 68 61 | 6e 61 68 2d 65 74 63 29 |sh-hasha|nah-etc)|
|00005e20| 20 28 69 66 20 61 6c 6c | 2d 68 65 62 72 65 77 2d | (if all|-hebrew-|
|00005e30| 63 61 6c 65 6e 64 61 72 | 2d 68 6f 6c 69 64 61 79 |calendar|-holiday|
|00005e40| 73 20 28 6a 75 6c 69 61 | 6e 20 31 31 20 28 6c 65 |s (julia|n 11 (le|
|00005e50| 74 2a 20 28 28 6d 20 64 | 69 73 70 6c 61 79 65 64 |t* ((m d|isplayed|
|00005e60| 2d 6d 6f 6e 74 68 29 20 | 28 79 20 64 69 73 70 6c |-month) |(y displ|
|00005e70| 61 79 65 64 2d 79 65 61 | 72 29 20 28 79 65 61 72 |ayed-yea|r) (year|
|00005e80| 29 29 20 28 69 6e 63 72 | 65 6d 65 6e 74 2d 63 61 |)) (incr|ement-ca|
|00005e90| 6c 65 6e 64 61 72 2d 6d | 6f 6e 74 68 20 6d 20 79 |lendar-m|onth m y|
|00005ea0| 20 2d 31 29 20 28 6c 65 | 74 20 28 28 79 65 61 72 | -1) (le|t ((year|
|00005eb0| 20 28 65 78 74 72 61 63 | 74 2d 63 61 6c 65 6e 64 | (extrac|t-calend|
|00005ec0| 61 72 2d 79 65 61 72 20 | 28 63 61 6c 65 6e 64 61 |ar-year |(calenda|
|00005ed0| 72 2d 6a 75 6c 69 61 6e | 2d 66 72 6f 6d 2d 61 62 |r-julian|-from-ab|
|00005ee0| 73 6f 6c 75 74 65 20 28 | 63 61 6c 65 6e 64 61 72 |solute (|calendar|
|00005ef0| 2d 61 62 73 6f 6c 75 74 | 65 2d 66 72 6f 6d 2d 67 |-absolut|e-from-g|
|00005f00| 72 65 67 6f 72 69 61 6e | 20 28 6c 69 73 74 20 6d |regorian| (list m|
|00005f10| 20 31 20 79 29 29 29 29 | 29 29 20 28 69 66 20 28 | 1 y))))|)) (if (|
|00005f20| 7a 65 72 6f 70 20 28 25 | 20 28 31 2b 20 79 65 61 |zerop (%| (1+ yea|
|00005f30| 72 29 20 34 29 29 20 32 | 32 20 32 31 29 29 29 20 |r) 4)) 2|2 21))) |
|00005f40| 22 5c 22 54 61 6c 20 55 | 6d 61 74 61 72 5c 22 20 |"\"Tal U|matar\" |
|00005f50| 28 65 76 65 6e 69 6e 67 | 29 22 29 29 20 28 69 66 |(evening|)")) (if|
|00005f60| 20 61 6c 6c 2d 68 65 62 | 72 65 77 2d 63 61 6c 65 | all-heb|rew-cale|
|00005f70| 6e 64 61 72 2d 68 6f 6c | 69 64 61 79 73 20 28 68 |ndar-hol|idays (h|
|00005f80| 61 6e 75 6b 6b 61 68 29 | 20 28 68 65 62 72 65 77 |anukkah)| (hebrew|
|00005f90| 20 39 20 32 35 20 22 48 | 61 6e 75 6b 6b 61 68 22 | 9 25 "H|anukkah"|
|00005fa0| 29 29 20 28 69 66 20 61 | 6c 6c 2d 68 65 62 72 65 |)) (if a|ll-hebre|
|00005fb0| 77 2d 63 61 6c 65 6e 64 | 61 72 2d 68 6f 6c 69 64 |w-calend|ar-holid|
|00005fc0| 61 79 73 20 28 68 65 62 | 72 65 77 20 31 30 20 28 |ays (heb|rew 10 (|
|00005fd0| 6c 65 74 20 28 28 68 2d | 79 65 61 72 20 28 65 78 |let ((h-|year (ex|
|00005fe0| 74 72 61 63 74 2d 63 61 | 6c 65 6e 64 61 72 2d 79 |tract-ca|lendar-y|
|00005ff0| 65 61 72 20 28 63 61 6c | 65 6e 64 61 72 2d 68 65 |ear (cal|endar-he|
|00006000| 62 72 65 77 2d 66 72 6f | 6d 2d 61 62 73 6f 6c 75 |brew-fro|m-absolu|
|00006010| 74 65 20 28 63 61 6c 65 | 6e 64 61 72 2d 61 62 73 |te (cale|ndar-abs|
|00006020| 6f 6c 75 74 65 2d 66 72 | 6f 6d 2d 67 72 65 67 6f |olute-fr|om-grego|
|00006030| 72 69 61 6e 20 28 6c 69 | 73 74 20 64 69 73 70 6c |rian (li|st displ|
|00006040| 61 79 65 64 2d 6d 6f 6e | 74 68 20 32 38 20 64 69 |ayed-mon|th 28 di|
|00006050| 73 70 6c 61 79 65 64 2d | 79 65 61 72 29 29 29 29 |splayed-|year))))|
|00006060| 29 29 20 28 69 66 20 28 | 3d 20 28 25 20 28 63 61 |)) (if (|= (% (ca|
|00006070| 6c 65 6e 64 61 72 2d 61 | 62 73 6f 6c 75 74 65 2d |lendar-a|bsolute-|
|00006080| 66 72 6f 6d 2d 68 65 62 | 72 65 77 20 28 6c 69 73 |from-heb|rew (lis|
|00006090| 74 20 31 30 20 31 30 20 | 68 2d 79 65 61 72 29 29 |t 10 10 |h-year))|
|000060a0| 20 37 29 20 36 29 20 31 | 31 20 31 30 29 29 20 22 | 7) 6) 1|1 10)) "|
|000060b0| 54 7a 6f 6d 20 54 65 76 | 65 74 68 22 29 29 20 28 |Tzom Tev|eth")) (|
|000060c0| 69 66 20 61 6c 6c 2d 68 | 65 62 72 65 77 2d 63 61 |if all-h|ebrew-ca|
|000060d0| 6c 65 6e 64 61 72 2d 68 | 6f 6c 69 64 61 79 73 20 |lendar-h|olidays |
|000060e0| 28 68 65 62 72 65 77 20 | 31 31 20 31 35 20 22 54 |(hebrew |11 15 "T|
|000060f0| 75 20 42 27 53 68 65 76 | 61 74 22 29 29 20 28 69 |u B'Shev|at")) (i|
|00006100| 66 20 61 6c 6c 2d 68 65 | 62 72 65 77 2d 63 61 6c |f all-he|brew-cal|
|00006110| 65 6e 64 61 72 2d 68 6f | 6c 69 64 61 79 73 20 28 |endar-ho|lidays (|
|00006120| 68 65 62 72 65 77 20 31 | 31 20 28 6c 65 74 20 28 |hebrew 1|1 (let (|
|00006130| 28 6d 20 64 69 73 70 6c | 61 79 65 64 2d 6d 6f 6e |(m displ|ayed-mon|
|00006140| 74 68 29 20 28 79 20 64 | 69 73 70 6c 61 79 65 64 |th) (y d|isplayed|
|00006150| 2d 79 65 61 72 29 29 20 | 28 69 6e 63 72 65 6d 65 |-year)) |(increme|
|00006160| 6e 74 2d 63 61 6c 65 6e | 64 61 72 2d 6d 6f 6e 74 |nt-calen|dar-mont|
|00006170| 68 20 6d 20 79 20 31 29 | 20 28 6c 65 74 2a 20 28 |h m y 1)| (let* (|
|00006180| 28 68 2d 79 65 61 72 20 | 28 65 78 74 72 61 63 74 |(h-year |(extract|
|00006190| 2d 63 61 6c 65 6e 64 61 | 72 2d 79 65 61 72 20 28 |-calenda|r-year (|
|000061a0| 63 61 6c 65 6e 64 61 72 | 2d 68 65 62 72 65 77 2d |calendar|-hebrew-|
|000061b0| 66 72 6f 6d 2d 61 62 73 | 6f 6c 75 74 65 20 28 63 |from-abs|olute (c|
|000061c0| 61 6c 65 6e 64 61 72 2d | 61 62 73 6f 6c 75 74 65 |alendar-|absolute|
|000061d0| 2d 66 72 6f 6d 2d 67 72 | 65 67 6f 72 69 61 6e 20 |-from-gr|egorian |
|000061e0| 28 6c 69 73 74 20 6d 20 | 28 63 61 6c 65 6e 64 61 |(list m |(calenda|
|000061f0| 72 2d 6c 61 73 74 2d 64 | 61 79 2d 6f 66 2d 6d 6f |r-last-d|ay-of-mo|
|00006200| 6e 74 68 20 6d 20 79 29 | 20 79 29 29 29 29 29 20 |nth m y)| y))))) |
|00006210| 28 73 2d 73 20 28 63 61 | 6c 65 6e 64 61 72 2d 68 |(s-s (ca|lendar-h|
|00006220| 65 62 72 65 77 2d 66 72 | 6f 6d 2d 61 62 73 6f 6c |ebrew-fr|om-absol|
|00006230| 75 74 65 20 28 69 66 20 | 28 3d 20 28 25 20 28 63 |ute (if |(= (% (c|
|00006240| 61 6c 65 6e 64 61 72 2d | 61 62 73 6f 6c 75 74 65 |alendar-|absolute|
|00006250| 2d 66 72 6f 6d 2d 68 65 | 62 72 65 77 20 28 6c 69 |-from-he|brew (li|
|00006260| 73 74 20 37 20 31 20 68 | 2d 79 65 61 72 29 29 20 |st 7 1 h|-year)) |
|00006270| 37 29 20 36 29 20 28 63 | 61 6c 65 6e 64 61 72 2d |7) 6) (c|alendar-|
|00006280| 64 61 79 6e 61 6d 65 2d | 6f 6e 2d 6f 72 2d 62 65 |dayname-|on-or-be|
|00006290| 66 6f 72 65 20 36 20 28 | 63 61 6c 65 6e 64 61 72 |fore 6 (|calendar|
|000062a0| 2d 61 62 73 6f 6c 75 74 | 65 2d 66 72 6f 6d 2d 68 |-absolut|e-from-h|
|000062b0| 65 62 72 65 77 20 28 6c | 69 73 74 20 31 31 20 31 |ebrew (l|ist 11 1|
|000062c0| 37 20 68 2d 79 65 61 72 | 29 29 29 20 28 63 61 6c |7 h-year|))) (cal|
|000062d0| 65 6e 64 61 72 2d 64 61 | 79 6e 61 6d 65 2d 6f 6e |endar-da|yname-on|
|000062e0| 2d 6f 72 2d 62 65 66 6f | 72 65 20 36 20 28 63 61 |-or-befo|re 6 (ca|
|000062f0| 6c 65 6e 64 61 72 2d 61 | 62 73 6f 6c 75 74 65 2d |lendar-a|bsolute-|
|00006300| 66 72 6f 6d 2d 68 65 62 | 72 65 77 20 28 6c 69 73 |from-heb|rew (lis|
|00006310| 74 20 31 31 20 31 36 20 | 68 2d 79 65 61 72 29 29 |t 11 16 |h-year))|
|00006320| 29 29 29 29 20 28 64 61 | 79 20 28 65 78 74 72 61 |)))) (da|y (extra|
|00006330| 63 74 2d 63 61 6c 65 6e | 64 61 72 2d 64 61 79 20 |ct-calen|dar-day |
|00006340| 73 2d 73 29 29 29 20 64 | 61 79 29 29 20 22 53 68 |s-s))) d|ay)) "Sh|
|00006350| 61 62 62 61 74 20 53 68 | 69 72 61 68 22 29 29 20 |abbat Sh|irah")) |
|00006360| 28 70 61 73 73 6f 76 65 | 72 2d 65 74 63 29 20 28 |(passove|r-etc) (|
|00006370| 69 66 20 28 61 6e 64 20 | 61 6c 6c 2d 68 65 62 72 |if (and |all-hebr|
|00006380| 65 77 2d 63 61 6c 65 6e | 64 61 72 2d 68 6f 6c 69 |ew-calen|dar-holi|
|00006390| 64 61 79 73 20 28 6c 65 | 74 2a 20 28 28 6d 20 64 |days (le|t* ((m d|
|000063a0| 69 73 70 6c 61 79 65 64 | 2d 6d 6f 6e 74 68 29 20 |isplayed|-month) |
|000063b0| 28 79 20 64 69 73 70 6c | 61 79 65 64 2d 79 65 61 |(y displ|ayed-yea|
|000063c0| 72 29 20 28 79 65 61 72 | 29 29 20 28 69 6e 63 72 |r) (year|)) (incr|
|000063d0| 65 6d 65 6e 74 2d 63 61 | 6c 65 6e 64 61 72 2d 6d |ement-ca|lendar-m|
|000063e0| 6f 6e 74 68 20 6d 20 79 | 20 2d 31 29 20 28 6c 65 |onth m y| -1) (le|
|000063f0| 74 20 28 28 79 65 61 72 | 20 28 65 78 74 72 61 63 |t ((year| (extrac|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.