home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1994-05-28 | 98.9 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.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
100%
| file
| Emacs/XEmacs v19 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 72 6d 73 40 6d 6f 6c |piled by| rms@mol|
|00000020| 65 2e 67 6e 75 2e 61 69 | 2e 6d 69 74 2e 65 64 75 |e.gnu.ai|.mit.edu|
|00000030| 20 6f 6e 20 53 61 74 20 | 4d 61 79 20 32 38 20 30 | on Sat |May 28 0|
|00000040| 34 3a 34 33 3a 35 35 20 | 31 39 39 34 0a 3b 3b 3b |4:43:55 |1994.;;;|
|00000050| 20 66 72 6f 6d 20 66 69 | 6c 65 20 2f 68 6f 6d 65 | from fi|le /home|
|00000060| 2f 66 73 66 2f 72 6d 73 | 2f 65 31 39 2f 6c 69 73 |/fsf/rms|/e19/lis|
|00000070| 70 2f 63 61 6c 65 6e 64 | 61 72 2e 65 6c 0a 3b 3b |p/calend|ar.el.;;|
|00000080| 3b 20 65 6d 61 63 73 20 | 76 65 72 73 69 6f 6e 20 |; emacs |version |
|00000090| 31 39 2e 32 33 2e 39 30 | 2e 31 2e 0a 3b 3b 3b 20 |19.23.90|.1..;;; |
|000000a0| 62 79 74 65 63 6f 6d 70 | 20 76 65 72 73 69 6f 6e |bytecomp| version|
|000000b0| 20 46 53 46 20 32 2e 31 | 30 0a 3b 3b 3b 20 6f 70 | FSF 2.1|0.;;; op|
|000000c0| 74 69 6d 69 7a 61 74 69 | 6f 6e 20 69 73 20 6f 6e |timizati|on is on|
|000000d0| 2e 0a 3b 3b 3b 20 74 68 | 69 73 20 66 69 6c 65 20 |..;;; th|is file |
|000000e0| 75 73 65 73 20 6f 70 63 | 6f 64 65 73 20 77 68 69 |uses opc|odes whi|
|000000f0| 63 68 20 64 6f 20 6e 6f | 74 20 65 78 69 73 74 20 |ch do no|t exist |
|00000100| 69 6e 20 45 6d 61 63 73 | 20 31 38 2e 0a 0a 28 69 |in Emacs| 18...(i|
|00000110| 66 20 28 61 6e 64 20 28 | 62 6f 75 6e 64 70 20 27 |f (and (|boundp '|
|00000120| 65 6d 61 63 73 2d 76 65 | 72 73 69 6f 6e 29 0a 09 |emacs-ve|rsion)..|
|00000130| 20 28 6f 72 20 28 61 6e | 64 20 28 62 6f 75 6e 64 | (or (an|d (bound|
|00000140| 70 20 27 65 70 6f 63 68 | 3a 3a 76 65 72 73 69 6f |p 'epoch|::versio|
|00000150| 6e 29 20 65 70 6f 63 68 | 3a 3a 76 65 72 73 69 6f |n) epoch|::versio|
|00000160| 6e 29 0a 09 20 20 20 20 | 20 28 73 74 72 69 6e 67 |n).. | (string|
|00000170| 2d 6c 65 73 73 70 20 65 | 6d 61 63 73 2d 76 65 72 |-lessp e|macs-ver|
|00000180| 73 69 6f 6e 20 22 31 39 | 22 29 29 29 0a 20 20 20 |sion "19|"))). |
|00000190| 20 28 65 72 72 6f 72 20 | 22 60 2f 68 6f 6d 65 2f | (error |"`/home/|
|000001a0| 66 73 66 2f 72 6d 73 2f | 65 31 39 2f 6c 69 73 70 |fsf/rms/|e19/lisp|
|000001b0| 2f 63 61 6c 65 6e 64 61 | 72 2e 65 6c 27 20 77 61 |/calenda|r.el' wa|
|000001c0| 73 20 63 6f 6d 70 69 6c | 65 64 20 66 6f 72 20 45 |s compil|ed for E|
|000001d0| 6d 61 63 73 20 31 39 22 | 29 29 0a 0a 28 64 65 66 |macs 19"|))..(def|
|000001e0| 61 6c 69 61 73 20 28 71 | 75 6f 74 65 20 63 61 6c |alias (q|uote cal|
|000001f0| 65 6e 64 61 72 2d 76 65 | 72 73 69 6f 6e 29 20 23 |endar-ve|rsion) #|
|00000200| 5b 6e 69 6c 20 22 c0 c1 | 21 87 22 20 5b 6d 65 73 |[nil "..|!." [mes|
|00000210| 73 61 67 65 20 22 56 65 | 72 73 69 6f 6e 20 35 2e |sage "Ve|rsion 5.|
|00000220| 33 2c 20 4a 61 6e 75 61 | 72 79 20 32 35 2c 20 31 |3, Janua|ry 25, 1|
|00000230| 39 39 34 22 5d 20 32 20 | 6e 69 6c 20 6e 69 6c 5d |994"] 2 |nil nil]|
|00000240| 29 0a 28 64 65 66 76 61 | 72 20 63 61 6c 65 6e 64 |).(defva|r calend|
|00000250| 61 72 2d 77 65 65 6b 2d | 73 74 61 72 74 2d 64 61 |ar-week-|start-da|
|00000260| 79 20 30 20 22 5c 0a 2a | 54 68 65 20 64 61 79 20 |y 0 "\.*|The day |
|00000270| 6f 66 20 74 68 65 20 77 | 65 65 6b 20 6f 6e 20 77 |of the w|eek on w|
|00000280| 68 69 63 68 20 61 20 77 | 65 65 6b 20 69 6e 20 74 |hich a w|eek in t|
|00000290| 68 65 20 63 61 6c 65 6e | 64 61 72 20 62 65 67 69 |he calen|dar begi|
|000002a0| 6e 73 2e 0a 30 20 6d 65 | 61 6e 73 20 53 75 6e 64 |ns..0 me|ans Sund|
|000002b0| 61 79 20 28 64 65 66 61 | 75 6c 74 29 2c 20 31 20 |ay (defa|ult), 1 |
|000002c0| 6d 65 61 6e 73 20 4d 6f | 6e 64 61 79 2c 20 61 6e |means Mo|nday, an|
|000002d0| 64 20 73 6f 20 6f 6e 2e | 22 29 0a 28 64 65 66 76 |d so on.|").(defv|
|000002e0| 61 72 20 76 69 65 77 2d | 64 69 61 72 79 2d 65 6e |ar view-|diary-en|
|000002f0| 74 72 69 65 73 2d 69 6e | 69 74 69 61 6c 6c 79 20 |tries-in|itially |
|00000300| 6e 69 6c 20 22 5c 0a 2a | 4e 6f 6e 2d 6e 69 6c 20 |nil "\.*|Non-nil |
|00000310| 6d 65 61 6e 73 20 64 69 | 73 70 6c 61 79 20 63 75 |means di|splay cu|
|00000320| 72 72 65 6e 74 20 64 61 | 74 65 27 73 20 64 69 61 |rrent da|te's dia|
|00000330| 72 79 20 65 6e 74 72 69 | 65 73 20 6f 6e 20 65 6e |ry entri|es on en|
|00000340| 74 72 79 2e 0a 54 68 65 | 20 64 69 61 72 79 20 69 |try..The| diary i|
|00000350| 73 20 64 69 73 70 6c 61 | 79 65 64 20 69 6e 20 61 |s displa|yed in a|
|00000360| 6e 6f 74 68 65 72 20 77 | 69 6e 64 6f 77 20 77 68 |nother w|indow wh|
|00000370| 65 6e 20 74 68 65 20 63 | 61 6c 65 6e 64 61 72 20 |en the c|alendar |
|00000380| 69 73 20 66 69 72 73 74 | 20 64 69 73 70 6c 61 79 |is first| display|
|00000390| 65 64 2c 0a 69 66 20 74 | 68 65 20 63 75 72 72 65 |ed,.if t|he curre|
|000003a0| 6e 74 20 64 61 74 65 20 | 69 73 20 76 69 73 69 62 |nt date |is visib|
|000003b0| 6c 65 2e 20 20 54 68 65 | 20 6e 75 6d 62 65 72 20 |le. The| number |
|000003c0| 6f 66 20 64 61 79 73 20 | 6f 66 20 64 69 61 72 79 |of days |of diary|
|000003d0| 20 65 6e 74 72 69 65 73 | 20 64 69 73 70 6c 61 79 | entries| display|
|000003e0| 65 64 0a 69 73 20 67 6f | 76 65 72 6e 65 64 20 62 |ed.is go|verned b|
|000003f0| 79 20 74 68 65 20 76 61 | 72 69 61 62 6c 65 20 60 |y the va|riable `|
|00000400| 6e 75 6d 62 65 72 2d 6f | 66 2d 64 69 61 72 79 2d |number-o|f-diary-|
|00000410| 65 6e 74 72 69 65 73 27 | 2e 22 29 0a 28 64 65 66 |entries'|.").(def|
|00000420| 76 61 72 20 6e 75 6d 62 | 65 72 2d 6f 66 2d 64 69 |var numb|er-of-di|
|00000430| 61 72 79 2d 65 6e 74 72 | 69 65 73 20 31 20 22 5c |ary-entr|ies 1 "\|
|00000440| 0a 2a 53 70 65 63 69 66 | 69 65 73 20 68 6f 77 20 |.*Specif|ies how |
|00000450| 6d 61 6e 79 20 64 61 79 | 73 20 6f 66 20 64 69 61 |many day|s of dia|
|00000460| 72 79 20 65 6e 74 72 69 | 65 73 20 61 72 65 20 74 |ry entri|es are t|
|00000470| 6f 20 62 65 20 64 69 73 | 70 6c 61 79 65 64 20 69 |o be dis|played i|
|00000480| 6e 69 74 69 61 6c 6c 79 | 2e 0a 54 68 69 73 20 76 |nitially|..This v|
|00000490| 61 72 69 61 62 6c 65 20 | 61 66 66 65 63 74 73 20 |ariable |affects |
|000004a0| 74 68 65 20 64 69 61 72 | 79 20 64 69 73 70 6c 61 |the diar|y displa|
|000004b0| 79 20 77 68 65 6e 20 74 | 68 65 20 63 6f 6d 6d 61 |y when t|he comma|
|000004c0| 6e 64 20 4d 2d 78 20 64 | 69 61 72 79 20 69 73 20 |nd M-x d|iary is |
|000004d0| 75 73 65 64 2c 0a 6f 72 | 20 69 66 20 74 68 65 20 |used,.or| if the |
|000004e0| 76 61 6c 75 65 20 6f 66 | 20 74 68 65 20 76 61 72 |value of| the var|
|000004f0| 69 61 62 6c 65 20 60 76 | 69 65 77 2d 64 69 61 72 |iable `v|iew-diar|
|00000500| 79 2d 65 6e 74 72 69 65 | 73 2d 69 6e 69 74 69 61 |y-entrie|s-initia|
|00000510| 6c 6c 79 27 20 69 73 20 | 74 2e 20 20 46 6f 72 0a |lly' is |t. For.|
|00000520| 65 78 61 6d 70 6c 65 2c | 20 69 66 20 74 68 65 20 |example,| if the |
|00000530| 64 65 66 61 75 6c 74 20 | 76 61 6c 75 65 20 31 20 |default |value 1 |
|00000540| 69 73 20 75 73 65 64 2c | 20 74 68 65 6e 20 6f 6e |is used,| then on|
|00000550| 6c 79 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 64 |ly the c|urrent d|
|00000560| 61 79 27 73 20 64 69 61 | 72 79 0a 65 6e 74 72 69 |ay's dia|ry.entri|
|00000570| 65 73 20 77 69 6c 6c 20 | 62 65 20 64 69 73 70 6c |es will |be displ|
|00000580| 61 79 65 64 2e 20 20 49 | 66 20 74 68 65 20 76 61 |ayed. I|f the va|
|00000590| 6c 75 65 20 32 20 69 73 | 20 75 73 65 64 2c 20 74 |lue 2 is| used, t|
|000005a0| 68 65 6e 20 62 6f 74 68 | 20 74 68 65 20 63 75 72 |hen both| the cur|
|000005b0| 72 65 6e 74 0a 64 61 79 | 27 73 20 61 6e 64 20 74 |rent.day|'s and t|
|000005c0| 68 65 20 6e 65 78 74 20 | 64 61 79 27 73 20 65 6e |he next |day's en|
|000005d0| 74 72 69 65 73 20 77 69 | 6c 6c 20 62 65 20 64 69 |tries wi|ll be di|
|000005e0| 73 70 6c 61 79 65 64 2e | 0a 0a 54 68 65 20 76 61 |splayed.|..The va|
|000005f0| 6c 75 65 20 63 61 6e 20 | 61 6c 73 6f 20 62 65 20 |lue can |also be |
|00000600| 61 20 76 65 63 74 6f 72 | 20 73 75 63 68 20 61 73 |a vector| such as|
|00000610| 20 5b 30 20 32 20 32 20 | 32 20 32 20 34 20 31 5d | [0 2 2 |2 2 4 1]|
|00000620| 3b 20 74 68 69 73 20 76 | 61 6c 75 65 0a 73 61 79 |; this v|alue.say|
|00000630| 73 20 74 6f 20 64 69 73 | 70 6c 61 79 20 6e 6f 20 |s to dis|play no |
|00000640| 64 69 61 72 79 20 65 6e | 74 72 69 65 73 20 6f 6e |diary en|tries on|
|00000650| 20 53 75 6e 64 61 79 2c | 20 74 68 65 20 64 69 73 | Sunday,| the dis|
|00000660| 70 6c 61 79 20 74 68 65 | 20 65 6e 74 72 69 65 73 |play the| entries|
|00000670| 0a 66 6f 72 20 74 68 65 | 20 63 75 72 72 65 6e 74 |.for the| current|
|00000680| 20 64 61 74 65 20 61 6e | 64 20 74 68 65 20 64 61 | date an|d the da|
|00000690| 79 20 61 66 74 65 72 20 | 6f 6e 20 4d 6f 6e 64 61 |y after |on Monda|
|000006a0| 79 20 74 68 72 6f 75 67 | 68 20 54 68 75 72 73 64 |y throug|h Thursd|
|000006b0| 61 79 2c 0a 64 69 73 70 | 6c 61 79 20 46 72 69 64 |ay,.disp|lay Frid|
|000006c0| 61 79 20 74 68 72 6f 75 | 67 68 20 4d 6f 6e 64 61 |ay throu|gh Monda|
|000006d0| 79 27 73 20 65 6e 74 72 | 69 65 73 20 6f 6e 20 46 |y's entr|ies on F|
|000006e0| 72 69 64 61 79 2c 20 61 | 6e 64 20 64 69 73 70 6c |riday, a|nd displ|
|000006f0| 61 79 20 6f 6e 6c 79 0a | 53 61 74 75 72 64 61 79 |ay only.|Saturday|
|00000700| 27 73 20 65 6e 74 72 69 | 65 73 20 6f 6e 20 53 61 |'s entri|es on Sa|
|00000710| 74 75 72 64 61 79 2e 0a | 0a 54 68 69 73 20 76 61 |turday..|.This va|
|00000720| 72 69 61 62 6c 65 20 64 | 6f 65 73 20 6e 6f 74 20 |riable d|oes not |
|00000730| 61 66 66 65 63 74 20 74 | 68 65 20 64 69 61 72 79 |affect t|he diary|
|00000740| 20 64 69 73 70 6c 61 79 | 20 77 69 74 68 20 74 68 | display| with th|
|00000750| 65 20 60 64 27 20 63 6f | 6d 6d 61 6e 64 0a 66 72 |e `d' co|mmand.fr|
|00000760| 6f 6d 20 74 68 65 20 63 | 61 6c 65 6e 64 61 72 3b |om the c|alendar;|
|00000770| 20 69 6e 20 74 68 61 74 | 20 63 61 73 65 2c 20 74 | in that| case, t|
|00000780| 68 65 20 70 72 65 66 69 | 78 20 61 72 67 75 6d 65 |he prefi|x argume|
|00000790| 6e 74 20 63 6f 6e 74 72 | 6f 6c 73 20 74 68 65 0a |nt contr|ols the.|
|000007a0| 6e 75 6d 62 65 72 20 6f | 66 20 64 61 79 73 20 6f |number o|f days o|
|000007b0| 66 20 64 69 61 72 79 20 | 65 6e 74 72 69 65 73 20 |f diary |entries |
|000007c0| 64 69 73 70 6c 61 79 65 | 64 2e 22 29 0a 28 64 65 |displaye|d.").(de|
|000007d0| 66 76 61 72 20 6d 61 72 | 6b 2d 64 69 61 72 79 2d |fvar mar|k-diary-|
|000007e0| 65 6e 74 72 69 65 73 2d | 69 6e 2d 63 61 6c 65 6e |entries-|in-calen|
|000007f0| 64 61 72 20 6e 69 6c 20 | 22 5c 0a 2a 4e 6f 6e 2d |dar nil |"\.*Non-|
|00000800| 6e 69 6c 20 6d 65 61 6e | 73 20 6d 61 72 6b 20 64 |nil mean|s mark d|
|00000810| 61 74 65 73 20 77 69 74 | 68 20 64 69 61 72 79 20 |ates wit|h diary |
|00000820| 65 6e 74 72 69 65 73 2c | 20 69 6e 20 74 68 65 20 |entries,| in the |
|00000830| 63 61 6c 65 6e 64 61 72 | 20 77 69 6e 64 6f 77 2e |calendar| window.|
|00000840| 0a 54 68 65 20 6d 61 72 | 6b 69 6e 67 20 73 79 6d |.The mar|king sym|
|00000850| 62 6f 6c 20 69 73 20 73 | 70 65 63 69 66 69 65 64 |bol is s|pecified|
|00000860| 20 62 79 20 74 68 65 20 | 76 61 72 69 61 62 6c 65 | by the |variable|
|00000870| 20 60 64 69 61 72 79 2d | 65 6e 74 72 79 2d 6d 61 | `diary-|entry-ma|
|00000880| 72 6b 65 72 27 2e 22 29 | 0a 28 64 65 66 76 61 72 |rker'.")|.(defvar|
|00000890| 20 64 69 61 72 79 2d 65 | 6e 74 72 79 2d 6d 61 72 | diary-e|ntry-mar|
|000008a0| 6b 65 72 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |ker (byt|e-code "|
|000008b0| 08 84 06 00 c1 87 c2 c3 | 21 88 c4 c5 21 88 c6 20 |........|!...!.. |
|000008c0| 83 2b 00 c5 c7 c8 1e 09 | 1e 5c 6e 1e 0b cc 0e 0b |.+......|.\n.....|
|000008d0| cd 0e 5c 6e ce 0e 09 25 | 88 2b 82 30 00 cf d0 c5 |..\n...%|.+.0....|
|000008e0| 5c 22 88 c5 87 22 20 5b | 77 69 6e 64 6f 77 2d 73 |\"..." [|window-s|
|000008f0| 79 73 74 65 6d 20 22 2b | 22 20 72 65 71 75 69 72 |ystem "+|" requir|
|00000900| 65 20 66 61 63 65 73 20 | 6d 61 6b 65 2d 66 61 63 |e faces |make-fac|
|00000910| 65 20 64 69 61 72 79 2d | 66 61 63 65 20 78 2d 64 |e diary-|face x-d|
|00000920| 69 73 70 6c 61 79 2d 63 | 6f 6c 6f 72 2d 70 20 22 |isplay-c|olor-p "|
|00000930| 72 65 64 22 20 6e 69 6c | 20 66 72 61 6d 65 20 63 |red" nil| frame c|
|00000940| 6f 6c 6f 72 20 66 61 63 | 65 20 69 6e 74 65 72 6e |olor fac|e intern|
|00000950| 61 6c 2d 73 65 74 2d 66 | 61 63 65 2d 31 20 66 6f |al-set-f|ace-1 fo|
|00000960| 72 65 67 72 6f 75 6e 64 | 20 34 20 63 6f 70 79 2d |reground| 4 copy-|
|00000970| 66 61 63 65 20 62 6f 6c | 64 5d 20 36 29 20 22 5c |face bol|d] 6) "\|
|00000980| 0a 2a 55 73 65 64 20 74 | 6f 20 6d 61 72 6b 20 64 |.*Used t|o mark d|
|00000990| 61 74 65 73 20 74 68 61 | 74 20 68 61 76 65 20 64 |ates tha|t have d|
|000009a0| 69 61 72 79 20 65 6e 74 | 72 69 65 73 2e 0a 43 61 |iary ent|ries..Ca|
|000009b0| 6e 20 62 65 20 65 69 74 | 68 65 72 20 61 20 73 69 |n be eit|her a si|
|000009c0| 6e 67 6c 65 2d 63 68 61 | 72 61 63 74 65 72 20 73 |ngle-cha|racter s|
|000009d0| 74 72 69 6e 67 20 6f 72 | 20 61 20 66 61 63 65 2e |tring or| a face.|
|000009e0| 22 29 0a 28 64 65 66 76 | 61 72 20 63 61 6c 65 6e |").(defv|ar calen|
|000009f0| 64 61 72 2d 74 6f 64 61 | 79 2d 6d 61 72 6b 65 72 |dar-toda|y-marker|
|00000a00| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 08 84 06 | (byte-c|ode "...|
|00000a10| 00 c1 87 c2 c3 21 88 c4 | c5 21 88 c5 c6 c7 1e 08 |.....!..|.!......|
|00000a20| 1e 09 1e 5c 6e cb 0e 5c | 6e cc 0e 09 cd 0e 08 25 |...\n..\|n......%|
|00000a30| 88 2b c5 87 22 20 5b 77 | 69 6e 64 6f 77 2d 73 79 |.+.." [w|indow-sy|
|00000a40| 73 74 65 6d 20 22 3d 22 | 20 72 65 71 75 69 72 65 |stem "="| require|
|00000a50| 20 66 61 63 65 73 20 6d | 61 6b 65 2d 66 61 63 65 | faces m|ake-face|
|00000a60| 20 63 61 6c 65 6e 64 61 | 72 2d 74 6f 64 61 79 2d | calenda|r-today-|
|00000a70| 66 61 63 65 20 74 20 6e | 69 6c 20 66 72 61 6d 65 |face t n|il frame|
|00000a80| 20 75 6e 64 65 72 6c 69 | 6e 65 2d 70 20 66 61 63 | underli|ne-p fac|
|00000a90| 65 20 69 6e 74 65 72 6e | 61 6c 2d 73 65 74 2d 66 |e intern|al-set-f|
|00000aa0| 61 63 65 2d 31 20 75 6e | 64 65 72 6c 69 6e 65 20 |ace-1 un|derline |
|00000ab0| 37 5d 20 36 29 20 22 5c | 0a 2a 55 73 65 64 20 74 |7] 6) "\|.*Used t|
|00000ac0| 6f 20 6d 61 72 6b 20 74 | 6f 64 61 79 27 73 20 64 |o mark t|oday's d|
|00000ad0| 61 74 65 2e 0a 43 61 6e | 20 62 65 20 65 69 74 68 |ate..Can| be eith|
|00000ae0| 65 72 20 61 20 73 69 6e | 67 6c 65 2d 63 68 61 72 |er a sin|gle-char|
|00000af0| 61 63 74 65 72 20 73 74 | 72 69 6e 67 20 6f 72 20 |acter st|ring or |
|00000b00| 61 20 66 61 63 65 2e 22 | 29 0a 28 64 65 66 76 61 |a face."|).(defva|
|00000b10| 72 20 63 61 6c 65 6e 64 | 61 72 2d 68 6f 6c 69 64 |r calend|ar-holid|
|00000b20| 61 79 2d 6d 61 72 6b 65 | 72 20 28 62 79 74 65 2d |ay-marke|r (byte-|
|00000b30| 63 6f 64 65 20 22 08 84 | 06 00 c1 87 c2 c3 21 88 |code "..|......!.|
|00000b40| c4 c5 21 88 c6 20 83 2b | 00 c5 c7 c8 1e 09 1e 5c |..!.. .+|.......\|
|00000b50| 6e 1e 0b cc 0e 0b cd 0e | 5c 6e ce 0e 09 25 88 2b |n.......|\n...%.+|
|00000b60| 82 55 00 c5 cf c8 1e 09 | 1e 5c 6e 1e 0b cc 0e 0b |.U......|.\n.....|
|00000b70| cd 0e 5c 6e ce 0e 09 25 | 88 2b c5 d0 c8 1e 09 1e |..\n...%|.+......|
|00000b80| 5c 6e 1e 0b cc 0e 0b d1 | 0e 5c 6e d2 0e 09 25 88 |\n......|.\n...%.|
|00000b90| 2b c5 87 22 20 5b 77 69 | 6e 64 6f 77 2d 73 79 73 |+.." [wi|ndow-sys|
|00000ba0| 74 65 6d 20 22 2a 22 20 | 72 65 71 75 69 72 65 20 |tem "*" |require |
|00000bb0| 66 61 63 65 73 20 6d 61 | 6b 65 2d 66 61 63 65 20 |faces ma|ke-face |
|00000bc0| 68 6f 6c 69 64 61 79 2d | 66 61 63 65 20 78 2d 64 |holiday-|face x-d|
|00000bd0| 69 73 70 6c 61 79 2d 63 | 6f 6c 6f 72 2d 70 20 22 |isplay-c|olor-p "|
|00000be0| 70 69 6e 6b 22 20 6e 69 | 6c 20 66 72 61 6d 65 20 |pink" ni|l frame |
|00000bf0| 63 6f 6c 6f 72 20 66 61 | 63 65 20 69 6e 74 65 72 |color fa|ce inter|
|00000c00| 6e 61 6c 2d 73 65 74 2d | 66 61 63 65 2d 31 20 62 |nal-set-|face-1 b|
|00000c10| 61 63 6b 67 72 6f 75 6e | 64 20 35 20 22 62 6c 61 |ackgroun|d 5 "bla|
|00000c20| 63 6b 22 20 22 77 68 69 | 74 65 22 20 66 6f 72 65 |ck" "whi|te" fore|
|00000c30| 67 72 6f 75 6e 64 20 34 | 5d 20 36 29 20 22 5c 0a |ground 4|] 6) "\.|
|00000c40| 2a 55 73 65 64 20 74 6f | 20 6d 61 72 6b 20 6e 6f |*Used to| mark no|
|00000c50| 74 61 62 6c 65 20 64 61 | 74 65 73 20 69 6e 20 74 |table da|tes in t|
|00000c60| 68 65 20 63 61 6c 65 6e | 64 61 72 2e 0a 43 61 6e |he calen|dar..Can|
|00000c70| 20 62 65 20 65 69 74 68 | 65 72 20 61 20 73 69 6e | be eith|er a sin|
|00000c80| 67 6c 65 2d 63 68 61 72 | 61 63 74 65 72 20 73 74 |gle-char|acter st|
|00000c90| 72 69 6e 67 20 6f 72 20 | 61 20 66 61 63 65 2e 22 |ring or |a face."|
|00000ca0| 29 0a 28 64 65 66 76 61 | 72 20 76 69 65 77 2d 63 |).(defva|r view-c|
|00000cb0| 61 6c 65 6e 64 61 72 2d | 68 6f 6c 69 64 61 79 73 |alendar-|holidays|
|00000cc0| 2d 69 6e 69 74 69 61 6c | 6c 79 20 6e 69 6c 20 22 |-initial|ly nil "|
|00000cd0| 5c 0a 2a 4e 6f 6e 2d 6e | 69 6c 20 6d 65 61 6e 73 |\.*Non-n|il means|
|00000ce0| 20 64 69 73 70 6c 61 79 | 20 68 6f 6c 69 64 61 79 | display| holiday|
|00000cf0| 73 20 66 6f 72 20 63 75 | 72 72 65 6e 74 20 74 68 |s for cu|rrent th|
|00000d00| 72 65 65 20 6d 6f 6e 74 | 68 20 70 65 72 69 6f 64 |ree mont|h period|
|00000d10| 20 6f 6e 20 65 6e 74 72 | 79 2e 0a 54 68 65 20 68 | on entr|y..The h|
|00000d20| 6f 6c 69 64 61 79 73 20 | 61 72 65 20 64 69 73 70 |olidays |are disp|
|00000d30| 6c 61 79 65 64 20 69 6e | 20 61 6e 6f 74 68 65 72 |layed in| another|
|00000d40| 20 77 69 6e 64 6f 77 20 | 77 68 65 6e 20 74 68 65 | window |when the|
|00000d50| 20 63 61 6c 65 6e 64 61 | 72 20 69 73 20 66 69 72 | calenda|r is fir|
|00000d60| 73 74 0a 64 69 73 70 6c | 61 79 65 64 2e 22 29 0a |st.displ|ayed.").|
|00000d70| 28 64 65 66 76 61 72 20 | 6d 61 72 6b 2d 68 6f 6c |(defvar |mark-hol|
|00000d80| 69 64 61 79 73 2d 69 6e | 2d 63 61 6c 65 6e 64 61 |idays-in|-calenda|
|00000d90| 72 20 6e 69 6c 20 22 5c | 0a 2a 4e 6f 6e 2d 6e 69 |r nil "\|.*Non-ni|
|00000da0| 6c 20 6d 65 61 6e 73 20 | 6d 61 72 6b 20 64 61 74 |l means |mark dat|
|00000db0| 65 73 20 6f 66 20 68 6f | 6c 69 64 61 79 73 20 69 |es of ho|lidays i|
|00000dc0| 6e 20 74 68 65 20 63 61 | 6c 65 6e 64 61 72 20 77 |n the ca|lendar w|
|00000dd0| 69 6e 64 6f 77 2e 0a 54 | 68 65 20 6d 61 72 6b 69 |indow..T|he marki|
|00000de0| 6e 67 20 73 79 6d 62 6f | 6c 20 69 73 20 73 70 65 |ng symbo|l is spe|
|00000df0| 63 69 66 69 65 64 20 62 | 79 20 74 68 65 20 76 61 |cified b|y the va|
|00000e00| 72 69 61 62 6c 65 20 60 | 63 61 6c 65 6e 64 61 72 |riable `|calendar|
|00000e10| 2d 68 6f 6c 69 64 61 79 | 2d 6d 61 72 6b 65 72 27 |-holiday|-marker'|
|00000e20| 2e 22 29 0a 28 64 65 66 | 76 61 72 20 61 6c 6c 2d |.").(def|var all-|
|00000e30| 68 65 62 72 65 77 2d 63 | 61 6c 65 6e 64 61 72 2d |hebrew-c|alendar-|
|00000e40| 68 6f 6c 69 64 61 79 73 | 20 6e 69 6c 20 22 5c 0a |holidays| nil "\.|
|00000e50| 2a 49 66 20 6e 69 6c 2c | 20 73 68 6f 77 20 6f 6e |*If nil,| show on|
|00000e60| 6c 79 20 6d 61 6a 6f 72 | 20 68 6f 6c 69 64 61 79 |ly major| holiday|
|00000e70| 73 20 66 72 6f 6d 20 74 | 68 65 20 48 65 62 72 65 |s from t|he Hebre|
|00000e80| 77 20 63 61 6c 65 6e 64 | 61 72 2e 0a 54 68 69 73 |w calend|ar..This|
|00000e90| 20 6d 65 61 6e 73 20 6f | 6e 6c 79 20 74 68 6f 73 | means o|nly thos|
|00000ea0| 65 20 4a 65 77 69 73 68 | 20 68 6f 6c 69 64 61 79 |e Jewish| holiday|
|00000eb0| 73 20 74 68 61 74 20 61 | 70 70 65 61 72 20 6f 6e |s that a|ppear on|
|00000ec0| 20 73 65 63 75 6c 61 72 | 20 63 61 6c 65 6e 64 61 | secular| calenda|
|00000ed0| 72 73 2e 0a 0a 49 66 20 | 74 2c 20 73 68 6f 77 20 |rs...If |t, show |
|00000ee0| 61 6c 6c 20 74 68 65 20 | 68 6f 6c 69 64 61 79 73 |all the |holidays|
|00000ef0| 20 74 68 61 74 20 77 6f | 75 6c 64 20 61 70 70 65 | that wo|uld appe|
|00000f00| 61 72 20 69 6e 20 61 20 | 63 6f 6d 70 6c 65 74 65 |ar in a |complete|
|00000f10| 20 48 65 62 72 65 77 20 | 63 61 6c 65 6e 64 61 72 | Hebrew |calendar|
|00000f20| 2e 22 29 0a 28 64 65 66 | 76 61 72 20 61 6c 6c 2d |.").(def|var all-|
|00000f30| 63 68 72 69 73 74 69 61 | 6e 2d 63 61 6c 65 6e 64 |christia|n-calend|
|00000f40| 61 72 2d 68 6f 6c 69 64 | 61 79 73 20 6e 69 6c 20 |ar-holid|ays nil |
|00000f50| 22 5c 0a 2a 49 66 20 6e | 69 6c 2c 20 73 68 6f 77 |"\.*If n|il, show|
|00000f60| 20 6f 6e 6c 79 20 6d 61 | 6a 6f 72 20 68 6f 6c 69 | only ma|jor holi|
|00000f70| 64 61 79 73 20 66 72 6f | 6d 20 74 68 65 20 43 68 |days fro|m the Ch|
|00000f80| 72 69 73 74 69 61 6e 20 | 63 61 6c 65 6e 64 61 72 |ristian |calendar|
|00000f90| 2e 0a 54 68 69 73 20 6d | 65 61 6e 73 20 6f 6e 6c |..This m|eans onl|
|00000fa0| 79 20 74 68 6f 73 65 20 | 43 68 72 69 73 74 69 61 |y those |Christia|
|00000fb0| 6e 20 68 6f 6c 69 64 61 | 79 73 20 74 68 61 74 20 |n holida|ys that |
|00000fc0| 61 70 70 65 61 72 20 6f | 6e 20 73 65 63 75 6c 61 |appear o|n secula|
|00000fd0| 72 20 63 61 6c 65 6e 64 | 61 72 73 2e 0a 0a 49 66 |r calend|ars...If|
|00000fe0| 20 74 2c 20 73 68 6f 77 | 20 61 6c 6c 20 74 68 65 | t, show| all the|
|00000ff0| 20 68 6f 6c 69 64 61 79 | 73 20 74 68 61 74 20 77 | holiday|s that w|
|00001000| 6f 75 6c 64 20 61 70 70 | 65 61 72 20 69 6e 20 61 |ould app|ear in a|
|00001010| 20 63 6f 6d 70 6c 65 74 | 65 20 43 68 72 69 73 74 | complet|e Christ|
|00001020| 69 61 6e 0a 63 61 6c 65 | 6e 64 61 72 2e 22 29 0a |ian.cale|ndar.").|
|00001030| 28 64 65 66 76 61 72 20 | 61 6c 6c 2d 69 73 6c 61 |(defvar |all-isla|
|00001040| 6d 69 63 2d 63 61 6c 65 | 6e 64 61 72 2d 68 6f 6c |mic-cale|ndar-hol|
|00001050| 69 64 61 79 73 20 6e 69 | 6c 20 22 5c 0a 2a 49 66 |idays ni|l "\.*If|
|00001060| 20 6e 69 6c 2c 20 73 68 | 6f 77 20 6f 6e 6c 79 20 | nil, sh|ow only |
|00001070| 6d 61 6a 6f 72 20 68 6f | 6c 69 64 61 79 73 20 66 |major ho|lidays f|
|00001080| 72 6f 6d 20 74 68 65 20 | 49 73 6c 61 6d 69 63 20 |rom the |Islamic |
|00001090| 63 61 6c 65 6e 64 61 72 | 2e 0a 54 68 69 73 20 6d |calendar|..This m|
|000010a0| 65 61 6e 73 20 6f 6e 6c | 79 20 74 68 6f 73 65 20 |eans onl|y those |
|000010b0| 49 73 6c 61 6d 69 63 20 | 68 6f 6c 69 64 61 79 73 |Islamic |holidays|
|000010c0| 20 74 68 61 74 20 61 70 | 70 65 61 72 20 6f 6e 20 | that ap|pear on |
|000010d0| 73 65 63 75 6c 61 72 20 | 63 61 6c 65 6e 64 61 72 |secular |calendar|
|000010e0| 73 2e 0a 0a 49 66 20 74 | 2c 20 73 68 6f 77 20 61 |s...If t|, show a|
|000010f0| 6c 6c 20 74 68 65 20 68 | 6f 6c 69 64 61 79 73 20 |ll the h|olidays |
|00001100| 74 68 61 74 20 77 6f 75 | 6c 64 20 61 70 70 65 61 |that wou|ld appea|
|00001110| 72 20 69 6e 20 61 20 63 | 6f 6d 70 6c 65 74 65 20 |r in a c|omplete |
|00001120| 49 73 6c 61 6d 69 63 0a | 63 61 6c 65 6e 64 61 72 |Islamic.|calendar|
|00001130| 2e 22 29 0a 28 64 65 66 | 76 61 72 20 63 61 6c 65 |.").(def|var cale|
|00001140| 6e 64 61 72 2d 6c 6f 61 | 64 2d 68 6f 6f 6b 20 6e |ndar-loa|d-hook n|
|00001150| 69 6c 20 22 5c 0a 2a 4c | 69 73 74 20 6f 66 20 66 |il "\.*L|ist of f|
|00001160| 75 6e 63 74 69 6f 6e 73 | 20 74 6f 20 62 65 20 63 |unctions| to be c|
|00001170| 61 6c 6c 65 64 20 61 66 | 74 65 72 20 74 68 65 20 |alled af|ter the |
|00001180| 63 61 6c 65 6e 64 61 72 | 20 69 73 20 66 69 72 73 |calendar| is firs|
|00001190| 74 20 6c 6f 61 64 65 64 | 2e 0a 54 68 69 73 20 69 |t loaded|..This i|
|000011a0| 73 20 74 68 65 20 70 6c | 61 63 65 20 74 6f 20 61 |s the pl|ace to a|
|000011b0| 64 64 20 6b 65 79 20 62 | 69 6e 64 69 6e 67 73 20 |dd key b|indings |
|000011c0| 74 6f 20 60 63 61 6c 65 | 6e 64 61 72 2d 6d 6f 64 |to `cale|ndar-mod|
|000011d0| 65 2d 6d 61 70 27 2e 22 | 29 0a 28 64 65 66 76 61 |e-map'."|).(defva|
|000011e0| 72 20 69 6e 69 74 69 61 | 6c 2d 63 61 6c 65 6e 64 |r initia|l-calend|
|000011f0| 61 72 2d 77 69 6e 64 6f | 77 2d 68 6f 6f 6b 20 6e |ar-windo|w-hook n|
|00001200| 69 6c 20 22 5c 0a 2a 4c | 69 73 74 20 6f 66 20 66 |il "\.*L|ist of f|
|00001210| 75 6e 63 74 69 6f 6e 73 | 20 74 6f 20 62 65 20 63 |unctions| to be c|
|00001220| 61 6c 6c 65 64 20 77 68 | 65 6e 20 74 68 65 20 63 |alled wh|en the c|
|00001230| 61 6c 65 6e 64 61 72 20 | 77 69 6e 64 6f 77 20 69 |alendar |window i|
|00001240| 73 20 66 69 72 73 74 20 | 6f 70 65 6e 65 64 2e 0a |s first |opened..|
|00001250| 54 68 65 20 66 75 6e 63 | 74 69 6f 6e 73 20 69 6e |The func|tions in|
|00001260| 76 6f 6b 65 64 20 61 72 | 65 20 63 61 6c 6c 65 64 |voked ar|e called|
|00001270| 20 61 66 74 65 72 20 74 | 68 65 20 63 61 6c 65 6e | after t|he calen|
|00001280| 64 61 72 20 77 69 6e 64 | 6f 77 20 69 73 20 6f 70 |dar wind|ow is op|
|00001290| 65 6e 65 64 2c 20 62 75 | 74 0a 6f 6e 63 65 20 6f |ened, bu|t.once o|
|000012a0| 70 65 6e 65 64 20 69 73 | 20 6e 65 76 65 72 20 63 |pened is| never c|
|000012b0| 61 6c 6c 65 64 20 61 67 | 61 69 6e 2e 20 20 4c 65 |alled ag|ain. Le|
|000012c0| 61 76 69 6e 67 20 74 68 | 65 20 63 61 6c 65 6e 64 |aving th|e calend|
|000012d0| 61 72 20 77 69 74 68 20 | 74 68 65 20 60 71 27 20 |ar with |the `q' |
|000012e0| 63 6f 6d 6d 61 6e 64 0a | 61 6e 64 20 72 65 65 6e |command.|and reen|
|000012f0| 74 65 72 69 6e 67 20 69 | 74 20 77 69 6c 6c 20 63 |tering i|t will c|
|00001300| 61 75 73 65 20 74 68 65 | 73 65 20 66 75 6e 63 74 |ause the|se funct|
|00001310| 69 6f 6e 73 20 74 6f 20 | 62 65 20 63 61 6c 6c 65 |ions to |be calle|
|00001320| 64 20 61 67 61 69 6e 2e | 22 29 0a 28 64 65 66 76 |d again.|").(defv|
|00001330| 61 72 20 74 6f 64 61 79 | 2d 76 69 73 69 62 6c 65 |ar today|-visible|
|00001340| 2d 63 61 6c 65 6e 64 61 | 72 2d 68 6f 6f 6b 20 6e |-calenda|r-hook n|
|00001350| 69 6c 20 22 5c 0a 2a 4c | 69 73 74 20 6f 66 20 66 |il "\.*L|ist of f|
|00001360| 75 6e 63 74 69 6f 6e 73 | 20 63 61 6c 6c 65 64 20 |unctions| called |
|00001370| 77 68 65 6e 65 76 65 72 | 20 74 68 65 20 63 75 72 |whenever| the cur|
|00001380| 72 65 6e 74 20 64 61 74 | 65 20 69 73 20 76 69 73 |rent dat|e is vis|
|00001390| 69 62 6c 65 2e 0a 54 68 | 69 73 20 63 61 6e 20 62 |ible..Th|is can b|
|000013a0| 65 20 75 73 65 64 2c 20 | 66 6f 72 20 65 78 61 6d |e used, |for exam|
|000013b0| 70 6c 65 2c 20 74 6f 20 | 72 65 70 6c 61 63 65 20 |ple, to |replace |
|000013c0| 74 6f 64 61 79 27 73 20 | 64 61 74 65 20 77 69 74 |today's |date wit|
|000013d0| 68 20 61 73 74 65 72 69 | 73 6b 73 3b 20 61 0a 66 |h asteri|sks; a.f|
|000013e0| 75 6e 63 74 69 6f 6e 20 | 60 63 61 6c 65 6e 64 61 |unction |`calenda|
|000013f0| 72 2d 73 74 61 72 2d 64 | 61 74 65 27 20 69 73 20 |r-star-d|ate' is |
|00001400| 69 6e 63 6c 75 64 65 64 | 20 66 6f 72 20 74 68 69 |included| for thi|
|00001410| 73 20 70 75 72 70 6f 73 | 65 3a 0a 20 20 20 20 28 |s purpos|e:. (|
|00001420| 73 65 74 71 20 74 6f 64 | 61 79 2d 76 69 73 69 62 |setq tod|ay-visib|
|00001430| 6c 65 2d 63 61 6c 65 6e | 64 61 72 2d 68 6f 6f 6b |le-calen|dar-hook|
|00001440| 20 27 63 61 6c 65 6e 64 | 61 72 2d 73 74 61 72 2d | 'calend|ar-star-|
|00001450| 64 61 74 65 29 0a 49 74 | 20 63 61 6e 20 61 6c 73 |date).It| can als|
|00001460| 6f 20 62 65 20 75 73 65 | 64 20 74 6f 20 6d 61 72 |o be use|d to mar|
|00001470| 6b 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 64 61 |k the cu|rrent da|
|00001480| 74 65 20 77 69 74 68 20 | 60 63 61 6c 65 6e 64 61 |te with |`calenda|
|00001490| 72 2d 74 6f 64 61 79 2d | 6d 61 72 6b 65 72 27 3b |r-today-|marker';|
|000014a0| 0a 61 20 66 75 6e 63 74 | 69 6f 6e 20 69 73 20 61 |.a funct|ion is a|
|000014b0| 6c 73 6f 20 70 72 6f 76 | 69 64 65 64 20 66 6f 72 |lso prov|ided for|
|000014c0| 20 74 68 69 73 3a 0a 20 | 20 20 20 28 73 65 74 71 | this:. | (setq|
|000014d0| 20 74 6f 64 61 79 2d 76 | 69 73 69 62 6c 65 2d 63 | today-v|isible-c|
|000014e0| 61 6c 65 6e 64 61 72 2d | 68 6f 6f 6b 20 27 63 61 |alendar-|hook 'ca|
|000014f0| 6c 65 6e 64 61 72 2d 6d | 61 72 6b 2d 74 6f 64 61 |lendar-m|ark-toda|
|00001500| 79 29 0a 0a 54 68 65 20 | 63 6f 72 72 65 73 70 6f |y)..The |correspo|
|00001510| 6e 64 69 6e 67 20 76 61 | 72 69 61 62 6c 65 20 60 |nding va|riable `|
|00001520| 74 6f 64 61 79 2d 69 6e | 76 69 73 69 62 6c 65 2d |today-in|visible-|
|00001530| 63 61 6c 65 6e 64 61 72 | 2d 68 6f 6f 6b 27 20 69 |calendar|-hook' i|
|00001540| 73 20 74 68 65 20 6c 69 | 73 74 20 6f 66 0a 66 75 |s the li|st of.fu|
|00001550| 6e 63 74 69 6f 6e 73 20 | 63 61 6c 6c 65 64 20 77 |nctions |called w|
|00001560| 68 65 6e 20 74 68 65 20 | 63 61 6c 65 6e 64 61 72 |hen the |calendar|
|00001570| 20 66 75 6e 63 74 69 6f | 6e 20 77 61 73 20 63 61 | functio|n was ca|
|00001580| 6c 6c 65 64 20 77 68 65 | 6e 20 74 68 65 20 63 75 |lled whe|n the cu|
|00001590| 72 72 65 6e 74 0a 64 61 | 74 65 20 69 73 20 6e 6f |rrent.da|te is no|
|000015a0| 74 20 76 69 73 69 62 6c | 65 20 69 6e 20 74 68 65 |t visibl|e in the|
|000015b0| 20 77 69 6e 64 6f 77 2e | 0a 0a 4f 74 68 65 72 20 | window.|..Other |
|000015c0| 74 68 61 6e 20 74 68 65 | 20 75 73 65 20 6f 66 20 |than the| use of |
|000015d0| 74 68 65 20 70 72 6f 76 | 69 64 65 64 20 66 75 6e |the prov|ided fun|
|000015e0| 63 74 69 6f 6e 73 2c 20 | 74 68 65 20 63 68 61 6e |ctions, |the chan|
|000015f0| 67 69 6e 67 20 6f 66 20 | 61 6e 79 0a 63 68 61 72 |ging of |any.char|
|00001600| 61 63 74 65 72 73 20 69 | 6e 20 74 68 65 20 63 61 |acters i|n the ca|
|00001610| 6c 65 6e 64 61 72 20 62 | 75 66 66 65 72 20 62 79 |lendar b|uffer by|
|00001620| 20 74 68 65 20 68 6f 6f | 6b 73 20 6d 61 79 20 63 | the hoo|ks may c|
|00001630| 61 75 73 65 20 74 68 65 | 20 66 61 69 6c 75 72 65 |ause the| failure|
|00001640| 20 6f 66 20 74 68 65 0a | 66 75 6e 63 74 69 6f 6e | of the.|function|
|00001650| 73 20 74 68 61 74 20 6d | 6f 76 65 20 62 79 20 64 |s that m|ove by d|
|00001660| 61 79 73 20 61 6e 64 20 | 77 65 65 6b 73 2e 22 29 |ays and |weeks.")|
|00001670| 0a 28 64 65 66 76 61 72 | 20 74 6f 64 61 79 2d 69 |.(defvar| today-i|
|00001680| 6e 76 69 73 69 62 6c 65 | 2d 63 61 6c 65 6e 64 61 |nvisible|-calenda|
|00001690| 72 2d 68 6f 6f 6b 20 6e | 69 6c 20 22 5c 0a 2a 4c |r-hook n|il "\.*L|
|000016a0| 69 73 74 20 6f 66 20 66 | 75 6e 63 74 69 6f 6e 73 |ist of f|unctions|
|000016b0| 20 63 61 6c 6c 65 64 20 | 77 68 65 6e 65 76 65 72 | called |whenever|
|000016c0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 64 61 74 | the cur|rent dat|
|000016d0| 65 20 69 73 20 6e 6f 74 | 20 76 69 73 69 62 6c 65 |e is not| visible|
|000016e0| 2e 0a 0a 54 68 65 20 63 | 6f 72 72 65 73 70 6f 6e |...The c|orrespon|
|000016f0| 64 69 6e 67 20 76 61 72 | 69 61 62 6c 65 20 60 74 |ding var|iable `t|
|00001700| 6f 64 61 79 2d 76 69 73 | 69 62 6c 65 2d 63 61 6c |oday-vis|ible-cal|
|00001710| 65 6e 64 61 72 2d 68 6f | 6f 6b 27 20 69 73 20 74 |endar-ho|ok' is t|
|00001720| 68 65 20 6c 69 73 74 20 | 6f 66 0a 66 75 6e 63 74 |he list |of.funct|
|00001730| 69 6f 6e 73 20 63 61 6c | 6c 65 64 20 77 68 65 6e |ions cal|led when|
|00001740| 20 74 68 65 20 63 61 6c | 65 6e 64 61 72 20 66 75 | the cal|endar fu|
|00001750| 6e 63 74 69 6f 6e 20 77 | 61 73 20 63 61 6c 6c 65 |nction w|as calle|
|00001760| 64 20 77 68 65 6e 20 74 | 68 65 20 63 75 72 72 65 |d when t|he curre|
|00001770| 6e 74 0a 64 61 74 65 20 | 69 73 20 76 69 73 69 62 |nt.date |is visib|
|00001780| 6c 65 20 69 6e 20 74 68 | 65 20 77 69 6e 64 6f 77 |le in th|e window|
|00001790| 2e 0a 0a 4f 74 68 65 72 | 20 74 68 61 6e 20 74 68 |...Other| than th|
|000017a0| 65 20 75 73 65 20 6f 66 | 20 74 68 65 20 70 72 6f |e use of| the pro|
|000017b0| 76 69 64 65 64 20 66 75 | 6e 63 74 69 6f 6e 73 2c |vided fu|nctions,|
|000017c0| 20 74 68 65 20 63 68 61 | 6e 67 69 6e 67 20 6f 66 | the cha|nging of|
|000017d0| 20 61 6e 79 0a 63 68 61 | 72 61 63 74 65 72 73 20 | any.cha|racters |
|000017e0| 69 6e 20 74 68 65 20 63 | 61 6c 65 6e 64 61 72 20 |in the c|alendar |
|000017f0| 62 75 66 66 65 72 20 62 | 79 20 74 68 65 20 68 6f |buffer b|y the ho|
|00001800| 6f 6b 73 20 6d 61 79 20 | 63 61 75 73 65 20 74 68 |oks may |cause th|
|00001810| 65 20 66 61 69 6c 75 72 | 65 20 6f 66 20 74 68 65 |e failur|e of the|
|00001820| 0a 66 75 6e 63 74 69 6f | 6e 73 20 74 68 61 74 20 |.functio|ns that |
|00001830| 6d 6f 76 65 20 62 79 20 | 64 61 79 73 20 61 6e 64 |move by |days and|
|00001840| 20 77 65 65 6b 73 2e 22 | 29 0a 28 64 65 66 76 61 | weeks."|).(defva|
|00001850| 72 20 64 69 61 72 79 2d | 66 69 6c 65 20 22 7e 2f |r diary-|file "~/|
|00001860| 64 69 61 72 79 22 20 22 | 5c 0a 2a 4e 61 6d 65 20 |diary" "|\.*Name |
|00001870| 6f 66 20 74 68 65 20 66 | 69 6c 65 20 69 6e 20 77 |of the f|ile in w|
|00001880| 68 69 63 68 20 6f 6e 65 | 27 73 20 70 65 72 73 6f |hich one|'s perso|
|00001890| 6e 61 6c 20 64 69 61 72 | 79 20 6f 66 20 64 61 74 |nal diar|y of dat|
|000018a0| 65 73 20 69 73 20 6b 65 | 70 74 2e 0a 0a 54 68 65 |es is ke|pt...The|
|000018b0| 20 66 69 6c 65 27 73 20 | 65 6e 74 72 69 65 73 20 | file's |entries |
|000018c0| 61 72 65 20 6c 69 6e 65 | 73 20 69 6e 20 61 6e 79 |are line|s in any|
|000018d0| 20 6f 66 20 74 68 65 20 | 66 6f 72 6d 73 0a 0a 20 | of the |forms.. |
|000018e0| 20 20 20 20 20 20 20 20 | 20 20 20 4d 4f 4e 54 48 | | MONTH|
|000018f0| 2f 44 41 59 0a 20 20 20 | 20 20 20 20 20 20 20 20 |/DAY. | |
|00001900| 20 4d 4f 4e 54 48 2f 44 | 41 59 2f 59 45 41 52 0a | MONTH/D|AY/YEAR.|
|00001910| 20 20 20 20 20 20 20 20 | 20 20 20 20 4d 4f 4e 54 | | MONT|
|00001920| 48 4e 41 4d 45 20 44 41 | 59 0a 20 20 20 20 20 20 |HNAME DA|Y. |
|00001930| 20 20 20 20 20 20 4d 4f | 4e 54 48 4e 41 4d 45 20 | MO|NTHNAME |
|00001940| 44 41 59 2c 20 59 45 41 | 52 0a 20 20 20 20 20 20 |DAY, YEA|R. |
|00001950| 20 20 20 20 20 20 44 41 | 59 4e 41 4d 45 0a 0a 61 | DA|YNAME..a|
|00001960| 74 20 74 68 65 20 62 65 | 67 69 6e 6e 69 6e 67 20 |t the be|ginning |
|00001970| 6f 66 20 74 68 65 20 6c | 69 6e 65 3b 20 74 68 65 |of the l|ine; the|
|00001980| 20 72 65 6d 61 69 6e 64 | 65 72 20 6f 66 20 74 68 | remaind|er of th|
|00001990| 65 20 6c 69 6e 65 20 69 | 73 20 74 68 65 20 64 69 |e line i|s the di|
|000019a0| 61 72 79 20 65 6e 74 72 | 79 0a 73 74 72 69 6e 67 |ary entr|y.string|
|000019b0| 20 66 6f 72 20 74 68 61 | 74 20 64 61 74 65 2e 20 | for tha|t date. |
|000019c0| 20 4d 4f 4e 54 48 20 61 | 6e 64 20 44 41 59 20 61 | MONTH a|nd DAY a|
|000019d0| 72 65 20 6f 6e 65 20 6f | 72 20 74 77 6f 20 64 69 |re one o|r two di|
|000019e0| 67 69 74 20 6e 75 6d 62 | 65 72 73 2c 20 59 45 41 |git numb|ers, YEA|
|000019f0| 52 20 69 73 0a 61 20 6e | 75 6d 62 65 72 20 61 6e |R is.a n|umber an|
|00001a00| 64 20 6d 61 79 20 62 65 | 20 77 72 69 74 74 65 6e |d may be| written|
|00001a10| 20 69 6e 20 66 75 6c 6c | 20 6f 72 20 61 62 62 72 | in full| or abbr|
|00001a20| 65 76 69 61 74 65 64 20 | 74 6f 20 74 68 65 20 66 |eviated |to the f|
|00001a30| 69 6e 61 6c 20 74 77 6f | 20 64 69 67 69 74 73 2e |inal two| digits.|
|00001a40| 0a 49 66 20 74 68 65 20 | 64 61 74 65 20 64 6f 65 |.If the |date doe|
|00001a50| 73 20 6e 6f 74 20 63 6f | 6e 74 61 69 6e 20 61 20 |s not co|ntain a |
|00001a60| 79 65 61 72 2c 20 69 74 | 20 69 73 20 67 65 6e 65 |year, it| is gene|
|00001a70| 72 69 63 20 61 6e 64 20 | 61 70 70 6c 69 65 73 20 |ric and |applies |
|00001a80| 74 6f 20 61 6e 79 20 79 | 65 61 72 2e 0a 44 41 59 |to any y|ear..DAY|
|00001a90| 4e 41 4d 45 20 65 6e 74 | 72 69 65 73 20 61 70 70 |NAME ent|ries app|
|00001aa0| 6c 79 20 74 6f 20 61 6e | 79 20 64 61 74 65 20 6f |ly to an|y date o|
|00001ab0| 6e 20 77 68 69 63 68 20 | 69 73 20 6f 6e 20 74 68 |n which |is on th|
|00001ac0| 61 74 20 64 61 79 20 6f | 66 20 74 68 65 20 77 65 |at day o|f the we|
|00001ad0| 65 6b 2e 0a 4d 4f 4e 54 | 48 4e 41 4d 45 20 61 6e |ek..MONT|HNAME an|
|00001ae0| 64 20 44 41 59 4e 41 4d | 45 20 63 61 6e 20 62 65 |d DAYNAM|E can be|
|00001af0| 20 73 70 65 6c 6c 65 64 | 20 69 6e 20 66 75 6c 6c | spelled| in full|
|00001b00| 2c 20 61 62 62 72 65 76 | 69 61 74 65 64 20 74 6f |, abbrev|iated to|
|00001b10| 20 74 68 72 65 65 0a 63 | 68 61 72 61 63 74 65 72 | three.c|haracter|
|00001b20| 73 20 28 77 69 74 68 20 | 6f 72 20 77 69 74 68 6f |s (with |or witho|
|00001b30| 75 74 20 61 20 70 65 72 | 69 6f 64 29 2c 20 63 61 |ut a per|iod), ca|
|00001b40| 70 69 74 61 6c 69 7a 65 | 64 20 6f 72 20 6e 6f 74 |pitalize|d or not|
|00001b50| 2e 20 20 41 6e 79 20 6f | 66 20 44 41 59 2c 0a 4d |. Any o|f DAY,.M|
|00001b60| 4f 4e 54 48 2c 20 6f 72 | 20 4d 4f 4e 54 48 4e 41 |ONTH, or| MONTHNA|
|00001b70| 4d 45 2c 20 59 45 41 52 | 20 63 61 6e 20 62 65 20 |ME, YEAR| can be |
|00001b80| 60 2a 27 20 77 68 69 63 | 68 20 6d 61 74 63 68 65 |`*' whic|h matche|
|00001b90| 73 20 61 6e 79 20 64 61 | 79 2c 20 6d 6f 6e 74 68 |s any da|y, month|
|00001ba0| 2c 20 6f 72 20 79 65 61 | 72 2c 0a 72 65 73 70 65 |, or yea|r,.respe|
|00001bb0| 63 74 69 76 65 6c 79 2e | 0a 0a 54 68 65 20 45 75 |ctively.|..The Eu|
|00001bc0| 72 6f 70 65 61 6e 20 73 | 74 79 6c 65 20 28 69 6e |ropean s|tyle (in|
|00001bd0| 20 77 68 69 63 68 20 74 | 68 65 20 64 61 79 20 70 | which t|he day p|
|00001be0| 72 65 63 65 64 65 73 20 | 74 68 65 20 6d 6f 6e 74 |recedes |the mont|
|00001bf0| 68 29 20 63 61 6e 20 62 | 65 20 75 73 65 64 0a 69 |h) can b|e used.i|
|00001c00| 6e 73 74 65 61 64 2c 20 | 69 66 20 79 6f 75 20 65 |nstead, |if you e|
|00001c10| 78 65 63 75 74 65 20 60 | 65 75 72 6f 70 65 61 6e |xecute `|european|
|00001c20| 2d 63 61 6c 65 6e 64 61 | 72 27 20 77 68 65 6e 20 |-calenda|r' when |
|00001c30| 69 6e 20 74 68 65 20 63 | 61 6c 65 6e 64 61 72 2c |in the c|alendar,|
|00001c40| 20 6f 72 20 73 65 74 0a | 60 65 75 72 6f 70 65 61 | or set.|`europea|
|00001c50| 6e 2d 63 61 6c 65 6e 64 | 61 72 2d 73 74 79 6c 65 |n-calend|ar-style|
|00001c60| 27 20 74 6f 20 74 20 69 | 6e 20 79 6f 75 72 20 2e |' to t i|n your .|
|00001c70| 65 6d 61 63 73 20 66 69 | 6c 65 2e 20 20 54 68 65 |emacs fi|le. The|
|00001c80| 20 45 75 72 6f 70 65 61 | 6e 20 66 6f 72 6d 73 20 | Europea|n forms |
|00001c90| 61 72 65 0a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |are.. | |
|00001ca0| 20 44 41 59 2f 4d 4f 4e | 54 48 0a 20 20 20 20 20 | DAY/MON|TH. |
|00001cb0| 20 20 20 20 20 20 20 44 | 41 59 2f 4d 4f 4e 54 48 | D|AY/MONTH|
|00001cc0| 2f 59 45 41 52 0a 20 20 | 20 20 20 20 20 20 20 20 |/YEAR. | |
|00001cd0| 20 20 44 41 59 20 4d 4f | 4e 54 48 4e 41 4d 45 0a | DAY MO|NTHNAME.|
|00001ce0| 20 20 20 20 20 20 20 20 | 20 20 20 20 44 41 59 20 | | DAY |
|00001cf0| 4d 4f 4e 54 48 4e 41 4d | 45 20 59 45 41 52 0a 20 |MONTHNAM|E YEAR. |
|00001d00| 20 20 20 20 20 20 20 20 | 20 20 20 44 41 59 4e 41 | | DAYNA|
|00001d10| 4d 45 0a 0a 54 6f 20 72 | 65 76 65 72 74 20 74 6f |ME..To r|evert to|
|00001d20| 20 74 68 65 20 64 65 66 | 61 75 6c 74 20 41 6d 65 | the def|ault Ame|
|00001d30| 72 69 63 61 6e 20 73 74 | 79 6c 65 20 66 72 6f 6d |rican st|yle from|
|00001d40| 20 74 68 65 20 45 75 72 | 6f 70 65 61 6e 20 73 74 | the Eur|opean st|
|00001d50| 79 6c 65 2c 20 65 78 65 | 63 75 74 65 0a 60 61 6d |yle, exe|cute.`am|
|00001d60| 65 72 69 63 61 6e 2d 63 | 61 6c 65 6e 64 61 72 27 |erican-c|alendar'|
|00001d70| 20 69 6e 20 74 68 65 20 | 63 61 6c 65 6e 64 61 72 | in the |calendar|
|00001d80| 2e 0a 0a 41 20 64 69 61 | 72 79 20 65 6e 74 72 79 |...A dia|ry entry|
|00001d90| 20 63 61 6e 20 62 65 20 | 70 72 65 63 65 64 65 64 | can be |preceded|
|00001da0| 20 62 79 20 74 68 65 20 | 63 68 61 72 61 63 74 65 | by the |characte|
|00001db0| 72 0a 60 64 69 61 72 79 | 2d 6e 6f 6e 6d 61 72 6b |r.`diary|-nonmark|
|00001dc0| 69 6e 67 2d 73 79 6d 62 | 6f 6c 27 20 28 6f 72 64 |ing-symb|ol' (ord|
|00001dd0| 69 6e 61 72 69 6c 79 20 | 60 26 27 29 20 74 6f 20 |inarily |`&') to |
|00001de0| 6d 61 6b 65 20 74 68 61 | 74 20 65 6e 74 72 79 0a |make tha|t entry.|
|00001df0| 6e 6f 6e 6d 61 72 6b 69 | 6e 67 2d 2d 74 68 61 74 |nonmarki|ng--that|
|00001e00| 20 69 73 2c 20 69 74 20 | 77 69 6c 6c 20 6e 6f 74 | is, it |will not|
|00001e10| 20 62 65 20 6d 61 72 6b | 65 64 20 6f 6e 20 64 61 | be mark|ed on da|
|00001e20| 74 65 73 20 69 6e 20 74 | 68 65 20 63 61 6c 65 6e |tes in t|he calen|
|00001e30| 64 61 72 0a 77 69 6e 64 | 6f 77 20 62 75 74 20 77 |dar.wind|ow but w|
|00001e40| 69 6c 6c 20 61 70 70 65 | 61 72 20 69 6e 20 61 20 |ill appe|ar in a |
|00001e50| 64 69 61 72 79 20 77 69 | 6e 64 6f 77 2e 0a 0a 4d |diary wi|ndow...M|
|00001e60| 75 6c 74 69 6c 69 6e 65 | 20 64 69 61 72 79 20 65 |ultiline| diary e|
|00001e70| 6e 74 72 69 65 73 20 61 | 72 65 20 6d 61 64 65 20 |ntries a|re made |
|00001e80| 62 79 20 69 6e 64 65 6e | 74 69 6e 67 20 6c 69 6e |by inden|ting lin|
|00001e90| 65 73 20 61 66 74 65 72 | 20 74 68 65 20 66 69 72 |es after| the fir|
|00001ea0| 73 74 20 77 69 74 68 0a | 65 69 74 68 65 72 20 61 |st with.|either a|
|00001eb0| 20 54 41 42 20 6f 72 20 | 6f 6e 65 20 6f 72 20 6d | TAB or |one or m|
|00001ec0| 6f 72 65 20 73 70 61 63 | 65 73 2e 0a 0a 4c 69 6e |ore spac|es...Lin|
|00001ed0| 65 73 20 6e 6f 74 20 69 | 6e 20 6f 6e 65 20 74 68 |es not i|n one th|
|00001ee0| 65 20 61 62 6f 76 65 20 | 66 6f 72 6d 61 74 73 20 |e above |formats |
|00001ef0| 61 72 65 20 69 67 6e 6f | 72 65 64 2e 20 20 48 65 |are igno|red. He|
|00001f00| 72 65 20 61 72 65 20 73 | 6f 6d 65 20 73 61 6d 70 |re are s|ome samp|
|00001f10| 6c 65 20 64 69 61 72 79 | 0a 65 6e 74 72 69 65 73 |le diary|.entries|
|00001f20| 20 28 69 6e 20 74 68 65 | 20 64 65 66 61 75 6c 74 | (in the| default|
|00001f30| 20 41 6d 65 72 69 63 61 | 6e 20 73 74 79 6c 65 29 | America|n style)|
|00001f40| 3a 0a 0a 20 20 20 20 20 | 31 32 2f 32 32 2f 31 39 |:.. |12/22/19|
|00001f50| 38 38 20 54 77 65 6e 74 | 69 65 74 68 20 77 65 64 |88 Twent|ieth wed|
|00001f60| 64 69 6e 67 20 61 6e 6e | 69 76 65 72 73 61 72 79 |ding ann|iversary|
|00001f70| 21 21 0a 20 20 20 20 20 | 26 31 2f 31 2e 20 48 61 |!!. |&1/1. Ha|
|00001f80| 70 70 79 20 4e 65 77 20 | 59 65 61 72 21 0a 20 20 |ppy New |Year!. |
|00001f90| 20 20 20 31 30 2f 32 32 | 20 52 75 74 68 27 73 20 | 10/22| Ruth's |
|00001fa0| 62 69 72 74 68 64 61 79 | 2e 0a 20 20 20 20 20 32 |birthday|.. 2|
|00001fb0| 31 3a 20 50 61 79 64 61 | 79 0a 20 20 20 20 20 54 |1: Payda|y. T|
|00001fc0| 75 65 73 64 61 79 2d 2d | 77 65 65 6b 6c 79 20 6d |uesday--|weekly m|
|00001fd0| 65 65 74 69 6e 67 20 77 | 69 74 68 20 67 72 61 64 |eeting w|ith grad|
|00001fe0| 20 73 74 75 64 65 6e 74 | 73 20 61 74 20 31 30 61 | student|s at 10a|
|00001ff0| 6d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |m. | |
|00002000| 53 75 70 6f 77 69 74 2c | 20 53 68 65 6e 2c 20 42 |Supowit,| Shen, B|
|00002010| 69 74 6e 65 72 2c 20 61 | 6e 64 20 4b 61 70 6f 6f |itner, a|nd Kapoo|
|00002020| 72 20 74 6f 20 61 74 74 | 65 6e 64 2e 0a 20 20 20 |r to att|end.. |
|00002030| 20 20 31 2f 31 33 2f 38 | 39 20 46 72 69 64 61 79 | 1/13/8|9 Friday|
|00002040| 20 74 68 65 20 74 68 69 | 72 74 65 65 6e 74 68 21 | the thi|rteenth!|
|00002050| 21 0a 20 20 20 20 20 26 | 74 68 75 20 34 70 6d 20 |!. &|thu 4pm |
|00002060| 73 71 75 61 73 68 20 67 | 61 6d 65 20 77 69 74 68 |squash g|ame with|
|00002070| 20 4c 6c 6f 79 64 2e 0a | 20 20 20 20 20 6d 61 72 | Lloyd..| mar|
|00002080| 20 31 36 20 44 61 64 27 | 73 20 62 69 72 74 68 64 | 16 Dad'|s birthd|
|00002090| 61 79 0a 20 20 20 20 20 | 41 70 72 69 6c 20 31 35 |ay. |April 15|
|000020a0| 2c 20 31 39 38 39 20 49 | 6e 63 6f 6d 65 20 74 61 |, 1989 I|ncome ta|
|000020b0| 78 20 64 75 65 2e 0a 20 | 20 20 20 20 26 2a 20 31 |x due.. | &* 1|
|000020c0| 35 20 74 69 6d 65 20 63 | 61 72 64 73 20 64 75 65 |5 time c|ards due|
|000020d0| 2e 0a 0a 49 66 20 74 68 | 65 20 66 69 72 73 74 20 |...If th|e first |
|000020e0| 6c 69 6e 65 20 6f 66 20 | 61 20 64 69 61 72 79 20 |line of |a diary |
|000020f0| 65 6e 74 72 79 20 63 6f | 6e 73 69 73 74 73 20 6f |entry co|nsists o|
|00002100| 6e 6c 79 20 6f 66 20 74 | 68 65 20 64 61 74 65 20 |nly of t|he date |
|00002110| 6f 72 20 64 61 79 20 6e | 61 6d 65 20 77 69 74 68 |or day n|ame with|
|00002120| 0a 6e 6f 20 74 72 61 69 | 6c 69 6e 67 20 62 6c 61 |.no trai|ling bla|
|00002130| 6e 6b 73 20 6f 72 20 70 | 75 6e 63 74 75 61 74 69 |nks or p|unctuati|
|00002140| 6f 6e 2c 20 74 68 65 6e | 20 74 68 61 74 20 6c 69 |on, then| that li|
|00002150| 6e 65 20 69 73 20 6e 6f | 74 20 64 69 73 70 6c 61 |ne is no|t displa|
|00002160| 79 65 64 20 69 6e 20 74 | 68 65 0a 64 69 61 72 79 |yed in t|he.diary|
|00002170| 20 77 69 6e 64 6f 77 3b | 20 6f 6e 6c 79 20 74 68 | window;| only th|
|00002180| 65 20 63 6f 6e 74 69 6e | 75 61 74 69 6f 6e 20 6c |e contin|uation l|
|00002190| 69 6e 65 73 20 69 73 20 | 73 68 6f 77 6e 2e 20 20 |ines is |shown. |
|000021a0| 46 6f 72 20 65 78 61 6d | 70 6c 65 2c 20 74 68 65 |For exam|ple, the|
|000021b0| 0a 73 69 6e 67 6c 65 20 | 64 69 61 72 79 20 65 6e |.single |diary en|
|000021c0| 74 72 79 0a 0a 20 20 20 | 20 20 30 32 2f 31 31 2f |try.. | 02/11/|
|000021d0| 31 39 38 39 0a 20 20 20 | 20 20 20 42 69 6c 6c 20 |1989. | Bill |
|000021e0| 42 6c 61 74 74 6e 65 72 | 20 76 69 73 69 74 73 20 |Blattner| visits |
|000021f0| 50 72 69 6e 63 65 74 6f | 6e 20 74 6f 64 61 79 0a |Princeto|n today.|
|00002200| 20 20 20 20 20 20 32 70 | 6d 20 43 6f 67 6e 69 74 | 2p|m Cognit|
|00002210| 69 76 65 20 53 74 75 64 | 69 65 73 20 43 6f 6d 6d |ive Stud|ies Comm|
|00002220| 69 74 74 65 65 20 6d 65 | 65 74 69 6e 67 0a 20 20 |ittee me|eting. |
|00002230| 20 20 20 20 32 3a 33 30 | 2d 35 3a 33 30 20 4c 69 | 2:30|-5:30 Li|
|00002240| 7a 7a 69 65 20 61 74 20 | 4c 61 77 72 65 6e 63 65 |zzie at |Lawrence|
|00002250| 76 69 6c 6c 65 20 66 6f | 72 20 60 47 72 6f 75 70 |ville fo|r `Group|
|00002260| 20 49 6e 69 74 69 61 74 | 69 76 65 27 0a 20 20 20 | Initiat|ive'. |
|00002270| 20 20 20 34 3a 30 30 70 | 6d 20 4a 61 6d 69 65 20 | 4:00p|m Jamie |
|00002280| 54 61 70 70 65 6e 64 65 | 6e 0a 20 20 20 20 20 20 |Tappende|n. |
|00002290| 37 3a 33 30 70 6d 20 44 | 69 6e 6e 65 72 20 61 74 |7:30pm D|inner at|
|000022a0| 20 47 65 6f 72 67 65 20 | 61 6e 64 20 45 64 27 73 | George |and Ed's|
|000022b0| 20 66 6f 72 20 41 6c 61 | 6e 20 52 79 61 6e 0a 20 | for Ala|n Ryan. |
|000022c0| 20 20 20 20 20 37 3a 33 | 30 2d 31 30 3a 30 30 70 | 7:3|0-10:00p|
|000022d0| 6d 20 64 61 6e 63 65 20 | 61 74 20 53 74 65 77 61 |m dance |at Stewa|
|000022e0| 72 74 20 43 6f 75 6e 74 | 72 79 20 44 61 79 20 53 |rt Count|ry Day S|
|000022f0| 63 68 6f 6f 6c 0a 0a 77 | 69 6c 6c 20 61 70 70 65 |chool..w|ill appe|
|00002300| 61 72 20 69 6e 20 74 68 | 65 20 64 69 61 72 79 20 |ar in th|e diary |
|00002310| 77 69 6e 64 6f 77 20 77 | 69 74 68 6f 75 74 20 74 |window w|ithout t|
|00002320| 68 65 20 64 61 74 65 20 | 6c 69 6e 65 20 61 74 20 |he date |line at |
|00002330| 74 68 65 20 62 65 67 69 | 6e 6e 69 6e 67 2e 20 20 |the begi|nning. |
|00002340| 54 68 69 73 0a 66 61 63 | 69 6c 69 74 79 20 61 6c |This.fac|ility al|
|00002350| 6c 6f 77 73 20 74 68 65 | 20 64 69 61 72 79 20 77 |lows the| diary w|
|00002360| 69 6e 64 6f 77 20 74 6f | 20 6c 6f 6f 6b 20 6e 65 |indow to| look ne|
|00002370| 61 74 65 72 2c 20 62 75 | 74 20 63 61 6e 20 63 61 |ater, bu|t can ca|
|00002380| 75 73 65 20 63 6f 6e 66 | 75 73 69 6f 6e 20 69 66 |use conf|usion if|
|00002390| 0a 75 73 65 64 20 77 69 | 74 68 20 6d 6f 72 65 20 |.used wi|th more |
|000023a0| 74 68 61 6e 20 6f 6e 65 | 20 64 61 79 27 73 20 65 |than one| day's e|
|000023b0| 6e 74 72 69 65 73 20 64 | 69 73 70 6c 61 79 65 64 |ntries d|isplayed|
|000023c0| 2e 0a 0a 44 69 61 72 79 | 20 65 6e 74 72 69 65 73 |...Diary| entries|
|000023d0| 20 63 61 6e 20 62 65 20 | 62 61 73 65 64 20 6f 6e | can be |based on|
|000023e0| 20 4c 69 73 70 20 73 65 | 78 70 73 2e 20 20 46 6f | Lisp se|xps. Fo|
|000023f0| 72 20 65 78 61 6d 70 6c | 65 2c 20 74 68 65 20 64 |r exampl|e, the d|
|00002400| 69 61 72 79 20 65 6e 74 | 72 79 0a 0a 20 20 20 20 |iary ent|ry.. |
|00002410| 20 20 25 25 28 64 69 61 | 72 79 2d 62 6c 6f 63 6b | %%(dia|ry-block|
|00002420| 20 31 31 20 31 20 31 39 | 39 30 20 31 31 20 31 30 | 11 1 19|90 11 10|
|00002430| 20 31 39 39 30 29 20 56 | 61 63 61 74 69 6f 6e 0a | 1990) V|acation.|
|00002440| 0a 63 61 75 73 65 73 20 | 74 68 65 20 64 69 61 72 |.causes |the diar|
|00002450| 79 20 65 6e 74 72 79 20 | 5c 22 56 61 63 61 74 69 |y entry |\"Vacati|
|00002460| 6f 6e 5c 22 20 74 6f 20 | 61 70 70 65 61 72 20 66 |on\" to |appear f|
|00002470| 72 6f 6d 20 4e 6f 76 65 | 6d 62 65 72 20 31 20 74 |rom Nove|mber 1 t|
|00002480| 68 72 6f 75 67 68 20 4e | 6f 76 65 6d 62 65 72 0a |hrough N|ovember.|
|00002490| 31 30 2c 20 31 39 39 30 | 2e 20 20 4f 74 68 65 72 |10, 1990|. Other|
|000024a0| 20 66 75 6e 63 74 69 6f | 6e 73 20 61 76 61 69 6c | functio|ns avail|
|000024b0| 61 62 6c 65 20 61 72 65 | 20 60 64 69 61 72 79 2d |able are| `diary-|
|000024c0| 66 6c 6f 61 74 27 2c 20 | 60 64 69 61 72 79 2d 61 |float', |`diary-a|
|000024d0| 6e 6e 69 76 65 72 73 61 | 72 79 27 2c 0a 60 64 69 |nniversa|ry',.`di|
|000024e0| 61 72 79 2d 63 79 63 6c | 69 63 27 2c 20 60 64 69 |ary-cycl|ic', `di|
|000024f0| 61 72 79 2d 64 61 79 2d | 6f 66 2d 79 65 61 72 27 |ary-day-|of-year'|
|00002500| 2c 20 60 64 69 61 72 79 | 2d 69 73 6f 2d 64 61 74 |, `diary|-iso-dat|
|00002510| 65 27 2c 20 60 64 69 61 | 72 79 2d 66 72 65 6e 63 |e', `dia|ry-frenc|
|00002520| 68 2d 64 61 74 65 27 2c | 0a 60 64 69 61 72 79 2d |h-date',|.`diary-|
|00002530| 68 65 62 72 65 77 2d 64 | 61 74 65 27 2c 20 60 64 |hebrew-d|ate', `d|
|00002540| 69 61 72 79 2d 69 73 6c | 61 6d 69 63 2d 64 61 74 |iary-isl|amic-dat|
|00002550| 65 27 2c 20 60 64 69 61 | 72 79 2d 6d 61 79 61 6e |e', `dia|ry-mayan|
|00002560| 2d 64 61 74 65 27 2c 0a | 60 64 69 61 72 79 2d 79 |-date',.|`diary-y|
|00002570| 61 68 72 7a 65 69 74 27 | 2c 20 60 64 69 61 72 79 |ahrzeit'|, `diary|
|00002580| 2d 73 75 6e 72 69 73 65 | 2d 73 75 6e 73 65 74 27 |-sunrise|-sunset'|
|00002590| 2c 20 60 64 69 61 72 79 | 2d 70 68 61 73 65 73 2d |, `diary|-phases-|
|000025a0| 6f 66 2d 6d 6f 6f 6e 27 | 2c 0a 60 64 69 61 72 79 |of-moon'|,.`diary|
|000025b0| 2d 70 61 72 61 73 68 61 | 27 2c 20 60 64 69 61 72 |-parasha|', `diar|
|000025c0| 79 2d 6f 6d 65 72 27 2c | 20 60 64 69 61 72 79 2d |y-omer',| `diary-|
|000025d0| 72 6f 73 68 2d 68 6f 64 | 65 73 68 27 2c 20 61 6e |rosh-hod|esh', an|
|000025e0| 64 0a 60 64 69 61 72 79 | 2d 73 61 62 62 61 74 68 |d.`diary|-sabbath|
|000025f0| 2d 63 61 6e 64 6c 65 73 | 27 2e 20 20 53 65 65 20 |-candles|'. See |
|00002600| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |the docu|mentatio|
|00002610| 6e 20 66 6f 72 20 74 68 | 65 20 66 75 6e 63 74 69 |n for th|e functi|
|00002620| 6f 6e 0a 60 6c 69 73 74 | 2d 73 65 78 70 2d 64 69 |on.`list|-sexp-di|
|00002630| 61 72 79 2d 65 6e 74 72 | 69 65 73 27 20 66 6f 72 |ary-entr|ies' for|
|00002640| 20 6d 6f 72 65 20 64 65 | 74 61 69 6c 73 2e 0a 0a | more de|tails...|
|00002650| 44 69 61 72 79 20 65 6e | 74 72 69 65 73 20 62 61 |Diary en|tries ba|
|00002660| 73 65 64 20 6f 6e 20 74 | 68 65 20 48 65 62 72 65 |sed on t|he Hebre|
|00002670| 77 20 61 6e 64 2f 6f 72 | 20 74 68 65 20 49 73 6c |w and/or| the Isl|
|00002680| 61 6d 69 63 20 63 61 6c | 65 6e 64 61 72 20 61 72 |amic cal|endar ar|
|00002690| 65 20 61 6c 73 6f 0a 70 | 6f 73 73 69 62 6c 65 2c |e also.p|ossible,|
|000026a0| 20 62 75 74 20 62 65 63 | 61 75 73 65 20 74 68 65 | but bec|ause the|
|000026b0| 73 65 20 61 72 65 20 73 | 6f 6d 65 77 68 61 74 20 |se are s|omewhat |
|000026c0| 73 6c 6f 77 2c 20 74 68 | 65 79 20 61 72 65 20 69 |slow, th|ey are i|
|000026d0| 67 6e 6f 72 65 64 0a 75 | 6e 6c 65 73 73 20 79 6f |gnored.u|nless yo|
|000026e0| 75 20 73 65 74 20 74 68 | 65 20 60 6e 6f 6e 67 72 |u set th|e `nongr|
|000026f0| 65 67 6f 72 69 61 6e 2d | 64 69 61 72 79 2d 6c 69 |egorian-|diary-li|
|00002700| 73 74 69 6e 67 2d 68 6f | 6f 6b 27 20 61 6e 64 20 |sting-ho|ok' and |
|00002710| 74 68 65 0a 60 6e 6f 6e | 67 72 65 67 6f 72 69 61 |the.`non|gregoria|
|00002720| 6e 2d 64 69 61 72 79 2d | 6d 61 72 6b 69 6e 67 2d |n-diary-|marking-|
|00002730| 68 6f 6f 6b 27 20 61 70 | 70 72 6f 70 72 69 61 74 |hook' ap|propriat|
|00002740| 65 6c 79 2e 20 20 53 65 | 65 20 74 68 65 20 64 6f |ely. Se|e the do|
|00002750| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 0a 66 6f 72 20 |cumentat|ion.for |
|00002760| 74 68 65 73 65 20 66 75 | 6e 63 74 69 6f 6e 73 20 |these fu|nctions |
|00002770| 66 6f 72 20 64 65 74 61 | 69 6c 73 2e 0a 0a 44 69 |for deta|ils...Di|
|00002780| 61 72 79 20 66 69 6c 65 | 73 20 63 61 6e 20 63 6f |ary file|s can co|
|00002790| 6e 74 61 69 6e 20 64 69 | 72 65 63 74 69 76 65 73 |ntain di|rectives|
|000027a0| 20 74 6f 20 69 6e 63 6c | 75 64 65 20 74 68 65 20 | to incl|ude the |
|000027b0| 63 6f 6e 74 65 6e 74 73 | 20 6f 66 20 6f 74 68 65 |contents| of othe|
|000027c0| 72 20 66 69 6c 65 73 3b | 20 66 6f 72 0a 64 65 74 |r files;| for.det|
|000027d0| 61 69 6c 73 2c 20 73 65 | 65 20 74 68 65 20 64 6f |ails, se|e the do|
|000027e0| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 66 6f 72 20 |cumentat|ion for |
|000027f0| 74 68 65 20 76 61 72 69 | 61 62 6c 65 20 60 6c 69 |the vari|able `li|
|00002800| 73 74 2d 64 69 61 72 79 | 2d 65 6e 74 72 69 65 73 |st-diary|-entries|
|00002810| 2d 68 6f 6f 6b 27 2e 22 | 29 0a 28 64 65 66 76 61 |-hook'."|).(defva|
|00002820| 72 20 64 69 61 72 79 2d | 6e 6f 6e 6d 61 72 6b 69 |r diary-|nonmarki|
|00002830| 6e 67 2d 73 79 6d 62 6f | 6c 20 22 26 22 20 22 5c |ng-symbo|l "&" "\|
|00002840| 0a 2a 53 79 6d 62 6f 6c | 20 69 6e 64 69 63 61 74 |.*Symbol| indicat|
|00002850| 69 6e 67 20 74 68 61 74 | 20 61 20 64 69 61 72 79 |ing that| a diary|
|00002860| 20 65 6e 74 72 79 20 69 | 73 20 6e 6f 74 20 74 6f | entry i|s not to|
|00002870| 20 62 65 20 6d 61 72 6b | 65 64 20 69 6e 20 74 68 | be mark|ed in th|
|00002880| 65 20 63 61 6c 65 6e 64 | 61 72 2e 22 29 0a 28 64 |e calend|ar.").(d|
|00002890| 65 66 76 61 72 20 68 65 | 62 72 65 77 2d 64 69 61 |efvar he|brew-dia|
|000028a0| 72 79 2d 65 6e 74 72 79 | 2d 73 79 6d 62 6f 6c 20 |ry-entry|-symbol |
|000028b0| 22 48 22 20 22 5c 0a 2a | 53 79 6d 62 6f 6c 20 69 |"H" "\.*|Symbol i|
|000028c0| 6e 64 69 63 61 74 69 6e | 67 20 61 20 64 69 61 72 |ndicatin|g a diar|
|000028d0| 79 20 65 6e 74 72 79 20 | 61 63 63 6f 72 64 69 6e |y entry |accordin|
|000028e0| 67 20 74 6f 20 74 68 65 | 20 48 65 62 72 65 77 20 |g to the| Hebrew |
|000028f0| 63 61 6c 65 6e 64 61 72 | 2e 22 29 0a 28 64 65 66 |calendar|.").(def|
|00002900| 76 61 72 20 69 73 6c 61 | 6d 69 63 2d 64 69 61 72 |var isla|mic-diar|
|00002910| 79 2d 65 6e 74 72 79 2d | 73 79 6d 62 6f 6c 20 22 |y-entry-|symbol "|
|00002920| 49 22 20 22 5c 0a 2a 53 | 79 6d 62 6f 6c 20 69 6e |I" "\.*S|ymbol in|
|00002930| 64 69 63 61 74 69 6e 67 | 20 61 20 64 69 61 72 79 |dicating| a diary|
|00002940| 20 65 6e 74 72 79 20 61 | 63 63 6f 72 64 69 6e 67 | entry a|ccording|
|00002950| 20 74 6f 20 74 68 65 20 | 49 73 6c 61 6d 69 63 20 | to the |Islamic |
|00002960| 63 61 6c 65 6e 64 61 72 | 2e 22 29 0a 28 64 65 66 |calendar|.").(def|
|00002970| 76 61 72 20 64 69 61 72 | 79 2d 69 6e 63 6c 75 64 |var diar|y-includ|
|00002980| 65 2d 73 74 72 69 6e 67 | 20 22 23 69 6e 63 6c 75 |e-string| "#inclu|
|00002990| 64 65 22 20 22 5c 0a 2a | 54 68 65 20 73 74 72 69 |de" "\.*|The stri|
|000029a0| 6e 67 20 69 6e 64 69 63 | 61 74 69 6e 67 20 69 6e |ng indic|ating in|
|000029b0| 63 6c 75 73 69 6f 6e 20 | 6f 66 20 61 6e 6f 74 68 |clusion |of anoth|
|000029c0| 65 72 20 66 69 6c 65 20 | 6f 66 20 64 69 61 72 79 |er file |of diary|
|000029d0| 20 65 6e 74 72 69 65 73 | 2e 0a 53 65 65 20 74 68 | entries|..See th|
|000029e0| 65 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 20 |e docume|ntation |
|000029f0| 66 6f 72 20 74 68 65 20 | 66 75 6e 63 74 69 6f 6e |for the |function|
|00002a00| 20 60 69 6e 63 6c 75 64 | 65 2d 6f 74 68 65 72 2d | `includ|e-other-|
|00002a10| 64 69 61 72 79 2d 66 69 | 6c 65 73 27 2e 22 29 0a |diary-fi|les'.").|
|00002a20| 28 64 65 66 76 61 72 20 | 73 65 78 70 2d 64 69 61 |(defvar |sexp-dia|
|00002a30| 72 79 2d 65 6e 74 72 79 | 2d 73 79 6d 62 6f 6c 20 |ry-entry|-symbol |
|00002a40| 22 25 25 22 20 22 5c 0a | 2a 54 68 65 20 73 74 72 |"%%" "\.|*The str|
|00002a50| 69 6e 67 20 75 73 65 64 | 20 74 6f 20 69 6e 64 69 |ing used| to indi|
|00002a60| 63 61 74 65 20 61 20 73 | 65 78 70 20 64 69 61 72 |cate a s|exp diar|
|00002a70| 79 20 65 6e 74 72 79 20 | 69 6e 20 64 69 61 72 79 |y entry |in diary|
|00002a80| 2d 66 69 6c 65 2e 0a 53 | 65 65 20 74 68 65 20 64 |-file..S|ee the d|
|00002a90| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 66 6f 72 |ocumenta|tion for|
|00002aa0| 20 74 68 65 20 66 75 6e | 63 74 69 6f 6e 20 60 6c | the fun|ction `l|
|00002ab0| 69 73 74 2d 73 65 78 70 | 2d 64 69 61 72 79 2d 65 |ist-sexp|-diary-e|
|00002ac0| 6e 74 72 69 65 73 27 2e | 22 29 0a 28 64 65 66 76 |ntries'.|").(defv|
|00002ad0| 61 72 20 61 62 62 72 65 | 76 69 61 74 65 64 2d 63 |ar abbre|viated-c|
|00002ae0| 61 6c 65 6e 64 61 72 2d | 79 65 61 72 20 74 20 22 |alendar-|year t "|
|00002af0| 5c 0a 2a 49 6e 74 65 72 | 70 72 65 74 20 61 20 74 |\.*Inter|pret a t|
|00002b00| 77 6f 2d 64 69 67 69 74 | 20 79 65 61 72 20 44 44 |wo-digit| year DD|
|00002b10| 20 69 6e 20 61 20 64 69 | 61 72 79 20 65 6e 74 72 | in a di|ary entr|
|00002b20| 79 20 61 73 20 65 69 74 | 68 65 72 20 31 39 44 44 |y as eit|her 19DD|
|00002b30| 20 6f 72 20 32 30 44 44 | 2e 0a 46 6f 72 20 74 68 | or 20DD|..For th|
|00002b40| 65 20 47 72 65 67 6f 72 | 69 61 6e 20 63 61 6c 65 |e Gregor|ian cale|
|00002b50| 6e 64 61 72 3b 20 73 69 | 6d 69 6c 61 72 6c 79 20 |ndar; si|milarly |
|00002b60| 66 6f 72 20 74 68 65 20 | 48 65 62 72 65 77 20 61 |for the |Hebrew a|
|00002b70| 6e 64 20 49 73 6c 61 6d | 69 63 20 63 61 6c 65 6e |nd Islam|ic calen|
|00002b80| 64 61 72 73 2e 0a 49 66 | 20 74 68 69 73 20 76 61 |dars..If| this va|
|00002b90| 72 69 61 62 6c 65 20 69 | 73 20 6e 69 6c 2c 20 79 |riable i|s nil, y|
|00002ba0| 65 61 72 73 20 6d 75 73 | 74 20 62 65 20 77 72 69 |ears mus|t be wri|
|00002bb0| 74 74 65 6e 20 69 6e 20 | 66 75 6c 6c 2e 22 29 0a |tten in |full.").|
|00002bc0| 28 64 65 66 76 61 72 20 | 65 75 72 6f 70 65 61 6e |(defvar |european|
|00002bd0| 2d 63 61 6c 65 6e 64 61 | 72 2d 73 74 79 6c 65 20 |-calenda|r-style |
|00002be0| 6e 69 6c 20 22 5c 0a 2a | 55 73 65 20 74 68 65 20 |nil "\.*|Use the |
|00002bf0| 45 75 72 6f 70 65 61 6e | 20 73 74 79 6c 65 20 6f |European| style o|
|00002c00| 66 20 64 61 74 65 73 20 | 69 6e 20 74 68 65 20 64 |f dates |in the d|
|00002c10| 69 61 72 79 20 61 6e 64 | 20 69 6e 20 61 6e 79 20 |iary and| in any |
|00002c20| 64 69 73 70 6c 61 79 73 | 2e 0a 49 66 20 74 68 69 |displays|..If thi|
|00002c30| 73 20 76 61 72 69 61 62 | 6c 65 20 69 73 20 74 2c |s variab|le is t,|
|00002c40| 20 61 20 64 61 74 65 20 | 31 2f 32 2f 31 39 39 30 | a date |1/2/1990|
|00002c50| 20 77 6f 75 6c 64 20 62 | 65 20 69 6e 74 65 72 70 | would b|e interp|
|00002c60| 72 65 74 65 64 20 61 73 | 20 46 65 62 72 75 61 72 |reted as| Februar|
|00002c70| 79 20 31 2c 0a 31 39 39 | 30 2e 20 20 54 68 65 20 |y 1,.199|0. The |
|00002c80| 61 63 63 65 70 74 65 64 | 20 45 75 72 6f 70 65 61 |accepted| Europea|
|00002c90| 6e 20 64 61 74 65 20 73 | 74 79 6c 65 73 20 61 72 |n date s|tyles ar|
|00002ca0| 65 0a 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 44 |e.. | D|
|00002cb0| 41 59 2f 4d 4f 4e 54 48 | 0a 20 20 20 20 20 20 20 |AY/MONTH|. |
|00002cc0| 20 20 20 20 20 44 41 59 | 2f 4d 4f 4e 54 48 2f 59 | DAY|/MONTH/Y|
|00002cd0| 45 41 52 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |EAR. | |
|00002ce0| 44 41 59 20 4d 4f 4e 54 | 48 4e 41 4d 45 0a 20 20 |DAY MONT|HNAME. |
|00002cf0| 20 20 20 20 20 20 20 20 | 20 20 44 41 59 20 4d 4f | | DAY MO|
|00002d00| 4e 54 48 4e 41 4d 45 20 | 59 45 41 52 0a 20 20 20 |NTHNAME |YEAR. |
|00002d10| 20 20 20 20 20 20 20 20 | 20 44 41 59 4e 41 4d 45 | | DAYNAME|
|00002d20| 0a 0a 4e 61 6d 65 73 20 | 63 61 6e 20 62 65 20 63 |..Names |can be c|
|00002d30| 61 70 69 74 61 6c 69 7a | 65 64 20 6f 72 20 6e 6f |apitaliz|ed or no|
|00002d40| 74 2c 20 77 72 69 74 74 | 65 6e 20 69 6e 20 66 75 |t, writt|en in fu|
|00002d50| 6c 6c 2c 20 6f 72 20 61 | 62 62 72 65 76 69 61 74 |ll, or a|bbreviat|
|00002d60| 65 64 20 74 6f 20 74 68 | 72 65 65 0a 63 68 61 72 |ed to th|ree.char|
|00002d70| 61 63 74 65 72 73 20 77 | 69 74 68 20 6f 72 20 77 |acters w|ith or w|
|00002d80| 69 74 68 6f 75 74 20 61 | 20 70 65 72 69 6f 64 2e |ithout a| period.|
|00002d90| 22 29 0a 28 64 65 66 76 | 61 72 20 61 6d 65 72 69 |").(defv|ar ameri|
|00002da0| 63 61 6e 2d 64 61 74 65 | 2d 64 69 61 72 79 2d 70 |can-date|-diary-p|
|00002db0| 61 74 74 65 72 6e 20 28 | 71 75 6f 74 65 20 28 28 |attern (|quote ((|
|00002dc0| 6d 6f 6e 74 68 20 22 2f | 22 20 64 61 79 20 22 5b |month "/|" day "[|
|00002dd0| 5e 2f 30 2d 39 5d 22 29 | 20 28 6d 6f 6e 74 68 20 |^/0-9]")| (month |
|00002de0| 22 2f 22 20 64 61 79 20 | 22 2f 22 20 79 65 61 72 |"/" day |"/" year|
|00002df0| 20 22 5b 5e 30 2d 39 5d | 22 29 20 28 6d 6f 6e 74 | "[^0-9]|") (mont|
|00002e00| 68 6e 61 6d 65 20 22 20 | 2a 22 20 64 61 79 20 22 |hname " |*" day "|
|00002e10| 5b 5e 2c 30 2d 39 5d 22 | 29 20 28 6d 6f 6e 74 68 |[^,0-9]"|) (month|
|00002e20| 6e 61 6d 65 20 22 20 2a | 22 20 64 61 79 20 22 2c |name " *|" day ",|
|00002e30| 20 2a 22 20 79 65 61 72 | 20 22 5b 5e 30 2d 39 5d | *" year| "[^0-9]|
|00002e40| 22 29 20 28 64 61 79 6e | 61 6d 65 20 22 5c 5c 57 |") (dayn|ame "\\W|
|00002e50| 22 29 29 29 20 22 5c 0a | 2a 4c 69 73 74 20 6f 66 |"))) "\.|*List of|
|00002e60| 20 70 73 65 75 64 6f 2d | 70 61 74 74 65 72 6e 73 | pseudo-|patterns|
|00002e70| 20 64 65 73 63 72 69 62 | 69 6e 67 20 74 68 65 20 | describ|ing the |
|00002e80| 41 6d 65 72 69 63 61 6e | 20 70 61 74 74 65 72 6e |American| pattern|
|00002e90| 73 20 6f 66 20 64 61 74 | 65 20 75 73 65 64 2e 0a |s of dat|e used..|
|00002ea0| 53 65 65 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |See the |document|
|00002eb0| 61 74 69 6f 6e 20 6f 66 | 20 60 64 69 61 72 79 2d |ation of| `diary-|
|00002ec0| 64 61 74 65 2d 66 6f 72 | 6d 73 27 20 66 6f 72 20 |date-for|ms' for |
|00002ed0| 61 6e 20 65 78 70 6c 61 | 6e 61 74 69 6f 6e 2e 22 |an expla|nation."|
|00002ee0| 29 0a 28 64 65 66 76 61 | 72 20 65 75 72 6f 70 65 |).(defva|r europe|
|00002ef0| 61 6e 2d 64 61 74 65 2d | 64 69 61 72 79 2d 70 61 |an-date-|diary-pa|
|00002f00| 74 74 65 72 6e 20 28 71 | 75 6f 74 65 20 28 28 64 |ttern (q|uote ((d|
|00002f10| 61 79 20 22 2f 22 20 6d | 6f 6e 74 68 20 22 5b 5e |ay "/" m|onth "[^|
|00002f20| 2f 30 2d 39 5d 22 29 20 | 28 64 61 79 20 22 2f 22 |/0-9]") |(day "/"|
|00002f30| 20 6d 6f 6e 74 68 20 22 | 2f 22 20 79 65 61 72 20 | month "|/" year |
|00002f40| 22 5b 5e 30 2d 39 5d 22 | 29 20 28 62 61 63 6b 75 |"[^0-9]"|) (backu|
|00002f50| 70 20 64 61 79 20 22 20 | 2a 22 20 6d 6f 6e 74 68 |p day " |*" month|
|00002f60| 6e 61 6d 65 20 22 5c 5c | 57 2b 5c 5c 3c 5b 5e 2a |name "\\|W+\\<[^*|
|00002f70| 30 2d 39 5d 22 29 20 28 | 64 61 79 20 22 20 2a 22 |0-9]") (|day " *"|
|00002f80| 20 6d 6f 6e 74 68 6e 61 | 6d 65 20 22 20 2a 22 20 | monthna|me " *" |
|00002f90| 79 65 61 72 20 22 5b 5e | 30 2d 39 5d 22 29 20 28 |year "[^|0-9]") (|
|00002fa0| 64 61 79 6e 61 6d 65 20 | 22 5c 5c 57 22 29 29 29 |dayname |"\\W")))|
|00002fb0| 20 22 5c 0a 2a 4c 69 73 | 74 20 6f 66 20 70 73 65 | "\.*Lis|t of pse|
|00002fc0| 75 64 6f 2d 70 61 74 74 | 65 72 6e 73 20 64 65 73 |udo-patt|erns des|
|00002fd0| 63 72 69 62 69 6e 67 20 | 74 68 65 20 45 75 72 6f |cribing |the Euro|
|00002fe0| 70 65 61 6e 20 70 61 74 | 74 65 72 6e 73 20 6f 66 |pean pat|terns of|
|00002ff0| 20 64 61 74 65 20 75 73 | 65 64 2e 0a 53 65 65 20 | date us|ed..See |
|00003000| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |the docu|mentatio|
|00003010| 6e 20 6f 66 20 60 64 69 | 61 72 79 2d 64 61 74 65 |n of `di|ary-date|
|00003020| 2d 66 6f 72 6d 73 27 20 | 66 6f 72 20 61 6e 20 65 |-forms' |for an e|
|00003030| 78 70 6c 61 6e 61 74 69 | 6f 6e 2e 22 29 0a 28 64 |xplanati|on.").(d|
|00003040| 65 66 76 61 72 20 64 69 | 61 72 79 2d 64 61 74 65 |efvar di|ary-date|
|00003050| 2d 66 6f 72 6d 73 20 28 | 62 79 74 65 2d 63 6f 64 |-forms (|byte-cod|
|00003060| 65 20 22 08 83 06 00 09 | 87 5c 6e 87 22 20 5b 65 |e ".....|.\n." [e|
|00003070| 75 72 6f 70 65 61 6e 2d | 63 61 6c 65 6e 64 61 72 |uropean-|calendar|
|00003080| 2d 73 74 79 6c 65 20 65 | 75 72 6f 70 65 61 6e 2d |-style e|uropean-|
|00003090| 64 61 74 65 2d 64 69 61 | 72 79 2d 70 61 74 74 65 |date-dia|ry-patte|
|000030a0| 72 6e 20 61 6d 65 72 69 | 63 61 6e 2d 64 61 74 65 |rn ameri|can-date|
|000030b0| 2d 64 69 61 72 79 2d 70 | 61 74 74 65 72 6e 5d 20 |-diary-p|attern] |
|000030c0| 31 29 20 22 5c 0a 2a 4c | 69 73 74 20 6f 66 20 70 |1) "\.*L|ist of p|
|000030d0| 73 65 75 64 6f 2d 70 61 | 74 74 65 72 6e 73 20 64 |seudo-pa|tterns d|
|000030e0| 65 73 63 72 69 62 69 6e | 67 20 74 68 65 20 66 6f |escribin|g the fo|
|000030f0| 72 6d 73 20 6f 66 20 64 | 61 74 65 20 75 73 65 64 |rms of d|ate used|
|00003100| 20 69 6e 20 74 68 65 20 | 64 69 61 72 79 2e 0a 54 | in the |diary..T|
|00003110| 68 65 20 70 61 74 74 65 | 72 6e 73 20 6f 6e 20 74 |he patte|rns on t|
|00003120| 68 65 20 6c 69 73 74 20 | 6d 75 73 74 20 62 65 20 |he list |must be |
|00003130| 4d 55 54 55 41 4c 4c 59 | 20 45 58 43 4c 55 53 49 |MUTUALLY| EXCLUSI|
|00003140| 56 45 20 61 6e 64 20 6d | 75 73 74 20 73 68 6f 75 |VE and m|ust shou|
|00003150| 6c 64 20 6e 6f 74 20 6d | 61 74 63 68 0a 61 6e 79 |ld not m|atch.any|
|00003160| 20 70 6f 72 74 69 6f 6e | 20 6f 66 20 74 68 65 20 | portion| of the |
|00003170| 64 69 61 72 79 20 65 6e | 74 72 79 20 69 74 73 65 |diary en|try itse|
|00003180| 6c 66 2c 20 6a 75 73 74 | 20 74 68 65 20 64 61 74 |lf, just| the dat|
|00003190| 65 20 63 6f 6d 70 6f 6e | 65 6e 74 2e 0a 0a 41 20 |e compon|ent...A |
|000031a0| 70 73 65 75 64 6f 2d 70 | 61 74 74 65 72 6e 20 69 |pseudo-p|attern i|
|000031b0| 73 20 61 20 6c 69 73 74 | 20 6f 66 20 72 65 67 75 |s a list| of regu|
|000031c0| 6c 61 72 20 65 78 70 72 | 65 73 73 69 6f 6e 73 20 |lar expr|essions |
|000031d0| 61 6e 64 20 74 68 65 20 | 6b 65 79 77 6f 72 64 73 |and the |keywords|
|000031e0| 20 60 6d 6f 6e 74 68 27 | 2c 0a 60 64 61 79 27 2c | `month'|,.`day',|
|000031f0| 20 60 79 65 61 72 27 2c | 20 60 6d 6f 6e 74 68 6e | `year',| `monthn|
|00003200| 61 6d 65 27 2c 20 61 6e | 64 20 60 64 61 79 6e 61 |ame', an|d `dayna|
|00003210| 6d 65 27 2e 20 20 54 68 | 65 20 6b 65 79 77 6f 72 |me'. Th|e keywor|
|00003220| 64 20 60 6d 6f 6e 74 68 | 6e 61 6d 65 27 20 77 69 |d `month|name' wi|
|00003230| 6c 6c 0a 6d 61 74 63 68 | 20 74 68 65 20 6e 61 6d |ll.match| the nam|
|00003240| 65 20 6f 66 20 74 68 65 | 20 6d 6f 6e 74 68 2c 20 |e of the| month, |
|00003250| 63 61 70 69 74 61 6c 69 | 7a 65 64 20 6f 72 20 6e |capitali|zed or n|
|00003260| 6f 74 2c 20 6f 72 20 69 | 74 73 20 74 68 72 65 65 |ot, or i|ts three|
|00003270| 2d 6c 65 74 74 65 72 0a | 61 62 62 72 65 76 69 61 |-letter.|abbrevia|
|00003280| 74 69 6f 6e 2c 20 66 6f | 6c 6c 6f 77 65 64 20 62 |tion, fo|llowed b|
|00003290| 79 20 61 20 70 65 72 69 | 6f 64 20 6f 72 20 6e 6f |y a peri|od or no|
|000032a0| 74 3b 20 69 74 20 77 69 | 6c 6c 20 61 6c 73 6f 20 |t; it wi|ll also |
|000032b0| 6d 61 74 63 68 20 60 2a | 27 2e 0a 53 69 6d 69 6c |match `*|'..Simil|
|000032c0| 61 72 6c 79 2c 20 60 64 | 61 79 6e 61 6d 65 27 20 |arly, `d|ayname' |
|000032d0| 77 69 6c 6c 20 6d 61 74 | 63 68 20 74 68 65 20 6e |will mat|ch the n|
|000032e0| 61 6d 65 20 6f 66 20 74 | 68 65 20 64 61 79 2c 20 |ame of t|he day, |
|000032f0| 63 61 70 69 74 61 6c 69 | 7a 65 64 20 6f 72 20 6e |capitali|zed or n|
|00003300| 6f 74 2c 20 6f 72 0a 69 | 74 73 20 74 68 72 65 65 |ot, or.i|ts three|
|00003310| 2d 6c 65 74 74 65 72 20 | 61 62 62 72 65 76 69 61 |-letter |abbrevia|
|00003320| 74 69 6f 6e 2c 20 66 6f | 6c 6c 6f 77 65 64 20 62 |tion, fo|llowed b|
|00003330| 79 20 61 20 70 65 72 69 | 6f 64 20 6f 72 20 6e 6f |y a peri|od or no|
|00003340| 74 2e 20 20 54 68 65 20 | 6b 65 79 77 6f 72 64 73 |t. The |keywords|
|00003350| 0a 60 6d 6f 6e 74 68 27 | 2c 20 60 64 61 79 27 2c |.`month'|, `day',|
|00003360| 20 61 6e 64 20 60 79 65 | 61 72 27 20 77 69 6c 6c | and `ye|ar' will|
|00003370| 20 6d 61 74 63 68 20 74 | 68 6f 73 65 20 6e 75 6d | match t|hose num|
|00003380| 65 72 69 63 61 6c 20 76 | 61 6c 75 65 73 2c 20 70 |erical v|alues, p|
|00003390| 72 65 63 65 64 65 64 20 | 62 79 0a 61 72 62 69 74 |receded |by.arbit|
|000033a0| 72 61 72 69 6c 79 20 6d | 61 6e 79 20 7a 65 72 6f |rarily m|any zero|
|000033b0| 73 3b 20 74 68 65 79 20 | 77 69 6c 6c 20 61 6c 73 |s; they |will als|
|000033c0| 6f 20 6d 61 74 63 68 20 | 60 2a 27 2e 0a 0a 54 68 |o match |`*'...Th|
|000033d0| 65 20 6d 61 74 63 68 69 | 6e 67 20 6f 66 20 74 68 |e matchi|ng of th|
|000033e0| 65 20 64 69 61 72 79 20 | 65 6e 74 72 69 65 73 20 |e diary |entries |
|000033f0| 77 69 74 68 20 74 68 65 | 20 64 61 74 65 20 66 6f |with the| date fo|
|00003400| 72 6d 73 20 69 73 20 64 | 6f 6e 65 20 77 69 74 68 |rms is d|one with|
|00003410| 20 74 68 65 0a 73 74 61 | 6e 64 61 72 64 20 73 79 | the.sta|ndard sy|
|00003420| 6e 74 61 78 20 74 61 62 | 6c 65 20 66 72 6f 6d 20 |ntax tab|le from |
|00003430| 46 75 6e 64 61 6d 65 6e | 74 61 6c 20 6d 6f 64 65 |Fundamen|tal mode|
|00003440| 2c 20 62 75 74 20 77 69 | 74 68 20 74 68 65 20 60 |, but wi|th the `|
|00003450| 2a 27 20 63 68 61 6e 67 | 65 64 20 73 6f 0a 74 68 |*' chang|ed so.th|
|00003460| 61 74 20 69 74 20 69 73 | 20 61 20 77 6f 72 64 20 |at it is| a word |
|00003470| 63 6f 6e 73 74 69 74 75 | 65 6e 74 2e 0a 0a 49 66 |constitu|ent...If|
|00003480| 2c 20 74 6f 20 62 65 20 | 6d 75 74 75 61 6c 6c 79 |, to be |mutually|
|00003490| 20 65 78 63 6c 75 73 69 | 76 65 2c 20 61 20 70 73 | exclusi|ve, a ps|
|000034a0| 65 75 64 6f 2d 70 61 74 | 74 65 72 6e 20 6d 75 73 |eudo-pat|tern mus|
|000034b0| 74 20 6d 61 74 63 68 20 | 61 20 70 6f 72 74 69 6f |t match |a portio|
|000034c0| 6e 20 6f 66 20 74 68 65 | 0a 64 69 61 72 79 20 65 |n of the|.diary e|
|000034d0| 6e 74 72 79 20 69 74 73 | 65 6c 66 2c 20 74 68 65 |ntry its|elf, the|
|000034e0| 20 66 69 72 73 74 20 65 | 6c 65 6d 65 6e 74 20 6f | first e|lement o|
|000034f0| 66 20 74 68 65 20 70 61 | 74 74 65 72 6e 20 4d 55 |f the pa|ttern MU|
|00003500| 53 54 20 62 65 20 60 62 | 61 63 6b 75 70 27 2e 20 |ST be `b|ackup'. |
|00003510| 20 54 68 69 73 0a 64 69 | 72 65 63 74 69 76 65 20 | This.di|rective |
|00003520| 63 61 75 73 65 73 20 74 | 68 65 20 64 61 74 65 20 |causes t|he date |
|00003530| 72 65 63 6f 67 6e 69 7a | 65 72 20 74 6f 20 62 61 |recogniz|er to ba|
|00003540| 63 6b 20 75 70 20 74 6f | 20 74 68 65 20 62 65 67 |ck up to| the beg|
|00003550| 69 6e 6e 69 6e 67 20 6f | 66 20 74 68 65 0a 63 75 |inning o|f the.cu|
|00003560| 72 72 65 6e 74 20 77 6f | 72 64 20 6f 66 20 74 68 |rrent wo|rd of th|
|00003570| 65 20 64 69 61 72 79 20 | 65 6e 74 72 79 2c 20 73 |e diary |entry, s|
|00003580| 6f 20 69 6e 20 6e 6f 20 | 63 61 73 65 20 63 61 6e |o in no |case can|
|00003590| 20 74 68 65 20 70 61 74 | 74 65 72 6e 20 6d 61 74 | the pat|tern mat|
|000035a0| 63 68 20 6d 6f 72 65 20 | 74 68 61 6e 0a 61 20 70 |ch more |than.a p|
|000035b0| 6f 72 74 69 6f 6e 20 6f | 66 20 74 68 65 20 66 69 |ortion o|f the fi|
|000035c0| 72 73 74 20 77 6f 72 64 | 20 6f 66 20 74 68 65 20 |rst word| of the |
|000035d0| 64 69 61 72 79 20 65 6e | 74 72 79 2e 22 29 0a 28 |diary en|try.").(|
|000035e0| 64 65 66 76 61 72 20 65 | 75 72 6f 70 65 61 6e 2d |defvar e|uropean-|
|000035f0| 63 61 6c 65 6e 64 61 72 | 2d 64 69 73 70 6c 61 79 |calendar|-display|
|00003600| 2d 66 6f 72 6d 20 28 71 | 75 6f 74 65 20 28 28 69 |-form (q|uote ((i|
|00003610| 66 20 64 61 79 6e 61 6d | 65 20 28 63 6f 6e 63 61 |f daynam|e (conca|
|00003620| 74 20 64 61 79 6e 61 6d | 65 20 22 2c 20 22 29 29 |t daynam|e ", "))|
|00003630| 20 64 61 79 20 22 20 22 | 20 6d 6f 6e 74 68 6e 61 | day " "| monthna|
|00003640| 6d 65 20 22 20 22 20 79 | 65 61 72 29 29 20 22 5c |me " " y|ear)) "\|
|00003650| 0a 2a 50 73 65 75 64 6f | 2d 70 61 74 74 65 72 6e |.*Pseudo|-pattern|
|00003660| 20 67 6f 76 65 72 6e 69 | 6e 67 20 74 68 65 20 77 | governi|ng the w|
|00003670| 61 79 20 61 20 64 61 74 | 65 20 61 70 70 65 61 72 |ay a dat|e appear|
|00003680| 73 20 69 6e 20 74 68 65 | 20 45 75 72 6f 70 65 61 |s in the| Europea|
|00003690| 6e 20 73 74 79 6c 65 2e | 0a 53 65 65 20 74 68 65 |n style.|.See the|
|000036a0| 20 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 20 6f | documen|tation o|
|000036b0| 66 20 63 61 6c 65 6e 64 | 61 72 2d 64 61 74 65 2d |f calend|ar-date-|
|000036c0| 64 69 73 70 6c 61 79 2d | 66 6f 72 6d 20 66 6f 72 |display-|form for|
|000036d0| 20 61 6e 20 65 78 70 6c | 61 6e 61 74 69 6f 6e 2e | an expl|anation.|
|000036e0| 22 29 0a 28 64 65 66 76 | 61 72 20 61 6d 65 72 69 |").(defv|ar ameri|
|000036f0| 63 61 6e 2d 63 61 6c 65 | 6e 64 61 72 2d 64 69 73 |can-cale|ndar-dis|
|00003700| 70 6c 61 79 2d 66 6f 72 | 6d 20 28 71 75 6f 74 65 |play-for|m (quote|
|00003710| 20 28 28 69 66 20 64 61 | 79 6e 61 6d 65 20 28 63 | ((if da|yname (c|
|00003720| 6f 6e 63 61 74 20 64 61 | 79 6e 61 6d 65 20 22 2c |oncat da|yname ",|
|00003730| 20 22 29 29 20 6d 6f 6e | 74 68 6e 61 6d 65 20 22 | ")) mon|thname "|
|00003740| 20 22 20 64 61 79 20 22 | 2c 20 22 20 79 65 61 72 | " day "|, " year|
|00003750| 29 29 20 22 5c 0a 2a 50 | 73 65 75 64 6f 2d 70 61 |)) "\.*P|seudo-pa|
|00003760| 74 74 65 72 6e 20 67 6f | 76 65 72 6e 69 6e 67 20 |ttern go|verning |
|00003770| 74 68 65 20 77 61 79 20 | 61 20 64 61 74 65 20 61 |the way |a date a|
|00003780| 70 70 65 61 72 73 20 69 | 6e 20 74 68 65 20 41 6d |ppears i|n the Am|
|00003790| 65 72 69 63 61 6e 20 73 | 74 79 6c 65 2e 0a 53 65 |erican s|tyle..Se|
|000037a0| 65 20 74 68 65 20 64 6f | 63 75 6d 65 6e 74 61 74 |e the do|cumentat|
|000037b0| 69 6f 6e 20 6f 66 20 60 | 63 61 6c 65 6e 64 61 72 |ion of `|calendar|
|000037c0| 2d 64 61 74 65 2d 64 69 | 73 70 6c 61 79 2d 66 6f |-date-di|splay-fo|
|000037d0| 72 6d 27 20 66 6f 72 20 | 61 6e 20 65 78 70 6c 61 |rm' for |an expla|
|000037e0| 6e 61 74 69 6f 6e 2e 22 | 29 0a 28 64 65 66 76 61 |nation."|).(defva|
|000037f0| 72 20 63 61 6c 65 6e 64 | 61 72 2d 64 61 74 65 2d |r calend|ar-date-|
|00003800| 64 69 73 70 6c 61 79 2d | 66 6f 72 6d 20 28 62 79 |display-|form (by|
|00003810| 74 65 2d 63 6f 64 65 20 | 22 08 83 06 00 09 87 5c |te-code |"......\|
|00003820| 6e 87 22 20 5b 65 75 72 | 6f 70 65 61 6e 2d 63 61 |n." [eur|opean-ca|
|00003830| 6c 65 6e 64 61 72 2d 73 | 74 79 6c 65 20 65 75 72 |lendar-s|tyle eur|
|00003840| 6f 70 65 61 6e 2d 63 61 | 6c 65 6e 64 61 72 2d 64 |opean-ca|lendar-d|
|00003850| 69 73 70 6c 61 79 2d 66 | 6f 72 6d 20 61 6d 65 72 |isplay-f|orm amer|
|00003860| 69 63 61 6e 2d 63 61 6c | 65 6e 64 61 72 2d 64 69 |ican-cal|endar-di|
|00003870| 73 70 6c 61 79 2d 66 6f | 72 6d 5d 20 31 29 20 22 |splay-fo|rm] 1) "|
|00003880| 5c 0a 2a 50 73 65 75 64 | 6f 2d 70 61 74 74 65 72 |\.*Pseud|o-patter|
|00003890| 6e 20 67 6f 76 65 72 6e | 69 6e 67 20 74 68 65 20 |n govern|ing the |
|000038a0| 77 61 79 20 61 20 64 61 | 74 65 20 61 70 70 65 61 |way a da|te appea|
|000038b0| 72 73 2e 0a 0a 55 73 65 | 64 20 62 79 20 74 68 65 |rs...Use|d by the|
|000038c0| 20 66 75 6e 63 74 69 6f | 6e 20 60 63 61 6c 65 6e | functio|n `calen|
|000038d0| 64 61 72 2d 64 61 74 65 | 2d 73 74 72 69 6e 67 27 |dar-date|-string'|
|000038e0| 2c 20 61 20 70 73 65 75 | 64 6f 2d 70 61 74 74 65 |, a pseu|do-patte|
|000038f0| 72 6e 20 69 73 20 61 20 | 6c 69 73 74 20 6f 66 0a |rn is a |list of.|
|00003900| 65 78 70 72 65 73 73 69 | 6f 6e 73 20 74 68 61 74 |expressi|ons that|
|00003910| 20 63 61 6e 20 69 6e 76 | 6f 6c 76 65 20 74 68 65 | can inv|olve the|
|00003920| 20 6b 65 79 77 6f 72 64 | 73 20 60 6d 6f 6e 74 68 | keyword|s `month|
|00003930| 27 2c 20 60 64 61 79 27 | 2c 20 61 6e 64 20 60 79 |', `day'|, and `y|
|00003940| 65 61 72 27 2c 20 61 6c | 6c 0a 6e 75 6d 62 65 72 |ear', al|l.number|
|00003950| 73 20 69 6e 20 73 74 72 | 69 6e 67 20 66 6f 72 6d |s in str|ing form|
|00003960| 2c 20 61 6e 64 20 60 6d | 6f 6e 74 68 6e 61 6d 65 |, and `m|onthname|
|00003970| 27 20 61 6e 64 20 60 64 | 61 79 6e 61 6d 65 27 2c |' and `d|ayname',|
|00003980| 20 62 6f 74 68 20 61 6c | 70 68 61 62 65 74 69 63 | both al|phabetic|
|00003990| 0a 73 74 72 69 6e 67 73 | 2e 20 20 46 6f 72 20 65 |.strings|. For e|
|000039a0| 78 61 6d 70 6c 65 2c 20 | 74 68 65 20 49 53 4f 20 |xample, |the ISO |
|000039b0| 73 74 61 6e 64 61 72 64 | 20 77 6f 75 6c 64 20 75 |standard| would u|
|000039c0| 73 65 20 74 68 65 20 70 | 73 65 75 64 6f 2d 20 70 |se the p|seudo- p|
|000039d0| 61 74 74 65 72 6e 0a 0a | 20 20 20 20 20 20 20 27 |attern..| '|
|000039e0| 28 79 65 61 72 20 5c 22 | 2d 5c 22 20 6d 6f 6e 74 |(year \"|-\" mont|
|000039f0| 68 20 5c 22 2d 5c 22 20 | 64 61 79 29 0a 0a 77 68 |h \"-\" |day)..wh|
|00003a00| 69 6c 65 20 61 20 74 79 | 70 69 63 61 6c 20 41 6d |ile a ty|pical Am|
|00003a10| 65 72 69 63 61 6e 20 66 | 6f 72 6d 20 77 6f 75 6c |erican f|orm woul|
|00003a20| 64 20 62 65 0a 0a 20 20 | 20 20 20 20 20 27 28 6d |d be.. | '(m|
|00003a30| 6f 6e 74 68 20 5c 22 2f | 5c 22 20 64 61 79 20 5c |onth \"/|\" day \|
|00003a40| 22 2f 5c 22 20 28 73 75 | 62 73 74 72 69 6e 67 20 |"/\" (su|bstring |
|00003a50| 79 65 61 72 20 2d 32 29 | 29 0a 0a 61 6e 64 0a 0a |year -2)|)..and..|
|00003a60| 20 20 20 20 20 20 20 27 | 28 28 66 6f 72 6d 61 74 | '|((format|
|00003a70| 20 5c 22 25 39 73 2c 20 | 25 39 73 20 25 32 73 2c | \"%9s, |%9s %2s,|
|00003a80| 20 25 34 73 5c 22 20 64 | 61 79 6e 61 6d 65 20 6d | %4s\" d|ayname m|
|00003a90| 6f 6e 74 68 6e 61 6d 65 | 20 64 61 79 20 79 65 61 |onthname| day yea|
|00003aa0| 72 29 29 0a 0a 77 6f 75 | 6c 64 20 67 69 76 65 20 |r))..wou|ld give |
|00003ab0| 74 68 65 20 75 73 75 61 | 6c 20 41 6d 65 72 69 63 |the usua|l Americ|
|00003ac0| 61 6e 20 73 74 79 6c 65 | 20 69 6e 20 66 69 78 65 |an style| in fixe|
|00003ad0| 64 2d 6c 65 6e 67 74 68 | 20 66 69 65 6c 64 73 2e |d-length| fields.|
|00003ae0| 0a 0a 53 65 65 20 74 68 | 65 20 64 6f 63 75 6d 65 |..See th|e docume|
|00003af0| 6e 74 61 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 66 |ntation |of the f|
|00003b00| 75 6e 63 74 69 6f 6e 20 | 60 63 61 6c 65 6e 64 61 |unction |`calenda|
|00003b10| 72 2d 64 61 74 65 2d 73 | 74 72 69 6e 67 27 2e 22 |r-date-s|tring'."|
|00003b20| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 65 75 72 |).(defal|ias 'eur|
|00003b30| 6f 70 65 61 6e 2d 63 61 | 6c 65 6e 64 61 72 20 23 |opean-ca|lendar #|
|00003b40| 5b 6e 69 6c 20 22 c0 11 | 5c 6e 13 5c 66 15 c6 20 |[nil "..|\n.\f.. |
|00003b50| 87 22 20 5b 74 20 65 75 | 72 6f 70 65 61 6e 2d 63 |." [t eu|ropean-c|
|00003b60| 61 6c 65 6e 64 61 72 2d | 73 74 79 6c 65 20 65 75 |alendar-|style eu|
|00003b70| 72 6f 70 65 61 6e 2d 63 | 61 6c 65 6e 64 61 72 2d |ropean-c|alendar-|
|00003b80| 64 69 73 70 6c 61 79 2d | 66 6f 72 6d 20 63 61 6c |display-|form cal|
|00003b90| 65 6e 64 61 72 2d 64 61 | 74 65 2d 64 69 73 70 6c |endar-da|te-displ|
|00003ba0| 61 79 2d 66 6f 72 6d 20 | 65 75 72 6f 70 65 61 6e |ay-form |european|
|00003bb0| 2d 64 61 74 65 2d 64 69 | 61 72 79 2d 70 61 74 74 |-date-di|ary-patt|
|00003bc0| 65 72 6e 20 64 69 61 72 | 79 2d 64 61 74 65 2d 66 |ern diar|y-date-f|
|00003bd0| 6f 72 6d 73 20 75 70 64 | 61 74 65 2d 63 61 6c 65 |orms upd|ate-cale|
|00003be0| 6e 64 61 72 2d 6d 6f 64 | 65 2d 6c 69 6e 65 5d 20 |ndar-mod|e-line] |
|00003bf0| 31 20 22 5c 0a 53 65 74 | 20 74 68 65 20 69 6e 74 |1 "\.Set| the int|
|00003c00| 65 72 70 72 65 74 61 74 | 69 6f 6e 20 61 6e 64 20 |erpretat|ion and |
|00003c10| 64 69 73 70 6c 61 79 20 | 6f 66 20 64 61 74 65 73 |display |of dates|
|00003c20| 20 74 6f 20 74 68 65 20 | 45 75 72 6f 70 65 61 6e | to the |European|
|00003c30| 20 73 74 79 6c 65 2e 22 | 20 6e 69 6c 5d 29 0a 28 | style."| nil]).(|
|00003c40| 64 65 66 61 6c 69 61 73 | 20 27 61 6d 65 72 69 63 |defalias| 'americ|
|00003c50| 61 6e 2d 63 61 6c 65 6e | 64 61 72 20 23 5b 6e 69 |an-calen|dar #[ni|
|00003c60| 6c 20 22 c0 11 5c 6e 13 | 5c 66 15 c6 20 87 22 20 |l "..\n.|\f.. ." |
|00003c70| 5b 6e 69 6c 20 65 75 72 | 6f 70 65 61 6e 2d 63 61 |[nil eur|opean-ca|
|00003c80| 6c 65 6e 64 61 72 2d 73 | 74 79 6c 65 20 61 6d 65 |lendar-s|tyle ame|
|00003c90| 72 69 63 61 6e 2d 63 61 | 6c 65 6e 64 61 72 2d 64 |rican-ca|lendar-d|
|00003ca0| 69 73 70 6c 61 79 2d 66 | 6f 72 6d 20 63 61 6c 65 |isplay-f|orm cale|
|00003cb0| 6e 64 61 72 2d 64 61 74 | 65 2d 64 69 73 70 6c 61 |ndar-dat|e-displa|
|00003cc0| 79 2d 66 6f 72 6d 20 61 | 6d 65 72 69 63 61 6e 2d |y-form a|merican-|
|00003cd0| 64 61 74 65 2d 64 69 61 | 72 79 2d 70 61 74 74 65 |date-dia|ry-patte|
|00003ce0| 72 6e 20 64 69 61 72 79 | 2d 64 61 74 65 2d 66 6f |rn diary|-date-fo|
|00003cf0| 72 6d 73 20 75 70 64 61 | 74 65 2d 63 61 6c 65 6e |rms upda|te-calen|
|00003d00| 64 61 72 2d 6d 6f 64 65 | 2d 6c 69 6e 65 5d 20 31 |dar-mode|-line] 1|
|00003d10| 20 22 5c 0a 53 65 74 20 | 74 68 65 20 69 6e 74 65 | "\.Set |the inte|
|00003d20| 72 70 72 65 74 61 74 69 | 6f 6e 20 61 6e 64 20 64 |rpretati|on and d|
|00003d30| 69 73 70 6c 61 79 20 6f | 66 20 64 61 74 65 73 20 |isplay o|f dates |
|00003d40| 74 6f 20 74 68 65 20 41 | 6d 65 72 69 63 61 6e 20 |to the A|merican |
|00003d50| 73 74 79 6c 65 2e 22 20 | 6e 69 6c 5d 29 0a 28 64 |style." |nil]).(d|
|00003d60| 65 66 76 61 72 20 70 72 | 69 6e 74 2d 64 69 61 72 |efvar pr|int-diar|
|00003d70| 79 2d 65 6e 74 72 69 65 | 73 2d 68 6f 6f 6b 20 28 |y-entrie|s-hook (|
|00003d80| 71 75 6f 74 65 20 6c 70 | 72 2d 62 75 66 66 65 72 |quote lp|r-buffer|
|00003d90| 29 20 22 5c 0a 2a 4c 69 | 73 74 20 6f 66 20 66 75 |) "\.*Li|st of fu|
|00003da0| 6e 63 74 69 6f 6e 73 20 | 63 61 6c 6c 65 64 20 61 |nctions |called a|
|00003db0| 66 74 65 72 20 61 20 74 | 65 6d 70 6f 72 61 72 79 |fter a t|emporary|
|00003dc0| 20 64 69 61 72 79 20 62 | 75 66 66 65 72 20 69 73 | diary b|uffer is|
|00003dd0| 20 70 72 65 70 61 72 65 | 64 2e 0a 54 68 65 20 62 | prepare|d..The b|
|00003de0| 75 66 66 65 72 20 73 68 | 6f 77 73 20 6f 6e 6c 79 |uffer sh|ows only|
|00003df0| 20 74 68 65 20 64 69 61 | 72 79 20 65 6e 74 72 69 | the dia|ry entri|
|00003e00| 65 73 20 63 75 72 72 65 | 6e 74 6c 79 20 76 69 73 |es curre|ntly vis|
|00003e10| 69 62 6c 65 20 69 6e 20 | 74 68 65 20 64 69 61 72 |ible in |the diar|
|00003e20| 79 0a 62 75 66 66 65 72 | 2e 20 20 54 68 65 20 64 |y.buffer|. The d|
|00003e30| 65 66 61 75 6c 74 20 6a | 75 73 74 20 64 6f 65 73 |efault j|ust does|
|00003e40| 20 74 68 65 20 70 72 69 | 6e 74 69 6e 67 2e 20 20 | the pri|nting. |
|00003e50| 4f 74 68 65 72 20 75 73 | 65 73 20 6d 69 67 68 74 |Other us|es might|
|00003e60| 20 69 6e 63 6c 75 64 65 | 2c 20 66 6f 72 0a 65 78 | include|, for.ex|
|00003e70| 61 6d 70 6c 65 2c 20 72 | 65 61 72 72 61 6e 67 69 |ample, r|earrangi|
|00003e80| 6e 67 20 74 68 65 20 6c | 69 6e 65 73 20 69 6e 74 |ng the l|ines int|
|00003e90| 6f 20 6f 72 64 65 72 20 | 62 79 20 64 61 79 20 61 |o order |by day a|
|00003ea0| 6e 64 20 74 69 6d 65 2c | 20 73 61 76 69 6e 67 20 |nd time,| saving |
|00003eb0| 74 68 65 20 62 75 66 66 | 65 72 0a 69 6e 73 74 65 |the buff|er.inste|
|00003ec0| 61 64 20 6f 66 20 64 65 | 6c 65 74 69 6e 67 20 69 |ad of de|leting i|
|00003ed0| 74 2c 20 6f 72 20 63 68 | 61 6e 67 69 6e 67 20 74 |t, or ch|anging t|
|00003ee0| 68 65 20 66 75 6e 63 74 | 69 6f 6e 20 75 73 65 64 |he funct|ion used|
|00003ef0| 20 74 6f 20 64 6f 20 74 | 68 65 20 70 72 69 6e 74 | to do t|he print|
|00003f00| 69 6e 67 2e 22 29 0a 28 | 64 65 66 76 61 72 20 6c |ing.").(|defvar l|
|00003f10| 69 73 74 2d 64 69 61 72 | 79 2d 65 6e 74 72 69 65 |ist-diar|y-entrie|
|00003f20| 73 2d 68 6f 6f 6b 20 6e | 69 6c 20 22 5c 0a 2a 4c |s-hook n|il "\.*L|
|00003f30| 69 73 74 20 6f 66 20 66 | 75 6e 63 74 69 6f 6e 73 |ist of f|unctions|
|00003f40| 20 63 61 6c 6c 65 64 20 | 61 66 74 65 72 20 64 69 | called |after di|
|00003f50| 61 72 79 20 66 69 6c 65 | 20 69 73 20 63 75 6c 6c |ary file| is cull|
|00003f60| 65 64 20 66 6f 72 20 72 | 65 6c 65 76 61 6e 74 20 |ed for r|elevant |
|00003f70| 65 6e 74 72 69 65 73 2e | 0a 49 74 20 69 73 20 74 |entries.|.It is t|
|00003f80| 6f 20 62 65 20 75 73 65 | 64 20 66 6f 72 20 64 69 |o be use|d for di|
|00003f90| 61 72 79 20 65 6e 74 72 | 69 65 73 20 74 68 61 74 |ary entr|ies that|
|00003fa0| 20 61 72 65 20 6e 6f 74 | 20 66 6f 75 6e 64 20 69 | are not| found i|
|00003fb0| 6e 20 74 68 65 20 64 69 | 61 72 79 20 66 69 6c 65 |n the di|ary file|
|00003fc0| 2e 0a 0a 41 20 66 75 6e | 63 74 69 6f 6e 20 60 69 |...A fun|ction `i|
|00003fd0| 6e 63 6c 75 64 65 2d 6f | 74 68 65 72 2d 64 69 61 |nclude-o|ther-dia|
|00003fe0| 72 79 2d 66 69 6c 65 73 | 27 20 69 73 20 70 72 6f |ry-files|' is pro|
|00003ff0| 76 69 64 65 64 20 66 6f | 72 20 75 73 65 20 61 73 |vided fo|r use as|
|00004000| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 0a 74 68 | the val|ue of.th|
|00004010| 69 73 20 68 6f 6f 6b 2e | 20 20 54 68 69 73 20 66 |is hook.| This f|
|00004020| 75 6e 63 74 69 6f 6e 20 | 65 6e 61 62 6c 65 73 20 |unction |enables |
|00004030| 79 6f 75 20 74 6f 20 75 | 73 65 20 73 68 61 72 65 |you to u|se share|
|00004040| 64 20 64 69 61 72 79 20 | 66 69 6c 65 73 20 74 6f |d diary |files to|
|00004050| 67 65 74 68 65 72 0a 77 | 69 74 68 20 79 6f 75 72 |gether.w|ith your|
|00004060| 20 6f 77 6e 2e 20 20 54 | 68 65 20 66 69 6c 65 73 | own. T|he files|
|00004070| 20 69 6e 63 6c 75 64 65 | 64 20 61 72 65 20 73 70 | include|d are sp|
|00004080| 65 63 69 66 69 65 64 20 | 69 6e 20 74 68 65 20 64 |ecified |in the d|
|00004090| 69 61 72 79 20 66 69 6c | 65 20 62 79 20 6c 69 6e |iary fil|e by lin|
|000040a0| 65 73 0a 6f 66 20 74 68 | 65 20 66 6f 72 6d 0a 0a |es.of th|e form..|
|000040b0| 20 20 20 20 20 20 20 20 | 23 69 6e 63 6c 75 64 65 | |#include|
|000040c0| 20 5c 22 66 69 6c 65 6e | 61 6d 65 5c 22 0a 0a 54 | \"filen|ame\"..T|
|000040d0| 68 69 73 20 69 73 20 72 | 65 63 75 72 73 69 76 65 |his is r|ecursive|
|000040e0| 3b 20 74 68 61 74 20 69 | 73 2c 20 23 69 6e 63 6c |; that i|s, #incl|
|000040f0| 75 64 65 20 64 69 72 65 | 63 74 69 76 65 73 20 69 |ude dire|ctives i|
|00004100| 6e 20 66 69 6c 65 73 20 | 74 68 75 73 20 69 6e 63 |n files |thus inc|
|00004110| 6c 75 64 65 64 20 61 72 | 65 0a 6f 62 65 79 65 64 |luded ar|e.obeyed|
|00004120| 2e 20 20 59 6f 75 20 63 | 61 6e 20 63 68 61 6e 67 |. You c|an chang|
|00004130| 65 20 74 68 65 20 5c 22 | 23 69 6e 63 6c 75 64 65 |e the \"|#include|
|00004140| 5c 22 20 74 6f 20 73 6f | 6d 65 20 6f 74 68 65 72 |\" to so|me other|
|00004150| 20 73 74 72 69 6e 67 20 | 62 79 20 63 68 61 6e 67 | string |by chang|
|00004160| 69 6e 67 0a 74 68 65 20 | 76 61 72 69 61 62 6c 65 |ing.the |variable|
|00004170| 20 60 64 69 61 72 79 2d | 69 6e 63 6c 75 64 65 2d | `diary-|include-|
|00004180| 73 74 72 69 6e 67 27 2e | 20 20 57 68 65 6e 20 79 |string'.| When y|
|00004190| 6f 75 20 75 73 65 20 60 | 69 6e 63 6c 75 64 65 2d |ou use `|include-|
|000041a0| 6f 74 68 65 72 2d 64 69 | 61 72 79 2d 66 69 6c 65 |other-di|ary-file|
|000041b0| 73 27 0a 61 73 20 70 61 | 72 74 20 6f 66 20 74 68 |s'.as pa|rt of th|
|000041c0| 65 20 6c 69 73 74 2d 64 | 69 61 72 79 2d 65 6e 74 |e list-d|iary-ent|
|000041d0| 72 69 65 73 2d 68 6f 6f | 6b 2c 20 79 6f 75 20 77 |ries-hoo|k, you w|
|000041e0| 69 6c 6c 20 70 72 6f 62 | 61 62 6c 79 20 61 6c 73 |ill prob|ably als|
|000041f0| 6f 20 77 61 6e 74 20 74 | 6f 20 75 73 65 20 74 68 |o want t|o use th|
|00004200| 65 0a 66 75 6e 63 74 69 | 6f 6e 20 60 6d 61 72 6b |e.functi|on `mark|
|00004210| 2d 69 6e 63 6c 75 64 65 | 64 2d 64 69 61 72 79 2d |-include|d-diary-|
|00004220| 66 69 6c 65 73 27 20 61 | 73 20 70 61 72 74 20 6f |files' a|s part o|
|00004230| 66 20 60 6d 61 72 6b 2d | 64 69 61 72 79 2d 65 6e |f `mark-|diary-en|
|00004240| 74 72 69 65 73 2d 68 6f | 6f 6b 27 2e 0a 0a 46 6f |tries-ho|ok'...Fo|
|00004250| 72 20 65 78 61 6d 70 6c | 65 2c 20 79 6f 75 20 63 |r exampl|e, you c|
|00004260| 6f 75 6c 64 20 75 73 65 | 0a 0a 20 20 20 20 20 28 |ould use|.. (|
|00004270| 73 65 74 71 20 6c 69 73 | 74 2d 64 69 61 72 79 2d |setq lis|t-diary-|
|00004280| 65 6e 74 72 69 65 73 2d | 68 6f 6f 6b 0a 20 20 20 |entries-|hook. |
|00004290| 20 20 20 20 27 28 69 6e | 63 6c 75 64 65 2d 6f 74 | '(in|clude-ot|
|000042a0| 68 65 72 2d 64 69 61 72 | 79 2d 66 69 6c 65 73 20 |her-diar|y-files |
|000042b0| 73 6f 72 74 2d 64 69 61 | 72 79 2d 65 6e 74 72 69 |sort-dia|ry-entri|
|000042c0| 65 73 29 29 0a 20 20 20 | 20 20 28 73 65 74 71 20 |es)). | (setq |
|000042d0| 64 69 61 72 79 2d 64 69 | 73 70 6c 61 79 2d 68 6f |diary-di|splay-ho|
|000042e0| 6f 6b 20 27 66 61 6e 63 | 79 2d 64 69 61 72 79 2d |ok 'fanc|y-diary-|
|000042f0| 64 69 73 70 6c 61 79 29 | 0a 0a 69 6e 20 79 6f 75 |display)|..in you|
|00004300| 72 20 60 2e 65 6d 61 63 | 73 27 20 66 69 6c 65 20 |r `.emac|s' file |
|00004310| 74 6f 20 63 61 75 73 65 | 20 74 68 65 20 66 61 6e |to cause| the fan|
|00004320| 63 79 20 64 69 61 72 79 | 20 62 75 66 66 65 72 20 |cy diary| buffer |
|00004330| 74 6f 20 62 65 20 64 69 | 73 70 6c 61 79 65 64 20 |to be di|splayed |
|00004340| 77 69 74 68 0a 64 69 61 | 72 79 20 65 6e 74 72 69 |with.dia|ry entri|
|00004350| 65 73 20 66 72 6f 6d 20 | 76 61 72 69 6f 75 73 20 |es from |various |
|00004360| 69 6e 63 6c 75 64 65 64 | 20 66 69 6c 65 73 2c 20 |included| files, |
|00004370| 65 61 63 68 20 64 61 79 | 27 73 20 65 6e 74 72 69 |each day|'s entri|
|00004380| 65 73 20 73 6f 72 74 65 | 64 20 69 6e 74 6f 0a 6c |es sorte|d into.l|
|00004390| 65 78 69 63 6f 67 72 61 | 70 68 69 63 20 6f 72 64 |exicogra|phic ord|
|000043a0| 65 72 2e 22 29 0a 28 64 | 65 66 76 61 72 20 64 69 |er.").(d|efvar di|
|000043b0| 61 72 79 2d 68 6f 6f 6b | 20 6e 69 6c 20 22 5c 0a |ary-hook| nil "\.|
|000043c0| 2a 4c 69 73 74 20 6f 66 | 20 66 75 6e 63 74 69 6f |*List of| functio|
|000043d0| 6e 73 20 63 61 6c 6c 65 | 64 20 61 66 74 65 72 20 |ns calle|d after |
|000043e0| 74 68 65 20 64 69 73 70 | 6c 61 79 20 6f 66 20 74 |the disp|lay of t|
|000043f0| 68 65 20 64 69 61 72 79 | 2e 0a 43 61 6e 20 62 65 |he diary|..Can be|
|00004400| 20 75 73 65 64 20 66 6f | 72 20 61 70 70 6f 69 6e | used fo|r appoin|
|00004410| 74 6d 65 6e 74 20 6e 6f | 74 69 66 69 63 61 74 69 |tment no|tificati|
|00004420| 6f 6e 2e 22 29 0a 28 64 | 65 66 76 61 72 20 64 69 |on.").(d|efvar di|
|00004430| 61 72 79 2d 64 69 73 70 | 6c 61 79 2d 68 6f 6f 6b |ary-disp|lay-hook|
|00004440| 20 6e 69 6c 20 22 5c 0a | 2a 4c 69 73 74 20 6f 66 | nil "\.|*List of|
|00004450| 20 66 75 6e 63 74 69 6f | 6e 73 20 74 68 61 74 20 | functio|ns that |
|00004460| 68 61 6e 64 6c 65 20 74 | 68 65 20 64 69 73 70 6c |handle t|he displ|
|00004470| 61 79 20 6f 66 20 74 68 | 65 20 64 69 61 72 79 2e |ay of th|e diary.|
|00004480| 0a 49 66 20 6e 69 6c 20 | 28 74 68 65 20 64 65 66 |.If nil |(the def|
|00004490| 61 75 6c 74 29 2c 20 60 | 73 69 6d 70 6c 65 2d 64 |ault), `|simple-d|
|000044a0| 69 61 72 79 2d 64 69 73 | 70 6c 61 79 27 20 69 73 |iary-dis|play' is|
|000044b0| 20 75 73 65 64 2e 20 20 | 55 73 65 20 60 69 67 6e | used. |Use `ign|
|000044c0| 6f 72 65 27 20 66 6f 72 | 20 6e 6f 0a 64 69 61 72 |ore' for| no.diar|
|000044d0| 79 20 64 69 73 70 6c 61 | 79 2e 0a 0a 4f 72 64 69 |y displa|y...Ordi|
|000044e0| 6e 61 72 69 6c 79 2c 20 | 74 68 69 73 20 6a 75 73 |narily, |this jus|
|000044f0| 74 20 64 69 73 70 6c 61 | 79 73 20 74 68 65 20 64 |t displa|ys the d|
|00004500| 69 61 72 79 20 62 75 66 | 66 65 72 20 28 77 69 74 |iary buf|fer (wit|
|00004510| 68 20 68 6f 6c 69 64 61 | 79 73 20 69 6e 64 69 63 |h holida|ys indic|
|00004520| 61 74 65 64 20 69 6e 0a | 74 68 65 20 6d 6f 64 65 |ated in.|the mode|
|00004530| 20 6c 69 6e 65 29 2c 20 | 69 66 20 74 68 65 72 65 | line), |if there|
|00004540| 20 61 72 65 20 61 6e 79 | 20 72 65 6c 65 76 61 6e | are any| relevan|
|00004550| 74 20 65 6e 74 72 69 65 | 73 2e 20 20 41 74 20 74 |t entrie|s. At t|
|00004560| 68 65 20 74 69 6d 65 20 | 74 68 65 73 65 0a 66 75 |he time |these.fu|
|00004570| 6e 63 74 69 6f 6e 73 20 | 61 72 65 20 63 61 6c 6c |nctions |are call|
|00004580| 65 64 2c 20 74 68 65 20 | 76 61 72 69 61 62 6c 65 |ed, the |variable|
|00004590| 20 60 64 69 61 72 79 2d | 65 6e 74 72 69 65 73 2d | `diary-|entries-|
|000045a0| 6c 69 73 74 27 20 69 73 | 20 61 20 6c 69 73 74 2c |list' is| a list,|
|000045b0| 20 69 6e 20 6f 72 64 65 | 72 0a 62 79 20 64 61 74 | in orde|r.by dat|
|000045c0| 65 2c 20 6f 66 20 61 6c | 6c 20 72 65 6c 65 76 61 |e, of al|l releva|
|000045d0| 6e 74 20 64 69 61 72 79 | 20 65 6e 74 72 69 65 73 |nt diary| entries|
|000045e0| 20 69 6e 20 74 68 65 20 | 66 6f 72 6d 20 6f 66 20 | in the |form of |
|000045f0| 28 28 4d 4f 4e 54 48 20 | 44 41 59 20 59 45 41 52 |((MONTH |DAY YEAR|
|00004600| 29 0a 53 54 52 49 4e 47 | 29 2c 20 77 68 65 72 65 |).STRING|), where|
|00004610| 20 73 74 72 69 6e 67 20 | 69 73 20 74 68 65 20 64 | string |is the d|
|00004620| 69 61 72 79 20 65 6e 74 | 72 79 20 66 6f 72 20 74 |iary ent|ry for t|
|00004630| 68 65 20 67 69 76 65 6e | 20 64 61 74 65 2e 20 20 |he given| date. |
|00004640| 54 68 69 73 20 63 61 6e | 20 62 65 0a 75 73 65 64 |This can| be.used|
|00004650| 2c 20 66 6f 72 20 65 78 | 61 6d 70 6c 65 2c 20 61 |, for ex|ample, a|
|00004660| 20 64 69 66 66 65 72 65 | 6e 74 20 62 75 66 66 65 | differe|nt buffe|
|00004670| 72 20 66 6f 72 20 64 69 | 73 70 6c 61 79 20 28 70 |r for di|splay (p|
|00004680| 65 72 68 61 70 73 20 63 | 6f 6d 62 69 6e 65 64 20 |erhaps c|ombined |
|00004690| 77 69 74 68 0a 68 6f 6c | 69 64 61 79 73 29 2c 20 |with.hol|idays), |
|000046a0| 6f 72 20 70 72 6f 64 75 | 63 65 20 68 61 72 64 20 |or produ|ce hard |
|000046b0| 63 6f 70 79 20 6f 75 74 | 70 75 74 2e 0a 0a 41 20 |copy out|put...A |
|000046c0| 66 75 6e 63 74 69 6f 6e | 20 60 66 61 6e 63 79 2d |function| `fancy-|
|000046d0| 64 69 61 72 79 2d 64 69 | 73 70 6c 61 79 27 20 69 |diary-di|splay' i|
|000046e0| 73 20 70 72 6f 76 69 64 | 65 64 20 61 73 20 61 6e |s provid|ed as an|
|000046f0| 20 61 6c 74 65 72 6e 61 | 74 69 76 65 0a 63 68 6f | alterna|tive.cho|
|00004700| 69 63 65 20 66 6f 72 20 | 74 68 69 73 20 68 6f 6f |ice for |this hoo|
|00004710| 6b 3b 20 74 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |k; this |function|
|00004720| 20 70 72 65 70 61 72 65 | 73 20 61 20 73 70 65 63 | prepare|s a spec|
|00004730| 69 61 6c 20 6e 6f 6e 65 | 64 69 74 61 62 6c 65 20 |ial none|ditable |
|00004740| 64 69 61 72 79 0a 62 75 | 66 66 65 72 20 77 69 74 |diary.bu|ffer wit|
|00004750| 68 20 74 68 65 20 72 65 | 6c 65 76 61 6e 74 20 64 |h the re|levant d|
|00004760| 69 61 72 79 20 65 6e 74 | 72 69 65 73 20 74 68 61 |iary ent|ries tha|
|00004770| 74 20 68 61 73 20 6e 65 | 61 74 20 64 61 79 2d 62 |t has ne|at day-b|
|00004780| 79 2d 64 61 79 20 61 72 | 72 61 6e 67 65 6d 65 6e |y-day ar|rangemen|
|00004790| 74 0a 77 69 74 68 20 68 | 65 61 64 69 6e 67 73 2e |t.with h|eadings.|
|000047a0| 20 20 54 68 65 20 66 61 | 6e 63 79 20 64 69 61 72 | The fa|ncy diar|
|000047b0| 79 20 62 75 66 66 65 72 | 20 77 69 6c 6c 20 73 68 |y buffer| will sh|
|000047c0| 6f 77 20 74 68 65 20 68 | 6f 6c 69 64 61 79 73 20 |ow the h|olidays |
|000047d0| 75 6e 6c 65 73 73 20 74 | 68 65 0a 76 61 72 69 61 |unless t|he.varia|
|000047e0| 62 6c 65 20 60 68 6f 6c | 69 64 61 79 73 2d 69 6e |ble `hol|idays-in|
|000047f0| 2d 64 69 61 72 79 2d 62 | 75 66 66 65 72 27 20 69 |-diary-b|uffer' i|
|00004800| 73 20 73 65 74 20 74 6f | 20 6e 69 6c 2e 20 20 4f |s set to| nil. O|
|00004810| 72 64 69 6e 61 72 69 6c | 79 2c 20 74 68 65 20 66 |rdinaril|y, the f|
|00004820| 61 6e 63 79 0a 64 69 61 | 72 79 20 62 75 66 66 65 |ancy.dia|ry buffe|
|00004830| 72 20 77 69 6c 6c 20 6e | 6f 74 20 73 68 6f 77 20 |r will n|ot show |
|00004840| 64 61 79 73 20 66 6f 72 | 20 77 68 69 63 68 20 74 |days for| which t|
|00004850| 68 65 72 65 20 61 72 65 | 20 6e 6f 20 64 69 61 72 |here are| no diar|
|00004860| 79 20 65 6e 74 72 69 65 | 73 2c 20 65 76 65 6e 0a |y entrie|s, even.|
|00004870| 69 66 20 74 68 61 74 20 | 64 61 79 20 69 73 20 61 |if that |day is a|
|00004880| 20 68 6f 6c 69 64 61 79 | 3b 20 69 66 20 79 6f 75 | holiday|; if you|
|00004890| 20 77 61 6e 74 20 73 75 | 63 68 20 64 61 79 73 20 | want su|ch days |
|000048a0| 74 6f 20 62 65 20 73 68 | 6f 77 6e 20 69 6e 20 74 |to be sh|own in t|
|000048b0| 68 65 20 66 61 6e 63 79 | 0a 64 69 61 72 79 20 62 |he fancy|.diary b|
|000048c0| 75 66 66 65 72 2c 20 73 | 65 74 20 74 68 65 20 76 |uffer, s|et the v|
|000048d0| 61 72 69 61 62 6c 65 20 | 60 64 69 61 72 79 2d 6c |ariable |`diary-l|
|000048e0| 69 73 74 2d 69 6e 63 6c | 75 64 65 2d 62 6c 61 6e |ist-incl|ude-blan|
|000048f0| 6b 73 27 20 74 6f 20 74 | 2e 22 29 0a 28 64 65 66 |ks' to t|.").(def|
|00004900| 76 61 72 20 6e 6f 6e 67 | 72 65 67 6f 72 69 61 6e |var nong|regorian|
|00004910| 2d 64 69 61 72 79 2d 6c | 69 73 74 69 6e 67 2d 68 |-diary-l|isting-h|
|00004920| 6f 6f 6b 20 6e 69 6c 20 | 22 5c 0a 2a 4c 69 73 74 |ook nil |"\.*List|
|00004930| 20 6f 66 20 66 75 6e 63 | 74 69 6f 6e 73 20 63 61 | of func|tions ca|
|00004940| 6c 6c 65 64 20 66 6f 72 | 20 6c 69 73 74 69 6e 67 |lled for| listing|
|00004950| 20 64 69 61 72 79 20 66 | 69 6c 65 20 61 6e 64 20 | diary f|ile and |
|00004960| 69 6e 63 6c 75 64 65 64 | 20 66 69 6c 65 73 2e 0a |included| files..|
|00004970| 41 73 20 74 68 65 20 66 | 69 6c 65 73 20 61 72 65 |As the f|iles are|
|00004980| 20 70 72 6f 63 65 73 73 | 65 64 20 66 6f 72 20 64 | process|ed for d|
|00004990| 69 61 72 79 20 65 6e 74 | 72 69 65 73 2c 20 74 68 |iary ent|ries, th|
|000049a0| 65 73 65 20 66 75 6e 63 | 74 69 6f 6e 73 20 61 72 |ese func|tions ar|
|000049b0| 65 20 75 73 65 64 20 74 | 6f 20 63 75 6c 6c 0a 72 |e used t|o cull.r|
|000049c0| 65 6c 65 76 61 6e 74 20 | 65 6e 74 72 69 65 73 2e |elevant |entries.|
|000049d0| 20 20 59 6f 75 20 63 61 | 6e 20 75 73 65 20 65 69 | You ca|n use ei|
|000049e0| 74 68 65 72 20 6f 72 20 | 62 6f 74 68 20 6f 66 20 |ther or |both of |
|000049f0| 60 6c 69 73 74 2d 68 65 | 62 72 65 77 2d 64 69 61 |`list-he|brew-dia|
|00004a00| 72 79 2d 65 6e 74 72 69 | 65 73 27 0a 61 6e 64 20 |ry-entri|es'.and |
|00004a10| 60 6c 69 73 74 2d 69 73 | 6c 61 6d 69 63 2d 64 69 |`list-is|lamic-di|
|00004a20| 61 72 79 2d 65 6e 74 72 | 69 65 73 27 2e 20 20 54 |ary-entr|ies'. T|
|00004a30| 68 65 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |he docum|entation|
|00004a40| 20 66 6f 72 20 74 68 65 | 73 65 20 66 75 6e 63 74 | for the|se funct|
|00004a50| 69 6f 6e 73 0a 64 65 73 | 63 72 69 62 65 73 20 74 |ions.des|cribes t|
|00004a60| 68 65 20 73 74 79 6c 65 | 20 6f 66 20 73 75 63 68 |he style| of such|
|00004a70| 20 64 69 61 72 79 20 65 | 6e 74 72 69 65 73 2e 22 | diary e|ntries."|
|00004a80| 29 0a 28 64 65 66 76 61 | 72 20 6d 61 72 6b 2d 64 |).(defva|r mark-d|
|00004a90| 69 61 72 79 2d 65 6e 74 | 72 69 65 73 2d 68 6f 6f |iary-ent|ries-hoo|
|00004aa0| 6b 20 6e 69 6c 20 22 5c | 0a 2a 4c 69 73 74 20 6f |k nil "\|.*List o|
|00004ab0| 66 20 66 75 6e 63 74 69 | 6f 6e 73 20 63 61 6c 6c |f functi|ons call|
|00004ac0| 65 64 20 61 66 74 65 72 | 20 6d 61 72 6b 69 6e 67 |ed after| marking|
|00004ad0| 20 64 69 61 72 79 20 65 | 6e 74 72 69 65 73 20 69 | diary e|ntries i|
|00004ae0| 6e 20 74 68 65 20 63 61 | 6c 65 6e 64 61 72 2e 0a |n the ca|lendar..|
|00004af0| 0a 41 20 66 75 6e 63 74 | 69 6f 6e 20 60 6d 61 72 |.A funct|ion `mar|
|00004b00| 6b 2d 69 6e 63 6c 75 64 | 65 64 2d 64 69 61 72 79 |k-includ|ed-diary|
|00004b10| 2d 66 69 6c 65 73 27 20 | 69 73 20 61 6c 73 6f 20 |-files' |is also |
|00004b20| 70 72 6f 76 69 64 65 64 | 20 66 6f 72 20 75 73 65 |provided| for use|
|00004b30| 20 61 73 20 74 68 65 0a | 6d 61 72 6b 2d 64 69 61 | as the.|mark-dia|
|00004b40| 72 79 2d 65 6e 74 72 69 | 65 73 2d 68 6f 6f 6b 3b |ry-entri|es-hook;|
|00004b50| 20 69 74 20 65 6e 61 62 | 6c 65 73 20 79 6f 75 20 | it enab|les you |
|00004b60| 74 6f 20 75 73 65 20 73 | 68 61 72 65 64 20 64 69 |to use s|hared di|
|00004b70| 61 72 79 20 66 69 6c 65 | 73 20 74 6f 67 65 74 68 |ary file|s togeth|
|00004b80| 65 72 0a 77 69 74 68 20 | 79 6f 75 72 20 6f 77 6e |er.with |your own|
|00004b90| 2e 20 20 54 68 65 20 66 | 69 6c 65 73 20 69 6e 63 |. The f|iles inc|
|00004ba0| 6c 75 64 65 64 20 61 72 | 65 20 73 70 65 63 69 66 |luded ar|e specif|
|00004bb0| 69 65 64 20 69 6e 20 74 | 68 65 20 64 69 61 72 79 |ied in t|he diary|
|00004bc0| 20 66 69 6c 65 20 62 79 | 20 6c 69 6e 65 73 0a 6f | file by| lines.o|
|00004bd0| 66 20 74 68 65 20 66 6f | 72 6d 0a 20 20 20 20 20 |f the fo|rm. |
|00004be0| 20 20 20 23 69 6e 63 6c | 75 64 65 20 5c 22 66 69 | #incl|ude \"fi|
|00004bf0| 6c 65 6e 61 6d 65 5c 22 | 0a 54 68 69 73 20 69 73 |lename\"|.This is|
|00004c00| 20 72 65 63 75 72 73 69 | 76 65 3b 20 74 68 61 74 | recursi|ve; that|
|00004c10| 20 69 73 2c 20 23 69 6e | 63 6c 75 64 65 20 64 69 | is, #in|clude di|
|00004c20| 72 65 63 74 69 76 65 73 | 20 69 6e 20 66 69 6c 65 |rectives| in file|
|00004c30| 73 20 74 68 75 73 20 69 | 6e 63 6c 75 64 65 64 20 |s thus i|ncluded |
|00004c40| 61 72 65 0a 6f 62 65 79 | 65 64 2e 20 20 59 6f 75 |are.obey|ed. You|
|00004c50| 20 63 61 6e 20 63 68 61 | 6e 67 65 20 74 68 65 20 | can cha|nge the |
|00004c60| 5c 22 23 69 6e 63 6c 75 | 64 65 5c 22 20 74 6f 20 |\"#inclu|de\" to |
|00004c70| 73 6f 6d 65 20 6f 74 68 | 65 72 20 73 74 72 69 6e |some oth|er strin|
|00004c80| 67 20 62 79 20 63 68 61 | 6e 67 69 6e 67 20 74 68 |g by cha|nging th|
|00004c90| 65 0a 76 61 72 69 61 62 | 6c 65 20 60 64 69 61 72 |e.variab|le `diar|
|00004ca0| 79 2d 69 6e 63 6c 75 64 | 65 2d 73 74 72 69 6e 67 |y-includ|e-string|
|00004cb0| 27 2e 20 20 57 68 65 6e | 20 79 6f 75 20 75 73 65 |'. When| you use|
|00004cc0| 20 60 6d 61 72 6b 2d 69 | 6e 63 6c 75 64 65 64 2d | `mark-i|ncluded-|
|00004cd0| 64 69 61 72 79 2d 66 69 | 6c 65 73 27 20 61 73 0a |diary-fi|les' as.|
|00004ce0| 70 61 72 74 20 6f 66 20 | 74 68 65 20 6d 61 72 6b |part of |the mark|
|00004cf0| 2d 64 69 61 72 79 2d 65 | 6e 74 72 69 65 73 2d 68 |-diary-e|ntries-h|
|00004d00| 6f 6f 6b 2c 20 79 6f 75 | 20 77 69 6c 6c 20 70 72 |ook, you| will pr|
|00004d10| 6f 62 61 62 6c 79 20 61 | 6c 73 6f 20 77 61 6e 74 |obably a|lso want|
|00004d20| 20 74 6f 20 75 73 65 20 | 74 68 65 0a 66 75 6e 63 | to use |the.func|
|00004d30| 74 69 6f 6e 20 60 69 6e | 63 6c 75 64 65 2d 6f 74 |tion `in|clude-ot|
|00004d40| 68 65 72 2d 64 69 61 72 | 79 2d 66 69 6c 65 73 27 |her-diar|y-files'|
|00004d50| 20 61 73 20 70 61 72 74 | 20 6f 66 20 60 6c 69 73 | as part| of `lis|
|00004d60| 74 2d 64 69 61 72 79 2d | 65 6e 74 72 69 65 73 2d |t-diary-|entries-|
|00004d70| 68 6f 6f 6b 27 2e 22 29 | 0a 28 64 65 66 76 61 72 |hook'.")|.(defvar|
|00004d80| 20 6e 6f 6e 67 72 65 67 | 6f 72 69 61 6e 2d 64 69 | nongreg|orian-di|
|00004d90| 61 72 79 2d 6d 61 72 6b | 69 6e 67 2d 68 6f 6f 6b |ary-mark|ing-hook|
|00004da0| 20 6e 69 6c 20 22 5c 0a | 2a 4c 69 73 74 20 6f 66 | nil "\.|*List of|
|00004db0| 20 66 75 6e 63 74 69 6f | 6e 73 20 63 61 6c 6c 65 | functio|ns calle|
|00004dc0| 64 20 66 6f 72 20 6d 61 | 72 6b 69 6e 67 20 64 69 |d for ma|rking di|
|00004dd0| 61 72 79 20 66 69 6c 65 | 20 61 6e 64 20 69 6e 63 |ary file| and inc|
|00004de0| 6c 75 64 65 64 20 66 69 | 6c 65 73 2e 0a 41 73 20 |luded fi|les..As |
|00004df0| 74 68 65 20 66 69 6c 65 | 73 20 61 72 65 20 70 72 |the file|s are pr|
|00004e00| 6f 63 65 73 73 65 64 20 | 66 6f 72 20 64 69 61 72 |ocessed |for diar|
|00004e10| 79 20 65 6e 74 72 69 65 | 73 2c 20 74 68 65 73 65 |y entrie|s, these|
|00004e20| 20 66 75 6e 63 74 69 6f | 6e 73 20 61 72 65 20 75 | functio|ns are u|
|00004e30| 73 65 64 20 74 6f 20 63 | 75 6c 6c 0a 72 65 6c 65 |sed to c|ull.rele|
|00004e40| 76 61 6e 74 20 65 6e 74 | 72 69 65 73 2e 20 20 59 |vant ent|ries. Y|
|00004e50| 6f 75 20 63 61 6e 20 75 | 73 65 20 65 69 74 68 65 |ou can u|se eithe|
|00004e60| 72 20 6f 72 20 62 6f 74 | 68 20 6f 66 20 60 6d 61 |r or bot|h of `ma|
|00004e70| 72 6b 2d 68 65 62 72 65 | 77 2d 64 69 61 72 79 2d |rk-hebre|w-diary-|
|00004e80| 65 6e 74 72 69 65 73 27 | 0a 61 6e 64 20 60 6d 61 |entries'|.and `ma|
|00004e90| 72 6b 2d 69 73 6c 61 6d | 69 63 2d 64 69 61 72 79 |rk-islam|ic-diary|
|00004ea0| 2d 65 6e 74 72 69 65 73 | 27 2e 20 20 54 68 65 20 |-entries|'. The |
|00004eb0| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 20 66 6f |document|ation fo|
|00004ec0| 72 20 74 68 65 73 65 20 | 66 75 6e 63 74 69 6f 6e |r these |function|
|00004ed0| 73 0a 64 65 73 63 72 69 | 62 65 73 20 74 68 65 20 |s.descri|bes the |
|00004ee0| 73 74 79 6c 65 20 6f 66 | 20 73 75 63 68 20 64 69 |style of| such di|
|00004ef0| 61 72 79 20 65 6e 74 72 | 69 65 73 2e 22 29 0a 28 |ary entr|ies.").(|
|00004f00| 64 65 66 76 61 72 20 64 | 69 61 72 79 2d 6c 69 73 |defvar d|iary-lis|
|00004f10| 74 2d 69 6e 63 6c 75 64 | 65 2d 62 6c 61 6e 6b 73 |t-includ|e-blanks|
|00004f20| 20 6e 69 6c 20 22 5c 0a | 2a 49 66 20 6e 69 6c 2c | nil "\.|*If nil,|
|00004f30| 20 64 6f 20 6e 6f 74 20 | 69 6e 63 6c 75 64 65 20 | do not |include |
|00004f40| 64 61 79 73 20 77 69 74 | 68 20 6e 6f 20 64 69 61 |days wit|h no dia|
|00004f50| 72 79 20 65 6e 74 72 79 | 20 69 6e 20 74 68 65 20 |ry entry| in the |
|00004f60| 6c 69 73 74 20 6f 66 20 | 64 69 61 72 79 20 65 6e |list of |diary en|
|00004f70| 74 72 69 65 73 2e 0a 53 | 75 63 68 20 64 61 79 73 |tries..S|uch days|
|00004f80| 20 77 69 6c 6c 20 74 68 | 65 6e 20 6e 6f 74 20 62 | will th|en not b|
|00004f90| 65 20 73 68 6f 77 6e 20 | 69 6e 20 74 68 65 20 74 |e shown |in the t|
|00004fa0| 68 65 20 66 61 6e 63 79 | 20 64 69 61 72 79 20 62 |he fancy| diary b|
|00004fb0| 75 66 66 65 72 2c 20 65 | 76 65 6e 20 69 66 20 74 |uffer, e|ven if t|
|00004fc0| 68 65 79 0a 61 72 65 20 | 68 6f 6c 69 64 61 79 73 |hey.are |holidays|
|00004fd0| 2e 22 29 0a 28 64 65 66 | 76 61 72 20 68 6f 6c 69 |.").(def|var holi|
|00004fe0| 64 61 79 73 2d 69 6e 2d | 64 69 61 72 79 2d 62 75 |days-in-|diary-bu|
|00004ff0| 66 66 65 72 20 74 20 22 | 5c 0a 2a 4e 6f 6e 2d 6e |ffer t "|\.*Non-n|
|00005000| 69 6c 20 6d 65 61 6e 73 | 20 69 6e 63 6c 75 64 65 |il means| include|
|00005010| 20 68 6f 6c 69 64 61 79 | 73 20 69 6e 20 74 68 65 | holiday|s in the|
|00005020| 20 64 69 61 72 79 20 64 | 69 73 70 6c 61 79 2e 0a | diary d|isplay..|
|00005030| 54 68 65 20 68 6f 6c 69 | 64 61 79 73 20 61 70 70 |The holi|days app|
|00005040| 65 61 72 20 69 6e 20 74 | 68 65 20 6d 6f 64 65 20 |ear in t|he mode |
|00005050| 6c 69 6e 65 20 6f 66 20 | 74 68 65 20 64 69 61 72 |line of |the diar|
|00005060| 79 20 62 75 66 66 65 72 | 2c 20 6f 72 20 69 6e 20 |y buffer|, or in |
|00005070| 74 68 65 0a 66 61 6e 63 | 79 20 64 69 61 72 79 20 |the.fanc|y diary |
|00005080| 62 75 66 66 65 72 20 6e | 65 78 74 20 74 6f 20 74 |buffer n|ext to t|
|00005090| 68 65 20 64 61 74 65 2e | 20 20 54 68 69 73 20 73 |he date.| This s|
|000050a0| 6c 6f 77 73 20 64 6f 77 | 6e 20 74 68 65 20 64 69 |lows dow|n the di|
|000050b0| 61 72 79 20 66 75 6e 63 | 74 69 6f 6e 73 0a 73 6f |ary func|tions.so|
|000050c0| 6d 65 77 68 61 74 3b 20 | 73 65 74 74 69 6e 67 20 |mewhat; |setting |
|000050d0| 69 74 20 74 6f 20 6e 69 | 6c 20 6d 61 6b 65 73 20 |it to ni|l makes |
|000050e0| 74 68 65 20 64 69 61 72 | 79 20 64 69 73 70 6c 61 |the diar|y displa|
|000050f0| 79 20 66 61 73 74 65 72 | 2e 22 29 0a 28 62 79 74 |y faster|.").(byt|
|00005100| 65 2d 63 6f 64 65 20 22 | c0 c1 21 84 08 00 c2 11 |e-code "|..!.....|
|00005110| c3 c4 c5 c6 23 87 22 20 | 5b 62 6f 75 6e 64 70 20 |....#." |[boundp |
|00005120| 63 61 6c 65 6e 64 61 72 | 2d 6d 61 72 6b 2d 72 69 |calendar|-mark-ri|
|00005130| 6e 67 20 6e 69 6c 20 70 | 75 74 20 67 65 6e 65 72 |ng nil p|ut gener|
|00005140| 61 6c 2d 68 6f 6c 69 64 | 61 79 73 20 72 69 73 6b |al-holid|ays risk|
|00005150| 79 2d 6c 6f 63 61 6c 2d | 76 61 72 69 61 62 6c 65 |y-local-|variable|
|00005160| 20 74 5d 20 34 29 0a 28 | 64 65 66 76 61 72 20 67 | t] 4).(|defvar g|
|00005170| 65 6e 65 72 61 6c 2d 68 | 6f 6c 69 64 61 79 73 20 |eneral-h|olidays |
|00005180| 28 71 75 6f 74 65 20 28 | 28 68 6f 6c 69 64 61 79 |(quote (|(holiday|
|00005190| 2d 66 69 78 65 64 20 31 | 20 31 20 22 4e 65 77 20 |-fixed 1| 1 "New |
|000051a0| 59 65 61 72 27 73 20 44 | 61 79 22 29 20 28 68 6f |Year's D|ay") (ho|
|000051b0| 6c 69 64 61 79 2d 66 6c | 6f 61 74 20 31 20 31 20 |liday-fl|oat 1 1 |
|000051c0| 33 20 22 4d 61 72 74 69 | 6e 20 4c 75 74 68 65 72 |3 "Marti|n Luther|
|000051d0| 20 4b 69 6e 67 20 44 61 | 79 22 29 20 28 68 6f 6c | King Da|y") (hol|
|000051e0| 69 64 61 79 2d 66 69 78 | 65 64 20 32 20 32 20 22 |iday-fix|ed 2 2 "|
|000051f0| 47 72 6f 75 6e 64 20 48 | 6f 67 20 44 61 79 22 29 |Ground H|og Day")|
|00005200| 20 28 68 6f 6c 69 64 61 | 79 2d 66 69 78 65 64 20 | (holida|y-fixed |
|00005210| 32 20 31 34 20 22 56 61 | 6c 65 6e 74 69 6e 65 27 |2 14 "Va|lentine'|
|00005220| 73 20 44 61 79 22 29 20 | 28 68 6f 6c 69 64 61 79 |s Day") |(holiday|
|00005230| 2d 66 6c 6f 61 74 20 32 | 20 31 20 33 20 22 50 72 |-float 2| 1 3 "Pr|
|00005240| 65 73 69 64 65 6e 74 27 | 73 20 44 61 79 22 29 20 |esident'|s Day") |
|00005250| 28 68 6f 6c 69 64 61 79 | 2d 66 69 78 65 64 20 33 |(holiday|-fixed 3|
|00005260| 20 31 37 20 22 53 74 2e | 20 50 61 74 72 69 63 6b | 17 "St.| Patrick|
|00005270| 27 73 20 44 61 79 22 29 | 20 28 68 6f 6c 69 64 61 |'s Day")| (holida|
|00005280| 79 2d 66 69 78 65 64 20 | 34 20 31 20 22 41 70 72 |y-fixed |4 1 "Apr|
|00005290| 69 6c 20 46 6f 6f 6c 27 | 73 20 44 61 79 22 29 20 |il Fool'|s Day") |
|000052a0| 28 68 6f 6c 69 64 61 79 | 2d 66 6c 6f 61 74 20 35 |(holiday|-float 5|
|000052b0| 20 30 20 32 20 22 4d 6f | 74 68 65 72 27 73 20 44 | 0 2 "Mo|ther's D|
|000052c0| 61 79 22 29 20 28 68 6f | 6c 69 64 61 79 2d 66 6c |ay") (ho|liday-fl|
|000052d0| 6f 61 74 20 35 20 31 20 | 2d 31 20 22 4d 65 6d 6f |oat 5 1 |-1 "Memo|
|000052e0| 72 69 61 6c 20 44 61 79 | 22 29 20 28 68 6f 6c 69 |rial Day|") (holi|
|000052f0| 64 61 79 2d 66 69 78 65 | 64 20 36 20 31 34 20 22 |day-fixe|d 6 14 "|
|00005300| 46 6c 61 67 20 44 61 79 | 22 29 20 28 68 6f 6c 69 |Flag Day|") (holi|
|00005310| 64 61 79 2d 66 6c 6f 61 | 74 20 36 20 30 20 33 20 |day-floa|t 6 0 3 |
|00005320| 22 46 61 74 68 65 72 27 | 73 20 44 61 79 22 29 20 |"Father'|s Day") |
|00005330| 28 68 6f 6c 69 64 61 79 | 2d 66 69 78 65 64 20 37 |(holiday|-fixed 7|
|00005340| 20 34 20 22 49 6e 64 65 | 70 65 6e 64 65 6e 63 65 | 4 "Inde|pendence|
|00005350| 20 44 61 79 22 29 20 28 | 68 6f 6c 69 64 61 79 2d | Day") (|holiday-|
|00005360| 66 6c 6f 61 74 20 39 20 | 31 20 31 20 22 4c 61 62 |float 9 |1 1 "Lab|
|00005370| 6f 72 20 44 61 79 22 29 | 20 28 68 6f 6c 69 64 61 |or Day")| (holida|
|00005380| 79 2d 66 6c 6f 61 74 20 | 31 30 20 31 20 32 20 22 |y-float |10 1 2 "|
|00005390| 43 6f 6c 75 6d 62 75 73 | 20 44 61 79 22 29 20 28 |Columbus| Day") (|
|000053a0| 68 6f 6c 69 64 61 79 2d | 66 69 78 65 64 20 31 30 |holiday-|fixed 10|
|000053b0| 20 33 31 20 22 48 61 6c | 6c 6f 77 65 65 6e 22 29 | 31 "Hal|loween")|
|000053c0| 20 28 68 6f 6c 69 64 61 | 79 2d 66 69 78 65 64 20 | (holida|y-fixed |
|000053d0| 31 31 20 31 31 20 22 56 | 65 74 65 72 61 6e 27 73 |11 11 "V|eteran's|
|000053e0| 20 44 61 79 22 29 20 28 | 68 6f 6c 69 64 61 79 2d | Day") (|holiday-|
|000053f0| 66 6c 6f 61 74 20 31 31 | 20 34 20 34 20 22 54 68 |float 11| 4 4 "Th|
|00005400| 61 6e 6b 73 67 69 76 69 | 6e 67 22 29 29 29 20 22 |anksgivi|ng"))) "|
|00005410| 5c 0a 2a 47 65 6e 65 72 | 61 6c 20 68 6f 6c 69 64 |\.*Gener|al holid|
|00005420| 61 79 73 2e 20 20 44 65 | 66 61 75 6c 74 20 76 61 |ays. De|fault va|
|00005430| 6c 75 65 20 69 73 20 66 | 6f 72 20 74 68 65 20 55 |lue is f|or the U|
|00005440| 6e 69 74 65 64 20 53 74 | 61 74 65 73 2e 0a 53 65 |nited St|ates..Se|
|00005450| 65 20 74 68 65 20 64 6f | 63 75 6d 65 6e 74 61 74 |e the do|cumentat|
|00005460| 69 6f 6e 20 66 6f 72 20 | 60 63 61 6c 65 6e 64 61 |ion for |`calenda|
|00005470| 72 2d 68 6f 6c 69 64 61 | 79 73 27 20 66 6f 72 20 |r-holida|ys' for |
|00005480| 64 65 74 61 69 6c 73 2e | 22 29 0a 28 70 75 74 20 |details.|").(put |
|00005490| 28 71 75 6f 74 65 20 6c | 6f 63 61 6c 2d 68 6f 6c |(quote l|ocal-hol|
|000054a0| 69 64 61 79 73 29 20 28 | 71 75 6f 74 65 20 72 69 |idays) (|quote ri|
|000054b0| 73 6b 79 2d 6c 6f 63 61 | 6c 2d 76 61 72 69 61 62 |sky-loca|l-variab|
|000054c0| 6c 65 29 20 74 29 0a 28 | 64 65 66 76 61 72 20 6c |le) t).(|defvar l|
|000054d0| 6f 63 61 6c 2d 68 6f 6c | 69 64 61 79 73 20 6e 69 |ocal-hol|idays ni|
|000054e0| 6c 20 22 5c 0a 2a 4c 6f | 63 61 6c 20 68 6f 6c 69 |l "\.*Lo|cal holi|
|000054f0| 64 61 79 73 2e 0a 53 65 | 65 20 74 68 65 20 64 6f |days..Se|e the do|
|00005500| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 66 6f 72 20 |cumentat|ion for |
|00005510| 60 63 61 6c 65 6e 64 61 | 72 2d 68 6f 6c 69 64 61 |`calenda|r-holida|
|00005520| 79 73 27 20 66 6f 72 20 | 64 65 74 61 69 6c 73 2e |ys' for |details.|
|00005530| 22 29 0a 28 70 75 74 20 | 28 71 75 6f 74 65 20 6f |").(put |(quote o|
|00005540| 74 68 65 72 2d 68 6f 6c | 69 64 61 79 73 29 20 28 |ther-hol|idays) (|
|00005550| 71 75 6f 74 65 20 72 69 | 73 6b 79 2d 6c 6f 63 61 |quote ri|sky-loca|
|00005560| 6c 2d 76 61 72 69 61 62 | 6c 65 29 20 74 29 0a 28 |l-variab|le) t).(|
|00005570| 64 65 66 76 61 72 20 6f | 74 68 65 72 2d 68 6f 6c |defvar o|ther-hol|
|00005580| 69 64 61 79 73 20 6e 69 | 6c 20 22 5c 0a 2a 55 73 |idays ni|l "\.*Us|
|00005590| 65 72 20 64 65 66 69 6e | 65 64 20 68 6f 6c 69 64 |er defin|ed holid|
|000055a0| 61 79 73 2e 0a 53 65 65 | 20 74 68 65 20 64 6f 63 |ays..See| the doc|
|000055b0| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 66 6f 72 20 60 |umentati|on for `|
|000055c0| 63 61 6c 65 6e 64 61 72 | 2d 68 6f 6c 69 64 61 79 |calendar|-holiday|
|000055d0| 73 27 20 66 6f 72 20 64 | 65 74 61 69 6c 73 2e 22 |s' for d|etails."|
|000055e0| 29 0a 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 c1 |).(byte-|code "..|
|000055f0| c2 c3 23 88 c4 c1 21 84 | 0e 00 c5 11 c0 c6 c2 c3 |..#...!.|........|
|00005600| 23 88 c4 c6 21 84 1d 00 | c7 16 06 c0 c8 c2 c3 23 |#...!...|.......#|
|00005610| 88 c4 c8 21 84 2c 00 c9 | 16 08 c0 ca c2 c3 23 88 |...!.,..|......#.|
|00005620| c4 ca 21 84 3b 00 cb 16 | 5c 6e c0 cc c2 c3 23 87 |..!.;...|\n....#.|
|00005630| 22 20 5b 70 75 74 20 68 | 65 62 72 65 77 2d 68 6f |" [put h|ebrew-ho|
|00005640| 6c 69 64 61 79 73 2d 31 | 20 72 69 73 6b 79 2d 6c |lidays-1| risky-l|
|00005650| 6f 63 61 6c 2d 76 61 72 | 69 61 62 6c 65 20 74 20 |ocal-var|iable t |
|00005660| 62 6f 75 6e 64 70 20 28 | 28 68 6f 6c 69 64 61 79 |boundp (|(holiday|
|00005670| 2d 72 6f 73 68 2d 68 61 | 73 68 61 6e 61 68 2d 65 |-rosh-ha|shanah-e|
|00005680| 74 63 29 20 28 69 66 20 | 61 6c 6c 2d 68 65 62 72 |tc) (if |all-hebr|
|00005690| 65 77 2d 63 61 6c 65 6e | 64 61 72 2d 68 6f 6c 69 |ew-calen|dar-holi|
|000056a0| 64 61 79 73 20 28 68 6f | 6c 69 64 61 79 2d 6a 75 |days (ho|liday-ju|
|000056b0| 6c 69 61 6e 20 31 31 20 | 28 6c 65 74 2a 20 28 28 |lian 11 |(let* ((|
|000056c0| 6d 20 64 69 73 70 6c 61 | 79 65 64 2d 6d 6f 6e 74 |m displa|yed-mont|
|000056d0| 68 29 20 28 79 20 64 69 | 73 70 6c 61 79 65 64 2d |h) (y di|splayed-|
|000056e0| 79 65 61 72 29 20 28 79 | 65 61 72 29 29 20 28 69 |year) (y|ear)) (i|
|000056f0| 6e 63 72 65 6d 65 6e 74 | 2d 63 61 6c 65 6e 64 61 |ncrement|-calenda|
|00005700| 72 2d 6d 6f 6e 74 68 20 | 6d 20 79 20 2d 31 29 20 |r-month |m y -1) |
|00005710| 28 6c 65 74 20 28 28 79 | 65 61 72 20 28 65 78 74 |(let ((y|ear (ext|
|00005720| 72 61 63 74 2d 63 61 6c | 65 6e 64 61 72 2d 79 65 |ract-cal|endar-ye|
|00005730| 61 72 20 28 63 61 6c 65 | 6e 64 61 72 2d 6a 75 6c |ar (cale|ndar-jul|
|00005740| 69 61 6e 2d 66 72 6f 6d | 2d 61 62 73 6f 6c 75 74 |ian-from|-absolut|
|00005750| 65 20 28 63 61 6c 65 6e | 64 61 72 2d 61 62 73 6f |e (calen|dar-abso|
|00005760| 6c 75 74 65 2d 66 72 6f | 6d 2d 67 72 65 67 6f 72 |lute-fro|m-gregor|
|00005770| 69 61 6e 20 28 6c 69 73 | 74 20 6d 20 31 20 79 29 |ian (lis|t m 1 y)|
|00005780| 29 29 29 29 29 20 28 69 | 66 20 28 7a 65 72 6f 70 |))))) (i|f (zerop|
|00005790| 20 28 25 20 28 31 2b 20 | 79 65 61 72 29 20 34 29 | (% (1+ |year) 4)|
|000057a0| 29 20 32 32 20 32 31 29 | 29 29 20 22 5c 22 54 61 |) 22 21)|)) "\"Ta|
|000057b0| 6c 20 55 6d 61 74 61 72 | 5c 22 20 28 65 76 65 6e |l Umatar|\" (even|
|000057c0| 69 6e 67 29 22 29 29 29 | 20 68 65 62 72 65 77 2d |ing)")))| hebrew-|
|000057d0| 68 6f 6c 69 64 61 79 73 | 2d 32 20 28 28 69 66 20 |holidays|-2 ((if |
|000057e0| 61 6c 6c 2d 68 65 62 72 | 65 77 2d 63 61 6c 65 6e |all-hebr|ew-calen|
|000057f0| 64 61 72 2d 68 6f 6c 69 | 64 61 79 73 20 28 68 6f |dar-holi|days (ho|
|00005800| 6c 69 64 61 79 2d 68 61 | 6e 75 6b 6b 61 68 29 20 |liday-ha|nukkah) |
|00005810| 28 68 6f 6c 69 64 61 79 | 2d 68 65 62 72 65 77 20 |(holiday|-hebrew |
|00005820| 39 20 32 35 20 22 48 61 | 6e 75 6b 6b 61 68 22 29 |9 25 "Ha|nukkah")|
|00005830| 29 20 28 69 66 20 61 6c | 6c 2d 68 65 62 72 65 77 |) (if al|l-hebrew|
|00005840| 2d 63 61 6c 65 6e 64 61 | 72 2d 68 6f 6c 69 64 61 |-calenda|r-holida|
|00005850| 79 73 20 28 68 6f 6c 69 | 64 61 79 2d 68 65 62 72 |ys (holi|day-hebr|
|00005860| 65 77 20 31 30 20 28 6c | 65 74 20 28 28 68 2d 79 |ew 10 (l|et ((h-y|
|00005870| 65 61 72 20 28 65 78 74 | 72 61 63 74 2d 63 61 6c |ear (ext|ract-cal|
|00005880| 65 6e 64 61 72 2d 79 65 | 61 72 20 28 63 61 6c 65 |endar-ye|ar (cale|
|00005890| 6e 64 61 72 2d 68 65 62 | 72 65 77 2d 66 72 6f 6d |ndar-heb|rew-from|
|000058a0| 2d 61 62 73 6f 6c 75 74 | 65 20 28 63 61 6c 65 6e |-absolut|e (calen|
|000058b0| 64 61 72 2d 61 62 73 6f | 6c 75 74 65 2d 66 72 6f |dar-abso|lute-fro|
|000058c0| 6d 2d 67 72 65 67 6f 72 | 69 61 6e 20 28 6c 69 73 |m-gregor|ian (lis|
|000058d0| 74 20 64 69 73 70 6c 61 | 79 65 64 2d 6d 6f 6e 74 |t displa|yed-mont|
|000058e0| 68 20 32 38 20 64 69 73 | 70 6c 61 79 65 64 2d 79 |h 28 dis|played-y|
|000058f0| 65 61 72 29 29 29 29 29 | 29 20 28 69 66 20 28 3d |ear)))))|) (if (=|
|00005900| 20 28 25 20 28 63 61 6c | 65 6e 64 61 72 2d 61 62 | (% (cal|endar-ab|
|00005910| 73 6f 6c 75 74 65 2d 66 | 72 6f 6d 2d 68 65 62 72 |solute-f|rom-hebr|
|00005920| 65 77 20 28 6c 69 73 74 | 20 31 30 20 31 30 20 68 |ew (list| 10 10 h|
|00005930| 2d 79 65 61 72 29 29 20 | 37 29 20 36 29 20 31 31 |-year)) |7) 6) 11|
|00005940| 20 31 30 29 29 20 22 54 | 7a 6f 6d 20 54 65 76 65 | 10)) "T|zom Teve|
|00005950| 74 68 22 29 29 20 28 69 | 66 20 61 6c 6c 2d 68 65 |th")) (i|f all-he|
|00005960| 62 72 65 77 2d 63 61 6c | 65 6e 64 61 72 2d 68 6f |brew-cal|endar-ho|
|00005970| 6c 69 64 61 79 73 20 28 | 68 6f 6c 69 64 61 79 2d |lidays (|holiday-|
|00005980| 68 65 62 72 65 77 20 31 | 31 20 31 35 20 22 54 75 |hebrew 1|1 15 "Tu|
|00005990| 20 42 27 53 68 65 76 61 | 74 22 29 29 29 20 68 65 | B'Sheva|t"))) he|
|000059a0| 62 72 65 77 2d 68 6f 6c | 69 64 61 79 73 2d 33 20 |brew-hol|idays-3 |
|000059b0| 28 28 69 66 20 61 6c 6c | 2d 68 65 62 72 65 77 2d |((if all|-hebrew-|
|000059c0| 63 61 6c 65 6e 64 61 72 | 2d 68 6f 6c 69 64 61 79 |calendar|-holiday|
|000059d0| 73 20 28 68 6f 6c 69 64 | 61 79 2d 68 65 62 72 65 |s (holid|ay-hebre|
|000059e0| 77 20 31 31 20 28 6c 65 | 74 20 28 28 6d 20 64 69 |w 11 (le|t ((m di|
|000059f0| 73 70 6c 61 79 65 64 2d | 6d 6f 6e 74 68 29 20 28 |splayed-|month) (|
|00005a00| 79 20 64 69 73 70 6c 61 | 79 65 64 2d 79 65 61 72 |y displa|yed-year|
|00005a10| 29 29 20 28 69 6e 63 72 | 65 6d 65 6e 74 2d 63 61 |)) (incr|ement-ca|
|00005a20| 6c 65 6e 64 61 72 2d 6d | 6f 6e 74 68 20 6d 20 79 |lendar-m|onth m y|
|00005a30| 20 31 29 20 28 6c 65 74 | 2a 20 28 28 68 2d 79 65 | 1) (let|* ((h-ye|
|00005a40| 61 72 20 28 65 78 74 72 | 61 63 74 2d 63 61 6c 65 |ar (extr|act-cale|
|00005a50| 6e 64 61 72 2d 79 65 61 | 72 20 28 63 61 6c 65 6e |ndar-yea|r (calen|
|00005a60| 64 61 72 2d 68 65 62 72 | 65 77 2d 66 72 6f 6d 2d |dar-hebr|ew-from-|
|00005a70| 61 62 73 6f 6c 75 74 65 | 20 28 63 61 6c 65 6e 64 |absolute| (calend|
|00005a80| 61 72 2d 61 62 73 6f 6c | 75 74 65 2d 66 72 6f 6d |ar-absol|ute-from|
|00005a90| 2d 67 72 65 67 6f 72 69 | 61 6e 20 28 6c 69 73 74 |-gregori|an (list|
|00005aa0| 20 6d 20 28 63 61 6c 65 | 6e 64 61 72 2d 6c 61 73 | m (cale|ndar-las|
|00005ab0| 74 2d 64 61 79 2d 6f 66 | 2d 6d 6f 6e 74 68 20 6d |t-day-of|-month m|
|00005ac0| 20 79 29 20 79 29 29 29 | 29 29 20 28 73 2d 73 20 | y) y)))|)) (s-s |
|00005ad0| 28 63 61 6c 65 6e 64 61 | 72 2d 68 65 62 72 65 77 |(calenda|r-hebrew|
|00005ae0| 2d 66 72 6f 6d 2d 61 62 | 73 6f 6c 75 74 65 20 28 |-from-ab|solute (|
|00005af0| 69 66 20 28 3d 20 28 25 | 20 28 63 61 6c 65 6e 64 |if (= (%| (calend|
|00005b00| 61 72 2d 61 62 73 6f 6c | 75 74 65 2d 66 72 6f 6d |ar-absol|ute-from|
|00005b10| 2d 68 65 62 72 65 77 20 | 28 6c 69 73 74 20 37 20 |-hebrew |(list 7 |
|00005b20| 31 20 68 2d 79 65 61 72 | 29 29 20 37 29 20 36 29 |1 h-year|)) 7) 6)|
|00005b30| 20 28 63 61 6c 65 6e 64 | 61 72 2d 64 61 79 6e 61 | (calend|ar-dayna|
|00005b40| 6d 65 2d 6f 6e 2d 6f 72 | 2d 62 65 66 6f 72 65 20 |me-on-or|-before |
|00005b50| 36 20 28 63 61 6c 65 6e | 64 61 72 2d 61 62 73 6f |6 (calen|dar-abso|
|00005b60| 6c 75 74 65 2d 66 72 6f | 6d 2d 68 65 62 72 65 77 |lute-fro|m-hebrew|
|00005b70| 20 28 6c 69 73 74 20 31 | 31 20 31 37 20 68 2d 79 | (list 1|1 17 h-y|
|00005b80| 65 61 72 29 29 29 20 28 | 63 61 6c 65 6e 64 61 72 |ear))) (|calendar|
|00005b90| 2d 64 61 79 6e 61 6d 65 | 2d 6f 6e 2d 6f 72 2d 62 |-dayname|-on-or-b|
|00005ba0| 65 66 6f 72 65 20 36 20 | 28 63 61 6c 65 6e 64 61 |efore 6 |(calenda|
|00005bb0| 72 2d 61 62 73 6f 6c 75 | 74 65 2d 66 72 6f 6d 2d |r-absolu|te-from-|
|00005bc0| 68 65 62 72 65 77 20 28 | 6c 69 73 74 20 31 31 20 |hebrew (|list 11 |
|00005bd0| 31 36 20 68 2d 79 65 61 | 72 29 29 29 29 29 29 20 |16 h-yea|r)))))) |
|00005be0| 28 64 61 79 20 28 65 78 | 74 72 61 63 74 2d 63 61 |(day (ex|tract-ca|
|00005bf0| 6c 65 6e 64 61 72 2d 64 | 61 79 20 73 2d 73 29 29 |lendar-d|ay s-s))|
|00005c00| 29 20 64 61 79 29 29 20 | 22 53 68 61 62 62 61 74 |) day)) |"Shabbat|
|00005c10| 20 53 68 69 72 61 68 22 | 29 29 29 20 68 65 62 72 | Shirah"|))) hebr|
|00005c20| 65 77 2d 68 6f 6c 69 64 | 61 79 73 2d 34 20 28 28 |ew-holid|ays-4 ((|
|00005c30| 68 6f 6c 69 64 61 79 2d | 70 61 73 73 6f 76 65 72 |holiday-|passover|
|00005c40| 2d 65 74 63 29 20 28 69 | 66 20 28 61 6e 64 20 61 |-etc) (i|f (and a|
|00005c50| 6c 6c 2d 68 65 62 72 65 | 77 2d 63 61 6c 65 6e 64 |ll-hebre|w-calend|
|00005c60| 61 72 2d 68 6f 6c 69 64 | 61 79 73 20 28 6c 65 74 |ar-holid|ays (let|
|00005c70| 2a 20 28 28 6d 20 64 69 | 73 70 6c 61 79 65 64 2d |* ((m di|splayed-|
|00005c80| 6d 6f 6e 74 68 29 20 28 | 79 20 64 69 73 70 6c 61 |month) (|y displa|
|00005c90| 79 65 64 2d 79 65 61 72 | 29 20 28 79 65 61 72 29 |yed-year|) (year)|
|00005ca0| 29 20 28 69 6e 63 72 65 | 6d 65 6e 74 2d 63 61 6c |) (incre|ment-cal|
|00005cb0| 65 6e 64 61 72 2d 6d 6f | 6e 74 68 20 6d 20 79 20 |endar-mo|nth m y |
|00005cc0| 2d 31 29 20 28 6c 65 74 | 20 28 28 79 65 61 72 20 |-1) (let| ((year |
|00005cd0| 28 65 78 74 72 61 63 74 | 2d 63 61 6c 65 6e 64 61 |(extract|-calenda|
|00005ce0| 72 2d 79 65 61 72 20 28 | 63 61 6c 65 6e 64 61 72 |r-year (|calendar|
|00005cf0| 2d 6a 75 6c 69 61 6e 2d | 66 72 6f 6d 2d 61 62 73 |-julian-|from-abs|
|00005d00| 6f 6c 75 74 65 20 28 63 | 61 6c 65 6e 64 61 72 2d |olute (c|alendar-|
|00005d10| 61 62 73 6f 6c 75 74 65 | 2d 66 72 6f 6d 2d 67 72 |absolute|-from-gr|
|00005d20| 65 67 6f 72 69 61 6e 20 | 28 6c 69 73 74 20 6d 20 |egorian |(list m |
|00005d30| 31 20 79 29 29 29 29 29 | 29 20 28 3d 20 32 31 20 |1 y)))))|) (= 21 |
|00005d40| 28 25 20 79 65 61 72 20 | 32 38 29 29 29 29 29 20 |(% year |28))))) |
|00005d50| 28 68 6f 6c 69 64 61 79 | 2d 6a 75 6c 69 61 6e 20 |(holiday|-julian |
|00005d60| 33 20 32 36 20 22 4b 69 | 64 64 75 73 68 20 48 61 |3 26 "Ki|ddush Ha|
|00005d70| 48 61 6d 61 68 22 29 29 | 20 28 69 66 20 61 6c 6c |Hamah"))| (if all|
|00005d80| 2d 68 65 62 72 65 77 2d | 63 61 6c 65 6e 64 61 72 |-hebrew-|calendar|
|00005d90| 2d 68 6f 6c 69 64 61 79 | 73 20 28 68 6f 6c 69 64 |-holiday|s (holid|
|00005da0| 61 79 2d 74 69 73 68 61 | 2d 62 2d 61 76 2d 65 74 |ay-tisha|-b-av-et|
|00005db0| 63 29 29 29 20 68 65 62 | 72 65 77 2d 68 6f 6c 69 |c))) heb|rew-holi|
|00005dc0| 64 61 79 73 5d 20 34 29 | 0a 28 64 65 66 76 61 72 |days] 4)|.(defvar|
|00005dd0| 20 68 65 62 72 65 77 2d | 68 6f 6c 69 64 61 79 73 | hebrew-|holidays|
|00005de0| 20 28 61 70 70 65 6e 64 | 20 68 65 62 72 65 77 2d | (append| hebrew-|
|00005df0| 68 6f 6c 69 64 61 79 73 | 2d 31 20 68 65 62 72 65 |holidays|-1 hebre|
|00005e00| 77 2d 68 6f 6c 69 64 61 | 79 73 2d 32 20 68 65 62 |w-holida|ys-2 heb|
|00005e10| 72 65 77 2d 68 6f 6c 69 | 64 61 79 73 2d 33 20 68 |rew-holi|days-3 h|
|00005e20| 65 62 72 65 77 2d 68 6f | 6c 69 64 61 79 73 2d 34 |ebrew-ho|lidays-4|
|00005e30| 29 20 22 5c 0a 2a 4a 65 | 77 69 73 68 20 68 6f 6c |) "\.*Je|wish hol|
|00005e40| 69 64 61 79 73 2e 0a 53 | 65 65 20 74 68 65 20 64 |idays..S|ee the d|
|00005e50| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 66 6f 72 |ocumenta|tion for|
|00005e60| 20 60 63 61 6c 65 6e 64 | 61 72 2d 68 6f 6c 69 64 | `calend|ar-holid|
|00005e70| 61 79 73 27 20 66 6f 72 | 20 64 65 74 61 69 6c 73 |ays' for| details|
|00005e80| 2e 22 29 0a 28 70 75 74 | 20 28 71 75 6f 74 65 20 |.").(put| (quote |
|00005e90| 63 68 72 69 73 74 69 61 | 6e 2d 68 6f 6c 69 64 61 |christia|n-holida|
|00005ea0| 79 73 29 20 28 71 75 6f | 74 65 20 72 69 73 6b 79 |ys) (quo|te risky|
|00005eb0| 2d 6c 6f 63 61 6c 2d 76 | 61 72 69 61 62 6c 65 29 |-local-v|ariable)|
|00005ec0| 20 74 29 0a 28 64 65 66 | 76 61 72 20 63 68 72 69 | t).(def|var chri|
|00005ed0| 73 74 69 61 6e 2d 68 6f | 6c 69 64 61 79 73 20 28 |stian-ho|lidays (|
|00005ee0| 71 75 6f 74 65 20 28 28 | 69 66 20 61 6c 6c 2d 63 |quote ((|if all-c|
|00005ef0| 68 72 69 73 74 69 61 6e | 2d 63 61 6c 65 6e 64 61 |hristian|-calenda|
|00005f00| 72 2d 68 6f 6c 69 64 61 | 79 73 20 28 68 6f 6c 69 |r-holida|ys (holi|
|00005f10| 64 61 79 2d 66 69 78 65 | 64 20 31 20 36 20 22 45 |day-fixe|d 1 6 "E|
|00005f20| 70 69 70 68 61 6e 79 22 | 29 29 20 28 68 6f 6c 69 |piphany"|)) (holi|
|00005f30| 64 61 79 2d 65 61 73 74 | 65 72 2d 65 74 63 29 20 |day-east|er-etc) |
|00005f40| 28 69 66 20 61 6c 6c 2d | 63 68 72 69 73 74 69 61 |(if all-|christia|
|00005f50| 6e 2d 63 61 6c 65 6e 64 | 61 72 2d 68 6f 6c 69 64 |n-calend|ar-holid|
|00005f60| 61 79 73 20 28 68 6f 6c | 69 64 61 79 2d 67 72 65 |ays (hol|iday-gre|
|00005f70| 65 6b 2d 6f 72 74 68 6f | 64 6f 78 2d 65 61 73 74 |ek-ortho|dox-east|
|00005f80| 65 72 29 29 20 28 69 66 | 20 61 6c 6c 2d 63 68 72 |er)) (if| all-chr|
|00005f90| 69 73 74 69 61 6e 2d 63 | 61 6c 65 6e 64 61 72 2d |istian-c|alendar-|
|00005fa0| 68 6f 6c 69 64 61 79 73 | 20 28 68 6f 6c 69 64 61 |holidays| (holida|
|00005fb0| 79 2d 66 69 78 65 64 20 | 38 20 31 35 20 22 41 73 |y-fixed |8 15 "As|
|00005fc0| 73 75 6d 70 74 69 6f 6e | 22 29 29 20 28 69 66 20 |sumption|")) (if |
|00005fd0| 61 6c 6c 2d 63 68 72 69 | 73 74 69 61 6e 2d 63 61 |all-chri|stian-ca|
|00005fe0| 6c 65 6e 64 61 72 2d 68 | 6f 6c 69 64 61 79 73 20 |lendar-h|olidays |
|00005ff0| 28 68 6f 6c 69 64 61 79 | 2d 61 64 76 65 6e 74 29 |(holiday|-advent)|
|00006000| 29 20 28 68 6f 6c 69 64 | 61 79 2d 66 69 78 65 64 |) (holid|ay-fixed|
|00006010| 20 31 32 20 32 35 20 22 | 43 68 72 69 73 74 6d 61 | 12 25 "|Christma|
|00006020| 73 22 29 20 28 69 66 20 | 61 6c 6c 2d 63 68 72 69 |s") (if |all-chri|
|00006030| 73 74 69 61 6e 2d 63 61 | 6c 65 6e 64 61 72 2d 68 |stian-ca|lendar-h|
|00006040| 6f 6c 69 64 61 79 73 20 | 28 68 6f 6c 69 64 61 79 |olidays |(holiday|
|00006050| 2d 6a 75 6c 69 61 6e 20 | 31 32 20 32 35 20 22 45 |-julian |12 25 "E|
|00006060| 61 73 74 65 72 6e 20 4f | 72 74 68 6f 64 6f 78 20 |astern O|rthodox |
|00006070| 43 68 72 69 73 74 6d 61 | 73 22 29 29 29 29 20 22 |Christma|s")))) "|
|00006080| 5c 0a 2a 43 68 72 69 73 | 74 69 61 6e 20 68 6f 6c |\.*Chris|tian hol|
|00006090| 69 64 61 79 73 2e 0a 53 | 65 65 20 74 68 65 20 64 |idays..S|ee the d|
|000060a0| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 66 6f 72 |ocumenta|tion for|
|000060b0| 20 60 63 61 6c 65 6e 64 | 61 72 2d 68 6f 6c 69 64 | `calend|ar-holid|
|000060c0| 61 79 73 27 20 66 6f 72 | 20 64 65 74 61 69 6c 73 |ays' for| details|
|000060d0| 2e 22 29 0a 28 70 75 74 | 20 28 71 75 6f 74 65 20 |.").(put| (quote |
|000060e0| 69 73 6c 61 6d 69 63 2d | 68 6f 6c 69 64 61 79 73 |islamic-|holidays|
|000060f0| 29 20 28 71 75 6f 74 65 | 20 72 69 73 6b 79 2d 6c |) (quote| risky-l|
|00006100| 6f 63 61 6c 2d 76 61 72 | 69 61 62 6c 65 29 20 74 |ocal-var|iable) t|
|00006110| 29 0a 28 64 65 66 76 61 | 72 20 69 73 6c 61 6d 69 |).(defva|r islami|
|00006120| 63 2d 68 6f 6c 69 64 61 | 79 73 20 28 71 75 6f 74 |c-holida|ys (quot|
|00006130| 65 20 28 28 68 6f 6c 69 | 64 61 79 2d 69 73 6c 61 |e ((holi|day-isla|
|00006140| 6d 69 63 20 31 20 31 20 | 28 66 6f 72 6d 61 74 20 |mic 1 1 |(format |
|00006150| 22 49 73 6c 61 6d 69 63 | 20 4e 65 77 20 59 65 61 |"Islamic| New Yea|
|00006160| 72 20 25 64 22 20 28 6c | 65 74 20 28 28 6d 20 64 |r %d" (l|et ((m d|
|00006170| 69 73 70 6c 61 79 65 64 | 2d 6d 6f 6e 74 68 29 20 |isplayed|-month) |
|00006180| 28 79 20 64 69 73 70 6c | 61 79 65 64 2d 79 65 61 |(y displ|ayed-yea|
|00006190| 72 29 29 20 28 69 6e 63 | 72 65 6d 65 6e 74 2d 63 |r)) (inc|rement-c|
|000061a0| 61 6c 65 6e 64 61 72 2d | 6d 6f 6e 74 68 20 6d 20 |alendar-|month m |
|000061b0| 79 20 31 29 20 28 65 78 | 74 72 61 63 74 2d 63 61 |y 1) (ex|tract-ca|
|000061c0| 6c 65 6e 64 61 72 2d 79 | 65 61 72 20 28 63 61 6c |lendar-y|ear (cal|
|000061d0| 65 6e 64 61 72 2d 69 73 | 6c 61 6d 69 63 2d 66 72 |endar-is|lamic-fr|
|000061e0| 6f 6d 2d 61 62 73 6f 6c | 75 74 65 20 28 63 61 6c |om-absol|ute (cal|
|000061f0| 65 6e 64 61 72 2d 61 62 | 73 6f 6c 75 74 65 2d 66 |endar-ab|solute-f|
|00006200| 72 6f 6d 2d 67 72 65 67 | 6f 72 69 61 6e 20 28 6c |rom-greg|orian (l|
|00006210| 69 73 74 20 6d 20 28 63 | 61 6c 65 6e 64 61 72 2d |ist m (c|alendar-|
|00006220| 6c 61 73 74 2d 64 61 79 | 2d 6f 66 2d 6d 6f 6e 74 |last-day|-of-mont|
|00006230| 68 20 6d 20 79 29 20 79 | 29 29 29 29 29 29 29 20 |h m y) y|))))))) |
|00006240| 28 69 66 20 61 6c 6c 2d | 69 73 6c 61 6d 69 63 2d |(if all-|islamic-|
|00006250| 63 61 6c 65 6e 64 61 72 | 2d 68 6f 6c 69 64 61 79 |calendar|-holiday|
|00006260| 73 20 28 68 6f 6c 69 64 | 61 79 2d 69 73 6c 61 6d |s (holid|ay-islam|
|00006270| 69 63 20 31 20 31 30 20 | 22 41 73 68 75 72 61 22 |ic 1 10 |"Ashura"|
|00006280| 29 29 20 28 69 66 20 61 | 6c 6c 2d 69 73 6c 61 6d |)) (if a|ll-islam|
|00006290| 69 63 2d 63 61 6c 65 6e | 64 61 72 2d 68 6f 6c 69 |ic-calen|dar-holi|
|000062a0| 64 61 79 73 20 28 68 6f | 6c 69 64 61 79 2d 69 73 |days (ho|liday-is|
|000062b0| 6c 61 6d 69 63 20 33 20 | 31 32 20 22 4d 75 6c 61 |lamic 3 |12 "Mula|
|000062c0| 64 2d 61 6c 2d 4e 61 62 | 69 22 29 29 20 28 69 66 |d-al-Nab|i")) (if|
|000062d0| 20 61 6c 6c 2d 69 73 6c | 61 6d 69 63 2d 63 61 6c | all-isl|amic-cal|
|000062e0| 65 6e 64 61 72 2d 68 6f | 6c 69 64 61 79 73 20 28 |endar-ho|lidays (|
|000062f0| 68 6f 6c 69 64 61 79 2d | 69 73 6c 61 6d 69 63 20 |holiday-|islamic |
|00006300| 37 20 32 36 20 22 53 68 | 61 62 2d 65 2d 4d 69 27 |7 26 "Sh|ab-e-Mi'|
|00006310| 72 61 6a 22 29 29 20 28 | 69 66 20 61 6c 6c 2d 69 |raj")) (|if all-i|
|00006320| 73 6c 61 6d 69 63 2d 63 | 61 6c 65 6e 64 61 72 2d |slamic-c|alendar-|
|00006330| 68 6f 6c 69 64 61 79 73 | 20 28 68 6f 6c 69 64 61 |holidays| (holida|
|00006340| 79 2d 69 73 6c 61 6d 69 | 63 20 38 20 31 35 20 22 |y-islami|c 8 15 "|
|00006350| 53 68 61 62 2d 65 2d 42 | 61 72 61 27 74 22 29 29 |Shab-e-B|ara't"))|
|00006360| 20 28 68 6f 6c 69 64 61 | 79 2d 69 73 6c 61 6d 69 | (holida|y-islami|
|00006370| 63 20 39 20 31 20 22 52 | 61 6d 61 64 61 6e 20 42 |c 9 1 "R|amadan B|
|00006380| 65 67 69 6e 73 22 29 20 | 28 69 66 20 61 6c 6c 2d |egins") |(if all-|
|00006390| 69 73 6c 61 6d 69 63 2d | 63 61 6c 65 6e 64 61 72 |islamic-|calendar|
|000063a0| 2d 68 6f 6c 69 64 61 79 | 73 20 28 68 6f 6c 69 64 |-holiday|s (holid|
|000063b0| 61 79 2d 69 73 6c 61 6d | 69 63 20 39 20 32 37 20 |ay-islam|ic 9 27 |
|000063c0| 22 53 68 61 62 2d 65 20 | 51 61 64 72 22 29 29 20 |"Shab-e |Qadr")) |
|000063d0| 28 69 66 20 61 6c 6c 2d | 69 73 6c 61 6d 69 63 2d |(if all-|islamic-|
|000063e0| 63 61 6c 65 6e 64 61 72 | 2d 68 6f 6c 69 64 61 79 |calendar|-holiday|
|000063f0| 73 20 28 68 6f 6c 69 64 | 61 79 2d 69 73 6c 61 6d |s (holid|ay-islam|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.