home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.006 / xemacs-1 / lib / xemacs-19.13 / lisp / calendar / calendar.elc < prev    next >
Emacs Compiled Lisp  |  1995-08-31  |  88.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


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

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
100% xdgMime text/x-emacs-lisp default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 63 74 68 6f 6d 70 40 |piled by| cthomp@|
|00000020| 77 69 6c 6c 6f 77 2e 63 | 73 2e 75 69 75 63 2e 65 |willow.c|s.uiuc.e|
|00000030| 64 75 20 6f 6e 20 57 65 | 64 20 41 75 67 20 33 30 |du on We|d Aug 30|
|00000040| 20 31 39 3a 33 38 3a 31 | 38 20 31 39 39 35 0a 3b | 19:38:1|8 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 78 65 |;; from |file /xe|
|00000060| 6d 61 63 73 2f 78 65 6d | 61 63 73 2d 31 39 2e 31 |macs/xem|acs-19.1|
|00000070| 33 2d 72 65 6c 65 61 73 | 65 2f 65 64 69 74 6f 72 |3-releas|e/editor|
|00000080| 2f 6c 69 73 70 2f 63 61 | 6c 65 6e 64 61 72 2f 63 |/lisp/ca|lendar/c|
|00000090| 61 6c 65 6e 64 61 72 2e | 65 6c 0a 3b 3b 3b 20 65 |alendar.|el.;;; e|
|000000a0| 6d 61 63 73 20 76 65 72 | 73 69 6f 6e 20 31 39 2e |macs ver|sion 19.|
|000000b0| 31 33 20 58 45 6d 61 63 | 73 20 4c 75 63 69 64 2e |13 XEmac|s Lucid.|
|000000c0| 0a 3b 3b 3b 20 62 79 74 | 65 63 6f 6d 70 20 76 65 |.;;; byt|ecomp ve|
|000000d0| 72 73 69 6f 6e 20 32 2e | 32 35 3b 20 31 2d 53 65 |rsion 2.|25; 1-Se|
|000000e0| 70 2d 39 34 2e 0a 3b 3b | 3b 20 6f 70 74 69 6d 69 |p-94..;;|; optimi|
|000000f0| 7a 61 74 69 6f 6e 20 69 | 73 20 6f 6e 2e 0a 3b 3b |zation i|s on..;;|
|00000100| 3b 20 74 68 69 73 20 66 | 69 6c 65 20 75 73 65 73 |; this f|ile uses|
|00000110| 20 6f 70 63 6f 64 65 73 | 20 77 68 69 63 68 20 64 | opcodes| which d|
|00000120| 6f 20 6e 6f 74 20 65 78 | 69 73 74 20 69 6e 20 45 |o not ex|ist in E|
|00000130| 6d 61 63 73 20 31 38 2e | 0a 0a 28 69 66 20 28 61 |macs 18.|..(if (a|
|00000140| 6e 64 20 28 62 6f 75 6e | 64 70 20 27 65 6d 61 63 |nd (boun|dp 'emac|
|00000150| 73 2d 76 65 72 73 69 6f | 6e 29 0a 09 20 28 6f 72 |s-versio|n).. (or|
|00000160| 20 28 61 6e 64 20 28 62 | 6f 75 6e 64 70 20 27 65 | (and (b|oundp 'e|
|00000170| 70 6f 63 68 3a 3a 76 65 | 72 73 69 6f 6e 29 20 65 |poch::ve|rsion) e|
|00000180| 70 6f 63 68 3a 3a 76 65 | 72 73 69 6f 6e 29 0a 09 |poch::ve|rsion)..|
|00000190| 20 20 20 20 20 28 73 74 | 72 69 6e 67 2d 6c 65 73 | (st|ring-les|
|000001a0| 73 70 20 65 6d 61 63 73 | 2d 76 65 72 73 69 6f 6e |sp emacs|-version|
|000001b0| 20 22 31 39 22 29 29 29 | 0a 20 20 20 20 28 65 72 | "19")))|. (er|
|000001c0| 72 6f 72 20 22 54 68 69 | 73 20 66 69 6c 65 20 77 |ror "Thi|s file w|
|000001d0| 61 73 20 63 6f 6d 70 69 | 6c 65 64 20 66 6f 72 20 |as compi|led for |
|000001e0| 45 6d 61 63 73 20 31 39 | 2e 22 29 29 0a 0a 28 66 |Emacs 19|."))..(f|
|000001f0| 73 65 74 20 27 63 61 6c | 65 6e 64 61 72 2d 76 65 |set 'cal|endar-ve|
|00000200| 72 73 69 6f 6e 20 23 5b | 6e 69 6c 20 22 c0 c1 21 |rsion #[|nil "..!|
|00000210| 87 22 20 5b 6d 65 73 73 | 61 67 65 20 22 56 65 72 |." [mess|age "Ver|
|00000220| 73 69 6f 6e 20 35 2e 33 | 2c 20 4a 61 6e 75 61 72 |sion 5.3|, Januar|
|00000230| 79 20 32 35 2c 20 31 39 | 39 34 22 5d 20 32 20 6e |y 25, 19|94"] 2 n|
|00000240| 69 6c 20 6e 69 6c 5d 29 | 0a 28 64 65 66 76 61 72 |il nil])|.(defvar|
|00000250| 20 63 61 6c 65 6e 64 61 | 72 2d 77 65 65 6b 2d 73 | calenda|r-week-s|
|00000260| 74 61 72 74 2d 64 61 79 | 20 30 20 22 5c 0a 2a 54 |tart-day| 0 "\.*T|
|00000270| 68 65 20 64 61 79 20 6f | 66 20 74 68 65 20 77 65 |he day o|f the we|
|00000280| 65 6b 20 6f 6e 20 77 68 | 69 63 68 20 61 20 77 65 |ek on wh|ich a we|
|00000290| 65 6b 20 69 6e 20 74 68 | 65 20 63 61 6c 65 6e 64 |ek in th|e calend|
|000002a0| 61 72 20 62 65 67 69 6e | 73 2e 0a 30 20 6d 65 61 |ar begin|s..0 mea|
|000002b0| 6e 73 20 53 75 6e 64 61 | 79 20 28 64 65 66 61 75 |ns Sunda|y (defau|
|000002c0| 6c 74 29 2c 20 31 20 6d | 65 61 6e 73 20 4d 6f 6e |lt), 1 m|eans Mon|
|000002d0| 64 61 79 2c 20 61 6e 64 | 20 73 6f 20 6f 6e 2e 22 |day, and| so on."|
|000002e0| 29 0a 28 64 65 66 76 61 | 72 20 63 61 6c 65 6e 64 |).(defva|r calend|
|000002f0| 61 72 2d 6f 66 66 73 65 | 74 20 30 20 22 5c 0a 2a |ar-offse|t 0 "\.*|
|00000300| 54 68 65 20 6f 66 66 73 | 65 74 20 6f 66 20 74 68 |The offs|et of th|
|00000310| 65 20 70 72 69 6e 63 69 | 70 61 6c 20 6d 6f 6e 74 |e princi|pal mont|
|00000320| 68 20 66 72 6f 6d 20 74 | 68 65 20 63 65 6e 74 65 |h from t|he cente|
|00000330| 72 20 6f 66 20 74 68 65 | 20 63 61 6c 65 6e 64 61 |r of the| calenda|
|00000340| 72 20 77 69 6e 64 6f 77 | 2e 0a 30 20 6d 65 61 6e |r window|..0 mean|
|00000350| 73 20 74 68 65 20 70 72 | 69 6e 63 69 70 61 6c 20 |s the pr|incipal |
|00000360| 6d 6f 6e 74 68 20 69 73 | 20 69 6e 20 74 68 65 20 |month is| in the |
|00000370| 63 65 6e 74 65 72 20 28 | 64 65 66 61 75 6c 74 29 |center (|default)|
|00000380| 2c 20 2d 31 20 6d 65 61 | 6e 73 20 6f 6e 20 74 68 |, -1 mea|ns on th|
|00000390| 65 20 6c 65 66 74 2c 0a | 2b 31 20 6d 65 61 6e 73 |e left,.|+1 means|
|000003a0| 20 6f 6e 20 74 68 65 20 | 72 69 67 68 74 2e 20 20 | on the |right. |
|000003b0| 4c 61 72 67 65 72 20 28 | 6f 72 20 73 6d 61 6c 6c |Larger (|or small|
|000003c0| 65 72 29 20 76 61 6c 75 | 65 73 20 70 75 73 68 20 |er) valu|es push |
|000003d0| 74 68 65 20 70 72 69 6e | 63 69 70 61 6c 20 6d 6f |the prin|cipal mo|
|000003e0| 6e 74 68 20 6f 66 66 0a | 74 68 65 20 73 63 72 65 |nth off.|the scre|
|000003f0| 65 6e 2e 22 29 0a 28 64 | 65 66 76 61 72 20 76 69 |en.").(d|efvar vi|
|00000400| 65 77 2d 64 69 61 72 79 | 2d 65 6e 74 72 69 65 73 |ew-diary|-entries|
|00000410| 2d 69 6e 69 74 69 61 6c | 6c 79 20 6e 69 6c 20 22 |-initial|ly nil "|
|00000420| 5c 0a 2a 4e 6f 6e 2d 6e | 69 6c 20 6d 65 61 6e 73 |\.*Non-n|il means|
|00000430| 20 64 69 73 70 6c 61 79 | 20 63 75 72 72 65 6e 74 | display| current|
|00000440| 20 64 61 74 65 27 73 20 | 64 69 61 72 79 20 65 6e | date's |diary en|
|00000450| 74 72 69 65 73 20 6f 6e | 20 65 6e 74 72 79 2e 0a |tries on| entry..|
|00000460| 54 68 65 20 64 69 61 72 | 79 20 69 73 20 64 69 73 |The diar|y is dis|
|00000470| 70 6c 61 79 65 64 20 69 | 6e 20 61 6e 6f 74 68 65 |played i|n anothe|
|00000480| 72 20 77 69 6e 64 6f 77 | 20 77 68 65 6e 20 74 68 |r window| when th|
|00000490| 65 20 63 61 6c 65 6e 64 | 61 72 20 69 73 20 66 69 |e calend|ar is fi|
|000004a0| 72 73 74 20 64 69 73 70 | 6c 61 79 65 64 2c 0a 69 |rst disp|layed,.i|
|000004b0| 66 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 64 61 |f the cu|rrent da|
|000004c0| 74 65 20 69 73 20 76 69 | 73 69 62 6c 65 2e 20 20 |te is vi|sible. |
|000004d0| 54 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 64 61 |The numb|er of da|
|000004e0| 79 73 20 6f 66 20 64 69 | 61 72 79 20 65 6e 74 72 |ys of di|ary entr|
|000004f0| 69 65 73 20 64 69 73 70 | 6c 61 79 65 64 0a 69 73 |ies disp|layed.is|
|00000500| 20 67 6f 76 65 72 6e 65 | 64 20 62 79 20 74 68 65 | governe|d by the|
|00000510| 20 76 61 72 69 61 62 6c | 65 20 60 6e 75 6d 62 65 | variabl|e `numbe|
|00000520| 72 2d 6f 66 2d 64 69 61 | 72 79 2d 65 6e 74 72 69 |r-of-dia|ry-entri|
|00000530| 65 73 27 2e 22 29 0a 28 | 64 65 66 76 61 72 20 6e |es'.").(|defvar n|
|00000540| 75 6d 62 65 72 2d 6f 66 | 2d 64 69 61 72 79 2d 65 |umber-of|-diary-e|
|00000550| 6e 74 72 69 65 73 20 31 | 20 22 5c 0a 2a 53 70 65 |ntries 1| "\.*Spe|
|00000560| 63 69 66 69 65 73 20 68 | 6f 77 20 6d 61 6e 79 20 |cifies h|ow many |
|00000570| 64 61 79 73 20 6f 66 20 | 64 69 61 72 79 20 65 6e |days of |diary en|
|00000580| 74 72 69 65 73 20 61 72 | 65 20 74 6f 20 62 65 20 |tries ar|e to be |
|00000590| 64 69 73 70 6c 61 79 65 | 64 20 69 6e 69 74 69 61 |displaye|d initia|
|000005a0| 6c 6c 79 2e 0a 54 68 69 | 73 20 76 61 72 69 61 62 |lly..Thi|s variab|
|000005b0| 6c 65 20 61 66 66 65 63 | 74 73 20 74 68 65 20 64 |le affec|ts the d|
|000005c0| 69 61 72 79 20 64 69 73 | 70 6c 61 79 20 77 68 65 |iary dis|play whe|
|000005d0| 6e 20 74 68 65 20 63 6f | 6d 6d 61 6e 64 20 4d 2d |n the co|mmand M-|
|000005e0| 78 20 64 69 61 72 79 20 | 69 73 20 75 73 65 64 2c |x diary |is used,|
|000005f0| 0a 6f 72 20 69 66 20 74 | 68 65 20 76 61 6c 75 65 |.or if t|he value|
|00000600| 20 6f 66 20 74 68 65 20 | 76 61 72 69 61 62 6c 65 | of the |variable|
|00000610| 20 60 76 69 65 77 2d 64 | 69 61 72 79 2d 65 6e 74 | `view-d|iary-ent|
|00000620| 72 69 65 73 2d 69 6e 69 | 74 69 61 6c 6c 79 27 20 |ries-ini|tially' |
|00000630| 69 73 20 74 2e 20 20 46 | 6f 72 0a 65 78 61 6d 70 |is t. F|or.examp|
|00000640| 6c 65 2c 20 69 66 20 74 | 68 65 20 64 65 66 61 75 |le, if t|he defau|
|00000650| 6c 74 20 76 61 6c 75 65 | 20 31 20 69 73 20 75 73 |lt value| 1 is us|
|00000660| 65 64 2c 20 74 68 65 6e | 20 6f 6e 6c 79 20 74 68 |ed, then| only th|
|00000670| 65 20 63 75 72 72 65 6e | 74 20 64 61 79 27 73 20 |e curren|t day's |
|00000680| 64 69 61 72 79 0a 65 6e | 74 72 69 65 73 20 77 69 |diary.en|tries wi|
|00000690| 6c 6c 20 62 65 20 64 69 | 73 70 6c 61 79 65 64 2e |ll be di|splayed.|
|000006a0| 20 20 49 66 20 74 68 65 | 20 76 61 6c 75 65 20 32 | If the| value 2|
|000006b0| 20 69 73 20 75 73 65 64 | 2c 20 74 68 65 6e 20 62 | is used|, then b|
|000006c0| 6f 74 68 20 74 68 65 20 | 63 75 72 72 65 6e 74 0a |oth the |current.|
|000006d0| 64 61 79 27 73 20 61 6e | 64 20 74 68 65 20 6e 65 |day's an|d the ne|
|000006e0| 78 74 20 64 61 79 27 73 | 20 65 6e 74 72 69 65 73 |xt day's| entries|
|000006f0| 20 77 69 6c 6c 20 62 65 | 20 64 69 73 70 6c 61 79 | will be| display|
|00000700| 65 64 2e 0a 0a 54 68 65 | 20 76 61 6c 75 65 20 63 |ed...The| value c|
|00000710| 61 6e 20 61 6c 73 6f 20 | 62 65 20 61 20 76 65 63 |an also |be a vec|
|00000720| 74 6f 72 20 73 75 63 68 | 20 61 73 20 5b 30 20 32 |tor such| as [0 2|
|00000730| 20 32 20 32 20 32 20 34 | 20 31 5d 3b 20 74 68 69 | 2 2 2 4| 1]; thi|
|00000740| 73 20 76 61 6c 75 65 0a | 73 61 79 73 20 74 6f 20 |s value.|says to |
|00000750| 64 69 73 70 6c 61 79 20 | 6e 6f 20 64 69 61 72 79 |display |no diary|
|00000760| 20 65 6e 74 72 69 65 73 | 20 6f 6e 20 53 75 6e 64 | entries| on Sund|
|00000770| 61 79 2c 20 74 68 65 20 | 64 69 73 70 6c 61 79 20 |ay, the |display |
|00000780| 74 68 65 20 65 6e 74 72 | 69 65 73 0a 66 6f 72 20 |the entr|ies.for |
|00000790| 74 68 65 20 63 75 72 72 | 65 6e 74 20 64 61 74 65 |the curr|ent date|
|000007a0| 20 61 6e 64 20 74 68 65 | 20 64 61 79 20 61 66 74 | and the| day aft|
|000007b0| 65 72 20 6f 6e 20 4d 6f | 6e 64 61 79 20 74 68 72 |er on Mo|nday thr|
|000007c0| 6f 75 67 68 20 54 68 75 | 72 73 64 61 79 2c 0a 64 |ough Thu|rsday,.d|
|000007d0| 69 73 70 6c 61 79 20 46 | 72 69 64 61 79 20 74 68 |isplay F|riday th|
|000007e0| 72 6f 75 67 68 20 4d 6f | 6e 64 61 79 27 73 20 65 |rough Mo|nday's e|
|000007f0| 6e 74 72 69 65 73 20 6f | 6e 20 46 72 69 64 61 79 |ntries o|n Friday|
|00000800| 2c 20 61 6e 64 20 64 69 | 73 70 6c 61 79 20 6f 6e |, and di|splay on|
|00000810| 6c 79 0a 53 61 74 75 72 | 64 61 79 27 73 20 65 6e |ly.Satur|day's en|
|00000820| 74 72 69 65 73 20 6f 6e | 20 53 61 74 75 72 64 61 |tries on| Saturda|
|00000830| 79 2e 0a 0a 54 68 69 73 | 20 76 61 72 69 61 62 6c |y...This| variabl|
|00000840| 65 20 64 6f 65 73 20 6e | 6f 74 20 61 66 66 65 63 |e does n|ot affec|
|00000850| 74 20 74 68 65 20 64 69 | 61 72 79 20 64 69 73 70 |t the di|ary disp|
|00000860| 6c 61 79 20 77 69 74 68 | 20 74 68 65 20 60 64 27 |lay with| the `d'|
|00000870| 20 63 6f 6d 6d 61 6e 64 | 0a 66 72 6f 6d 20 74 68 | command|.from th|
|00000880| 65 20 63 61 6c 65 6e 64 | 61 72 3b 20 69 6e 20 74 |e calend|ar; in t|
|00000890| 68 61 74 20 63 61 73 65 | 2c 20 74 68 65 20 70 72 |hat case|, the pr|
|000008a0| 65 66 69 78 20 61 72 67 | 75 6d 65 6e 74 20 63 6f |efix arg|ument co|
|000008b0| 6e 74 72 6f 6c 73 20 74 | 68 65 0a 6e 75 6d 62 65 |ntrols t|he.numbe|
|000008c0| 72 20 6f 66 20 64 61 79 | 73 20 6f 66 20 64 69 61 |r of day|s of dia|
|000008d0| 72 79 20 65 6e 74 72 69 | 65 73 20 64 69 73 70 6c |ry entri|es displ|
|000008e0| 61 79 65 64 2e 22 29 0a | 28 64 65 66 76 61 72 20 |ayed.").|(defvar |
|000008f0| 6d 61 72 6b 2d 64 69 61 | 72 79 2d 65 6e 74 72 69 |mark-dia|ry-entri|
|00000900| 65 73 2d 69 6e 2d 63 61 | 6c 65 6e 64 61 72 20 6e |es-in-ca|lendar n|
|00000910| 69 6c 20 22 5c 0a 2a 4e | 6f 6e 2d 6e 69 6c 20 6d |il "\.*N|on-nil m|
|00000920| 65 61 6e 73 20 6d 61 72 | 6b 20 64 61 74 65 73 20 |eans mar|k dates |
|00000930| 77 69 74 68 20 64 69 61 | 72 79 20 65 6e 74 72 69 |with dia|ry entri|
|00000940| 65 73 2c 20 69 6e 20 74 | 68 65 20 63 61 6c 65 6e |es, in t|he calen|
|00000950| 64 61 72 20 77 69 6e 64 | 6f 77 2e 0a 54 68 65 20 |dar wind|ow..The |
|00000960| 6d 61 72 6b 69 6e 67 20 | 73 79 6d 62 6f 6c 20 69 |marking |symbol i|
|00000970| 73 20 73 70 65 63 69 66 | 69 65 64 20 62 79 20 74 |s specif|ied by t|
|00000980| 68 65 20 76 61 72 69 61 | 62 6c 65 20 60 64 69 61 |he varia|ble `dia|
|00000990| 72 79 2d 65 6e 74 72 79 | 2d 6d 61 72 6b 65 72 27 |ry-entry|-marker'|
|000009a0| 2e 22 29 0a 28 64 65 66 | 76 61 72 20 64 69 61 72 |.").(def|var diar|
|000009b0| 79 2d 65 6e 74 72 79 2d | 6d 61 72 6b 65 72 20 28 |y-entry-|marker (|
|000009c0| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 c1 21 88 c2 |byte-cod|e "..!..|
|000009d0| c1 21 ac b7 c3 c1 c4 c5 | c6 24 88 c7 c1 c8 c5 c9 |.!......|.$......|
|000009e0| 24 88 ca cb 21 ab a4 cb | cc cd 21 21 ce cf 44 ce |$...!...|..!!..D.|
|000009f0| d0 44 1e 11 1e 12 1e 13 | d4 c1 0e 13 c5 0e 12 24 |.D......|.......$|
|00000a00| 88 d4 c1 0e 13 c5 0e 11 | 24 88 2b c1 87 22 20 5b |........|$.+.." [|
|00000a10| 6d 61 6b 65 2d 66 61 63 | 65 20 64 69 61 72 79 2d |make-fac|e diary-|
|00000a20| 66 61 63 65 20 66 61 63 | 65 2d 64 69 66 66 65 72 |face fac|e-differ|
|00000a30| 73 2d 66 72 6f 6d 2d 64 | 65 66 61 75 6c 74 2d 70 |s-from-d|efault-p|
|00000a40| 20 73 65 74 2d 66 61 63 | 65 2d 66 6f 72 65 67 72 | set-fac|e-foregr|
|00000a50| 6f 75 6e 64 20 22 72 65 | 64 22 20 67 6c 6f 62 61 |ound "re|d" globa|
|00000a60| 6c 20 28 78 20 63 6f 6c | 6f 72 29 20 73 65 74 2d |l (x col|or) set-|
|00000a70| 66 61 63 65 2d 68 69 67 | 68 6c 69 67 68 74 2d 70 |face-hig|hlight-p|
|00000a80| 20 74 20 74 74 79 20 66 | 62 6f 75 6e 64 70 20 78 | t tty f|boundp x|
|00000a90| 2d 6d 61 6b 65 2d 66 6f | 6e 74 2d 62 6f 6c 64 20 |-make-fo|nt-bold |
|00000aa0| 66 61 63 65 2d 66 6f 6e | 74 2d 69 6e 73 74 61 6e |face-fon|t-instan|
|00000ab0| 63 65 20 64 65 66 61 75 | 6c 74 20 78 20 6d 6f 6e |ce defau|lt x mon|
|00000ac0| 6f 20 67 72 61 79 73 63 | 61 6c 65 20 67 72 61 79 |o graysc|ale gray|
|00000ad0| 2d 74 61 67 20 6d 6f 6e | 6f 2d 74 61 67 20 62 66 |-tag mon|o-tag bf|
|00000ae0| 6f 6e 74 20 73 65 74 2d | 66 61 63 65 2d 66 6f 6e |ont set-|face-fon|
|00000af0| 74 5d 20 35 29 20 22 5c | 0a 2a 55 73 65 64 20 74 |t] 5) "\|.*Used t|
|00000b00| 6f 20 6d 61 72 6b 20 64 | 61 74 65 73 20 74 68 61 |o mark d|ates tha|
|00000b10| 74 20 68 61 76 65 20 64 | 69 61 72 79 20 65 6e 74 |t have d|iary ent|
|00000b20| 72 69 65 73 2e 0a 43 61 | 6e 20 62 65 20 65 69 74 |ries..Ca|n be eit|
|00000b30| 68 65 72 20 61 20 73 69 | 6e 67 6c 65 2d 63 68 61 |her a si|ngle-cha|
|00000b40| 72 61 63 74 65 72 20 73 | 74 72 69 6e 67 20 6f 72 |racter s|tring or|
|00000b50| 20 61 20 66 61 63 65 2e | 22 29 0a 28 64 65 66 76 | a face.|").(defv|
|00000b60| 61 72 20 63 61 6c 65 6e | 64 61 72 2d 74 6f 64 61 |ar calen|dar-toda|
|00000b70| 79 2d 6d 61 72 6b 65 72 | 20 28 62 79 74 65 2d 63 |y-marker| (byte-c|
|00000b80| 6f 64 65 20 22 c0 c1 21 | 88 c2 c1 21 ac 85 c3 c1 |ode "..!|...!....|
|00000b90| c4 5c 22 88 c1 87 22 20 | 5b 6d 61 6b 65 2d 66 61 |.\"..." |[make-fa|
|00000ba0| 63 65 20 63 61 6c 65 6e | 64 61 72 2d 74 6f 64 61 |ce calen|dar-toda|
|00000bb0| 79 2d 66 61 63 65 20 66 | 61 63 65 2d 64 69 66 66 |y-face f|ace-diff|
|00000bc0| 65 72 73 2d 66 72 6f 6d | 2d 64 65 66 61 75 6c 74 |ers-from|-default|
|00000bd0| 2d 70 20 73 65 74 2d 66 | 61 63 65 2d 75 6e 64 65 |-p set-f|ace-unde|
|00000be0| 72 6c 69 6e 65 2d 70 20 | 74 5d 20 33 29 20 22 5c |rline-p |t] 3) "\|
|00000bf0| 0a 2a 55 73 65 64 20 74 | 6f 20 6d 61 72 6b 20 74 |.*Used t|o mark t|
|00000c00| 6f 64 61 79 27 73 20 64 | 61 74 65 2e 0a 43 61 6e |oday's d|ate..Can|
|00000c10| 20 62 65 20 65 69 74 68 | 65 72 20 61 20 73 69 6e | be eith|er a sin|
|00000c20| 67 6c 65 2d 63 68 61 72 | 61 63 74 65 72 20 73 74 |gle-char|acter st|
|00000c30| 72 69 6e 67 20 6f 72 20 | 61 20 66 61 63 65 2e 22 |ring or |a face."|
|00000c40| 29 0a 28 64 65 66 76 61 | 72 20 63 61 6c 65 6e 64 |).(defva|r calend|
|00000c50| 61 72 2d 68 6f 6c 69 64 | 61 79 2d 6d 61 72 6b 65 |ar-holid|ay-marke|
|00000c60| 72 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 c1 |r (byte-|code "..|
|00000c70| 21 88 c2 c1 21 ac bf c3 | c4 44 c3 c5 44 c3 c6 44 |!...!...|.D..D..D|
|00000c80| 1e 07 1e 08 1e 09 ca c1 | cb cc 0e 08 24 88 cd c1 |........|....$...|
|00000c90| ce cc 0e 08 24 88 ca c1 | cf cc 0e 07 24 88 cd c1 |....$...|....$...|
|00000ca0| d0 cc 0e 07 24 88 ca c1 | d1 cc 0e 09 24 88 d2 c1 |....$...|....$...|
|00000cb0| d3 cc d4 24 88 2b c1 87 | 22 20 5b 6d 61 6b 65 2d |...$.+..|" [make-|
|00000cc0| 66 61 63 65 20 68 6f 6c | 69 64 61 79 2d 66 61 63 |face hol|iday-fac|
|00000cd0| 65 20 66 61 63 65 2d 64 | 69 66 66 65 72 73 2d 66 |e face-d|iffers-f|
|00000ce0| 72 6f 6d 2d 64 65 66 61 | 75 6c 74 2d 70 20 78 20 |rom-defa|ult-p x |
|00000cf0| 63 6f 6c 6f 72 20 6d 6f | 6e 6f 20 67 72 61 79 73 |color mo|no grays|
|00000d00| 63 61 6c 65 20 67 72 61 | 79 2d 74 61 67 20 6d 6f |cale gra|y-tag mo|
|00000d10| 6e 6f 2d 74 61 67 20 63 | 6f 6c 6f 72 2d 74 61 67 |no-tag c|olor-tag|
|00000d20| 20 73 65 74 2d 66 61 63 | 65 2d 62 61 63 6b 67 72 | set-fac|e-backgr|
|00000d30| 6f 75 6e 64 20 5b 64 65 | 66 61 75 6c 74 20 66 6f |ound [de|fault fo|
|00000d40| 72 65 67 72 6f 75 6e 64 | 5d 20 67 6c 6f 62 61 6c |reground|] global|
|00000d50| 20 73 65 74 2d 66 61 63 | 65 2d 66 6f 72 65 67 72 | set-fac|e-foregr|
|00000d60| 6f 75 6e 64 20 5b 64 65 | 66 61 75 6c 74 20 62 61 |ound [de|fault ba|
|00000d70| 63 6b 67 72 6f 75 6e 64 | 5d 20 5b 64 65 66 61 75 |ckground|] [defau|
|00000d80| 6c 74 20 66 6f 72 65 67 | 72 6f 75 6e 64 5d 20 5b |lt foreg|round] [|
|00000d90| 64 65 66 61 75 6c 74 20 | 62 61 63 6b 67 72 6f 75 |default |backgrou|
|00000da0| 6e 64 5d 20 22 70 69 6e | 6b 22 20 73 65 74 2d 66 |nd] "pin|k" set-f|
|00000db0| 61 63 65 2d 72 65 76 65 | 72 73 65 2d 70 20 74 20 |ace-reve|rse-p t |
|00000dc0| 74 74 79 5d 20 35 29 20 | 22 5c 0a 2a 55 73 65 64 |tty] 5) |"\.*Used|
|00000dd0| 20 74 6f 20 6d 61 72 6b | 20 6e 6f 74 61 62 6c 65 | to mark| notable|
|00000de0| 20 64 61 74 65 73 20 69 | 6e 20 74 68 65 20 63 61 | dates i|n the ca|
|00000df0| 6c 65 6e 64 61 72 2e 0a | 43 61 6e 20 62 65 20 65 |lendar..|Can be e|
|00000e00| 69 74 68 65 72 20 61 20 | 73 69 6e 67 6c 65 2d 63 |ither a |single-c|
|00000e10| 68 61 72 61 63 74 65 72 | 20 73 74 72 69 6e 67 20 |haracter| string |
|00000e20| 6f 72 20 61 20 66 61 63 | 65 2e 22 29 0a 28 64 65 |or a fac|e.").(de|
|00000e30| 66 76 61 72 20 76 69 65 | 77 2d 63 61 6c 65 6e 64 |fvar vie|w-calend|
|00000e40| 61 72 2d 68 6f 6c 69 64 | 61 79 73 2d 69 6e 69 74 |ar-holid|ays-init|
|00000e50| 69 61 6c 6c 79 20 6e 69 | 6c 20 22 5c 0a 2a 4e 6f |ially ni|l "\.*No|
|00000e60| 6e 2d 6e 69 6c 20 6d 65 | 61 6e 73 20 64 69 73 70 |n-nil me|ans disp|
|00000e70| 6c 61 79 20 68 6f 6c 69 | 64 61 79 73 20 66 6f 72 |lay holi|days for|
|00000e80| 20 63 75 72 72 65 6e 74 | 20 74 68 72 65 65 20 6d | current| three m|
|00000e90| 6f 6e 74 68 20 70 65 72 | 69 6f 64 20 6f 6e 20 65 |onth per|iod on e|
|00000ea0| 6e 74 72 79 2e 0a 54 68 | 65 20 68 6f 6c 69 64 61 |ntry..Th|e holida|
|00000eb0| 79 73 20 61 72 65 20 64 | 69 73 70 6c 61 79 65 64 |ys are d|isplayed|
|00000ec0| 20 69 6e 20 61 6e 6f 74 | 68 65 72 20 77 69 6e 64 | in anot|her wind|
|00000ed0| 6f 77 20 77 68 65 6e 20 | 74 68 65 20 63 61 6c 65 |ow when |the cale|
|00000ee0| 6e 64 61 72 20 69 73 20 | 66 69 72 73 74 0a 64 69 |ndar is |first.di|
|00000ef0| 73 70 6c 61 79 65 64 2e | 22 29 0a 28 64 65 66 76 |splayed.|").(defv|
|00000f00| 61 72 20 6d 61 72 6b 2d | 68 6f 6c 69 64 61 79 73 |ar mark-|holidays|
|00000f10| 2d 69 6e 2d 63 61 6c 65 | 6e 64 61 72 20 6e 69 6c |-in-cale|ndar nil|
|00000f20| 20 22 5c 0a 2a 4e 6f 6e | 2d 6e 69 6c 20 6d 65 61 | "\.*Non|-nil mea|
|00000f30| 6e 73 20 6d 61 72 6b 20 | 64 61 74 65 73 20 6f 66 |ns mark |dates of|
|00000f40| 20 68 6f 6c 69 64 61 79 | 73 20 69 6e 20 74 68 65 | holiday|s in the|
|00000f50| 20 63 61 6c 65 6e 64 61 | 72 20 77 69 6e 64 6f 77 | calenda|r window|
|00000f60| 2e 0a 54 68 65 20 6d 61 | 72 6b 69 6e 67 20 73 79 |..The ma|rking sy|
|00000f70| 6d 62 6f 6c 20 69 73 20 | 73 70 65 63 69 66 69 65 |mbol is |specifie|
|00000f80| 64 20 62 79 20 74 68 65 | 20 76 61 72 69 61 62 6c |d by the| variabl|
|00000f90| 65 20 60 63 61 6c 65 6e | 64 61 72 2d 68 6f 6c 69 |e `calen|dar-holi|
|00000fa0| 64 61 79 2d 6d 61 72 6b | 65 72 27 2e 22 29 0a 28 |day-mark|er'.").(|
|00000fb0| 64 65 66 76 61 72 20 61 | 6c 6c 2d 68 65 62 72 65 |defvar a|ll-hebre|
|00000fc0| 77 2d 63 61 6c 65 6e 64 | 61 72 2d 68 6f 6c 69 64 |w-calend|ar-holid|
|00000fd0| 61 79 73 20 6e 69 6c 20 | 22 5c 0a 2a 49 66 20 6e |ays nil |"\.*If n|
|00000fe0| 69 6c 2c 20 73 68 6f 77 | 20 6f 6e 6c 79 20 6d 61 |il, show| only ma|
|00000ff0| 6a 6f 72 20 68 6f 6c 69 | 64 61 79 73 20 66 72 6f |jor holi|days fro|
|00001000| 6d 20 74 68 65 20 48 65 | 62 72 65 77 20 63 61 6c |m the He|brew cal|
|00001010| 65 6e 64 61 72 2e 0a 54 | 68 69 73 20 6d 65 61 6e |endar..T|his mean|
|00001020| 73 20 6f 6e 6c 79 20 74 | 68 6f 73 65 20 4a 65 77 |s only t|hose Jew|
|00001030| 69 73 68 20 68 6f 6c 69 | 64 61 79 73 20 74 68 61 |ish holi|days tha|
|00001040| 74 20 61 70 70 65 61 72 | 20 6f 6e 20 73 65 63 75 |t appear| on secu|
|00001050| 6c 61 72 20 63 61 6c 65 | 6e 64 61 72 73 2e 0a 0a |lar cale|ndars...|
|00001060| 49 66 20 74 2c 20 73 68 | 6f 77 20 61 6c 6c 20 74 |If t, sh|ow all t|
|00001070| 68 65 20 68 6f 6c 69 64 | 61 79 73 20 74 68 61 74 |he holid|ays that|
|00001080| 20 77 6f 75 6c 64 20 61 | 70 70 65 61 72 20 69 6e | would a|ppear in|
|00001090| 20 61 20 63 6f 6d 70 6c | 65 74 65 20 48 65 62 72 | a compl|ete Hebr|
|000010a0| 65 77 20 63 61 6c 65 6e | 64 61 72 2e 22 29 0a 28 |ew calen|dar.").(|
|000010b0| 64 65 66 76 61 72 20 61 | 6c 6c 2d 63 68 72 69 73 |defvar a|ll-chris|
|000010c0| 74 69 61 6e 2d 63 61 6c | 65 6e 64 61 72 2d 68 6f |tian-cal|endar-ho|
|000010d0| 6c 69 64 61 79 73 20 6e | 69 6c 20 22 5c 0a 2a 49 |lidays n|il "\.*I|
|000010e0| 66 20 6e 69 6c 2c 20 73 | 68 6f 77 20 6f 6e 6c 79 |f nil, s|how only|
|000010f0| 20 6d 61 6a 6f 72 20 68 | 6f 6c 69 64 61 79 73 20 | major h|olidays |
|00001100| 66 72 6f 6d 20 74 68 65 | 20 43 68 72 69 73 74 69 |from the| Christi|
|00001110| 61 6e 20 63 61 6c 65 6e | 64 61 72 2e 0a 54 68 69 |an calen|dar..Thi|
|00001120| 73 20 6d 65 61 6e 73 20 | 6f 6e 6c 79 20 74 68 6f |s means |only tho|
|00001130| 73 65 20 43 68 72 69 73 | 74 69 61 6e 20 68 6f 6c |se Chris|tian hol|
|00001140| 69 64 61 79 73 20 74 68 | 61 74 20 61 70 70 65 61 |idays th|at appea|
|00001150| 72 20 6f 6e 20 73 65 63 | 75 6c 61 72 20 63 61 6c |r on sec|ular cal|
|00001160| 65 6e 64 61 72 73 2e 0a | 0a 49 66 20 74 2c 20 73 |endars..|.If t, s|
|00001170| 68 6f 77 20 61 6c 6c 20 | 74 68 65 20 68 6f 6c 69 |how all |the holi|
|00001180| 64 61 79 73 20 74 68 61 | 74 20 77 6f 75 6c 64 20 |days tha|t would |
|00001190| 61 70 70 65 61 72 20 69 | 6e 20 61 20 63 6f 6d 70 |appear i|n a comp|
|000011a0| 6c 65 74 65 20 43 68 72 | 69 73 74 69 61 6e 0a 63 |lete Chr|istian.c|
|000011b0| 61 6c 65 6e 64 61 72 2e | 22 29 0a 28 64 65 66 76 |alendar.|").(defv|
|000011c0| 61 72 20 61 6c 6c 2d 69 | 73 6c 61 6d 69 63 2d 63 |ar all-i|slamic-c|
|000011d0| 61 6c 65 6e 64 61 72 2d | 68 6f 6c 69 64 61 79 73 |alendar-|holidays|
|000011e0| 20 6e 69 6c 20 22 5c 0a | 2a 49 66 20 6e 69 6c 2c | nil "\.|*If nil,|
|000011f0| 20 73 68 6f 77 20 6f 6e | 6c 79 20 6d 61 6a 6f 72 | show on|ly major|
|00001200| 20 68 6f 6c 69 64 61 79 | 73 20 66 72 6f 6d 20 74 | holiday|s from t|
|00001210| 68 65 20 49 73 6c 61 6d | 69 63 20 63 61 6c 65 6e |he Islam|ic calen|
|00001220| 64 61 72 2e 0a 54 68 69 | 73 20 6d 65 61 6e 73 20 |dar..Thi|s means |
|00001230| 6f 6e 6c 79 20 74 68 6f | 73 65 20 49 73 6c 61 6d |only tho|se Islam|
|00001240| 69 63 20 68 6f 6c 69 64 | 61 79 73 20 74 68 61 74 |ic holid|ays that|
|00001250| 20 61 70 70 65 61 72 20 | 6f 6e 20 73 65 63 75 6c | appear |on secul|
|00001260| 61 72 20 63 61 6c 65 6e | 64 61 72 73 2e 0a 0a 49 |ar calen|dars...I|
|00001270| 66 20 74 2c 20 73 68 6f | 77 20 61 6c 6c 20 74 68 |f t, sho|w all th|
|00001280| 65 20 68 6f 6c 69 64 61 | 79 73 20 74 68 61 74 20 |e holida|ys that |
|00001290| 77 6f 75 6c 64 20 61 70 | 70 65 61 72 20 69 6e 20 |would ap|pear in |
|000012a0| 61 20 63 6f 6d 70 6c 65 | 74 65 20 49 73 6c 61 6d |a comple|te Islam|
|000012b0| 69 63 0a 63 61 6c 65 6e | 64 61 72 2e 22 29 0a 28 |ic.calen|dar.").(|
|000012c0| 64 65 66 76 61 72 20 63 | 61 6c 65 6e 64 61 72 2d |defvar c|alendar-|
|000012d0| 6c 6f 61 64 2d 68 6f 6f | 6b 20 6e 69 6c 20 22 5c |load-hoo|k nil "\|
|000012e0| 0a 2a 4c 69 73 74 20 6f | 66 20 66 75 6e 63 74 69 |.*List o|f functi|
|000012f0| 6f 6e 73 20 74 6f 20 62 | 65 20 63 61 6c 6c 65 64 |ons to b|e called|
|00001300| 20 61 66 74 65 72 20 74 | 68 65 20 63 61 6c 65 6e | after t|he calen|
|00001310| 64 61 72 20 69 73 20 66 | 69 72 73 74 20 6c 6f 61 |dar is f|irst loa|
|00001320| 64 65 64 2e 0a 54 68 69 | 73 20 69 73 20 74 68 65 |ded..Thi|s is the|
|00001330| 20 70 6c 61 63 65 20 74 | 6f 20 61 64 64 20 6b 65 | place t|o add ke|
|00001340| 79 20 62 69 6e 64 69 6e | 67 73 20 74 6f 20 60 63 |y bindin|gs to `c|
|00001350| 61 6c 65 6e 64 61 72 2d | 6d 6f 64 65 2d 6d 61 70 |alendar-|mode-map|
|00001360| 27 2e 22 29 0a 28 64 65 | 66 76 61 72 20 69 6e 69 |'.").(de|fvar ini|
|00001370| 74 69 61 6c 2d 63 61 6c | 65 6e 64 61 72 2d 77 69 |tial-cal|endar-wi|
|00001380| 6e 64 6f 77 2d 68 6f 6f | 6b 20 6e 69 6c 20 22 5c |ndow-hoo|k nil "\|
|00001390| 0a 2a 4c 69 73 74 20 6f | 66 20 66 75 6e 63 74 69 |.*List o|f functi|
|000013a0| 6f 6e 73 20 74 6f 20 62 | 65 20 63 61 6c 6c 65 64 |ons to b|e called|
|000013b0| 20 77 68 65 6e 20 74 68 | 65 20 63 61 6c 65 6e 64 | when th|e calend|
|000013c0| 61 72 20 77 69 6e 64 6f | 77 20 69 73 20 66 69 72 |ar windo|w is fir|
|000013d0| 73 74 20 6f 70 65 6e 65 | 64 2e 0a 54 68 65 20 66 |st opene|d..The f|
|000013e0| 75 6e 63 74 69 6f 6e 73 | 20 69 6e 76 6f 6b 65 64 |unctions| invoked|
|000013f0| 20 61 72 65 20 63 61 6c | 6c 65 64 20 61 66 74 65 | are cal|led afte|
|00001400| 72 20 74 68 65 20 63 61 | 6c 65 6e 64 61 72 20 77 |r the ca|lendar w|
|00001410| 69 6e 64 6f 77 20 69 73 | 20 6f 70 65 6e 65 64 2c |indow is| opened,|
|00001420| 20 62 75 74 0a 6f 6e 63 | 65 20 6f 70 65 6e 65 64 | but.onc|e opened|
|00001430| 20 69 73 20 6e 65 76 65 | 72 20 63 61 6c 6c 65 64 | is neve|r called|
|00001440| 20 61 67 61 69 6e 2e 20 | 20 4c 65 61 76 69 6e 67 | again. | Leaving|
|00001450| 20 74 68 65 20 63 61 6c | 65 6e 64 61 72 20 77 69 | the cal|endar wi|
|00001460| 74 68 20 74 68 65 20 60 | 71 27 20 63 6f 6d 6d 61 |th the `|q' comma|
|00001470| 6e 64 0a 61 6e 64 20 72 | 65 65 6e 74 65 72 69 6e |nd.and r|eenterin|
|00001480| 67 20 69 74 20 77 69 6c | 6c 20 63 61 75 73 65 20 |g it wil|l cause |
|00001490| 74 68 65 73 65 20 66 75 | 6e 63 74 69 6f 6e 73 20 |these fu|nctions |
|000014a0| 74 6f 20 62 65 20 63 61 | 6c 6c 65 64 20 61 67 61 |to be ca|lled aga|
|000014b0| 69 6e 2e 22 29 0a 28 64 | 65 66 76 61 72 20 74 6f |in.").(d|efvar to|
|000014c0| 64 61 79 2d 76 69 73 69 | 62 6c 65 2d 63 61 6c 65 |day-visi|ble-cale|
|000014d0| 6e 64 61 72 2d 68 6f 6f | 6b 20 6e 69 6c 20 22 5c |ndar-hoo|k nil "\|
|000014e0| 0a 2a 4c 69 73 74 20 6f | 66 20 66 75 6e 63 74 69 |.*List o|f functi|
|000014f0| 6f 6e 73 20 63 61 6c 6c | 65 64 20 77 68 65 6e 65 |ons call|ed whene|
|00001500| 76 65 72 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |ver the |current |
|00001510| 64 61 74 65 20 69 73 20 | 76 69 73 69 62 6c 65 2e |date is |visible.|
|00001520| 0a 54 68 69 73 20 63 61 | 6e 20 62 65 20 75 73 65 |.This ca|n be use|
|00001530| 64 2c 20 66 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |d, for e|xample, |
|00001540| 74 6f 20 72 65 70 6c 61 | 63 65 20 74 6f 64 61 79 |to repla|ce today|
|00001550| 27 73 20 64 61 74 65 20 | 77 69 74 68 20 61 73 74 |'s date |with ast|
|00001560| 65 72 69 73 6b 73 3b 20 | 61 0a 66 75 6e 63 74 69 |erisks; |a.functi|
|00001570| 6f 6e 20 60 63 61 6c 65 | 6e 64 61 72 2d 73 74 61 |on `cale|ndar-sta|
|00001580| 72 2d 64 61 74 65 27 20 | 69 73 20 69 6e 63 6c 75 |r-date' |is inclu|
|00001590| 64 65 64 20 66 6f 72 20 | 74 68 69 73 20 70 75 72 |ded for |this pur|
|000015a0| 70 6f 73 65 3a 0a 20 20 | 20 20 28 73 65 74 71 20 |pose:. | (setq |
|000015b0| 74 6f 64 61 79 2d 76 69 | 73 69 62 6c 65 2d 63 61 |today-vi|sible-ca|
|000015c0| 6c 65 6e 64 61 72 2d 68 | 6f 6f 6b 20 27 63 61 6c |lendar-h|ook 'cal|
|000015d0| 65 6e 64 61 72 2d 73 74 | 61 72 2d 64 61 74 65 29 |endar-st|ar-date)|
|000015e0| 0a 49 74 20 63 61 6e 20 | 61 6c 73 6f 20 62 65 20 |.It can |also be |
|000015f0| 75 73 65 64 20 74 6f 20 | 6d 61 72 6b 20 74 68 65 |used to |mark the|
|00001600| 20 63 75 72 72 65 6e 74 | 20 64 61 74 65 20 77 69 | current| date wi|
|00001610| 74 68 20 60 63 61 6c 65 | 6e 64 61 72 2d 74 6f 64 |th `cale|ndar-tod|
|00001620| 61 79 2d 6d 61 72 6b 65 | 72 27 3b 0a 61 20 66 75 |ay-marke|r';.a fu|
|00001630| 6e 63 74 69 6f 6e 20 69 | 73 20 61 6c 73 6f 20 70 |nction i|s also p|
|00001640| 72 6f 76 69 64 65 64 20 | 66 6f 72 20 74 68 69 73 |rovided |for this|
|00001650| 3a 0a 20 20 20 20 28 73 | 65 74 71 20 74 6f 64 61 |:. (s|etq toda|
|00001660| 79 2d 76 69 73 69 62 6c | 65 2d 63 61 6c 65 6e 64 |y-visibl|e-calend|
|00001670| 61 72 2d 68 6f 6f 6b 20 | 27 63 61 6c 65 6e 64 61 |ar-hook |'calenda|
|00001680| 72 2d 6d 61 72 6b 2d 74 | 6f 64 61 79 29 0a 0a 54 |r-mark-t|oday)..T|
|00001690| 68 65 20 63 6f 72 72 65 | 73 70 6f 6e 64 69 6e 67 |he corre|sponding|
|000016a0| 20 76 61 72 69 61 62 6c | 65 20 60 74 6f 64 61 79 | variabl|e `today|
|000016b0| 2d 69 6e 76 69 73 69 62 | 6c 65 2d 63 61 6c 65 6e |-invisib|le-calen|
|000016c0| 64 61 72 2d 68 6f 6f 6b | 27 20 69 73 20 74 68 65 |dar-hook|' is the|
|000016d0| 20 6c 69 73 74 20 6f 66 | 0a 66 75 6e 63 74 69 6f | list of|.functio|
|000016e0| 6e 73 20 63 61 6c 6c 65 | 64 20 77 68 65 6e 20 74 |ns calle|d when t|
|000016f0| 68 65 20 63 61 6c 65 6e | 64 61 72 20 66 75 6e 63 |he calen|dar func|
|00001700| 74 69 6f 6e 20 77 61 73 | 20 63 61 6c 6c 65 64 20 |tion was| called |
|00001710| 77 68 65 6e 20 74 68 65 | 20 63 75 72 72 65 6e 74 |when the| current|
|00001720| 0a 64 61 74 65 20 69 73 | 20 6e 6f 74 20 76 69 73 |.date is| not vis|
|00001730| 69 62 6c 65 20 69 6e 20 | 74 68 65 20 77 69 6e 64 |ible in |the wind|
|00001740| 6f 77 2e 0a 0a 4f 74 68 | 65 72 20 74 68 61 6e 20 |ow...Oth|er than |
|00001750| 74 68 65 20 75 73 65 20 | 6f 66 20 74 68 65 20 70 |the use |of the p|
|00001760| 72 6f 76 69 64 65 64 20 | 66 75 6e 63 74 69 6f 6e |rovided |function|
|00001770| 73 2c 20 74 68 65 20 63 | 68 61 6e 67 69 6e 67 20 |s, the c|hanging |
|00001780| 6f 66 20 61 6e 79 0a 63 | 68 61 72 61 63 74 65 72 |of any.c|haracter|
|00001790| 73 20 69 6e 20 74 68 65 | 20 63 61 6c 65 6e 64 61 |s in the| calenda|
|000017a0| 72 20 62 75 66 66 65 72 | 20 62 79 20 74 68 65 20 |r buffer| by the |
|000017b0| 68 6f 6f 6b 73 20 6d 61 | 79 20 63 61 75 73 65 20 |hooks ma|y cause |
|000017c0| 74 68 65 20 66 61 69 6c | 75 72 65 20 6f 66 20 74 |the fail|ure of t|
|000017d0| 68 65 0a 66 75 6e 63 74 | 69 6f 6e 73 20 74 68 61 |he.funct|ions tha|
|000017e0| 74 20 6d 6f 76 65 20 62 | 79 20 64 61 79 73 20 61 |t move b|y days a|
|000017f0| 6e 64 20 77 65 65 6b 73 | 2e 22 29 0a 28 64 65 66 |nd weeks|.").(def|
|00001800| 76 61 72 20 74 6f 64 61 | 79 2d 69 6e 76 69 73 69 |var toda|y-invisi|
|00001810| 62 6c 65 2d 63 61 6c 65 | 6e 64 61 72 2d 68 6f 6f |ble-cale|ndar-hoo|
|00001820| 6b 20 6e 69 6c 20 22 5c | 0a 2a 4c 69 73 74 20 6f |k nil "\|.*List o|
|00001830| 66 20 66 75 6e 63 74 69 | 6f 6e 73 20 63 61 6c 6c |f functi|ons call|
|00001840| 65 64 20 77 68 65 6e 65 | 76 65 72 20 74 68 65 20 |ed whene|ver the |
|00001850| 63 75 72 72 65 6e 74 20 | 64 61 74 65 20 69 73 20 |current |date is |
|00001860| 6e 6f 74 20 76 69 73 69 | 62 6c 65 2e 0a 0a 54 68 |not visi|ble...Th|
|00001870| 65 20 63 6f 72 72 65 73 | 70 6f 6e 64 69 6e 67 20 |e corres|ponding |
|00001880| 76 61 72 69 61 62 6c 65 | 20 60 74 6f 64 61 79 2d |variable| `today-|
|00001890| 76 69 73 69 62 6c 65 2d | 63 61 6c 65 6e 64 61 72 |visible-|calendar|
|000018a0| 2d 68 6f 6f 6b 27 20 69 | 73 20 74 68 65 20 6c 69 |-hook' i|s the li|
|000018b0| 73 74 20 6f 66 0a 66 75 | 6e 63 74 69 6f 6e 73 20 |st of.fu|nctions |
|000018c0| 63 61 6c 6c 65 64 20 77 | 68 65 6e 20 74 68 65 20 |called w|hen the |
|000018d0| 63 61 6c 65 6e 64 61 72 | 20 66 75 6e 63 74 69 6f |calendar| functio|
|000018e0| 6e 20 77 61 73 20 63 61 | 6c 6c 65 64 20 77 68 65 |n was ca|lled whe|
|000018f0| 6e 20 74 68 65 20 63 75 | 72 72 65 6e 74 0a 64 61 |n the cu|rrent.da|
|00001900| 74 65 20 69 73 20 76 69 | 73 69 62 6c 65 20 69 6e |te is vi|sible in|
|00001910| 20 74 68 65 20 77 69 6e | 64 6f 77 2e 0a 0a 4f 74 | the win|dow...Ot|
|00001920| 68 65 72 20 74 68 61 6e | 20 74 68 65 20 75 73 65 |her than| the use|
|00001930| 20 6f 66 20 74 68 65 20 | 70 72 6f 76 69 64 65 64 | of the |provided|
|00001940| 20 66 75 6e 63 74 69 6f | 6e 73 2c 20 74 68 65 20 | functio|ns, the |
|00001950| 63 68 61 6e 67 69 6e 67 | 20 6f 66 20 61 6e 79 0a |changing| of any.|
|00001960| 63 68 61 72 61 63 74 65 | 72 73 20 69 6e 20 74 68 |characte|rs in th|
|00001970| 65 20 63 61 6c 65 6e 64 | 61 72 20 62 75 66 66 65 |e calend|ar buffe|
|00001980| 72 20 62 79 20 74 68 65 | 20 68 6f 6f 6b 73 20 6d |r by the| hooks m|
|00001990| 61 79 20 63 61 75 73 65 | 20 74 68 65 20 66 61 69 |ay cause| the fai|
|000019a0| 6c 75 72 65 20 6f 66 20 | 74 68 65 0a 66 75 6e 63 |lure of |the.func|
|000019b0| 74 69 6f 6e 73 20 74 68 | 61 74 20 6d 6f 76 65 20 |tions th|at move |
|000019c0| 62 79 20 64 61 79 73 20 | 61 6e 64 20 77 65 65 6b |by days |and week|
|000019d0| 73 2e 22 29 0a 28 64 65 | 66 76 61 72 20 64 69 61 |s.").(de|fvar dia|
|000019e0| 72 79 2d 66 69 6c 65 20 | 22 7e 2f 64 69 61 72 79 |ry-file |"~/diary|
|000019f0| 22 20 22 5c 0a 2a 4e 61 | 6d 65 20 6f 66 20 74 68 |" "\.*Na|me of th|
|00001a00| 65 20 66 69 6c 65 20 69 | 6e 20 77 68 69 63 68 20 |e file i|n which |
|00001a10| 6f 6e 65 27 73 20 70 65 | 72 73 6f 6e 61 6c 20 64 |one's pe|rsonal d|
|00001a20| 69 61 72 79 20 6f 66 20 | 64 61 74 65 73 20 69 73 |iary of |dates is|
|00001a30| 20 6b 65 70 74 2e 0a 0a | 54 68 65 20 66 69 6c 65 | kept...|The file|
|00001a40| 27 73 20 65 6e 74 72 69 | 65 73 20 61 72 65 20 6c |'s entri|es are l|
|00001a50| 69 6e 65 73 20 69 6e 20 | 61 6e 79 20 6f 66 20 74 |ines in |any of t|
|00001a60| 68 65 20 66 6f 72 6d 73 | 0a 0a 20 20 20 20 20 20 |he forms|.. |
|00001a70| 20 20 20 20 20 20 4d 4f | 4e 54 48 2f 44 41 59 0a | MO|NTH/DAY.|
|00001a80| 20 20 20 20 20 20 20 20 | 20 20 20 20 4d 4f 4e 54 | | MONT|
|00001a90| 48 2f 44 41 59 2f 59 45 | 41 52 0a 20 20 20 20 20 |H/DAY/YE|AR. |
|00001aa0| 20 20 20 20 20 20 20 4d | 4f 4e 54 48 4e 41 4d 45 | M|ONTHNAME|
|00001ab0| 20 44 41 59 0a 20 20 20 | 20 20 20 20 20 20 20 20 | DAY. | |
|00001ac0| 20 4d 4f 4e 54 48 4e 41 | 4d 45 20 44 41 59 2c 20 | MONTHNA|ME DAY, |
|00001ad0| 59 45 41 52 0a 20 20 20 | 20 20 20 20 20 20 20 20 |YEAR. | |
|00001ae0| 20 44 41 59 4e 41 4d 45 | 0a 0a 61 74 20 74 68 65 | DAYNAME|..at the|
|00001af0| 20 62 65 67 69 6e 6e 69 | 6e 67 20 6f 66 20 74 68 | beginni|ng of th|
|00001b00| 65 20 6c 69 6e 65 3b 20 | 74 68 65 20 72 65 6d 61 |e line; |the rema|
|00001b10| 69 6e 64 65 72 20 6f 66 | 20 74 68 65 20 6c 69 6e |inder of| the lin|
|00001b20| 65 20 69 73 20 74 68 65 | 20 64 69 61 72 79 20 65 |e is the| diary e|
|00001b30| 6e 74 72 79 0a 73 74 72 | 69 6e 67 20 66 6f 72 20 |ntry.str|ing for |
|00001b40| 74 68 61 74 20 64 61 74 | 65 2e 20 20 4d 4f 4e 54 |that dat|e. MONT|
|00001b50| 48 20 61 6e 64 20 44 41 | 59 20 61 72 65 20 6f 6e |H and DA|Y are on|
|00001b60| 65 20 6f 72 20 74 77 6f | 20 64 69 67 69 74 20 6e |e or two| digit n|
|00001b70| 75 6d 62 65 72 73 2c 20 | 59 45 41 52 20 69 73 0a |umbers, |YEAR is.|
|00001b80| 61 20 6e 75 6d 62 65 72 | 20 61 6e 64 20 6d 61 79 |a number| and may|
|00001b90| 20 62 65 20 77 72 69 74 | 74 65 6e 20 69 6e 20 66 | be writ|ten in f|
|00001ba0| 75 6c 6c 20 6f 72 20 61 | 62 62 72 65 76 69 61 74 |ull or a|bbreviat|
|00001bb0| 65 64 20 74 6f 20 74 68 | 65 20 66 69 6e 61 6c 20 |ed to th|e final |
|00001bc0| 74 77 6f 20 64 69 67 69 | 74 73 2e 0a 49 66 20 74 |two digi|ts..If t|
|00001bd0| 68 65 20 64 61 74 65 20 | 64 6f 65 73 20 6e 6f 74 |he date |does not|
|00001be0| 20 63 6f 6e 74 61 69 6e | 20 61 20 79 65 61 72 2c | contain| a year,|
|00001bf0| 20 69 74 20 69 73 20 67 | 65 6e 65 72 69 63 20 61 | it is g|eneric a|
|00001c00| 6e 64 20 61 70 70 6c 69 | 65 73 20 74 6f 20 61 6e |nd appli|es to an|
|00001c10| 79 20 79 65 61 72 2e 0a | 44 41 59 4e 41 4d 45 20 |y year..|DAYNAME |
|00001c20| 65 6e 74 72 69 65 73 20 | 61 70 70 6c 79 20 74 6f |entries |apply to|
|00001c30| 20 61 6e 79 20 64 61 74 | 65 20 6f 6e 20 77 68 69 | any dat|e on whi|
|00001c40| 63 68 20 69 73 20 6f 6e | 20 74 68 61 74 20 64 61 |ch is on| that da|
|00001c50| 79 20 6f 66 20 74 68 65 | 20 77 65 65 6b 2e 0a 4d |y of the| week..M|
|00001c60| 4f 4e 54 48 4e 41 4d 45 | 20 61 6e 64 20 44 41 59 |ONTHNAME| and DAY|
|00001c70| 4e 41 4d 45 20 63 61 6e | 20 62 65 20 73 70 65 6c |NAME can| be spel|
|00001c80| 6c 65 64 20 69 6e 20 66 | 75 6c 6c 2c 20 61 62 62 |led in f|ull, abb|
|00001c90| 72 65 76 69 61 74 65 64 | 20 74 6f 20 74 68 72 65 |reviated| to thre|
|00001ca0| 65 0a 63 68 61 72 61 63 | 74 65 72 73 20 28 77 69 |e.charac|ters (wi|
|00001cb0| 74 68 20 6f 72 20 77 69 | 74 68 6f 75 74 20 61 20 |th or wi|thout a |
|00001cc0| 70 65 72 69 6f 64 29 2c | 20 63 61 70 69 74 61 6c |period),| capital|
|00001cd0| 69 7a 65 64 20 6f 72 20 | 6e 6f 74 2e 20 20 41 6e |ized or |not. An|
|00001ce0| 79 20 6f 66 20 44 41 59 | 2c 0a 4d 4f 4e 54 48 2c |y of DAY|,.MONTH,|
|00001cf0| 20 6f 72 20 4d 4f 4e 54 | 48 4e 41 4d 45 2c 20 59 | or MONT|HNAME, Y|
|00001d00| 45 41 52 20 63 61 6e 20 | 62 65 20 60 2a 27 20 77 |EAR can |be `*' w|
|00001d10| 68 69 63 68 20 6d 61 74 | 63 68 65 73 20 61 6e 79 |hich mat|ches any|
|00001d20| 20 64 61 79 2c 20 6d 6f | 6e 74 68 2c 20 6f 72 20 | day, mo|nth, or |
|00001d30| 79 65 61 72 2c 0a 72 65 | 73 70 65 63 74 69 76 65 |year,.re|spective|
|00001d40| 6c 79 2e 0a 0a 54 68 65 | 20 45 75 72 6f 70 65 61 |ly...The| Europea|
|00001d50| 6e 20 73 74 79 6c 65 20 | 28 69 6e 20 77 68 69 63 |n style |(in whic|
|00001d60| 68 20 74 68 65 20 64 61 | 79 20 70 72 65 63 65 64 |h the da|y preced|
|00001d70| 65 73 20 74 68 65 20 6d | 6f 6e 74 68 29 20 63 61 |es the m|onth) ca|
|00001d80| 6e 20 62 65 20 75 73 65 | 64 0a 69 6e 73 74 65 61 |n be use|d.instea|
|00001d90| 64 2c 20 69 66 20 79 6f | 75 20 65 78 65 63 75 74 |d, if yo|u execut|
|00001da0| 65 20 60 65 75 72 6f 70 | 65 61 6e 2d 63 61 6c 65 |e `europ|ean-cale|
|00001db0| 6e 64 61 72 27 20 77 68 | 65 6e 20 69 6e 20 74 68 |ndar' wh|en in th|
|00001dc0| 65 20 63 61 6c 65 6e 64 | 61 72 2c 20 6f 72 20 73 |e calend|ar, or s|
|00001dd0| 65 74 0a 60 65 75 72 6f | 70 65 61 6e 2d 63 61 6c |et.`euro|pean-cal|
|00001de0| 65 6e 64 61 72 2d 73 74 | 79 6c 65 27 20 74 6f 20 |endar-st|yle' to |
|00001df0| 74 20 69 6e 20 79 6f 75 | 72 20 2e 65 6d 61 63 73 |t in you|r .emacs|
|00001e00| 20 66 69 6c 65 2e 20 20 | 54 68 65 20 45 75 72 6f | file. |The Euro|
|00001e10| 70 65 61 6e 20 66 6f 72 | 6d 73 20 61 72 65 0a 0a |pean for|ms are..|
|00001e20| 20 20 20 20 20 20 20 20 | 20 20 20 20 44 41 59 2f | | DAY/|
|00001e30| 4d 4f 4e 54 48 0a 20 20 | 20 20 20 20 20 20 20 20 |MONTH. | |
|00001e40| 20 20 44 41 59 2f 4d 4f | 4e 54 48 2f 59 45 41 52 | DAY/MO|NTH/YEAR|
|00001e50| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 44 41 59 |. | DAY|
|00001e60| 20 4d 4f 4e 54 48 4e 41 | 4d 45 0a 20 20 20 20 20 | MONTHNA|ME. |
|00001e70| 20 20 20 20 20 20 20 44 | 41 59 20 4d 4f 4e 54 48 | D|AY MONTH|
|00001e80| 4e 41 4d 45 20 59 45 41 | 52 0a 20 20 20 20 20 20 |NAME YEA|R. |
|00001e90| 20 20 20 20 20 20 44 41 | 59 4e 41 4d 45 0a 0a 54 | DA|YNAME..T|
|00001ea0| 6f 20 72 65 76 65 72 74 | 20 74 6f 20 74 68 65 20 |o revert| to the |
|00001eb0| 64 65 66 61 75 6c 74 20 | 41 6d 65 72 69 63 61 6e |default |American|
|00001ec0| 20 73 74 79 6c 65 20 66 | 72 6f 6d 20 74 68 65 20 | style f|rom the |
|00001ed0| 45 75 72 6f 70 65 61 6e | 20 73 74 79 6c 65 2c 20 |European| style, |
|00001ee0| 65 78 65 63 75 74 65 0a | 60 61 6d 65 72 69 63 61 |execute.|`america|
|00001ef0| 6e 2d 63 61 6c 65 6e 64 | 61 72 27 20 69 6e 20 74 |n-calend|ar' in t|
|00001f00| 68 65 20 63 61 6c 65 6e | 64 61 72 2e 0a 0a 41 20 |he calen|dar...A |
|00001f10| 64 69 61 72 79 20 65 6e | 74 72 79 20 63 61 6e 20 |diary en|try can |
|00001f20| 62 65 20 70 72 65 63 65 | 64 65 64 20 62 79 20 74 |be prece|ded by t|
|00001f30| 68 65 20 63 68 61 72 61 | 63 74 65 72 0a 60 64 69 |he chara|cter.`di|
|00001f40| 61 72 79 2d 6e 6f 6e 6d | 61 72 6b 69 6e 67 2d 73 |ary-nonm|arking-s|
|00001f50| 79 6d 62 6f 6c 27 20 28 | 6f 72 64 69 6e 61 72 69 |ymbol' (|ordinari|
|00001f60| 6c 79 20 60 26 27 29 20 | 74 6f 20 6d 61 6b 65 20 |ly `&') |to make |
|00001f70| 74 68 61 74 20 65 6e 74 | 72 79 0a 6e 6f 6e 6d 61 |that ent|ry.nonma|
|00001f80| 72 6b 69 6e 67 2d 2d 74 | 68 61 74 20 69 73 2c 20 |rking--t|hat is, |
|00001f90| 69 74 20 77 69 6c 6c 20 | 6e 6f 74 20 62 65 20 6d |it will |not be m|
|00001fa0| 61 72 6b 65 64 20 6f 6e | 20 64 61 74 65 73 20 69 |arked on| dates i|
|00001fb0| 6e 20 74 68 65 20 63 61 | 6c 65 6e 64 61 72 0a 77 |n the ca|lendar.w|
|00001fc0| 69 6e 64 6f 77 20 62 75 | 74 20 77 69 6c 6c 20 61 |indow bu|t will a|
|00001fd0| 70 70 65 61 72 20 69 6e | 20 61 20 64 69 61 72 79 |ppear in| a diary|
|00001fe0| 20 77 69 6e 64 6f 77 2e | 0a 0a 4d 75 6c 74 69 6c | window.|..Multil|
|00001ff0| 69 6e 65 20 64 69 61 72 | 79 20 65 6e 74 72 69 65 |ine diar|y entrie|
|00002000| 73 20 61 72 65 20 6d 61 | 64 65 20 62 79 20 69 6e |s are ma|de by in|
|00002010| 64 65 6e 74 69 6e 67 20 | 6c 69 6e 65 73 20 61 66 |denting |lines af|
|00002020| 74 65 72 20 74 68 65 20 | 66 69 72 73 74 20 77 69 |ter the |first wi|
|00002030| 74 68 0a 65 69 74 68 65 | 72 20 61 20 54 41 42 20 |th.eithe|r a TAB |
|00002040| 6f 72 20 6f 6e 65 20 6f | 72 20 6d 6f 72 65 20 73 |or one o|r more s|
|00002050| 70 61 63 65 73 2e 0a 0a | 4c 69 6e 65 73 20 6e 6f |paces...|Lines no|
|00002060| 74 20 69 6e 20 6f 6e 65 | 20 74 68 65 20 61 62 6f |t in one| the abo|
|00002070| 76 65 20 66 6f 72 6d 61 | 74 73 20 61 72 65 20 69 |ve forma|ts are i|
|00002080| 67 6e 6f 72 65 64 2e 20 | 20 48 65 72 65 20 61 72 |gnored. | Here ar|
|00002090| 65 20 73 6f 6d 65 20 73 | 61 6d 70 6c 65 20 64 69 |e some s|ample di|
|000020a0| 61 72 79 0a 65 6e 74 72 | 69 65 73 20 28 69 6e 20 |ary.entr|ies (in |
|000020b0| 74 68 65 20 64 65 66 61 | 75 6c 74 20 41 6d 65 72 |the defa|ult Amer|
|000020c0| 69 63 61 6e 20 73 74 79 | 6c 65 29 3a 0a 0a 20 20 |ican sty|le):.. |
|000020d0| 20 20 20 31 32 2f 32 32 | 2f 31 39 38 38 20 54 77 | 12/22|/1988 Tw|
|000020e0| 65 6e 74 69 65 74 68 20 | 77 65 64 64 69 6e 67 20 |entieth |wedding |
|000020f0| 61 6e 6e 69 76 65 72 73 | 61 72 79 21 21 0a 20 20 |annivers|ary!!. |
|00002100| 20 20 20 26 31 2f 31 2e | 20 48 61 70 70 79 20 4e | &1/1.| Happy N|
|00002110| 65 77 20 59 65 61 72 21 | 0a 20 20 20 20 20 31 30 |ew Year!|. 10|
|00002120| 2f 32 32 20 52 75 74 68 | 27 73 20 62 69 72 74 68 |/22 Ruth|'s birth|
|00002130| 64 61 79 2e 0a 20 20 20 | 20 20 32 31 3a 20 50 61 |day.. | 21: Pa|
|00002140| 79 64 61 79 0a 20 20 20 | 20 20 54 75 65 73 64 61 |yday. | Tuesda|
|00002150| 79 2d 2d 77 65 65 6b 6c | 79 20 6d 65 65 74 69 6e |y--weekl|y meetin|
|00002160| 67 20 77 69 74 68 20 67 | 72 61 64 20 73 74 75 64 |g with g|rad stud|
|00002170| 65 6e 74 73 20 61 74 20 | 31 30 61 6d 0a 20 20 20 |ents at |10am. |
|00002180| 20 20 20 20 20 20 20 20 | 20 20 20 53 75 70 6f 77 | | Supow|
|00002190| 69 74 2c 20 53 68 65 6e | 2c 20 42 69 74 6e 65 72 |it, Shen|, Bitner|
|000021a0| 2c 20 61 6e 64 20 4b 61 | 70 6f 6f 72 20 74 6f 20 |, and Ka|poor to |
|000021b0| 61 74 74 65 6e 64 2e 0a | 20 20 20 20 20 31 2f 31 |attend..| 1/1|
|000021c0| 33 2f 38 39 20 46 72 69 | 64 61 79 20 74 68 65 20 |3/89 Fri|day the |
|000021d0| 74 68 69 72 74 65 65 6e | 74 68 21 21 0a 20 20 20 |thirteen|th!!. |
|000021e0| 20 20 26 74 68 75 20 34 | 70 6d 20 73 71 75 61 73 | &thu 4|pm squas|
|000021f0| 68 20 67 61 6d 65 20 77 | 69 74 68 20 4c 6c 6f 79 |h game w|ith Lloy|
|00002200| 64 2e 0a 20 20 20 20 20 | 6d 61 72 20 31 36 20 44 |d.. |mar 16 D|
|00002210| 61 64 27 73 20 62 69 72 | 74 68 64 61 79 0a 20 20 |ad's bir|thday. |
|00002220| 20 20 20 41 70 72 69 6c | 20 31 35 2c 20 31 39 38 | April| 15, 198|
|00002230| 39 20 49 6e 63 6f 6d 65 | 20 74 61 78 20 64 75 65 |9 Income| tax due|
|00002240| 2e 0a 20 20 20 20 20 26 | 2a 20 31 35 20 74 69 6d |.. &|* 15 tim|
|00002250| 65 20 63 61 72 64 73 20 | 64 75 65 2e 0a 0a 49 66 |e cards |due...If|
|00002260| 20 74 68 65 20 66 69 72 | 73 74 20 6c 69 6e 65 20 | the fir|st line |
|00002270| 6f 66 20 61 20 64 69 61 | 72 79 20 65 6e 74 72 79 |of a dia|ry entry|
|00002280| 20 63 6f 6e 73 69 73 74 | 73 20 6f 6e 6c 79 20 6f | consist|s only o|
|00002290| 66 20 74 68 65 20 64 61 | 74 65 20 6f 72 20 64 61 |f the da|te or da|
|000022a0| 79 20 6e 61 6d 65 20 77 | 69 74 68 0a 6e 6f 20 74 |y name w|ith.no t|
|000022b0| 72 61 69 6c 69 6e 67 20 | 62 6c 61 6e 6b 73 20 6f |railing |blanks o|
|000022c0| 72 20 70 75 6e 63 74 75 | 61 74 69 6f 6e 2c 20 74 |r punctu|ation, t|
|000022d0| 68 65 6e 20 74 68 61 74 | 20 6c 69 6e 65 20 69 73 |hen that| line is|
|000022e0| 20 6e 6f 74 20 64 69 73 | 70 6c 61 79 65 64 20 69 | not dis|played i|
|000022f0| 6e 20 74 68 65 0a 64 69 | 61 72 79 20 77 69 6e 64 |n the.di|ary wind|
|00002300| 6f 77 3b 20 6f 6e 6c 79 | 20 74 68 65 20 63 6f 6e |ow; only| the con|
|00002310| 74 69 6e 75 61 74 69 6f | 6e 20 6c 69 6e 65 73 20 |tinuatio|n lines |
|00002320| 69 73 20 73 68 6f 77 6e | 2e 20 20 46 6f 72 20 65 |is shown|. For e|
|00002330| 78 61 6d 70 6c 65 2c 20 | 74 68 65 0a 73 69 6e 67 |xample, |the.sing|
|00002340| 6c 65 20 64 69 61 72 79 | 20 65 6e 74 72 79 0a 0a |le diary| entry..|
|00002350| 20 20 20 20 20 30 32 2f | 31 31 2f 31 39 38 39 0a | 02/|11/1989.|
|00002360| 20 20 20 20 20 20 42 69 | 6c 6c 20 42 6c 61 74 74 | Bi|ll Blatt|
|00002370| 6e 65 72 20 76 69 73 69 | 74 73 20 50 72 69 6e 63 |ner visi|ts Princ|
|00002380| 65 74 6f 6e 20 74 6f 64 | 61 79 0a 20 20 20 20 20 |eton tod|ay. |
|00002390| 20 32 70 6d 20 43 6f 67 | 6e 69 74 69 76 65 20 53 | 2pm Cog|nitive S|
|000023a0| 74 75 64 69 65 73 20 43 | 6f 6d 6d 69 74 74 65 65 |tudies C|ommittee|
|000023b0| 20 6d 65 65 74 69 6e 67 | 0a 20 20 20 20 20 20 32 | meeting|. 2|
|000023c0| 3a 33 30 2d 35 3a 33 30 | 20 4c 69 7a 7a 69 65 20 |:30-5:30| Lizzie |
|000023d0| 61 74 20 4c 61 77 72 65 | 6e 63 65 76 69 6c 6c 65 |at Lawre|nceville|
|000023e0| 20 66 6f 72 20 60 47 72 | 6f 75 70 20 49 6e 69 74 | for `Gr|oup Init|
|000023f0| 69 61 74 69 76 65 27 0a | 20 20 20 20 20 20 34 3a |iative'.| 4:|
|00002400| 30 30 70 6d 20 4a 61 6d | 69 65 20 54 61 70 70 65 |00pm Jam|ie Tappe|
|00002410| 6e 64 65 6e 0a 20 20 20 | 20 20 20 37 3a 33 30 70 |nden. | 7:30p|
|00002420| 6d 20 44 69 6e 6e 65 72 | 20 61 74 20 47 65 6f 72 |m Dinner| at Geor|
|00002430| 67 65 20 61 6e 64 20 45 | 64 27 73 20 66 6f 72 20 |ge and E|d's for |
|00002440| 41 6c 61 6e 20 52 79 61 | 6e 0a 20 20 20 20 20 20 |Alan Rya|n. |
|00002450| 37 3a 33 30 2d 31 30 3a | 30 30 70 6d 20 64 61 6e |7:30-10:|00pm dan|
|00002460| 63 65 20 61 74 20 53 74 | 65 77 61 72 74 20 43 6f |ce at St|ewart Co|
|00002470| 75 6e 74 72 79 20 44 61 | 79 20 53 63 68 6f 6f 6c |untry Da|y School|
|00002480| 0a 0a 77 69 6c 6c 20 61 | 70 70 65 61 72 20 69 6e |..will a|ppear in|
|00002490| 20 74 68 65 20 64 69 61 | 72 79 20 77 69 6e 64 6f | the dia|ry windo|
|000024a0| 77 20 77 69 74 68 6f 75 | 74 20 74 68 65 20 64 61 |w withou|t the da|
|000024b0| 74 65 20 6c 69 6e 65 20 | 61 74 20 74 68 65 20 62 |te line |at the b|
|000024c0| 65 67 69 6e 6e 69 6e 67 | 2e 20 20 54 68 69 73 0a |eginning|. This.|
|000024d0| 66 61 63 69 6c 69 74 79 | 20 61 6c 6c 6f 77 73 20 |facility| allows |
|000024e0| 74 68 65 20 64 69 61 72 | 79 20 77 69 6e 64 6f 77 |the diar|y window|
|000024f0| 20 74 6f 20 6c 6f 6f 6b | 20 6e 65 61 74 65 72 2c | to look| neater,|
|00002500| 20 62 75 74 20 63 61 6e | 20 63 61 75 73 65 20 63 | but can| cause c|
|00002510| 6f 6e 66 75 73 69 6f 6e | 20 69 66 0a 75 73 65 64 |onfusion| if.used|
|00002520| 20 77 69 74 68 20 6d 6f | 72 65 20 74 68 61 6e 20 | with mo|re than |
|00002530| 6f 6e 65 20 64 61 79 27 | 73 20 65 6e 74 72 69 65 |one day'|s entrie|
|00002540| 73 20 64 69 73 70 6c 61 | 79 65 64 2e 0a 0a 44 69 |s displa|yed...Di|
|00002550| 61 72 79 20 65 6e 74 72 | 69 65 73 20 63 61 6e 20 |ary entr|ies can |
|00002560| 62 65 20 62 61 73 65 64 | 20 6f 6e 20 4c 69 73 70 |be based| on Lisp|
|00002570| 20 73 65 78 70 73 2e 20 | 20 46 6f 72 20 65 78 61 | sexps. | For exa|
|00002580| 6d 70 6c 65 2c 20 74 68 | 65 20 64 69 61 72 79 20 |mple, th|e diary |
|00002590| 65 6e 74 72 79 0a 0a 20 | 20 20 20 20 20 25 25 28 |entry.. | %%(|
|000025a0| 64 69 61 72 79 2d 62 6c | 6f 63 6b 20 31 31 20 31 |diary-bl|ock 11 1|
|000025b0| 20 31 39 39 30 20 31 31 | 20 31 30 20 31 39 39 30 | 1990 11| 10 1990|
|000025c0| 29 20 56 61 63 61 74 69 | 6f 6e 0a 0a 63 61 75 73 |) Vacati|on..caus|
|000025d0| 65 73 20 74 68 65 20 64 | 69 61 72 79 20 65 6e 74 |es the d|iary ent|
|000025e0| 72 79 20 5c 22 56 61 63 | 61 74 69 6f 6e 5c 22 20 |ry \"Vac|ation\" |
|000025f0| 74 6f 20 61 70 70 65 61 | 72 20 66 72 6f 6d 20 4e |to appea|r from N|
|00002600| 6f 76 65 6d 62 65 72 20 | 31 20 74 68 72 6f 75 67 |ovember |1 throug|
|00002610| 68 20 4e 6f 76 65 6d 62 | 65 72 0a 31 30 2c 20 31 |h Novemb|er.10, 1|
|00002620| 39 39 30 2e 20 20 4f 74 | 68 65 72 20 66 75 6e 63 |990. Ot|her func|
|00002630| 74 69 6f 6e 73 20 61 76 | 61 69 6c 61 62 6c 65 20 |tions av|ailable |
|00002640| 61 72 65 20 60 64 69 61 | 72 79 2d 66 6c 6f 61 74 |are `dia|ry-float|
|00002650| 27 2c 20 60 64 69 61 72 | 79 2d 61 6e 6e 69 76 65 |', `diar|y-annive|
|00002660| 72 73 61 72 79 27 2c 0a | 60 64 69 61 72 79 2d 63 |rsary',.|`diary-c|
|00002670| 79 63 6c 69 63 27 2c 20 | 60 64 69 61 72 79 2d 64 |yclic', |`diary-d|
|00002680| 61 79 2d 6f 66 2d 79 65 | 61 72 27 2c 20 60 64 69 |ay-of-ye|ar', `di|
|00002690| 61 72 79 2d 69 73 6f 2d | 64 61 74 65 27 2c 20 60 |ary-iso-|date', `|
|000026a0| 64 69 61 72 79 2d 66 72 | 65 6e 63 68 2d 64 61 74 |diary-fr|ench-dat|
|000026b0| 65 27 2c 0a 60 64 69 61 | 72 79 2d 68 65 62 72 65 |e',.`dia|ry-hebre|
|000026c0| 77 2d 64 61 74 65 27 2c | 20 60 64 69 61 72 79 2d |w-date',| `diary-|
|000026d0| 69 73 6c 61 6d 69 63 2d | 64 61 74 65 27 2c 20 60 |islamic-|date', `|
|000026e0| 64 69 61 72 79 2d 6d 61 | 79 61 6e 2d 64 61 74 65 |diary-ma|yan-date|
|000026f0| 27 2c 0a 60 64 69 61 72 | 79 2d 79 61 68 72 7a 65 |',.`diar|y-yahrze|
|00002700| 69 74 27 2c 20 60 64 69 | 61 72 79 2d 73 75 6e 72 |it', `di|ary-sunr|
|00002710| 69 73 65 2d 73 75 6e 73 | 65 74 27 2c 20 60 64 69 |ise-suns|et', `di|
|00002720| 61 72 79 2d 70 68 61 73 | 65 73 2d 6f 66 2d 6d 6f |ary-phas|es-of-mo|
|00002730| 6f 6e 27 2c 0a 60 64 69 | 61 72 79 2d 70 61 72 61 |on',.`di|ary-para|
|00002740| 73 68 61 27 2c 20 60 64 | 69 61 72 79 2d 6f 6d 65 |sha', `d|iary-ome|
|00002750| 72 27 2c 20 60 64 69 61 | 72 79 2d 72 6f 73 68 2d |r', `dia|ry-rosh-|
|00002760| 68 6f 64 65 73 68 27 2c | 20 61 6e 64 0a 60 64 69 |hodesh',| and.`di|
|00002770| 61 72 79 2d 73 61 62 62 | 61 74 68 2d 63 61 6e 64 |ary-sabb|ath-cand|
|00002780| 6c 65 73 27 2e 20 20 53 | 65 65 20 74 68 65 20 64 |les'. S|ee the d|
|00002790| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 66 6f 72 |ocumenta|tion for|
|000027a0| 20 74 68 65 20 66 75 6e | 63 74 69 6f 6e 0a 60 6c | the fun|ction.`l|
|000027b0| 69 73 74 2d 73 65 78 70 | 2d 64 69 61 72 79 2d 65 |ist-sexp|-diary-e|
|000027c0| 6e 74 72 69 65 73 27 20 | 66 6f 72 20 6d 6f 72 65 |ntries' |for more|
|000027d0| 20 64 65 74 61 69 6c 73 | 2e 0a 0a 44 69 61 72 79 | details|...Diary|
|000027e0| 20 65 6e 74 72 69 65 73 | 20 62 61 73 65 64 20 6f | entries| based o|
|000027f0| 6e 20 74 68 65 20 48 65 | 62 72 65 77 20 61 6e 64 |n the He|brew and|
|00002800| 2f 6f 72 20 74 68 65 20 | 49 73 6c 61 6d 69 63 20 |/or the |Islamic |
|00002810| 63 61 6c 65 6e 64 61 72 | 20 61 72 65 20 61 6c 73 |calendar| are als|
|00002820| 6f 0a 70 6f 73 73 69 62 | 6c 65 2c 20 62 75 74 20 |o.possib|le, but |
|00002830| 62 65 63 61 75 73 65 20 | 74 68 65 73 65 20 61 72 |because |these ar|
|00002840| 65 20 73 6f 6d 65 77 68 | 61 74 20 73 6c 6f 77 2c |e somewh|at slow,|
|00002850| 20 74 68 65 79 20 61 72 | 65 20 69 67 6e 6f 72 65 | they ar|e ignore|
|00002860| 64 0a 75 6e 6c 65 73 73 | 20 79 6f 75 20 73 65 74 |d.unless| you set|
|00002870| 20 74 68 65 20 60 6e 6f | 6e 67 72 65 67 6f 72 69 | the `no|ngregori|
|00002880| 61 6e 2d 64 69 61 72 79 | 2d 6c 69 73 74 69 6e 67 |an-diary|-listing|
|00002890| 2d 68 6f 6f 6b 27 20 61 | 6e 64 20 74 68 65 0a 60 |-hook' a|nd the.`|
|000028a0| 6e 6f 6e 67 72 65 67 6f | 72 69 61 6e 2d 64 69 61 |nongrego|rian-dia|
|000028b0| 72 79 2d 6d 61 72 6b 69 | 6e 67 2d 68 6f 6f 6b 27 |ry-marki|ng-hook'|
|000028c0| 20 61 70 70 72 6f 70 72 | 69 61 74 65 6c 79 2e 20 | appropr|iately. |
|000028d0| 20 53 65 65 20 74 68 65 | 20 64 6f 63 75 6d 65 6e | See the| documen|
|000028e0| 74 61 74 69 6f 6e 0a 66 | 6f 72 20 74 68 65 73 65 |tation.f|or these|
|000028f0| 20 66 75 6e 63 74 69 6f | 6e 73 20 66 6f 72 20 64 | functio|ns for d|
|00002900| 65 74 61 69 6c 73 2e 0a | 0a 44 69 61 72 79 20 66 |etails..|.Diary f|
|00002910| 69 6c 65 73 20 63 61 6e | 20 63 6f 6e 74 61 69 6e |iles can| contain|
|00002920| 20 64 69 72 65 63 74 69 | 76 65 73 20 74 6f 20 69 | directi|ves to i|
|00002930| 6e 63 6c 75 64 65 20 74 | 68 65 20 63 6f 6e 74 65 |nclude t|he conte|
|00002940| 6e 74 73 20 6f 66 20 6f | 74 68 65 72 20 66 69 6c |nts of o|ther fil|
|00002950| 65 73 3b 20 66 6f 72 0a | 64 65 74 61 69 6c 73 2c |es; for.|details,|
|00002960| 20 73 65 65 20 74 68 65 | 20 64 6f 63 75 6d 65 6e | see the| documen|
|00002970| 74 61 74 69 6f 6e 20 66 | 6f 72 20 74 68 65 20 76 |tation f|or the v|
|00002980| 61 72 69 61 62 6c 65 20 | 60 6c 69 73 74 2d 64 69 |ariable |`list-di|
|00002990| 61 72 79 2d 65 6e 74 72 | 69 65 73 2d 68 6f 6f 6b |ary-entr|ies-hook|
|000029a0| 27 2e 22 29 0a 28 64 65 | 66 76 61 72 20 64 69 61 |'.").(de|fvar dia|
|000029b0| 72 79 2d 6e 6f 6e 6d 61 | 72 6b 69 6e 67 2d 73 79 |ry-nonma|rking-sy|
|000029c0| 6d 62 6f 6c 20 22 26 22 | 20 22 5c 0a 2a 53 79 6d |mbol "&"| "\.*Sym|
|000029d0| 62 6f 6c 20 69 6e 64 69 | 63 61 74 69 6e 67 20 74 |bol indi|cating t|
|000029e0| 68 61 74 20 61 20 64 69 | 61 72 79 20 65 6e 74 72 |hat a di|ary entr|
|000029f0| 79 20 69 73 20 6e 6f 74 | 20 74 6f 20 62 65 20 6d |y is not| to be m|
|00002a00| 61 72 6b 65 64 20 69 6e | 20 74 68 65 20 63 61 6c |arked in| the cal|
|00002a10| 65 6e 64 61 72 2e 22 29 | 0a 28 64 65 66 76 61 72 |endar.")|.(defvar|
|00002a20| 20 68 65 62 72 65 77 2d | 64 69 61 72 79 2d 65 6e | hebrew-|diary-en|
|00002a30| 74 72 79 2d 73 79 6d 62 | 6f 6c 20 22 48 22 20 22 |try-symb|ol "H" "|
|00002a40| 5c 0a 2a 53 79 6d 62 6f | 6c 20 69 6e 64 69 63 61 |\.*Symbo|l indica|
|00002a50| 74 69 6e 67 20 61 20 64 | 69 61 72 79 20 65 6e 74 |ting a d|iary ent|
|00002a60| 72 79 20 61 63 63 6f 72 | 64 69 6e 67 20 74 6f 20 |ry accor|ding to |
|00002a70| 74 68 65 20 48 65 62 72 | 65 77 20 63 61 6c 65 6e |the Hebr|ew calen|
|00002a80| 64 61 72 2e 22 29 0a 28 | 64 65 66 76 61 72 20 69 |dar.").(|defvar i|
|00002a90| 73 6c 61 6d 69 63 2d 64 | 69 61 72 79 2d 65 6e 74 |slamic-d|iary-ent|
|00002aa0| 72 79 2d 73 79 6d 62 6f | 6c 20 22 49 22 20 22 5c |ry-symbo|l "I" "\|
|00002ab0| 0a 2a 53 79 6d 62 6f 6c | 20 69 6e 64 69 63 61 74 |.*Symbol| indicat|
|00002ac0| 69 6e 67 20 61 20 64 69 | 61 72 79 20 65 6e 74 72 |ing a di|ary entr|
|00002ad0| 79 20 61 63 63 6f 72 64 | 69 6e 67 20 74 6f 20 74 |y accord|ing to t|
|00002ae0| 68 65 20 49 73 6c 61 6d | 69 63 20 63 61 6c 65 6e |he Islam|ic calen|
|00002af0| 64 61 72 2e 22 29 0a 28 | 64 65 66 76 61 72 20 64 |dar.").(|defvar d|
|00002b00| 69 61 72 79 2d 69 6e 63 | 6c 75 64 65 2d 73 74 72 |iary-inc|lude-str|
|00002b10| 69 6e 67 20 22 23 69 6e | 63 6c 75 64 65 22 20 22 |ing "#in|clude" "|
|00002b20| 5c 0a 2a 54 68 65 20 73 | 74 72 69 6e 67 20 69 6e |\.*The s|tring in|
|00002b30| 64 69 63 61 74 69 6e 67 | 20 69 6e 63 6c 75 73 69 |dicating| inclusi|
|00002b40| 6f 6e 20 6f 66 20 61 6e | 6f 74 68 65 72 20 66 69 |on of an|other fi|
|00002b50| 6c 65 20 6f 66 20 64 69 | 61 72 79 20 65 6e 74 72 |le of di|ary entr|
|00002b60| 69 65 73 2e 0a 53 65 65 | 20 74 68 65 20 64 6f 63 |ies..See| the doc|
|00002b70| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 66 6f 72 20 74 |umentati|on for t|
|00002b80| 68 65 20 66 75 6e 63 74 | 69 6f 6e 20 60 69 6e 63 |he funct|ion `inc|
|00002b90| 6c 75 64 65 2d 6f 74 68 | 65 72 2d 64 69 61 72 79 |lude-oth|er-diary|
|00002ba0| 2d 66 69 6c 65 73 27 2e | 22 29 0a 28 64 65 66 76 |-files'.|").(defv|
|00002bb0| 61 72 20 73 65 78 70 2d | 64 69 61 72 79 2d 65 6e |ar sexp-|diary-en|
|00002bc0| 74 72 79 2d 73 79 6d 62 | 6f 6c 20 22 25 25 22 20 |try-symb|ol "%%" |
|00002bd0| 22 5c 0a 2a 54 68 65 20 | 73 74 72 69 6e 67 20 75 |"\.*The |string u|
|00002be0| 73 65 64 20 74 6f 20 69 | 6e 64 69 63 61 74 65 20 |sed to i|ndicate |
|00002bf0| 61 20 73 65 78 70 20 64 | 69 61 72 79 20 65 6e 74 |a sexp d|iary ent|
|00002c00| 72 79 20 69 6e 20 64 69 | 61 72 79 2d 66 69 6c 65 |ry in di|ary-file|
|00002c10| 2e 0a 53 65 65 20 74 68 | 65 20 64 6f 63 75 6d 65 |..See th|e docume|
|00002c20| 6e 74 61 74 69 6f 6e 20 | 66 6f 72 20 74 68 65 20 |ntation |for the |
|00002c30| 66 75 6e 63 74 69 6f 6e | 20 60 6c 69 73 74 2d 73 |function| `list-s|
|00002c40| 65 78 70 2d 64 69 61 72 | 79 2d 65 6e 74 72 69 65 |exp-diar|y-entrie|
|00002c50| 73 27 2e 22 29 0a 28 64 | 65 66 76 61 72 20 61 62 |s'.").(d|efvar ab|
|00002c60| 62 72 65 76 69 61 74 65 | 64 2d 63 61 6c 65 6e 64 |breviate|d-calend|
|00002c70| 61 72 2d 79 65 61 72 20 | 74 20 22 5c 0a 2a 49 6e |ar-year |t "\.*In|
|00002c80| 74 65 72 70 72 65 74 20 | 61 20 74 77 6f 2d 64 69 |terpret |a two-di|
|00002c90| 67 69 74 20 79 65 61 72 | 20 44 44 20 69 6e 20 61 |git year| DD in a|
|00002ca0| 20 64 69 61 72 79 20 65 | 6e 74 72 79 20 61 73 20 | diary e|ntry as |
|00002cb0| 65 69 74 68 65 72 20 31 | 39 44 44 20 6f 72 20 32 |either 1|9DD or 2|
|00002cc0| 30 44 44 2e 0a 46 6f 72 | 20 74 68 65 20 47 72 65 |0DD..For| the Gre|
|00002cd0| 67 6f 72 69 61 6e 20 63 | 61 6c 65 6e 64 61 72 3b |gorian c|alendar;|
|00002ce0| 20 73 69 6d 69 6c 61 72 | 6c 79 20 66 6f 72 20 74 | similar|ly for t|
|00002cf0| 68 65 20 48 65 62 72 65 | 77 20 61 6e 64 20 49 73 |he Hebre|w and Is|
|00002d00| 6c 61 6d 69 63 20 63 61 | 6c 65 6e 64 61 72 73 2e |lamic ca|lendars.|
|00002d10| 0a 49 66 20 74 68 69 73 | 20 76 61 72 69 61 62 6c |.If this| variabl|
|00002d20| 65 20 69 73 20 6e 69 6c | 2c 20 79 65 61 72 73 20 |e is nil|, years |
|00002d30| 6d 75 73 74 20 62 65 20 | 77 72 69 74 74 65 6e 20 |must be |written |
|00002d40| 69 6e 20 66 75 6c 6c 2e | 22 29 0a 28 64 65 66 76 |in full.|").(defv|
|00002d50| 61 72 20 65 75 72 6f 70 | 65 61 6e 2d 63 61 6c 65 |ar europ|ean-cale|
|00002d60| 6e 64 61 72 2d 73 74 79 | 6c 65 20 6e 69 6c 20 22 |ndar-sty|le nil "|
|00002d70| 5c 0a 2a 55 73 65 20 74 | 68 65 20 45 75 72 6f 70 |\.*Use t|he Europ|
|00002d80| 65 61 6e 20 73 74 79 6c | 65 20 6f 66 20 64 61 74 |ean styl|e of dat|
|00002d90| 65 73 20 69 6e 20 74 68 | 65 20 64 69 61 72 79 20 |es in th|e diary |
|00002da0| 61 6e 64 20 69 6e 20 61 | 6e 79 20 64 69 73 70 6c |and in a|ny displ|
|00002db0| 61 79 73 2e 0a 49 66 20 | 74 68 69 73 20 76 61 72 |ays..If |this var|
|00002dc0| 69 61 62 6c 65 20 69 73 | 20 74 2c 20 61 20 64 61 |iable is| t, a da|
|00002dd0| 74 65 20 31 2f 32 2f 31 | 39 39 30 20 77 6f 75 6c |te 1/2/1|990 woul|
|00002de0| 64 20 62 65 20 69 6e 74 | 65 72 70 72 65 74 65 64 |d be int|erpreted|
|00002df0| 20 61 73 20 46 65 62 72 | 75 61 72 79 20 31 2c 0a | as Febr|uary 1,.|
|00002e00| 31 39 39 30 2e 20 20 54 | 68 65 20 61 63 63 65 70 |1990. T|he accep|
|00002e10| 74 65 64 20 45 75 72 6f | 70 65 61 6e 20 64 61 74 |ted Euro|pean dat|
|00002e20| 65 20 73 74 79 6c 65 73 | 20 61 72 65 0a 0a 20 20 |e styles| are.. |
|00002e30| 20 20 20 20 20 20 20 20 | 20 20 44 41 59 2f 4d 4f | | DAY/MO|
|00002e40| 4e 54 48 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |NTH. | |
|00002e50| 44 41 59 2f 4d 4f 4e 54 | 48 2f 59 45 41 52 0a 20 |DAY/MONT|H/YEAR. |
|00002e60| 20 20 20 20 20 20 20 20 | 20 20 20 44 41 59 20 4d | | DAY M|
|00002e70| 4f 4e 54 48 4e 41 4d 45 | 0a 20 20 20 20 20 20 20 |ONTHNAME|. |
|00002e80| 20 20 20 20 20 44 41 59 | 20 4d 4f 4e 54 48 4e 41 | DAY| MONTHNA|
|00002e90| 4d 45 20 59 45 41 52 0a | 20 20 20 20 20 20 20 20 |ME YEAR.| |
|00002ea0| 20 20 20 20 44 41 59 4e | 41 4d 45 0a 0a 4e 61 6d | DAYN|AME..Nam|
|00002eb0| 65 73 20 63 61 6e 20 62 | 65 20 63 61 70 69 74 61 |es can b|e capita|
|00002ec0| 6c 69 7a 65 64 20 6f 72 | 20 6e 6f 74 2c 20 77 72 |lized or| not, wr|
|00002ed0| 69 74 74 65 6e 20 69 6e | 20 66 75 6c 6c 2c 20 6f |itten in| full, o|
|00002ee0| 72 20 61 62 62 72 65 76 | 69 61 74 65 64 20 74 6f |r abbrev|iated to|
|00002ef0| 20 74 68 72 65 65 0a 63 | 68 61 72 61 63 74 65 72 | three.c|haracter|
|00002f00| 73 20 77 69 74 68 20 6f | 72 20 77 69 74 68 6f 75 |s with o|r withou|
|00002f10| 74 20 61 20 70 65 72 69 | 6f 64 2e 22 29 0a 28 64 |t a peri|od.").(d|
|00002f20| 65 66 76 61 72 20 61 6d | 65 72 69 63 61 6e 2d 64 |efvar am|erican-d|
|00002f30| 61 74 65 2d 64 69 61 72 | 79 2d 70 61 74 74 65 72 |ate-diar|y-patter|
|00002f40| 6e 20 27 28 28 6d 6f 6e | 74 68 20 22 2f 22 20 64 |n '((mon|th "/" d|
|00002f50| 61 79 20 22 5b 5e 2f 30 | 2d 39 5d 22 29 20 28 6d |ay "[^/0|-9]") (m|
|00002f60| 6f 6e 74 68 20 22 2f 22 | 20 64 61 79 20 22 2f 22 |onth "/"| day "/"|
|00002f70| 20 79 65 61 72 20 22 5b | 5e 30 2d 39 5d 22 29 20 | year "[|^0-9]") |
|00002f80| 28 6d 6f 6e 74 68 6e 61 | 6d 65 20 22 20 2a 22 20 |(monthna|me " *" |
|00002f90| 64 61 79 20 22 5b 5e 2c | 30 2d 39 5d 22 29 20 28 |day "[^,|0-9]") (|
|00002fa0| 6d 6f 6e 74 68 6e 61 6d | 65 20 22 20 2a 22 20 64 |monthnam|e " *" d|
|00002fb0| 61 79 20 22 2c 20 2a 22 | 20 79 65 61 72 20 22 5b |ay ", *"| year "[|
|00002fc0| 5e 30 2d 39 5d 22 29 20 | 28 64 61 79 6e 61 6d 65 |^0-9]") |(dayname|
|00002fd0| 20 22 5c 5c 57 22 29 29 | 20 22 5c 0a 2a 4c 69 73 | "\\W"))| "\.*Lis|
|00002fe0| 74 20 6f 66 20 70 73 65 | 75 64 6f 2d 70 61 74 74 |t of pse|udo-patt|
|00002ff0| 65 72 6e 73 20 64 65 73 | 63 72 69 62 69 6e 67 20 |erns des|cribing |
|00003000| 74 68 65 20 41 6d 65 72 | 69 63 61 6e 20 70 61 74 |the Amer|ican pat|
|00003010| 74 65 72 6e 73 20 6f 66 | 20 64 61 74 65 20 75 73 |terns of| date us|
|00003020| 65 64 2e 0a 53 65 65 20 | 74 68 65 20 64 6f 63 75 |ed..See |the docu|
|00003030| 6d 65 6e 74 61 74 69 6f | 6e 20 6f 66 20 60 64 69 |mentatio|n of `di|
|00003040| 61 72 79 2d 64 61 74 65 | 2d 66 6f 72 6d 73 27 20 |ary-date|-forms' |
|00003050| 66 6f 72 20 61 6e 20 65 | 78 70 6c 61 6e 61 74 69 |for an e|xplanati|
|00003060| 6f 6e 2e 22 29 0a 28 64 | 65 66 76 61 72 20 65 75 |on.").(d|efvar eu|
|00003070| 72 6f 70 65 61 6e 2d 64 | 61 74 65 2d 64 69 61 72 |ropean-d|ate-diar|
|00003080| 79 2d 70 61 74 74 65 72 | 6e 20 27 28 28 64 61 79 |y-patter|n '((day|
|00003090| 20 22 2f 22 20 6d 6f 6e | 74 68 20 22 5b 5e 2f 30 | "/" mon|th "[^/0|
|000030a0| 2d 39 5d 22 29 20 28 64 | 61 79 20 22 2f 22 20 6d |-9]") (d|ay "/" m|
|000030b0| 6f 6e 74 68 20 22 2f 22 | 20 79 65 61 72 20 22 5b |onth "/"| year "[|
|000030c0| 5e 30 2d 39 5d 22 29 20 | 28 62 61 63 6b 75 70 20 |^0-9]") |(backup |
|000030d0| 64 61 79 20 22 20 2a 22 | 20 6d 6f 6e 74 68 6e 61 |day " *"| monthna|
|000030e0| 6d 65 20 22 5c 5c 57 2b | 5c 5c 3c 5b 5e 2a 30 2d |me "\\W+|\\<[^*0-|
|000030f0| 39 5d 22 29 20 28 64 61 | 79 20 22 20 2a 22 20 6d |9]") (da|y " *" m|
|00003100| 6f 6e 74 68 6e 61 6d 65 | 20 22 20 2a 22 20 79 65 |onthname| " *" ye|
|00003110| 61 72 20 22 5b 5e 30 2d | 39 5d 22 29 20 28 64 61 |ar "[^0-|9]") (da|
|00003120| 79 6e 61 6d 65 20 22 5c | 5c 57 22 29 29 20 22 5c |yname "\|\W")) "\|
|00003130| 0a 2a 4c 69 73 74 20 6f | 66 20 70 73 65 75 64 6f |.*List o|f pseudo|
|00003140| 2d 70 61 74 74 65 72 6e | 73 20 64 65 73 63 72 69 |-pattern|s descri|
|00003150| 62 69 6e 67 20 74 68 65 | 20 45 75 72 6f 70 65 61 |bing the| Europea|
|00003160| 6e 20 70 61 74 74 65 72 | 6e 73 20 6f 66 20 64 61 |n patter|ns of da|
|00003170| 74 65 20 75 73 65 64 2e | 0a 53 65 65 20 74 68 65 |te used.|.See the|
|00003180| 20 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 20 6f | documen|tation o|
|00003190| 66 20 60 64 69 61 72 79 | 2d 64 61 74 65 2d 66 6f |f `diary|-date-fo|
|000031a0| 72 6d 73 27 20 66 6f 72 | 20 61 6e 20 65 78 70 6c |rms' for| an expl|
|000031b0| 61 6e 61 74 69 6f 6e 2e | 22 29 0a 28 64 65 66 76 |anation.|").(defv|
|000031c0| 61 72 20 64 69 61 72 79 | 2d 64 61 74 65 2d 66 6f |ar diary|-date-fo|
|000031d0| 72 6d 73 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |rms (byt|e-code "|
|000031e0| 08 ab 82 09 87 5c 6e 87 | 22 20 5b 65 75 72 6f 70 |.....\n.|" [europ|
|000031f0| 65 61 6e 2d 63 61 6c 65 | 6e 64 61 72 2d 73 74 79 |ean-cale|ndar-sty|
|00003200| 6c 65 20 65 75 72 6f 70 | 65 61 6e 2d 64 61 74 65 |le europ|ean-date|
|00003210| 2d 64 69 61 72 79 2d 70 | 61 74 74 65 72 6e 20 61 |-diary-p|attern a|
|00003220| 6d 65 72 69 63 61 6e 2d | 64 61 74 65 2d 64 69 61 |merican-|date-dia|
|00003230| 72 79 2d 70 61 74 74 65 | 72 6e 5d 20 31 29 20 22 |ry-patte|rn] 1) "|
|00003240| 5c 0a 2a 4c 69 73 74 20 | 6f 66 20 70 73 65 75 64 |\.*List |of pseud|
|00003250| 6f 2d 70 61 74 74 65 72 | 6e 73 20 64 65 73 63 72 |o-patter|ns descr|
|00003260| 69 62 69 6e 67 20 74 68 | 65 20 66 6f 72 6d 73 20 |ibing th|e forms |
|00003270| 6f 66 20 64 61 74 65 20 | 75 73 65 64 20 69 6e 20 |of date |used in |
|00003280| 74 68 65 20 64 69 61 72 | 79 2e 0a 54 68 65 20 70 |the diar|y..The p|
|00003290| 61 74 74 65 72 6e 73 20 | 6f 6e 20 74 68 65 20 6c |atterns |on the l|
|000032a0| 69 73 74 20 6d 75 73 74 | 20 62 65 20 4d 55 54 55 |ist must| be MUTU|
|000032b0| 41 4c 4c 59 20 45 58 43 | 4c 55 53 49 56 45 20 61 |ALLY EXC|LUSIVE a|
|000032c0| 6e 64 20 6d 75 73 74 20 | 73 68 6f 75 6c 64 20 6e |nd must |should n|
|000032d0| 6f 74 20 6d 61 74 63 68 | 0a 61 6e 79 20 70 6f 72 |ot match|.any por|
|000032e0| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 64 69 61 72 |tion of |the diar|
|000032f0| 79 20 65 6e 74 72 79 20 | 69 74 73 65 6c 66 2c 20 |y entry |itself, |
|00003300| 6a 75 73 74 20 74 68 65 | 20 64 61 74 65 20 63 6f |just the| date co|
|00003310| 6d 70 6f 6e 65 6e 74 2e | 0a 0a 41 20 70 73 65 75 |mponent.|..A pseu|
|00003320| 64 6f 2d 70 61 74 74 65 | 72 6e 20 69 73 20 61 20 |do-patte|rn is a |
|00003330| 6c 69 73 74 20 6f 66 20 | 72 65 67 75 6c 61 72 20 |list of |regular |
|00003340| 65 78 70 72 65 73 73 69 | 6f 6e 73 20 61 6e 64 20 |expressi|ons and |
|00003350| 74 68 65 20 6b 65 79 77 | 6f 72 64 73 20 60 6d 6f |the keyw|ords `mo|
|00003360| 6e 74 68 27 2c 0a 60 64 | 61 79 27 2c 20 60 79 65 |nth',.`d|ay', `ye|
|00003370| 61 72 27 2c 20 60 6d 6f | 6e 74 68 6e 61 6d 65 27 |ar', `mo|nthname'|
|00003380| 2c 20 61 6e 64 20 60 64 | 61 79 6e 61 6d 65 27 2e |, and `d|ayname'.|
|00003390| 20 20 54 68 65 20 6b 65 | 79 77 6f 72 64 20 60 6d | The ke|yword `m|
|000033a0| 6f 6e 74 68 6e 61 6d 65 | 27 20 77 69 6c 6c 0a 6d |onthname|' will.m|
|000033b0| 61 74 63 68 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |atch the| name of|
|000033c0| 20 74 68 65 20 6d 6f 6e | 74 68 2c 20 63 61 70 69 | the mon|th, capi|
|000033d0| 74 61 6c 69 7a 65 64 20 | 6f 72 20 6e 6f 74 2c 20 |talized |or not, |
|000033e0| 6f 72 20 69 74 73 20 74 | 68 72 65 65 2d 6c 65 74 |or its t|hree-let|
|000033f0| 74 65 72 0a 61 62 62 72 | 65 76 69 61 74 69 6f 6e |ter.abbr|eviation|
|00003400| 2c 20 66 6f 6c 6c 6f 77 | 65 64 20 62 79 20 61 20 |, follow|ed by a |
|00003410| 70 65 72 69 6f 64 20 6f | 72 20 6e 6f 74 3b 20 69 |period o|r not; i|
|00003420| 74 20 77 69 6c 6c 20 61 | 6c 73 6f 20 6d 61 74 63 |t will a|lso matc|
|00003430| 68 20 60 2a 27 2e 0a 53 | 69 6d 69 6c 61 72 6c 79 |h `*'..S|imilarly|
|00003440| 2c 20 60 64 61 79 6e 61 | 6d 65 27 20 77 69 6c 6c |, `dayna|me' will|
|00003450| 20 6d 61 74 63 68 20 74 | 68 65 20 6e 61 6d 65 20 | match t|he name |
|00003460| 6f 66 20 74 68 65 20 64 | 61 79 2c 20 63 61 70 69 |of the d|ay, capi|
|00003470| 74 61 6c 69 7a 65 64 20 | 6f 72 20 6e 6f 74 2c 20 |talized |or not, |
|00003480| 6f 72 0a 69 74 73 20 74 | 68 72 65 65 2d 6c 65 74 |or.its t|hree-let|
|00003490| 74 65 72 20 61 62 62 72 | 65 76 69 61 74 69 6f 6e |ter abbr|eviation|
|000034a0| 2c 20 66 6f 6c 6c 6f 77 | 65 64 20 62 79 20 61 20 |, follow|ed by a |
|000034b0| 70 65 72 69 6f 64 20 6f | 72 20 6e 6f 74 2e 20 20 |period o|r not. |
|000034c0| 54 68 65 20 6b 65 79 77 | 6f 72 64 73 0a 60 6d 6f |The keyw|ords.`mo|
|000034d0| 6e 74 68 27 2c 20 60 64 | 61 79 27 2c 20 61 6e 64 |nth', `d|ay', and|
|000034e0| 20 60 79 65 61 72 27 20 | 77 69 6c 6c 20 6d 61 74 | `year' |will mat|
|000034f0| 63 68 20 74 68 6f 73 65 | 20 6e 75 6d 65 72 69 63 |ch those| numeric|
|00003500| 61 6c 20 76 61 6c 75 65 | 73 2c 20 70 72 65 63 65 |al value|s, prece|
|00003510| 64 65 64 20 62 79 0a 61 | 72 62 69 74 72 61 72 69 |ded by.a|rbitrari|
|00003520| 6c 79 20 6d 61 6e 79 20 | 7a 65 72 6f 73 3b 20 74 |ly many |zeros; t|
|00003530| 68 65 79 20 77 69 6c 6c | 20 61 6c 73 6f 20 6d 61 |hey will| also ma|
|00003540| 74 63 68 20 60 2a 27 2e | 0a 0a 54 68 65 20 6d 61 |tch `*'.|..The ma|
|00003550| 74 63 68 69 6e 67 20 6f | 66 20 74 68 65 20 64 69 |tching o|f the di|
|00003560| 61 72 79 20 65 6e 74 72 | 69 65 73 20 77 69 74 68 |ary entr|ies with|
|00003570| 20 74 68 65 20 64 61 74 | 65 20 66 6f 72 6d 73 20 | the dat|e forms |
|00003580| 69 73 20 64 6f 6e 65 20 | 77 69 74 68 20 74 68 65 |is done |with the|
|00003590| 0a 73 74 61 6e 64 61 72 | 64 20 73 79 6e 74 61 78 |.standar|d syntax|
|000035a0| 20 74 61 62 6c 65 20 66 | 72 6f 6d 20 46 75 6e 64 | table f|rom Fund|
|000035b0| 61 6d 65 6e 74 61 6c 20 | 6d 6f 64 65 2c 20 62 75 |amental |mode, bu|
|000035c0| 74 20 77 69 74 68 20 74 | 68 65 20 60 2a 27 20 63 |t with t|he `*' c|
|000035d0| 68 61 6e 67 65 64 20 73 | 6f 0a 74 68 61 74 20 69 |hanged s|o.that i|
|000035e0| 74 20 69 73 20 61 20 77 | 6f 72 64 20 63 6f 6e 73 |t is a w|ord cons|
|000035f0| 74 69 74 75 65 6e 74 2e | 0a 0a 49 66 2c 20 74 6f |tituent.|..If, to|
|00003600| 20 62 65 20 6d 75 74 75 | 61 6c 6c 79 20 65 78 63 | be mutu|ally exc|
|00003610| 6c 75 73 69 76 65 2c 20 | 61 20 70 73 65 75 64 6f |lusive, |a pseudo|
|00003620| 2d 70 61 74 74 65 72 6e | 20 6d 75 73 74 20 6d 61 |-pattern| must ma|
|00003630| 74 63 68 20 61 20 70 6f | 72 74 69 6f 6e 20 6f 66 |tch a po|rtion of|
|00003640| 20 74 68 65 0a 64 69 61 | 72 79 20 65 6e 74 72 79 | the.dia|ry entry|
|00003650| 20 69 74 73 65 6c 66 2c | 20 74 68 65 20 66 69 72 | itself,| the fir|
|00003660| 73 74 20 65 6c 65 6d 65 | 6e 74 20 6f 66 20 74 68 |st eleme|nt of th|
|00003670| 65 20 70 61 74 74 65 72 | 6e 20 4d 55 53 54 20 62 |e patter|n MUST b|
|00003680| 65 20 60 62 61 63 6b 75 | 70 27 2e 20 20 54 68 69 |e `backu|p'. Thi|
|00003690| 73 0a 64 69 72 65 63 74 | 69 76 65 20 63 61 75 73 |s.direct|ive caus|
|000036a0| 65 73 20 74 68 65 20 64 | 61 74 65 20 72 65 63 6f |es the d|ate reco|
|000036b0| 67 6e 69 7a 65 72 20 74 | 6f 20 62 61 63 6b 20 75 |gnizer t|o back u|
|000036c0| 70 20 74 6f 20 74 68 65 | 20 62 65 67 69 6e 6e 69 |p to the| beginni|
|000036d0| 6e 67 20 6f 66 20 74 68 | 65 0a 63 75 72 72 65 6e |ng of th|e.curren|
|000036e0| 74 20 77 6f 72 64 20 6f | 66 20 74 68 65 20 64 69 |t word o|f the di|
|000036f0| 61 72 79 20 65 6e 74 72 | 79 2c 20 73 6f 20 69 6e |ary entr|y, so in|
|00003700| 20 6e 6f 20 63 61 73 65 | 20 63 61 6e 20 74 68 65 | no case| can the|
|00003710| 20 70 61 74 74 65 72 6e | 20 6d 61 74 63 68 20 6d | pattern| match m|
|00003720| 6f 72 65 20 74 68 61 6e | 0a 61 20 70 6f 72 74 69 |ore than|.a porti|
|00003730| 6f 6e 20 6f 66 20 74 68 | 65 20 66 69 72 73 74 20 |on of th|e first |
|00003740| 77 6f 72 64 20 6f 66 20 | 74 68 65 20 64 69 61 72 |word of |the diar|
|00003750| 79 20 65 6e 74 72 79 2e | 22 29 0a 28 64 65 66 76 |y entry.|").(defv|
|00003760| 61 72 20 65 75 72 6f 70 | 65 61 6e 2d 63 61 6c 65 |ar europ|ean-cale|
|00003770| 6e 64 61 72 2d 64 69 73 | 70 6c 61 79 2d 66 6f 72 |ndar-dis|play-for|
|00003780| 6d 20 27 28 28 69 66 20 | 64 61 79 6e 61 6d 65 20 |m '((if |dayname |
|00003790| 28 63 6f 6e 63 61 74 20 | 64 61 79 6e 61 6d 65 20 |(concat |dayname |
|000037a0| 22 2c 20 22 29 29 20 64 | 61 79 20 22 20 22 20 6d |", ")) d|ay " " m|
|000037b0| 6f 6e 74 68 6e 61 6d 65 | 20 22 20 22 20 79 65 61 |onthname| " " yea|
|000037c0| 72 29 20 22 5c 0a 2a 50 | 73 65 75 64 6f 2d 70 61 |r) "\.*P|seudo-pa|
|000037d0| 74 74 65 72 6e 20 67 6f | 76 65 72 6e 69 6e 67 20 |ttern go|verning |
|000037e0| 74 68 65 20 77 61 79 20 | 61 20 64 61 74 65 20 61 |the way |a date a|
|000037f0| 70 70 65 61 72 73 20 69 | 6e 20 74 68 65 20 45 75 |ppears i|n the Eu|
|00003800| 72 6f 70 65 61 6e 20 73 | 74 79 6c 65 2e 0a 53 65 |ropean s|tyle..Se|
|00003810| 65 20 74 68 65 20 64 6f | 63 75 6d 65 6e 74 61 74 |e the do|cumentat|
|00003820| 69 6f 6e 20 6f 66 20 63 | 61 6c 65 6e 64 61 72 2d |ion of c|alendar-|
|00003830| 64 61 74 65 2d 64 69 73 | 70 6c 61 79 2d 66 6f 72 |date-dis|play-for|
|00003840| 6d 20 66 6f 72 20 61 6e | 20 65 78 70 6c 61 6e 61 |m for an| explana|
|00003850| 74 69 6f 6e 2e 22 29 0a | 28 64 65 66 76 61 72 20 |tion.").|(defvar |
|00003860| 61 6d 65 72 69 63 61 6e | 2d 63 61 6c 65 6e 64 61 |american|-calenda|
|00003870| 72 2d 64 69 73 70 6c 61 | 79 2d 66 6f 72 6d 20 27 |r-displa|y-form '|
|00003880| 28 28 69 66 20 64 61 79 | 6e 61 6d 65 20 28 63 6f |((if day|name (co|
|00003890| 6e 63 61 74 20 64 61 79 | 6e 61 6d 65 20 22 2c 20 |ncat day|name ", |
|000038a0| 22 29 29 20 6d 6f 6e 74 | 68 6e 61 6d 65 20 22 20 |")) mont|hname " |
|000038b0| 22 20 64 61 79 20 22 2c | 20 22 20 79 65 61 72 29 |" day ",| " year)|
|000038c0| 20 22 5c 0a 2a 50 73 65 | 75 64 6f 2d 70 61 74 74 | "\.*Pse|udo-patt|
|000038d0| 65 72 6e 20 67 6f 76 65 | 72 6e 69 6e 67 20 74 68 |ern gove|rning th|
|000038e0| 65 20 77 61 79 20 61 20 | 64 61 74 65 20 61 70 70 |e way a |date app|
|000038f0| 65 61 72 73 20 69 6e 20 | 74 68 65 20 41 6d 65 72 |ears in |the Amer|
|00003900| 69 63 61 6e 20 73 74 79 | 6c 65 2e 0a 53 65 65 20 |ican sty|le..See |
|00003910| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |the docu|mentatio|
|00003920| 6e 20 6f 66 20 60 63 61 | 6c 65 6e 64 61 72 2d 64 |n of `ca|lendar-d|
|00003930| 61 74 65 2d 64 69 73 70 | 6c 61 79 2d 66 6f 72 6d |ate-disp|lay-form|
|00003940| 27 20 66 6f 72 20 61 6e | 20 65 78 70 6c 61 6e 61 |' for an| explana|
|00003950| 74 69 6f 6e 2e 22 29 0a | 28 64 65 66 76 61 72 20 |tion.").|(defvar |
|00003960| 63 61 6c 65 6e 64 61 72 | 2d 64 61 74 65 2d 64 69 |calendar|-date-di|
|00003970| 73 70 6c 61 79 2d 66 6f | 72 6d 20 28 62 79 74 65 |splay-fo|rm (byte|
|00003980| 2d 63 6f 64 65 20 22 08 | ab 82 09 87 5c 6e 87 22 |-code ".|....\n."|
|00003990| 20 5b 65 75 72 6f 70 65 | 61 6e 2d 63 61 6c 65 6e | [europe|an-calen|
|000039a0| 64 61 72 2d 73 74 79 6c | 65 20 65 75 72 6f 70 65 |dar-styl|e europe|
|000039b0| 61 6e 2d 63 61 6c 65 6e | 64 61 72 2d 64 69 73 70 |an-calen|dar-disp|
|000039c0| 6c 61 79 2d 66 6f 72 6d | 20 61 6d 65 72 69 63 61 |lay-form| america|
|000039d0| 6e 2d 63 61 6c 65 6e 64 | 61 72 2d 64 69 73 70 6c |n-calend|ar-displ|
|000039e0| 61 79 2d 66 6f 72 6d 5d | 20 31 29 20 22 5c 0a 2a |ay-form]| 1) "\.*|
|000039f0| 50 73 65 75 64 6f 2d 70 | 61 74 74 65 72 6e 20 67 |Pseudo-p|attern g|
|00003a00| 6f 76 65 72 6e 69 6e 67 | 20 74 68 65 20 77 61 79 |overning| the way|
|00003a10| 20 61 20 64 61 74 65 20 | 61 70 70 65 61 72 73 2e | a date |appears.|
|00003a20| 0a 0a 55 73 65 64 20 62 | 79 20 74 68 65 20 66 75 |..Used b|y the fu|
|00003a30| 6e 63 74 69 6f 6e 20 60 | 63 61 6c 65 6e 64 61 72 |nction `|calendar|
|00003a40| 2d 64 61 74 65 2d 73 74 | 72 69 6e 67 27 2c 20 61 |-date-st|ring', a|
|00003a50| 20 70 73 65 75 64 6f 2d | 70 61 74 74 65 72 6e 20 | pseudo-|pattern |
|00003a60| 69 73 20 61 20 6c 69 73 | 74 20 6f 66 0a 65 78 70 |is a lis|t of.exp|
|00003a70| 72 65 73 73 69 6f 6e 73 | 20 74 68 61 74 20 63 61 |ressions| that ca|
|00003a80| 6e 20 69 6e 76 6f 6c 76 | 65 20 74 68 65 20 6b 65 |n involv|e the ke|
|00003a90| 79 77 6f 72 64 73 20 60 | 6d 6f 6e 74 68 27 2c 20 |ywords `|month', |
|00003aa0| 60 64 61 79 27 2c 20 61 | 6e 64 20 60 79 65 61 72 |`day', a|nd `year|
|00003ab0| 27 2c 20 61 6c 6c 0a 6e | 75 6d 62 65 72 73 20 69 |', all.n|umbers i|
|00003ac0| 6e 20 73 74 72 69 6e 67 | 20 66 6f 72 6d 2c 20 61 |n string| form, a|
|00003ad0| 6e 64 20 60 6d 6f 6e 74 | 68 6e 61 6d 65 27 20 61 |nd `mont|hname' a|
|00003ae0| 6e 64 20 60 64 61 79 6e | 61 6d 65 27 2c 20 62 6f |nd `dayn|ame', bo|
|00003af0| 74 68 20 61 6c 70 68 61 | 62 65 74 69 63 0a 73 74 |th alpha|betic.st|
|00003b00| 72 69 6e 67 73 2e 20 20 | 46 6f 72 20 65 78 61 6d |rings. |For exam|
|00003b10| 70 6c 65 2c 20 74 68 65 | 20 49 53 4f 20 73 74 61 |ple, the| ISO sta|
|00003b20| 6e 64 61 72 64 20 77 6f | 75 6c 64 20 75 73 65 20 |ndard wo|uld use |
|00003b30| 74 68 65 20 70 73 65 75 | 64 6f 2d 20 70 61 74 74 |the pseu|do- patt|
|00003b40| 65 72 6e 0a 0a 20 20 20 | 20 20 20 20 27 28 79 65 |ern.. | '(ye|
|00003b50| 61 72 20 5c 22 2d 5c 22 | 20 6d 6f 6e 74 68 20 5c |ar \"-\"| month \|
|00003b60| 22 2d 5c 22 20 64 61 79 | 29 0a 0a 77 68 69 6c 65 |"-\" day|)..while|
|00003b70| 20 61 20 74 79 70 69 63 | 61 6c 20 41 6d 65 72 69 | a typic|al Ameri|
|00003b80| 63 61 6e 20 66 6f 72 6d | 20 77 6f 75 6c 64 20 62 |can form| would b|
|00003b90| 65 0a 0a 20 20 20 20 20 | 20 20 27 28 6d 6f 6e 74 |e.. | '(mont|
|00003ba0| 68 20 5c 22 2f 5c 22 20 | 64 61 79 20 5c 22 2f 5c |h \"/\" |day \"/\|
|00003bb0| 22 20 28 73 75 62 73 74 | 72 69 6e 67 20 79 65 61 |" (subst|ring yea|
|00003bc0| 72 20 2d 32 29 29 0a 0a | 61 6e 64 0a 0a 20 20 20 |r -2))..|and.. |
|00003bd0| 20 20 20 20 27 28 28 66 | 6f 72 6d 61 74 20 5c 22 | '((f|ormat \"|
|00003be0| 25 39 73 2c 20 25 39 73 | 20 25 32 73 2c 20 25 34 |%9s, %9s| %2s, %4|
|00003bf0| 73 5c 22 20 64 61 79 6e | 61 6d 65 20 6d 6f 6e 74 |s\" dayn|ame mont|
|00003c00| 68 6e 61 6d 65 20 64 61 | 79 20 79 65 61 72 29 29 |hname da|y year))|
|00003c10| 0a 0a 77 6f 75 6c 64 20 | 67 69 76 65 20 74 68 65 |..would |give the|
|00003c20| 20 75 73 75 61 6c 20 41 | 6d 65 72 69 63 61 6e 20 | usual A|merican |
|00003c30| 73 74 79 6c 65 20 69 6e | 20 66 69 78 65 64 2d 6c |style in| fixed-l|
|00003c40| 65 6e 67 74 68 20 66 69 | 65 6c 64 73 2e 0a 0a 53 |ength fi|elds...S|
|00003c50| 65 65 20 74 68 65 20 64 | 6f 63 75 6d 65 6e 74 61 |ee the d|ocumenta|
|00003c60| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 66 75 6e 63 |tion of |the func|
|00003c70| 74 69 6f 6e 20 60 63 61 | 6c 65 6e 64 61 72 2d 64 |tion `ca|lendar-d|
|00003c80| 61 74 65 2d 73 74 72 69 | 6e 67 27 2e 22 29 0a 28 |ate-stri|ng'.").(|
|00003c90| 66 73 65 74 20 27 65 75 | 72 6f 70 65 61 6e 2d 63 |fset 'eu|ropean-c|
|00003ca0| 61 6c 65 6e 64 61 72 20 | 23 5b 6e 69 6c 20 22 c0 |alendar |#[nil ".|
|00003cb0| 11 5c 6e 13 0c 15 c6 20 | 87 22 20 5b 74 20 65 75 |.\n.... |." [t eu|
|00003cc0| 72 6f 70 65 61 6e 2d 63 | 61 6c 65 6e 64 61 72 2d |ropean-c|alendar-|
|00003cd0| 73 74 79 6c 65 20 65 75 | 72 6f 70 65 61 6e 2d 63 |style eu|ropean-c|
|00003ce0| 61 6c 65 6e 64 61 72 2d | 64 69 73 70 6c 61 79 2d |alendar-|display-|
|00003cf0| 66 6f 72 6d 20 63 61 6c | 65 6e 64 61 72 2d 64 61 |form cal|endar-da|
|00003d00| 74 65 2d 64 69 73 70 6c | 61 79 2d 66 6f 72 6d 20 |te-displ|ay-form |
|00003d10| 65 75 72 6f 70 65 61 6e | 2d 64 61 74 65 2d 64 69 |european|-date-di|
|00003d20| 61 72 79 2d 70 61 74 74 | 65 72 6e 20 64 69 61 72 |ary-patt|ern diar|
|00003d30| 79 2d 64 61 74 65 2d 66 | 6f 72 6d 73 20 75 70 64 |y-date-f|orms upd|
|00003d40| 61 74 65 2d 63 61 6c 65 | 6e 64 61 72 2d 6d 6f 64 |ate-cale|ndar-mod|
|00003d50| 65 2d 6c 69 6e 65 5d 20 | 31 20 22 5c 0a 53 65 74 |e-line] |1 "\.Set|
|00003d60| 20 74 68 65 20 69 6e 74 | 65 72 70 72 65 74 61 74 | the int|erpretat|
|00003d70| 69 6f 6e 20 61 6e 64 20 | 64 69 73 70 6c 61 79 20 |ion and |display |
|00003d80| 6f 66 20 64 61 74 65 73 | 20 74 6f 20 74 68 65 20 |of dates| to the |
|00003d90| 45 75 72 6f 70 65 61 6e | 20 73 74 79 6c 65 2e 22 |European| style."|
|00003da0| 20 6e 69 6c 5d 29 0a 28 | 66 73 65 74 20 27 61 6d | nil]).(|fset 'am|
|00003db0| 65 72 69 63 61 6e 2d 63 | 61 6c 65 6e 64 61 72 20 |erican-c|alendar |
|00003dc0| 23 5b 6e 69 6c 20 22 c0 | 11 5c 6e 13 0c 15 c6 20 |#[nil ".|.\n.... |
|00003dd0| 87 22 20 5b 6e 69 6c 20 | 65 75 72 6f 70 65 61 6e |." [nil |european|
|00003de0| 2d 63 61 6c 65 6e 64 61 | 72 2d 73 74 79 6c 65 20 |-calenda|r-style |
|00003df0| 61 6d 65 72 69 63 61 6e | 2d 63 61 6c 65 6e 64 61 |american|-calenda|
|00003e00| 72 2d 64 69 73 70 6c 61 | 79 2d 66 6f 72 6d 20 63 |r-displa|y-form c|
|00003e10| 61 6c 65 6e 64 61 72 2d | 64 61 74 65 2d 64 69 73 |alendar-|date-dis|
|00003e20| 70 6c 61 79 2d 66 6f 72 | 6d 20 61 6d 65 72 69 63 |play-for|m americ|
|00003e30| 61 6e 2d 64 61 74 65 2d | 64 69 61 72 79 2d 70 61 |an-date-|diary-pa|
|00003e40| 74 74 65 72 6e 20 64 69 | 61 72 79 2d 64 61 74 65 |ttern di|ary-date|
|00003e50| 2d 66 6f 72 6d 73 20 75 | 70 64 61 74 65 2d 63 61 |-forms u|pdate-ca|
|00003e60| 6c 65 6e 64 61 72 2d 6d | 6f 64 65 2d 6c 69 6e 65 |lendar-m|ode-line|
|00003e70| 5d 20 31 20 22 5c 0a 53 | 65 74 20 74 68 65 20 69 |] 1 "\.S|et the i|
|00003e80| 6e 74 65 72 70 72 65 74 | 61 74 69 6f 6e 20 61 6e |nterpret|ation an|
|00003e90| 64 20 64 69 73 70 6c 61 | 79 20 6f 66 20 64 61 74 |d displa|y of dat|
|00003ea0| 65 73 20 74 6f 20 74 68 | 65 20 41 6d 65 72 69 63 |es to th|e Americ|
|00003eb0| 61 6e 20 73 74 79 6c 65 | 2e 22 20 6e 69 6c 5d 29 |an style|." nil])|
|00003ec0| 0a 28 64 65 66 76 61 72 | 20 70 72 69 6e 74 2d 64 |.(defvar| print-d|
|00003ed0| 69 61 72 79 2d 65 6e 74 | 72 69 65 73 2d 68 6f 6f |iary-ent|ries-hoo|
|00003ee0| 6b 20 27 6c 70 72 2d 62 | 75 66 66 65 72 20 22 5c |k 'lpr-b|uffer "\|
|00003ef0| 0a 2a 4c 69 73 74 20 6f | 66 20 66 75 6e 63 74 69 |.*List o|f functi|
|00003f00| 6f 6e 73 20 63 61 6c 6c | 65 64 20 61 66 74 65 72 |ons call|ed after|
|00003f10| 20 61 20 74 65 6d 70 6f | 72 61 72 79 20 64 69 61 | a tempo|rary dia|
|00003f20| 72 79 20 62 75 66 66 65 | 72 20 69 73 20 70 72 65 |ry buffe|r is pre|
|00003f30| 70 61 72 65 64 2e 0a 54 | 68 65 20 62 75 66 66 65 |pared..T|he buffe|
|00003f40| 72 20 73 68 6f 77 73 20 | 6f 6e 6c 79 20 74 68 65 |r shows |only the|
|00003f50| 20 64 69 61 72 79 20 65 | 6e 74 72 69 65 73 20 63 | diary e|ntries c|
|00003f60| 75 72 72 65 6e 74 6c 79 | 20 76 69 73 69 62 6c 65 |urrently| visible|
|00003f70| 20 69 6e 20 74 68 65 20 | 64 69 61 72 79 0a 62 75 | in the |diary.bu|
|00003f80| 66 66 65 72 2e 20 20 54 | 68 65 20 64 65 66 61 75 |ffer. T|he defau|
|00003f90| 6c 74 20 6a 75 73 74 20 | 64 6f 65 73 20 74 68 65 |lt just |does the|
|00003fa0| 20 70 72 69 6e 74 69 6e | 67 2e 20 20 4f 74 68 65 | printin|g. Othe|
|00003fb0| 72 20 75 73 65 73 20 6d | 69 67 68 74 20 69 6e 63 |r uses m|ight inc|
|00003fc0| 6c 75 64 65 2c 20 66 6f | 72 0a 65 78 61 6d 70 6c |lude, fo|r.exampl|
|00003fd0| 65 2c 20 72 65 61 72 72 | 61 6e 67 69 6e 67 20 74 |e, rearr|anging t|
|00003fe0| 68 65 20 6c 69 6e 65 73 | 20 69 6e 74 6f 20 6f 72 |he lines| into or|
|00003ff0| 64 65 72 20 62 79 20 64 | 61 79 20 61 6e 64 20 74 |der by d|ay and t|
|00004000| 69 6d 65 2c 20 73 61 76 | 69 6e 67 20 74 68 65 20 |ime, sav|ing the |
|00004010| 62 75 66 66 65 72 0a 69 | 6e 73 74 65 61 64 20 6f |buffer.i|nstead o|
|00004020| 66 20 64 65 6c 65 74 69 | 6e 67 20 69 74 2c 20 6f |f deleti|ng it, o|
|00004030| 72 20 63 68 61 6e 67 69 | 6e 67 20 74 68 65 20 66 |r changi|ng the f|
|00004040| 75 6e 63 74 69 6f 6e 20 | 75 73 65 64 20 74 6f 20 |unction |used to |
|00004050| 64 6f 20 74 68 65 20 70 | 72 69 6e 74 69 6e 67 2e |do the p|rinting.|
|00004060| 22 29 0a 28 64 65 66 76 | 61 72 20 6c 69 73 74 2d |").(defv|ar list-|
|00004070| 64 69 61 72 79 2d 65 6e | 74 72 69 65 73 2d 68 6f |diary-en|tries-ho|
|00004080| 6f 6b 20 6e 69 6c 20 22 | 5c 0a 2a 4c 69 73 74 20 |ok nil "|\.*List |
|00004090| 6f 66 20 66 75 6e 63 74 | 69 6f 6e 73 20 63 61 6c |of funct|ions cal|
|000040a0| 6c 65 64 20 61 66 74 65 | 72 20 64 69 61 72 79 20 |led afte|r diary |
|000040b0| 66 69 6c 65 20 69 73 20 | 63 75 6c 6c 65 64 20 66 |file is |culled f|
|000040c0| 6f 72 20 72 65 6c 65 76 | 61 6e 74 20 65 6e 74 72 |or relev|ant entr|
|000040d0| 69 65 73 2e 0a 49 74 20 | 69 73 20 74 6f 20 62 65 |ies..It |is to be|
|000040e0| 20 75 73 65 64 20 66 6f | 72 20 64 69 61 72 79 20 | used fo|r diary |
|000040f0| 65 6e 74 72 69 65 73 20 | 74 68 61 74 20 61 72 65 |entries |that are|
|00004100| 20 6e 6f 74 20 66 6f 75 | 6e 64 20 69 6e 20 74 68 | not fou|nd in th|
|00004110| 65 20 64 69 61 72 79 20 | 66 69 6c 65 2e 0a 0a 41 |e diary |file...A|
|00004120| 20 66 75 6e 63 74 69 6f | 6e 20 60 69 6e 63 6c 75 | functio|n `inclu|
|00004130| 64 65 2d 6f 74 68 65 72 | 2d 64 69 61 72 79 2d 66 |de-other|-diary-f|
|00004140| 69 6c 65 73 27 20 69 73 | 20 70 72 6f 76 69 64 65 |iles' is| provide|
|00004150| 64 20 66 6f 72 20 75 73 | 65 20 61 73 20 74 68 65 |d for us|e as the|
|00004160| 20 76 61 6c 75 65 20 6f | 66 0a 74 68 69 73 20 68 | value o|f.this h|
|00004170| 6f 6f 6b 2e 20 20 54 68 | 69 73 20 66 75 6e 63 74 |ook. Th|is funct|
|00004180| 69 6f 6e 20 65 6e 61 62 | 6c 65 73 20 79 6f 75 20 |ion enab|les you |
|00004190| 74 6f 20 75 73 65 20 73 | 68 61 72 65 64 20 64 69 |to use s|hared di|
|000041a0| 61 72 79 20 66 69 6c 65 | 73 20 74 6f 67 65 74 68 |ary file|s togeth|
|000041b0| 65 72 0a 77 69 74 68 20 | 79 6f 75 72 20 6f 77 6e |er.with |your own|
|000041c0| 2e 20 20 54 68 65 20 66 | 69 6c 65 73 20 69 6e 63 |. The f|iles inc|
|000041d0| 6c 75 64 65 64 20 61 72 | 65 20 73 70 65 63 69 66 |luded ar|e specif|
|000041e0| 69 65 64 20 69 6e 20 74 | 68 65 20 64 69 61 72 79 |ied in t|he diary|
|000041f0| 20 66 69 6c 65 20 62 79 | 20 6c 69 6e 65 73 0a 6f | file by| lines.o|
|00004200| 66 20 74 68 65 20 66 6f | 72 6d 0a 0a 20 20 20 20 |f the fo|rm.. |
|00004210| 20 20 20 20 23 69 6e 63 | 6c 75 64 65 20 5c 22 66 | #inc|lude \"f|
|00004220| 69 6c 65 6e 61 6d 65 5c | 22 0a 0a 54 68 69 73 20 |ilename\|"..This |
|00004230| 69 73 20 72 65 63 75 72 | 73 69 76 65 3b 20 74 68 |is recur|sive; th|
|00004240| 61 74 20 69 73 2c 20 23 | 69 6e 63 6c 75 64 65 20 |at is, #|include |
|00004250| 64 69 72 65 63 74 69 76 | 65 73 20 69 6e 20 66 69 |directiv|es in fi|
|00004260| 6c 65 73 20 74 68 75 73 | 20 69 6e 63 6c 75 64 65 |les thus| include|
|00004270| 64 20 61 72 65 0a 6f 62 | 65 79 65 64 2e 20 20 59 |d are.ob|eyed. Y|
|00004280| 6f 75 20 63 61 6e 20 63 | 68 61 6e 67 65 20 74 68 |ou can c|hange th|
|00004290| 65 20 5c 22 23 69 6e 63 | 6c 75 64 65 5c 22 20 74 |e \"#inc|lude\" t|
|000042a0| 6f 20 73 6f 6d 65 20 6f | 74 68 65 72 20 73 74 72 |o some o|ther str|
|000042b0| 69 6e 67 20 62 79 20 63 | 68 61 6e 67 69 6e 67 0a |ing by c|hanging.|
|000042c0| 74 68 65 20 76 61 72 69 | 61 62 6c 65 20 60 64 69 |the vari|able `di|
|000042d0| 61 72 79 2d 69 6e 63 6c | 75 64 65 2d 73 74 72 69 |ary-incl|ude-stri|
|000042e0| 6e 67 27 2e 20 20 57 68 | 65 6e 20 79 6f 75 20 75 |ng'. Wh|en you u|
|000042f0| 73 65 20 60 69 6e 63 6c | 75 64 65 2d 6f 74 68 65 |se `incl|ude-othe|
|00004300| 72 2d 64 69 61 72 79 2d | 66 69 6c 65 73 27 0a 61 |r-diary-|files'.a|
|00004310| 73 20 70 61 72 74 20 6f | 66 20 74 68 65 20 6c 69 |s part o|f the li|
|00004320| 73 74 2d 64 69 61 72 79 | 2d 65 6e 74 72 69 65 73 |st-diary|-entries|
|00004330| 2d 68 6f 6f 6b 2c 20 79 | 6f 75 20 77 69 6c 6c 20 |-hook, y|ou will |
|00004340| 70 72 6f 62 61 62 6c 79 | 20 61 6c 73 6f 20 77 61 |probably| also wa|
|00004350| 6e 74 20 74 6f 20 75 73 | 65 20 74 68 65 0a 66 75 |nt to us|e the.fu|
|00004360| 6e 63 74 69 6f 6e 20 60 | 6d 61 72 6b 2d 69 6e 63 |nction `|mark-inc|
|00004370| 6c 75 64 65 64 2d 64 69 | 61 72 79 2d 66 69 6c 65 |luded-di|ary-file|
|00004380| 73 27 20 61 73 20 70 61 | 72 74 20 6f 66 20 60 6d |s' as pa|rt of `m|
|00004390| 61 72 6b 2d 64 69 61 72 | 79 2d 65 6e 74 72 69 65 |ark-diar|y-entrie|
|000043a0| 73 2d 68 6f 6f 6b 27 2e | 0a 0a 46 6f 72 20 65 78 |s-hook'.|..For ex|
|000043b0| 61 6d 70 6c 65 2c 20 79 | 6f 75 20 63 6f 75 6c 64 |ample, y|ou could|
|000043c0| 20 75 73 65 0a 0a 20 20 | 20 20 20 28 73 65 74 71 | use.. | (setq|
|000043d0| 20 6c 69 73 74 2d 64 69 | 61 72 79 2d 65 6e 74 72 | list-di|ary-entr|
|000043e0| 69 65 73 2d 68 6f 6f 6b | 0a 20 20 20 20 20 20 20 |ies-hook|. |
|000043f0| 27 28 69 6e 63 6c 75 64 | 65 2d 6f 74 68 65 72 2d |'(includ|e-other-|
|00004400| 64 69 61 72 79 2d 66 69 | 6c 65 73 20 73 6f 72 74 |diary-fi|les sort|
|00004410| 2d 64 69 61 72 79 2d 65 | 6e 74 72 69 65 73 29 29 |-diary-e|ntries))|
|00004420| 0a 20 20 20 20 20 28 73 | 65 74 71 20 64 69 61 72 |. (s|etq diar|
|00004430| 79 2d 64 69 73 70 6c 61 | 79 2d 68 6f 6f 6b 20 27 |y-displa|y-hook '|
|00004440| 66 61 6e 63 79 2d 64 69 | 61 72 79 2d 64 69 73 70 |fancy-di|ary-disp|
|00004450| 6c 61 79 29 0a 0a 69 6e | 20 79 6f 75 72 20 60 2e |lay)..in| your `.|
|00004460| 65 6d 61 63 73 27 20 66 | 69 6c 65 20 74 6f 20 63 |emacs' f|ile to c|
|00004470| 61 75 73 65 20 74 68 65 | 20 66 61 6e 63 79 20 64 |ause the| fancy d|
|00004480| 69 61 72 79 20 62 75 66 | 66 65 72 20 74 6f 20 62 |iary buf|fer to b|
|00004490| 65 20 64 69 73 70 6c 61 | 79 65 64 20 77 69 74 68 |e displa|yed with|
|000044a0| 0a 64 69 61 72 79 20 65 | 6e 74 72 69 65 73 20 66 |.diary e|ntries f|
|000044b0| 72 6f 6d 20 76 61 72 69 | 6f 75 73 20 69 6e 63 6c |rom vari|ous incl|
|000044c0| 75 64 65 64 20 66 69 6c | 65 73 2c 20 65 61 63 68 |uded fil|es, each|
|000044d0| 20 64 61 79 27 73 20 65 | 6e 74 72 69 65 73 20 73 | day's e|ntries s|
|000044e0| 6f 72 74 65 64 20 69 6e | 74 6f 0a 6c 65 78 69 63 |orted in|to.lexic|
|000044f0| 6f 67 72 61 70 68 69 63 | 20 6f 72 64 65 72 2e 22 |ographic| order."|
|00004500| 29 0a 28 64 65 66 76 61 | 72 20 64 69 61 72 79 2d |).(defva|r diary-|
|00004510| 68 6f 6f 6b 20 6e 69 6c | 20 22 5c 0a 2a 4c 69 73 |hook nil| "\.*Lis|
|00004520| 74 20 6f 66 20 66 75 6e | 63 74 69 6f 6e 73 20 63 |t of fun|ctions c|
|00004530| 61 6c 6c 65 64 20 61 66 | 74 65 72 20 74 68 65 20 |alled af|ter the |
|00004540| 64 69 73 70 6c 61 79 20 | 6f 66 20 74 68 65 20 64 |display |of the d|
|00004550| 69 61 72 79 2e 0a 43 61 | 6e 20 62 65 20 75 73 65 |iary..Ca|n be use|
|00004560| 64 20 66 6f 72 20 61 70 | 70 6f 69 6e 74 6d 65 6e |d for ap|pointmen|
|00004570| 74 20 6e 6f 74 69 66 69 | 63 61 74 69 6f 6e 2e 22 |t notifi|cation."|
|00004580| 29 0a 28 64 65 66 76 61 | 72 20 64 69 61 72 79 2d |).(defva|r diary-|
|00004590| 64 69 73 70 6c 61 79 2d | 68 6f 6f 6b 20 6e 69 6c |display-|hook nil|
|000045a0| 20 22 5c 0a 2a 4c 69 73 | 74 20 6f 66 20 66 75 6e | "\.*Lis|t of fun|
|000045b0| 63 74 69 6f 6e 73 20 74 | 68 61 74 20 68 61 6e 64 |ctions t|hat hand|
|000045c0| 6c 65 20 74 68 65 20 64 | 69 73 70 6c 61 79 20 6f |le the d|isplay o|
|000045d0| 66 20 74 68 65 20 64 69 | 61 72 79 2e 0a 49 66 20 |f the di|ary..If |
|000045e0| 6e 69 6c 20 28 74 68 65 | 20 64 65 66 61 75 6c 74 |nil (the| default|
|000045f0| 29 2c 20 60 73 69 6d 70 | 6c 65 2d 64 69 61 72 79 |), `simp|le-diary|
|00004600| 2d 64 69 73 70 6c 61 79 | 27 20 69 73 20 75 73 65 |-display|' is use|
|00004610| 64 2e 20 20 55 73 65 20 | 60 69 67 6e 6f 72 65 27 |d. Use |`ignore'|
|00004620| 20 66 6f 72 20 6e 6f 0a | 64 69 61 72 79 20 64 69 | for no.|diary di|
|00004630| 73 70 6c 61 79 2e 0a 0a | 4f 72 64 69 6e 61 72 69 |splay...|Ordinari|
|00004640| 6c 79 2c 20 74 68 69 73 | 20 6a 75 73 74 20 64 69 |ly, this| just di|
|00004650| 73 70 6c 61 79 73 20 74 | 68 65 20 64 69 61 72 79 |splays t|he diary|
|00004660| 20 62 75 66 66 65 72 20 | 28 77 69 74 68 20 68 6f | buffer |(with ho|
|00004670| 6c 69 64 61 79 73 20 69 | 6e 64 69 63 61 74 65 64 |lidays i|ndicated|
|00004680| 20 69 6e 0a 74 68 65 20 | 6d 6f 64 65 20 6c 69 6e | in.the |mode lin|
|00004690| 65 29 2c 20 69 66 20 74 | 68 65 72 65 20 61 72 65 |e), if t|here are|
|000046a0| 20 61 6e 79 20 72 65 6c | 65 76 61 6e 74 20 65 6e | any rel|evant en|
|000046b0| 74 72 69 65 73 2e 20 20 | 41 74 20 74 68 65 20 74 |tries. |At the t|
|000046c0| 69 6d 65 20 74 68 65 73 | 65 0a 66 75 6e 63 74 69 |ime thes|e.functi|
|000046d0| 6f 6e 73 20 61 72 65 20 | 63 61 6c 6c 65 64 2c 20 |ons are |called, |
|000046e0| 74 68 65 20 76 61 72 69 | 61 62 6c 65 20 60 64 69 |the vari|able `di|
|000046f0| 61 72 79 2d 65 6e 74 72 | 69 65 73 2d 6c 69 73 74 |ary-entr|ies-list|
|00004700| 27 20 69 73 20 61 20 6c | 69 73 74 2c 20 69 6e 20 |' is a l|ist, in |
|00004710| 6f 72 64 65 72 0a 62 79 | 20 64 61 74 65 2c 20 6f |order.by| date, o|
|00004720| 66 20 61 6c 6c 20 72 65 | 6c 65 76 61 6e 74 20 64 |f all re|levant d|
|00004730| 69 61 72 79 20 65 6e 74 | 72 69 65 73 20 69 6e 20 |iary ent|ries in |
|00004740| 74 68 65 20 66 6f 72 6d | 20 6f 66 20 28 28 4d 4f |the form| of ((MO|
|00004750| 4e 54 48 20 44 41 59 20 | 59 45 41 52 29 0a 53 54 |NTH DAY |YEAR).ST|
|00004760| 52 49 4e 47 29 2c 20 77 | 68 65 72 65 20 73 74 72 |RING), w|here str|
|00004770| 69 6e 67 20 69 73 20 74 | 68 65 20 64 69 61 72 79 |ing is t|he diary|
|00004780| 20 65 6e 74 72 79 20 66 | 6f 72 20 74 68 65 20 67 | entry f|or the g|
|00004790| 69 76 65 6e 20 64 61 74 | 65 2e 20 20 54 68 69 73 |iven dat|e. This|
|000047a0| 20 63 61 6e 20 62 65 0a | 75 73 65 64 2c 20 66 6f | can be.|used, fo|
|000047b0| 72 20 65 78 61 6d 70 6c | 65 2c 20 61 20 64 69 66 |r exampl|e, a dif|
|000047c0| 66 65 72 65 6e 74 20 62 | 75 66 66 65 72 20 66 6f |ferent b|uffer fo|
|000047d0| 72 20 64 69 73 70 6c 61 | 79 20 28 70 65 72 68 61 |r displa|y (perha|
|000047e0| 70 73 20 63 6f 6d 62 69 | 6e 65 64 20 77 69 74 68 |ps combi|ned with|
|000047f0| 0a 68 6f 6c 69 64 61 79 | 73 29 2c 20 6f 72 20 70 |.holiday|s), or p|
|00004800| 72 6f 64 75 63 65 20 68 | 61 72 64 20 63 6f 70 79 |roduce h|ard copy|
|00004810| 20 6f 75 74 70 75 74 2e | 0a 0a 41 20 66 75 6e 63 | output.|..A func|
|00004820| 74 69 6f 6e 20 60 66 61 | 6e 63 79 2d 64 69 61 72 |tion `fa|ncy-diar|
|00004830| 79 2d 64 69 73 70 6c 61 | 79 27 20 69 73 20 70 72 |y-displa|y' is pr|
|00004840| 6f 76 69 64 65 64 20 61 | 73 20 61 6e 20 61 6c 74 |ovided a|s an alt|
|00004850| 65 72 6e 61 74 69 76 65 | 0a 63 68 6f 69 63 65 20 |ernative|.choice |
|00004860| 66 6f 72 20 74 68 69 73 | 20 68 6f 6f 6b 3b 20 74 |for this| hook; t|
|00004870| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 20 70 72 65 |his func|tion pre|
|00004880| 70 61 72 65 73 20 61 20 | 73 70 65 63 69 61 6c 20 |pares a |special |
|00004890| 6e 6f 6e 65 64 69 74 61 | 62 6c 65 20 64 69 61 72 |nonedita|ble diar|
|000048a0| 79 0a 62 75 66 66 65 72 | 20 77 69 74 68 20 74 68 |y.buffer| with th|
|000048b0| 65 20 72 65 6c 65 76 61 | 6e 74 20 64 69 61 72 79 |e releva|nt diary|
|000048c0| 20 65 6e 74 72 69 65 73 | 20 74 68 61 74 20 68 61 | entries| that ha|
|000048d0| 73 20 6e 65 61 74 20 64 | 61 79 2d 62 79 2d 64 61 |s neat d|ay-by-da|
|000048e0| 79 20 61 72 72 61 6e 67 | 65 6d 65 6e 74 0a 77 69 |y arrang|ement.wi|
|000048f0| 74 68 20 68 65 61 64 69 | 6e 67 73 2e 20 20 54 68 |th headi|ngs. Th|
|00004900| 65 20 66 61 6e 63 79 20 | 64 69 61 72 79 20 62 75 |e fancy |diary bu|
|00004910| 66 66 65 72 20 77 69 6c | 6c 20 73 68 6f 77 20 74 |ffer wil|l show t|
|00004920| 68 65 20 68 6f 6c 69 64 | 61 79 73 20 75 6e 6c 65 |he holid|ays unle|
|00004930| 73 73 20 74 68 65 0a 76 | 61 72 69 61 62 6c 65 20 |ss the.v|ariable |
|00004940| 60 68 6f 6c 69 64 61 79 | 73 2d 69 6e 2d 64 69 61 |`holiday|s-in-dia|
|00004950| 72 79 2d 62 75 66 66 65 | 72 27 20 69 73 20 73 65 |ry-buffe|r' is se|
|00004960| 74 20 74 6f 20 6e 69 6c | 2e 20 20 4f 72 64 69 6e |t to nil|. Ordin|
|00004970| 61 72 69 6c 79 2c 20 74 | 68 65 20 66 61 6e 63 79 |arily, t|he fancy|
|00004980| 0a 64 69 61 72 79 20 62 | 75 66 66 65 72 20 77 69 |.diary b|uffer wi|
|00004990| 6c 6c 20 6e 6f 74 20 73 | 68 6f 77 20 64 61 79 73 |ll not s|how days|
|000049a0| 20 66 6f 72 20 77 68 69 | 63 68 20 74 68 65 72 65 | for whi|ch there|
|000049b0| 20 61 72 65 20 6e 6f 20 | 64 69 61 72 79 20 65 6e | are no |diary en|
|000049c0| 74 72 69 65 73 2c 20 65 | 76 65 6e 0a 69 66 20 74 |tries, e|ven.if t|
|000049d0| 68 61 74 20 64 61 79 20 | 69 73 20 61 20 68 6f 6c |hat day |is a hol|
|000049e0| 69 64 61 79 3b 20 69 66 | 20 79 6f 75 20 77 61 6e |iday; if| you wan|
|000049f0| 74 20 73 75 63 68 20 64 | 61 79 73 20 74 6f 20 62 |t such d|ays to b|
|00004a00| 65 20 73 68 6f 77 6e 20 | 69 6e 20 74 68 65 20 66 |e shown |in the f|
|00004a10| 61 6e 63 79 0a 64 69 61 | 72 79 20 62 75 66 66 65 |ancy.dia|ry buffe|
|00004a20| 72 2c 20 73 65 74 20 74 | 68 65 20 76 61 72 69 61 |r, set t|he varia|
|00004a30| 62 6c 65 20 60 64 69 61 | 72 79 2d 6c 69 73 74 2d |ble `dia|ry-list-|
|00004a40| 69 6e 63 6c 75 64 65 2d | 62 6c 61 6e 6b 73 27 20 |include-|blanks' |
|00004a50| 74 6f 20 74 2e 22 29 0a | 28 64 65 66 76 61 72 20 |to t.").|(defvar |
|00004a60| 6e 6f 6e 67 72 65 67 6f | 72 69 61 6e 2d 64 69 61 |nongrego|rian-dia|
|00004a70| 72 79 2d 6c 69 73 74 69 | 6e 67 2d 68 6f 6f 6b 20 |ry-listi|ng-hook |
|00004a80| 6e 69 6c 20 22 5c 0a 2a | 4c 69 73 74 20 6f 66 20 |nil "\.*|List of |
|00004a90| 66 75 6e 63 74 69 6f 6e | 73 20 63 61 6c 6c 65 64 |function|s called|
|00004aa0| 20 66 6f 72 20 6c 69 73 | 74 69 6e 67 20 64 69 61 | for lis|ting dia|
|00004ab0| 72 79 20 66 69 6c 65 20 | 61 6e 64 20 69 6e 63 6c |ry file |and incl|
|00004ac0| 75 64 65 64 20 66 69 6c | 65 73 2e 0a 41 73 20 74 |uded fil|es..As t|
|00004ad0| 68 65 20 66 69 6c 65 73 | 20 61 72 65 20 70 72 6f |he files| are pro|
|00004ae0| 63 65 73 73 65 64 20 66 | 6f 72 20 64 69 61 72 79 |cessed f|or diary|
|00004af0| 20 65 6e 74 72 69 65 73 | 2c 20 74 68 65 73 65 20 | entries|, these |
|00004b00| 66 75 6e 63 74 69 6f 6e | 73 20 61 72 65 20 75 73 |function|s are us|
|00004b10| 65 64 20 74 6f 20 63 75 | 6c 6c 0a 72 65 6c 65 76 |ed to cu|ll.relev|
|00004b20| 61 6e 74 20 65 6e 74 72 | 69 65 73 2e 20 20 59 6f |ant entr|ies. Yo|
|00004b30| 75 20 63 61 6e 20 75 73 | 65 20 65 69 74 68 65 72 |u can us|e either|
|00004b40| 20 6f 72 20 62 6f 74 68 | 20 6f 66 20 60 6c 69 73 | or both| of `lis|
|00004b50| 74 2d 68 65 62 72 65 77 | 2d 64 69 61 72 79 2d 65 |t-hebrew|-diary-e|
|00004b60| 6e 74 72 69 65 73 27 0a | 61 6e 64 20 60 6c 69 73 |ntries'.|and `lis|
|00004b70| 74 2d 69 73 6c 61 6d 69 | 63 2d 64 69 61 72 79 2d |t-islami|c-diary-|
|00004b80| 65 6e 74 72 69 65 73 27 | 2e 20 20 54 68 65 20 64 |entries'|. The d|
|00004b90| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 66 6f 72 |ocumenta|tion for|
|00004ba0| 20 74 68 65 73 65 20 66 | 75 6e 63 74 69 6f 6e 73 | these f|unctions|
|00004bb0| 0a 64 65 73 63 72 69 62 | 65 73 20 74 68 65 20 73 |.describ|es the s|
|00004bc0| 74 79 6c 65 20 6f 66 20 | 73 75 63 68 20 64 69 61 |tyle of |such dia|
|00004bd0| 72 79 20 65 6e 74 72 69 | 65 73 2e 22 29 0a 28 64 |ry entri|es.").(d|
|00004be0| 65 66 76 61 72 20 6d 61 | 72 6b 2d 64 69 61 72 79 |efvar ma|rk-diary|
|00004bf0| 2d 65 6e 74 72 69 65 73 | 2d 68 6f 6f 6b 20 6e 69 |-entries|-hook ni|
|00004c00| 6c 20 22 5c 0a 2a 4c 69 | 73 74 20 6f 66 20 66 75 |l "\.*Li|st of fu|
|00004c10| 6e 63 74 69 6f 6e 73 20 | 63 61 6c 6c 65 64 20 61 |nctions |called a|
|00004c20| 66 74 65 72 20 6d 61 72 | 6b 69 6e 67 20 64 69 61 |fter mar|king dia|
|00004c30| 72 79 20 65 6e 74 72 69 | 65 73 20 69 6e 20 74 68 |ry entri|es in th|
|00004c40| 65 20 63 61 6c 65 6e 64 | 61 72 2e 0a 0a 41 20 66 |e calend|ar...A f|
|00004c50| 75 6e 63 74 69 6f 6e 20 | 60 6d 61 72 6b 2d 69 6e |unction |`mark-in|
|00004c60| 63 6c 75 64 65 64 2d 64 | 69 61 72 79 2d 66 69 6c |cluded-d|iary-fil|
|00004c70| 65 73 27 20 69 73 20 61 | 6c 73 6f 20 70 72 6f 76 |es' is a|lso prov|
|00004c80| 69 64 65 64 20 66 6f 72 | 20 75 73 65 20 61 73 20 |ided for| use as |
|00004c90| 74 68 65 0a 6d 61 72 6b | 2d 64 69 61 72 79 2d 65 |the.mark|-diary-e|
|00004ca0| 6e 74 72 69 65 73 2d 68 | 6f 6f 6b 3b 20 69 74 20 |ntries-h|ook; it |
|00004cb0| 65 6e 61 62 6c 65 73 20 | 79 6f 75 20 74 6f 20 75 |enables |you to u|
|00004cc0| 73 65 20 73 68 61 72 65 | 64 20 64 69 61 72 79 20 |se share|d diary |
|00004cd0| 66 69 6c 65 73 20 74 6f | 67 65 74 68 65 72 0a 77 |files to|gether.w|
|00004ce0| 69 74 68 20 79 6f 75 72 | 20 6f 77 6e 2e 20 20 54 |ith your| own. T|
|00004cf0| 68 65 20 66 69 6c 65 73 | 20 69 6e 63 6c 75 64 65 |he files| include|
|00004d00| 64 20 61 72 65 20 73 70 | 65 63 69 66 69 65 64 20 |d are sp|ecified |
|00004d10| 69 6e 20 74 68 65 20 64 | 69 61 72 79 20 66 69 6c |in the d|iary fil|
|00004d20| 65 20 62 79 20 6c 69 6e | 65 73 0a 6f 66 20 74 68 |e by lin|es.of th|
|00004d30| 65 20 66 6f 72 6d 0a 20 | 20 20 20 20 20 20 20 23 |e form. | #|
|00004d40| 69 6e 63 6c 75 64 65 20 | 5c 22 66 69 6c 65 6e 61 |include |\"filena|
|00004d50| 6d 65 5c 22 0a 54 68 69 | 73 20 69 73 20 72 65 63 |me\".Thi|s is rec|
|00004d60| 75 72 73 69 76 65 3b 20 | 74 68 61 74 20 69 73 2c |ursive; |that is,|
|00004d70| 20 23 69 6e 63 6c 75 64 | 65 20 64 69 72 65 63 74 | #includ|e direct|
|00004d80| 69 76 65 73 20 69 6e 20 | 66 69 6c 65 73 20 74 68 |ives in |files th|
|00004d90| 75 73 20 69 6e 63 6c 75 | 64 65 64 20 61 72 65 0a |us inclu|ded are.|
|00004da0| 6f 62 65 79 65 64 2e 20 | 20 59 6f 75 20 63 61 6e |obeyed. | You can|
|00004db0| 20 63 68 61 6e 67 65 20 | 74 68 65 20 5c 22 23 69 | change |the \"#i|
|00004dc0| 6e 63 6c 75 64 65 5c 22 | 20 74 6f 20 73 6f 6d 65 |nclude\"| to some|
|00004dd0| 20 6f 74 68 65 72 20 73 | 74 72 69 6e 67 20 62 79 | other s|tring by|
|00004de0| 20 63 68 61 6e 67 69 6e | 67 20 74 68 65 0a 76 61 | changin|g the.va|
|00004df0| 72 69 61 62 6c 65 20 60 | 64 69 61 72 79 2d 69 6e |riable `|diary-in|
|00004e00| 63 6c 75 64 65 2d 73 74 | 72 69 6e 67 27 2e 20 20 |clude-st|ring'. |
|00004e10| 57 68 65 6e 20 79 6f 75 | 20 75 73 65 20 60 6d 61 |When you| use `ma|
|00004e20| 72 6b 2d 69 6e 63 6c 75 | 64 65 64 2d 64 69 61 72 |rk-inclu|ded-diar|
|00004e30| 79 2d 66 69 6c 65 73 27 | 20 61 73 0a 70 61 72 74 |y-files'| as.part|
|00004e40| 20 6f 66 20 74 68 65 20 | 6d 61 72 6b 2d 64 69 61 | of the |mark-dia|
|00004e50| 72 79 2d 65 6e 74 72 69 | 65 73 2d 68 6f 6f 6b 2c |ry-entri|es-hook,|
|00004e60| 20 79 6f 75 20 77 69 6c | 6c 20 70 72 6f 62 61 62 | you wil|l probab|
|00004e70| 6c 79 20 61 6c 73 6f 20 | 77 61 6e 74 20 74 6f 20 |ly also |want to |
|00004e80| 75 73 65 20 74 68 65 0a | 66 75 6e 63 74 69 6f 6e |use the.|function|
|00004e90| 20 60 69 6e 63 6c 75 64 | 65 2d 6f 74 68 65 72 2d | `includ|e-other-|
|00004ea0| 64 69 61 72 79 2d 66 69 | 6c 65 73 27 20 61 73 20 |diary-fi|les' as |
|00004eb0| 70 61 72 74 20 6f 66 20 | 60 6c 69 73 74 2d 64 69 |part of |`list-di|
|00004ec0| 61 72 79 2d 65 6e 74 72 | 69 65 73 2d 68 6f 6f 6b |ary-entr|ies-hook|
|00004ed0| 27 2e 22 29 0a 28 64 65 | 66 76 61 72 20 6e 6f 6e |'.").(de|fvar non|
|00004ee0| 67 72 65 67 6f 72 69 61 | 6e 2d 64 69 61 72 79 2d |gregoria|n-diary-|
|00004ef0| 6d 61 72 6b 69 6e 67 2d | 68 6f 6f 6b 20 6e 69 6c |marking-|hook nil|
|00004f00| 20 22 5c 0a 2a 4c 69 73 | 74 20 6f 66 20 66 75 6e | "\.*Lis|t of fun|
|00004f10| 63 74 69 6f 6e 73 20 63 | 61 6c 6c 65 64 20 66 6f |ctions c|alled fo|
|00004f20| 72 20 6d 61 72 6b 69 6e | 67 20 64 69 61 72 79 20 |r markin|g diary |
|00004f30| 66 69 6c 65 20 61 6e 64 | 20 69 6e 63 6c 75 64 65 |file and| include|
|00004f40| 64 20 66 69 6c 65 73 2e | 0a 41 73 20 74 68 65 20 |d files.|.As the |
|00004f50| 66 69 6c 65 73 20 61 72 | 65 20 70 72 6f 63 65 73 |files ar|e proces|
|00004f60| 73 65 64 20 66 6f 72 20 | 64 69 61 72 79 20 65 6e |sed for |diary en|
|00004f70| 74 72 69 65 73 2c 20 74 | 68 65 73 65 20 66 75 6e |tries, t|hese fun|
|00004f80| 63 74 69 6f 6e 73 20 61 | 72 65 20 75 73 65 64 20 |ctions a|re used |
|00004f90| 74 6f 20 63 75 6c 6c 0a | 72 65 6c 65 76 61 6e 74 |to cull.|relevant|
|00004fa0| 20 65 6e 74 72 69 65 73 | 2e 20 20 59 6f 75 20 63 | entries|. You c|
|00004fb0| 61 6e 20 75 73 65 20 65 | 69 74 68 65 72 20 6f 72 |an use e|ither or|
|00004fc0| 20 62 6f 74 68 20 6f 66 | 20 60 6d 61 72 6b 2d 68 | both of| `mark-h|
|00004fd0| 65 62 72 65 77 2d 64 69 | 61 72 79 2d 65 6e 74 72 |ebrew-di|ary-entr|
|00004fe0| 69 65 73 27 0a 61 6e 64 | 20 60 6d 61 72 6b 2d 69 |ies'.and| `mark-i|
|00004ff0| 73 6c 61 6d 69 63 2d 64 | 69 61 72 79 2d 65 6e 74 |slamic-d|iary-ent|
|00005000| 72 69 65 73 27 2e 20 20 | 54 68 65 20 64 6f 63 75 |ries'. |The docu|
|00005010| 6d 65 6e 74 61 74 69 6f | 6e 20 66 6f 72 20 74 68 |mentatio|n for th|
|00005020| 65 73 65 20 66 75 6e 63 | 74 69 6f 6e 73 0a 64 65 |ese func|tions.de|
|00005030| 73 63 72 69 62 65 73 20 | 74 68 65 20 73 74 79 6c |scribes |the styl|
|00005040| 65 20 6f 66 20 73 75 63 | 68 20 64 69 61 72 79 20 |e of suc|h diary |
|00005050| 65 6e 74 72 69 65 73 2e | 22 29 0a 28 64 65 66 76 |entries.|").(defv|
|00005060| 61 72 20 64 69 61 72 79 | 2d 6c 69 73 74 2d 69 6e |ar diary|-list-in|
|00005070| 63 6c 75 64 65 2d 62 6c | 61 6e 6b 73 20 6e 69 6c |clude-bl|anks nil|
|00005080| 20 22 5c 0a 2a 49 66 20 | 6e 69 6c 2c 20 64 6f 20 | "\.*If |nil, do |
|00005090| 6e 6f 74 20 69 6e 63 6c | 75 64 65 20 64 61 79 73 |not incl|ude days|
|000050a0| 20 77 69 74 68 20 6e 6f | 20 64 69 61 72 79 20 65 | with no| diary e|
|000050b0| 6e 74 72 79 20 69 6e 20 | 74 68 65 20 6c 69 73 74 |ntry in |the list|
|000050c0| 20 6f 66 20 64 69 61 72 | 79 20 65 6e 74 72 69 65 | of diar|y entrie|
|000050d0| 73 2e 0a 53 75 63 68 20 | 64 61 79 73 20 77 69 6c |s..Such |days wil|
|000050e0| 6c 20 74 68 65 6e 20 6e | 6f 74 20 62 65 20 73 68 |l then n|ot be sh|
|000050f0| 6f 77 6e 20 69 6e 20 74 | 68 65 20 74 68 65 20 66 |own in t|he the f|
|00005100| 61 6e 63 79 20 64 69 61 | 72 79 20 62 75 66 66 65 |ancy dia|ry buffe|
|00005110| 72 2c 20 65 76 65 6e 20 | 69 66 20 74 68 65 79 0a |r, even |if they.|
|00005120| 61 72 65 20 68 6f 6c 69 | 64 61 79 73 2e 22 29 0a |are holi|days.").|
|00005130| 28 64 65 66 76 61 72 20 | 68 6f 6c 69 64 61 79 73 |(defvar |holidays|
|00005140| 2d 69 6e 2d 64 69 61 72 | 79 2d 62 75 66 66 65 72 |-in-diar|y-buffer|
|00005150| 20 74 20 22 5c 0a 2a 4e | 6f 6e 2d 6e 69 6c 20 6d | t "\.*N|on-nil m|
|00005160| 65 61 6e 73 20 69 6e 63 | 6c 75 64 65 20 68 6f 6c |eans inc|lude hol|
|00005170| 69 64 61 79 73 20 69 6e | 20 74 68 65 20 64 69 61 |idays in| the dia|
|00005180| 72 79 20 64 69 73 70 6c | 61 79 2e 0a 54 68 65 20 |ry displ|ay..The |
|00005190| 68 6f 6c 69 64 61 79 73 | 20 61 70 70 65 61 72 20 |holidays| appear |
|000051a0| 69 6e 20 74 68 65 20 6d | 6f 64 65 20 6c 69 6e 65 |in the m|ode line|
|000051b0| 20 6f 66 20 74 68 65 20 | 64 69 61 72 79 20 62 75 | of the |diary bu|
|000051c0| 66 66 65 72 2c 20 6f 72 | 20 69 6e 20 74 68 65 0a |ffer, or| in the.|
|000051d0| 66 61 6e 63 79 20 64 69 | 61 72 79 20 62 75 66 66 |fancy di|ary buff|
|000051e0| 65 72 20 6e 65 78 74 20 | 74 6f 20 74 68 65 20 64 |er next |to the d|
|000051f0| 61 74 65 2e 20 20 54 68 | 69 73 20 73 6c 6f 77 73 |ate. Th|is slows|
|00005200| 20 64 6f 77 6e 20 74 68 | 65 20 64 69 61 72 79 20 | down th|e diary |
|00005210| 66 75 6e 63 74 69 6f 6e | 73 0a 73 6f 6d 65 77 68 |function|s.somewh|
|00005220| 61 74 3b 20 73 65 74 74 | 69 6e 67 20 69 74 20 74 |at; sett|ing it t|
|00005230| 6f 20 6e 69 6c 20 6d 61 | 6b 65 73 20 74 68 65 20 |o nil ma|kes the |
|00005240| 64 69 61 72 79 20 64 69 | 73 70 6c 61 79 20 66 61 |diary di|splay fa|
|00005250| 73 74 65 72 2e 22 29 0a | 28 62 79 74 65 2d 63 6f |ster.").|(byte-co|
|00005260| 64 65 20 22 c0 c1 21 ac | 82 c2 11 c3 c4 c5 c6 23 |de "..!.|.......#|
|00005270| 87 22 20 5b 62 6f 75 6e | 64 70 20 63 61 6c 65 6e |." [boun|dp calen|
|00005280| 64 61 72 2d 6d 61 72 6b | 2d 72 69 6e 67 20 6e 69 |dar-mark|-ring ni|
|00005290| 6c 20 70 75 74 20 67 65 | 6e 65 72 61 6c 2d 68 6f |l put ge|neral-ho|
|000052a0| 6c 69 64 61 79 73 20 72 | 69 73 6b 79 2d 6c 6f 63 |lidays r|isky-loc|
|000052b0| 61 6c 2d 76 61 72 69 61 | 62 6c 65 20 74 5d 20 34 |al-varia|ble t] 4|
|000052c0| 29 0a 28 64 65 66 76 61 | 72 20 67 65 6e 65 72 61 |).(defva|r genera|
|000052d0| 6c 2d 68 6f 6c 69 64 61 | 79 73 20 27 28 28 68 6f |l-holida|ys '((ho|
|000052e0| 6c 69 64 61 79 2d 66 69 | 78 65 64 20 31 20 31 20 |liday-fi|xed 1 1 |
|000052f0| 22 4e 65 77 20 59 65 61 | 72 27 73 20 44 61 79 22 |"New Yea|r's Day"|
|00005300| 29 20 28 68 6f 6c 69 64 | 61 79 2d 66 6c 6f 61 74 |) (holid|ay-float|
|00005310| 20 31 20 31 20 33 20 22 | 4d 61 72 74 69 6e 20 4c | 1 1 3 "|Martin L|
|00005320| 75 74 68 65 72 20 4b 69 | 6e 67 20 44 61 79 22 29 |uther Ki|ng Day")|
|00005330| 20 28 68 6f 6c 69 64 61 | 79 2d 66 69 78 65 64 20 | (holida|y-fixed |
|00005340| 32 20 32 20 22 47 72 6f | 75 6e 64 20 48 6f 67 20 |2 2 "Gro|und Hog |
|00005350| 44 61 79 22 29 20 28 68 | 6f 6c 69 64 61 79 2d 66 |Day") (h|oliday-f|
|00005360| 69 78 65 64 20 32 20 31 | 34 20 22 56 61 6c 65 6e |ixed 2 1|4 "Valen|
|00005370| 74 69 6e 65 27 73 20 44 | 61 79 22 29 20 28 68 6f |tine's D|ay") (ho|
|00005380| 6c 69 64 61 79 2d 66 6c | 6f 61 74 20 32 20 31 20 |liday-fl|oat 2 1 |
|00005390| 33 20 22 50 72 65 73 69 | 64 65 6e 74 27 73 20 44 |3 "Presi|dent's D|
|000053a0| 61 79 22 29 20 28 68 6f | 6c 69 64 61 79 2d 66 69 |ay") (ho|liday-fi|
|000053b0| 78 65 64 20 33 20 31 37 | 20 22 53 74 2e 20 50 61 |xed 3 17| "St. Pa|
|000053c0| 74 72 69 63 6b 27 73 20 | 44 61 79 22 29 20 28 68 |trick's |Day") (h|
|000053d0| 6f 6c 69 64 61 79 2d 66 | 69 78 65 64 20 34 20 31 |oliday-f|ixed 4 1|
|000053e0| 20 22 41 70 72 69 6c 20 | 46 6f 6f 6c 27 73 20 44 | "April |Fool's D|
|000053f0| 61 79 22 29 20 28 68 6f | 6c 69 64 61 79 2d 66 6c |ay") (ho|liday-fl|
|00005400| 6f 61 74 20 35 20 30 20 | 32 20 22 4d 6f 74 68 65 |oat 5 0 |2 "Mothe|
|00005410| 72 27 73 20 44 61 79 22 | 29 20 28 68 6f 6c 69 64 |r's Day"|) (holid|
|00005420| 61 79 2d 66 6c 6f 61 74 | 20 35 20 31 20 2d 31 20 |ay-float| 5 1 -1 |
|00005430| 22 4d 65 6d 6f 72 69 61 | 6c 20 44 61 79 22 29 20 |"Memoria|l Day") |
|00005440| 28 68 6f 6c 69 64 61 79 | 2d 66 69 78 65 64 20 36 |(holiday|-fixed 6|
|00005450| 20 31 34 20 22 46 6c 61 | 67 20 44 61 79 22 29 20 | 14 "Fla|g Day") |
|00005460| 28 68 6f 6c 69 64 61 79 | 2d 66 6c 6f 61 74 20 36 |(holiday|-float 6|
|00005470| 20 30 20 33 20 22 46 61 | 74 68 65 72 27 73 20 44 | 0 3 "Fa|ther's D|
|00005480| 61 79 22 29 20 28 68 6f | 6c 69 64 61 79 2d 66 69 |ay") (ho|liday-fi|
|00005490| 78 65 64 20 37 20 34 20 | 22 49 6e 64 65 70 65 6e |xed 7 4 |"Indepen|
|000054a0| 64 65 6e 63 65 20 44 61 | 79 22 29 20 28 68 6f 6c |dence Da|y") (hol|
|000054b0| 69 64 61 79 2d 66 6c 6f | 61 74 20 39 20 31 20 31 |iday-flo|at 9 1 1|
|000054c0| 20 22 4c 61 62 6f 72 20 | 44 61 79 22 29 20 28 68 | "Labor |Day") (h|
|000054d0| 6f 6c 69 64 61 79 2d 66 | 6c 6f 61 74 20 31 30 20 |oliday-f|loat 10 |
|000054e0| 31 20 32 20 22 43 6f 6c | 75 6d 62 75 73 20 44 61 |1 2 "Col|umbus Da|
|000054f0| 79 22 29 20 28 68 6f 6c | 69 64 61 79 2d 66 69 78 |y") (hol|iday-fix|
|00005500| 65 64 20 31 30 20 33 31 | 20 22 48 61 6c 6c 6f 77 |ed 10 31| "Hallow|
|00005510| 65 65 6e 22 29 20 28 68 | 6f 6c 69 64 61 79 2d 66 |een") (h|oliday-f|
|00005520| 69 78 65 64 20 31 31 20 | 31 31 20 22 56 65 74 65 |ixed 11 |11 "Vete|
|00005530| 72 61 6e 27 73 20 44 61 | 79 22 29 20 28 68 6f 6c |ran's Da|y") (hol|
|00005540| 69 64 61 79 2d 66 6c 6f | 61 74 20 31 31 20 34 20 |iday-flo|at 11 4 |
|00005550| 34 20 22 54 68 61 6e 6b | 73 67 69 76 69 6e 67 22 |4 "Thank|sgiving"|
|00005560| 29 29 20 22 5c 0a 2a 47 | 65 6e 65 72 61 6c 20 68 |)) "\.*G|eneral h|
|00005570| 6f 6c 69 64 61 79 73 2e | 20 20 44 65 66 61 75 6c |olidays.| Defaul|
|00005580| 74 20 76 61 6c 75 65 20 | 69 73 20 66 6f 72 20 74 |t value |is for t|
|00005590| 68 65 20 55 6e 69 74 65 | 64 20 53 74 61 74 65 73 |he Unite|d States|
|000055a0| 2e 0a 53 65 65 20 74 68 | 65 20 64 6f 63 75 6d 65 |..See th|e docume|
|000055b0| 6e 74 61 74 69 6f 6e 20 | 66 6f 72 20 60 63 61 6c |ntation |for `cal|
|000055c0| 65 6e 64 61 72 2d 68 6f | 6c 69 64 61 79 73 27 20 |endar-ho|lidays' |
|000055d0| 66 6f 72 20 64 65 74 61 | 69 6c 73 2e 22 29 0a 28 |for deta|ils.").(|
|000055e0| 70 75 74 20 27 6c 6f 63 | 61 6c 2d 68 6f 6c 69 64 |put 'loc|al-holid|
|000055f0| 61 79 73 20 27 72 69 73 | 6b 79 2d 6c 6f 63 61 6c |ays 'ris|ky-local|
|00005600| 2d 76 61 72 69 61 62 6c | 65 20 74 29 0a 28 64 65 |-variabl|e t).(de|
|00005610| 66 76 61 72 20 6c 6f 63 | 61 6c 2d 68 6f 6c 69 64 |fvar loc|al-holid|
|00005620| 61 79 73 20 6e 69 6c 20 | 22 5c 0a 2a 4c 6f 63 61 |ays nil |"\.*Loca|
|00005630| 6c 20 68 6f 6c 69 64 61 | 79 73 2e 0a 53 65 65 20 |l holida|ys..See |
|00005640| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |the docu|mentatio|
|00005650| 6e 20 66 6f 72 20 60 63 | 61 6c 65 6e 64 61 72 2d |n for `c|alendar-|
|00005660| 68 6f 6c 69 64 61 79 73 | 27 20 66 6f 72 20 64 65 |holidays|' for de|
|00005670| 74 61 69 6c 73 2e 22 29 | 0a 28 70 75 74 20 27 6f |tails.")|.(put 'o|
|00005680| 74 68 65 72 2d 68 6f 6c | 69 64 61 79 73 20 27 72 |ther-hol|idays 'r|
|00005690| 69 73 6b 79 2d 6c 6f 63 | 61 6c 2d 76 61 72 69 61 |isky-loc|al-varia|
|000056a0| 62 6c 65 20 74 29 0a 28 | 64 65 66 76 61 72 20 6f |ble t).(|defvar o|
|000056b0| 74 68 65 72 2d 68 6f 6c | 69 64 61 79 73 20 6e 69 |ther-hol|idays ni|
|000056c0| 6c 20 22 5c 0a 2a 55 73 | 65 72 20 64 65 66 69 6e |l "\.*Us|er defin|
|000056d0| 65 64 20 68 6f 6c 69 64 | 61 79 73 2e 0a 53 65 65 |ed holid|ays..See|
|000056e0| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 | the doc|umentati|
|000056f0| 6f 6e 20 66 6f 72 20 60 | 63 61 6c 65 6e 64 61 72 |on for `|calendar|
|00005700| 2d 68 6f 6c 69 64 61 79 | 73 27 20 66 6f 72 20 64 |-holiday|s' for d|
|00005710| 65 74 61 69 6c 73 2e 22 | 29 0a 28 62 79 74 65 2d |etails."|).(byte-|
|00005720| 63 6f 64 65 20 22 c0 c1 | c2 c3 23 88 c4 c1 21 ac |code "..|..#...!.|
|00005730| 82 c5 11 c0 c6 c2 c3 23 | 88 c4 c6 21 ac 83 c7 16 |.......#|...!....|
|00005740| 06 c0 c8 c2 c3 23 88 c4 | c8 21 ac 83 c9 16 08 c0 |.....#..|.!......|
|00005750| ca c2 c3 23 88 c4 ca 21 | ac 83 cb 16 5c 6e c0 cc |...#...!|....\n..|
|00005760| c2 c3 23 87 22 20 5b 70 | 75 74 20 68 65 62 72 65 |..#." [p|ut hebre|
|00005770| 77 2d 68 6f 6c 69 64 61 | 79 73 2d 31 20 72 69 73 |w-holida|ys-1 ris|
|00005780| 6b 79 2d 6c 6f 63 61 6c | 2d 76 61 72 69 61 62 6c |ky-local|-variabl|
|00005790| 65 20 74 20 62 6f 75 6e | 64 70 20 28 28 68 6f 6c |e t boun|dp ((hol|
|000057a0| 69 64 61 79 2d 72 6f 73 | 68 2d 68 61 73 68 61 6e |iday-ros|h-hashan|
|000057b0| 61 68 2d 65 74 63 29 20 | 28 69 66 20 61 6c 6c 2d |ah-etc) |(if all-|
|000057c0| 68 65 62 72 65 77 2d 63 | 61 6c 65 6e 64 61 72 2d |hebrew-c|alendar-|
|000057d0| 68 6f 6c 69 64 61 79 73 | 20 28 68 6f 6c 69 64 61 |holidays| (holida|
|000057e0| 79 2d 6a 75 6c 69 61 6e | 20 31 31 20 28 6c 65 74 |y-julian| 11 (let|
|000057f0| 2a 20 28 28 6d 20 64 69 | 73 70 6c 61 79 65 64 2d |* ((m di|splayed-|
|00005800| 6d 6f 6e 74 68 29 20 28 | 79 20 64 69 73 70 6c 61 |month) (|y displa|
|00005810| 79 65 64 2d 79 65 61 72 | 29 20 28 79 65 61 72 29 |yed-year|) (year)|
|00005820| 29 20 28 69 6e 63 72 65 | 6d 65 6e 74 2d 63 61 6c |) (incre|ment-cal|
|00005830| 65 6e 64 61 72 2d 6d 6f | 6e 74 68 20 6d 20 79 20 |endar-mo|nth m y |
|00005840| 2d 31 29 20 28 6c 65 74 | 20 28 28 79 65 61 72 20 |-1) (let| ((year |
|00005850| 28 65 78 74 72 61 63 74 | 2d 63 61 6c 65 6e 64 61 |(extract|-calenda|
|00005860| 72 2d 79 65 61 72 20 28 | 63 61 6c 65 6e 64 61 72 |r-year (|calendar|
|00005870| 2d 6a 75 6c 69 61 6e 2d | 66 72 6f 6d 2d 61 62 73 |-julian-|from-abs|
|00005880| 6f 6c 75 74 65 20 28 63 | 61 6c 65 6e 64 61 72 2d |olute (c|alendar-|
|00005890| 61 62 73 6f 6c 75 74 65 | 2d 66 72 6f 6d 2d 67 72 |absolute|-from-gr|
|000058a0| 65 67 6f 72 69 61 6e 20 | 28 6c 69 73 74 20 6d 20 |egorian |(list m |
|000058b0| 31 20 79 29 29 29 29 29 | 29 20 28 69 66 20 28 7a |1 y)))))|) (if (z|
|000058c0| 65 72 6f 70 20 28 25 20 | 28 31 2b 20 79 65 61 72 |erop (% |(1+ year|
|000058d0| 29 20 34 29 29 20 32 32 | 20 32 31 29 29 29 20 22 |) 4)) 22| 21))) "|
|000058e0| 5c 22 54 61 6c 20 55 6d | 61 74 61 72 5c 22 20 28 |\"Tal Um|atar\" (|
|000058f0| 65 76 65 6e 69 6e 67 29 | 22 29 29 29 20 68 65 62 |evening)|"))) heb|
|00005900| 72 65 77 2d 68 6f 6c 69 | 64 61 79 73 2d 32 20 28 |rew-holi|days-2 (|
|00005910| 28 69 66 20 61 6c 6c 2d | 68 65 62 72 65 77 2d 63 |(if all-|hebrew-c|
|00005920| 61 6c 65 6e 64 61 72 2d | 68 6f 6c 69 64 61 79 73 |alendar-|holidays|
|00005930| 20 28 68 6f 6c 69 64 61 | 79 2d 68 61 6e 75 6b 6b | (holida|y-hanukk|
|00005940| 61 68 29 20 28 68 6f 6c | 69 64 61 79 2d 68 65 62 |ah) (hol|iday-heb|
|00005950| 72 65 77 20 39 20 32 35 | 20 22 48 61 6e 75 6b 6b |rew 9 25| "Hanukk|
|00005960| 61 68 22 29 29 20 28 69 | 66 20 61 6c 6c 2d 68 65 |ah")) (i|f all-he|
|00005970| 62 72 65 77 2d 63 61 6c | 65 6e 64 61 72 2d 68 6f |brew-cal|endar-ho|
|00005980| 6c 69 64 61 79 73 20 28 | 68 6f 6c 69 64 61 79 2d |lidays (|holiday-|
|00005990| 68 65 62 72 65 77 20 31 | 30 20 28 6c 65 74 20 28 |hebrew 1|0 (let (|
|000059a0| 28 68 2d 79 65 61 72 20 | 28 65 78 74 72 61 63 74 |(h-year |(extract|
|000059b0| 2d 63 61 6c 65 6e 64 61 | 72 2d 79 65 61 72 20 28 |-calenda|r-year (|
|000059c0| 63 61 6c 65 6e 64 61 72 | 2d 68 65 62 72 65 77 2d |calendar|-hebrew-|
|000059d0| 66 72 6f 6d 2d 61 62 73 | 6f 6c 75 74 65 20 28 63 |from-abs|olute (c|
|000059e0| 61 6c 65 6e 64 61 72 2d | 61 62 73 6f 6c 75 74 65 |alendar-|absolute|
|000059f0| 2d 66 72 6f 6d 2d 67 72 | 65 67 6f 72 69 61 6e 20 |-from-gr|egorian |
|00005a00| 28 6c 69 73 74 20 64 69 | 73 70 6c 61 79 65 64 2d |(list di|splayed-|
|00005a10| 6d 6f 6e 74 68 20 32 38 | 20 64 69 73 70 6c 61 79 |month 28| display|
|00005a20| 65 64 2d 79 65 61 72 29 | 29 29 29 29 29 20 28 69 |ed-year)|))))) (i|
|00005a30| 66 20 28 3d 20 28 25 20 | 28 63 61 6c 65 6e 64 61 |f (= (% |(calenda|
|00005a40| 72 2d 61 62 73 6f 6c 75 | 74 65 2d 66 72 6f 6d 2d |r-absolu|te-from-|
|00005a50| 68 65 62 72 65 77 20 28 | 6c 69 73 74 20 31 30 20 |hebrew (|list 10 |
|00005a60| 31 30 20 68 2d 79 65 61 | 72 29 29 20 37 29 20 36 |10 h-yea|r)) 7) 6|
|00005a70| 29 20 31 31 20 31 30 29 | 29 20 22 54 7a 6f 6d 20 |) 11 10)|) "Tzom |
|00005a80| 54 65 76 65 74 68 22 29 | 29 20 28 69 66 20 61 6c |Teveth")|) (if al|
|00005a90| 6c 2d 68 65 62 72 65 77 | 2d 63 61 6c 65 6e 64 61 |l-hebrew|-calenda|
|00005aa0| 72 2d 68 6f 6c 69 64 61 | 79 73 20 28 68 6f 6c 69 |r-holida|ys (holi|
|00005ab0| 64 61 79 2d 68 65 62 72 | 65 77 20 31 31 20 31 35 |day-hebr|ew 11 15|
|00005ac0| 20 22 54 75 20 42 27 53 | 68 65 76 61 74 22 29 29 | "Tu B'S|hevat"))|
|00005ad0| 29 20 68 65 62 72 65 77 | 2d 68 6f 6c 69 64 61 79 |) hebrew|-holiday|
|00005ae0| 73 2d 33 20 28 28 69 66 | 20 61 6c 6c 2d 68 65 62 |s-3 ((if| all-heb|
|00005af0| 72 65 77 2d 63 61 6c 65 | 6e 64 61 72 2d 68 6f 6c |rew-cale|ndar-hol|
|00005b00| 69 64 61 79 73 20 28 68 | 6f 6c 69 64 61 79 2d 68 |idays (h|oliday-h|
|00005b10| 65 62 72 65 77 20 31 31 | 20 28 6c 65 74 20 28 28 |ebrew 11| (let ((|
|00005b20| 6d 20 64 69 73 70 6c 61 | 79 65 64 2d 6d 6f 6e 74 |m displa|yed-mont|
|00005b30| 68 29 20 28 79 20 64 69 | 73 70 6c 61 79 65 64 2d |h) (y di|splayed-|
|00005b40| 79 65 61 72 29 29 20 28 | 69 6e 63 72 65 6d 65 6e |year)) (|incremen|
|00005b50| 74 2d 63 61 6c 65 6e 64 | 61 72 2d 6d 6f 6e 74 68 |t-calend|ar-month|
|00005b60| 20 6d 20 79 20 31 29 20 | 28 6c 65 74 2a 20 28 28 | m y 1) |(let* ((|
|00005b70| 68 2d 79 65 61 72 20 28 | 65 78 74 72 61 63 74 2d |h-year (|extract-|
|00005b80| 63 61 6c 65 6e 64 61 72 | 2d 79 65 61 72 20 28 63 |calendar|-year (c|
|00005b90| 61 6c 65 6e 64 61 72 2d | 68 65 62 72 65 77 2d 66 |alendar-|hebrew-f|
|00005ba0| 72 6f 6d 2d 61 62 73 6f | 6c 75 74 65 20 28 63 61 |rom-abso|lute (ca|
|00005bb0| 6c 65 6e 64 61 72 2d 61 | 62 73 6f 6c 75 74 65 2d |lendar-a|bsolute-|
|00005bc0| 66 72 6f 6d 2d 67 72 65 | 67 6f 72 69 61 6e 20 28 |from-gre|gorian (|
|00005bd0| 6c 69 73 74 20 6d 20 28 | 63 61 6c 65 6e 64 61 72 |list m (|calendar|
|00005be0| 2d 6c 61 73 74 2d 64 61 | 79 2d 6f 66 2d 6d 6f 6e |-last-da|y-of-mon|
|00005bf0| 74 68 20 6d 20 79 29 20 | 79 29 29 29 29 29 20 28 |th m y) |y))))) (|
|00005c00| 73 2d 73 20 28 63 61 6c | 65 6e 64 61 72 2d 68 65 |s-s (cal|endar-he|
|00005c10| 62 72 65 77 2d 66 72 6f | 6d 2d 61 62 73 6f 6c 75 |brew-fro|m-absolu|
|00005c20| 74 65 20 28 69 66 20 28 | 3d 20 28 25 20 28 63 61 |te (if (|= (% (ca|
|00005c30| 6c 65 6e 64 61 72 2d 61 | 62 73 6f 6c 75 74 65 2d |lendar-a|bsolute-|
|00005c40| 66 72 6f 6d 2d 68 65 62 | 72 65 77 20 28 6c 69 73 |from-heb|rew (lis|
|00005c50| 74 20 37 20 31 20 68 2d | 79 65 61 72 29 29 20 37 |t 7 1 h-|year)) 7|
|00005c60| 29 20 36 29 20 28 63 61 | 6c 65 6e 64 61 72 2d 64 |) 6) (ca|lendar-d|
|00005c70| 61 79 6e 61 6d 65 2d 6f | 6e 2d 6f 72 2d 62 65 66 |ayname-o|n-or-bef|
|00005c80| 6f 72 65 20 36 20 28 63 | 61 6c 65 6e 64 61 72 2d |ore 6 (c|alendar-|
|00005c90| 61 62 73 6f 6c 75 74 65 | 2d 66 72 6f 6d 2d 68 65 |absolute|-from-he|
|00005ca0| 62 72 65 77 20 28 6c 69 | 73 74 20 31 31 20 31 37 |brew (li|st 11 17|
|00005cb0| 20 68 2d 79 65 61 72 29 | 29 29 20 28 63 61 6c 65 | h-year)|)) (cale|
|00005cc0| 6e 64 61 72 2d 64 61 79 | 6e 61 6d 65 2d 6f 6e 2d |ndar-day|name-on-|
|00005cd0| 6f 72 2d 62 65 66 6f 72 | 65 20 36 20 28 63 61 6c |or-befor|e 6 (cal|
|00005ce0| 65 6e 64 61 72 2d 61 62 | 73 6f 6c 75 74 65 2d 66 |endar-ab|solute-f|
|00005cf0| 72 6f 6d 2d 68 65 62 72 | 65 77 20 28 6c 69 73 74 |rom-hebr|ew (list|
|00005d00| 20 31 31 20 31 36 20 68 | 2d 79 65 61 72 29 29 29 | 11 16 h|-year)))|
|00005d10| 29 29 29 20 28 64 61 79 | 20 28 65 78 74 72 61 63 |))) (day| (extrac|
|00005d20| 74 2d 63 61 6c 65 6e 64 | 61 72 2d 64 61 79 20 73 |t-calend|ar-day s|
|00005d30| 2d 73 29 29 29 20 64 61 | 79 29 29 20 22 53 68 61 |-s))) da|y)) "Sha|
|00005d40| 62 62 61 74 20 53 68 69 | 72 61 68 22 29 29 29 20 |bbat Shi|rah"))) |
|00005d50| 68 65 62 72 65 77 2d 68 | 6f 6c 69 64 61 79 73 2d |hebrew-h|olidays-|
|00005d60| 34 20 28 28 68 6f 6c 69 | 64 61 79 2d 70 61 73 73 |4 ((holi|day-pass|
|00005d70| 6f 76 65 72 2d 65 74 63 | 29 20 28 69 66 20 28 61 |over-etc|) (if (a|
|00005d80| 6e 64 20 61 6c 6c 2d 68 | 65 62 72 65 77 2d 63 61 |nd all-h|ebrew-ca|
|00005d90| 6c 65 6e 64 61 72 2d 68 | 6f 6c 69 64 61 79 73 20 |lendar-h|olidays |
|00005da0| 28 6c 65 74 2a 20 28 28 | 6d 20 64 69 73 70 6c 61 |(let* ((|m displa|
|00005db0| 79 65 64 2d 6d 6f 6e 74 | 68 29 20 28 79 20 64 69 |yed-mont|h) (y di|
|00005dc0| 73 70 6c 61 79 65 64 2d | 79 65 61 72 29 20 28 79 |splayed-|year) (y|
|00005dd0| 65 61 72 29 29 20 28 69 | 6e 63 72 65 6d 65 6e 74 |ear)) (i|ncrement|
|00005de0| 2d 63 61 6c 65 6e 64 61 | 72 2d 6d 6f 6e 74 68 20 |-calenda|r-month |
|00005df0| 6d 20 79 20 2d 31 29 20 | 28 6c 65 74 20 28 28 79 |m y -1) |(let ((y|
|00005e00| 65 61 72 20 28 65 78 74 | 72 61 63 74 2d 63 61 6c |ear (ext|ract-cal|
|00005e10| 65 6e 64 61 72 2d 79 65 | 61 72 20 28 63 61 6c 65 |endar-ye|ar (cale|
|00005e20| 6e 64 61 72 2d 6a 75 6c | 69 61 6e 2d 66 72 6f 6d |ndar-jul|ian-from|
|00005e30| 2d 61 62 73 6f 6c 75 74 | 65 20 28 63 61 6c 65 6e |-absolut|e (calen|
|00005e40| 64 61 72 2d 61 62 73 6f | 6c 75 74 65 2d 66 72 6f |dar-abso|lute-fro|
|00005e50| 6d 2d 67 72 65 67 6f 72 | 69 61 6e 20 28 6c 69 73 |m-gregor|ian (lis|
|00005e60| 74 20 6d 20 31 20 79 29 | 29 29 29 29 29 20 28 3d |t m 1 y)|))))) (=|
|00005e70| 20 32 31 20 28 25 20 79 | 65 61 72 20 32 38 29 29 | 21 (% y|ear 28))|
|00005e80| 29 29 29 20 28 68 6f 6c | 69 64 61 79 2d 6a 75 6c |))) (hol|iday-jul|
|00005e90| 69 61 6e 20 33 20 32 36 | 20 22 4b 69 64 64 75 73 |ian 3 26| "Kiddus|
|00005ea0| 68 20 48 61 48 61 6d 61 | 68 22 29 29 20 28 69 66 |h HaHama|h")) (if|
|00005eb0| 20 61 6c 6c 2d 68 65 62 | 72 65 77 2d 63 61 6c 65 | all-heb|rew-cale|
|00005ec0| 6e 64 61 72 2d 68 6f 6c | 69 64 61 79 73 20 28 68 |ndar-hol|idays (h|
|00005ed0| 6f 6c 69 64 61 79 2d 74 | 69 73 68 61 2d 62 2d 61 |oliday-t|isha-b-a|
|00005ee0| 76 2d 65 74 63 29 29 29 | 20 68 65 62 72 65 77 2d |v-etc)))| hebrew-|
|00005ef0| 68 6f 6c 69 64 61 79 73 | 5d 20 34 29 0a 28 64 65 |holidays|] 4).(de|
|00005f00| 66 76 61 72 20 68 65 62 | 72 65 77 2d 68 6f 6c 69 |fvar heb|rew-holi|
|00005f10| 64 61 79 73 20 28 61 70 | 70 65 6e 64 20 68 65 62 |days (ap|pend heb|
|00005f20| 72 65 77 2d 68 6f 6c 69 | 64 61 79 73 2d 31 20 68 |rew-holi|days-1 h|
|00005f30| 65 62 72 65 77 2d 68 6f | 6c 69 64 61 79 73 2d 32 |ebrew-ho|lidays-2|
|00005f40| 20 68 65 62 72 65 77 2d | 68 6f 6c 69 64 61 79 73 | hebrew-|holidays|
|00005f50| 2d 33 20 68 65 62 72 65 | 77 2d 68 6f 6c 69 64 61 |-3 hebre|w-holida|
|00005f60| 79 73 2d 34 29 20 22 5c | 0a 2a 4a 65 77 69 73 68 |ys-4) "\|.*Jewish|
|00005f70| 20 68 6f 6c 69 64 61 79 | 73 2e 0a 53 65 65 20 74 | holiday|s..See t|
|00005f80| 68 65 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |he docum|entation|
|00005f90| 20 66 6f 72 20 60 63 61 | 6c 65 6e 64 61 72 2d 68 | for `ca|lendar-h|
|00005fa0| 6f 6c 69 64 61 79 73 27 | 20 66 6f 72 20 64 65 74 |olidays'| for det|
|00005fb0| 61 69 6c 73 2e 22 29 0a | 28 70 75 74 20 27 63 68 |ails.").|(put 'ch|
|00005fc0| 72 69 73 74 69 61 6e 2d | 68 6f 6c 69 64 61 79 73 |ristian-|holidays|
|00005fd0| 20 27 72 69 73 6b 79 2d | 6c 6f 63 61 6c 2d 76 61 | 'risky-|local-va|
|00005fe0| 72 69 61 62 6c 65 20 74 | 29 0a 28 64 65 66 76 61 |riable t|).(defva|
|00005ff0| 72 20 63 68 72 69 73 74 | 69 61 6e 2d 68 6f 6c 69 |r christ|ian-holi|
|00006000| 64 61 79 73 20 27 28 28 | 69 66 20 61 6c 6c 2d 63 |days '((|if all-c|
|00006010| 68 72 69 73 74 69 61 6e | 2d 63 61 6c 65 6e 64 61 |hristian|-calenda|
|00006020| 72 2d 68 6f 6c 69 64 61 | 79 73 20 28 68 6f 6c 69 |r-holida|ys (holi|
|00006030| 64 61 79 2d 66 69 78 65 | 64 20 31 20 36 20 22 45 |day-fixe|d 1 6 "E|
|00006040| 70 69 70 68 61 6e 79 22 | 29 29 20 28 68 6f 6c 69 |piphany"|)) (holi|
|00006050| 64 61 79 2d 65 61 73 74 | 65 72 2d 65 74 63 29 20 |day-east|er-etc) |
|00006060| 28 69 66 20 61 6c 6c 2d | 63 68 72 69 73 74 69 61 |(if all-|christia|
|00006070| 6e 2d 63 61 6c 65 6e 64 | 61 72 2d 68 6f 6c 69 64 |n-calend|ar-holid|
|00006080| 61 79 73 20 28 68 6f 6c | 69 64 61 79 2d 67 72 65 |ays (hol|iday-gre|
|00006090| 65 6b 2d 6f 72 74 68 6f | 64 6f 78 2d 65 61 73 74 |ek-ortho|dox-east|
|000060a0| 65 72 29 29 20 28 69 66 | 20 61 6c 6c 2d 63 68 72 |er)) (if| all-chr|
|000060b0| 69 73 74 69 61 6e 2d 63 | 61 6c 65 6e 64 61 72 2d |istian-c|alendar-|
|000060c0| 68 6f 6c 69 64 61 79 73 | 20 28 68 6f 6c 69 64 61 |holidays| (holida|
|000060d0| 79 2d 66 69 78 65 64 20 | 38 20 31 35 20 22 41 73 |y-fixed |8 15 "As|
|000060e0| 73 75 6d 70 74 69 6f 6e | 22 29 29 20 28 69 66 20 |sumption|")) (if |
|000060f0| 61 6c 6c 2d 63 68 72 69 | 73 74 69 61 6e 2d 63 61 |all-chri|stian-ca|
|00006100| 6c 65 6e 64 61 72 2d 68 | 6f 6c 69 64 61 79 73 20 |lendar-h|olidays |
|00006110| 28 68 6f 6c 69 64 61 79 | 2d 61 64 76 65 6e 74 29 |(holiday|-advent)|
|00006120| 29 20 28 68 6f 6c 69 64 | 61 79 2d 66 69 78 65 64 |) (holid|ay-fixed|
|00006130| 20 31 32 20 32 35 20 22 | 43 68 72 69 73 74 6d 61 | 12 25 "|Christma|
|00006140| 73 22 29 20 28 69 66 20 | 61 6c 6c 2d 63 68 72 69 |s") (if |all-chri|
|00006150| 73 74 69 61 6e 2d 63 61 | 6c 65 6e 64 61 72 2d 68 |stian-ca|lendar-h|
|00006160| 6f 6c 69 64 61 79 73 20 | 28 68 6f 6c 69 64 61 79 |olidays |(holiday|
|00006170| 2d 6a 75 6c 69 61 6e 20 | 31 32 20 32 35 20 22 45 |-julian |12 25 "E|
|00006180| 61 73 74 65 72 6e 20 4f | 72 74 68 6f 64 6f 78 20 |astern O|rthodox |
|00006190| 43 68 72 69 73 74 6d 61 | 73 22 29 29 29 20 22 5c |Christma|s"))) "\|
|000061a0| 0a 2a 43 68 72 69 73 74 | 69 61 6e 20 68 6f 6c 69 |.*Christ|ian holi|
|000061b0| 64 61 79 73 2e 0a 53 65 | 65 20 74 68 65 20 64 6f |days..Se|e the do|
|000061c0| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 66 6f 72 20 |cumentat|ion for |
|000061d0| 60 63 61 6c 65 6e 64 61 | 72 2d 68 6f 6c 69 64 61 |`calenda|r-holida|
|000061e0| 79 73 27 20 66 6f 72 20 | 64 65 74 61 69 6c 73 2e |ys' for |details.|
|000061f0| 22 29 0a 28 70 75 74 20 | 27 69 73 6c 61 6d 69 63 |").(put |'islamic|
|00006200| 2d 68 6f 6c 69 64 61 79 | 73 20 27 72 69 73 6b 79 |-holiday|s 'risky|
|00006210| 2d 6c 6f 63 61 6c 2d 76 | 61 72 69 61 62 6c 65 20 |-local-v|ariable |
|00006220| 74 29 0a 28 64 65 66 76 | 61 72 20 69 73 6c 61 6d |t).(defv|ar islam|
|00006230| 69 63 2d 68 6f 6c 69 64 | 61 79 73 20 27 28 28 68 |ic-holid|ays '((h|
|00006240| 6f 6c 69 64 61 79 2d 69 | 73 6c 61 6d 69 63 20 31 |oliday-i|slamic 1|
|00006250| 20 31 20 28 66 6f 72 6d | 61 74 20 22 49 73 6c 61 | 1 (form|at "Isla|
|00006260| 6d 69 63 20 4e 65 77 20 | 59 65 61 72 20 25 64 22 |mic New |Year %d"|
|00006270| 20 28 6c 65 74 20 28 28 | 6d 20 64 69 73 70 6c 61 | (let ((|m displa|
|00006280| 79 65 64 2d 6d 6f 6e 74 | 68 29 20 28 79 20 64 69 |yed-mont|h) (y di|
|00006290| 73 70 6c 61 79 65 64 2d | 79 65 61 72 29 29 20 28 |splayed-|year)) (|
|000062a0| 69 6e 63 72 65 6d 65 6e | 74 2d 63 61 6c 65 6e 64 |incremen|t-calend|
|000062b0| 61 72 2d 6d 6f 6e 74 68 | 20 6d 20 79 20 31 29 20 |ar-month| m y 1) |
|000062c0| 28 65 78 74 72 61 63 74 | 2d 63 61 6c 65 6e 64 61 |(extract|-calenda|
|000062d0| 72 2d 79 65 61 72 20 28 | 63 61 6c 65 6e 64 61 72 |r-year (|calendar|
|000062e0| 2d 69 73 6c 61 6d 69 63 | 2d 66 72 6f 6d 2d 61 62 |-islamic|-from-ab|
|000062f0| 73 6f 6c 75 74 65 20 28 | 63 61 6c 65 6e 64 61 72 |solute (|calendar|
|00006300| 2d 61 62 73 6f 6c 75 74 | 65 2d 66 72 6f 6d 2d 67 |-absolut|e-from-g|
|00006310| 72 65 67 6f 72 69 61 6e | 20 28 6c 69 73 74 20 6d |regorian| (list m|
|00006320| 20 28 63 61 6c 65 6e 64 | 61 72 2d 6c 61 73 74 2d | (calend|ar-last-|
|00006330| 64 61 79 2d 6f 66 2d 6d | 6f 6e 74 68 20 6d 20 79 |day-of-m|onth m y|
|00006340| 29 20 79 29 29 29 29 29 | 29 29 20 28 69 66 20 61 |) y)))))|)) (if a|
|00006350| 6c 6c 2d 69 73 6c 61 6d | 69 63 2d 63 61 6c 65 6e |ll-islam|ic-calen|
|00006360| 64 61 72 2d 68 6f 6c 69 | 64 61 79 73 20 28 68 6f |dar-holi|days (ho|
|00006370| 6c 69 64 61 79 2d 69 73 | 6c 61 6d 69 63 20 31 20 |liday-is|lamic 1 |
|00006380| 31 30 20 22 41 73 68 75 | 72 61 22 29 29 20 28 69 |10 "Ashu|ra")) (i|
|00006390| 66 20 61 6c 6c 2d 69 73 | 6c 61 6d 69 63 2d 63 61 |f all-is|lamic-ca|
|000063a0| 6c 65 6e 64 61 72 2d 68 | 6f 6c 69 64 61 79 73 20 |lendar-h|olidays |
|000063b0| 28 68 6f 6c 69 64 61 79 | 2d 69 73 6c 61 6d 69 63 |(holiday|-islamic|
|000063c0| 20 33 20 31 32 20 22 4d | 75 6c 61 64 2d 61 6c 2d | 3 12 "M|ulad-al-|
|000063d0| 4e 61 62 69 22 29 29 20 | 28 69 66 20 61 6c 6c 2d |Nabi")) |(if all-|
|000063e0| 69 73 6c 61 6d 69 63 2d | 63 61 6c 65 6e 64 61 72 |islamic-|calendar|
|000063f0| 2d 68 6f 6c 69 64 61 79 | 73 20 28 68 6f 6c 69 64 |-holiday|s (holid|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.