home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / emacs-19.16 / lisp / calendar.elc < prev    next >
Emacs Compiled Lisp  |  1993-07-05  |  94.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


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

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



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 69 6d 62 40 67 65 |piled by| jimb@ge|
|00000020| 65 63 68 2e 67 6e 75 2e | 61 69 2e 6d 69 74 2e 65 |ech.gnu.|ai.mit.e|
|00000030| 64 75 20 6f 6e 20 4d 6f | 6e 20 4a 75 6c 20 20 35 |du on Mo|n Jul 5|
|00000040| 20 32 32 3a 33 31 3a 30 | 34 20 31 39 39 33 0a 3b | 22:31:0|4 1993.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 67 64 |;; from |file /gd|
|00000060| 2f 67 6e 75 2f 65 6d 61 | 63 73 2f 31 39 2e 30 2f |/gnu/ema|cs/19.0/|
|00000070| 6c 69 73 70 2f 63 61 6c | 65 6e 64 61 72 2e 65 6c |lisp/cal|endar.el|
|00000080| 0a 3b 3b 3b 20 65 6d 61 | 63 73 20 76 65 72 73 69 |.;;; ema|cs versi|
|00000090| 6f 6e 20 31 39 2e 31 35 | 2e 31 36 2e 0a 3b 3b 3b |on 19.15|.16..;;;|
|000000a0| 20 62 79 74 65 63 6f 6d | 70 20 76 65 72 73 69 6f | bytecom|p versio|
|000000b0| 6e 20 46 53 46 20 32 2e | 31 30 0a 3b 3b 3b 20 6f |n FSF 2.|10.;;; o|
|000000c0| 70 74 69 6d 69 7a 61 74 | 69 6f 6e 20 69 73 20 6f |ptimizat|ion is o|
|000000d0| 6e 2e 0a 3b 3b 3b 20 74 | 68 69 73 20 66 69 6c 65 |n..;;; t|his file|
|000000e0| 20 75 73 65 73 20 6f 70 | 63 6f 64 65 73 20 77 68 | uses op|codes wh|
|000000f0| 69 63 68 20 64 6f 20 6e | 6f 74 20 65 78 69 73 74 |ich do n|ot exist|
|00000100| 20 69 6e 20 45 6d 61 63 | 73 20 31 38 2e 0a 0a 28 | in Emac|s 18...(|
|00000110| 69 66 20 28 61 6e 64 20 | 28 62 6f 75 6e 64 70 20 |if (and |(boundp |
|00000120| 27 65 6d 61 63 73 2d 76 | 65 72 73 69 6f 6e 29 0a |'emacs-v|ersion).|
|00000130| 09 20 28 6f 72 20 28 61 | 6e 64 20 28 62 6f 75 6e |. (or (a|nd (boun|
|00000140| 64 70 20 27 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |dp 'epoc|h::versi|
|00000150| 6f 6e 29 20 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |on) epoc|h::versi|
|00000160| 6f 6e 29 0a 09 20 20 20 | 20 20 28 73 74 72 69 6e |on).. | (strin|
|00000170| 67 2d 6c 65 73 73 70 20 | 65 6d 61 63 73 2d 76 65 |g-lessp |emacs-ve|
|00000180| 72 73 69 6f 6e 20 22 31 | 39 22 29 29 29 0a 20 20 |rsion "1|9"))). |
|00000190| 20 20 28 65 72 72 6f 72 | 20 22 54 68 69 73 20 66 | (error| "This f|
|000001a0| 69 6c 65 20 77 61 73 20 | 63 6f 6d 70 69 6c 65 64 |ile was |compiled|
|000001b0| 20 66 6f 72 20 45 6d 61 | 63 73 20 31 39 22 29 29 | for Ema|cs 19"))|
|000001c0| 0a 0a 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 11 |..(byte-|code "..|
|000001d0| c2 87 22 20 5b 22 56 65 | 72 73 69 6f 6e 20 35 2e |.." ["Ve|rsion 5.|
|000001e0| 31 2c 20 72 65 6c 65 61 | 73 65 64 20 4a 75 6e 65 |1, relea|sed June|
|000001f0| 20 31 38 2c 20 31 39 39 | 33 22 20 63 61 6c 65 6e | 18, 199|3" calen|
|00000200| 64 61 72 2d 76 65 72 73 | 69 6f 6e 20 6e 69 6c 5d |dar-vers|ion nil]|
|00000210| 20 31 29 0a 28 64 65 66 | 76 61 72 20 76 69 65 77 | 1).(def|var view|
|00000220| 2d 64 69 61 72 79 2d 65 | 6e 74 72 69 65 73 2d 69 |-diary-e|ntries-i|
|00000230| 6e 69 74 69 61 6c 6c 79 | 20 6e 69 6c 20 22 5c 0a |nitially| nil "\.|
|00000240| 2a 49 66 20 74 2c 20 74 | 68 65 20 64 69 61 72 79 |*If t, t|he diary|
|00000250| 20 65 6e 74 72 69 65 73 | 20 66 6f 72 20 74 68 65 | entries| for the|
|00000260| 20 63 75 72 72 65 6e 74 | 20 64 61 74 65 20 77 69 | current| date wi|
|00000270| 6c 6c 20 62 65 20 64 69 | 73 70 6c 61 79 65 64 20 |ll be di|splayed |
|00000280| 6f 6e 20 65 6e 74 72 79 | 2e 0a 54 68 65 20 64 69 |on entry|..The di|
|00000290| 61 72 79 20 69 73 20 64 | 69 73 70 6c 61 79 65 64 |ary is d|isplayed|
|000002a0| 20 69 6e 20 61 6e 6f 74 | 68 65 72 20 77 69 6e 64 | in anot|her wind|
|000002b0| 6f 77 20 77 68 65 6e 20 | 74 68 65 20 63 61 6c 65 |ow when |the cale|
|000002c0| 6e 64 61 72 20 69 73 20 | 66 69 72 73 74 20 64 69 |ndar is |first di|
|000002d0| 73 70 6c 61 79 65 64 2c | 0a 69 66 20 74 68 65 20 |splayed,|.if the |
|000002e0| 63 75 72 72 65 6e 74 20 | 64 61 74 65 20 69 73 20 |current |date is |
|000002f0| 76 69 73 69 62 6c 65 2e | 20 20 54 68 65 20 6e 75 |visible.| The nu|
|00000300| 6d 62 65 72 20 6f 66 20 | 64 61 79 73 20 6f 66 20 |mber of |days of |
|00000310| 64 69 61 72 79 20 65 6e | 74 72 69 65 73 20 64 69 |diary en|tries di|
|00000320| 73 70 6c 61 79 65 64 0a | 69 73 20 67 6f 76 65 72 |splayed.|is gover|
|00000330| 6e 65 64 20 62 79 20 74 | 68 65 20 76 61 72 69 61 |ned by t|he varia|
|00000340| 62 6c 65 20 60 6e 75 6d | 62 65 72 2d 6f 66 2d 64 |ble `num|ber-of-d|
|00000350| 69 61 72 79 2d 65 6e 74 | 72 69 65 73 27 2e 22 29 |iary-ent|ries'.")|
|00000360| 0a 28 64 65 66 76 61 72 | 20 6e 75 6d 62 65 72 2d |.(defvar| number-|
|00000370| 6f 66 2d 64 69 61 72 79 | 2d 65 6e 74 72 69 65 73 |of-diary|-entries|
|00000380| 20 31 20 22 5c 0a 2a 53 | 70 65 63 69 66 69 65 73 | 1 "\.*S|pecifies|
|00000390| 20 68 6f 77 20 6d 61 6e | 79 20 64 61 79 73 20 6f | how man|y days o|
|000003a0| 66 20 64 69 61 72 79 20 | 65 6e 74 72 69 65 73 20 |f diary |entries |
|000003b0| 61 72 65 20 74 6f 20 62 | 65 20 64 69 73 70 6c 61 |are to b|e displa|
|000003c0| 79 65 64 20 69 6e 69 74 | 69 61 6c 6c 79 2e 0a 54 |yed init|ially..T|
|000003d0| 68 69 73 20 76 61 72 69 | 61 62 6c 65 20 61 66 66 |his vari|able aff|
|000003e0| 65 63 74 73 20 74 68 65 | 20 64 69 61 72 79 20 64 |ects the| diary d|
|000003f0| 69 73 70 6c 61 79 20 77 | 68 65 6e 20 74 68 65 20 |isplay w|hen the |
|00000400| 63 6f 6d 6d 61 6e 64 20 | 4d 2d 78 20 64 69 61 72 |command |M-x diar|
|00000410| 79 20 69 73 20 75 73 65 | 64 2c 0a 6f 72 20 69 66 |y is use|d,.or if|
|00000420| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 74 68 | the val|ue of th|
|00000430| 65 20 76 61 72 69 61 62 | 6c 65 20 60 76 69 65 77 |e variab|le `view|
|00000440| 2d 64 69 61 72 79 2d 65 | 6e 74 72 69 65 73 2d 69 |-diary-e|ntries-i|
|00000450| 6e 69 74 69 61 6c 6c 79 | 27 20 69 73 20 74 2e 20 |nitially|' is t. |
|00000460| 20 46 6f 72 0a 65 78 61 | 6d 70 6c 65 2c 20 69 66 | For.exa|mple, if|
|00000470| 20 74 68 65 20 64 65 66 | 61 75 6c 74 20 76 61 6c | the def|ault val|
|00000480| 75 65 20 31 20 69 73 20 | 75 73 65 64 2c 20 74 68 |ue 1 is |used, th|
|00000490| 65 6e 20 6f 6e 6c 79 20 | 74 68 65 20 63 75 72 72 |en only |the curr|
|000004a0| 65 6e 74 20 64 61 79 27 | 73 20 64 69 61 72 79 0a |ent day'|s diary.|
|000004b0| 65 6e 74 72 69 65 73 20 | 77 69 6c 6c 20 62 65 20 |entries |will be |
|000004c0| 64 69 73 70 6c 61 79 65 | 64 2e 20 20 49 66 20 74 |displaye|d. If t|
|000004d0| 68 65 20 76 61 6c 75 65 | 20 32 20 69 73 20 75 73 |he value| 2 is us|
|000004e0| 65 64 2c 20 74 68 65 6e | 20 62 6f 74 68 20 74 68 |ed, then| both th|
|000004f0| 65 20 63 75 72 72 65 6e | 74 0a 64 61 79 27 73 20 |e curren|t.day's |
|00000500| 61 6e 64 20 74 68 65 20 | 6e 65 78 74 20 64 61 79 |and the |next day|
|00000510| 27 73 20 65 6e 74 72 69 | 65 73 20 77 69 6c 6c 20 |'s entri|es will |
|00000520| 62 65 20 64 69 73 70 6c | 61 79 65 64 2e 20 20 54 |be displ|ayed. T|
|00000530| 68 65 20 76 61 6c 75 65 | 20 63 61 6e 20 61 6c 73 |he value| can als|
|00000540| 6f 20 62 65 0a 61 20 76 | 65 63 74 6f 72 20 73 75 |o be.a v|ector su|
|00000550| 63 68 20 61 73 20 5b 30 | 20 32 20 32 20 32 20 32 |ch as [0| 2 2 2 2|
|00000560| 20 34 20 31 5d 3b 20 74 | 68 69 73 20 76 61 6c 75 | 4 1]; t|his valu|
|00000570| 65 20 77 69 6c 6c 20 63 | 61 75 73 65 20 6e 6f 20 |e will c|ause no |
|00000580| 64 69 61 72 79 20 65 6e | 74 72 69 65 73 20 74 6f |diary en|tries to|
|00000590| 0a 62 65 20 64 69 73 70 | 6c 61 79 65 64 20 6f 6e |.be disp|layed on|
|000005a0| 20 53 75 6e 64 61 79 2c | 20 74 68 65 20 63 75 72 | Sunday,| the cur|
|000005b0| 72 65 6e 74 20 64 61 74 | 65 27 73 20 61 6e 64 20 |rent dat|e's and |
|000005c0| 74 68 65 20 6e 65 78 74 | 20 64 61 79 27 73 20 64 |the next| day's d|
|000005d0| 69 61 72 79 20 65 6e 74 | 72 69 65 73 0a 74 6f 20 |iary ent|ries.to |
|000005e0| 62 65 20 64 69 73 70 6c | 61 79 65 64 20 4d 6f 6e |be displ|ayed Mon|
|000005f0| 64 61 79 20 74 68 72 6f | 75 67 68 20 54 68 75 72 |day thro|ugh Thur|
|00000600| 73 64 61 79 2c 20 46 72 | 69 64 61 79 20 74 68 72 |sday, Fr|iday thr|
|00000610| 6f 75 67 68 20 4d 6f 6e | 64 61 79 27 73 20 65 6e |ough Mon|day's en|
|00000620| 74 72 69 65 73 20 74 6f | 0a 62 65 20 64 69 73 70 |tries to|.be disp|
|00000630| 6c 61 79 65 64 20 6f 6e | 20 46 72 69 64 61 79 2c |layed on| Friday,|
|00000640| 20 61 6e 64 20 6f 6e 6c | 79 20 53 61 74 75 72 64 | and onl|y Saturd|
|00000650| 61 79 27 73 20 65 6e 74 | 72 69 65 73 20 74 6f 20 |ay's ent|ries to |
|00000660| 62 65 20 64 69 73 70 6c | 61 79 65 64 20 6f 6e 0a |be displ|ayed on.|
|00000670| 53 61 74 75 72 64 61 79 | 2e 20 20 54 68 69 73 20 |Saturday|. This |
|00000680| 76 61 72 69 61 62 6c 65 | 20 64 6f 65 73 20 6e 6f |variable| does no|
|00000690| 74 20 61 66 66 65 63 74 | 20 74 68 65 20 64 69 61 |t affect| the dia|
|000006a0| 72 79 20 64 69 73 70 6c | 61 79 20 77 69 74 68 20 |ry displ|ay with |
|000006b0| 74 68 65 20 60 64 27 0a | 63 6f 6d 6d 61 6e 64 20 |the `d'.|command |
|000006c0| 66 72 6f 6d 20 74 68 65 | 20 63 61 6c 65 6e 64 61 |from the| calenda|
|000006d0| 72 3b 20 69 6e 20 74 68 | 61 74 20 63 61 73 65 2c |r; in th|at case,|
|000006e0| 20 74 68 65 20 70 72 65 | 66 69 78 20 61 72 67 75 | the pre|fix argu|
|000006f0| 6d 65 6e 74 20 63 6f 6e | 74 72 6f 6c 73 20 74 68 |ment con|trols th|
|00000700| 65 0a 6e 75 6d 62 65 72 | 20 6f 66 20 64 61 79 73 |e.number| of days|
|00000710| 20 6f 66 20 64 69 61 72 | 79 20 65 6e 74 72 69 65 | of diar|y entrie|
|00000720| 73 20 64 69 73 70 6c 61 | 79 65 64 2e 22 29 0a 28 |s displa|yed.").(|
|00000730| 64 65 66 76 61 72 20 6d | 61 72 6b 2d 64 69 61 72 |defvar m|ark-diar|
|00000740| 79 2d 65 6e 74 72 69 65 | 73 2d 69 6e 2d 63 61 6c |y-entrie|s-in-cal|
|00000750| 65 6e 64 61 72 20 6e 69 | 6c 20 22 5c 0a 2a 49 66 |endar ni|l "\.*If|
|00000760| 20 74 2c 20 64 61 74 65 | 73 20 77 69 74 68 20 64 | t, date|s with d|
|00000770| 69 61 72 79 20 65 6e 74 | 72 69 65 73 20 77 69 6c |iary ent|ries wil|
|00000780| 6c 20 62 65 20 6d 61 72 | 6b 65 64 20 69 6e 20 74 |l be mar|ked in t|
|00000790| 68 65 20 63 61 6c 65 6e | 64 61 72 20 77 69 6e 64 |he calen|dar wind|
|000007a0| 6f 77 2e 0a 54 68 65 20 | 6d 61 72 6b 69 6e 67 20 |ow..The |marking |
|000007b0| 73 79 6d 62 6f 6c 20 69 | 73 20 73 70 65 63 69 66 |symbol i|s specif|
|000007c0| 69 65 64 20 62 79 20 74 | 68 65 20 76 61 72 69 61 |ied by t|he varia|
|000007d0| 62 6c 65 20 60 64 69 61 | 72 79 2d 65 6e 74 72 79 |ble `dia|ry-entry|
|000007e0| 2d 6d 61 72 6b 65 72 27 | 2e 22 29 0a 28 64 65 66 |-marker'|.").(def|
|000007f0| 76 61 72 20 64 69 61 72 | 79 2d 65 6e 74 72 79 2d |var diar|y-entry-|
|00000800| 6d 61 72 6b 65 72 20 22 | 2b 22 20 22 5c 0a 2a 54 |marker "|+" "\.*T|
|00000810| 68 65 20 73 79 6d 62 6f | 6c 20 75 73 65 64 20 74 |he symbo|l used t|
|00000820| 6f 20 6d 61 72 6b 20 64 | 61 74 65 73 20 74 68 61 |o mark d|ates tha|
|00000830| 74 20 68 61 76 65 20 64 | 69 61 72 79 20 65 6e 74 |t have d|iary ent|
|00000840| 72 69 65 73 2e 22 29 0a | 28 64 65 66 76 61 72 20 |ries.").|(defvar |
|00000850| 76 69 65 77 2d 63 61 6c | 65 6e 64 61 72 2d 68 6f |view-cal|endar-ho|
|00000860| 6c 69 64 61 79 73 2d 69 | 6e 69 74 69 61 6c 6c 79 |lidays-i|nitially|
|00000870| 20 6e 69 6c 20 22 5c 0a | 2a 49 66 20 74 2c 20 68 | nil "\.|*If t, h|
|00000880| 6f 6c 69 64 61 79 73 20 | 66 6f 72 20 63 75 72 72 |olidays |for curr|
|00000890| 65 6e 74 20 74 68 72 65 | 65 20 6d 6f 6e 74 68 20 |ent thre|e month |
|000008a0| 70 65 72 69 6f 64 20 77 | 69 6c 6c 20 62 65 20 64 |period w|ill be d|
|000008b0| 69 73 70 6c 61 79 65 64 | 20 6f 6e 20 65 6e 74 72 |isplayed| on entr|
|000008c0| 79 2e 0a 54 68 65 20 68 | 6f 6c 69 64 61 79 73 20 |y..The h|olidays |
|000008d0| 61 72 65 20 64 69 73 70 | 6c 61 79 65 64 20 69 6e |are disp|layed in|
|000008e0| 20 61 6e 6f 74 68 65 72 | 20 77 69 6e 64 6f 77 20 | another| window |
|000008f0| 77 68 65 6e 20 74 68 65 | 20 63 61 6c 65 6e 64 61 |when the| calenda|
|00000900| 72 20 69 73 20 66 69 72 | 73 74 0a 64 69 73 70 6c |r is fir|st.displ|
|00000910| 61 79 65 64 2e 22 29 0a | 28 64 65 66 76 61 72 20 |ayed.").|(defvar |
|00000920| 6d 61 72 6b 2d 68 6f 6c | 69 64 61 79 73 2d 69 6e |mark-hol|idays-in|
|00000930| 2d 63 61 6c 65 6e 64 61 | 72 20 6e 69 6c 20 22 5c |-calenda|r nil "\|
|00000940| 0a 2a 49 66 20 74 2c 20 | 64 61 74 65 73 20 6f 66 |.*If t, |dates of|
|00000950| 20 68 6f 6c 69 64 61 79 | 73 20 77 69 6c 6c 20 62 | holiday|s will b|
|00000960| 65 20 6d 61 72 6b 65 64 | 20 69 6e 20 74 68 65 20 |e marked| in the |
|00000970| 63 61 6c 65 6e 64 61 72 | 20 77 69 6e 64 6f 77 2e |calendar| window.|
|00000980| 0a 54 68 65 20 6d 61 72 | 6b 69 6e 67 20 73 79 6d |.The mar|king sym|
|00000990| 62 6f 6c 20 69 73 20 73 | 70 65 63 69 66 69 65 64 |bol is s|pecified|
|000009a0| 20 62 79 20 74 68 65 20 | 76 61 72 69 61 62 6c 65 | by the |variable|
|000009b0| 20 60 63 61 6c 65 6e 64 | 61 72 2d 68 6f 6c 69 64 | `calend|ar-holid|
|000009c0| 61 79 2d 6d 61 72 6b 65 | 72 27 2e 22 29 0a 28 64 |ay-marke|r'.").(d|
|000009d0| 65 66 76 61 72 20 63 61 | 6c 65 6e 64 61 72 2d 68 |efvar ca|lendar-h|
|000009e0| 6f 6c 69 64 61 79 2d 6d | 61 72 6b 65 72 20 22 2a |oliday-m|arker "*|
|000009f0| 22 20 22 5c 0a 2a 54 68 | 65 20 73 79 6d 62 6f 6c |" "\.*Th|e symbol|
|00000a00| 20 75 73 65 64 20 74 6f | 20 6d 61 72 6b 20 6e 6f | used to| mark no|
|00000a10| 74 61 62 6c 65 20 64 61 | 74 65 73 20 69 6e 20 74 |table da|tes in t|
|00000a20| 68 65 20 63 61 6c 65 6e | 64 61 72 2e 22 29 0a 28 |he calen|dar.").(|
|00000a30| 64 65 66 76 61 72 20 61 | 6c 6c 2d 68 65 62 72 65 |defvar a|ll-hebre|
|00000a40| 77 2d 63 61 6c 65 6e 64 | 61 72 2d 68 6f 6c 69 64 |w-calend|ar-holid|
|00000a50| 61 79 73 20 6e 69 6c 20 | 22 5c 0a 2a 49 66 20 6e |ays nil |"\.*If n|
|00000a60| 69 6c 2c 20 73 68 6f 77 | 20 6f 6e 6c 79 20 6d 61 |il, show| only ma|
|00000a70| 6a 6f 72 20 68 6f 6c 69 | 64 61 79 73 20 66 72 6f |jor holi|days fro|
|00000a80| 6d 20 74 68 65 20 48 65 | 62 72 65 77 20 63 61 6c |m the He|brew cal|
|00000a90| 65 6e 64 61 72 2e 0a 0a | 49 66 20 6e 69 6c 2c 20 |endar...|If nil, |
|00000aa0| 74 68 65 20 6f 6e 6c 79 | 20 68 6f 6c 69 64 61 79 |the only| holiday|
|00000ab0| 73 20 66 72 6f 6d 20 74 | 68 65 20 48 65 62 72 65 |s from t|he Hebre|
|00000ac0| 77 20 63 61 6c 65 6e 64 | 61 72 20 73 68 6f 77 6e |w calend|ar shown|
|00000ad0| 20 77 69 6c 6c 20 62 65 | 20 74 68 6f 73 65 20 64 | will be| those d|
|00000ae0| 61 79 73 20 6f 66 0a 73 | 75 63 68 20 6d 61 6a 6f |ays of.s|uch majo|
|00000af0| 72 20 69 6e 74 65 72 65 | 73 74 20 61 73 20 74 6f |r intere|st as to|
|00000b00| 20 61 70 70 65 61 72 20 | 6f 6e 20 73 65 63 75 6c | appear |on secul|
|00000b10| 61 72 20 63 61 6c 65 6e | 64 61 72 73 2e 0a 0a 49 |ar calen|dars...I|
|00000b20| 66 20 74 2c 20 74 68 65 | 20 68 6f 6c 69 64 61 79 |f t, the| holiday|
|00000b30| 73 20 73 68 6f 77 6e 20 | 69 6e 20 74 68 65 20 63 |s shown |in the c|
|00000b40| 61 6c 65 6e 64 61 72 20 | 77 69 6c 6c 20 69 6e 63 |alendar |will inc|
|00000b50| 6c 75 64 65 20 61 6c 6c | 20 73 70 65 63 69 61 6c |lude all| special|
|00000b60| 20 64 61 79 73 20 74 68 | 61 74 0a 77 6f 75 6c 64 | days th|at.would|
|00000b70| 20 62 65 20 73 68 6f 77 | 6e 20 6f 6e 20 61 20 63 | be show|n on a c|
|00000b80| 6f 6d 70 6c 65 74 65 20 | 48 65 62 72 65 77 20 63 |omplete |Hebrew c|
|00000b90| 61 6c 65 6e 64 61 72 2e | 22 29 0a 28 64 65 66 76 |alendar.|").(defv|
|00000ba0| 61 72 20 61 6c 6c 2d 63 | 68 72 69 73 74 69 61 6e |ar all-c|hristian|
|00000bb0| 2d 63 61 6c 65 6e 64 61 | 72 2d 68 6f 6c 69 64 61 |-calenda|r-holida|
|00000bc0| 79 73 20 6e 69 6c 20 22 | 5c 0a 2a 49 66 20 6e 69 |ys nil "|\.*If ni|
|00000bd0| 6c 2c 20 73 68 6f 77 20 | 6f 6e 6c 79 20 6d 61 6a |l, show |only maj|
|00000be0| 6f 72 20 68 6f 6c 69 64 | 61 79 73 20 66 72 6f 6d |or holid|ays from|
|00000bf0| 20 74 68 65 20 43 68 72 | 69 73 74 69 61 6e 20 63 | the Chr|istian c|
|00000c00| 61 6c 65 6e 64 61 72 2e | 0a 0a 49 66 20 6e 69 6c |alendar.|..If nil|
|00000c10| 2c 20 74 68 65 20 6f 6e | 6c 79 20 68 6f 6c 69 64 |, the on|ly holid|
|00000c20| 61 79 73 20 66 72 6f 6d | 20 74 68 65 20 43 68 72 |ays from| the Chr|
|00000c30| 69 73 74 69 61 6e 20 63 | 61 6c 65 6e 64 61 72 20 |istian c|alendar |
|00000c40| 73 68 6f 77 6e 20 77 69 | 6c 6c 20 62 65 20 74 68 |shown wi|ll be th|
|00000c50| 6f 73 65 20 64 61 79 73 | 0a 6f 66 20 73 75 63 68 |ose days|.of such|
|00000c60| 20 6d 61 6a 6f 72 20 69 | 6e 74 65 72 65 73 74 20 | major i|nterest |
|00000c70| 61 73 20 74 6f 20 61 70 | 70 65 61 72 20 6f 6e 20 |as to ap|pear on |
|00000c80| 73 65 63 75 6c 61 72 20 | 63 61 6c 65 6e 64 61 72 |secular |calendar|
|00000c90| 73 2e 0a 0a 49 66 20 74 | 2c 20 74 68 65 20 68 6f |s...If t|, the ho|
|00000ca0| 6c 69 64 61 79 73 20 73 | 68 6f 77 6e 20 69 6e 20 |lidays s|hown in |
|00000cb0| 74 68 65 20 63 61 6c 65 | 6e 64 61 72 20 77 69 6c |the cale|ndar wil|
|00000cc0| 6c 20 69 6e 63 6c 75 64 | 65 20 61 6c 6c 20 73 70 |l includ|e all sp|
|00000cd0| 65 63 69 61 6c 20 64 61 | 79 73 20 74 68 61 74 0a |ecial da|ys that.|
|00000ce0| 77 6f 75 6c 64 20 62 65 | 20 73 68 6f 77 6e 20 6f |would be| shown o|
|00000cf0| 6e 20 61 20 63 6f 6d 70 | 6c 65 74 65 20 43 68 72 |n a comp|lete Chr|
|00000d00| 69 73 74 69 61 6e 20 63 | 61 6c 65 6e 64 61 72 2e |istian c|alendar.|
|00000d10| 22 29 0a 28 64 65 66 76 | 61 72 20 61 6c 6c 2d 69 |").(defv|ar all-i|
|00000d20| 73 6c 61 6d 69 63 2d 63 | 61 6c 65 6e 64 61 72 2d |slamic-c|alendar-|
|00000d30| 68 6f 6c 69 64 61 79 73 | 20 6e 69 6c 20 22 5c 0a |holidays| nil "\.|
|00000d40| 2a 49 66 20 6e 69 6c 2c | 20 73 68 6f 77 20 6f 6e |*If nil,| show on|
|00000d50| 6c 79 20 6d 61 6a 6f 72 | 20 68 6f 6c 69 64 61 79 |ly major| holiday|
|00000d60| 73 20 66 72 6f 6d 20 74 | 68 65 20 49 73 6c 61 6d |s from t|he Islam|
|00000d70| 69 63 20 63 61 6c 65 6e | 64 61 72 2e 0a 0a 49 66 |ic calen|dar...If|
|00000d80| 20 6e 69 6c 2c 20 74 68 | 65 20 6f 6e 6c 79 20 68 | nil, th|e only h|
|00000d90| 6f 6c 69 64 61 79 73 20 | 66 72 6f 6d 20 74 68 65 |olidays |from the|
|00000da0| 20 49 73 6c 61 6d 69 63 | 20 63 61 6c 65 6e 64 61 | Islamic| calenda|
|00000db0| 72 20 73 68 6f 77 6e 20 | 77 69 6c 6c 20 62 65 20 |r shown |will be |
|00000dc0| 74 68 6f 73 65 20 64 61 | 79 73 0a 6f 66 20 73 75 |those da|ys.of su|
|00000dd0| 63 68 20 6d 61 6a 6f 72 | 20 69 6e 74 65 72 65 73 |ch major| interes|
|00000de0| 74 20 61 73 20 74 6f 20 | 61 70 70 65 61 72 20 6f |t as to |appear o|
|00000df0| 6e 20 73 65 63 75 6c 61 | 72 20 63 61 6c 65 6e 64 |n secula|r calend|
|00000e00| 61 72 73 2e 0a 0a 49 66 | 20 74 2c 20 74 68 65 20 |ars...If| t, the |
|00000e10| 68 6f 6c 69 64 61 79 73 | 20 73 68 6f 77 6e 20 69 |holidays| shown i|
|00000e20| 6e 20 74 68 65 20 63 61 | 6c 65 6e 64 61 72 20 77 |n the ca|lendar w|
|00000e30| 69 6c 6c 20 69 6e 63 6c | 75 64 65 20 61 6c 6c 20 |ill incl|ude all |
|00000e40| 73 70 65 63 69 61 6c 20 | 64 61 79 73 20 74 68 61 |special |days tha|
|00000e50| 74 0a 77 6f 75 6c 64 20 | 62 65 20 73 68 6f 77 6e |t.would |be shown|
|00000e60| 20 6f 6e 20 61 20 63 6f | 6d 70 6c 65 74 65 20 49 | on a co|mplete I|
|00000e70| 73 6c 61 6d 69 63 20 63 | 61 6c 65 6e 64 61 72 2e |slamic c|alendar.|
|00000e80| 22 29 0a 28 64 65 66 76 | 61 72 20 63 61 6c 65 6e |").(defv|ar calen|
|00000e90| 64 61 72 2d 6c 6f 61 64 | 2d 68 6f 6f 6b 20 6e 69 |dar-load|-hook ni|
|00000ea0| 6c 20 22 5c 0a 2a 4c 69 | 73 74 20 6f 66 20 66 75 |l "\.*Li|st of fu|
|00000eb0| 6e 63 74 69 6f 6e 73 20 | 74 6f 20 62 65 20 63 61 |nctions |to be ca|
|00000ec0| 6c 6c 65 64 20 61 66 74 | 65 72 20 74 68 65 20 63 |lled aft|er the c|
|00000ed0| 61 6c 65 6e 64 61 72 20 | 69 73 20 66 69 72 73 74 |alendar |is first|
|00000ee0| 20 6c 6f 61 64 65 64 2e | 0a 54 68 69 73 20 69 73 | loaded.|.This is|
|00000ef0| 20 74 68 65 20 70 6c 61 | 63 65 20 74 6f 20 61 64 | the pla|ce to ad|
|00000f00| 64 20 6b 65 79 20 62 69 | 6e 64 69 6e 67 73 20 74 |d key bi|ndings t|
|00000f10| 6f 20 63 61 6c 65 6e 64 | 61 72 2d 6d 6f 64 65 2d |o calend|ar-mode-|
|00000f20| 6d 61 70 2e 22 29 0a 28 | 64 65 66 76 61 72 20 69 |map.").(|defvar i|
|00000f30| 6e 69 74 69 61 6c 2d 63 | 61 6c 65 6e 64 61 72 2d |nitial-c|alendar-|
|00000f40| 77 69 6e 64 6f 77 2d 68 | 6f 6f 6b 20 6e 69 6c 20 |window-h|ook nil |
|00000f50| 22 5c 0a 2a 4c 69 73 74 | 20 6f 66 20 66 75 6e 63 |"\.*List| of func|
|00000f60| 74 69 6f 6e 73 20 74 6f | 20 62 65 20 63 61 6c 6c |tions to| be call|
|00000f70| 65 64 20 77 68 65 6e 20 | 74 68 65 20 63 61 6c 65 |ed when |the cale|
|00000f80| 6e 64 61 72 20 77 69 6e | 64 6f 77 20 69 73 20 66 |ndar win|dow is f|
|00000f90| 69 72 73 74 20 6f 70 65 | 6e 65 64 2e 0a 54 68 65 |irst ope|ned..The|
|00000fa0| 20 66 75 6e 63 74 69 6f | 6e 73 20 69 6e 76 6f 6b | functio|ns invok|
|00000fb0| 65 64 20 61 72 65 20 63 | 61 6c 6c 65 64 20 61 66 |ed are c|alled af|
|00000fc0| 74 65 72 20 74 68 65 20 | 63 61 6c 65 6e 64 61 72 |ter the |calendar|
|00000fd0| 20 77 69 6e 64 6f 77 20 | 69 73 20 6f 70 65 6e 65 | window |is opene|
|00000fe0| 64 2c 20 62 75 74 0a 6f | 6e 63 65 20 6f 70 65 6e |d, but.o|nce open|
|00000ff0| 65 64 20 69 73 20 6e 65 | 76 65 72 20 63 61 6c 6c |ed is ne|ver call|
|00001000| 65 64 20 61 67 61 69 6e | 2e 20 20 4c 65 61 76 69 |ed again|. Leavi|
|00001010| 6e 67 20 74 68 65 20 63 | 61 6c 65 6e 64 61 72 20 |ng the c|alendar |
|00001020| 77 69 74 68 20 74 68 65 | 20 60 71 27 20 63 6f 6d |with the| `q' com|
|00001030| 6d 61 6e 64 0a 61 6e 64 | 20 72 65 65 6e 74 65 72 |mand.and| reenter|
|00001040| 69 6e 67 20 69 74 20 77 | 69 6c 6c 20 63 61 75 73 |ing it w|ill caus|
|00001050| 65 20 74 68 65 73 65 20 | 66 75 6e 63 74 69 6f 6e |e these |function|
|00001060| 73 20 74 6f 20 62 65 20 | 63 61 6c 6c 65 64 20 61 |s to be |called a|
|00001070| 67 61 69 6e 2e 22 29 0a | 28 64 65 66 76 61 72 20 |gain.").|(defvar |
|00001080| 74 6f 64 61 79 2d 76 69 | 73 69 62 6c 65 2d 63 61 |today-vi|sible-ca|
|00001090| 6c 65 6e 64 61 72 2d 68 | 6f 6f 6b 20 6e 69 6c 20 |lendar-h|ook nil |
|000010a0| 22 5c 0a 2a 4c 69 73 74 | 20 6f 66 20 66 75 6e 63 |"\.*List| of func|
|000010b0| 74 69 6f 6e 73 20 63 61 | 6c 6c 65 64 20 77 68 65 |tions ca|lled whe|
|000010c0| 6e 65 76 65 72 20 74 68 | 65 20 63 75 72 72 65 6e |never th|e curren|
|000010d0| 74 20 64 61 74 65 20 69 | 73 20 76 69 73 69 62 6c |t date i|s visibl|
|000010e0| 65 2e 0a 54 68 69 73 20 | 63 61 6e 20 62 65 20 75 |e..This |can be u|
|000010f0| 73 65 64 2c 20 66 6f 72 | 20 65 78 61 6d 70 6c 65 |sed, for| example|
|00001100| 2c 20 74 6f 20 72 65 70 | 6c 61 63 65 20 74 6f 64 |, to rep|lace tod|
|00001110| 61 79 27 73 20 64 61 74 | 65 20 77 69 74 68 20 61 |ay's dat|e with a|
|00001120| 73 74 65 72 69 73 6b 73 | 3b 20 61 0a 66 75 6e 63 |sterisks|; a.func|
|00001130| 74 69 6f 6e 20 60 63 61 | 6c 65 6e 64 61 72 2d 73 |tion `ca|lendar-s|
|00001140| 74 61 72 2d 64 61 74 65 | 27 20 69 73 20 69 6e 63 |tar-date|' is inc|
|00001150| 6c 75 64 65 64 20 66 6f | 72 20 74 68 69 73 20 70 |luded fo|r this p|
|00001160| 75 72 70 6f 73 65 3a 0a | 20 20 20 20 28 73 65 74 |urpose:.| (set|
|00001170| 71 20 74 6f 64 61 79 2d | 76 69 73 69 62 6c 65 2d |q today-|visible-|
|00001180| 63 61 6c 65 6e 64 61 72 | 2d 68 6f 6f 6b 20 27 63 |calendar|-hook 'c|
|00001190| 61 6c 65 6e 64 61 72 2d | 73 74 61 72 2d 64 61 74 |alendar-|star-dat|
|000011a0| 65 29 0a 49 74 20 63 6f | 75 6c 64 20 61 6c 73 6f |e).It co|uld also|
|000011b0| 20 62 65 20 75 73 65 64 | 20 74 6f 20 6d 61 72 6b | be used| to mark|
|000011c0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 64 61 74 | the cur|rent dat|
|000011d0| 65 20 77 69 74 68 20 60 | 3d 27 3b 20 61 20 66 75 |e with `|='; a fu|
|000011e0| 6e 63 74 69 6f 6e 20 69 | 73 20 61 6c 73 6f 0a 70 |nction i|s also.p|
|000011f0| 72 6f 76 69 64 65 64 20 | 66 6f 72 20 74 68 69 73 |rovided |for this|
|00001200| 3a 0a 20 20 20 20 28 73 | 65 74 71 20 74 6f 64 61 |:. (s|etq toda|
|00001210| 79 2d 76 69 73 69 62 6c | 65 2d 63 61 6c 65 6e 64 |y-visibl|e-calend|
|00001220| 61 72 2d 68 6f 6f 6b 20 | 27 63 61 6c 65 6e 64 61 |ar-hook |'calenda|
|00001230| 72 2d 6d 61 72 6b 2d 74 | 6f 64 61 79 29 0a 0a 54 |r-mark-t|oday)..T|
|00001240| 68 65 20 63 6f 72 72 65 | 73 70 6f 6e 64 69 6e 67 |he corre|sponding|
|00001250| 20 76 61 72 69 61 62 6c | 65 20 60 74 6f 64 61 79 | variabl|e `today|
|00001260| 2d 69 6e 76 69 73 69 62 | 6c 65 2d 63 61 6c 65 6e |-invisib|le-calen|
|00001270| 64 61 72 2d 68 6f 6f 6b | 27 20 69 73 20 74 68 65 |dar-hook|' is the|
|00001280| 20 6c 69 73 74 20 6f 66 | 0a 66 75 6e 63 74 69 6f | list of|.functio|
|00001290| 6e 73 20 63 61 6c 6c 65 | 64 20 77 68 65 6e 20 74 |ns calle|d when t|
|000012a0| 68 65 20 63 61 6c 65 6e | 64 61 72 20 66 75 6e 63 |he calen|dar func|
|000012b0| 74 69 6f 6e 20 77 61 73 | 20 63 61 6c 6c 65 64 20 |tion was| called |
|000012c0| 77 68 65 6e 20 74 68 65 | 20 63 75 72 72 65 6e 74 |when the| current|
|000012d0| 0a 64 61 74 65 20 69 73 | 20 6e 6f 74 20 76 69 73 |.date is| not vis|
|000012e0| 69 62 6c 65 20 69 6e 20 | 74 68 65 20 77 69 6e 64 |ible in |the wind|
|000012f0| 6f 77 2e 0a 0a 4f 74 68 | 65 72 20 74 68 61 6e 20 |ow...Oth|er than |
|00001300| 74 68 65 20 75 73 65 20 | 6f 66 20 74 68 65 20 70 |the use |of the p|
|00001310| 72 6f 76 69 64 65 64 20 | 66 75 6e 63 74 69 6f 6e |rovided |function|
|00001320| 73 2c 20 74 68 65 20 63 | 68 61 6e 67 69 6e 67 20 |s, the c|hanging |
|00001330| 6f 66 20 61 6e 79 0a 63 | 68 61 72 61 63 74 65 72 |of any.c|haracter|
|00001340| 73 20 69 6e 20 74 68 65 | 20 63 61 6c 65 6e 64 61 |s in the| calenda|
|00001350| 72 20 62 75 66 66 65 72 | 20 62 79 20 74 68 65 20 |r buffer| by the |
|00001360| 68 6f 6f 6b 73 20 6d 61 | 79 20 63 61 75 73 65 20 |hooks ma|y cause |
|00001370| 74 68 65 20 66 61 69 6c | 75 72 65 20 6f 66 20 74 |the fail|ure of t|
|00001380| 68 65 0a 66 75 6e 63 74 | 69 6f 6e 73 20 74 68 61 |he.funct|ions tha|
|00001390| 74 20 6d 6f 76 65 20 62 | 79 20 64 61 79 73 20 61 |t move b|y days a|
|000013a0| 6e 64 20 77 65 65 6b 73 | 2e 22 29 0a 28 64 65 66 |nd weeks|.").(def|
|000013b0| 76 61 72 20 74 6f 64 61 | 79 2d 69 6e 76 69 73 69 |var toda|y-invisi|
|000013c0| 62 6c 65 2d 63 61 6c 65 | 6e 64 61 72 2d 68 6f 6f |ble-cale|ndar-hoo|
|000013d0| 6b 20 6e 69 6c 20 22 5c | 0a 2a 4c 69 73 74 20 6f |k nil "\|.*List o|
|000013e0| 66 20 66 75 6e 63 74 69 | 6f 6e 73 20 63 61 6c 6c |f functi|ons call|
|000013f0| 65 64 20 77 68 65 6e 65 | 76 65 72 20 74 68 65 20 |ed whene|ver the |
|00001400| 63 75 72 72 65 6e 74 20 | 64 61 74 65 20 69 73 20 |current |date is |
|00001410| 6e 6f 74 20 76 69 73 69 | 62 6c 65 2e 0a 0a 54 68 |not visi|ble...Th|
|00001420| 65 20 63 6f 72 72 65 73 | 70 6f 6e 64 69 6e 67 20 |e corres|ponding |
|00001430| 76 61 72 69 61 62 6c 65 | 20 60 74 6f 64 61 79 2d |variable| `today-|
|00001440| 76 69 73 69 62 6c 65 2d | 63 61 6c 65 6e 64 61 72 |visible-|calendar|
|00001450| 2d 68 6f 6f 6b 27 20 69 | 73 20 74 68 65 20 6c 69 |-hook' i|s the li|
|00001460| 73 74 20 6f 66 0a 66 75 | 6e 63 74 69 6f 6e 73 20 |st of.fu|nctions |
|00001470| 63 61 6c 6c 65 64 20 77 | 68 65 6e 20 74 68 65 20 |called w|hen the |
|00001480| 63 61 6c 65 6e 64 61 72 | 20 66 75 6e 63 74 69 6f |calendar| functio|
|00001490| 6e 20 77 61 73 20 63 61 | 6c 6c 65 64 20 77 68 65 |n was ca|lled whe|
|000014a0| 6e 20 74 68 65 20 63 75 | 72 72 65 6e 74 0a 64 61 |n the cu|rrent.da|
|000014b0| 74 65 20 69 73 20 76 69 | 73 69 62 6c 65 20 69 6e |te is vi|sible in|
|000014c0| 20 74 68 65 20 77 69 6e | 64 6f 77 2e 0a 0a 4f 74 | the win|dow...Ot|
|000014d0| 68 65 72 20 74 68 61 6e | 20 74 68 65 20 75 73 65 |her than| the use|
|000014e0| 20 6f 66 20 74 68 65 20 | 70 72 6f 76 69 64 65 64 | of the |provided|
|000014f0| 20 66 75 6e 63 74 69 6f | 6e 73 2c 20 74 68 65 20 | functio|ns, the |
|00001500| 63 68 61 6e 67 69 6e 67 | 20 6f 66 20 61 6e 79 0a |changing| of any.|
|00001510| 63 68 61 72 61 63 74 65 | 72 73 20 69 6e 20 74 68 |characte|rs in th|
|00001520| 65 20 63 61 6c 65 6e 64 | 61 72 20 62 75 66 66 65 |e calend|ar buffe|
|00001530| 72 20 62 79 20 74 68 65 | 20 68 6f 6f 6b 73 20 6d |r by the| hooks m|
|00001540| 61 79 20 63 61 75 73 65 | 20 74 68 65 20 66 61 69 |ay cause| the fai|
|00001550| 6c 75 72 65 20 6f 66 20 | 74 68 65 0a 66 75 6e 63 |lure of |the.func|
|00001560| 74 69 6f 6e 73 20 74 68 | 61 74 20 6d 6f 76 65 20 |tions th|at move |
|00001570| 62 79 20 64 61 79 73 20 | 61 6e 64 20 77 65 65 6b |by days |and week|
|00001580| 73 2e 22 29 0a 28 64 65 | 66 76 61 72 20 64 69 61 |s.").(de|fvar dia|
|00001590| 72 79 2d 66 69 6c 65 20 | 22 7e 2f 64 69 61 72 79 |ry-file |"~/diary|
|000015a0| 22 20 22 5c 0a 2a 4e 61 | 6d 65 20 6f 66 20 74 68 |" "\.*Na|me of th|
|000015b0| 65 20 66 69 6c 65 20 69 | 6e 20 77 68 69 63 68 20 |e file i|n which |
|000015c0| 6f 6e 65 27 73 20 70 65 | 72 73 6f 6e 61 6c 20 64 |one's pe|rsonal d|
|000015d0| 69 61 72 79 20 6f 66 20 | 64 61 74 65 73 20 69 73 |iary of |dates is|
|000015e0| 20 6b 65 70 74 2e 0a 0a | 54 68 65 20 66 69 6c 65 | kept...|The file|
|000015f0| 27 73 20 65 6e 74 72 69 | 65 73 20 61 72 65 20 6c |'s entri|es are l|
|00001600| 69 6e 65 73 20 69 6e 20 | 61 6e 79 20 6f 66 20 74 |ines in |any of t|
|00001610| 68 65 20 66 6f 72 6d 73 | 0a 0a 20 20 20 20 20 20 |he forms|.. |
|00001620| 20 20 20 20 20 20 4d 4f | 4e 54 48 2f 44 41 59 0a | MO|NTH/DAY.|
|00001630| 20 20 20 20 20 20 20 20 | 20 20 20 20 4d 4f 4e 54 | | MONT|
|00001640| 48 2f 44 41 59 2f 59 45 | 41 52 0a 20 20 20 20 20 |H/DAY/YE|AR. |
|00001650| 20 20 20 20 20 20 20 4d | 4f 4e 54 48 4e 41 4d 45 | M|ONTHNAME|
|00001660| 20 44 41 59 0a 20 20 20 | 20 20 20 20 20 20 20 20 | DAY. | |
|00001670| 20 4d 4f 4e 54 48 4e 41 | 4d 45 20 44 41 59 2c 20 | MONTHNA|ME DAY, |
|00001680| 59 45 41 52 0a 20 20 20 | 20 20 20 20 20 20 20 20 |YEAR. | |
|00001690| 20 44 41 59 4e 41 4d 45 | 0a 0a 61 74 20 74 68 65 | DAYNAME|..at the|
|000016a0| 20 62 65 67 69 6e 6e 69 | 6e 67 20 6f 66 20 74 68 | beginni|ng of th|
|000016b0| 65 20 6c 69 6e 65 3b 20 | 74 68 65 20 72 65 6d 61 |e line; |the rema|
|000016c0| 69 6e 64 65 72 20 6f 66 | 20 74 68 65 20 6c 69 6e |inder of| the lin|
|000016d0| 65 20 69 73 20 74 68 65 | 20 64 69 61 72 79 20 65 |e is the| diary e|
|000016e0| 6e 74 72 79 0a 73 74 72 | 69 6e 67 20 66 6f 72 20 |ntry.str|ing for |
|000016f0| 74 68 61 74 20 64 61 74 | 65 2e 20 20 4d 4f 4e 54 |that dat|e. MONT|
|00001700| 48 20 61 6e 64 20 44 41 | 59 20 61 72 65 20 6f 6e |H and DA|Y are on|
|00001710| 65 20 6f 72 20 74 77 6f | 20 64 69 67 69 74 20 6e |e or two| digit n|
|00001720| 75 6d 62 65 72 73 2c 20 | 59 45 41 52 20 69 73 0a |umbers, |YEAR is.|
|00001730| 61 20 6e 75 6d 62 65 72 | 20 61 6e 64 20 6d 61 79 |a number| and may|
|00001740| 20 62 65 20 77 72 69 74 | 74 65 6e 20 69 6e 20 66 | be writ|ten in f|
|00001750| 75 6c 6c 20 6f 72 20 61 | 62 62 72 65 76 69 61 74 |ull or a|bbreviat|
|00001760| 65 64 20 74 6f 20 74 68 | 65 20 66 69 6e 61 6c 20 |ed to th|e final |
|00001770| 74 77 6f 20 64 69 67 69 | 74 73 2e 0a 49 66 20 74 |two digi|ts..If t|
|00001780| 68 65 20 64 61 74 65 20 | 64 6f 65 73 20 6e 6f 74 |he date |does not|
|00001790| 20 63 6f 6e 74 61 69 6e | 20 61 20 79 65 61 72 2c | contain| a year,|
|000017a0| 20 69 74 20 69 73 20 67 | 65 6e 65 72 69 63 20 61 | it is g|eneric a|
|000017b0| 6e 64 20 61 70 70 6c 69 | 65 73 20 74 6f 20 61 6e |nd appli|es to an|
|000017c0| 79 20 79 65 61 72 2e 0a | 44 41 59 4e 41 4d 45 20 |y year..|DAYNAME |
|000017d0| 65 6e 74 72 69 65 73 20 | 61 70 70 6c 79 20 74 6f |entries |apply to|
|000017e0| 20 61 6e 79 20 64 61 74 | 65 20 6f 6e 20 77 68 69 | any dat|e on whi|
|000017f0| 63 68 20 69 73 20 6f 6e | 20 74 68 61 74 20 64 61 |ch is on| that da|
|00001800| 79 20 6f 66 20 74 68 65 | 20 77 65 65 6b 2e 0a 4d |y of the| week..M|
|00001810| 4f 4e 54 48 4e 41 4d 45 | 20 61 6e 64 20 44 41 59 |ONTHNAME| and DAY|
|00001820| 4e 41 4d 45 20 63 61 6e | 20 62 65 20 73 70 65 6c |NAME can| be spel|
|00001830| 6c 65 64 20 69 6e 20 66 | 75 6c 6c 2c 20 61 62 62 |led in f|ull, abb|
|00001840| 72 65 76 69 61 74 65 64 | 20 74 6f 20 74 68 72 65 |reviated| to thre|
|00001850| 65 0a 63 68 61 72 61 63 | 74 65 72 73 20 28 77 69 |e.charac|ters (wi|
|00001860| 74 68 20 6f 72 20 77 69 | 74 68 6f 75 74 20 61 20 |th or wi|thout a |
|00001870| 70 65 72 69 6f 64 29 2c | 20 63 61 70 69 74 61 6c |period),| capital|
|00001880| 69 7a 65 64 20 6f 72 20 | 6e 6f 74 2e 20 20 41 6e |ized or |not. An|
|00001890| 79 20 6f 66 20 44 41 59 | 2c 0a 4d 4f 4e 54 48 2c |y of DAY|,.MONTH,|
|000018a0| 20 6f 72 20 4d 4f 4e 54 | 48 4e 41 4d 45 2c 20 59 | or MONT|HNAME, Y|
|000018b0| 45 41 52 20 63 61 6e 20 | 62 65 20 60 2a 27 20 77 |EAR can |be `*' w|
|000018c0| 68 69 63 68 20 6d 61 74 | 63 68 65 73 20 61 6e 79 |hich mat|ches any|
|000018d0| 20 64 61 79 2c 20 6d 6f | 6e 74 68 2c 20 6f 72 20 | day, mo|nth, or |
|000018e0| 79 65 61 72 2c 0a 72 65 | 73 70 65 63 74 69 76 65 |year,.re|spective|
|000018f0| 6c 79 2e 0a 0a 54 68 65 | 20 45 75 72 6f 70 65 61 |ly...The| Europea|
|00001900| 6e 20 73 74 79 6c 65 20 | 28 69 6e 20 77 68 69 63 |n style |(in whic|
|00001910| 68 20 74 68 65 20 64 61 | 79 20 70 72 65 63 65 64 |h the da|y preced|
|00001920| 65 73 20 74 68 65 20 6d | 6f 6e 74 68 29 20 63 61 |es the m|onth) ca|
|00001930| 6e 20 62 65 20 75 73 65 | 64 0a 69 6e 73 74 65 61 |n be use|d.instea|
|00001940| 64 2c 20 69 66 20 79 6f | 75 20 65 78 65 63 75 74 |d, if yo|u execut|
|00001950| 65 20 60 65 75 72 6f 70 | 65 61 6e 2d 63 61 6c 65 |e `europ|ean-cale|
|00001960| 6e 64 61 72 27 20 77 68 | 65 6e 20 69 6e 20 74 68 |ndar' wh|en in th|
|00001970| 65 20 63 61 6c 65 6e 64 | 61 72 2c 20 6f 72 20 73 |e calend|ar, or s|
|00001980| 65 74 0a 60 65 75 72 6f | 70 65 61 6e 2d 63 61 6c |et.`euro|pean-cal|
|00001990| 65 6e 64 61 72 2d 73 74 | 79 6c 65 27 20 74 6f 20 |endar-st|yle' to |
|000019a0| 74 20 69 6e 20 79 6f 75 | 72 20 2e 65 6d 61 63 73 |t in you|r .emacs|
|000019b0| 20 66 69 6c 65 2e 20 20 | 54 68 65 20 45 75 72 6f | file. |The Euro|
|000019c0| 70 65 61 6e 20 66 6f 72 | 6d 73 20 61 72 65 0a 0a |pean for|ms are..|
|000019d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 44 41 59 2f | | DAY/|
|000019e0| 4d 4f 4e 54 48 0a 20 20 | 20 20 20 20 20 20 20 20 |MONTH. | |
|000019f0| 20 20 44 41 59 2f 4d 4f | 4e 54 48 2f 59 45 41 52 | DAY/MO|NTH/YEAR|
|00001a00| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 44 41 59 |. | DAY|
|00001a10| 20 4d 4f 4e 54 48 4e 41 | 4d 45 0a 20 20 20 20 20 | MONTHNA|ME. |
|00001a20| 20 20 20 20 20 20 20 44 | 41 59 20 4d 4f 4e 54 48 | D|AY MONTH|
|00001a30| 4e 41 4d 45 20 59 45 41 | 52 0a 20 20 20 20 20 20 |NAME YEA|R. |
|00001a40| 20 20 20 20 20 20 44 41 | 59 4e 41 4d 45 0a 0a 54 | DA|YNAME..T|
|00001a50| 6f 20 72 65 76 65 72 74 | 20 74 6f 20 74 68 65 20 |o revert| to the |
|00001a60| 64 65 66 61 75 6c 74 20 | 41 6d 65 72 69 63 61 6e |default |American|
|00001a70| 20 73 74 79 6c 65 20 66 | 72 6f 6d 20 74 68 65 20 | style f|rom the |
|00001a80| 45 75 72 6f 70 65 61 6e | 20 73 74 79 6c 65 2c 20 |European| style, |
|00001a90| 65 78 65 63 75 74 65 0a | 60 61 6d 65 72 69 63 61 |execute.|`america|
|00001aa0| 6e 2d 63 61 6c 65 6e 64 | 61 72 27 20 69 6e 20 74 |n-calend|ar' in t|
|00001ab0| 68 65 20 63 61 6c 65 6e | 64 61 72 2e 0a 0a 41 20 |he calen|dar...A |
|00001ac0| 64 69 61 72 79 20 65 6e | 74 72 79 20 63 61 6e 20 |diary en|try can |
|00001ad0| 62 65 20 70 72 65 63 65 | 64 65 64 20 62 79 20 61 |be prece|ded by a|
|00001ae0| 20 64 69 61 72 79 2d 6e | 6f 6e 6d 61 72 6b 69 6e | diary-n|onmarkin|
|00001af0| 67 2d 73 79 6d 62 6f 6c | 20 28 6f 72 64 69 6e 61 |g-symbol| (ordina|
|00001b00| 72 69 6c 79 20 60 26 27 | 29 0a 74 6f 20 6d 61 6b |rily `&'|).to mak|
|00001b10| 65 20 74 68 61 74 20 65 | 6e 74 72 79 20 6e 6f 6e |e that e|ntry non|
|00001b20| 6d 61 72 6b 69 6e 67 2d | 2d 74 68 61 74 20 69 73 |marking-|-that is|
|00001b30| 2c 20 69 74 20 77 69 6c | 6c 20 6e 6f 74 20 62 65 |, it wil|l not be|
|00001b40| 20 6d 61 72 6b 65 64 20 | 6f 6e 20 64 61 74 65 73 | marked |on dates|
|00001b50| 20 69 6e 0a 74 68 65 20 | 63 61 6c 65 6e 64 61 72 | in.the |calendar|
|00001b60| 20 77 69 6e 64 6f 77 20 | 62 75 74 20 77 69 6c 6c | window |but will|
|00001b70| 20 61 70 70 65 61 72 20 | 69 6e 20 61 20 64 69 61 | appear |in a dia|
|00001b80| 72 79 20 77 69 6e 64 6f | 77 2e 0a 0a 4d 75 6c 74 |ry windo|w...Mult|
|00001b90| 69 6c 69 6e 65 20 64 69 | 61 72 79 20 65 6e 74 72 |iline di|ary entr|
|00001ba0| 69 65 73 20 61 72 65 20 | 6d 61 64 65 20 62 79 20 |ies are |made by |
|00001bb0| 69 6e 64 65 6e 74 69 6e | 67 20 6c 69 6e 65 73 20 |indentin|g lines |
|00001bc0| 61 66 74 65 72 20 74 68 | 65 20 66 69 72 73 74 20 |after th|e first |
|00001bd0| 77 69 74 68 0a 65 69 74 | 68 65 72 20 61 20 54 41 |with.eit|her a TA|
|00001be0| 42 20 6f 72 20 6f 6e 65 | 20 6f 72 20 6d 6f 72 65 |B or one| or more|
|00001bf0| 20 73 70 61 63 65 73 2e | 0a 0a 4c 69 6e 65 73 20 | spaces.|..Lines |
|00001c00| 6e 6f 74 20 69 6e 20 6f | 6e 65 20 74 68 65 20 61 |not in o|ne the a|
|00001c10| 62 6f 76 65 20 66 6f 72 | 6d 61 74 73 20 61 72 65 |bove for|mats are|
|00001c20| 20 69 67 6e 6f 72 65 64 | 2e 20 20 48 65 72 65 20 | ignored|. Here |
|00001c30| 61 72 65 20 73 6f 6d 65 | 20 73 61 6d 70 6c 65 20 |are some| sample |
|00001c40| 64 69 61 72 79 0a 65 6e | 74 72 69 65 73 20 28 69 |diary.en|tries (i|
|00001c50| 6e 20 74 68 65 20 64 65 | 66 61 75 6c 74 20 41 6d |n the de|fault Am|
|00001c60| 65 72 69 63 61 6e 20 73 | 74 79 6c 65 29 3a 0a 0a |erican s|tyle):..|
|00001c70| 20 20 20 20 20 31 32 2f | 32 32 2f 31 39 38 38 20 | 12/|22/1988 |
|00001c80| 54 77 65 6e 74 69 65 74 | 68 20 77 65 64 64 69 6e |Twentiet|h weddin|
|00001c90| 67 20 61 6e 6e 69 76 65 | 72 73 61 72 79 21 21 0a |g annive|rsary!!.|
|00001ca0| 20 20 20 20 20 26 31 2f | 31 2e 20 48 61 70 70 79 | &1/|1. Happy|
|00001cb0| 20 4e 65 77 20 59 65 61 | 72 21 0a 20 20 20 20 20 | New Yea|r!. |
|00001cc0| 31 30 2f 32 32 20 52 75 | 74 68 27 73 20 62 69 72 |10/22 Ru|th's bir|
|00001cd0| 74 68 64 61 79 2e 0a 20 | 20 20 20 20 32 31 3a 20 |thday.. | 21: |
|00001ce0| 50 61 79 64 61 79 0a 20 | 20 20 20 20 54 75 65 73 |Payday. | Tues|
|00001cf0| 64 61 79 2d 2d 77 65 65 | 6b 6c 79 20 6d 65 65 74 |day--wee|kly meet|
|00001d00| 69 6e 67 20 77 69 74 68 | 20 67 72 61 64 20 73 74 |ing with| grad st|
|00001d10| 75 64 65 6e 74 73 20 61 | 74 20 31 30 61 6d 0a 20 |udents a|t 10am. |
|00001d20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 53 75 70 | | Sup|
|00001d30| 6f 77 69 74 2c 20 53 68 | 65 6e 2c 20 42 69 74 6e |owit, Sh|en, Bitn|
|00001d40| 65 72 2c 20 61 6e 64 20 | 4b 61 70 6f 6f 72 20 74 |er, and |Kapoor t|
|00001d50| 6f 20 61 74 74 65 6e 64 | 2e 0a 20 20 20 20 20 31 |o attend|.. 1|
|00001d60| 2f 31 33 2f 38 39 20 46 | 72 69 64 61 79 20 74 68 |/13/89 F|riday th|
|00001d70| 65 20 74 68 69 72 74 65 | 65 6e 74 68 21 21 0a 20 |e thirte|enth!!. |
|00001d80| 20 20 20 20 26 74 68 75 | 20 34 70 6d 20 73 71 75 | &thu| 4pm squ|
|00001d90| 61 73 68 20 67 61 6d 65 | 20 77 69 74 68 20 4c 6c |ash game| with Ll|
|00001da0| 6f 79 64 2e 0a 20 20 20 | 20 20 6d 61 72 20 31 36 |oyd.. | mar 16|
|00001db0| 20 44 61 64 27 73 20 62 | 69 72 74 68 64 61 79 0a | Dad's b|irthday.|
|00001dc0| 20 20 20 20 20 41 70 72 | 69 6c 20 31 35 2c 20 31 | Apr|il 15, 1|
|00001dd0| 39 38 39 20 49 6e 63 6f | 6d 65 20 74 61 78 20 64 |989 Inco|me tax d|
|00001de0| 75 65 2e 0a 20 20 20 20 | 20 26 2a 20 31 35 20 74 |ue.. | &* 15 t|
|00001df0| 69 6d 65 20 63 61 72 64 | 73 20 64 75 65 2e 0a 0a |ime card|s due...|
|00001e00| 49 66 20 74 68 65 20 66 | 69 72 73 74 20 6c 69 6e |If the f|irst lin|
|00001e10| 65 20 6f 66 20 61 20 64 | 69 61 72 79 20 65 6e 74 |e of a d|iary ent|
|00001e20| 72 79 20 63 6f 6e 73 69 | 73 74 73 20 6f 6e 6c 79 |ry consi|sts only|
|00001e30| 20 6f 66 20 74 68 65 20 | 64 61 74 65 20 6f 72 20 | of the |date or |
|00001e40| 64 61 79 20 6e 61 6d 65 | 20 77 69 74 68 0a 6e 6f |day name| with.no|
|00001e50| 20 74 72 61 69 6c 69 6e | 67 20 62 6c 61 6e 6b 73 | trailin|g blanks|
|00001e60| 20 6f 72 20 70 75 6e 63 | 74 75 61 74 69 6f 6e 2c | or punc|tuation,|
|00001e70| 20 74 68 65 6e 20 74 68 | 61 74 20 6c 69 6e 65 20 | then th|at line |
|00001e80| 77 69 6c 6c 20 6e 6f 74 | 20 62 65 20 64 69 73 70 |will not| be disp|
|00001e90| 6c 61 79 65 64 20 69 6e | 20 74 68 65 0a 64 69 61 |layed in| the.dia|
|00001ea0| 72 79 20 77 69 6e 64 6f | 77 3b 20 6f 6e 6c 79 20 |ry windo|w; only |
|00001eb0| 74 68 65 20 63 6f 6e 74 | 69 6e 75 61 74 69 6f 6e |the cont|inuation|
|00001ec0| 20 6c 69 6e 65 73 20 77 | 69 6c 6c 20 62 65 20 73 | lines w|ill be s|
|00001ed0| 68 6f 77 6e 2e 20 20 46 | 6f 72 20 65 78 61 6d 70 |hown. F|or examp|
|00001ee0| 6c 65 2c 20 74 68 65 0a | 73 69 6e 67 6c 65 20 64 |le, the.|single d|
|00001ef0| 69 61 72 79 20 65 6e 74 | 72 79 0a 0a 20 20 20 20 |iary ent|ry.. |
|00001f00| 20 30 32 2f 31 31 2f 31 | 39 38 39 0a 20 20 20 20 | 02/11/1|989. |
|00001f10| 20 20 42 69 6c 6c 20 42 | 6c 61 74 74 6e 65 72 20 | Bill B|lattner |
|00001f20| 76 69 73 69 74 73 20 50 | 72 69 6e 63 65 74 6f 6e |visits P|rinceton|
|00001f30| 20 74 6f 64 61 79 0a 20 | 20 20 20 20 20 32 70 6d | today. | 2pm|
|00001f40| 20 43 6f 67 6e 69 74 69 | 76 65 20 53 74 75 64 69 | Cogniti|ve Studi|
|00001f50| 65 73 20 43 6f 6d 6d 69 | 74 74 65 65 20 6d 65 65 |es Commi|ttee mee|
|00001f60| 74 69 6e 67 0a 20 20 20 | 20 20 20 32 3a 33 30 2d |ting. | 2:30-|
|00001f70| 35 3a 33 30 20 4c 69 7a | 7a 69 65 20 61 74 20 4c |5:30 Liz|zie at L|
|00001f80| 61 77 72 65 6e 63 65 76 | 69 6c 6c 65 20 66 6f 72 |awrencev|ille for|
|00001f90| 20 60 47 72 6f 75 70 20 | 49 6e 69 74 69 61 74 69 | `Group |Initiati|
|00001fa0| 76 65 27 0a 20 20 20 20 | 20 20 34 3a 30 30 70 6d |ve'. | 4:00pm|
|00001fb0| 20 4a 61 6d 69 65 20 54 | 61 70 70 65 6e 64 65 6e | Jamie T|appenden|
|00001fc0| 0a 20 20 20 20 20 20 37 | 3a 33 30 70 6d 20 44 69 |. 7|:30pm Di|
|00001fd0| 6e 6e 65 72 20 61 74 20 | 47 65 6f 72 67 65 20 61 |nner at |George a|
|00001fe0| 6e 64 20 45 64 27 73 20 | 66 6f 72 20 41 6c 61 6e |nd Ed's |for Alan|
|00001ff0| 20 52 79 61 6e 0a 20 20 | 20 20 20 20 37 3a 33 30 | Ryan. | 7:30|
|00002000| 2d 31 30 3a 30 30 70 6d | 20 64 61 6e 63 65 20 61 |-10:00pm| dance a|
|00002010| 74 20 53 74 65 77 61 72 | 74 20 43 6f 75 6e 74 72 |t Stewar|t Countr|
|00002020| 79 20 44 61 79 20 53 63 | 68 6f 6f 6c 0a 0a 77 69 |y Day Sc|hool..wi|
|00002030| 6c 6c 20 61 70 70 65 61 | 72 20 69 6e 20 74 68 65 |ll appea|r in the|
|00002040| 20 64 69 61 72 79 20 77 | 69 6e 64 6f 77 20 77 69 | diary w|indow wi|
|00002050| 74 68 6f 75 74 20 74 68 | 65 20 64 61 74 65 20 6c |thout th|e date l|
|00002060| 69 6e 65 20 61 74 20 74 | 68 65 20 62 65 67 69 6e |ine at t|he begin|
|00002070| 6e 69 6e 67 2e 20 20 54 | 68 69 73 0a 66 61 63 69 |ning. T|his.faci|
|00002080| 6c 69 74 79 20 61 6c 6c | 6f 77 73 20 74 68 65 20 |lity all|ows the |
|00002090| 64 69 61 72 79 20 77 69 | 6e 64 6f 77 20 74 6f 20 |diary wi|ndow to |
|000020a0| 6c 6f 6f 6b 20 6e 65 61 | 74 65 72 2c 20 62 75 74 |look nea|ter, but|
|000020b0| 20 63 61 6e 20 63 61 75 | 73 65 20 63 6f 6e 66 75 | can cau|se confu|
|000020c0| 73 69 6f 6e 20 69 66 0a | 75 73 65 64 20 77 69 74 |sion if.|used wit|
|000020d0| 68 20 6d 6f 72 65 20 74 | 68 61 6e 20 6f 6e 65 20 |h more t|han one |
|000020e0| 64 61 79 27 73 20 65 6e | 74 72 69 65 73 20 64 69 |day's en|tries di|
|000020f0| 73 70 6c 61 79 65 64 2e | 0a 0a 44 69 61 72 79 20 |splayed.|..Diary |
|00002100| 65 6e 74 72 69 65 73 20 | 63 61 6e 20 62 65 20 62 |entries |can be b|
|00002110| 61 73 65 64 20 6f 6e 20 | 4c 69 73 70 20 73 65 78 |ased on |Lisp sex|
|00002120| 70 73 2e 20 20 46 6f 72 | 20 65 78 61 6d 70 6c 65 |ps. For| example|
|00002130| 2c 20 74 68 65 20 64 69 | 61 72 79 20 65 6e 74 72 |, the di|ary entr|
|00002140| 79 0a 0a 20 20 20 20 20 | 20 25 25 28 64 69 61 72 |y.. | %%(diar|
|00002150| 79 2d 62 6c 6f 63 6b 20 | 31 31 20 31 20 31 39 39 |y-block |11 1 199|
|00002160| 30 20 31 31 20 31 30 20 | 31 39 39 30 29 20 56 61 |0 11 10 |1990) Va|
|00002170| 63 61 74 69 6f 6e 0a 0a | 63 61 75 73 65 73 20 74 |cation..|causes t|
|00002180| 68 65 20 64 69 61 72 79 | 20 65 6e 74 72 79 20 5c |he diary| entry \|
|00002190| 22 56 61 63 61 74 69 6f | 6e 5c 22 20 74 6f 20 61 |"Vacatio|n\" to a|
|000021a0| 70 70 65 61 72 20 66 72 | 6f 6d 20 4e 6f 76 65 6d |ppear fr|om Novem|
|000021b0| 62 65 72 20 31 20 74 68 | 72 6f 75 67 68 20 4e 6f |ber 1 th|rough No|
|000021c0| 76 65 6d 62 65 72 0a 31 | 30 2c 20 31 39 39 30 2e |vember.1|0, 1990.|
|000021d0| 20 20 4f 74 68 65 72 20 | 66 75 6e 63 74 69 6f 6e | Other |function|
|000021e0| 73 20 61 76 61 69 6c 61 | 62 6c 65 20 61 72 65 20 |s availa|ble are |
|000021f0| 60 64 69 61 72 79 2d 66 | 6c 6f 61 74 27 2c 20 60 |`diary-f|loat', `|
|00002200| 64 69 61 72 79 2d 61 6e | 6e 69 76 65 72 73 61 72 |diary-an|niversar|
|00002210| 79 27 2c 0a 60 64 69 61 | 72 79 2d 63 79 63 6c 69 |y',.`dia|ry-cycli|
|00002220| 63 27 2c 20 60 64 69 61 | 72 79 2d 64 61 79 2d 6f |c', `dia|ry-day-o|
|00002230| 66 2d 79 65 61 72 27 2c | 20 60 64 69 61 72 79 2d |f-year',| `diary-|
|00002240| 69 73 6f 2d 64 61 74 65 | 27 2c 20 60 64 69 61 72 |iso-date|', `diar|
|00002250| 79 2d 66 72 65 6e 63 68 | 2d 64 61 74 65 27 2c 0a |y-french|-date',.|
|00002260| 60 64 69 61 72 79 2d 68 | 65 62 72 65 77 2d 64 61 |`diary-h|ebrew-da|
|00002270| 74 65 27 2c 20 60 64 69 | 61 72 79 2d 69 73 6c 61 |te', `di|ary-isla|
|00002280| 6d 69 63 2d 64 61 74 65 | 27 2c 20 60 64 69 61 72 |mic-date|', `diar|
|00002290| 79 2d 6d 61 79 61 6e 2d | 64 61 74 65 27 2c 0a 60 |y-mayan-|date',.`|
|000022a0| 64 69 61 72 79 2d 79 61 | 68 72 7a 65 69 74 27 2c |diary-ya|hrzeit',|
|000022b0| 20 60 64 69 61 72 79 2d | 73 75 6e 72 69 73 65 2d | `diary-|sunrise-|
|000022c0| 73 75 6e 73 65 74 27 2c | 20 60 64 69 61 72 79 2d |sunset',| `diary-|
|000022d0| 70 68 61 73 65 73 2d 6f | 66 2d 6d 6f 6f 6e 27 2c |phases-o|f-moon',|
|000022e0| 0a 60 64 69 61 72 79 2d | 70 61 72 61 73 68 61 27 |.`diary-|parasha'|
|000022f0| 2c 20 60 64 69 61 72 79 | 2d 6f 6d 65 72 27 2c 20 |, `diary|-omer', |
|00002300| 60 64 69 61 72 79 2d 72 | 6f 73 68 2d 68 6f 64 65 |`diary-r|osh-hode|
|00002310| 73 68 27 2c 20 61 6e 64 | 0a 60 64 69 61 72 79 2d |sh', and|.`diary-|
|00002320| 73 61 62 62 61 74 68 2d | 63 61 6e 64 6c 65 73 27 |sabbath-|candles'|
|00002330| 2e 20 20 53 65 65 20 74 | 68 65 20 64 6f 63 75 6d |. See t|he docum|
|00002340| 65 6e 74 61 74 69 6f 6e | 20 66 6f 72 20 74 68 65 |entation| for the|
|00002350| 20 66 75 6e 63 74 69 6f | 6e 0a 60 6c 69 73 74 2d | functio|n.`list-|
|00002360| 73 65 78 70 2d 64 69 61 | 72 79 2d 65 6e 74 72 69 |sexp-dia|ry-entri|
|00002370| 65 73 27 20 66 6f 72 20 | 6d 6f 72 65 20 64 65 74 |es' for |more det|
|00002380| 61 69 6c 73 2e 0a 0a 44 | 69 61 72 79 20 65 6e 74 |ails...D|iary ent|
|00002390| 72 69 65 73 20 62 61 73 | 65 64 20 6f 6e 20 74 68 |ries bas|ed on th|
|000023a0| 65 20 48 65 62 72 65 77 | 20 61 6e 64 2f 6f 72 20 |e Hebrew| and/or |
|000023b0| 74 68 65 20 49 73 6c 61 | 6d 69 63 20 63 61 6c 65 |the Isla|mic cale|
|000023c0| 6e 64 61 72 20 61 72 65 | 20 61 6c 73 6f 0a 70 6f |ndar are| also.po|
|000023d0| 73 73 69 62 6c 65 2c 20 | 62 75 74 20 62 65 63 61 |ssible, |but beca|
|000023e0| 75 73 65 20 74 68 65 73 | 65 20 61 72 65 20 73 6f |use thes|e are so|
|000023f0| 6d 65 77 68 61 74 20 73 | 6c 6f 77 2c 20 74 68 65 |mewhat s|low, the|
|00002400| 79 20 61 72 65 20 69 67 | 6e 6f 72 65 64 0a 75 6e |y are ig|nored.un|
|00002410| 6c 65 73 73 20 79 6f 75 | 20 73 65 74 20 74 68 65 |less you| set the|
|00002420| 20 60 6e 6f 6e 67 72 65 | 67 6f 72 69 61 6e 2d 64 | `nongre|gorian-d|
|00002430| 69 61 72 79 2d 6c 69 73 | 74 69 6e 67 2d 68 6f 6f |iary-lis|ting-hoo|
|00002440| 6b 27 20 61 6e 64 20 74 | 68 65 0a 60 6e 6f 6e 67 |k' and t|he.`nong|
|00002450| 72 65 67 6f 72 69 61 6e | 2d 64 69 61 72 79 2d 6d |regorian|-diary-m|
|00002460| 61 72 6b 69 6e 67 2d 68 | 6f 6f 6b 27 20 61 70 70 |arking-h|ook' app|
|00002470| 72 6f 70 72 69 61 74 65 | 6c 79 2e 20 20 53 65 65 |ropriate|ly. See|
|00002480| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 | the doc|umentati|
|00002490| 6f 6e 0a 66 6f 72 20 74 | 68 65 73 65 20 66 75 6e |on.for t|hese fun|
|000024a0| 63 74 69 6f 6e 73 20 66 | 6f 72 20 64 65 74 61 69 |ctions f|or detai|
|000024b0| 6c 73 2e 0a 0a 44 69 61 | 72 79 20 66 69 6c 65 73 |ls...Dia|ry files|
|000024c0| 20 63 61 6e 20 63 6f 6e | 74 61 69 6e 20 64 69 72 | can con|tain dir|
|000024d0| 65 63 74 69 76 65 73 20 | 74 6f 20 69 6e 63 6c 75 |ectives |to inclu|
|000024e0| 64 65 20 74 68 65 20 63 | 6f 6e 74 65 6e 74 73 20 |de the c|ontents |
|000024f0| 6f 66 20 6f 74 68 65 72 | 20 66 69 6c 65 73 3b 20 |of other| files; |
|00002500| 66 6f 72 0a 64 65 74 61 | 69 6c 73 2c 20 73 65 65 |for.deta|ils, see|
|00002510| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 | the doc|umentati|
|00002520| 6f 6e 20 66 6f 72 20 74 | 68 65 20 76 61 72 69 61 |on for t|he varia|
|00002530| 62 6c 65 20 60 6c 69 73 | 74 2d 64 69 61 72 79 2d |ble `lis|t-diary-|
|00002540| 65 6e 74 72 69 65 73 2d | 68 6f 6f 6b 27 2e 22 29 |entries-|hook'.")|
|00002550| 0a 28 64 65 66 76 61 72 | 20 64 69 61 72 79 2d 6e |.(defvar| diary-n|
|00002560| 6f 6e 6d 61 72 6b 69 6e | 67 2d 73 79 6d 62 6f 6c |onmarkin|g-symbol|
|00002570| 20 22 26 22 20 22 5c 0a | 2a 53 79 6d 62 6f 6c 20 | "&" "\.|*Symbol |
|00002580| 69 6e 64 69 63 61 74 69 | 6e 67 20 74 68 61 74 20 |indicati|ng that |
|00002590| 61 20 64 69 61 72 79 20 | 65 6e 74 72 79 20 69 73 |a diary |entry is|
|000025a0| 20 6e 6f 74 20 74 6f 20 | 62 65 20 6d 61 72 6b 65 | not to |be marke|
|000025b0| 64 20 69 6e 20 74 68 65 | 20 63 61 6c 65 6e 64 61 |d in the| calenda|
|000025c0| 72 2e 22 29 0a 28 64 65 | 66 76 61 72 20 68 65 62 |r.").(de|fvar heb|
|000025d0| 72 65 77 2d 64 69 61 72 | 79 2d 65 6e 74 72 79 2d |rew-diar|y-entry-|
|000025e0| 73 79 6d 62 6f 6c 20 22 | 48 22 20 22 5c 0a 2a 53 |symbol "|H" "\.*S|
|000025f0| 79 6d 62 6f 6c 20 69 6e | 64 69 63 61 74 69 6e 67 |ymbol in|dicating|
|00002600| 20 61 20 64 69 61 72 79 | 20 65 6e 74 72 79 20 61 | a diary| entry a|
|00002610| 63 63 6f 72 64 69 6e 67 | 20 74 6f 20 74 68 65 20 |ccording| to the |
|00002620| 48 65 62 72 65 77 20 63 | 61 6c 65 6e 64 61 72 2e |Hebrew c|alendar.|
|00002630| 22 29 0a 28 64 65 66 76 | 61 72 20 69 73 6c 61 6d |").(defv|ar islam|
|00002640| 69 63 2d 64 69 61 72 79 | 2d 65 6e 74 72 79 2d 73 |ic-diary|-entry-s|
|00002650| 79 6d 62 6f 6c 20 22 49 | 22 20 22 5c 0a 2a 53 79 |ymbol "I|" "\.*Sy|
|00002660| 6d 62 6f 6c 20 69 6e 64 | 69 63 61 74 69 6e 67 20 |mbol ind|icating |
|00002670| 61 20 64 69 61 72 79 20 | 65 6e 74 72 79 20 61 63 |a diary |entry ac|
|00002680| 63 6f 72 64 69 6e 67 20 | 74 6f 20 74 68 65 20 49 |cording |to the I|
|00002690| 73 6c 61 6d 69 63 20 63 | 61 6c 65 6e 64 61 72 2e |slamic c|alendar.|
|000026a0| 22 29 0a 28 64 65 66 76 | 61 72 20 64 69 61 72 79 |").(defv|ar diary|
|000026b0| 2d 69 6e 63 6c 75 64 65 | 2d 73 74 72 69 6e 67 20 |-include|-string |
|000026c0| 22 23 69 6e 63 6c 75 64 | 65 22 20 22 5c 0a 2a 54 |"#includ|e" "\.*T|
|000026d0| 68 65 20 73 74 72 69 6e | 67 20 69 6e 64 69 63 61 |he strin|g indica|
|000026e0| 74 69 6e 67 20 69 6e 63 | 6c 75 73 69 6f 6e 20 6f |ting inc|lusion o|
|000026f0| 66 20 61 6e 6f 74 68 65 | 72 20 66 69 6c 65 20 6f |f anothe|r file o|
|00002700| 66 20 64 69 61 72 79 20 | 65 6e 74 72 69 65 73 2e |f diary |entries.|
|00002710| 0a 53 65 65 20 74 68 65 | 20 64 6f 63 75 6d 65 6e |.See the| documen|
|00002720| 74 61 74 69 6f 6e 20 66 | 6f 72 20 74 68 65 20 66 |tation f|or the f|
|00002730| 75 6e 63 74 69 6f 6e 20 | 60 69 6e 63 6c 75 64 65 |unction |`include|
|00002740| 2d 6f 74 68 65 72 2d 64 | 69 61 72 79 2d 66 69 6c |-other-d|iary-fil|
|00002750| 65 73 27 2e 22 29 0a 28 | 64 65 66 76 61 72 20 73 |es'.").(|defvar s|
|00002760| 65 78 70 2d 64 69 61 72 | 79 2d 65 6e 74 72 79 2d |exp-diar|y-entry-|
|00002770| 73 79 6d 62 6f 6c 20 22 | 25 25 22 20 22 5c 0a 2a |symbol "|%%" "\.*|
|00002780| 54 68 65 20 73 74 72 69 | 6e 67 20 75 73 65 64 20 |The stri|ng used |
|00002790| 74 6f 20 69 6e 64 69 63 | 61 74 65 20 61 20 73 65 |to indic|ate a se|
|000027a0| 78 70 20 64 69 61 72 79 | 20 65 6e 74 72 79 20 69 |xp diary| entry i|
|000027b0| 6e 20 64 69 61 72 79 2d | 66 69 6c 65 2e 0a 53 65 |n diary-|file..Se|
|000027c0| 65 20 74 68 65 20 64 6f | 63 75 6d 65 6e 74 61 74 |e the do|cumentat|
|000027d0| 69 6f 6e 20 66 6f 72 20 | 74 68 65 20 66 75 6e 63 |ion for |the func|
|000027e0| 74 69 6f 6e 20 60 6c 69 | 73 74 2d 73 65 78 70 2d |tion `li|st-sexp-|
|000027f0| 64 69 61 72 79 2d 65 6e | 74 72 69 65 73 27 2e 22 |diary-en|tries'."|
|00002800| 29 0a 28 64 65 66 76 61 | 72 20 61 62 62 72 65 76 |).(defva|r abbrev|
|00002810| 69 61 74 65 64 2d 63 61 | 6c 65 6e 64 61 72 2d 79 |iated-ca|lendar-y|
|00002820| 65 61 72 20 74 20 22 5c | 0a 2a 49 6e 74 65 72 70 |ear t "\|.*Interp|
|00002830| 72 65 74 20 61 20 74 77 | 6f 2d 64 69 67 69 74 20 |ret a tw|o-digit |
|00002840| 79 65 61 72 20 44 44 20 | 69 6e 20 61 20 64 69 61 |year DD |in a dia|
|00002850| 72 79 20 65 6e 74 72 79 | 20 61 73 20 65 69 74 68 |ry entry| as eith|
|00002860| 65 72 20 31 39 44 44 20 | 6f 72 20 32 30 44 44 2e |er 19DD |or 20DD.|
|00002870| 0a 46 6f 72 20 74 68 65 | 20 47 72 65 67 6f 72 69 |.For the| Gregori|
|00002880| 61 6e 20 63 61 6c 65 6e | 64 61 72 3b 20 73 69 6d |an calen|dar; sim|
|00002890| 69 6c 61 72 6c 79 20 66 | 6f 72 20 74 68 65 20 48 |ilarly f|or the H|
|000028a0| 65 62 72 65 77 20 61 6e | 64 20 49 73 6c 61 6d 69 |ebrew an|d Islami|
|000028b0| 63 20 63 61 6c 65 6e 64 | 61 72 73 2e 0a 49 66 20 |c calend|ars..If |
|000028c0| 74 68 69 73 20 76 61 72 | 69 61 62 6c 65 20 69 73 |this var|iable is|
|000028d0| 20 6e 69 6c 2c 20 79 65 | 61 72 73 20 6d 75 73 74 | nil, ye|ars must|
|000028e0| 20 62 65 20 77 72 69 74 | 74 65 6e 20 69 6e 20 66 | be writ|ten in f|
|000028f0| 75 6c 6c 2e 22 29 0a 28 | 64 65 66 76 61 72 20 65 |ull.").(|defvar e|
|00002900| 75 72 6f 70 65 61 6e 2d | 63 61 6c 65 6e 64 61 72 |uropean-|calendar|
|00002910| 2d 73 74 79 6c 65 20 6e | 69 6c 20 22 5c 0a 2a 55 |-style n|il "\.*U|
|00002920| 73 65 20 74 68 65 20 45 | 75 72 6f 70 65 61 6e 20 |se the E|uropean |
|00002930| 73 74 79 6c 65 20 6f 66 | 20 64 61 74 65 73 20 69 |style of| dates i|
|00002940| 6e 20 74 68 65 20 64 69 | 61 72 79 20 61 6e 64 20 |n the di|ary and |
|00002950| 69 6e 20 61 6e 79 20 64 | 69 73 70 6c 61 79 73 2e |in any d|isplays.|
|00002960| 0a 49 66 20 74 68 69 73 | 20 76 61 72 69 61 62 6c |.If this| variabl|
|00002970| 65 20 69 73 20 74 2c 20 | 61 20 64 61 74 65 20 31 |e is t, |a date 1|
|00002980| 2f 32 2f 31 39 39 30 20 | 77 6f 75 6c 64 20 62 65 |/2/1990 |would be|
|00002990| 20 69 6e 74 65 72 70 72 | 65 74 65 64 20 61 73 20 | interpr|eted as |
|000029a0| 46 65 62 72 75 61 72 79 | 20 31 2c 0a 31 39 39 30 |February| 1,.1990|
|000029b0| 2e 20 20 54 68 65 20 61 | 63 63 65 70 74 65 64 20 |. The a|ccepted |
|000029c0| 45 75 72 6f 70 65 61 6e | 20 64 61 74 65 20 73 74 |European| date st|
|000029d0| 79 6c 65 73 20 61 72 65 | 0a 0a 20 20 20 20 20 20 |yles are|.. |
|000029e0| 20 20 20 20 20 20 44 41 | 59 2f 4d 4f 4e 54 48 0a | DA|Y/MONTH.|
|000029f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 44 41 59 2f | | DAY/|
|00002a00| 4d 4f 4e 54 48 2f 59 45 | 41 52 0a 20 20 20 20 20 |MONTH/YE|AR. |
|00002a10| 20 20 20 20 20 20 20 44 | 41 59 20 4d 4f 4e 54 48 | D|AY MONTH|
|00002a20| 4e 41 4d 45 0a 20 20 20 | 20 20 20 20 20 20 20 20 |NAME. | |
|00002a30| 20 44 41 59 20 4d 4f 4e | 54 48 4e 41 4d 45 20 59 | DAY MON|THNAME Y|
|00002a40| 45 41 52 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |EAR. | |
|00002a50| 44 41 59 4e 41 4d 45 0a | 0a 4e 61 6d 65 73 20 63 |DAYNAME.|.Names c|
|00002a60| 61 6e 20 62 65 20 63 61 | 70 69 74 61 6c 69 7a 65 |an be ca|pitalize|
|00002a70| 64 20 6f 72 20 6e 6f 74 | 2c 20 77 72 69 74 74 65 |d or not|, writte|
|00002a80| 6e 20 69 6e 20 66 75 6c | 6c 2c 20 6f 72 20 61 62 |n in ful|l, or ab|
|00002a90| 62 72 65 76 69 61 74 65 | 64 20 74 6f 20 74 68 72 |breviate|d to thr|
|00002aa0| 65 65 0a 63 68 61 72 61 | 63 74 65 72 73 20 77 69 |ee.chara|cters wi|
|00002ab0| 74 68 20 6f 72 20 77 69 | 74 68 6f 75 74 20 61 20 |th or wi|thout a |
|00002ac0| 70 65 72 69 6f 64 2e 22 | 29 0a 28 64 65 66 76 61 |period."|).(defva|
|00002ad0| 72 20 61 6d 65 72 69 63 | 61 6e 2d 64 61 74 65 2d |r americ|an-date-|
|00002ae0| 64 69 61 72 79 2d 70 61 | 74 74 65 72 6e 20 28 71 |diary-pa|ttern (q|
|00002af0| 75 6f 74 65 20 28 28 6d | 6f 6e 74 68 20 22 2f 22 |uote ((m|onth "/"|
|00002b00| 20 64 61 79 20 22 5b 5e | 2f 30 2d 39 5d 22 29 20 | day "[^|/0-9]") |
|00002b10| 28 6d 6f 6e 74 68 20 22 | 2f 22 20 64 61 79 20 22 |(month "|/" day "|
|00002b20| 2f 22 20 79 65 61 72 20 | 22 5b 5e 30 2d 39 5d 22 |/" year |"[^0-9]"|
|00002b30| 29 20 28 6d 6f 6e 74 68 | 6e 61 6d 65 20 22 20 2a |) (month|name " *|
|00002b40| 22 20 64 61 79 20 22 5b | 5e 2c 30 2d 39 5d 22 29 |" day "[|^,0-9]")|
|00002b50| 20 28 6d 6f 6e 74 68 6e | 61 6d 65 20 22 20 2a 22 | (monthn|ame " *"|
|00002b60| 20 64 61 79 20 22 2c 20 | 2a 22 20 79 65 61 72 20 | day ", |*" year |
|00002b70| 22 5b 5e 30 2d 39 5d 22 | 29 20 28 64 61 79 6e 61 |"[^0-9]"|) (dayna|
|00002b80| 6d 65 20 22 5c 5c 57 22 | 29 29 29 20 22 5c 0a 2a |me "\\W"|))) "\.*|
|00002b90| 4c 69 73 74 20 6f 66 20 | 70 73 65 75 64 6f 2d 70 |List of |pseudo-p|
|00002ba0| 61 74 74 65 72 6e 73 20 | 64 65 73 63 72 69 62 69 |atterns |describi|
|00002bb0| 6e 67 20 74 68 65 20 41 | 6d 65 72 69 63 61 6e 20 |ng the A|merican |
|00002bc0| 70 61 74 74 65 72 6e 73 | 20 6f 66 20 64 61 74 65 |patterns| of date|
|00002bd0| 20 75 73 65 64 2e 0a 53 | 65 65 20 74 68 65 20 64 | used..S|ee the d|
|00002be0| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 6f 66 20 |ocumenta|tion of |
|00002bf0| 64 69 61 72 79 2d 64 61 | 74 65 2d 66 6f 72 6d 73 |diary-da|te-forms|
|00002c00| 20 66 6f 72 20 61 6e 20 | 65 78 70 6c 61 6e 61 74 | for an |explanat|
|00002c10| 69 6f 6e 2e 22 29 0a 28 | 64 65 66 76 61 72 20 65 |ion.").(|defvar e|
|00002c20| 75 72 6f 70 65 61 6e 2d | 64 61 74 65 2d 64 69 61 |uropean-|date-dia|
|00002c30| 72 79 2d 70 61 74 74 65 | 72 6e 20 28 71 75 6f 74 |ry-patte|rn (quot|
|00002c40| 65 20 28 28 64 61 79 20 | 22 2f 22 20 6d 6f 6e 74 |e ((day |"/" mont|
|00002c50| 68 20 22 5b 5e 2f 30 2d | 39 5d 22 29 20 28 64 61 |h "[^/0-|9]") (da|
|00002c60| 79 20 22 2f 22 20 6d 6f | 6e 74 68 20 22 2f 22 20 |y "/" mo|nth "/" |
|00002c70| 79 65 61 72 20 22 5b 5e | 30 2d 39 5d 22 29 20 28 |year "[^|0-9]") (|
|00002c80| 62 61 63 6b 75 70 20 64 | 61 79 20 22 20 2a 22 20 |backup d|ay " *" |
|00002c90| 6d 6f 6e 74 68 6e 61 6d | 65 20 22 5c 5c 57 2b 5c |monthnam|e "\\W+\|
|00002ca0| 5c 3c 5b 5e 2a 30 2d 39 | 5d 22 29 20 28 64 61 79 |\<[^*0-9|]") (day|
|00002cb0| 20 22 20 2a 22 20 6d 6f | 6e 74 68 6e 61 6d 65 20 | " *" mo|nthname |
|00002cc0| 22 20 2a 22 20 79 65 61 | 72 20 22 5b 5e 30 2d 39 |" *" yea|r "[^0-9|
|00002cd0| 5d 22 29 20 28 64 61 79 | 6e 61 6d 65 20 22 5c 5c |]") (day|name "\\|
|00002ce0| 57 22 29 29 29 20 22 5c | 0a 2a 4c 69 73 74 20 6f |W"))) "\|.*List o|
|00002cf0| 66 20 70 73 65 75 64 6f | 2d 70 61 74 74 65 72 6e |f pseudo|-pattern|
|00002d00| 73 20 64 65 73 63 72 69 | 62 69 6e 67 20 74 68 65 |s descri|bing the|
|00002d10| 20 45 75 72 6f 70 65 61 | 6e 20 70 61 74 74 65 72 | Europea|n patter|
|00002d20| 6e 73 20 6f 66 20 64 61 | 74 65 20 75 73 65 64 2e |ns of da|te used.|
|00002d30| 0a 53 65 65 20 74 68 65 | 20 64 6f 63 75 6d 65 6e |.See the| documen|
|00002d40| 74 61 74 69 6f 6e 20 6f | 66 20 64 69 61 72 79 2d |tation o|f diary-|
|00002d50| 64 61 74 65 2d 66 6f 72 | 6d 73 20 66 6f 72 20 61 |date-for|ms for a|
|00002d60| 6e 20 65 78 70 6c 61 6e | 61 74 69 6f 6e 2e 22 29 |n explan|ation.")|
|00002d70| 0a 28 64 65 66 76 61 72 | 20 64 69 61 72 79 2d 64 |.(defvar| diary-d|
|00002d80| 61 74 65 2d 66 6f 72 6d | 73 20 28 62 79 74 65 2d |ate-form|s (byte-|
|00002d90| 63 6f 64 65 20 22 08 83 | 06 00 09 87 5c 6e 87 22 |code "..|....\n."|
|00002da0| 20 5b 65 75 72 6f 70 65 | 61 6e 2d 63 61 6c 65 6e | [europe|an-calen|
|00002db0| 64 61 72 2d 73 74 79 6c | 65 20 65 75 72 6f 70 65 |dar-styl|e europe|
|00002dc0| 61 6e 2d 64 61 74 65 2d | 64 69 61 72 79 2d 70 61 |an-date-|diary-pa|
|00002dd0| 74 74 65 72 6e 20 61 6d | 65 72 69 63 61 6e 2d 64 |ttern am|erican-d|
|00002de0| 61 74 65 2d 64 69 61 72 | 79 2d 70 61 74 74 65 72 |ate-diar|y-patter|
|00002df0| 6e 5d 20 31 29 20 22 5c | 0a 2a 4c 69 73 74 20 6f |n] 1) "\|.*List o|
|00002e00| 66 20 70 73 65 75 64 6f | 2d 70 61 74 74 65 72 6e |f pseudo|-pattern|
|00002e10| 73 20 64 65 73 63 72 69 | 62 69 6e 67 20 74 68 65 |s descri|bing the|
|00002e20| 20 66 6f 72 6d 73 20 6f | 66 20 64 61 74 65 20 75 | forms o|f date u|
|00002e30| 73 65 64 20 69 6e 20 74 | 68 65 20 64 69 61 72 79 |sed in t|he diary|
|00002e40| 2e 0a 54 68 65 20 70 61 | 74 74 65 72 6e 73 20 6f |..The pa|tterns o|
|00002e50| 6e 20 74 68 65 20 6c 69 | 73 74 20 6d 75 73 74 20 |n the li|st must |
|00002e60| 62 65 20 4d 55 54 55 41 | 4c 4c 59 20 45 58 43 4c |be MUTUA|LLY EXCL|
|00002e70| 55 53 49 56 45 20 61 6e | 64 20 6d 75 73 74 20 73 |USIVE an|d must s|
|00002e80| 68 6f 75 6c 64 20 6e 6f | 74 20 6d 61 74 63 68 0a |hould no|t match.|
|00002e90| 61 6e 79 20 70 6f 72 74 | 69 6f 6e 20 6f 66 20 74 |any port|ion of t|
|00002ea0| 68 65 20 64 69 61 72 79 | 20 65 6e 74 72 79 20 69 |he diary| entry i|
|00002eb0| 74 73 65 6c 66 2c 20 6a | 75 73 74 20 74 68 65 20 |tself, j|ust the |
|00002ec0| 64 61 74 65 20 63 6f 6d | 70 6f 6e 65 6e 74 2e 0a |date com|ponent..|
|00002ed0| 0a 41 20 70 73 65 75 64 | 6f 2d 70 61 74 74 65 72 |.A pseud|o-patter|
|00002ee0| 6e 20 69 73 20 61 20 6c | 69 73 74 20 6f 66 20 72 |n is a l|ist of r|
|00002ef0| 65 67 75 6c 61 72 20 65 | 78 70 72 65 73 73 69 6f |egular e|xpressio|
|00002f00| 6e 73 20 61 6e 64 20 74 | 68 65 20 6b 65 79 77 6f |ns and t|he keywo|
|00002f10| 72 64 73 20 60 6d 6f 6e | 74 68 27 2c 0a 60 64 61 |rds `mon|th',.`da|
|00002f20| 79 27 2c 20 60 79 65 61 | 72 27 2c 20 60 6d 6f 6e |y', `yea|r', `mon|
|00002f30| 74 68 6e 61 6d 65 27 2c | 20 61 6e 64 20 60 64 61 |thname',| and `da|
|00002f40| 79 6e 61 6d 65 27 2e 20 | 20 54 68 65 20 6b 65 79 |yname'. | The key|
|00002f50| 77 6f 72 64 20 60 6d 6f | 6e 74 68 6e 61 6d 65 27 |word `mo|nthname'|
|00002f60| 20 77 69 6c 6c 0a 6d 61 | 74 63 68 20 74 68 65 20 | will.ma|tch the |
|00002f70| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 6d 6f 6e 74 |name of |the mont|
|00002f80| 68 2c 20 63 61 70 69 74 | 61 6c 69 7a 65 64 20 6f |h, capit|alized o|
|00002f90| 72 20 6e 6f 74 2c 20 6f | 72 20 69 74 73 20 74 68 |r not, o|r its th|
|00002fa0| 72 65 65 2d 6c 65 74 74 | 65 72 0a 61 62 62 72 65 |ree-lett|er.abbre|
|00002fb0| 76 69 61 74 69 6f 6e 2c | 20 66 6f 6c 6c 6f 77 65 |viation,| followe|
|00002fc0| 64 20 62 79 20 61 20 70 | 65 72 69 6f 64 20 6f 72 |d by a p|eriod or|
|00002fd0| 20 6e 6f 74 3b 20 69 74 | 20 77 69 6c 6c 20 61 6c | not; it| will al|
|00002fe0| 73 6f 20 6d 61 74 63 68 | 20 60 2a 27 2e 0a 53 69 |so match| `*'..Si|
|00002ff0| 6d 69 6c 61 72 6c 79 2c | 20 60 64 61 79 6e 61 6d |milarly,| `daynam|
|00003000| 65 27 20 77 69 6c 6c 20 | 6d 61 74 63 68 20 74 68 |e' will |match th|
|00003010| 65 20 6e 61 6d 65 20 6f | 66 20 74 68 65 20 64 61 |e name o|f the da|
|00003020| 79 2c 20 63 61 70 69 74 | 61 6c 69 7a 65 64 20 6f |y, capit|alized o|
|00003030| 72 20 6e 6f 74 2c 20 6f | 72 0a 69 74 73 20 74 68 |r not, o|r.its th|
|00003040| 72 65 65 2d 6c 65 74 74 | 65 72 20 61 62 62 72 65 |ree-lett|er abbre|
|00003050| 76 69 61 74 69 6f 6e 2c | 20 66 6f 6c 6c 6f 77 65 |viation,| followe|
|00003060| 64 20 62 79 20 61 20 70 | 65 72 69 6f 64 20 6f 72 |d by a p|eriod or|
|00003070| 20 6e 6f 74 2e 20 20 54 | 68 65 20 6b 65 79 77 6f | not. T|he keywo|
|00003080| 72 64 73 0a 60 6d 6f 6e | 74 68 27 2c 20 60 64 61 |rds.`mon|th', `da|
|00003090| 79 27 2c 20 61 6e 64 20 | 60 79 65 61 72 27 20 77 |y', and |`year' w|
|000030a0| 69 6c 6c 20 6d 61 74 63 | 68 20 74 68 6f 73 65 20 |ill matc|h those |
|000030b0| 6e 75 6d 65 72 69 63 61 | 6c 20 76 61 6c 75 65 73 |numerica|l values|
|000030c0| 2c 20 70 72 65 63 65 64 | 65 64 20 62 79 0a 61 72 |, preced|ed by.ar|
|000030d0| 62 69 74 72 61 72 69 6c | 79 20 6d 61 6e 79 20 7a |bitraril|y many z|
|000030e0| 65 72 6f 73 3b 20 74 68 | 65 79 20 77 69 6c 6c 20 |eros; th|ey will |
|000030f0| 61 6c 73 6f 20 6d 61 74 | 63 68 20 60 2a 27 2e 0a |also mat|ch `*'..|
|00003100| 0a 54 68 65 20 6d 61 74 | 63 68 69 6e 67 20 6f 66 |.The mat|ching of|
|00003110| 20 74 68 65 20 64 69 61 | 72 79 20 65 6e 74 72 69 | the dia|ry entri|
|00003120| 65 73 20 77 69 74 68 20 | 74 68 65 20 64 61 74 65 |es with |the date|
|00003130| 20 66 6f 72 6d 73 20 69 | 73 20 64 6f 6e 65 20 77 | forms i|s done w|
|00003140| 69 74 68 20 74 68 65 0a | 73 74 61 6e 64 61 72 64 |ith the.|standard|
|00003150| 20 73 79 6e 74 61 78 20 | 74 61 62 6c 65 20 66 72 | syntax |table fr|
|00003160| 6f 6d 20 46 75 6e 64 61 | 6d 65 6e 74 61 6c 20 6d |om Funda|mental m|
|00003170| 6f 64 65 2c 20 62 75 74 | 20 77 69 74 68 20 74 68 |ode, but| with th|
|00003180| 65 20 60 2a 27 20 63 68 | 61 6e 67 65 64 20 73 6f |e `*' ch|anged so|
|00003190| 0a 74 68 61 74 20 69 74 | 20 69 73 20 61 20 77 6f |.that it| is a wo|
|000031a0| 72 64 20 63 6f 6e 73 74 | 69 74 75 65 6e 74 2e 0a |rd const|ituent..|
|000031b0| 0a 49 66 2c 20 74 6f 20 | 62 65 20 6d 75 74 75 61 |.If, to |be mutua|
|000031c0| 6c 6c 79 20 65 78 63 6c | 75 73 69 76 65 2c 20 61 |lly excl|usive, a|
|000031d0| 20 70 73 65 75 64 6f 2d | 70 61 74 74 65 72 6e 20 | pseudo-|pattern |
|000031e0| 6d 75 73 74 20 6d 61 74 | 63 68 20 61 20 70 6f 72 |must mat|ch a por|
|000031f0| 74 69 6f 6e 20 6f 66 20 | 74 68 65 0a 64 69 61 72 |tion of |the.diar|
|00003200| 79 20 65 6e 74 72 79 20 | 69 74 73 65 6c 66 2c 20 |y entry |itself, |
|00003210| 74 68 65 20 66 69 72 73 | 74 20 65 6c 65 6d 65 6e |the firs|t elemen|
|00003220| 74 20 6f 66 20 74 68 65 | 20 70 61 74 74 65 72 6e |t of the| pattern|
|00003230| 20 4d 55 53 54 20 62 65 | 20 60 62 61 63 6b 75 70 | MUST be| `backup|
|00003240| 27 2e 20 20 54 68 69 73 | 0a 64 69 72 65 63 74 69 |'. This|.directi|
|00003250| 76 65 20 63 61 75 73 65 | 73 20 74 68 65 20 64 61 |ve cause|s the da|
|00003260| 74 65 20 72 65 63 6f 67 | 6e 69 7a 65 72 20 74 6f |te recog|nizer to|
|00003270| 20 62 61 63 6b 20 75 70 | 20 74 6f 20 74 68 65 20 | back up| to the |
|00003280| 62 65 67 69 6e 6e 69 6e | 67 20 6f 66 20 74 68 65 |beginnin|g of the|
|00003290| 0a 63 75 72 72 65 6e 74 | 20 77 6f 72 64 20 6f 66 |.current| word of|
|000032a0| 20 74 68 65 20 64 69 61 | 72 79 20 65 6e 74 72 79 | the dia|ry entry|
|000032b0| 2c 20 73 6f 20 69 6e 20 | 6e 6f 20 63 61 73 65 20 |, so in |no case |
|000032c0| 63 61 6e 20 74 68 65 20 | 70 61 74 74 65 72 6e 20 |can the |pattern |
|000032d0| 6d 61 74 63 68 20 6d 6f | 72 65 20 74 68 61 6e 0a |match mo|re than.|
|000032e0| 61 20 70 6f 72 74 69 6f | 6e 20 6f 66 20 74 68 65 |a portio|n of the|
|000032f0| 20 66 69 72 73 74 20 77 | 6f 72 64 20 6f 66 20 74 | first w|ord of t|
|00003300| 68 65 20 64 69 61 72 79 | 20 65 6e 74 72 79 2e 22 |he diary| entry."|
|00003310| 29 0a 28 64 65 66 76 61 | 72 20 65 75 72 6f 70 65 |).(defva|r europe|
|00003320| 61 6e 2d 63 61 6c 65 6e | 64 61 72 2d 64 69 73 70 |an-calen|dar-disp|
|00003330| 6c 61 79 2d 66 6f 72 6d | 20 28 71 75 6f 74 65 20 |lay-form| (quote |
|00003340| 28 28 69 66 20 64 61 79 | 6e 61 6d 65 20 28 63 6f |((if day|name (co|
|00003350| 6e 63 61 74 20 64 61 79 | 6e 61 6d 65 20 22 2c 20 |ncat day|name ", |
|00003360| 22 29 29 20 64 61 79 20 | 22 20 22 20 6d 6f 6e 74 |")) day |" " mont|
|00003370| 68 6e 61 6d 65 20 22 20 | 22 20 79 65 61 72 29 29 |hname " |" year))|
|00003380| 20 22 5c 0a 2a 50 73 65 | 75 64 6f 2d 70 61 74 74 | "\.*Pse|udo-patt|
|00003390| 65 72 6e 20 67 6f 76 65 | 72 6e 69 6e 67 20 74 68 |ern gove|rning th|
|000033a0| 65 20 77 61 79 20 61 20 | 64 61 74 65 20 61 70 70 |e way a |date app|
|000033b0| 65 61 72 73 20 69 6e 20 | 74 68 65 20 45 75 72 6f |ears in |the Euro|
|000033c0| 70 65 61 6e 20 73 74 79 | 6c 65 2e 0a 53 65 65 20 |pean sty|le..See |
|000033d0| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |the docu|mentatio|
|000033e0| 6e 20 6f 66 20 63 61 6c | 65 6e 64 61 72 2d 64 61 |n of cal|endar-da|
|000033f0| 74 65 2d 64 69 73 70 6c | 61 79 2d 66 6f 72 6d 73 |te-displ|ay-forms|
|00003400| 20 66 6f 72 20 61 6e 20 | 65 78 70 6c 61 6e 61 74 | for an |explanat|
|00003410| 69 6f 6e 2e 22 29 0a 28 | 64 65 66 76 61 72 20 61 |ion.").(|defvar a|
|00003420| 6d 65 72 69 63 61 6e 2d | 63 61 6c 65 6e 64 61 72 |merican-|calendar|
|00003430| 2d 64 69 73 70 6c 61 79 | 2d 66 6f 72 6d 20 28 71 |-display|-form (q|
|00003440| 75 6f 74 65 20 28 28 69 | 66 20 64 61 79 6e 61 6d |uote ((i|f daynam|
|00003450| 65 20 28 63 6f 6e 63 61 | 74 20 64 61 79 6e 61 6d |e (conca|t daynam|
|00003460| 65 20 22 2c 20 22 29 29 | 20 6d 6f 6e 74 68 6e 61 |e ", "))| monthna|
|00003470| 6d 65 20 22 20 22 20 64 | 61 79 20 22 2c 20 22 20 |me " " d|ay ", " |
|00003480| 79 65 61 72 29 29 20 22 | 5c 0a 2a 50 73 65 75 64 |year)) "|\.*Pseud|
|00003490| 6f 2d 70 61 74 74 65 72 | 6e 20 67 6f 76 65 72 6e |o-patter|n govern|
|000034a0| 69 6e 67 20 74 68 65 20 | 77 61 79 20 61 20 64 61 |ing the |way a da|
|000034b0| 74 65 20 61 70 70 65 61 | 72 73 20 69 6e 20 74 68 |te appea|rs in th|
|000034c0| 65 20 41 6d 65 72 69 63 | 61 6e 20 73 74 79 6c 65 |e Americ|an style|
|000034d0| 2e 0a 53 65 65 20 74 68 | 65 20 64 6f 63 75 6d 65 |..See th|e docume|
|000034e0| 6e 74 61 74 69 6f 6e 20 | 6f 66 20 63 61 6c 65 6e |ntation |of calen|
|000034f0| 64 61 72 2d 64 61 74 65 | 2d 64 69 73 70 6c 61 79 |dar-date|-display|
|00003500| 2d 66 6f 72 6d 73 20 66 | 6f 72 20 61 6e 20 65 78 |-forms f|or an ex|
|00003510| 70 6c 61 6e 61 74 69 6f | 6e 2e 22 29 0a 28 64 65 |planatio|n.").(de|
|00003520| 66 76 61 72 20 63 61 6c | 65 6e 64 61 72 2d 64 61 |fvar cal|endar-da|
|00003530| 74 65 2d 64 69 73 70 6c | 61 79 2d 66 6f 72 6d 20 |te-displ|ay-form |
|00003540| 28 62 79 74 65 2d 63 6f | 64 65 20 22 08 83 06 00 |(byte-co|de "....|
|00003550| 09 87 5c 6e 87 22 20 5b | 65 75 72 6f 70 65 61 6e |..\n." [|european|
|00003560| 2d 63 61 6c 65 6e 64 61 | 72 2d 73 74 79 6c 65 20 |-calenda|r-style |
|00003570| 65 75 72 6f 70 65 61 6e | 2d 63 61 6c 65 6e 64 61 |european|-calenda|
|00003580| 72 2d 64 69 73 70 6c 61 | 79 2d 66 6f 72 6d 20 61 |r-displa|y-form a|
|00003590| 6d 65 72 69 63 61 6e 2d | 63 61 6c 65 6e 64 61 72 |merican-|calendar|
|000035a0| 2d 64 69 73 70 6c 61 79 | 2d 66 6f 72 6d 5d 20 31 |-display|-form] 1|
|000035b0| 29 20 22 5c 0a 2a 50 73 | 65 75 64 6f 2d 70 61 74 |) "\.*Ps|eudo-pat|
|000035c0| 74 65 72 6e 20 67 6f 76 | 65 72 6e 69 6e 67 20 74 |tern gov|erning t|
|000035d0| 68 65 20 77 61 79 20 61 | 20 64 61 74 65 20 61 70 |he way a| date ap|
|000035e0| 70 65 61 72 73 2e 0a 0a | 55 73 65 64 20 62 79 20 |pears...|Used by |
|000035f0| 74 68 65 20 66 75 6e 63 | 74 69 6f 6e 20 60 63 61 |the func|tion `ca|
|00003600| 6c 65 6e 64 61 72 2d 64 | 61 74 65 2d 73 74 72 69 |lendar-d|ate-stri|
|00003610| 6e 67 27 2c 20 61 20 70 | 73 65 75 64 6f 2d 70 61 |ng', a p|seudo-pa|
|00003620| 74 74 65 72 6e 20 69 73 | 20 61 20 6c 69 73 74 20 |ttern is| a list |
|00003630| 6f 66 0a 65 78 70 72 65 | 73 73 69 6f 6e 73 20 74 |of.expre|ssions t|
|00003640| 68 61 74 20 63 61 6e 20 | 69 6e 76 6f 6c 76 65 20 |hat can |involve |
|00003650| 74 68 65 20 6b 65 79 77 | 6f 72 64 73 20 60 6d 6f |the keyw|ords `mo|
|00003660| 6e 74 68 27 2c 20 60 64 | 61 79 27 2c 20 61 6e 64 |nth', `d|ay', and|
|00003670| 20 60 79 65 61 72 27 2c | 20 61 6c 6c 0a 6e 75 6d | `year',| all.num|
|00003680| 62 65 72 73 20 69 6e 20 | 73 74 72 69 6e 67 20 66 |bers in |string f|
|00003690| 6f 72 6d 2c 20 61 6e 64 | 20 60 6d 6f 6e 74 68 6e |orm, and| `monthn|
|000036a0| 61 6d 65 27 20 61 6e 64 | 20 60 64 61 79 6e 61 6d |ame' and| `daynam|
|000036b0| 65 27 2c 20 62 6f 74 68 | 20 61 6c 70 68 61 62 65 |e', both| alphabe|
|000036c0| 74 69 63 0a 73 74 72 69 | 6e 67 73 2e 20 20 46 6f |tic.stri|ngs. Fo|
|000036d0| 72 20 65 78 61 6d 70 6c | 65 2c 20 74 68 65 20 49 |r exampl|e, the I|
|000036e0| 53 4f 20 73 74 61 6e 64 | 61 72 64 20 77 6f 75 6c |SO stand|ard woul|
|000036f0| 64 20 75 73 65 20 74 68 | 65 20 70 73 65 75 64 6f |d use th|e pseudo|
|00003700| 2d 20 70 61 74 74 65 72 | 6e 0a 0a 20 20 20 20 20 |- patter|n.. |
|00003710| 20 20 27 28 79 65 61 72 | 20 5c 22 2d 5c 22 20 6d | '(year| \"-\" m|
|00003720| 6f 6e 74 68 20 5c 22 2d | 5c 22 20 64 61 79 29 0a |onth \"-|\" day).|
|00003730| 0a 77 68 69 6c 65 20 61 | 20 74 79 70 69 63 61 6c |.while a| typical|
|00003740| 20 41 6d 65 72 69 63 61 | 6e 20 66 6f 72 6d 20 77 | America|n form w|
|00003750| 6f 75 6c 64 20 62 65 0a | 0a 20 20 20 20 20 20 20 |ould be.|. |
|00003760| 27 28 6d 6f 6e 74 68 20 | 5c 22 2f 5c 22 20 64 61 |'(month |\"/\" da|
|00003770| 79 20 5c 22 2f 5c 22 20 | 28 73 75 62 73 74 72 69 |y \"/\" |(substri|
|00003780| 6e 67 20 79 65 61 72 20 | 2d 32 29 29 0a 0a 61 6e |ng year |-2))..an|
|00003790| 64 0a 0a 20 20 20 20 20 | 20 20 27 28 28 66 6f 72 |d.. | '((for|
|000037a0| 6d 61 74 20 5c 22 25 39 | 73 2c 20 25 39 73 20 25 |mat \"%9|s, %9s %|
|000037b0| 32 73 2c 20 25 34 73 5c | 22 20 64 61 79 6e 61 6d |2s, %4s\|" daynam|
|000037c0| 65 20 6d 6f 6e 74 68 6e | 61 6d 65 20 64 61 79 20 |e monthn|ame day |
|000037d0| 79 65 61 72 29 29 0a 0a | 77 6f 75 6c 64 20 67 69 |year))..|would gi|
|000037e0| 76 65 20 74 68 65 20 75 | 73 75 61 6c 20 41 6d 65 |ve the u|sual Ame|
|000037f0| 72 69 63 61 6e 20 73 74 | 79 6c 65 20 69 6e 20 66 |rican st|yle in f|
|00003800| 69 78 65 64 2d 6c 65 6e | 67 74 68 20 66 69 65 6c |ixed-len|gth fiel|
|00003810| 64 73 2e 0a 0a 53 65 65 | 20 74 68 65 20 64 6f 63 |ds...See| the doc|
|00003820| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 6f 66 20 74 68 |umentati|on of th|
|00003830| 65 20 66 75 6e 63 74 69 | 6f 6e 20 60 63 61 6c 65 |e functi|on `cale|
|00003840| 6e 64 61 72 2d 64 61 74 | 65 2d 73 74 72 69 6e 67 |ndar-dat|e-string|
|00003850| 27 2e 22 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |'.").(de|falias '|
|00003860| 65 75 72 6f 70 65 61 6e | 2d 63 61 6c 65 6e 64 61 |european|-calenda|
|00003870| 72 20 23 5b 6e 69 6c 20 | 22 c0 11 5c 6e 13 0c 15 |r #[nil |"..\n...|
|00003880| c6 20 87 22 20 5b 74 20 | 65 75 72 6f 70 65 61 6e |. ." [t |european|
|00003890| 2d 63 61 6c 65 6e 64 61 | 72 2d 73 74 79 6c 65 20 |-calenda|r-style |
|000038a0| 65 75 72 6f 70 65 61 6e | 2d 63 61 6c 65 6e 64 61 |european|-calenda|
|000038b0| 72 2d 64 69 73 70 6c 61 | 79 2d 66 6f 72 6d 20 63 |r-displa|y-form c|
|000038c0| 61 6c 65 6e 64 61 72 2d | 64 61 74 65 2d 64 69 73 |alendar-|date-dis|
|000038d0| 70 6c 61 79 2d 66 6f 72 | 6d 20 65 75 72 6f 70 65 |play-for|m europe|
|000038e0| 61 6e 2d 64 61 74 65 2d | 64 69 61 72 79 2d 70 61 |an-date-|diary-pa|
|000038f0| 74 74 65 72 6e 20 64 69 | 61 72 79 2d 64 61 74 65 |ttern di|ary-date|
|00003900| 2d 66 6f 72 6d 73 20 75 | 70 64 61 74 65 2d 63 61 |-forms u|pdate-ca|
|00003910| 6c 65 6e 64 61 72 2d 6d | 6f 64 65 2d 6c 69 6e 65 |lendar-m|ode-line|
|00003920| 5d 20 31 20 22 5c 0a 53 | 65 74 20 74 68 65 20 69 |] 1 "\.S|et the i|
|00003930| 6e 74 65 72 70 72 65 74 | 61 74 69 6f 6e 20 61 6e |nterpret|ation an|
|00003940| 64 20 64 69 73 70 6c 61 | 79 20 6f 66 20 64 61 74 |d displa|y of dat|
|00003950| 65 73 20 74 6f 20 74 68 | 65 20 45 75 72 6f 70 65 |es to th|e Europe|
|00003960| 61 6e 20 73 74 79 6c 65 | 2e 22 20 6e 69 6c 5d 29 |an style|." nil])|
|00003970| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 61 6d 65 72 |.(defali|as 'amer|
|00003980| 69 63 61 6e 2d 63 61 6c | 65 6e 64 61 72 20 23 5b |ican-cal|endar #[|
|00003990| 6e 69 6c 20 22 c0 11 5c | 6e 13 0c 15 c6 20 87 22 |nil "..\|n.... ."|
|000039a0| 20 5b 6e 69 6c 20 65 75 | 72 6f 70 65 61 6e 2d 63 | [nil eu|ropean-c|
|000039b0| 61 6c 65 6e 64 61 72 2d | 73 74 79 6c 65 20 61 6d |alendar-|style am|
|000039c0| 65 72 69 63 61 6e 2d 63 | 61 6c 65 6e 64 61 72 2d |erican-c|alendar-|
|000039d0| 64 69 73 70 6c 61 79 2d | 66 6f 72 6d 20 63 61 6c |display-|form cal|
|000039e0| 65 6e 64 61 72 2d 64 61 | 74 65 2d 64 69 73 70 6c |endar-da|te-displ|
|000039f0| 61 79 2d 66 6f 72 6d 20 | 61 6d 65 72 69 63 61 6e |ay-form |american|
|00003a00| 2d 64 61 74 65 2d 64 69 | 61 72 79 2d 70 61 74 74 |-date-di|ary-patt|
|00003a10| 65 72 6e 20 64 69 61 72 | 79 2d 64 61 74 65 2d 66 |ern diar|y-date-f|
|00003a20| 6f 72 6d 73 20 75 70 64 | 61 74 65 2d 63 61 6c 65 |orms upd|ate-cale|
|00003a30| 6e 64 61 72 2d 6d 6f 64 | 65 2d 6c 69 6e 65 5d 20 |ndar-mod|e-line] |
|00003a40| 31 20 22 5c 0a 53 65 74 | 20 74 68 65 20 69 6e 74 |1 "\.Set| the int|
|00003a50| 65 72 70 72 65 74 61 74 | 69 6f 6e 20 61 6e 64 20 |erpretat|ion and |
|00003a60| 64 69 73 70 6c 61 79 20 | 6f 66 20 64 61 74 65 73 |display |of dates|
|00003a70| 20 74 6f 20 74 68 65 20 | 41 6d 65 72 69 63 61 6e | to the |American|
|00003a80| 20 73 74 79 6c 65 2e 22 | 20 6e 69 6c 5d 29 0a 28 | style."| nil]).(|
|00003a90| 64 65 66 76 61 72 20 70 | 72 69 6e 74 2d 64 69 61 |defvar p|rint-dia|
|00003aa0| 72 79 2d 65 6e 74 72 69 | 65 73 2d 68 6f 6f 6b 20 |ry-entri|es-hook |
|00003ab0| 28 71 75 6f 74 65 20 6c | 70 72 2d 62 75 66 66 65 |(quote l|pr-buffe|
|00003ac0| 72 29 20 22 5c 0a 2a 4c | 69 73 74 20 6f 66 20 66 |r) "\.*L|ist of f|
|00003ad0| 75 6e 63 74 69 6f 6e 73 | 20 63 61 6c 6c 65 64 20 |unctions| called |
|00003ae0| 61 66 74 65 72 20 61 20 | 74 65 6d 70 6f 72 61 72 |after a |temporar|
|00003af0| 79 20 64 69 61 72 79 20 | 62 75 66 66 65 72 20 69 |y diary |buffer i|
|00003b00| 73 20 70 72 65 70 61 72 | 65 64 2e 0a 54 68 65 20 |s prepar|ed..The |
|00003b10| 62 75 66 66 65 72 20 73 | 68 6f 77 73 20 6f 6e 6c |buffer s|hows onl|
|00003b20| 79 20 74 68 65 20 64 69 | 61 72 79 20 65 6e 74 72 |y the di|ary entr|
|00003b30| 69 65 73 20 63 75 72 72 | 65 6e 74 6c 79 20 76 69 |ies curr|ently vi|
|00003b40| 73 69 62 6c 65 20 69 6e | 20 74 68 65 20 64 69 61 |sible in| the dia|
|00003b50| 72 79 0a 62 75 66 66 65 | 72 2e 20 20 54 68 65 20 |ry.buffe|r. The |
|00003b60| 64 65 66 61 75 6c 74 20 | 6a 75 73 74 20 64 6f 65 |default |just doe|
|00003b70| 73 20 74 68 65 20 70 72 | 69 6e 74 69 6e 67 2e 20 |s the pr|inting. |
|00003b80| 20 4f 74 68 65 72 20 75 | 73 65 73 20 6d 69 67 68 | Other u|ses migh|
|00003b90| 74 20 69 6e 63 6c 75 64 | 65 2c 20 66 6f 72 0a 65 |t includ|e, for.e|
|00003ba0| 78 61 6d 70 6c 65 2c 20 | 72 65 61 72 72 61 6e 67 |xample, |rearrang|
|00003bb0| 69 6e 67 20 74 68 65 20 | 6c 69 6e 65 73 20 69 6e |ing the |lines in|
|00003bc0| 74 6f 20 6f 72 64 65 72 | 20 62 79 20 64 61 79 20 |to order| by day |
|00003bd0| 61 6e 64 20 74 69 6d 65 | 2c 20 73 61 76 69 6e 67 |and time|, saving|
|00003be0| 20 74 68 65 20 62 75 66 | 66 65 72 0a 69 6e 73 74 | the buf|fer.inst|
|00003bf0| 65 61 64 20 6f 66 20 64 | 65 6c 65 74 69 6e 67 20 |ead of d|eleting |
|00003c00| 69 74 2c 20 6f 72 20 63 | 68 61 6e 67 69 6e 67 20 |it, or c|hanging |
|00003c10| 74 68 65 20 66 75 6e 63 | 74 69 6f 6e 20 75 73 65 |the func|tion use|
|00003c20| 64 20 74 6f 20 64 6f 20 | 74 68 65 20 70 72 69 6e |d to do |the prin|
|00003c30| 74 69 6e 67 2e 22 29 0a | 28 64 65 66 76 61 72 20 |ting.").|(defvar |
|00003c40| 6c 69 73 74 2d 64 69 61 | 72 79 2d 65 6e 74 72 69 |list-dia|ry-entri|
|00003c50| 65 73 2d 68 6f 6f 6b 20 | 6e 69 6c 20 22 5c 0a 2a |es-hook |nil "\.*|
|00003c60| 4c 69 73 74 20 6f 66 20 | 66 75 6e 63 74 69 6f 6e |List of |function|
|00003c70| 73 20 63 61 6c 6c 65 64 | 20 61 66 74 65 72 20 64 |s called| after d|
|00003c80| 69 61 72 79 20 66 69 6c | 65 20 69 73 20 63 75 6c |iary fil|e is cul|
|00003c90| 6c 65 64 20 66 6f 72 20 | 72 65 6c 65 76 61 6e 74 |led for |relevant|
|00003ca0| 20 65 6e 74 72 69 65 73 | 2e 0a 49 74 20 69 73 20 | entries|..It is |
|00003cb0| 74 6f 20 62 65 20 75 73 | 65 64 20 66 6f 72 20 64 |to be us|ed for d|
|00003cc0| 69 61 72 79 20 65 6e 74 | 72 69 65 73 20 74 68 61 |iary ent|ries tha|
|00003cd0| 74 20 61 72 65 20 6e 6f | 74 20 66 6f 75 6e 64 20 |t are no|t found |
|00003ce0| 69 6e 20 74 68 65 20 64 | 69 61 72 79 20 66 69 6c |in the d|iary fil|
|00003cf0| 65 2e 0a 0a 41 20 66 75 | 6e 63 74 69 6f 6e 20 60 |e...A fu|nction `|
|00003d00| 69 6e 63 6c 75 64 65 2d | 6f 74 68 65 72 2d 64 69 |include-|other-di|
|00003d10| 61 72 79 2d 66 69 6c 65 | 73 27 20 69 73 20 70 72 |ary-file|s' is pr|
|00003d20| 6f 76 69 64 65 64 20 66 | 6f 72 20 75 73 65 20 61 |ovided f|or use a|
|00003d30| 73 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 0a 74 |s the va|lue of.t|
|00003d40| 68 69 73 20 68 6f 6f 6b | 2e 20 20 54 68 69 73 20 |his hook|. This |
|00003d50| 66 75 6e 63 74 69 6f 6e | 20 65 6e 61 62 6c 65 73 |function| enables|
|00003d60| 20 79 6f 75 20 74 6f 20 | 75 73 65 20 73 68 61 72 | you to |use shar|
|00003d70| 65 64 20 64 69 61 72 79 | 20 66 69 6c 65 73 20 74 |ed diary| files t|
|00003d80| 6f 67 65 74 68 65 72 0a | 77 69 74 68 20 79 6f 75 |ogether.|with you|
|00003d90| 72 20 6f 77 6e 2e 20 20 | 54 68 65 20 66 69 6c 65 |r own. |The file|
|00003da0| 73 20 69 6e 63 6c 75 64 | 65 64 20 61 72 65 20 73 |s includ|ed are s|
|00003db0| 70 65 63 69 66 69 65 64 | 20 69 6e 20 74 68 65 20 |pecified| in the |
|00003dc0| 64 69 61 72 79 2d 66 69 | 6c 65 20 62 79 20 6c 69 |diary-fi|le by li|
|00003dd0| 6e 65 73 0a 6f 66 20 74 | 68 65 20 66 6f 72 6d 0a |nes.of t|he form.|
|00003de0| 0a 20 20 20 20 20 20 20 | 20 23 69 6e 63 6c 75 64 |. | #includ|
|00003df0| 65 20 5c 22 66 69 6c 65 | 6e 61 6d 65 5c 22 0a 0a |e \"file|name\"..|
|00003e00| 54 68 69 73 20 69 73 20 | 72 65 63 75 72 73 69 76 |This is |recursiv|
|00003e10| 65 3b 20 74 68 61 74 20 | 69 73 2c 20 23 69 6e 63 |e; that |is, #inc|
|00003e20| 6c 75 64 65 20 64 69 72 | 65 63 74 69 76 65 73 20 |lude dir|ectives |
|00003e30| 69 6e 20 66 69 6c 65 73 | 20 74 68 75 73 20 69 6e |in files| thus in|
|00003e40| 63 6c 75 64 65 64 20 61 | 72 65 0a 6f 62 65 79 65 |cluded a|re.obeye|
|00003e50| 64 2e 20 20 59 6f 75 20 | 63 61 6e 20 63 68 61 6e |d. You |can chan|
|00003e60| 67 65 20 74 68 65 20 5c | 22 23 69 6e 63 6c 75 64 |ge the \|"#includ|
|00003e70| 65 5c 22 20 74 6f 20 73 | 6f 6d 65 20 6f 74 68 65 |e\" to s|ome othe|
|00003e80| 72 20 73 74 72 69 6e 67 | 20 62 79 20 63 68 61 6e |r string| by chan|
|00003e90| 67 69 6e 67 0a 74 68 65 | 20 76 61 72 69 61 62 6c |ging.the| variabl|
|00003ea0| 65 20 60 64 69 61 72 79 | 2d 69 6e 63 6c 75 64 65 |e `diary|-include|
|00003eb0| 2d 73 74 72 69 6e 67 27 | 2e 20 20 57 68 65 6e 20 |-string'|. When |
|00003ec0| 79 6f 75 20 75 73 65 20 | 60 69 6e 63 6c 75 64 65 |you use |`include|
|00003ed0| 2d 6f 74 68 65 72 2d 64 | 69 61 72 79 2d 66 69 6c |-other-d|iary-fil|
|00003ee0| 65 73 27 0a 61 73 20 70 | 61 72 74 20 6f 66 20 74 |es'.as p|art of t|
|00003ef0| 68 65 20 6c 69 73 74 2d | 64 69 61 72 79 2d 65 6e |he list-|diary-en|
|00003f00| 74 72 69 65 73 2d 68 6f | 6f 6b 2c 20 79 6f 75 20 |tries-ho|ok, you |
|00003f10| 77 69 6c 6c 20 70 72 6f | 62 61 62 6c 79 20 61 6c |will pro|bably al|
|00003f20| 73 6f 20 77 61 6e 74 20 | 74 6f 20 75 73 65 20 74 |so want |to use t|
|00003f30| 68 65 0a 66 75 6e 63 74 | 69 6f 6e 20 60 6d 61 72 |he.funct|ion `mar|
|00003f40| 6b 2d 69 6e 63 6c 75 64 | 65 64 2d 64 69 61 72 79 |k-includ|ed-diary|
|00003f50| 2d 66 69 6c 65 73 27 20 | 61 73 20 70 61 72 74 20 |-files' |as part |
|00003f60| 6f 66 20 74 68 65 20 6d | 61 72 6b 2d 64 69 61 72 |of the m|ark-diar|
|00003f70| 79 2d 65 6e 74 72 69 65 | 73 2d 68 6f 6f 6b 2e 0a |y-entrie|s-hook..|
|00003f80| 0a 46 6f 72 20 65 78 61 | 6d 70 6c 65 2c 20 79 6f |.For exa|mple, yo|
|00003f90| 75 20 63 6f 75 6c 64 20 | 75 73 65 0a 0a 20 20 20 |u could |use.. |
|00003fa0| 20 20 28 73 65 74 71 20 | 6c 69 73 74 2d 64 69 61 | (setq |list-dia|
|00003fb0| 72 79 2d 65 6e 74 72 69 | 65 73 2d 68 6f 6f 6b 0a |ry-entri|es-hook.|
|00003fc0| 20 20 20 20 20 20 20 27 | 28 69 6e 63 6c 75 64 65 | '|(include|
|00003fd0| 2d 6f 74 68 65 72 2d 64 | 69 61 72 79 2d 66 69 6c |-other-d|iary-fil|
|00003fe0| 65 73 20 73 6f 72 74 2d | 64 69 61 72 79 2d 65 6e |es sort-|diary-en|
|00003ff0| 74 72 69 65 73 29 29 0a | 20 20 20 20 20 28 73 65 |tries)).| (se|
|00004000| 74 71 20 64 69 61 72 79 | 2d 64 69 73 70 6c 61 79 |tq diary|-display|
|00004010| 2d 68 6f 6f 6b 20 27 66 | 61 6e 63 79 2d 64 69 61 |-hook 'f|ancy-dia|
|00004020| 72 79 2d 64 69 73 70 6c | 61 79 29 0a 0a 69 6e 20 |ry-displ|ay)..in |
|00004030| 79 6f 75 72 20 2e 65 6d | 61 63 73 20 66 69 6c 65 |your .em|acs file|
|00004040| 20 74 6f 20 63 61 75 73 | 65 20 74 68 65 20 66 61 | to caus|e the fa|
|00004050| 6e 63 79 20 64 69 61 72 | 79 20 62 75 66 66 65 72 |ncy diar|y buffer|
|00004060| 20 74 6f 20 62 65 20 64 | 69 73 70 6c 61 79 65 64 | to be d|isplayed|
|00004070| 20 77 69 74 68 0a 64 69 | 61 72 79 20 65 6e 74 72 | with.di|ary entr|
|00004080| 69 65 73 20 66 72 6f 6d | 20 76 61 72 69 6f 75 73 |ies from| various|
|00004090| 20 69 6e 63 6c 75 64 65 | 64 20 66 69 6c 65 73 2c | include|d files,|
|000040a0| 20 65 61 63 68 20 64 61 | 79 27 73 20 65 6e 74 72 | each da|y's entr|
|000040b0| 69 65 73 20 73 6f 72 74 | 65 64 20 69 6e 74 6f 0a |ies sort|ed into.|
|000040c0| 6c 65 78 69 63 6f 67 72 | 61 70 68 69 63 20 6f 72 |lexicogr|aphic or|
|000040d0| 64 65 72 2e 22 29 0a 28 | 64 65 66 76 61 72 20 64 |der.").(|defvar d|
|000040e0| 69 61 72 79 2d 64 69 73 | 70 6c 61 79 2d 68 6f 6f |iary-dis|play-hoo|
|000040f0| 6b 20 28 71 75 6f 74 65 | 20 73 69 6d 70 6c 65 2d |k (quote| simple-|
|00004100| 64 69 61 72 79 2d 64 69 | 73 70 6c 61 79 29 20 22 |diary-di|splay) "|
|00004110| 5c 0a 2a 4c 69 73 74 20 | 6f 66 20 66 75 6e 63 74 |\.*List |of funct|
|00004120| 69 6f 6e 73 20 74 68 61 | 74 20 68 61 6e 64 6c 65 |ions tha|t handle|
|00004130| 20 74 68 65 20 64 69 73 | 70 6c 61 79 20 6f 66 20 | the dis|play of |
|00004140| 74 68 65 20 64 69 61 72 | 79 2e 0a 0a 4f 72 64 69 |the diar|y...Ordi|
|00004150| 6e 61 72 69 6c 79 2c 20 | 74 68 69 73 20 6a 75 73 |narily, |this jus|
|00004160| 74 20 64 69 73 70 6c 61 | 79 73 20 74 68 65 20 64 |t displa|ys the d|
|00004170| 69 61 72 79 20 62 75 66 | 66 65 72 20 28 77 69 74 |iary buf|fer (wit|
|00004180| 68 20 68 6f 6c 69 64 61 | 79 73 20 69 6e 64 69 63 |h holida|ys indic|
|00004190| 61 74 65 64 20 69 6e 0a | 74 68 65 20 6d 6f 64 65 |ated in.|the mode|
|000041a0| 20 6c 69 6e 65 29 2c 20 | 69 66 20 74 68 65 72 65 | line), |if there|
|000041b0| 20 61 72 65 20 61 6e 79 | 20 72 65 6c 65 76 61 6e | are any| relevan|
|000041c0| 74 20 65 6e 74 72 69 65 | 73 2e 20 20 41 74 20 74 |t entrie|s. At t|
|000041d0| 68 65 20 74 69 6d 65 20 | 74 68 65 73 65 0a 66 75 |he time |these.fu|
|000041e0| 6e 63 74 69 6f 6e 73 20 | 61 72 65 20 63 61 6c 6c |nctions |are call|
|000041f0| 65 64 2c 20 74 68 65 20 | 76 61 72 69 61 62 6c 65 |ed, the |variable|
|00004200| 20 60 64 69 61 72 79 2d | 65 6e 74 72 69 65 73 2d | `diary-|entries-|
|00004210| 6c 69 73 74 27 20 69 73 | 20 61 20 6c 69 73 74 2c |list' is| a list,|
|00004220| 20 69 6e 20 6f 72 64 65 | 72 0a 62 79 20 64 61 74 | in orde|r.by dat|
|00004230| 65 2c 20 6f 66 20 61 6c | 6c 20 72 65 6c 65 76 61 |e, of al|l releva|
|00004240| 6e 74 20 64 69 61 72 79 | 20 65 6e 74 72 69 65 73 |nt diary| entries|
|00004250| 20 69 6e 20 74 68 65 20 | 66 6f 72 6d 20 6f 66 20 | in the |form of |
|00004260| 28 28 4d 4f 4e 54 48 20 | 44 41 59 20 59 45 41 52 |((MONTH |DAY YEAR|
|00004270| 29 0a 53 54 52 49 4e 47 | 29 2c 20 77 68 65 72 65 |).STRING|), where|
|00004280| 20 73 74 72 69 6e 67 20 | 69 73 20 74 68 65 20 64 | string |is the d|
|00004290| 69 61 72 79 20 65 6e 74 | 72 79 20 66 6f 72 20 74 |iary ent|ry for t|
|000042a0| 68 65 20 67 69 76 65 6e | 20 64 61 74 65 2e 20 20 |he given| date. |
|000042b0| 54 68 69 73 20 63 61 6e | 20 62 65 0a 75 73 65 64 |This can| be.used|
|000042c0| 2c 20 66 6f 72 20 65 78 | 61 6d 70 6c 65 2c 20 74 |, for ex|ample, t|
|000042d0| 6f 20 68 61 6e 64 6c 65 | 20 61 70 70 6f 69 6e 74 |o handle| appoint|
|000042e0| 6d 65 6e 74 20 6e 6f 74 | 69 66 69 63 61 74 69 6f |ment not|ificatio|
|000042f0| 6e 2c 20 70 72 65 70 61 | 72 65 20 61 20 64 69 66 |n, prepa|re a dif|
|00004300| 66 65 72 65 6e 74 0a 62 | 75 66 66 65 72 20 66 6f |ferent.b|uffer fo|
|00004310| 72 20 64 69 73 70 6c 61 | 79 20 28 70 65 72 68 61 |r displa|y (perha|
|00004320| 70 73 20 63 6f 6d 62 69 | 6e 65 64 20 77 69 74 68 |ps combi|ned with|
|00004330| 20 68 6f 6c 69 64 61 79 | 73 29 2c 20 6f 72 20 70 | holiday|s), or p|
|00004340| 72 6f 64 75 63 65 20 68 | 61 72 64 20 63 6f 70 79 |roduce h|ard copy|
|00004350| 0a 6f 75 74 70 75 74 2e | 0a 0a 41 20 66 75 6e 63 |.output.|..A func|
|00004360| 74 69 6f 6e 20 60 66 61 | 6e 63 79 2d 64 69 61 72 |tion `fa|ncy-diar|
|00004370| 79 2d 64 69 73 70 6c 61 | 79 27 20 69 73 20 70 72 |y-displa|y' is pr|
|00004380| 6f 76 69 64 65 64 20 61 | 73 20 61 6e 20 61 6c 74 |ovided a|s an alt|
|00004390| 65 72 6e 61 74 69 76 65 | 0a 63 68 6f 69 63 65 20 |ernative|.choice |
|000043a0| 66 6f 72 20 74 68 69 73 | 20 68 6f 6f 6b 3b 20 74 |for this| hook; t|
|000043b0| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 20 70 72 65 |his func|tion pre|
|000043c0| 70 61 72 65 73 20 61 20 | 73 70 65 63 69 61 6c 20 |pares a |special |
|000043d0| 6e 6f 6e 65 64 69 74 61 | 62 6c 65 20 64 69 61 72 |nonedita|ble diar|
|000043e0| 79 0a 62 75 66 66 65 72 | 20 77 69 74 68 20 74 68 |y.buffer| with th|
|000043f0| 65 20 72 65 6c 65 76 61 | 6e 74 20 64 69 61 72 79 |e releva|nt diary|
|00004400| 20 65 6e 74 72 69 65 73 | 20 74 68 61 74 20 68 61 | entries| that ha|
|00004410| 73 20 6e 65 61 74 20 64 | 61 79 2d 62 79 2d 64 61 |s neat d|ay-by-da|
|00004420| 79 20 61 72 72 61 6e 67 | 65 6d 65 6e 74 0a 77 69 |y arrang|ement.wi|
|00004430| 74 68 20 68 65 61 64 69 | 6e 67 73 2e 20 20 54 68 |th headi|ngs. Th|
|00004440| 65 20 66 61 6e 63 79 20 | 64 69 61 72 79 20 62 75 |e fancy |diary bu|
|00004450| 66 66 65 72 20 77 69 6c | 6c 20 73 68 6f 77 20 74 |ffer wil|l show t|
|00004460| 68 65 20 68 6f 6c 69 64 | 61 79 73 20 75 6e 6c 65 |he holid|ays unle|
|00004470| 73 73 20 74 68 65 0a 76 | 61 72 69 61 62 6c 65 20 |ss the.v|ariable |
|00004480| 60 68 6f 6c 69 64 61 79 | 73 2d 69 6e 2d 64 69 61 |`holiday|s-in-dia|
|00004490| 72 79 2d 62 75 66 66 65 | 72 27 20 69 73 20 73 65 |ry-buffe|r' is se|
|000044a0| 74 20 74 6f 20 6e 69 6c | 2e 20 20 4f 72 64 69 6e |t to nil|. Ordin|
|000044b0| 61 72 69 6c 79 2c 20 74 | 68 65 20 66 61 6e 63 79 |arily, t|he fancy|
|000044c0| 0a 64 69 61 72 79 20 62 | 75 66 66 65 72 20 77 69 |.diary b|uffer wi|
|000044d0| 6c 6c 20 6e 6f 74 20 73 | 68 6f 77 20 64 61 79 73 |ll not s|how days|
|000044e0| 20 66 6f 72 20 77 68 69 | 63 68 20 74 68 65 72 65 | for whi|ch there|
|000044f0| 20 61 72 65 20 6e 6f 20 | 64 69 61 72 79 20 65 6e | are no |diary en|
|00004500| 74 72 69 65 73 2c 20 65 | 76 65 6e 0a 69 66 20 74 |tries, e|ven.if t|
|00004510| 68 61 74 20 64 61 79 20 | 69 73 20 61 20 68 6f 6c |hat day |is a hol|
|00004520| 69 64 61 79 3b 20 69 66 | 20 79 6f 75 20 77 61 6e |iday; if| you wan|
|00004530| 74 20 73 75 63 68 20 64 | 61 79 73 20 74 6f 20 62 |t such d|ays to b|
|00004540| 65 20 73 68 6f 77 6e 20 | 69 6e 20 74 68 65 20 66 |e shown |in the f|
|00004550| 61 6e 63 79 0a 64 69 61 | 72 79 20 62 75 66 66 65 |ancy.dia|ry buffe|
|00004560| 72 2c 20 73 65 74 20 74 | 68 65 20 76 61 72 69 61 |r, set t|he varia|
|00004570| 62 6c 65 20 60 64 69 61 | 72 79 2d 6c 69 73 74 2d |ble `dia|ry-list-|
|00004580| 69 6e 63 6c 75 64 65 2d | 62 6c 61 6e 6b 73 27 20 |include-|blanks' |
|00004590| 74 6f 20 74 2e 22 29 0a | 28 64 65 66 76 61 72 20 |to t.").|(defvar |
|000045a0| 6e 6f 6e 67 72 65 67 6f | 72 69 61 6e 2d 64 69 61 |nongrego|rian-dia|
|000045b0| 72 79 2d 6c 69 73 74 69 | 6e 67 2d 68 6f 6f 6b 20 |ry-listi|ng-hook |
|000045c0| 6e 69 6c 20 22 5c 0a 2a | 4c 69 73 74 20 6f 66 20 |nil "\.*|List of |
|000045d0| 66 75 6e 63 74 69 6f 6e | 73 20 63 61 6c 6c 65 64 |function|s called|
|000045e0| 20 66 6f 72 20 6c 69 73 | 74 69 6e 67 20 64 69 61 | for lis|ting dia|
|000045f0| 72 79 20 66 69 6c 65 20 | 61 6e 64 20 69 6e 63 6c |ry file |and incl|
|00004600| 75 64 65 64 20 66 69 6c | 65 73 2e 0a 41 73 20 74 |uded fil|es..As t|
|00004610| 68 65 20 66 69 6c 65 73 | 20 61 72 65 20 70 72 6f |he files| are pro|
|00004620| 63 65 73 73 65 64 20 66 | 6f 72 20 64 69 61 72 79 |cessed f|or diary|
|00004630| 20 65 6e 74 72 69 65 73 | 2c 20 74 68 65 73 65 20 | entries|, these |
|00004640| 66 75 6e 63 74 69 6f 6e | 73 20 61 72 65 20 75 73 |function|s are us|
|00004650| 65 64 20 74 6f 20 63 75 | 6c 6c 0a 72 65 6c 65 76 |ed to cu|ll.relev|
|00004660| 61 6e 74 20 65 6e 74 72 | 69 65 73 2e 20 20 59 6f |ant entr|ies. Yo|
|00004670| 75 20 63 61 6e 20 75 73 | 65 20 65 69 74 68 65 72 |u can us|e either|
|00004680| 20 6f 72 20 62 6f 74 68 | 20 6f 66 20 60 6c 69 73 | or both| of `lis|
|00004690| 74 2d 68 65 62 72 65 77 | 2d 64 69 61 72 79 2d 65 |t-hebrew|-diary-e|
|000046a0| 6e 74 72 69 65 73 27 0a | 61 6e 64 20 60 6c 69 73 |ntries'.|and `lis|
|000046b0| 74 2d 69 73 6c 61 6d 69 | 63 2d 64 69 61 72 79 2d |t-islami|c-diary-|
|000046c0| 65 6e 74 72 69 65 73 27 | 2e 20 20 54 68 65 20 64 |entries'|. The d|
|000046d0| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 66 6f 72 |ocumenta|tion for|
|000046e0| 20 74 68 65 73 65 20 66 | 75 6e 63 74 69 6f 6e 73 | these f|unctions|
|000046f0| 0a 64 65 73 63 72 69 62 | 65 73 20 74 68 65 20 73 |.describ|es the s|
|00004700| 74 79 6c 65 20 6f 66 20 | 73 75 63 68 20 64 69 61 |tyle of |such dia|
|00004710| 72 79 20 65 6e 74 72 69 | 65 73 2e 22 29 0a 28 64 |ry entri|es.").(d|
|00004720| 65 66 76 61 72 20 6d 61 | 72 6b 2d 64 69 61 72 79 |efvar ma|rk-diary|
|00004730| 2d 65 6e 74 72 69 65 73 | 2d 68 6f 6f 6b 20 6e 69 |-entries|-hook ni|
|00004740| 6c 20 22 5c 0a 2a 4c 69 | 73 74 20 6f 66 20 66 75 |l "\.*Li|st of fu|
|00004750| 6e 63 74 69 6f 6e 73 20 | 63 61 6c 6c 65 64 20 61 |nctions |called a|
|00004760| 66 74 65 72 20 6d 61 72 | 6b 69 6e 67 20 64 69 61 |fter mar|king dia|
|00004770| 72 79 20 65 6e 74 72 69 | 65 73 20 69 6e 20 74 68 |ry entri|es in th|
|00004780| 65 20 63 61 6c 65 6e 64 | 61 72 2e 0a 0a 41 20 66 |e calend|ar...A f|
|00004790| 75 6e 63 74 69 6f 6e 20 | 60 6d 61 72 6b 2d 69 6e |unction |`mark-in|
|000047a0| 63 6c 75 64 65 64 2d 64 | 69 61 72 79 2d 66 69 6c |cluded-d|iary-fil|
|000047b0| 65 73 27 20 69 73 20 61 | 6c 73 6f 20 70 72 6f 76 |es' is a|lso prov|
|000047c0| 69 64 65 64 20 66 6f 72 | 20 75 73 65 20 61 73 20 |ided for| use as |
|000047d0| 74 68 65 0a 6d 61 72 6b | 2d 64 69 61 72 79 2d 65 |the.mark|-diary-e|
|000047e0| 6e 74 72 69 65 73 2d 68 | 6f 6f 6b 3b 20 69 74 20 |ntries-h|ook; it |
|000047f0| 65 6e 61 62 6c 65 73 20 | 79 6f 75 20 74 6f 20 75 |enables |you to u|
|00004800| 73 65 20 73 68 61 72 65 | 64 20 64 69 61 72 79 20 |se share|d diary |
|00004810| 66 69 6c 65 73 20 74 6f | 67 65 74 68 65 72 0a 77 |files to|gether.w|
|00004820| 69 74 68 20 79 6f 75 72 | 20 6f 77 6e 2e 20 20 54 |ith your| own. T|
|00004830| 68 65 20 66 69 6c 65 73 | 20 69 6e 63 6c 75 64 65 |he files| include|
|00004840| 64 20 61 72 65 20 73 70 | 65 63 69 66 69 65 64 20 |d are sp|ecified |
|00004850| 69 6e 20 74 68 65 20 64 | 69 61 72 79 2d 66 69 6c |in the d|iary-fil|
|00004860| 65 20 62 79 20 6c 69 6e | 65 73 0a 6f 66 20 74 68 |e by lin|es.of th|
|00004870| 65 20 66 6f 72 6d 0a 20 | 20 20 20 20 20 20 20 23 |e form. | #|
|00004880| 69 6e 63 6c 75 64 65 20 | 5c 22 66 69 6c 65 6e 61 |include |\"filena|
|00004890| 6d 65 5c 22 0a 54 68 69 | 73 20 69 73 20 72 65 63 |me\".Thi|s is rec|
|000048a0| 75 72 73 69 76 65 3b 20 | 74 68 61 74 20 69 73 2c |ursive; |that is,|
|000048b0| 20 23 69 6e 63 6c 75 64 | 65 20 64 69 72 65 63 74 | #includ|e direct|
|000048c0| 69 76 65 73 20 69 6e 20 | 66 69 6c 65 73 20 74 68 |ives in |files th|
|000048d0| 75 73 20 69 6e 63 6c 75 | 64 65 64 20 61 72 65 0a |us inclu|ded are.|
|000048e0| 6f 62 65 79 65 64 2e 20 | 20 59 6f 75 20 63 61 6e |obeyed. | You can|
|000048f0| 20 63 68 61 6e 67 65 20 | 74 68 65 20 5c 22 23 69 | change |the \"#i|
|00004900| 6e 63 6c 75 64 65 5c 22 | 20 74 6f 20 73 6f 6d 65 |nclude\"| to some|
|00004910| 20 6f 74 68 65 72 20 73 | 74 72 69 6e 67 20 62 79 | other s|tring by|
|00004920| 20 63 68 61 6e 67 69 6e | 67 20 74 68 65 0a 76 61 | changin|g the.va|
|00004930| 72 69 61 62 6c 65 20 60 | 64 69 61 72 79 2d 69 6e |riable `|diary-in|
|00004940| 63 6c 75 64 65 2d 73 74 | 72 69 6e 67 27 2e 20 20 |clude-st|ring'. |
|00004950| 57 68 65 6e 20 79 6f 75 | 20 75 73 65 20 60 6d 61 |When you| use `ma|
|00004960| 72 6b 2d 69 6e 63 6c 75 | 64 65 64 2d 64 69 61 72 |rk-inclu|ded-diar|
|00004970| 79 2d 66 69 6c 65 73 27 | 20 61 73 0a 70 61 72 74 |y-files'| as.part|
|00004980| 20 6f 66 20 74 68 65 20 | 6d 61 72 6b 2d 64 69 61 | of the |mark-dia|
|00004990| 72 79 2d 65 6e 74 72 69 | 65 73 2d 68 6f 6f 6b 2c |ry-entri|es-hook,|
|000049a0| 20 79 6f 75 20 77 69 6c | 6c 20 70 72 6f 62 61 62 | you wil|l probab|
|000049b0| 6c 79 20 61 6c 73 6f 20 | 77 61 6e 74 20 74 6f 20 |ly also |want to |
|000049c0| 75 73 65 20 74 68 65 0a | 66 75 6e 63 74 69 6f 6e |use the.|function|
|000049d0| 20 60 69 6e 63 6c 75 64 | 65 2d 6f 74 68 65 72 2d | `includ|e-other-|
|000049e0| 64 69 61 72 79 2d 66 69 | 6c 65 73 27 20 61 73 20 |diary-fi|les' as |
|000049f0| 70 61 72 74 20 6f 66 20 | 74 68 65 20 6c 69 73 74 |part of |the list|
|00004a00| 2d 64 69 61 72 79 2d 65 | 6e 74 72 69 65 73 2d 68 |-diary-e|ntries-h|
|00004a10| 6f 6f 6b 2e 22 29 0a 28 | 64 65 66 76 61 72 20 6e |ook.").(|defvar n|
|00004a20| 6f 6e 67 72 65 67 6f 72 | 69 61 6e 2d 64 69 61 72 |ongregor|ian-diar|
|00004a30| 79 2d 6d 61 72 6b 69 6e | 67 2d 68 6f 6f 6b 20 6e |y-markin|g-hook n|
|00004a40| 69 6c 20 22 5c 0a 2a 4c | 69 73 74 20 6f 66 20 66 |il "\.*L|ist of f|
|00004a50| 75 6e 63 74 69 6f 6e 73 | 20 63 61 6c 6c 65 64 20 |unctions| called |
|00004a60| 66 6f 72 20 6d 61 72 6b | 69 6e 67 20 64 69 61 72 |for mark|ing diar|
|00004a70| 79 20 66 69 6c 65 20 61 | 6e 64 20 69 6e 63 6c 75 |y file a|nd inclu|
|00004a80| 64 65 64 20 66 69 6c 65 | 73 2e 0a 41 73 20 74 68 |ded file|s..As th|
|00004a90| 65 20 66 69 6c 65 73 20 | 61 72 65 20 70 72 6f 63 |e files |are proc|
|00004aa0| 65 73 73 65 64 20 66 6f | 72 20 64 69 61 72 79 20 |essed fo|r diary |
|00004ab0| 65 6e 74 72 69 65 73 2c | 20 74 68 65 73 65 20 66 |entries,| these f|
|00004ac0| 75 6e 63 74 69 6f 6e 73 | 20 61 72 65 20 75 73 65 |unctions| are use|
|00004ad0| 64 20 74 6f 20 63 75 6c | 6c 0a 72 65 6c 65 76 61 |d to cul|l.releva|
|00004ae0| 6e 74 20 65 6e 74 72 69 | 65 73 2e 20 20 59 6f 75 |nt entri|es. You|
|00004af0| 20 63 61 6e 20 75 73 65 | 20 65 69 74 68 65 72 20 | can use| either |
|00004b00| 6f 72 20 62 6f 74 68 20 | 6f 66 20 60 6d 61 72 6b |or both |of `mark|
|00004b10| 2d 68 65 62 72 65 77 2d | 64 69 61 72 79 2d 65 6e |-hebrew-|diary-en|
|00004b20| 74 72 69 65 73 27 0a 61 | 6e 64 20 60 6d 61 72 6b |tries'.a|nd `mark|
|00004b30| 2d 69 73 6c 61 6d 69 63 | 2d 64 69 61 72 79 2d 65 |-islamic|-diary-e|
|00004b40| 6e 74 72 69 65 73 27 2e | 20 20 54 68 65 20 64 6f |ntries'.| The do|
|00004b50| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 66 6f 72 20 |cumentat|ion for |
|00004b60| 74 68 65 73 65 20 66 75 | 6e 63 74 69 6f 6e 73 0a |these fu|nctions.|
|00004b70| 64 65 73 63 72 69 62 65 | 73 20 74 68 65 20 73 74 |describe|s the st|
|00004b80| 79 6c 65 20 6f 66 20 73 | 75 63 68 20 64 69 61 72 |yle of s|uch diar|
|00004b90| 79 20 65 6e 74 72 69 65 | 73 2e 22 29 0a 28 64 65 |y entrie|s.").(de|
|00004ba0| 66 76 61 72 20 64 69 61 | 72 79 2d 6c 69 73 74 2d |fvar dia|ry-list-|
|00004bb0| 69 6e 63 6c 75 64 65 2d | 62 6c 61 6e 6b 73 20 6e |include-|blanks n|
|00004bc0| 69 6c 20 22 5c 0a 2a 49 | 66 20 6e 69 6c 2c 20 64 |il "\.*I|f nil, d|
|00004bd0| 6f 20 6e 6f 74 20 69 6e | 63 6c 75 64 65 20 64 61 |o not in|clude da|
|00004be0| 79 73 20 77 69 74 68 20 | 6e 6f 20 64 69 61 72 79 |ys with |no diary|
|00004bf0| 20 65 6e 74 72 79 20 69 | 6e 20 74 68 65 20 6c 69 | entry i|n the li|
|00004c00| 73 74 20 6f 66 20 64 69 | 61 72 79 20 65 6e 74 72 |st of di|ary entr|
|00004c10| 69 65 73 2e 0a 53 75 63 | 68 20 64 61 79 73 20 77 |ies..Suc|h days w|
|00004c20| 69 6c 6c 20 74 68 65 6e | 20 6e 6f 74 20 62 65 20 |ill then| not be |
|00004c30| 73 68 6f 77 6e 20 69 6e | 20 74 68 65 20 74 68 65 |shown in| the the|
|00004c40| 20 66 61 6e 63 79 20 64 | 69 61 72 79 20 62 75 66 | fancy d|iary buf|
|00004c50| 66 65 72 2c 20 65 76 65 | 6e 20 69 66 20 74 68 65 |fer, eve|n if the|
|00004c60| 79 0a 61 72 65 20 68 6f | 6c 69 64 61 79 73 2e 22 |y.are ho|lidays."|
|00004c70| 29 0a 28 64 65 66 76 61 | 72 20 68 6f 6c 69 64 61 |).(defva|r holida|
|00004c80| 79 73 2d 69 6e 2d 64 69 | 61 72 79 2d 62 75 66 66 |ys-in-di|ary-buff|
|00004c90| 65 72 20 74 20 22 5c 0a | 2a 49 66 20 74 2c 20 74 |er t "\.|*If t, t|
|00004ca0| 68 65 20 68 6f 6c 69 64 | 61 79 73 20 77 69 6c 6c |he holid|ays will|
|00004cb0| 20 62 65 20 69 6e 64 69 | 63 61 74 65 64 20 69 6e | be indi|cated in|
|00004cc0| 20 74 68 65 20 64 69 61 | 72 79 20 64 69 73 70 6c | the dia|ry displ|
|00004cd0| 61 79 2e 0a 54 68 65 20 | 68 6f 6c 69 64 61 79 73 |ay..The |holidays|
|00004ce0| 20 77 69 6c 6c 20 62 65 | 20 67 69 76 65 6e 20 69 | will be| given i|
|00004cf0| 6e 20 74 68 65 20 6d 6f | 64 65 20 6c 69 6e 65 20 |n the mo|de line |
|00004d00| 6f 66 20 74 68 65 20 64 | 69 61 72 79 20 62 75 66 |of the d|iary buf|
|00004d10| 66 65 72 2c 20 6f 72 20 | 69 6e 20 74 68 65 0a 66 |fer, or |in the.f|
|00004d20| 61 6e 63 79 20 64 69 61 | 72 79 20 62 75 66 66 65 |ancy dia|ry buffe|
|00004d30| 72 20 6e 65 78 74 20 74 | 6f 20 74 68 65 20 64 61 |r next t|o the da|
|00004d40| 74 65 2e 20 20 54 68 69 | 73 20 73 6c 6f 77 73 20 |te. Thi|s slows |
|00004d50| 64 6f 77 6e 20 74 68 65 | 20 64 69 61 72 79 20 66 |down the| diary f|
|00004d60| 75 6e 63 74 69 6f 6e 73 | 0a 73 6f 6d 65 77 68 61 |unctions|.somewha|
|00004d70| 74 3b 20 73 65 74 74 69 | 6e 67 20 69 74 20 74 6f |t; setti|ng it to|
|00004d80| 20 6e 69 6c 20 77 69 6c | 6c 20 6d 61 6b 65 20 74 | nil wil|l make t|
|00004d90| 68 65 20 64 69 61 72 79 | 20 64 69 73 70 6c 61 79 |he diary| display|
|00004da0| 20 66 61 73 74 65 72 2e | 22 29 0a 28 62 79 74 65 | faster.|").(byte|
|00004db0| 2d 63 6f 64 65 20 22 c0 | c1 21 84 08 00 c2 11 c2 |-code ".|.!......|
|00004dc0| 87 22 20 5b 62 6f 75 6e | 64 70 20 63 61 6c 65 6e |." [boun|dp calen|
|00004dd0| 64 61 72 2d 6d 61 72 6b | 2d 72 69 6e 67 20 6e 69 |dar-mark|-ring ni|
|00004de0| 6c 5d 20 32 29 0a 28 64 | 65 66 76 61 72 20 67 65 |l] 2).(d|efvar ge|
|00004df0| 6e 65 72 61 6c 2d 68 6f | 6c 69 64 61 79 73 20 28 |neral-ho|lidays (|
|00004e00| 71 75 6f 74 65 20 28 28 | 68 6f 6c 69 64 61 79 2d |quote ((|holiday-|
|00004e10| 66 69 78 65 64 20 31 20 | 31 20 22 4e 65 77 20 59 |fixed 1 |1 "New Y|
|00004e20| 65 61 72 27 73 20 44 61 | 79 22 29 20 28 68 6f 6c |ear's Da|y") (hol|
|00004e30| 69 64 61 79 2d 66 6c 6f | 61 74 20 31 20 31 20 33 |iday-flo|at 1 1 3|
|00004e40| 20 22 4d 61 72 74 69 6e | 20 4c 75 74 68 65 72 20 | "Martin| Luther |
|00004e50| 4b 69 6e 67 20 44 61 79 | 22 29 20 28 68 6f 6c 69 |King Day|") (holi|
|00004e60| 64 61 79 2d 66 69 78 65 | 64 20 32 20 32 20 22 47 |day-fixe|d 2 2 "G|
|00004e70| 72 6f 75 6e 64 20 48 6f | 67 20 44 61 79 22 29 20 |round Ho|g Day") |
|00004e80| 28 68 6f 6c 69 64 61 79 | 2d 66 69 78 65 64 20 32 |(holiday|-fixed 2|
|00004e90| 20 31 34 20 22 56 61 6c | 65 6e 74 69 6e 65 27 73 | 14 "Val|entine's|
|00004ea0| 20 44 61 79 22 29 20 28 | 68 6f 6c 69 64 61 79 2d | Day") (|holiday-|
|00004eb0| 66 6c 6f 61 74 20 32 20 | 31 20 33 20 22 50 72 65 |float 2 |1 3 "Pre|
|00004ec0| 73 69 64 65 6e 74 27 73 | 20 44 61 79 22 29 20 28 |sident's| Day") (|
|00004ed0| 68 6f 6c 69 64 61 79 2d | 66 69 78 65 64 20 33 20 |holiday-|fixed 3 |
|00004ee0| 31 37 20 22 53 74 2e 20 | 50 61 74 72 69 63 6b 27 |17 "St. |Patrick'|
|00004ef0| 73 20 44 61 79 22 29 20 | 28 68 6f 6c 69 64 61 79 |s Day") |(holiday|
|00004f00| 2d 66 69 78 65 64 20 34 | 20 31 20 22 41 70 72 69 |-fixed 4| 1 "Apri|
|00004f10| 6c 20 46 6f 6f 6c 27 73 | 20 44 61 79 22 29 20 28 |l Fool's| Day") (|
|00004f20| 68 6f 6c 69 64 61 79 2d | 66 6c 6f 61 74 20 35 20 |holiday-|float 5 |
|00004f30| 30 20 32 20 22 4d 6f 74 | 68 65 72 27 73 20 44 61 |0 2 "Mot|her's Da|
|00004f40| 79 22 29 20 28 68 6f 6c | 69 64 61 79 2d 66 6c 6f |y") (hol|iday-flo|
|00004f50| 61 74 20 35 20 31 20 2d | 31 20 22 4d 65 6d 6f 72 |at 5 1 -|1 "Memor|
|00004f60| 69 61 6c 20 44 61 79 22 | 29 20 28 68 6f 6c 69 64 |ial Day"|) (holid|
|00004f70| 61 79 2d 66 69 78 65 64 | 20 36 20 31 34 20 22 46 |ay-fixed| 6 14 "F|
|00004f80| 6c 61 67 20 44 61 79 22 | 29 20 28 68 6f 6c 69 64 |lag Day"|) (holid|
|00004f90| 61 79 2d 66 6c 6f 61 74 | 20 36 20 30 20 33 20 22 |ay-float| 6 0 3 "|
|00004fa0| 46 61 74 68 65 72 27 73 | 20 44 61 79 22 29 20 28 |Father's| Day") (|
|00004fb0| 68 6f 6c 69 64 61 79 2d | 66 69 78 65 64 20 37 20 |holiday-|fixed 7 |
|00004fc0| 34 20 22 49 6e 64 65 70 | 65 6e 64 65 6e 63 65 20 |4 "Indep|endence |
|00004fd0| 44 61 79 22 29 20 28 68 | 6f 6c 69 64 61 79 2d 66 |Day") (h|oliday-f|
|00004fe0| 6c 6f 61 74 20 39 20 31 | 20 31 20 22 4c 61 62 6f |loat 9 1| 1 "Labo|
|00004ff0| 72 20 44 61 79 22 29 20 | 28 68 6f 6c 69 64 61 79 |r Day") |(holiday|
|00005000| 2d 66 6c 6f 61 74 20 31 | 30 20 31 20 32 20 22 43 |-float 1|0 1 2 "C|
|00005010| 6f 6c 75 6d 62 75 73 20 | 44 61 79 22 29 20 28 68 |olumbus |Day") (h|
|00005020| 6f 6c 69 64 61 79 2d 66 | 69 78 65 64 20 31 30 20 |oliday-f|ixed 10 |
|00005030| 33 31 20 22 48 61 6c 6c | 6f 77 65 65 6e 22 29 20 |31 "Hall|oween") |
|00005040| 28 68 6f 6c 69 64 61 79 | 2d 66 69 78 65 64 20 31 |(holiday|-fixed 1|
|00005050| 31 20 31 31 20 22 56 65 | 74 65 72 61 6e 27 73 20 |1 11 "Ve|teran's |
|00005060| 44 61 79 22 29 20 28 68 | 6f 6c 69 64 61 79 2d 66 |Day") (h|oliday-f|
|00005070| 6c 6f 61 74 20 31 31 20 | 34 20 34 20 22 54 68 61 |loat 11 |4 4 "Tha|
|00005080| 6e 6b 73 67 69 76 69 6e | 67 22 29 29 29 20 22 5c |nksgivin|g"))) "\|
|00005090| 0a 2a 47 65 6e 65 72 61 | 6c 20 68 6f 6c 69 64 61 |.*Genera|l holida|
|000050a0| 79 73 2e 20 20 44 65 66 | 61 75 6c 74 20 76 61 6c |ys. Def|ault val|
|000050b0| 75 65 20 69 73 20 66 6f | 72 20 74 68 65 20 55 6e |ue is fo|r the Un|
|000050c0| 69 74 65 64 20 53 74 61 | 74 65 73 2e 0a 53 65 65 |ited Sta|tes..See|
|000050d0| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 | the doc|umentati|
|000050e0| 6f 6e 20 66 6f 72 20 60 | 63 61 6c 65 6e 64 61 72 |on for `|calendar|
|000050f0| 2d 68 6f 6c 69 64 61 79 | 73 27 20 66 6f 72 20 64 |-holiday|s' for d|
|00005100| 65 74 61 69 6c 73 2e 22 | 29 0a 28 64 65 66 76 61 |etails."|).(defva|
|00005110| 72 20 6c 6f 63 61 6c 2d | 68 6f 6c 69 64 61 79 73 |r local-|holidays|
|00005120| 20 6e 69 6c 20 22 5c 0a | 2a 4c 6f 63 61 6c 20 68 | nil "\.|*Local h|
|00005130| 6f 6c 69 64 61 79 73 2e | 0a 53 65 65 20 74 68 65 |olidays.|.See the|
|00005140| 20 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 20 66 | documen|tation f|
|00005150| 6f 72 20 60 63 61 6c 65 | 6e 64 61 72 2d 68 6f 6c |or `cale|ndar-hol|
|00005160| 69 64 61 79 73 27 20 66 | 6f 72 20 64 65 74 61 69 |idays' f|or detai|
|00005170| 6c 73 2e 22 29 0a 28 64 | 65 66 76 61 72 20 6f 74 |ls.").(d|efvar ot|
|00005180| 68 65 72 2d 68 6f 6c 69 | 64 61 79 73 20 6e 69 6c |her-holi|days nil|
|00005190| 20 22 5c 0a 2a 55 73 65 | 72 20 64 65 66 69 6e 65 | "\.*Use|r define|
|000051a0| 64 20 68 6f 6c 69 64 61 | 79 73 2e 0a 53 65 65 20 |d holida|ys..See |
|000051b0| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |the docu|mentatio|
|000051c0| 6e 20 66 6f 72 20 60 63 | 61 6c 65 6e 64 61 72 2d |n for `c|alendar-|
|000051d0| 68 6f 6c 69 64 61 79 73 | 27 20 66 6f 72 20 64 65 |holidays|' for de|
|000051e0| 74 61 69 6c 73 2e 22 29 | 0a 28 64 65 66 76 61 72 |tails.")|.(defvar|
|000051f0| 20 68 65 62 72 65 77 2d | 68 6f 6c 69 64 61 79 73 | hebrew-|holidays|
|00005200| 20 28 71 75 6f 74 65 20 | 28 28 68 6f 6c 69 64 61 | (quote |((holida|
|00005210| 79 2d 72 6f 73 68 2d 68 | 61 73 68 61 6e 61 68 2d |y-rosh-h|ashanah-|
|00005220| 65 74 63 29 20 28 69 66 | 20 61 6c 6c 2d 68 65 62 |etc) (if| all-heb|
|00005230| 72 65 77 2d 63 61 6c 65 | 6e 64 61 72 2d 68 6f 6c |rew-cale|ndar-hol|
|00005240| 69 64 61 79 73 20 28 68 | 6f 6c 69 64 61 79 2d 6a |idays (h|oliday-j|
|00005250| 75 6c 69 61 6e 20 31 31 | 20 28 6c 65 74 2a 20 28 |ulian 11| (let* (|
|00005260| 28 6d 20 64 69 73 70 6c | 61 79 65 64 2d 6d 6f 6e |(m displ|ayed-mon|
|00005270| 74 68 29 20 28 79 20 64 | 69 73 70 6c 61 79 65 64 |th) (y d|isplayed|
|00005280| 2d 79 65 61 72 29 20 28 | 79 65 61 72 29 29 20 28 |-year) (|year)) (|
|00005290| 69 6e 63 72 65 6d 65 6e | 74 2d 63 61 6c 65 6e 64 |incremen|t-calend|
|000052a0| 61 72 2d 6d 6f 6e 74 68 | 20 6d 20 79 20 2d 31 29 |ar-month| m y -1)|
|000052b0| 20 28 6c 65 74 20 28 28 | 79 65 61 72 20 28 65 78 | (let ((|year (ex|
|000052c0| 74 72 61 63 74 2d 63 61 | 6c 65 6e 64 61 72 2d 79 |tract-ca|lendar-y|
|000052d0| 65 61 72 20 28 63 61 6c | 65 6e 64 61 72 2d 6a 75 |ear (cal|endar-ju|
|000052e0| 6c 69 61 6e 2d 66 72 6f | 6d 2d 61 62 73 6f 6c 75 |lian-fro|m-absolu|
|000052f0| 74 65 20 28 63 61 6c 65 | 6e 64 61 72 2d 61 62 73 |te (cale|ndar-abs|
|00005300| 6f 6c 75 74 65 2d 66 72 | 6f 6d 2d 67 72 65 67 6f |olute-fr|om-grego|
|00005310| 72 69 61 6e 20 28 6c 69 | 73 74 20 6d 20 31 20 79 |rian (li|st m 1 y|
|00005320| 29 29 29 29 29 29 20 28 | 69 66 20 28 7a 65 72 6f |)))))) (|if (zero|
|00005330| 70 20 28 25 20 28 31 2b | 20 79 65 61 72 29 20 34 |p (% (1+| year) 4|
|00005340| 29 29 20 32 32 20 32 31 | 29 29 29 20 22 5c 22 54 |)) 22 21|))) "\"T|
|00005350| 61 6c 20 55 6d 61 74 61 | 72 5c 22 20 28 65 76 65 |al Umata|r\" (eve|
|00005360| 6e 69 6e 67 29 22 29 29 | 20 28 69 66 20 61 6c 6c |ning)"))| (if all|
|00005370| 2d 68 65 62 72 65 77 2d | 63 61 6c 65 6e 64 61 72 |-hebrew-|calendar|
|00005380| 2d 68 6f 6c 69 64 61 79 | 73 20 28 68 6f 6c 69 64 |-holiday|s (holid|
|00005390| 61 79 2d 68 61 6e 75 6b | 6b 61 68 29 20 28 68 6f |ay-hanuk|kah) (ho|
|000053a0| 6c 69 64 61 79 2d 68 65 | 62 72 65 77 20 39 20 32 |liday-he|brew 9 2|
|000053b0| 35 20 22 48 61 6e 75 6b | 6b 61 68 22 29 29 20 28 |5 "Hanuk|kah")) (|
|000053c0| 69 66 20 61 6c 6c 2d 68 | 65 62 72 65 77 2d 63 61 |if all-h|ebrew-ca|
|000053d0| 6c 65 6e 64 61 72 2d 68 | 6f 6c 69 64 61 79 73 20 |lendar-h|olidays |
|000053e0| 28 68 6f 6c 69 64 61 79 | 2d 68 65 62 72 65 77 20 |(holiday|-hebrew |
|000053f0| 31 30 20 28 6c 65 74 20 | 28 28 68 2d 79 65 61 72 |10 (let |((h-year|
|00005400| 20 28 65 78 74 72 61 63 | 74 2d 63 61 6c 65 6e 64 | (extrac|t-calend|
|00005410| 61 72 2d 79 65 61 72 20 | 28 63 61 6c 65 6e 64 61 |ar-year |(calenda|
|00005420| 72 2d 68 65 62 72 65 77 | 2d 66 72 6f 6d 2d 61 62 |r-hebrew|-from-ab|
|00005430| 73 6f 6c 75 74 65 20 28 | 63 61 6c 65 6e 64 61 72 |solute (|calendar|
|00005440| 2d 61 62 73 6f 6c 75 74 | 65 2d 66 72 6f 6d 2d 67 |-absolut|e-from-g|
|00005450| 72 65 67 6f 72 69 61 6e | 20 28 6c 69 73 74 20 64 |regorian| (list d|
|00005460| 69 73 70 6c 61 79 65 64 | 2d 6d 6f 6e 74 68 20 32 |isplayed|-month 2|
|00005470| 38 20 64 69 73 70 6c 61 | 79 65 64 2d 79 65 61 72 |8 displa|yed-year|
|00005480| 29 29 29 29 29 29 20 28 | 69 66 20 28 3d 20 28 25 |)))))) (|if (= (%|
|00005490| 20 28 63 61 6c 65 6e 64 | 61 72 2d 61 62 73 6f 6c | (calend|ar-absol|
|000054a0| 75 74 65 2d 66 72 6f 6d | 2d 68 65 62 72 65 77 20 |ute-from|-hebrew |
|000054b0| 28 6c 69 73 74 20 31 30 | 20 31 30 20 68 2d 79 65 |(list 10| 10 h-ye|
|000054c0| 61 72 29 29 20 37 29 20 | 36 29 20 31 31 20 31 30 |ar)) 7) |6) 11 10|
|000054d0| 29 29 20 22 54 7a 6f 6d | 20 54 65 76 65 74 68 22 |)) "Tzom| Teveth"|
|000054e0| 29 29 20 28 69 66 20 61 | 6c 6c 2d 68 65 62 72 65 |)) (if a|ll-hebre|
|000054f0| 77 2d 63 61 6c 65 6e 64 | 61 72 2d 68 6f 6c 69 64 |w-calend|ar-holid|
|00005500| 61 79 73 20 28 68 6f 6c | 69 64 61 79 2d 68 65 62 |ays (hol|iday-heb|
|00005510| 72 65 77 20 31 31 20 31 | 35 20 22 54 75 20 42 27 |rew 11 1|5 "Tu B'|
|00005520| 53 68 65 76 61 74 22 29 | 29 20 28 69 66 20 61 6c |Shevat")|) (if al|
|00005530| 6c 2d 68 65 62 72 65 77 | 2d 63 61 6c 65 6e 64 61 |l-hebrew|-calenda|
|00005540| 72 2d 68 6f 6c 69 64 61 | 79 73 20 28 68 6f 6c 69 |r-holida|ys (holi|
|00005550| 64 61 79 2d 68 65 62 72 | 65 77 20 31 31 20 28 6c |day-hebr|ew 11 (l|
|00005560| 65 74 20 28 28 6d 20 64 | 69 73 70 6c 61 79 65 64 |et ((m d|isplayed|
|00005570| 2d 6d 6f 6e 74 68 29 20 | 28 79 20 64 69 73 70 6c |-month) |(y displ|
|00005580| 61 79 65 64 2d 79 65 61 | 72 29 29 20 28 69 6e 63 |ayed-yea|r)) (inc|
|00005590| 72 65 6d 65 6e 74 2d 63 | 61 6c 65 6e 64 61 72 2d |rement-c|alendar-|
|000055a0| 6d 6f 6e 74 68 20 6d 20 | 79 20 31 29 20 28 6c 65 |month m |y 1) (le|
|000055b0| 74 2a 20 28 28 68 2d 79 | 65 61 72 20 28 65 78 74 |t* ((h-y|ear (ext|
|000055c0| 72 61 63 74 2d 63 61 6c | 65 6e 64 61 72 2d 79 65 |ract-cal|endar-ye|
|000055d0| 61 72 20 28 63 61 6c 65 | 6e 64 61 72 2d 68 65 62 |ar (cale|ndar-heb|
|000055e0| 72 65 77 2d 66 72 6f 6d | 2d 61 62 73 6f 6c 75 74 |rew-from|-absolut|
|000055f0| 65 20 28 63 61 6c 65 6e | 64 61 72 2d 61 62 73 6f |e (calen|dar-abso|
|00005600| 6c 75 74 65 2d 66 72 6f | 6d 2d 67 72 65 67 6f 72 |lute-fro|m-gregor|
|00005610| 69 61 6e 20 28 6c 69 73 | 74 20 6d 20 28 63 61 6c |ian (lis|t m (cal|
|00005620| 65 6e 64 61 72 2d 6c 61 | 73 74 2d 64 61 79 2d 6f |endar-la|st-day-o|
|00005630| 66 2d 6d 6f 6e 74 68 20 | 6d 20 79 29 20 79 29 29 |f-month |m y) y))|
|00005640| 29 29 29 20 28 73 2d 73 | 20 28 63 61 6c 65 6e 64 |))) (s-s| (calend|
|00005650| 61 72 2d 68 65 62 72 65 | 77 2d 66 72 6f 6d 2d 61 |ar-hebre|w-from-a|
|00005660| 62 73 6f 6c 75 74 65 20 | 28 69 66 20 28 3d 20 28 |bsolute |(if (= (|
|00005670| 25 20 28 63 61 6c 65 6e | 64 61 72 2d 61 62 73 6f |% (calen|dar-abso|
|00005680| 6c 75 74 65 2d 66 72 6f | 6d 2d 68 65 62 72 65 77 |lute-fro|m-hebrew|
|00005690| 20 28 6c 69 73 74 20 37 | 20 31 20 68 2d 79 65 61 | (list 7| 1 h-yea|
|000056a0| 72 29 29 20 37 29 20 36 | 29 20 28 63 61 6c 65 6e |r)) 7) 6|) (calen|
|000056b0| 64 61 72 2d 64 61 79 6e | 61 6d 65 2d 6f 6e 2d 6f |dar-dayn|ame-on-o|
|000056c0| 72 2d 62 65 66 6f 72 65 | 20 36 20 28 63 61 6c 65 |r-before| 6 (cale|
|000056d0| 6e 64 61 72 2d 61 62 73 | 6f 6c 75 74 65 2d 66 72 |ndar-abs|olute-fr|
|000056e0| 6f 6d 2d 68 65 62 72 65 | 77 20 28 6c 69 73 74 20 |om-hebre|w (list |
|000056f0| 31 31 20 31 37 20 68 2d | 79 65 61 72 29 29 29 20 |11 17 h-|year))) |
|00005700| 28 63 61 6c 65 6e 64 61 | 72 2d 64 61 79 6e 61 6d |(calenda|r-daynam|
|00005710| 65 2d 6f 6e 2d 6f 72 2d | 62 65 66 6f 72 65 20 36 |e-on-or-|before 6|
|00005720| 20 28 63 61 6c 65 6e 64 | 61 72 2d 61 62 73 6f 6c | (calend|ar-absol|
|00005730| 75 74 65 2d 66 72 6f 6d | 2d 68 65 62 72 65 77 20 |ute-from|-hebrew |
|00005740| 28 6c 69 73 74 20 31 31 | 20 31 36 20 68 2d 79 65 |(list 11| 16 h-ye|
|00005750| 61 72 29 29 29 29 29 29 | 20 28 64 61 79 20 28 65 |ar))))))| (day (e|
|00005760| 78 74 72 61 63 74 2d 63 | 61 6c 65 6e 64 61 72 2d |xtract-c|alendar-|
|00005770| 64 61 79 20 73 2d 73 29 | 29 29 20 64 61 79 29 29 |day s-s)|)) day))|
|00005780| 20 22 53 68 61 62 62 61 | 74 20 53 68 69 72 61 68 | "Shabba|t Shirah|
|00005790| 22 29 29 20 28 68 6f 6c | 69 64 61 79 2d 70 61 73 |")) (hol|iday-pas|
|000057a0| 73 6f 76 65 72 2d 65 74 | 63 29 20 28 69 66 20 28 |sover-et|c) (if (|
|000057b0| 61 6e 64 20 61 6c 6c 2d | 68 65 62 72 65 77 2d 63 |and all-|hebrew-c|
|000057c0| 61 6c 65 6e 64 61 72 2d | 68 6f 6c 69 64 61 79 73 |alendar-|holidays|
|000057d0| 20 28 6c 65 74 2a 20 28 | 28 6d 20 64 69 73 70 6c | (let* (|(m displ|
|000057e0| 61 79 65 64 2d 6d 6f 6e | 74 68 29 20 28 79 20 64 |ayed-mon|th) (y d|
|000057f0| 69 73 70 6c 61 79 65 64 | 2d 79 65 61 72 29 20 28 |isplayed|-year) (|
|00005800| 79 65 61 72 29 29 20 28 | 69 6e 63 72 65 6d 65 6e |year)) (|incremen|
|00005810| 74 2d 63 61 6c 65 6e 64 | 61 72 2d 6d 6f 6e 74 68 |t-calend|ar-month|
|00005820| 20 6d 20 79 20 2d 31 29 | 20 28 6c 65 74 20 28 28 | m y -1)| (let ((|
|00005830| 79 65 61 72 20 28 65 78 | 74 72 61 63 74 2d 63 61 |year (ex|tract-ca|
|00005840| 6c 65 6e 64 61 72 2d 79 | 65 61 72 20 28 63 61 6c |lendar-y|ear (cal|
|00005850| 65 6e 64 61 72 2d 6a 75 | 6c 69 61 6e 2d 66 72 6f |endar-ju|lian-fro|
|00005860| 6d 2d 61 62 73 6f 6c 75 | 74 65 20 28 63 61 6c 65 |m-absolu|te (cale|
|00005870| 6e 64 61 72 2d 61 62 73 | 6f 6c 75 74 65 2d 66 72 |ndar-abs|olute-fr|
|00005880| 6f 6d 2d 67 72 65 67 6f | 72 69 61 6e 20 28 6c 69 |om-grego|rian (li|
|00005890| 73 74 20 6d 20 31 20 79 | 29 29 29 29 29 29 20 28 |st m 1 y|)))))) (|
|000058a0| 3d 20 32 31 20 28 25 20 | 79 65 61 72 20 32 38 29 |= 21 (% |year 28)|
|000058b0| 29 29 29 29 20 28 68 6f | 6c 69 64 61 79 2d 6a 75 |)))) (ho|liday-ju|
|000058c0| 6c 69 61 6e 20 33 20 32 | 36 20 22 4b 69 64 64 75 |lian 3 2|6 "Kiddu|
|000058d0| 73 68 20 48 61 48 61 6d | 61 68 22 29 29 20 28 69 |sh HaHam|ah")) (i|
|000058e0| 66 20 61 6c 6c 2d 68 65 | 62 72 65 77 2d 63 61 6c |f all-he|brew-cal|
|000058f0| 65 6e 64 61 72 2d 68 6f | 6c 69 64 61 79 73 20 28 |endar-ho|lidays (|
|00005900| 68 6f 6c 69 64 61 79 2d | 74 69 73 68 61 2d 62 2d |holiday-|tisha-b-|
|00005910| 61 76 2d 65 74 63 29 29 | 29 29 20 22 5c 0a 2a 4a |av-etc))|)) "\.*J|
|00005920| 65 77 69 73 68 20 68 6f | 6c 69 64 61 79 73 2e 0a |ewish ho|lidays..|
|00005930| 53 65 65 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |See the |document|
|00005940| 61 74 69 6f 6e 20 66 6f | 72 20 60 63 61 6c 65 6e |ation fo|r `calen|
|00005950| 64 61 72 2d 68 6f 6c 69 | 64 61 79 73 27 20 66 6f |dar-holi|days' fo|
|00005960| 72 20 64 65 74 61 69 6c | 73 2e 22 29 0a 28 64 65 |r detail|s.").(de|
|00005970| 66 76 61 72 20 63 68 72 | 69 73 74 69 61 6e 2d 68 |fvar chr|istian-h|
|00005980| 6f 6c 69 64 61 79 73 20 | 28 71 75 6f 74 65 20 28 |olidays |(quote (|
|00005990| 28 69 66 20 61 6c 6c 2d | 63 68 72 69 73 74 69 61 |(if all-|christia|
|000059a0| 6e 2d 63 61 6c 65 6e 64 | 61 72 2d 68 6f 6c 69 64 |n-calend|ar-holid|
|000059b0| 61 79 73 20 28 68 6f 6c | 69 64 61 79 2d 66 69 78 |ays (hol|iday-fix|
|000059c0| 65 64 20 31 20 36 20 22 | 45 70 69 70 68 61 6e 79 |ed 1 6 "|Epiphany|
|000059d0| 22 29 29 20 28 68 6f 6c | 69 64 61 79 2d 65 61 73 |")) (hol|iday-eas|
|000059e0| 74 65 72 2d 65 74 63 29 | 20 28 69 66 20 61 6c 6c |ter-etc)| (if all|
|000059f0| 2d 63 68 72 69 73 74 69 | 61 6e 2d 63 61 6c 65 6e |-christi|an-calen|
|00005a00| 64 61 72 2d 68 6f 6c 69 | 64 61 79 73 20 28 68 6f |dar-holi|days (ho|
|00005a10| 6c 69 64 61 79 2d 67 72 | 65 65 6b 2d 6f 72 74 68 |liday-gr|eek-orth|
|00005a20| 6f 64 6f 78 2d 65 61 73 | 74 65 72 29 29 20 28 69 |odox-eas|ter)) (i|
|00005a30| 66 20 61 6c 6c 2d 63 68 | 72 69 73 74 69 61 6e 2d |f all-ch|ristian-|
|00005a40| 63 61 6c 65 6e 64 61 72 | 2d 68 6f 6c 69 64 61 79 |calendar|-holiday|
|00005a50| 73 20 28 68 6f 6c 69 64 | 61 79 2d 66 69 78 65 64 |s (holid|ay-fixed|
|00005a60| 20 38 20 31 35 20 22 41 | 73 73 75 6d 70 74 69 6f | 8 15 "A|ssumptio|
|00005a70| 6e 22 29 29 20 28 69 66 | 20 61 6c 6c 2d 63 68 72 |n")) (if| all-chr|
|00005a80| 69 73 74 69 61 6e 2d 63 | 61 6c 65 6e 64 61 72 2d |istian-c|alendar-|
|00005a90| 68 6f 6c 69 64 61 79 73 | 20 28 68 6f 6c 69 64 61 |holidays| (holida|
|00005aa0| 79 2d 61 64 76 65 6e 74 | 29 29 20 28 68 6f 6c 69 |y-advent|)) (holi|
|00005ab0| 64 61 79 2d 66 69 78 65 | 64 20 31 32 20 32 35 20 |day-fixe|d 12 25 |
|00005ac0| 22 43 68 72 69 73 74 6d | 61 73 22 29 20 28 69 66 |"Christm|as") (if|
|00005ad0| 20 61 6c 6c 2d 63 68 72 | 69 73 74 69 61 6e 2d 63 | all-chr|istian-c|
|00005ae0| 61 6c 65 6e 64 61 72 2d | 68 6f 6c 69 64 61 79 73 |alendar-|holidays|
|00005af0| 20 28 68 6f 6c 69 64 61 | 79 2d 6a 75 6c 69 61 6e | (holida|y-julian|
|00005b00| 20 31 32 20 32 35 20 22 | 45 61 73 74 65 72 6e 20 | 12 25 "|Eastern |
|00005b10| 4f 72 74 68 6f 64 6f 78 | 20 43 68 72 69 73 74 6d |Orthodox| Christm|
|00005b20| 61 73 22 29 29 29 29 20 | 22 5c 0a 2a 43 68 72 69 |as")))) |"\.*Chri|
|00005b30| 73 74 69 61 6e 20 68 6f | 6c 69 64 61 79 73 2e 0a |stian ho|lidays..|
|00005b40| 53 65 65 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |See the |document|
|00005b50| 61 74 69 6f 6e 20 66 6f | 72 20 60 63 61 6c 65 6e |ation fo|r `calen|
|00005b60| 64 61 72 2d 68 6f 6c 69 | 64 61 79 73 27 20 66 6f |dar-holi|days' fo|
|00005b70| 72 20 64 65 74 61 69 6c | 73 2e 22 29 0a 28 64 65 |r detail|s.").(de|
|00005b80| 66 76 61 72 20 69 73 6c | 61 6d 69 63 2d 68 6f 6c |fvar isl|amic-hol|
|00005b90| 69 64 61 79 73 20 28 71 | 75 6f 74 65 20 28 28 68 |idays (q|uote ((h|
|00005ba0| 6f 6c 69 64 61 79 2d 69 | 73 6c 61 6d 69 63 20 31 |oliday-i|slamic 1|
|00005bb0| 20 31 20 28 66 6f 72 6d | 61 74 20 22 49 73 6c 61 | 1 (form|at "Isla|
|00005bc0| 6d 69 63 20 4e 65 77 20 | 59 65 61 72 20 25 64 22 |mic New |Year %d"|
|00005bd0| 20 28 6c 65 74 20 28 28 | 6d 20 64 69 73 70 6c 61 | (let ((|m displa|
|00005be0| 79 65 64 2d 6d 6f 6e 74 | 68 29 20 28 79 20 64 69 |yed-mont|h) (y di|
|00005bf0| 73 70 6c 61 79 65 64 2d | 79 65 61 72 29 29 20 28 |splayed-|year)) (|
|00005c00| 69 6e 63 72 65 6d 65 6e | 74 2d 63 61 6c 65 6e 64 |incremen|t-calend|
|00005c10| 61 72 2d 6d 6f 6e 74 68 | 20 6d 20 79 20 31 29 20 |ar-month| m y 1) |
|00005c20| 28 65 78 74 72 61 63 74 | 2d 63 61 6c 65 6e 64 61 |(extract|-calenda|
|00005c30| 72 2d 79 65 61 72 20 28 | 63 61 6c 65 6e 64 61 72 |r-year (|calendar|
|00005c40| 2d 69 73 6c 61 6d 69 63 | 2d 66 72 6f 6d 2d 61 62 |-islamic|-from-ab|
|00005c50| 73 6f 6c 75 74 65 20 28 | 63 61 6c 65 6e 64 61 72 |solute (|calendar|
|00005c60| 2d 61 62 73 6f 6c 75 74 | 65 2d 66 72 6f 6d 2d 67 |-absolut|e-from-g|
|00005c70| 72 65 67 6f 72 69 61 6e | 20 28 6c 69 73 74 20 6d |regorian| (list m|
|00005c80| 20 28 63 61 6c 65 6e 64 | 61 72 2d 6c 61 73 74 2d | (calend|ar-last-|
|00005c90| 64 61 79 2d 6f 66 2d 6d | 6f 6e 74 68 20 6d 20 79 |day-of-m|onth m y|
|00005ca0| 29 20 79 29 29 29 29 29 | 29 29 20 28 69 66 20 61 |) y)))))|)) (if a|
|00005cb0| 6c 6c 2d 69 73 6c 61 6d | 69 63 2d 63 61 6c 65 6e |ll-islam|ic-calen|
|00005cc0| 64 61 72 2d 68 6f 6c 69 | 64 61 79 73 20 28 68 6f |dar-holi|days (ho|
|00005cd0| 6c 69 64 61 79 2d 69 73 | 6c 61 6d 69 63 20 31 20 |liday-is|lamic 1 |
|00005ce0| 31 30 20 22 41 73 68 75 | 72 61 22 29 29 20 28 69 |10 "Ashu|ra")) (i|
|00005cf0| 66 20 61 6c 6c 2d 69 73 | 6c 61 6d 69 63 2d 63 61 |f all-is|lamic-ca|
|00005d00| 6c 65 6e 64 61 72 2d 68 | 6f 6c 69 64 61 79 73 20 |lendar-h|olidays |
|00005d10| 28 68 6f 6c 69 64 61 79 | 2d 69 73 6c 61 6d 69 63 |(holiday|-islamic|
|00005d20| 20 33 20 31 32 20 22 4d | 75 6c 61 64 2d 61 6c 2d | 3 12 "M|ulad-al-|
|00005d30| 4e 61 62 69 22 29 29 20 | 28 69 66 20 61 6c 6c 2d |Nabi")) |(if all-|
|00005d40| 69 73 6c 61 6d 69 63 2d | 63 61 6c 65 6e 64 61 72 |islamic-|calendar|
|00005d50| 2d 68 6f 6c 69 64 61 79 | 73 20 28 68 6f 6c 69 64 |-holiday|s (holid|
|00005d60| 61 79 2d 69 73 6c 61 6d | 69 63 20 37 20 32 36 20 |ay-islam|ic 7 26 |
|00005d70| 22 53 68 61 62 2d 65 2d | 4d 69 27 72 61 6a 22 29 |"Shab-e-|Mi'raj")|
|00005d80| 29 20 28 69 66 20 61 6c | 6c 2d 69 73 6c 61 6d 69 |) (if al|l-islami|
|00005d90| 63 2d 63 61 6c 65 6e 64 | 61 72 2d 68 6f 6c 69 64 |c-calend|ar-holid|
|00005da0| 61 79 73 20 28 68 6f 6c | 69 64 61 79 2d 69 73 6c |ays (hol|iday-isl|
|00005db0| 61 6d 69 63 20 38 20 31 | 35 20 22 53 68 61 62 2d |amic 8 1|5 "Shab-|
|00005dc0| 65 2d 42 61 72 61 27 74 | 22 29 29 20 28 68 6f 6c |e-Bara't|")) (hol|
|00005dd0| 69 64 61 79 2d 69 73 6c | 61 6d 69 63 20 39 20 31 |iday-isl|amic 9 1|
|00005de0| 20 22 52 61 6d 61 64 61 | 6e 20 42 65 67 69 6e 73 | "Ramada|n Begins|
|00005df0| 22 29 20 28 69 66 20 61 | 6c 6c 2d 69 73 6c 61 6d |") (if a|ll-islam|
|00005e00| 69 63 2d 63 61 6c 65 6e | 64 61 72 2d 68 6f 6c 69 |ic-calen|dar-holi|
|00005e10| 64 61 79 73 20 28 68 6f | 6c 69 64 61 79 2d 69 73 |days (ho|liday-is|
|00005e20| 6c 61 6d 69 63 20 39 20 | 32 37 20 22 53 68 61 62 |lamic 9 |27 "Shab|
|00005e30| 2d 65 20 51 61 64 72 22 | 29 29 20 28 69 66 20 61 |-e Qadr"|)) (if a|
|00005e40| 6c 6c 2d 69 73 6c 61 6d | 69 63 2d 63 61 6c 65 6e |ll-islam|ic-calen|
|00005e50| 64 61 72 2d 68 6f 6c 69 | 64 61 79 73 20 28 68 6f |dar-holi|days (ho|
|00005e60| 6c 69 64 61 79 2d 69 73 | 6c 61 6d 69 63 20 31 30 |liday-is|lamic 10|
|00005e70| 20 31 20 22 49 64 2d 61 | 6c 2d 46 69 74 72 22 29 | 1 "Id-a|l-Fitr")|
|00005e80| 29 20 28 69 66 20 61 6c | 6c 2d 69 73 6c 61 6d 69 |) (if al|l-islami|
|00005e90| 63 2d 63 61 6c 65 6e 64 | 61 72 2d 68 6f 6c 69 64 |c-calend|ar-holid|
|00005ea0| 61 79 73 20 28 68 6f 6c | 69 64 61 79 2d 69 73 6c |ays (hol|iday-isl|
|00005eb0| 61 6d 69 63 20 31 32 20 | 31 30 20 22 49 64 2d 61 |amic 12 |10 "Id-a|
|00005ec0| 6c 2d 41 64 68 61 22 29 | 29 29 29 20 22 5c 0a 2a |l-Adha")|))) "\.*|
|00005ed0| 49 73 6c 61 6d 69 63 20 | 68 6f 6c 69 64 61 79 73 |Islamic |holidays|
|00005ee0| 2e 0a 53 65 65 20 74 68 | 65 20 64 6f 63 75 6d 65 |..See th|e docume|
|00005ef0| 6e 74 61 74 69 6f 6e 20 | 66 6f 72 20 60 63 61 6c |ntation |for `cal|
|00005f00| 65 6e 64 61 72 2d 68 6f | 6c 69 64 61 79 73 27 20 |endar-ho|lidays' |
|00005f10| 66 6f 72 20 64 65 74 61 | 69 6c 73 2e 22 29 0a 28 |for deta|ils.").(|
|00005f20| 64 65 66 76 61 72 20 73 | 6f 6c 61 72 2d 68 6f 6c |defvar s|olar-hol|
|00005f30| 69 64 61 79 73 20 28 71 | 75 6f 74 65 20 28 28 69 |idays (q|uote ((i|
|00005f40| 66 20 28 66 62 6f 75 6e | 64 70 20 28 71 75 6f 74 |f (fboun|dp (quot|
|00005f50| 65 20 61 74 61 6e 29 29 | 20 28 73 6f 6c 61 72 2d |e atan))| (solar-|
|00005f60| 65 71 75 69 6e 6f 78 65 | 73 2d 73 6f 6c 73 74 69 |equinoxe|s-solsti|
|00005f70| 63 65 73 29 29 20 28 70 | 72 6f 67 6e 20 28 72 65 |ces)) (p|rogn (re|
|00005f80| 71 75 69 72 65 20 28 71 | 75 6f 74 65 20 63 61 6c |quire (q|uote cal|
|00005f90| 2d 64 73 74 29 29 20 28 | 66 75 6e 63 61 6c 6c 20 |-dst)) (|funcall |
|00005fa0| 28 71 75 6f 74 65 20 68 | 6f 6c 69 64 61 79 2d 73 |(quote h|oliday-s|
|00005fb0| 65 78 70 29 20 63 61 6c | 65 6e 64 61 72 2d 64 61 |exp) cal|endar-da|
|00005fc0| 79 6c 69 67 68 74 2d 73 | 61 76 69 6e 67 73 2d 73 |ylight-s|avings-s|
|00005fd0| 74 61 72 74 73 20 28 71 | 75 6f 74 65 20 28 66 6f |tarts (q|uote (fo|
|00005fe0| 72 6d 61 74 20 22 44 61 | 79 6c 69 67 68 74 20 53 |rmat "Da|ylight S|
|00005ff0| 61 76 69 6e 67 73 20 54 | 69 6d 65 20 42 65 67 69 |avings T|ime Begi|
|00006000| 6e 73 20 25 73 22 20 28 | 69 66 20 28 66 62 6f 75 |ns %s" (|if (fbou|
|00006010| 6e 64 70 20 28 71 75 6f | 74 65 20 61 74 61 6e 29 |ndp (quo|te atan)|
|00006020| 29 20 28 73 6f 6c 61 72 | 2d 74 69 6d 65 2d 73 74 |) (solar|-time-st|
|00006030| 72 69 6e 67 20 28 2f 20 | 63 61 6c 65 6e 64 61 72 |ring (/ |calendar|
|00006040| 2d 64 61 79 6c 69 67 68 | 74 2d 73 61 76 69 6e 67 |-dayligh|t-saving|
|00006050| 73 2d 73 77 69 74 63 68 | 6f 76 65 72 2d 74 69 6d |s-switch|over-tim|
|00006060| 65 20 28 66 6c 6f 61 74 | 20 36 30 29 29 20 64 61 |e (float| 60)) da|
|00006070| 74 65 20 28 71 75 6f 74 | 65 20 73 74 61 6e 64 61 |te (quot|e standa|
|00006080| 72 64 29 29 20 22 22 29 | 29 29 29 29 20 28 66 75 |rd)) "")|)))) (fu|
|00006090| 6e 63 61 6c 6c 20 28 71 | 75 6f 74 65 20 68 6f 6c |ncall (q|uote hol|
|000060a0| 69 64 61 79 2d 73 65 78 | 70 29 20 63 61 6c 65 6e |iday-sex|p) calen|
|000060b0| 64 61 72 2d 64 61 79 6c | 69 67 68 74 2d 73 61 76 |dar-dayl|ight-sav|
|000060c0| 69 6e 67 73 2d 65 6e 64 | 73 20 28 71 75 6f 74 65 |ings-end|s (quote|
|000060d0| 20 28 66 6f 72 6d 61 74 | 20 22 44 61 79 6c 69 67 | (format| "Daylig|
|000060e0| 68 74 20 53 61 76 69 6e | 67 73 20 54 69 6d 65 20 |ht Savin|gs Time |
|000060f0| 45 6e 64 73 20 25 73 22 | 20 28 69 66 20 28 66 62 |Ends %s"| (if (fb|
|00006100| 6f 75 6e 64 70 20 28 71 | 75 6f 74 65 20 61 74 61 |oundp (q|uote ata|
|00006110| 6e 29 29 20 28 73 6f 6c | 61 72 2d 74 69 6d 65 2d |n)) (sol|ar-time-|
|00006120| 73 74 72 69 6e 67 20 28 | 2f 20 28 2d 20 63 61 6c |string (|/ (- cal|
|00006130| 65 6e 64 61 72 2d 64 61 | 79 6c 69 67 68 74 2d 73 |endar-da|ylight-s|
|00006140| 61 76 69 6e 67 73 2d 73 | 77 69 74 63 68 6f 76 65 |avings-s|witchove|
|00006150| 72 2d 74 69 6d 65 20 63 | 61 6c 65 6e 64 61 72 2d |r-time c|alendar-|
|00006160| 64 61 79 6c 69 67 68 74 | 2d 74 69 6d 65 2d 6f 66 |daylight|-time-of|
|00006170| 66 73 65 74 29 20 28 66 | 6c 6f 61 74 20 36 30 29 |fset) (f|loat 60)|
|00006180| 29 20 64 61 74 65 20 28 | 71 75 6f 74 65 20 64 61 |) date (|quote da|
|00006190| 79 6c 69 67 68 74 29 29 | 20 22 22 29 29 29 29 29 |ylight))| "")))))|
|000061a0| 29 20 22 5c 0a 2a 53 75 | 6e 2d 72 65 6c 61 74 65 |) "\.*Su|n-relate|
|000061b0| 64 20 68 6f 6c 69 64 61 | 79 73 2e 0a 53 65 65 20 |d holida|ys..See |
|000061c0| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |the docu|mentatio|
|000061d0| 6e 20 66 6f 72 20 60 63 | 61 6c 65 6e 64 61 72 2d |n for `c|alendar-|
|000061e0| 68 6f 6c 69 64 61 79 73 | 27 20 66 6f 72 20 64 65 |holidays|' for de|
|000061f0| 74 61 69 6c 73 2e 22 29 | 0a 28 64 65 66 76 61 72 |tails.")|.(defvar|
|00006200| 20 63 61 6c 65 6e 64 61 | 72 2d 68 6f 6c 69 64 61 | calenda|r-holida|
|00006210| 79 73 20 28 61 70 70 65 | 6e 64 20 67 65 6e 65 72 |ys (appe|nd gener|
|00006220| 61 6c 2d 68 6f 6c 69 64 | 61 79 73 20 6c 6f 63 61 |al-holid|ays loca|
|00006230| 6c 2d 68 6f 6c 69 64 61 | 79 73 20 6f 74 68 65 72 |l-holida|ys other|
|00006240| 2d 68 6f 6c 69 64 61 79 | 73 20 63 68 72 69 73 74 |-holiday|s christ|
|00006250| 69 61 6e 2d 68 6f 6c 69 | 64 61 79 73 20 68 65 62 |ian-holi|days heb|
|00006260| 72 65 77 2d 68 6f 6c 69 | 64 61 79 73 20 69 73 6c |rew-holi|days isl|
|00006270| 61 6d 69 63 2d 68 6f 6c | 69 64 61 79 73 20 73 6f |amic-hol|idays so|
|00006280| 6c 61 72 2d 68 6f 6c 69 | 64 61 79 73 29 20 22 5c |lar-holi|days) "\|
|00006290| 0a 2a 4c 69 73 74 20 6f | 66 20 6e 6f 74 61 62 6c |.*List o|f notabl|
|000062a0| 65 20 64 61 79 73 20 66 | 6f 72 20 74 68 65 20 63 |e days f|or the c|
|000062b0| 6f 6d 6d 61 6e 64 20 4d | 2d 78 20 68 6f 6c 69 64 |ommand M|-x holid|
|000062c0| 61 79 73 2e 0a 0a 41 64 | 64 69 74 69 6f 6e 61 6c |ays...Ad|ditional|
|000062d0| 20 68 6f 6c 69 64 61 79 | 73 20 61 72 65 20 65 61 | holiday|s are ea|
|000062e0| 73 79 20 74 6f 20 61 64 | 64 20 74 6f 20 74 68 65 |sy to ad|d to the|
|000062f0| 20 6c 69 73 74 2c 20 6a | 75 73 74 20 70 75 74 20 | list, j|ust put |
|00006300| 74 68 65 6d 20 69 6e 20 | 74 68 65 20 6c 69 73 74 |them in |the list|
|00006310| 0a 60 6f 74 68 65 72 2d | 68 6f 6c 69 64 61 79 73 |.`other-|holidays|
|00006320| 27 20 69 6e 20 79 6f 75 | 72 20 2e 65 6d 61 63 73 |' in you|r .emacs|
|00006330| 20 66 69 6c 65 2e 20 20 | 53 69 6d 69 6c 61 72 6c | file. |Similarl|
|00006340| 79 2c 20 62 79 20 73 65 | 74 74 69 6e 67 20 61 6e |y, by se|tting an|
|00006350| 79 20 6f 66 0a 60 67 65 | 6e 65 72 61 6c 2d 68 6f |y of.`ge|neral-ho|
|00006360| 6c 69 64 61 79 73 27 2c | 20 60 6c 6f 63 61 6c 2d |lidays',| `local-|
|00006370| 68 6f 6c 69 64 61 79 73 | 27 20 60 63 68 72 69 73 |holidays|' `chris|
|00006380| 74 69 61 6e 2d 68 6f 6c | 69 64 61 79 73 27 2c 20 |tian-hol|idays', |
|00006390| 60 68 65 62 72 65 77 2d | 68 6f 6c 69 64 61 79 73 |`hebrew-|holidays|
|000063a0| 27 2c 0a 60 69 73 6c 61 | 6d 69 63 2d 68 6f 6c 69 |',.`isla|mic-holi|
|000063b0| 64 61 79 73 27 2c 20 6f | 72 20 60 73 6f 6c 61 72 |days', o|r `solar|
|000063c0| 2d 68 6f 6c 69 64 61 79 | 73 27 20 74 6f 20 6e 69 |-holiday|s' to ni|
|000063d0| 6c 20 69 6e 20 79 6f 75 | 72 20 2e 65 6d 61 63 73 |l in you|r .emacs|
|000063e0| 20 66 69 6c 65 2c 20 79 | 6f 75 20 63 61 6e 0a 65 | file, y|ou can.e|
|000063f0| 6c 69 6d 69 6e 61 74 65 | 20 75 6e 77 61 6e 74 65 |liminate| unwante|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.