home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| Mailbox text, 1st line "From ark1!nems!mimsy!haven!purdue!tut.cis.ohio-state.edu!indetech.com!lrs Thu Nov 2 10:28:02 1989", ASCII text
| default
| |
100%
| TrID
| E-Mail message (Var. 2)
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| x-fmt/111 Plain Text File
| default
| |
100%
| detectItEasy
| Format: Plain text[LF]
| default
| |
100%
| xdgMime
| application/mbox
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 61 72 6b | 31 21 6e 65 6d 73 21 6d |From ark|1!nems!m|
|00000010| 69 6d 73 79 21 68 61 76 | 65 6e 21 70 75 72 64 75 |imsy!hav|en!purdu|
|00000020| 65 21 74 75 74 2e 63 69 | 73 2e 6f 68 69 6f 2d 73 |e!tut.ci|s.ohio-s|
|00000030| 74 61 74 65 2e 65 64 75 | 21 69 6e 64 65 74 65 63 |tate.edu|!indetec|
|00000040| 68 2e 63 6f 6d 21 6c 72 | 73 20 54 68 75 20 4e 6f |h.com!lr|s Thu No|
|00000050| 76 20 20 32 20 31 30 3a | 32 38 3a 30 32 20 31 39 |v 2 10:|28:02 19|
|00000060| 38 39 0a 41 72 74 69 63 | 6c 65 20 36 34 32 20 6f |89.Artic|le 642 o|
|00000070| 66 20 67 6e 75 2e 65 6d | 61 63 73 0a 50 61 74 68 |f gnu.em|acs.Path|
|00000080| 3a 20 61 72 6b 31 21 6e | 65 6d 73 21 6d 69 6d 73 |: ark1!n|ems!mims|
|00000090| 79 21 68 61 76 65 6e 21 | 70 75 72 64 75 65 21 74 |y!haven!|purdue!t|
|000000a0| 75 74 2e 63 69 73 2e 6f | 68 69 6f 2d 73 74 61 74 |ut.cis.o|hio-stat|
|000000b0| 65 2e 65 64 75 21 69 6e | 64 65 74 65 63 68 2e 63 |e.edu!in|detech.c|
|000000c0| 6f 6d 21 6c 72 73 0a 3e | 46 72 6f 6d 20 6c 72 73 |om!lrs.>|From lrs|
|000000d0| 40 69 6e 64 65 74 65 63 | 68 2e 63 6f 6d 20 28 4c |@indetec|h.com (L|
|000000e0| 79 6e 6e 20 53 6c 61 74 | 65 72 29 0a 4e 65 77 73 |ynn Slat|er).News|
|000000f0| 67 72 6f 75 70 73 3a 20 | 67 6e 75 2e 65 6d 61 63 |groups: |gnu.emac|
|00000100| 73 0a 53 75 62 6a 65 63 | 74 3a 20 41 75 74 6f 6d |s.Subjec|t: Autom|
|00000110| 61 74 69 63 20 68 65 61 | 64 65 72 20 63 72 65 61 |atic hea|der crea|
|00000120| 74 69 6f 6e 20 61 6e 64 | 20 6d 61 69 6e 74 65 6e |tion and| mainten|
|00000130| 61 6e 63 65 0a 4d 65 73 | 73 61 67 65 2d 49 44 3a |ance.Mes|sage-ID:|
|00000140| 20 3c 6d 30 67 4d 4f 71 | 31 2d 30 30 30 30 46 37 | <m0gMOq|1-0000F7|
|00000150| 43 40 66 69 72 65 2e 69 | 6e 64 65 74 65 63 68 2e |C@fire.i|ndetech.|
|00000160| 63 6f 6d 3e 0a 44 61 74 | 65 3a 20 31 20 4e 6f 76 |com>.Dat|e: 1 Nov|
|00000170| 20 38 39 20 31 37 3a 33 | 33 3a 30 30 20 47 4d 54 | 89 17:3|3:00 GMT|
|00000180| 0a 53 65 6e 64 65 72 3a | 20 64 61 65 6d 6f 6e 40 |.Sender:| daemon@|
|00000190| 74 75 74 2e 63 69 73 2e | 6f 68 69 6f 2d 73 74 61 |tut.cis.|ohio-sta|
|000001a0| 74 65 2e 65 64 75 0a 44 | 69 73 74 72 69 62 75 74 |te.edu.D|istribut|
|000001b0| 69 6f 6e 3a 20 67 6e 75 | 0a 4f 72 67 61 6e 69 7a |ion: gnu|.Organiz|
|000001c0| 61 74 69 6f 6e 3a 20 47 | 4e 55 73 20 4e 6f 74 20 |ation: G|NUs Not |
|000001d0| 55 73 65 6e 65 74 0a 4c | 69 6e 65 73 3a 20 31 30 |Usenet.L|ines: 10|
|000001e0| 38 35 0a 0a 45 6e 63 6c | 6f 73 65 64 20 69 73 20 |85..Encl|osed is |
|000001f0| 63 6f 64 65 20 74 6f 20 | 61 75 74 6f 6d 61 74 69 |code to |automati|
|00000200| 63 61 6c 6c 79 20 63 72 | 65 61 74 65 20 61 6e 64 |cally cr|eate and|
|00000210| 20 6d 61 69 6e 74 61 69 | 6e 20 66 69 6c 65 20 68 | maintai|n file h|
|00000220| 65 61 64 65 72 73 2e 20 | 20 54 68 69 73 0a 63 6f |eaders. | This.co|
|00000230| 64 65 20 69 73 20 63 6c | 65 61 6e 65 72 20 61 6e |de is cl|eaner an|
|00000240| 64 20 6d 75 73 68 20 6d | 6f 72 65 20 65 61 73 69 |d mush m|ore easi|
|00000250| 6c 79 20 63 75 73 74 6f | 6d 69 7a 65 64 20 74 68 |ly custo|mized th|
|00000260| 61 6e 20 61 6e 79 20 6f | 66 20 6d 79 20 70 72 65 |an any o|f my pre|
|00000270| 76 69 6f 75 73 0a 68 65 | 61 64 65 72 20 70 6f 73 |vious.he|ader pos|
|00000280| 74 69 6e 67 73 2e 0a 0a | 4e 65 77 20 69 6e 20 74 |tings...|New in t|
|00000290| 68 69 73 20 72 65 6c 65 | 61 73 65 20 69 73 20 61 |his rele|ase is a|
|000002a0| 20 73 65 74 20 6f 66 20 | 63 75 73 74 6f 6d 69 7a | set of |customiz|
|000002b0| 61 74 69 6f 6e 73 20 74 | 68 61 74 20 61 6c 6c 6f |ations t|hat allo|
|000002c0| 77 20 68 65 61 64 65 72 | 73 20 74 6f 20 62 65 0a |w header|s to be.|
|000002d0| 63 72 65 61 74 65 64 20 | 61 6e 64 20 6d 61 69 6e |created |and main|
|000002e0| 74 61 69 6e 65 64 20 66 | 72 6f 6d 20 74 68 65 20 |tained f|rom the |
|000002f0| 63 6f 6d 6d 61 6e 64 20 | 6c 69 6e 65 2e 20 20 54 |command |line. T|
|00000300| 68 69 73 20 69 73 20 67 | 6f 6f 64 20 66 6f 72 20 |his is g|ood for |
|00000310| 70 72 6f 6a 65 63 74 73 | 0a 77 69 74 68 20 73 6f |projects|.with so|
|00000320| 6d 65 20 76 69 20 64 69 | 65 2d 68 61 72 64 73 20 |me vi di|e-hards |
|00000330| 6f 72 20 77 68 65 6e 20 | 68 65 61 64 65 72 73 20 |or when |headers |
|00000340| 61 72 65 20 62 65 69 6e | 67 20 61 64 64 65 64 20 |are bein|g added |
|00000350| 69 6e 20 6d 61 73 73 20 | 66 6f 72 20 74 68 65 0a |in mass |for the.|
|00000360| 66 69 72 73 74 20 74 69 | 6d 65 2e 20 20 45 78 61 |first ti|me. Exa|
|00000370| 6d 70 6c 65 3a 0a 20 20 | 20 63 64 20 24 45 4d 41 |mple:. | cd $EMA|
|00000380| 43 53 2f 6c 69 73 70 0a | 20 20 20 68 65 61 64 65 |CS/lisp.| heade|
|00000390| 72 73 20 2d 6d 61 6b 65 | 20 2a 2e 65 6c 0a 0a 49 |rs -make| *.el..I|
|000003a0| 20 68 61 76 65 20 66 6f | 75 6e 64 20 66 69 6c 65 | have fo|und file|
|000003b0| 20 68 65 61 64 65 72 73 | 20 74 6f 20 62 65 20 76 | headers| to be v|
|000003c0| 65 72 79 20 76 61 6c 75 | 61 62 6c 65 20 69 6e 20 |ery valu|able in |
|000003d0| 70 72 6f 6a 65 63 74 20 | 64 65 76 65 6c 6f 70 6d |project |developm|
|000003e0| 65 6e 74 2e 20 49 0a 61 | 6c 77 61 79 73 20 6b 6e |ent. I.a|lways kn|
|000003f0| 6f 77 20 77 68 6f 20 68 | 61 73 20 62 65 65 6e 20 |ow who h|as been |
|00000400| 77 68 65 72 65 20 61 6e | 64 20 68 6f 77 20 6d 61 |where an|d how ma|
|00000410| 6e 79 20 74 69 6d 65 73 | 20 74 68 65 79 20 77 65 |ny times| they we|
|00000420| 72 65 20 74 68 65 72 65 | 2e 20 4d 6f 73 74 0a 6f |re there|. Most.o|
|00000430| 66 74 65 6e 2c 20 49 20 | 61 6c 73 6f 20 6b 6e 6f |ften, I |also kno|
|00000440| 77 20 77 68 61 74 20 74 | 68 65 79 20 64 69 64 2e |w what t|hey did.|
|00000450| 20 20 54 68 65 20 75 70 | 64 61 74 65 20 63 6f 75 | The up|date cou|
|00000460| 6e 74 20 61 6e 64 20 6c | 61 73 74 20 6d 6f 64 69 |nt and l|ast modi|
|00000470| 66 69 65 64 20 64 61 74 | 65 0a 61 72 65 20 76 65 |fied dat|e.are ve|
|00000480| 72 79 20 75 73 65 66 75 | 6c 20 69 6e 20 64 65 74 |ry usefu|l in det|
|00000490| 65 72 6d 69 6e 69 6e 67 | 20 74 68 65 20 70 72 6f |ermining| the pro|
|000004a0| 70 65 72 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 61 |per vers|ion of a|
|000004b0| 20 66 69 6c 65 20 74 6f | 20 75 73 65 2e 20 20 49 | file to| use. I|
|000004c0| 20 68 61 76 65 0a 6f 66 | 74 65 6e 20 74 68 6f 75 | have.of|ten thou|
|000004d0| 67 68 74 20 74 68 61 74 | 20 69 74 20 77 6f 75 6c |ght that| it woul|
|000004e0| 64 20 62 65 20 65 61 73 | 69 65 72 20 74 6f 20 69 |d be eas|ier to i|
|000004f0| 6e 74 65 67 72 61 74 65 | 20 70 61 74 63 68 65 73 |ntegrate| patches|
|00000500| 20 66 72 6f 6d 20 69 6e | 64 69 76 69 64 75 61 6c | from in|dividual|
|00000510| 73 0a 74 6f 20 67 6e 75 | 20 74 6f 6f 6c 73 20 73 |s.to gnu| tools s|
|00000520| 75 63 68 20 61 73 20 67 | 63 63 20 61 6e 64 20 67 |uch as g|cc and g|
|00000530| 2b 2b 20 69 66 20 49 20 | 6b 6e 65 77 20 66 6f 72 |++ if I |knew for|
|00000540| 20 63 65 72 74 61 69 6e | 20 77 68 61 74 20 76 65 | certain| what ve|
|00000550| 72 73 69 6f 6e 20 6f 66 | 20 61 0a 70 61 72 74 69 |rsion of| a.parti|
|00000560| 63 75 6c 61 72 20 66 69 | 6c 65 20 74 68 65 79 20 |cular fi|le they |
|00000570| 77 65 72 65 20 77 6f 72 | 6b 69 6e 67 20 66 72 6f |were wor|king fro|
|00000580| 6d 2e 20 20 49 66 20 61 | 6c 6c 20 68 61 64 20 68 |m. If a|ll had h|
|00000590| 65 61 64 65 72 73 2c 20 | 49 20 77 6f 75 6c 64 20 |eaders, |I would |
|000005a0| 73 65 65 0a 74 68 65 20 | 75 70 64 61 74 65 20 63 |see.the |update c|
|000005b0| 6f 75 6e 74 20 61 6e 64 | 20 64 61 74 65 20 69 6e |ount and| date in|
|000005c0| 20 74 68 65 20 22 64 69 | 66 66 20 2d 63 22 20 6f | the "di|ff -c" o|
|000005d0| 75 74 70 75 74 20 61 6e | 64 20 77 6f 75 6c 64 20 |utput an|d would |
|000005e0| 62 65 20 61 62 6c 65 20 | 74 6f 20 66 69 6e 64 0a |be able |to find.|
|000005f0| 6f 72 20 72 65 63 72 65 | 61 74 65 20 74 68 65 20 |or recre|ate the |
|00000600| 66 69 6c 65 20 74 6f 20 | 70 61 74 63 68 20 61 63 |file to |patch ac|
|00000610| 63 6f 72 64 69 6e 67 6c | 79 2e 0a 0a 49 6e 20 74 |cordingl|y...In t|
|00000620| 68 69 73 20 6d 65 73 73 | 61 67 65 20 61 72 65 20 |his mess|age are |
|00000630| 74 68 72 65 65 20 66 69 | 6c 65 73 3a 0a 20 20 68 |three fi|les:. h|
|00000640| 65 61 64 65 72 2e 65 6c | 20 20 2d 2d 20 45 6d 61 |eader.el| -- Ema|
|00000650| 63 73 20 68 65 61 64 65 | 72 20 66 75 6e 63 74 69 |cs heade|r functi|
|00000660| 6f 6e 73 20 61 6e 64 20 | 63 75 73 74 6f 6d 69 7a |ons and |customiz|
|00000670| 61 74 69 6f 6e 20 69 6e | 73 74 72 75 63 74 69 6f |ation in|structio|
|00000680| 6e 73 0a 20 20 68 65 61 | 64 65 72 73 2e 31 20 20 |ns. hea|ders.1 |
|00000690| 2d 2d 20 4d 61 6e 20 70 | 61 67 65 20 66 6f 72 20 |-- Man p|age for |
|000006a0| 63 6f 6d 6d 61 6e 64 20 | 6c 69 6e 65 20 68 65 61 |command |line hea|
|000006b0| 64 65 72 73 20 75 73 65 | 61 67 65 0a 20 20 68 65 |ders use|age. he|
|000006c0| 61 64 65 72 73 20 20 20 | 20 2d 2d 20 53 68 65 6c |aders | -- Shel|
|000006d0| 6c 20 73 63 72 69 70 74 | 20 74 6f 20 68 69 64 65 |l script| to hide|
|000006e0| 20 74 68 65 20 65 6d 61 | 63 73 6e 65 73 73 20 6f | the ema|csness o|
|000006f0| 66 20 63 6f 6d 6d 61 6e | 64 20 6c 69 6e 65 20 68 |f comman|d line h|
|00000700| 65 61 64 65 72 73 2e 0a | 0a 3d 3d 3d 3d 3d 3d 3d |eaders..|.=======|
|00000710| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000720| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000730| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000740| 3d 3d 3d 3d 3d 3d 3d 3d | 0a 4c 79 6e 6e 20 53 6c |========|.Lynn Sl|
|00000750| 61 74 65 72 20 2d 2d 20 | 6c 72 73 40 69 6e 64 65 |ater -- |lrs@inde|
|00000760| 74 65 63 68 2e 63 6f 6d | 20 6f 72 20 7b 73 75 6e |tech.com| or {sun|
|00000770| 2c 20 61 6d 65 73 2c 20 | 70 61 63 62 65 6c 6c 7d |, ames, |pacbell}|
|00000780| 21 69 6e 64 65 74 65 63 | 68 21 6c 72 73 0a 34 32 |!indetec|h!lrs.42|
|00000790| 30 37 35 20 4c 61 77 72 | 65 6e 63 65 20 50 6c 61 |075 Lawr|ence Pla|
|000007a0| 63 65 2c 20 46 72 65 6d | 6f 6e 74 20 43 61 20 39 |ce, Frem|ont Ca 9|
|000007b0| 34 35 33 38 0a 4f 66 66 | 69 63 65 20 28 34 31 35 |4538.Off|ice (415|
|000007c0| 29 20 34 33 38 2d 32 30 | 34 38 3b 20 48 6f 6d 65 |) 438-20|48; Home|
|000007d0| 20 28 34 31 35 29 20 37 | 39 36 2d 34 31 34 39 3b | (415) 7|96-4149;|
|000007e0| 20 46 61 78 20 28 34 31 | 35 29 20 34 33 38 2d 32 | Fax (41|5) 438-2|
|000007f0| 30 33 34 0a 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |034.====|========|
|00000800| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000810| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000820| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000830| 3d 3d 3d 0a 0a 2d 2a 2d | 20 46 69 6c 65 3a 20 7e |===..-*-| File: ~|
|00000840| 2f 6c 6f 63 61 6c 2f 68 | 65 61 64 65 72 2e 65 6c |/local/h|eader.el|
|00000850| 0a 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |.;;;;;;;|;;;;;;;;|
|00000860| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000870| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000880| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000890| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 0a |;;;;;;;;|;;;;;;;.|
|000008a0| 3b 3b 20 68 65 61 64 65 | 72 2e 65 6c 20 2d 2d 2d |;; heade|r.el ---|
|000008b0| 20 53 75 70 70 6f 72 74 | 20 66 6f 72 20 63 72 65 | Support| for cre|
|000008c0| 61 74 69 6f 6e 20 61 6e | 64 20 61 75 74 6f 6d 61 |ation an|d automa|
|000008d0| 74 69 63 20 75 70 64 61 | 74 65 20 6f 66 20 66 69 |tic upda|te of fi|
|000008e0| 6c 65 20 68 65 61 64 65 | 72 73 0a 3b 3b 20 41 75 |le heade|rs.;; Au|
|000008f0| 74 68 6f 72 20 20 20 20 | 20 20 20 20 20 20 3a 20 |thor | : |
|00000900| 4c 79 6e 6e 20 53 6c 61 | 74 65 72 0a 3b 3b 20 43 |Lynn Sla|ter.;; C|
|00000910| 72 65 61 74 65 64 20 4f | 6e 20 20 20 20 20 20 3a |reated O|n :|
|00000920| 20 54 75 65 20 41 75 67 | 20 20 34 20 31 37 3a 30 | Tue Aug| 4 17:0|
|00000930| 36 3a 34 36 20 31 39 38 | 37 0a 3b 3b 20 4c 61 73 |6:46 198|7.;; Las|
|00000940| 74 20 4d 6f 64 69 66 69 | 65 64 20 42 79 3a 20 4c |t Modifi|ed By: L|
|00000950| 79 6e 6e 20 53 6c 61 74 | 65 72 0a 3b 3b 20 4c 61 |ynn Slat|er.;; La|
|00000960| 73 74 20 4d 6f 64 69 66 | 69 65 64 20 4f 6e 3a 20 |st Modif|ied On: |
|00000970| 57 65 64 20 4e 6f 76 20 | 20 31 20 30 39 3a 30 32 |Wed Nov | 1 09:02|
|00000980| 3a 31 38 20 31 39 38 39 | 0a 3b 3b 20 55 70 64 61 |:18 1989|.;; Upda|
|00000990| 74 65 20 43 6f 75 6e 74 | 20 20 20 20 3a 20 31 32 |te Count| : 12|
|000009a0| 36 0a 3b 3b 20 53 74 61 | 74 75 73 20 20 20 20 20 |6.;; Sta|tus |
|000009b0| 20 20 20 20 20 3a 20 4f | 4b 0a 3b 3b 3b 3b 3b 3b | : O|K.;;;;;;|
|000009c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000009d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000009e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000009f0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000a00| 3b 3b 3b 3b 3b 3b 3b 3b | 0a 3b 3b 20 43 6f 70 79 |;;;;;;;;|.;; Copy|
|00000a10| 72 69 67 68 74 20 28 43 | 29 20 31 39 38 38 20 4c |right (C|) 1988 L|
|00000a20| 79 6e 6e 20 52 61 6e 64 | 6f 6c 70 68 20 53 6c 61 |ynn Rand|olph Sla|
|00000a30| 74 65 72 2c 20 4a 72 2e | 0a 3b 3b 20 43 6f 70 79 |ter, Jr.|.;; Copy|
|00000a40| 72 69 67 68 74 20 28 43 | 29 20 31 39 38 39 20 46 |right (C|) 1989 F|
|00000a50| 72 65 65 20 53 6f 66 74 | 77 61 72 65 20 46 6f 75 |ree Soft|ware Fou|
|00000a60| 6e 64 61 74 69 6f 6e 2c | 20 49 6e 63 2e 0a 3b 3b |ndation,| Inc..;;|
|00000a70| 20 54 68 69 73 20 66 69 | 6c 65 20 69 73 20 63 6f | This fi|le is co|
|00000a80| 6d 70 61 74 61 62 6c 65 | 20 77 69 74 68 20 47 4e |mpatable| with GN|
|00000a90| 55 20 45 6d 61 63 73 20 | 62 75 74 20 69 73 20 6e |U Emacs |but is n|
|00000aa0| 6f 74 20 70 61 72 74 20 | 6f 66 20 74 68 65 20 6f |ot part |of the o|
|00000ab0| 66 66 69 63 69 61 6c 0a | 3b 3b 20 64 69 73 74 72 |fficial.|;; distr|
|00000ac0| 69 62 75 74 69 6f 6e 20 | 28 79 65 74 29 2e 0a 3b |ibution |(yet)..;|
|00000ad0| 3b 0a 3b 3b 20 54 68 69 | 73 20 66 69 6c 65 20 69 |;.;; Thi|s file i|
|00000ae0| 73 20 64 69 73 74 72 69 | 62 75 74 65 64 20 69 6e |s distri|buted in|
|00000af0| 20 74 68 65 20 68 6f 70 | 65 20 74 68 61 74 20 69 | the hop|e that i|
|00000b00| 74 20 77 69 6c 6c 20 62 | 65 20 75 73 65 66 75 6c |t will b|e useful|
|00000b10| 2c 0a 3b 3b 20 62 75 74 | 20 77 69 74 68 6f 75 74 |,.;; but| without|
|00000b20| 20 61 6e 79 20 77 61 72 | 72 61 6e 74 79 2e 20 20 | any war|ranty. |
|00000b30| 4e 6f 20 61 75 74 68 6f | 72 20 6f 72 20 64 69 73 |No autho|r or dis|
|00000b40| 74 72 69 62 75 74 6f 72 | 0a 3b 3b 20 61 63 63 65 |tributor|.;; acce|
|00000b50| 70 74 73 20 72 65 73 70 | 6f 6e 73 69 62 69 6c 69 |pts resp|onsibili|
|00000b60| 74 79 20 74 6f 20 61 6e | 79 6f 6e 65 20 66 6f 72 |ty to an|yone for|
|00000b70| 20 74 68 65 20 63 6f 6e | 73 65 71 75 65 6e 63 65 | the con|sequence|
|00000b80| 73 20 6f 66 20 75 73 69 | 6e 67 20 69 74 0a 3b 3b |s of usi|ng it.;;|
|00000b90| 20 6f 72 20 66 6f 72 20 | 77 68 65 74 68 65 72 20 | or for |whether |
|00000ba0| 69 74 20 73 65 72 76 65 | 73 20 61 6e 79 20 70 61 |it serve|s any pa|
|00000bb0| 72 74 69 63 75 6c 61 72 | 20 70 75 72 70 6f 73 65 |rticular| purpose|
|00000bc0| 20 6f 72 20 77 6f 72 6b | 73 20 61 74 20 61 6c 6c | or work|s at all|
|00000bd0| 2c 0a 3b 3b 20 75 6e 6c | 65 73 73 20 68 65 20 73 |,.;; unl|ess he s|
|00000be0| 61 79 73 20 73 6f 20 69 | 6e 20 77 72 69 74 69 6e |ays so i|n writin|
|00000bf0| 67 2e 0a 3b 3b 0a 3b 3b | 20 45 76 65 72 79 6f 6e |g..;;.;;| Everyon|
|00000c00| 65 20 69 73 20 67 72 61 | 6e 74 65 64 20 70 65 72 |e is gra|nted per|
|00000c10| 6d 69 73 73 69 6f 6e 20 | 74 6f 20 63 6f 70 79 2c |mission |to copy,|
|00000c20| 20 6d 6f 64 69 66 79 20 | 61 6e 64 20 72 65 64 69 | modify |and redi|
|00000c30| 73 74 72 69 62 75 74 65 | 0a 3b 3b 20 74 68 69 73 |stribute|.;; this|
|00000c40| 20 66 69 6c 65 2c 20 62 | 75 74 20 6f 6e 6c 79 20 | file, b|ut only |
|00000c50| 75 6e 64 65 72 20 74 68 | 65 20 63 6f 6e 64 69 74 |under th|e condit|
|00000c60| 69 6f 6e 73 20 64 65 73 | 63 72 69 62 65 64 20 69 |ions des|cribed i|
|00000c70| 6e 20 74 68 65 0a 3b 3b | 20 64 6f 63 75 6d 65 6e |n the.;;| documen|
|00000c80| 74 20 22 47 4e 55 20 45 | 6d 61 63 73 20 63 6f 70 |t "GNU E|macs cop|
|00000c90| 79 69 6e 67 20 70 65 72 | 6d 69 73 73 69 6f 6e 20 |ying per|mission |
|00000ca0| 6e 6f 74 69 63 65 22 2e | 20 20 20 41 6e 20 65 78 |notice".| An ex|
|00000cb0| 61 63 74 20 63 6f 70 79 | 0a 3b 3b 20 6f 66 20 74 |act copy|.;; of t|
|00000cc0| 68 65 20 64 6f 63 75 6d | 65 6e 74 20 69 73 20 73 |he docum|ent is s|
|00000cd0| 75 70 70 6f 73 65 64 20 | 74 6f 20 68 61 76 65 20 |upposed |to have |
|00000ce0| 62 65 65 6e 20 67 69 76 | 65 6e 20 74 6f 20 79 6f |been giv|en to yo|
|00000cf0| 75 20 61 6c 6f 6e 67 20 | 77 69 74 68 0a 3b 3b 20 |u along |with.;; |
|00000d00| 74 68 69 73 20 66 69 6c | 65 20 73 6f 20 74 68 61 |this fil|e so tha|
|00000d10| 74 20 79 6f 75 20 63 61 | 6e 20 6b 6e 6f 77 20 68 |t you ca|n know h|
|00000d20| 6f 77 20 79 6f 75 20 6d | 61 79 20 72 65 64 69 73 |ow you m|ay redis|
|00000d30| 74 72 69 62 75 74 65 20 | 69 74 20 61 6c 6c 2e 0a |tribute |it all..|
|00000d40| 3b 3b 20 49 74 20 73 68 | 6f 75 6c 64 20 62 65 20 |;; It sh|ould be |
|00000d50| 69 6e 20 61 20 66 69 6c | 65 20 6e 61 6d 65 64 20 |in a fil|e named |
|00000d60| 43 4f 50 59 49 4e 47 2e | 20 20 41 6d 6f 6e 67 20 |COPYING.| Among |
|00000d70| 6f 74 68 65 72 20 74 68 | 69 6e 67 73 2c 20 74 68 |other th|ings, th|
|00000d80| 65 0a 3b 3b 20 63 6f 70 | 79 72 69 67 68 74 20 6e |e.;; cop|yright n|
|00000d90| 6f 74 69 63 65 20 61 6e | 64 20 74 68 69 73 20 6e |otice an|d this n|
|00000da0| 6f 74 69 63 65 20 6d 75 | 73 74 20 62 65 20 70 72 |otice mu|st be pr|
|00000db0| 65 73 65 72 76 65 64 20 | 6f 6e 20 61 6c 6c 20 63 |eserved |on all c|
|00000dc0| 6f 70 69 65 73 2e 0a 0a | 3b 3b 20 54 68 69 73 20 |opies...|;; This |
|00000dd0| 66 69 6c 65 20 61 64 64 | 73 20 73 75 70 70 6f 72 |file add|s suppor|
|00000de0| 74 20 66 6f 72 20 74 68 | 65 20 63 72 65 61 74 69 |t for th|e creati|
|00000df0| 6f 6e 20 61 6e 64 20 61 | 75 74 6f 6d 61 74 69 63 |on and a|utomatic|
|00000e00| 20 6d 61 69 6e 74 65 6e | 65 6e 63 65 20 6f 66 20 | mainten|ence of |
|00000e10| 66 69 6c 65 0a 3b 3b 20 | 68 65 61 64 65 72 73 20 |file.;; |headers |
|00000e20| 73 75 63 68 20 61 73 20 | 74 68 65 20 6f 6e 65 20 |such as |the one |
|00000e30| 61 62 6f 76 65 2e 0a 3b | 3b 20 20 55 73 65 72 20 |above..;|; User |
|00000e40| 43 6f 6d 6d 61 6e 64 73 | 3a 0a 3b 3b 20 20 20 4d |Commands|:.;; M|
|00000e50| 2d 78 20 6d 61 6b 65 2d | 68 65 61 64 65 72 0a 3b |-x make-|header.;|
|00000e60| 3b 20 20 20 4d 2d 78 20 | 6d 61 6b 65 2d 72 65 76 |; M-x |make-rev|
|00000e70| 69 73 69 6f 6e 0a 3b 3b | 20 20 20 4d 2d 78 20 6d |ision.;;| M-x m|
|00000e80| 61 6b 65 2d 64 69 76 69 | 73 6f 72 0a 3b 3b 20 20 |ake-divi|sor.;; |
|00000e90| 20 4d 2d 78 20 6d 61 6b | 65 2d 62 6f 78 2d 63 6f | M-x mak|e-box-co|
|00000ea0| 6d 6d 65 6e 74 0a 3b 3b | 20 43 75 73 74 6f 6d 69 |mment.;;| Customi|
|00000eb0| 7a 65 72 20 63 6f 6d 6d | 61 6e 64 73 0a 3b 3b 20 |zer comm|ands.;; |
|00000ec0| 20 20 72 65 67 69 73 74 | 65 72 2d 66 69 6c 65 2d | regist|er-file-|
|00000ed0| 68 65 61 64 65 72 2d 61 | 63 74 69 6f 6e 0a 3b 3b |header-a|ction.;;|
|00000ee0| 20 43 75 73 74 6f 6d 69 | 7a 65 72 20 76 61 72 69 | Customi|zer vari|
|00000ef0| 61 62 6c 65 73 0a 3b 3b | 20 20 20 68 65 61 64 65 |ables.;;| heade|
|00000f00| 72 2d 63 6f 70 79 72 69 | 67 68 74 2d 6e 6f 74 69 |r-copyri|ght-noti|
|00000f10| 63 65 0a 3b 3b 20 20 20 | 6d 61 6b 65 2d 68 65 61 |ce.;; |make-hea|
|00000f20| 64 65 72 2d 68 6f 6f 6b | 73 0a 3b 3b 0a 3b 3b 20 |der-hook|s.;;.;; |
|00000f30| 54 68 69 73 20 66 69 6c | 65 20 69 73 20 70 61 72 |This fil|e is par|
|00000f40| 74 69 63 75 6c 61 72 6c | 79 20 75 73 65 66 75 6c |ticularl|y useful|
|00000f50| 20 77 69 74 68 20 74 68 | 65 20 66 69 6c 65 2d 64 | with th|e file-d|
|00000f60| 65 63 6c 61 72 61 74 69 | 6f 6e 73 20 70 61 63 6b |eclarati|ons pack|
|00000f70| 61 67 65 20 61 6c 73 6f | 0a 3b 3b 20 20 20 62 79 |age also|.;; by|
|00000f80| 20 4c 79 6e 6e 20 53 6c | 61 74 65 72 2e 0a 3b 3b | Lynn Sl|ater..;;|
|00000f90| 20 4d 61 6b 65 20 74 68 | 69 73 20 66 69 6c 65 20 | Make th|is file |
|00000fa0| 68 65 61 64 65 72 2e 65 | 6c 2c 20 62 79 74 65 2d |header.e|l, byte-|
|00000fb0| 63 6f 6d 70 69 6c 65 20 | 69 74 20 69 6e 20 79 6f |compile |it in yo|
|00000fc0| 75 72 20 70 61 74 68 0a | 3b 3b 0a 3b 3b 20 52 65 |ur path.|;;.;; Re|
|00000fd0| 61 64 20 74 68 65 20 66 | 69 72 73 74 20 32 30 25 |ad the f|irst 20%|
|00000fe0| 20 6f 66 20 74 68 69 73 | 20 66 69 6c 65 20 74 6f | of this| file to|
|00000ff0| 20 6c 65 61 72 6e 20 68 | 6f 77 20 74 6f 20 63 75 | learn h|ow to cu|
|00001000| 73 74 6f 6d 69 7a 65 2e | 0a 0a 3b 3b 20 48 69 73 |stomize.|..;; His|
|00001010| 74 6f 72 79 20 09 09 0a | 3b 3b 20 32 35 2d 53 65 |tory ...|;; 25-Se|
|00001020| 70 2d 31 39 38 39 09 09 | 4c 79 6e 6e 20 53 6c 61 |p-1989..|Lynn Sla|
|00001030| 74 65 72 09 0a 3b 3b 20 | 20 20 20 4c 61 73 74 20 |ter..;; | Last |
|00001040| 4d 6f 64 69 66 69 65 64 | 3a 20 4d 6f 6e 20 53 65 |Modified|: Mon Se|
|00001050| 70 20 32 35 20 31 35 3a | 31 32 3a 31 36 20 31 39 |p 25 15:|12:16 19|
|00001060| 38 39 20 23 31 31 39 20 | 28 4c 79 6e 6e 20 53 6c |89 #119 |(Lynn Sl|
|00001070| 61 74 65 72 29 0a 3b 3b | 20 20 20 20 61 64 64 65 |ater).;;| adde|
|00001080| 64 20 2d 64 65 66 61 75 | 6c 74 2d 6d 6f 64 65 20 |d -defau|lt-mode |
|00001090| 61 68 64 20 68 65 61 64 | 65 72 61 62 6c 65 2d 66 |ahd head|erable-f|
|000010a0| 69 6c 65 2d 70 0a 3b 3b | 20 31 30 2d 53 65 70 2d |ile-p.;;| 10-Sep-|
|000010b0| 31 39 38 39 09 09 4c 79 | 6e 6e 20 53 6c 61 74 65 |1989..Ly|nn Slate|
|000010c0| 72 09 0a 3b 3b 20 20 20 | 20 4c 61 73 74 20 4d 6f |r..;; | Last Mo|
|000010d0| 64 69 66 69 65 64 3a 20 | 57 65 64 20 53 65 70 20 |dified: |Wed Sep |
|000010e0| 20 36 20 31 37 3a 33 36 | 3a 30 30 20 31 39 38 39 | 6 17:36|:00 1989|
|000010f0| 20 23 31 31 30 20 28 4c | 79 6e 6e 20 53 6c 61 74 | #110 (L|ynn Slat|
|00001100| 65 72 29 0a 3b 3b 20 20 | 20 20 53 65 70 65 72 61 |er).;; | Sepera|
|00001110| 74 65 64 20 6f 75 74 20 | 68 65 61 64 65 72 2d 6d |ted out |header-m|
|00001120| 6f 64 65 2d 6c 69 6e 65 | 20 61 6e 64 20 68 65 61 |ode-line| and hea|
|00001130| 64 65 72 2d 65 6e 64 2e | 20 48 65 61 64 65 72 73 |der-end.| Headers|
|00001140| 20 61 72 65 20 6e 6f 77 | 20 72 65 61 6c 6c 79 0a | are now| really.|
|00001150| 3b 3b 20 20 20 20 65 61 | 73 79 20 74 6f 20 6d 6f |;; ea|sy to mo|
|00001160| 64 69 66 79 2e 0a 3b 3b | 20 20 20 20 41 64 64 65 |dify..;;| Adde|
|00001170| 64 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 73 20 66 |d instru|ctions f|
|00001180| 6f 72 20 6d 6f 64 65 2d | 73 70 65 63 69 66 69 63 |or mode-|specific|
|00001190| 20 68 65 61 64 65 72 73 | 2e 0a 3b 3b 20 38 2d 41 | headers|..;; 8-A|
|000011a0| 75 67 2d 31 39 38 39 09 | 09 4c 79 6e 6e 20 53 6c |ug-1989.|.Lynn Sl|
|000011b0| 61 74 65 72 09 0a 3b 3b | 20 20 20 20 4c 61 73 74 |ater..;;| Last|
|000011c0| 20 4d 6f 64 69 66 69 65 | 64 3a 20 54 68 75 20 41 | Modifie|d: Thu A|
|000011d0| 75 67 20 20 33 20 30 38 | 3a 30 34 3a 30 36 20 31 |ug 3 08|:04:06 1|
|000011e0| 39 38 39 20 23 38 38 20 | 28 4c 79 6e 6e 20 53 6c |989 #88 |(Lynn Sl|
|000011f0| 61 74 65 72 29 0a 3b 3b | 20 20 20 20 43 68 61 6e |ater).;;| Chan|
|00001200| 67 65 64 20 73 74 72 75 | 63 74 75 72 65 20 74 6f |ged stru|cture to|
|00001210| 20 61 6c 6c 6f 77 20 73 | 69 74 65 2f 75 73 65 72 | allow s|ite/user|
|00001220| 20 63 75 73 74 6f 6d 69 | 7a 65 64 20 68 65 61 64 | customi|zed head|
|00001230| 65 72 73 0a 3b 3b 20 32 | 34 2d 4a 75 6e 2d 31 39 |ers.;; 2|4-Jun-19|
|00001240| 38 39 09 09 4c 79 6e 6e | 20 53 6c 61 74 65 72 09 |89..Lynn| Slater.|
|00001250| 0a 3b 3b 20 20 20 20 4c | 61 73 74 20 4d 6f 64 69 |.;; L|ast Modi|
|00001260| 66 69 65 64 3a 20 54 68 | 75 20 4a 75 6e 20 32 32 |fied: Th|u Jun 22|
|00001270| 20 31 32 3a 35 32 3a 32 | 34 20 31 39 38 39 20 23 | 12:52:2|4 1989 #|
|00001280| 38 34 20 28 4c 79 6e 6e | 20 53 6c 61 74 65 72 29 |84 (Lynn| Slater)|
|00001290| 0a 3b 3b 20 20 20 20 72 | 65 73 74 72 75 63 74 75 |.;; r|estructu|
|000012a0| 72 65 64 20 66 69 6c 65 | 2c 20 6d 61 64 65 20 74 |red file|, made t|
|000012b0| 68 65 20 6f 72 64 65 72 | 20 6f 66 20 68 65 61 64 |he order| of head|
|000012c0| 65 72 20 61 63 74 69 6f | 6e 73 20 6e 6f 74 20 62 |er actio|ns not b|
|000012d0| 65 20 73 69 67 6e 69 66 | 69 63 61 6e 74 2e 0a 3b |e signif|icant..;|
|000012e0| 3b 20 32 32 2d 4a 75 6e | 2d 31 39 38 39 09 09 4c |; 22-Jun|-1989..L|
|000012f0| 79 6e 6e 20 53 6c 61 74 | 65 72 09 0a 3b 3b 20 20 |ynn Slat|er..;; |
|00001300| 20 20 4c 61 73 74 20 4d | 6f 64 69 66 69 65 64 3a | Last M|odified:|
|00001310| 20 54 68 75 20 4a 75 6e | 20 32 32 20 31 31 3a 34 | Thu Jun| 22 11:4|
|00001320| 30 3a 35 33 20 31 39 38 | 39 20 23 38 32 20 28 4c |0:53 198|9 #82 (L|
|00001330| 79 6e 6e 20 53 6c 61 74 | 65 72 29 0a 3b 3b 20 20 |ynn Slat|er).;; |
|00001340| 20 20 4d 61 64 65 20 66 | 69 6c 65 20 68 65 61 64 | Made f|ile head|
|00001350| 65 72 20 61 63 74 69 6f | 6e 73 20 65 61 73 69 65 |er actio|ns easie|
|00001360| 72 20 74 6f 20 64 65 63 | 6c 61 72 65 0a 3b 3b 20 |r to dec|lare.;; |
|00001370| 20 20 20 4d 61 64 65 20 | 73 63 63 73 20 61 6e 64 | Made |sccs and|
|00001380| 20 72 63 73 20 73 75 70 | 70 6f 72 74 20 62 65 20 | rcs sup|port be |
|00001390| 75 73 65 72 20 73 65 74 | 74 61 62 6c 65 2e 0a 3b |user set|table..;|
|000013a0| 3b 20 20 20 20 41 64 64 | 65 64 20 63 2d 73 74 79 |; Add|ed c-sty|
|000013b0| 6c 65 20 73 75 70 70 6f | 72 74 0a 3b 3b 20 32 35 |le suppo|rt.;; 25|
|000013c0| 2d 4a 61 6e 2d 31 39 38 | 39 09 09 4c 79 6e 6e 20 |-Jan-198|9..Lynn |
|000013d0| 53 6c 61 74 65 72 09 0a | 3b 3b 20 20 20 20 4c 61 |Slater..|;; La|
|000013e0| 73 74 20 4d 6f 64 69 66 | 69 65 64 3a 20 57 65 64 |st Modif|ied: Wed|
|000013f0| 20 4a 61 6e 20 32 35 20 | 31 32 3a 30 33 3a 32 33 | Jan 25 |12:03:23|
|00001400| 20 31 39 38 39 20 23 37 | 38 20 28 4c 79 6e 6e 20 | 1989 #7|8 (Lynn |
|00001410| 53 6c 61 74 65 72 29 0a | 3b 3b 20 20 20 20 41 64 |Slater).|;; Ad|
|00001420| 64 65 64 20 6d 61 6b 65 | 2d 64 6f 63 20 63 6f 6d |ded make|-doc com|
|00001430| 6d 61 6e 64 0a 3b 3b 20 | 32 35 2d 4a 61 6e 2d 31 |mand.;; |25-Jan-1|
|00001440| 39 38 39 09 09 4c 79 6e | 6e 20 53 6c 61 74 65 72 |989..Lyn|n Slater|
|00001450| 09 0a 3b 3b 20 20 20 20 | 4c 61 73 74 20 4d 6f 64 |..;; |Last Mod|
|00001460| 69 66 69 65 64 3a 20 54 | 75 65 20 53 65 70 20 20 |ified: T|ue Sep |
|00001470| 36 20 30 37 3a 35 37 3a | 32 32 20 31 39 38 38 20 |6 07:57:|22 1988 |
|00001480| 23 37 37 20 28 4c 79 6e | 6e 20 53 6c 61 74 65 72 |#77 (Lyn|n Slater|
|00001490| 29 0a 3b 3b 20 20 20 20 | 6d 61 64 65 20 74 68 65 |).;; |made the|
|000014a0| 20 6d 61 6b 65 2d 72 65 | 76 69 73 69 6f 6e 20 63 | make-re|vision c|
|000014b0| 6f 6d 6d 61 6e 64 20 69 | 6e 63 6c 75 64 65 20 74 |ommand i|nclude t|
|000014c0| 68 65 20 6c 61 73 74 2d | 6d 6f 64 69 66 69 65 64 |he last-|modified|
|000014d0| 20 64 61 74 61 0a 3b 3b | 20 33 31 2d 41 75 67 2d | data.;;| 31-Aug-|
|000014e0| 31 39 38 38 09 09 4c 79 | 6e 6e 20 53 6c 61 74 65 |1988..Ly|nn Slate|
|000014f0| 72 09 0a 3b 3b 20 20 20 | 20 4d 61 64 65 20 74 68 |r..;; | Made th|
|00001500| 65 20 6d 61 6b 65 2d 72 | 65 76 69 73 69 6f 6e 20 |e make-r|evision |
|00001510| 77 6f 72 6b 20 69 6e 20 | 6d 6f 73 74 20 6d 6f 64 |work in |most mod|
|00001520| 65 73 0a 3b 3b 20 20 20 | 20 41 64 64 65 64 20 74 |es.;; | Added t|
|00001530| 68 65 20 75 70 64 61 74 | 65 2d 66 69 6c 65 2d 6e |he updat|e-file-n|
|00001540| 61 6d 65 20 63 6f 6d 6d | 61 6e 64 0a 3b 3b 20 31 |ame comm|and.;; 1|
|00001550| 2d 4d 61 72 2d 31 39 38 | 38 09 09 4c 79 6e 6e 20 |-Mar-198|8..Lynn |
|00001560| 53 6c 61 74 65 72 0a 3b | 3b 20 20 20 6d 61 64 65 |Slater.;|; made|
|00001570| 20 74 68 65 20 68 65 61 | 64 65 72 73 20 62 65 20 | the hea|ders be |
|00001580| 61 73 20 73 65 6e 73 69 | 74 69 76 65 20 61 73 20 |as sensi|tive as |
|00001590| 70 6f 73 73 69 62 6c 65 | 20 74 6f 20 74 68 65 20 |possible| to the |
|000015a0| 70 72 6f 70 65 72 0a 3b | 3b 20 20 20 63 6f 6d 6d |proper.;|; comm|
|000015b0| 65 6e 74 20 63 68 61 72 | 73 2e 0a 3b 3b 20 31 2d |ent char|s..;; 1-|
|000015c0| 4d 61 72 2d 31 39 38 38 | 09 09 4c 79 6e 6e 20 53 |Mar-1988|..Lynn S|
|000015d0| 6c 61 74 65 72 0a 3b 3b | 20 20 20 4d 61 64 65 20 |later.;;| Made |
|000015e0| 74 68 65 20 6d 6f 64 65 | 20 62 65 20 64 65 63 6c |the mode| be decl|
|000015f0| 61 72 65 64 20 69 6e 20 | 65 61 63 68 20 68 65 61 |ared in |each hea|
|00001600| 64 65 72 0a 3b 3b 20 32 | 36 2d 46 65 62 2d 31 39 |der.;; 2|6-Feb-19|
|00001610| 38 38 09 09 4c 79 6e 6e | 20 53 6c 61 74 65 72 0a |88..Lynn| Slater.|
|00001620| 3b 3b 20 20 20 61 64 64 | 65 64 20 74 68 65 20 6d |;; add|ed the m|
|00001630| 61 6b 65 2d 72 65 76 69 | 73 69 6f 6e 20 63 61 6c |ake-revi|sion cal|
|00001640| 6c 0a 28 70 72 6f 76 69 | 64 65 20 27 68 65 61 64 |l.(provi|de 'head|
|00001650| 65 72 29 0a 0a 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |er)..;;;|;;;;;;;;|
|00001660| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001670| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001680| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001690| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 0a 3b 3b |;;;;;;;;|;;;;;.;;|
|000016a0| 20 54 68 69 73 20 66 69 | 6c 65 20 68 61 73 20 74 | This fi|le has t|
|000016b0| 77 6f 20 6d 61 6a 6f 72 | 20 64 69 76 69 73 69 6f |wo major| divisio|
|000016c0| 6e 73 3a 20 68 65 61 64 | 65 72 20 63 72 65 61 74 |ns: head|er creat|
|000016d0| 69 6f 6e 20 61 6e 64 20 | 61 75 74 6f 6d 61 74 69 |ion and |automati|
|000016e0| 63 20 68 65 61 64 65 72 | 0a 3b 3b 20 6d 61 69 6e |c header|.;; main|
|000016f0| 74 65 6e 61 6e 63 65 2e | 0a 3b 3b 3b 3b 3b 3b 3b |tenance.|.;;;;;;;|
|00001700| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001710| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001720| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001730| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001740| 3b 0a 0a 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;..;;;;;|;;;;;;;;|
|00001750| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001760| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001770| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001780| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 0a 3b 3b 20 55 |;;;;;;;;|;;;.;; U|
|00001790| 73 65 72 2f 53 69 74 65 | 20 43 75 73 74 6f 6d 69 |ser/Site| Customi|
|000017a0| 7a 61 62 6c 65 20 56 61 | 72 69 61 62 6c 65 73 0a |zable Va|riables.|
|000017b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000017c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000017d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000017e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000017f0| 3b 3b 3b 3b 3b 3b 3b 3b | 0a 28 64 65 66 76 61 72 |;;;;;;;;|.(defvar|
|00001800| 20 68 65 61 64 65 72 2d | 6d 61 78 20 32 30 30 30 | header-|max 2000|
|00001810| 0a 20 20 22 49 73 20 74 | 68 65 20 6e 75 6d 62 65 |. "Is t|he numbe|
|00001820| 72 20 6f 66 20 63 68 61 | 72 61 63 74 65 72 73 20 |r of cha|racters |
|00001830| 61 74 20 74 68 65 20 73 | 74 61 72 74 20 6f 66 20 |at the s|tart of |
|00001840| 61 20 62 75 66 66 65 72 | 20 74 68 61 74 20 77 69 |a buffer| that wi|
|00001850| 6c 6c 20 62 65 0a 20 20 | 20 73 65 61 72 63 68 65 |ll be. | searche|
|00001860| 64 20 66 6f 72 20 68 65 | 61 64 65 72 20 69 6e 66 |d for he|ader inf|
|00001870| 6f 20 74 6f 20 61 75 74 | 6f 6d 61 74 69 63 61 6c |o to aut|omatical|
|00001880| 6c 79 20 75 70 64 61 74 | 65 2e 22 29 0a 0a 28 64 |ly updat|e.")..(d|
|00001890| 65 66 76 61 72 20 68 65 | 61 64 65 72 2d 63 6f 70 |efvar he|ader-cop|
|000018a0| 79 72 69 67 68 74 2d 6e | 6f 74 69 63 65 20 6e 69 |yright-n|otice ni|
|000018b0| 6c 0a 20 20 22 41 20 73 | 74 72 69 6e 67 20 63 6f |l. "A s|tring co|
|000018c0| 6e 74 61 69 6e 69 6e 67 | 20 61 20 63 6f 70 79 72 |ntaining| a copyr|
|000018d0| 69 67 68 74 20 64 69 73 | 63 6c 61 69 6d 65 72 20 |ight dis|claimer |
|000018e0| 74 6f 20 62 65 20 69 6e | 73 65 72 74 65 64 20 69 |to be in|serted i|
|000018f0| 6e 74 6f 20 61 6c 6c 20 | 68 65 61 64 65 72 73 2e |nto all |headers.|
|00001900| 0a 20 20 20 54 68 69 73 | 20 73 74 72 69 6e 67 20 |. This| string |
|00001910| 6e 65 65 64 73 20 6e 6f | 20 6c 65 61 64 69 6e 67 |needs no| leading|
|00001920| 20 62 6c 61 6e 6b 73 20 | 61 6e 64 20 6d 61 79 20 | blanks |and may |
|00001930| 63 6f 6e 74 61 69 6e 20 | 61 6e 79 20 6e 75 6d 62 |contain |any numb|
|00001940| 65 72 20 6f 66 20 6c 69 | 6e 65 73 2e 0a 20 20 20 |er of li|nes.. |
|00001950| 4d 61 79 20 62 65 20 6e | 69 6c 2e 22 29 0a 0a 28 |May be n|il.")..(|
|00001960| 64 65 66 76 61 72 20 6d | 61 6b 65 2d 68 65 61 64 |defvar m|ake-head|
|00001970| 65 72 2d 68 6f 6f 6b 73 | 20 27 28 0a 09 09 09 20 |er-hooks| '(.... |
|00001980| 20 20 20 68 65 61 64 65 | 72 2d 66 69 6c 65 2d 6e | heade|r-file-n|
|00001990| 61 6d 65 0a 09 09 09 20 | 20 20 20 68 65 61 64 65 |ame.... | heade|
|000019a0| 72 2d 63 6f 70 79 72 69 | 67 68 74 0a 09 09 09 20 |r-copyri|ght.... |
|000019b0| 20 20 20 3b 3b 68 65 61 | 64 65 72 2d 73 63 63 73 | ;;hea|der-sccs|
|000019c0| 0a 09 09 09 20 20 20 20 | 68 65 61 64 65 72 2d 41 |.... |header-A|
|000019d0| 46 53 0a 09 09 09 20 20 | 20 20 68 65 61 64 65 72 |FS.... | header|
|000019e0| 2d 61 75 74 68 6f 72 0a | 09 09 09 20 20 20 20 68 |-author.|... h|
|000019f0| 65 61 64 65 72 2d 63 72 | 65 61 74 69 6f 6e 2d 64 |eader-cr|eation-d|
|00001a00| 61 74 65 0a 09 09 09 20 | 20 20 20 68 65 61 64 65 |ate.... | heade|
|00001a10| 72 2d 6d 6f 64 69 66 69 | 63 61 74 69 6f 6e 2d 61 |r-modifi|cation-a|
|00001a20| 75 74 68 6f 72 0a 09 09 | 09 20 20 20 20 68 65 61 |uthor...|. hea|
|00001a30| 64 65 72 2d 6d 6f 64 69 | 66 69 63 61 74 69 6f 6e |der-modi|fication|
|00001a40| 2d 64 61 74 65 0a 09 09 | 09 20 20 20 20 68 65 61 |-date...|. hea|
|00001a50| 64 65 72 2d 75 70 64 61 | 74 65 2d 63 6f 75 6e 74 |der-upda|te-count|
|00001a60| 0a 09 09 09 20 20 20 20 | 68 65 61 64 65 72 2d 73 |.... |header-s|
|00001a70| 74 61 74 75 73 0a 09 09 | 09 20 20 20 20 3b 3b 20 |tatus...|. ;; |
|00001a80| 52 65 2d 65 6e 61 62 6c | 65 20 74 68 65 20 66 6f |Re-enabl|e the fo|
|00001a90| 6c 6c 6f 77 69 6e 67 20 | 6c 69 6e 65 73 20 69 66 |llowing |lines if|
|00001aa0| 20 79 6f 75 20 77 69 73 | 68 0a 09 09 09 20 20 20 | you wis|h.... |
|00001ab0| 20 3b 3b 68 65 61 64 65 | 72 2d 62 6c 61 6e 6b 0a | ;;heade|r-blank.|
|00001ac0| 09 09 09 20 20 20 20 3b | 3b 68 65 61 64 65 72 2d |... ;|;header-|
|00001ad0| 68 69 73 74 6f 72 79 0a | 09 09 09 20 20 20 20 3b |history.|... ;|
|00001ae0| 3b 68 65 61 64 65 72 2d | 70 75 72 70 6f 73 65 0a |;header-|purpose.|
|00001af0| 09 09 09 20 20 20 20 3b | 3b 68 65 61 64 65 72 2d |... ;|;header-|
|00001b00| 74 6f 63 0a 09 09 09 20 | 20 20 20 29 0a 0a 20 20 |toc.... | ).. |
|00001b10| 22 41 20 6c 69 73 74 20 | 6f 66 20 66 75 6e 63 74 |"A list |of funct|
|00001b20| 69 6f 6e 73 20 77 68 69 | 63 68 20 77 69 6c 6c 20 |ions whi|ch will |
|00001b30| 69 6e 73 65 72 74 20 74 | 68 65 20 76 61 72 69 6f |insert t|he vario|
|00001b40| 75 73 20 68 65 61 64 65 | 72 20 65 6c 65 6d 65 6e |us heade|r elemen|
|00001b50| 74 73 2e 0a 20 20 20 45 | 61 63 68 20 66 75 6e 63 |ts.. E|ach func|
|00001b60| 74 69 6f 6e 20 69 73 20 | 73 74 61 72 74 65 64 20 |tion is |started |
|00001b70| 6f 6e 20 61 20 6e 65 77 | 20 6c 69 6e 65 20 61 6e |on a new| line an|
|00001b80| 64 20 69 73 20 65 78 70 | 65 63 74 65 64 20 74 6f |d is exp|ected to|
|00001b90| 20 65 6e 64 20 69 6e 20 | 61 20 6e 65 77 20 6c 69 | end in |a new li|
|00001ba0| 6e 65 2e 0a 20 20 20 45 | 61 63 68 20 66 75 6e 63 |ne.. E|ach func|
|00001bb0| 74 69 6f 6e 20 6d 61 79 | 20 69 6e 73 65 72 74 20 |tion may| insert |
|00001bc0| 61 6e 79 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |any numb|er of li|
|00001bd0| 6e 65 73 2c 20 62 75 74 | 20 65 61 63 68 20 6c 69 |nes, but| each li|
|00001be0| 6e 65 2c 20 69 6e 63 6c | 75 64 69 6e 67 0a 20 20 |ne, incl|uding. |
|00001bf0| 20 74 68 65 20 66 69 72 | 73 74 2c 20 6d 75 73 74 | the fir|st, must|
|00001c00| 20 62 65 20 73 74 61 72 | 74 65 64 20 77 69 74 68 | be star|ted with|
|00001c10| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 74 68 | the val|ue of th|
|00001c20| 65 20 68 65 61 64 65 72 | 2d 70 72 65 66 69 78 2d |e header|-prefix-|
|00001c30| 73 74 72 69 6e 67 0a 20 | 20 20 76 61 72 69 61 62 |string. | variab|
|00001c40| 6c 65 2e 20 28 54 68 69 | 73 20 76 61 72 69 61 62 |le. (Thi|s variab|
|00001c50| 6c 65 20 68 6f 6c 64 73 | 20 74 68 65 20 73 61 6d |le holds| the sam|
|00001c60| 65 20 76 61 6c 75 65 20 | 61 73 20 77 6f 75 6c 64 |e value |as would|
|00001c70| 20 62 65 20 72 65 74 75 | 72 6e 65 64 20 62 79 0a | be retu|rned by.|
|00001c80| 20 20 20 63 61 6c 6c 69 | 6e 67 20 27 68 65 61 64 | calli|ng 'head|
|00001c90| 65 72 2d 70 72 65 66 69 | 78 2d 73 74 72 69 6e 67 |er-prefi|x-string|
|00001ca0| 20 62 75 74 20 69 73 20 | 66 61 73 74 65 72 20 74 | but is |faster t|
|00001cb0| 6f 20 61 63 63 65 73 73 | 2e 29 0a 20 20 20 45 61 |o access|.). Ea|
|00001cc0| 63 68 20 66 75 6e 63 74 | 69 6f 6e 20 6d 61 79 20 |ch funct|ion may |
|00001cd0| 73 65 74 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |set the |followin|
|00001ce0| 67 20 64 79 6e 61 6d 69 | 63 61 6c 6c 79 20 62 6f |g dynami|cally bo|
|00001cf0| 75 6e 64 20 76 61 6c 75 | 65 73 3a 0a 20 20 20 20 |und valu|es:. |
|00001d00| 20 68 65 61 64 65 72 2d | 70 72 65 66 69 78 2d 73 | header-|prefix-s|
|00001d10| 74 72 69 6e 67 20 2d 2d | 20 6d 6f 64 65 20 73 70 |tring --| mode sp|
|00001d20| 65 63 69 66 69 63 20 63 | 6f 6d 6d 65 6e 74 20 73 |ecific c|omment s|
|00001d30| 65 71 75 65 6e 63 65 0a | 20 20 20 20 20 72 65 74 |equence.| ret|
|00001d40| 75 72 6e 2d 74 6f 20 20 | 20 20 20 20 20 20 2d 2d |urn-to | --|
|00001d50| 20 63 68 61 72 61 63 74 | 65 72 20 70 6f 73 69 74 | charact|er posit|
|00001d60| 69 6f 6e 20 74 6f 20 77 | 68 69 63 68 20 70 6f 69 |ion to w|hich poi|
|00001d70| 6e 74 20 77 69 6c 6c 20 | 62 65 20 6d 6f 76 65 64 |nt will |be moved|
|00001d80| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001d90| 20 20 20 20 20 20 20 20 | 20 20 61 66 74 65 72 20 | | after |
|00001da0| 61 6c 6c 20 68 65 61 64 | 65 72 20 66 75 6e 63 74 |all head|er funct|
|00001db0| 69 6f 6e 73 20 61 72 65 | 20 70 72 6f 63 65 73 73 |ions are| process|
|00001dc0| 65 64 2e 20 41 6e 79 0a | 20 20 20 20 20 20 20 20 |ed. Any.| |
|00001dd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001de0| 20 68 65 61 64 65 72 20 | 66 75 6e 63 74 69 6f 6e | header |function|
|00001df0| 20 6d 61 79 20 73 65 74 | 20 74 68 69 73 2c 20 62 | may set| this, b|
|00001e00| 75 74 20 6f 6e 6c 79 20 | 74 68 65 20 6c 61 73 74 |ut only |the last|
|00001e10| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001e20| 20 20 20 20 20 20 20 20 | 20 20 73 65 74 20 77 69 | | set wi|
|00001e30| 6c 6c 20 74 61 6b 65 20 | 65 66 66 65 63 74 2e 0a |ll take |effect..|
|00001e40| 0a 20 20 20 49 74 20 69 | 73 20 72 65 61 73 6f 6e |. It i|s reason|
|00001e50| 61 62 6c 65 20 74 6f 20 | 6c 6f 63 61 6c 6c 79 20 |able to |locally |
|00001e60| 73 65 74 20 74 68 65 73 | 65 20 68 6f 6f 6b 73 20 |set thes|e hooks |
|00001e70| 61 63 63 6f 72 64 69 6e | 67 20 74 6f 20 63 65 72 |accordin|g to cer|
|00001e80| 74 61 69 6e 0a 20 20 20 | 6d 6f 64 65 73 2e 20 46 |tain. |modes. F|
|00001e90| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 61 20 74 61 |or examp|le, a ta|
|00001ea0| 62 6c 65 20 6f 66 20 63 | 6f 6e 74 65 6e 74 73 20 |ble of c|ontents |
|00001eb0| 6d 61 79 20 6f 6e 6c 79 | 20 61 70 70 6c 79 20 74 |may only| apply t|
|00001ec0| 6f 20 63 6f 64 65 20 64 | 65 76 65 6c 6f 70 6d 65 |o code d|evelopme|
|00001ed0| 6e 74 0a 20 20 20 6d 6f | 64 65 73 20 61 6e 64 20 |nt. mo|des and |
|00001ee0| 27 68 65 61 64 65 72 2d | 73 68 65 6c 6c 20 73 68 |'header-|shell sh|
|00001ef0| 6f 75 6c 64 20 6f 6e 6c | 79 20 61 70 70 6c 79 20 |ould onl|y apply |
|00001f00| 74 6f 20 73 68 65 6c 6c | 20 73 63 72 69 70 74 73 |to shell| scripts|
|00001f10| 2e 20 53 65 65 20 74 68 | 65 0a 20 20 20 69 6e 73 |. See th|e. ins|
|00001f20| 74 72 75 63 74 69 6f 6e | 73 20 69 6e 20 68 65 61 |truction|s in hea|
|00001f30| 64 65 72 2e 65 6c 20 74 | 6f 20 64 6f 20 74 68 69 |der.el t|o do thi|
|00001f40| 73 2e 22 29 0a 0a 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |s.")..;;|;;;;;;;;|
|00001f50| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001f60| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001f70| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001f80| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 0a 3b |;;;;;;;;|;;;;;;.;|
|00001f90| 3b 20 52 65 67 69 73 74 | 65 72 20 74 68 65 20 61 |; Regist|er the a|
|00001fa0| 75 74 6f 6d 61 74 69 63 | 20 61 63 74 69 6f 6e 73 |utomatic| actions|
|00001fb0| 20 74 6f 20 74 61 6b 65 | 20 66 6f 72 20 66 69 6c | to take| for fil|
|00001fc0| 65 20 68 65 61 64 65 72 | 73 20 64 75 72 69 6e 67 |e header|s during|
|00001fd0| 20 61 20 73 61 76 65 0a | 3b 3b 20 53 65 65 20 74 | a save.|;; See t|
|00001fe0| 68 65 20 73 65 63 6f 6e | 64 20 70 61 72 74 20 6f |he secon|d part o|
|00001ff0| 66 20 74 68 65 20 66 69 | 6c 65 20 66 6f 72 20 65 |f the fi|le for e|
|00002000| 78 70 6c 69 6e 61 74 69 | 6f 6e 73 2e 0a 3b 3b 3b |xplinati|ons..;;;|
|00002010| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002020| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002030| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002040| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002050| 3b 3b 3b 3b 3b 0a 28 70 | 72 6f 67 6e 0a 20 20 28 |;;;;;.(p|rogn. (|
|00002060| 72 65 67 69 73 74 65 72 | 2d 66 69 6c 65 2d 68 65 |register|-file-he|
|00002070| 61 64 65 72 2d 61 63 74 | 69 6f 6e 20 22 5b 20 5c |ader-act|ion "[ \|
|00002080| 74 5d 55 70 64 61 74 65 | 20 43 6f 75 6e 74 5b 20 |t]Update| Count[ |
|00002090| 5c 74 5d 2a 3a 20 22 20 | 20 27 75 70 64 61 74 65 |\t]*: " | 'update|
|000020a0| 2d 77 72 69 74 65 2d 63 | 6f 75 6e 74 29 0a 20 20 |-write-c|ount). |
|000020b0| 28 72 65 67 69 73 74 65 | 72 2d 66 69 6c 65 2d 68 |(registe|r-file-h|
|000020c0| 65 61 64 65 72 2d 61 63 | 74 69 6f 6e 20 22 5b 20 |eader-ac|tion "[ |
|000020d0| 5c 74 5d 4c 61 73 74 20 | 4d 6f 64 69 66 69 65 64 |\t]Last |Modified|
|000020e0| 20 42 79 5b 20 5c 74 5d | 2a 3a 20 22 20 20 27 75 | By[ \t]|*: " 'u|
|000020f0| 70 64 61 74 65 2d 6c 61 | 73 74 2d 6d 6f 64 69 66 |pdate-la|st-modif|
|00002100| 69 65 72 29 0a 20 20 28 | 72 65 67 69 73 74 65 72 |ier). (|register|
|00002110| 2d 66 69 6c 65 2d 68 65 | 61 64 65 72 2d 61 63 74 |-file-he|ader-act|
|00002120| 69 6f 6e 20 22 5b 20 5c | 74 5d 4c 61 73 74 20 4d |ion "[ \|t]Last M|
|00002130| 6f 64 69 66 69 65 64 20 | 4f 6e 5b 20 5c 74 5d 2a |odified |On[ \t]*|
|00002140| 3a 20 22 20 20 27 75 70 | 64 61 74 65 2d 6c 61 73 |: " 'up|date-las|
|00002150| 74 2d 6d 6f 64 69 66 69 | 65 64 2d 64 61 74 65 29 |t-modifi|ed-date)|
|00002160| 0a 20 20 3b 3b 28 72 65 | 67 69 73 74 65 72 2d 66 |. ;;(re|gister-f|
|00002170| 69 6c 65 2d 68 65 61 64 | 65 72 2d 61 63 74 69 6f |ile-head|er-actio|
|00002180| 6e 20 22 5e 2e 2a 20 2a | 5c 5c 28 2e 2a 5c 5c 29 |n "^.* *|\\(.*\\)|
|00002190| 20 2a 5c 5c 2d 5c 5c 2d | 22 20 27 75 70 64 61 74 | *\\-\\-|" 'updat|
|000021a0| 65 2d 66 69 6c 65 2d 6e | 61 6d 65 29 0a 20 20 29 |e-file-n|ame). )|
|000021b0| 0a 0a 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |..;;;;;;|;;;;;;;;|
|000021c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000021d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000021e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000021f0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 0a 3b 3b 20 4d 6f |;;;;;;;;|;;.;; Mo|
|00002200| 64 65 20 73 70 65 63 69 | 66 69 63 20 68 65 61 64 |de speci|fic head|
|00002210| 65 72 73 3a 0a 3b 3b 20 | 20 4e 6f 74 20 61 6c 6c |ers:.;; | Not all|
|00002220| 20 68 65 61 64 65 72 73 | 20 73 68 6f 75 6c 64 20 | headers| should |
|00002230| 6c 6f 6f 6b 20 61 6c 69 | 6b 65 2e 20 53 75 70 70 |look ali|ke. Supp|
|00002240| 6f 73 65 20 74 68 61 74 | 20 79 6f 75 20 68 61 76 |ose that| you hav|
|00002250| 65 20 61 20 75 6e 69 78 | 20 73 63 72 69 70 74 0a |e a unix| script.|
|00002260| 3b 3b 20 20 6d 6f 64 65 | 20 61 6e 64 20 77 61 6e |;; mode| and wan|
|00002270| 74 20 69 74 20 74 6f 20 | 68 61 76 65 20 61 20 73 |t it to |have a s|
|00002280| 68 65 6c 6c 20 73 70 65 | 63 69 66 69 65 72 20 6c |hell spe|cifier l|
|00002290| 69 6e 65 20 74 68 61 74 | 20 61 6c 6c 20 6f 74 68 |ine that| all oth|
|000022a0| 65 72 20 68 65 61 64 65 | 72 73 0a 3b 3b 20 20 64 |er heade|rs.;; d|
|000022b0| 6f 20 6e 6f 74 20 68 61 | 76 65 2e 20 54 6f 20 64 |o not ha|ve. To d|
|000022c0| 6f 20 74 68 69 73 2c 20 | 50 6c 61 63 65 20 74 68 |o this, |Place th|
|000022d0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 6c 69 6e 65 |e follow|ing line|
|000022e0| 73 0a 3b 3b 20 20 20 20 | 20 28 6d 61 6b 65 2d 6c |s.;; | (make-l|
|000022f0| 6f 63 61 6c 2d 76 61 72 | 69 61 62 6c 65 20 27 6d |ocal-var|iable 'm|
|00002300| 61 6b 65 2d 68 65 61 64 | 65 72 2d 68 6f 6f 6b 73 |ake-head|er-hooks|
|00002310| 29 0a 3b 3b 20 20 20 20 | 20 28 73 65 74 71 20 6d |).;; | (setq m|
|00002320| 61 6b 65 2d 68 65 61 64 | 65 72 2d 68 6f 6f 6b 73 |ake-head|er-hooks|
|00002330| 20 28 63 6f 6e 73 20 27 | 68 65 61 64 65 72 2d 73 | (cons '|header-s|
|00002340| 68 65 6c 6c 20 0a 3b 3b | 20 20 20 20 20 20 20 20 |hell .;;| |
|00002350| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002360| 20 20 20 20 20 20 20 20 | 20 20 20 20 28 64 65 66 | | (def|
|00002370| 61 75 6c 74 2d 76 61 6c | 75 65 20 27 6d 61 6b 65 |ault-val|ue 'make|
|00002380| 2d 68 65 61 64 65 72 2d | 68 6f 6f 6b 73 29 29 29 |-header-|hooks)))|
|00002390| 20 20 0a 3b 3b 20 20 65 | 69 74 68 65 72 20 69 6e | .;; e|ither in|
|000023a0| 20 61 20 68 6f 6f 6b 20 | 63 61 6c 6c 65 64 20 77 | a hook |called w|
|000023b0| 68 65 6e 20 74 68 65 20 | 6d 6f 64 65 20 69 73 20 |hen the |mode is |
|000023c0| 69 6e 76 6f 6b 65 64 20 | 6f 72 20 69 6e 20 74 68 |invoked |or in th|
|000023d0| 65 20 63 6f 64 65 20 74 | 68 61 74 0a 3b 3b 20 20 |e code t|hat.;; |
|000023e0| 65 73 74 61 62 6c 69 73 | 68 65 73 20 74 68 65 20 |establis|hes the |
|000023f0| 6d 6f 64 65 2e 0a 3b 3b | 0a 3b 3b 20 20 4e 6f 74 |mode..;;|.;; Not|
|00002400| 65 20 74 68 61 74 20 74 | 68 65 20 68 65 61 64 65 |e that t|he heade|
|00002410| 72 20 62 75 69 6c 64 69 | 6e 67 20 62 6c 6f 63 6b |r buildi|ng block|
|00002420| 73 20 61 72 65 20 61 75 | 74 6f 6d 61 74 69 63 61 |s are au|tomatica|
|00002430| 6c 6c 79 20 73 65 6e 73 | 69 74 69 76 65 20 74 6f |lly sens|itive to|
|00002440| 20 74 68 65 0a 3b 3b 20 | 20 64 69 66 66 65 72 65 | the.;; | differe|
|00002450| 6e 74 20 63 6f 6d 6d 65 | 6e 74 20 63 68 61 72 61 |nt comme|nt chara|
|00002460| 63 74 65 72 73 20 69 6e | 20 64 69 66 66 65 72 65 |cters in| differe|
|00002470| 6e 74 20 6d 6f 64 65 73 | 2e 0a 3b 3b 0a 3b 3b 20 |nt modes|..;;.;; |
|00002480| 4d 6f 64 65 20 73 70 65 | 63 69 66 69 63 20 75 70 |Mode spe|cific up|
|00002490| 64 61 74 65 20 61 63 74 | 69 6f 6e 73 3a 0a 3b 3b |date act|ions:.;;|
|000024a0| 20 20 53 75 70 70 6f 73 | 65 20 73 6f 6d 65 74 68 | Suppos|e someth|
|000024b0| 69 6e 67 20 6e 65 65 64 | 73 20 74 6f 20 62 65 20 |ing need|s to be |
|000024c0| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 20 6d 61 |automati|cally ma|
|000024d0| 69 6e 74 61 69 6e 65 64 | 20 6f 6e 6c 79 20 69 6e |intained| only in|
|000024e0| 20 63 65 72 74 69 61 6e | 0a 3b 3b 20 20 6d 6f 64 | certian|.;; mod|
|000024f0| 65 73 2e 20 41 6e 20 65 | 78 61 6d 70 6c 65 20 69 |es. An e|xample i|
|00002500| 73 20 74 68 65 20 2e 54 | 48 20 6d 61 63 72 6f 20 |s the .T|H macro |
|00002510| 69 6e 20 6d 61 6e 20 70 | 61 67 65 73 2e 20 20 59 |in man p|ages. Y|
|00002520| 6f 75 20 63 61 6e 20 63 | 72 65 61 74 65 20 6d 6f |ou can c|reate mo|
|00002530| 64 65 0a 3b 3b 20 20 73 | 70 65 63 69 66 69 63 20 |de.;; s|pecific |
|00002540| 75 70 64 61 74 65 20 61 | 63 74 69 6f 6e 73 20 62 |update a|ctions b|
|00002550| 79 20 70 6c 61 63 69 6e | 67 20 6c 69 6e 65 73 20 |y placin|g lines |
|00002560| 73 75 63 68 20 61 73 20 | 74 68 65 20 66 6f 6c 6c |such as |the foll|
|00002570| 6f 77 69 6e 67 20 69 6e | 20 74 68 65 0a 3b 3b 20 |owing in| the.;; |
|00002580| 20 6d 6f 64 65 20 63 72 | 65 61 74 69 6f 6e 20 66 | mode cr|eation f|
|00002590| 75 6e 63 74 69 6f 6e 20 | 6f 66 20 69 6e 20 74 68 |unction |of in th|
|000025a0| 65 20 6d 6f 64 65 20 68 | 6f 6f 6b 2e 0a 3b 3b 20 |e mode h|ook..;; |
|000025b0| 20 20 20 28 6d 61 6b 65 | 2d 6c 6f 63 61 6c 2d 76 | (make|-local-v|
|000025c0| 61 72 69 61 62 6c 65 20 | 27 66 69 6c 65 2d 68 65 |ariable |'file-he|
|000025d0| 61 64 65 72 2d 75 70 64 | 61 74 65 2d 61 6c 69 73 |ader-upd|ate-alis|
|000025e0| 74 29 0a 3b 3b 20 20 20 | 20 28 72 65 67 69 73 74 |t).;; | (regist|
|000025f0| 65 72 2d 66 69 6c 65 2d | 68 65 61 64 65 72 2d 61 |er-file-|header-a|
|00002600| 63 74 69 6f 6e 0a 3b 3b | 20 20 20 20 20 20 22 5e |ction.;;| "^|
|00002610| 5c 2e 54 48 5b 20 5c 74 | 5d 2b 5b 5e 5c 22 20 5c |\.TH[ \t|]+[^\" \|
|00002620| 74 5d 2b 5b 20 5c 74 5d | 2b 5b 5e 5c 22 20 5c 74 |t]+[ \t]|+[^\" \t|
|00002630| 5d 2b 5b 20 5c 74 5d 2b | 5c 22 5c 5c 28 5b 5e 5c |]+[ \t]+|\"\\([^\|
|00002640| 22 5d 2a 5c 5c 29 5c 22 | 22 20 0a 3b 3b 20 20 20 |"]*\\)\"|" .;; |
|00002650| 20 20 27 75 70 64 61 74 | 65 2d 6c 61 73 74 2d 6d | 'updat|e-last-m|
|00002660| 6f 64 69 66 69 65 64 2d | 64 61 74 65 2d 6d 61 63 |odified-|date-mac|
|00002670| 72 6f 29 0a 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |ro).;;;;|;;;;;;;;|
|00002680| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002690| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000026a0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000026b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 0a 0a 3b 3b |;;;;;;;;|;;;;..;;|
|000026c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000026d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000026e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000026f0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002700| 3b 3b 3b 3b 3b 3b 0a 3b | 3b 20 44 65 66 69 6e 65 |;;;;;;.;|; Define|
|00002710| 20 74 68 65 20 69 6e 64 | 69 76 69 64 75 61 6c 20 | the ind|ividual |
|00002720| 68 65 61 64 65 72 20 65 | 6c 65 6d 65 6e 74 73 2e |header e|lements.|
|00002730| 20 20 54 48 45 53 45 20 | 41 52 45 20 54 48 45 20 | THESE |ARE THE |
|00002740| 42 55 49 4c 44 49 4e 47 | 20 42 4c 4f 43 4b 53 0a |BUILDING| BLOCKS.|
|00002750| 3b 3b 20 75 73 65 64 20 | 74 6f 20 63 6f 6e 73 74 |;; used |to const|
|00002760| 72 75 63 74 20 61 20 73 | 69 74 65 20 73 70 65 63 |ruct a s|ite spec|
|00002770| 69 66 69 63 20 68 65 61 | 64 65 72 2e 20 20 59 6f |ific hea|der. Yo|
|00002780| 75 20 6d 61 79 20 61 64 | 64 20 79 6f 75 72 20 6f |u may ad|d your o|
|00002790| 77 6e 0a 3b 3b 20 66 75 | 6e 63 74 69 6f 6e 73 20 |wn.;; fu|nctions |
|000027a0| 65 69 74 68 65 72 20 69 | 6e 20 74 68 69 73 20 66 |either i|n this f|
|000027b0| 69 6c 65 20 6f 72 20 69 | 6e 20 79 6f 75 72 20 2e |ile or i|n your .|
|000027c0| 65 6d 61 63 73 20 66 69 | 6c 65 2e 20 20 54 68 65 |emacs fi|le. The|
|000027d0| 20 76 61 72 69 61 62 6c | 65 0a 3b 3b 20 6d 61 6b | variabl|e.;; mak|
|000027e0| 65 2d 68 65 61 64 65 72 | 2d 68 6f 6f 6b 73 20 73 |e-header|-hooks s|
|000027f0| 70 65 63 69 66 69 65 73 | 20 74 68 65 20 66 75 6e |pecifies| the fun|
|00002800| 63 74 69 6f 6e 73 20 74 | 68 61 74 20 77 69 6c 6c |ctions t|hat will|
|00002810| 20 61 63 74 75 61 6c 6c | 79 20 62 65 20 63 61 6c | actuall|y be cal|
|00002820| 6c 65 64 2e 0a 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |led..;;;|;;;;;;;;|
|00002830| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002840| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002850| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002860| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 0a 28 64 |;;;;;;;;|;;;;;.(d|
|00002870| 65 66 75 6e 20 68 65 61 | 64 65 72 2d 62 6c 61 6e |efun hea|der-blan|
|00002880| 6b 20 28 29 0a 20 20 22 | 50 6c 61 63 65 73 20 61 |k (). "|Places a|
|00002890| 20 62 6c 61 6e 6b 20 6c | 69 6e 65 20 69 6e 74 6f | blank l|ine into|
|000028a0| 20 61 20 66 69 6c 65 20 | 68 65 61 64 65 72 22 0a | a file |header".|
|000028b0| 20 20 28 69 6e 73 65 72 | 74 20 68 65 61 64 65 72 | (inser|t header|
|000028c0| 2d 70 72 65 66 69 78 2d | 73 74 72 69 6e 67 20 20 |-prefix-|string |
|000028d0| 22 5c 6e 22 29 29 0a 0a | 28 64 65 66 75 6e 20 68 |"\n"))..|(defun h|
|000028e0| 65 61 64 65 72 2d 66 69 | 6c 65 2d 6e 61 6d 65 20 |eader-fi|le-name |
|000028f0| 28 29 0a 20 20 22 50 6c | 61 63 65 73 20 74 68 65 |(). "Pl|aces the|
|00002900| 20 62 75 66 66 65 72 27 | 73 20 66 69 6c 65 20 6e | buffer'|s file n|
|00002910| 61 6d 65 20 61 6e 64 20 | 6c 65 61 76 65 73 20 72 |ame and |leaves r|
|00002920| 6f 6f 6d 20 66 6f 72 20 | 61 20 64 65 73 63 72 69 |oom for |a descri|
|00002930| 70 74 69 6f 6e 2e 22 0a | 20 20 28 69 6e 73 65 72 |ption.".| (inser|
|00002940| 74 20 68 65 61 64 65 72 | 2d 70 72 65 66 69 78 2d |t header|-prefix-|
|00002950| 73 74 72 69 6e 67 20 28 | 62 75 66 66 65 72 2d 6e |string (|buffer-n|
|00002960| 61 6d 65 29 20 22 20 2d | 2d 20 5c 6e 22 29 0a 20 |ame) " -|- \n"). |
|00002970| 20 28 73 65 74 71 20 72 | 65 74 75 72 6e 2d 74 6f | (setq r|eturn-to|
|00002980| 20 28 31 2d 20 28 70 6f | 69 6e 74 29 29 29 29 0a | (1- (po|int)))).|
|00002990| 0a 28 64 65 66 75 6e 20 | 68 65 61 64 65 72 2d 61 |.(defun |header-a|
|000029a0| 75 74 68 6f 72 20 28 29 | 0a 20 20 22 49 6e 73 65 |uthor ()|. "Inse|
|000029b0| 72 74 73 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |rts the |current |
|000029c0| 75 73 65 72 27 73 20 6e | 61 6d 65 20 61 73 20 74 |user's n|ame as t|
|000029d0| 68 65 20 6d 6f 64 75 6c | 65 27 73 20 61 75 74 68 |he modul|e's auth|
|000029e0| 6f 72 2e 22 0a 20 20 28 | 69 6e 73 65 72 74 20 68 |or.". (|insert h|
|000029f0| 65 61 64 65 72 2d 70 72 | 65 66 69 78 2d 73 74 72 |eader-pr|efix-str|
|00002a00| 69 6e 67 20 22 41 75 74 | 68 6f 72 20 20 20 20 20 |ing "Aut|hor |
|00002a10| 20 20 20 20 20 3a 20 22 | 20 28 75 73 65 72 2d 66 | : "| (user-f|
|00002a20| 75 6c 6c 2d 6e 61 6d 65 | 29 20 22 5c 6e 22 29 29 |ull-name|) "\n"))|
|00002a30| 0a 0a 28 64 65 66 75 6e | 20 68 65 61 64 65 72 2d |..(defun| header-|
|00002a40| 63 72 65 61 74 69 6f 6e | 2d 64 61 74 65 20 28 29 |creation|-date ()|
|00002a50| 0a 20 20 22 50 6c 61 63 | 65 73 20 74 6f 64 61 79 |. "Plac|es today|
|00002a60| 27 73 20 64 61 74 61 20 | 61 73 20 74 68 65 20 66 |'s data |as the f|
|00002a70| 69 6c 65 20 63 72 65 61 | 74 69 6f 6e 20 64 61 74 |ile crea|tion dat|
|00002a80| 65 2e 22 0a 20 20 28 69 | 6e 73 65 72 74 20 68 65 |e.". (i|nsert he|
|00002a90| 61 64 65 72 2d 70 72 65 | 66 69 78 2d 73 74 72 69 |ader-pre|fix-stri|
|00002aa0| 6e 67 20 22 43 72 65 61 | 74 65 64 20 4f 6e 20 20 |ng "Crea|ted On |
|00002ab0| 20 20 20 20 3a 20 22 20 | 20 28 63 75 72 72 65 6e | : " | (curren|
|00002ac0| 74 2d 74 69 6d 65 2d 73 | 74 72 69 6e 67 29 20 22 |t-time-s|tring) "|
|00002ad0| 5c 6e 22 29 29 0a 0a 28 | 64 65 66 75 6e 20 68 65 |\n"))..(|defun he|
|00002ae0| 61 64 65 72 2d 6d 6f 64 | 69 66 69 63 61 74 69 6f |ader-mod|ificatio|
|00002af0| 6e 2d 61 75 74 68 6f 72 | 20 28 29 0a 20 20 22 49 |n-author| (). "I|
|00002b00| 6e 73 65 72 74 73 20 74 | 68 65 20 63 75 72 72 65 |nserts t|he curre|
|00002b10| 6e 74 20 75 73 65 72 27 | 73 20 6e 61 6d 65 20 61 |nt user'|s name a|
|00002b20| 73 20 74 68 65 20 6f 6e | 65 20 77 68 6f 20 6c 61 |s the on|e who la|
|00002b30| 73 74 20 6d 6f 64 69 66 | 69 65 64 20 74 68 65 20 |st modif|ied the |
|00002b40| 6d 6f 64 75 6c 65 2e 0a | 20 20 20 54 68 69 73 20 |module..| This |
|00002b50| 77 69 6c 6c 20 62 65 20 | 6f 76 65 72 77 72 69 74 |will be |overwrit|
|00002b60| 74 65 6e 20 77 69 74 68 | 20 65 61 63 68 20 66 69 |ten with| each fi|
|00002b70| 6c 65 20 73 61 76 65 20 | 69 66 20 61 6c 6c 20 74 |le save |if all t|
|00002b80| 68 65 0a 20 20 20 66 69 | 6c 65 2d 68 65 61 64 65 |he. fi|le-heade|
|00002b90| 72 2d 61 63 74 69 6f 6e | 73 20 69 6e 20 74 68 65 |r-action|s in the|
|00002ba0| 20 64 65 66 61 75 6c 74 | 20 68 65 61 64 65 72 2e | default| header.|
|00002bb0| 65 6c 20 66 69 6c 65 20 | 61 72 65 20 72 65 67 69 |el file |are regi|
|00002bc0| 73 74 65 72 65 64 2e 22 | 0a 20 20 28 69 6e 73 65 |stered."|. (inse|
|00002bd0| 72 74 20 68 65 61 64 65 | 72 2d 70 72 65 66 69 78 |rt heade|r-prefix|
|00002be0| 2d 73 74 72 69 6e 67 20 | 20 22 4c 61 73 74 20 4d |-string | "Last M|
|00002bf0| 6f 64 69 66 69 65 64 20 | 42 79 3a 20 5c 6e 22 29 |odified |By: \n")|
|00002c00| 29 0a 0a 28 64 65 66 75 | 6e 20 68 65 61 64 65 72 |)..(defu|n header|
|00002c10| 2d 6d 6f 64 69 66 69 63 | 61 74 69 6f 6e 2d 64 61 |-modific|ation-da|
|00002c20| 74 65 20 28 29 0a 20 20 | 22 49 6e 73 65 72 74 73 |te (). |"Inserts|
|00002c30| 20 74 6f 64 61 79 73 20 | 64 61 74 65 20 61 73 20 | todays |date as |
|00002c40| 74 68 65 20 74 69 6d 65 | 20 6f 66 20 6c 61 73 74 |the time| of last|
|00002c50| 20 6d 6f 64 69 66 69 63 | 61 74 69 6f 6e 2e 0a 20 | modific|ation.. |
|00002c60| 20 20 54 68 69 73 20 77 | 69 6c 6c 20 62 65 20 6f | This w|ill be o|
|00002c70| 76 65 72 77 72 69 74 74 | 65 6e 20 77 69 74 68 20 |verwritt|en with |
|00002c80| 65 61 63 68 20 66 69 6c | 65 20 73 61 76 65 20 69 |each fil|e save i|
|00002c90| 66 20 61 6c 6c 20 74 68 | 65 0a 20 20 20 66 69 6c |f all th|e. fil|
|00002ca0| 65 2d 68 65 61 64 65 72 | 2d 61 63 74 69 6f 6e 73 |e-header|-actions|
|00002cb0| 20 69 6e 20 74 68 65 20 | 64 65 66 61 75 6c 74 20 | in the |default |
|00002cc0| 68 65 61 64 65 72 2e 65 | 6c 20 66 69 6c 65 20 61 |header.e|l file a|
|00002cd0| 72 65 20 72 65 67 69 73 | 74 65 72 65 64 2e 22 0a |re regis|tered.".|
|00002ce0| 20 20 28 69 6e 73 65 72 | 74 20 68 65 61 64 65 72 | (inser|t header|
|00002cf0| 2d 70 72 65 66 69 78 2d | 73 74 72 69 6e 67 20 20 |-prefix-|string |
|00002d00| 22 4c 61 73 74 20 4d 6f | 64 69 66 69 65 64 20 4f |"Last Mo|dified O|
|00002d10| 6e 3a 20 5c 6e 22 29 29 | 0a 0a 28 64 65 66 75 6e |n: \n"))|..(defun|
|00002d20| 20 68 65 61 64 65 72 2d | 75 70 64 61 74 65 2d 63 | header-|update-c|
|00002d30| 6f 75 6e 74 20 28 29 0a | 20 20 22 49 6e 73 65 72 |ount ().| "Inser|
|00002d40| 74 73 20 61 20 63 6f 75 | 6e 74 20 6f 66 20 74 68 |ts a cou|nt of th|
|00002d50| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 74 69 6d 65 |e number| of time|
|00002d60| 73 20 74 68 65 20 66 69 | 6c 65 20 68 61 73 20 62 |s the fi|le has b|
|00002d70| 65 65 6e 20 73 61 76 65 | 64 2e 20 20 54 68 69 73 |een save|d. This|
|00002d80| 20 69 73 0a 20 20 6f 66 | 74 65 6e 20 61 20 6d 6f | is. of|ten a mo|
|00002d90| 72 65 20 75 73 65 66 75 | 6c 20 6d 65 61 73 75 72 |re usefu|l measur|
|00002da0| 65 20 6f 66 20 27 61 67 | 65 27 20 61 6e 64 20 27 |e of 'ag|e' and '|
|00002db0| 6d 6f 64 69 66 69 63 61 | 74 69 6f 6e 73 27 20 74 |modifica|tions' t|
|00002dc0| 68 61 6e 20 64 61 74 65 | 73 0a 20 20 72 65 63 6f |han date|s. reco|
|00002dd0| 72 64 65 64 20 69 6e 20 | 74 68 65 20 66 69 6c 65 |rded in |the file|
|00002de0| 20 73 79 73 74 65 6d 2e | 20 20 49 74 20 69 73 20 | system.| It is |
|00002df0| 61 20 68 61 6e 64 79 20 | 63 6f 64 65 20 6d 65 74 |a handy |code met|
|00002e00| 72 69 63 20 74 68 61 74 | 20 69 73 20 61 0a 20 20 |ric that| is a. |
|00002e10| 73 75 72 70 72 69 7a 69 | 6e 67 6c 79 20 67 6f 6f |surprizi|ngly goo|
|00002e20| 64 20 69 6e 64 69 63 61 | 74 69 6f 6e 20 6f 66 20 |d indica|tion of |
|00002e30| 66 69 6c 65 20 63 6f 6d | 70 6c 65 78 69 74 79 20 |file com|plexity |
|00002e40| 61 6e 64 20 63 61 6e 20 | 6f 66 74 65 6e 20 68 65 |and can |often he|
|00002e50| 6c 70 0a 20 20 69 6e 64 | 69 63 61 74 65 20 77 68 |lp. ind|icate wh|
|00002e60| 69 63 68 20 6d 6f 64 75 | 6c 65 73 20 68 61 76 65 |ich modu|les have|
|00002e70| 20 62 65 65 6e 20 63 68 | 61 6e 67 65 64 20 73 6f | been ch|anged so|
|00002e80| 20 6d 75 63 68 20 74 68 | 61 74 20 74 68 65 79 20 | much th|at they |
|00002e90| 6e 65 65 64 20 61 20 72 | 65 74 68 69 6e 6b 2e 0a |need a r|ethink..|
|00002ea0| 20 20 49 74 20 61 6c 73 | 6f 20 61 73 73 69 73 74 | It als|o assist|
|00002eb0| 20 72 65 63 6f 76 65 72 | 79 20 66 72 6f 6d 20 73 | recover|y from s|
|00002ec0| 6f 75 72 63 65 20 63 6f | 6e 74 72 6f 6c 20 6d 69 |ource co|ntrol mi|
|00002ed0| 78 75 70 73 2e 22 20 20 | 0a 20 20 28 69 6e 73 65 |xups." |. (inse|
|00002ee0| 72 74 20 68 65 61 64 65 | 72 2d 70 72 65 66 69 78 |rt heade|r-prefix|
|00002ef0| 2d 73 74 72 69 6e 67 20 | 20 22 55 70 64 61 74 65 |-string | "Update|
|00002f00| 20 43 6f 75 6e 74 20 20 | 20 20 3a 20 30 5c 6e 22 | Count | : 0\n"|
|00002f10| 29 29 0a 0a 28 64 65 66 | 75 6e 20 68 65 61 64 65 |))..(def|un heade|
|00002f20| 72 2d 73 74 61 74 75 73 | 20 28 29 0a 20 20 22 49 |r-status| (). "I|
|00002f30| 6e 73 65 72 74 73 20 61 | 20 73 74 61 74 75 73 20 |nserts a| status |
|00002f40| 6c 69 6e 65 20 74 68 61 | 74 20 73 68 6f 75 6c 64 |line tha|t should|
|00002f50| 20 62 65 20 6d 61 6e 75 | 61 6c 6c 79 20 65 64 69 | be manu|ally edi|
|00002f60| 74 65 64 20 74 6f 20 72 | 65 66 6c 65 63 74 20 74 |ted to r|eflect t|
|00002f70| 68 65 0a 20 20 20 67 65 | 6e 65 72 61 6c 20 63 6f |he. ge|neral co|
|00002f80| 6e 64 69 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 65 |ndition |of the e|
|00002f90| 6e 74 69 72 65 20 6d 6f | 64 75 6c 65 2e 22 0a 20 |ntire mo|dule.". |
|00002fa0| 20 28 69 6e 73 65 72 74 | 20 68 65 61 64 65 72 2d | (insert| header-|
|00002fb0| 70 72 65 66 69 78 2d 73 | 74 72 69 6e 67 0a 09 20 |prefix-s|tring.. |
|00002fc0| 20 22 53 74 61 74 75 73 | 20 20 20 20 20 20 20 20 | "Status| |
|00002fd0| 20 20 3a 20 55 6e 6b 6e | 6f 77 6e 2c 20 55 73 65 | : Unkn|own, Use|
|00002fe0| 20 77 69 74 68 20 63 61 | 75 74 69 6f 6e 21 5c 6e | with ca|ution!\n|
|00002ff0| 22 29 29 0a 0a 28 64 65 | 66 75 6e 20 68 65 61 64 |"))..(de|fun head|
|00003000| 65 72 2d 68 69 73 74 6f | 72 79 20 28 29 0a 20 20 |er-histo|ry (). |
|00003010| 22 49 6e 73 65 72 74 73 | 20 48 49 53 54 4f 52 59 |"Inserts| HISTORY|
|00003020| 20 6c 69 6e 65 20 69 6e | 74 6f 20 68 65 61 64 65 | line in|to heade|
|00003030| 72 20 66 6f 72 20 6c 61 | 74 65 72 20 75 73 65 20 |r for la|ter use |
|00003040| 62 79 20 6d 61 6b 65 2d | 72 65 76 69 73 69 6f 6e |by make-|revision|
|00003050| 2e 0a 20 20 20 57 69 74 | 68 6f 75 74 20 74 68 69 |.. Wit|hout thi|
|00003060| 73 2c 20 6d 61 6b 65 20 | 68 69 73 74 6f 72 79 20 |s, make |history |
|00003070| 77 69 6c 6c 20 69 6e 73 | 65 72 74 20 61 66 74 65 |will ins|ert afte|
|00003080| 72 20 74 68 65 20 68 65 | 61 64 65 72 2e 22 0a 20 |r the he|ader.". |
|00003090| 20 28 69 6e 73 65 72 74 | 20 68 65 61 64 65 72 2d | (insert| header-|
|000030a0| 70 72 65 66 69 78 2d 73 | 74 72 69 6e 67 20 20 22 |prefix-s|tring "|
|000030b0| 48 49 53 54 4f 52 59 5c | 6e 22 29 29 0a 0a 28 64 |HISTORY\|n"))..(d|
|000030c0| 65 66 75 6e 20 68 65 61 | 64 65 72 2d 70 75 72 70 |efun hea|der-purp|
|000030d0| 6f 73 65 20 28 29 0a 20 | 20 22 49 6e 73 65 72 74 |ose (). | "Insert|
|000030e0| 73 20 61 20 6c 69 6e 65 | 20 74 68 61 74 20 73 74 |s a line| that st|
|000030f0| 61 72 74 73 20 61 20 73 | 65 63 74 69 6f 6e 20 74 |arts a s|ection t|
|00003100| 68 61 74 20 73 68 6f 75 | 6c 64 20 64 65 73 63 72 |hat shou|ld descr|
|00003110| 69 62 65 20 74 68 65 20 | 70 75 72 70 6f 73 65 20 |ibe the |purpose |
|00003120| 6f 66 0a 20 20 20 74 68 | 65 20 66 69 6c 65 2f 6d |of. th|e file/m|
|00003130| 6f 64 75 6c 65 2e 22 0a | 20 20 28 69 6e 73 65 72 |odule.".| (inser|
|00003140| 74 20 68 65 61 64 65 72 | 2d 70 72 65 66 69 78 2d |t header|-prefix-|
|00003150| 73 74 72 69 6e 67 20 20 | 22 50 55 52 50 4f 53 45 |string |"PURPOSE|
|00003160| 5c 6e 22 0a 09 20 20 68 | 65 61 64 65 72 2d 70 72 |\n".. h|eader-pr|
|00003170| 65 66 69 78 2d 73 74 72 | 69 6e 67 20 22 09 7c 3e |efix-str|ing ".|>|
|00003180| 44 65 73 63 72 69 70 74 | 69 6f 6e 20 6f 66 20 6d |Descript|ion of m|
|00003190| 6f 64 75 6c 65 73 20 70 | 75 72 70 6f 73 65 3c 7c |odules p|urpose<||
|000031a0| 5c 6e 22 29 29 0a 0a 28 | 64 65 66 75 6e 20 68 65 |\n"))..(|defun he|
|000031b0| 61 64 65 72 2d 74 6f 63 | 20 28 29 0a 20 20 22 49 |ader-toc| (). "I|
|000031c0| 6e 73 65 72 74 73 20 61 | 20 6c 69 6e 65 20 74 68 |nserts a| line th|
|000031d0| 61 74 20 73 74 61 72 74 | 73 20 61 20 73 65 63 74 |at start|s a sect|
|000031e0| 69 6f 6e 20 74 68 61 74 | 20 73 68 6f 75 6c 64 20 |ion that| should |
|000031f0| 64 65 73 63 72 69 62 65 | 20 65 61 63 68 20 66 75 |describe| each fu|
|00003200| 6e 63 74 69 6f 6e 0a 20 | 20 20 64 65 66 69 6e 65 |nction. | define|
|00003210| 64 20 69 6e 20 74 68 65 | 20 6d 6f 64 75 6c 65 20 |d in the| module |
|00003220| 74 68 61 74 20 69 73 20 | 73 69 67 6e 69 66 69 63 |that is |signific|
|00003230| 61 6e 74 20 74 6f 20 65 | 78 74 65 72 6e 61 6c 20 |ant to e|xternal |
|00003240| 75 73 65 72 73 2e 22 0a | 20 20 28 69 6e 73 65 72 |users.".| (inser|
|00003250| 74 20 68 65 61 64 65 72 | 2d 70 72 65 66 69 78 2d |t header|-prefix-|
|00003260| 73 74 72 69 6e 67 20 20 | 22 54 41 42 4c 45 20 4f |string |"TABLE O|
|00003270| 46 20 43 4f 4e 54 45 4e | 54 53 5c 6e 22 20 68 65 |F CONTEN|TS\n" he|
|00003280| 61 64 65 72 2d 70 72 65 | 66 69 78 2d 73 74 72 69 |ader-pre|fix-stri|
|00003290| 6e 67 20 22 5c 6e 22 29 | 29 0a 0a 28 64 65 66 75 |ng "\n")|)..(defu|
|000032a0| 6e 20 68 65 61 64 65 72 | 2d 72 63 73 20 28 29 0a |n header|-rcs ().|
|000032b0| 20 20 22 49 6e 73 65 72 | 74 73 20 6c 69 6e 65 73 | "Inser|ts lines|
|000032c0| 20 74 6f 20 72 65 63 6f | 72 64 20 72 63 73 20 69 | to reco|rd rcs i|
|000032d0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 2e 22 0a 20 20 28 |nformati|on.". (|
|000032e0| 69 6e 73 65 72 74 20 68 | 65 61 64 65 72 2d 70 72 |insert h|eader-pr|
|000032f0| 65 66 69 78 2d 73 74 72 | 69 6e 67 0a 09 20 20 22 |efix-str|ing.. "|
|00003300| 24 4c 6f 63 6b 65 72 24 | 5c 6e 22 09 0a 09 20 20 |$Locker$|\n"... |
|00003310| 68 65 61 64 65 72 2d 70 | 72 65 66 69 78 2d 73 74 |header-p|refix-st|
|00003320| 72 69 6e 67 0a 09 20 20 | 22 24 4c 6f 67 24 5c 6e |ring.. |"$Log$\n|
|00003330| 22 29 29 0a 0a 28 64 65 | 66 75 6e 20 68 65 61 64 |"))..(de|fun head|
|00003340| 65 72 2d 73 63 63 73 20 | 28 29 0a 20 20 22 49 6e |er-sccs |(). "In|
|00003350| 73 65 72 74 73 20 61 20 | 6c 69 6e 65 20 74 6f 20 |serts a |line to |
|00003360| 72 65 63 6f 72 64 20 73 | 63 63 73 20 69 6e 66 6f |record s|ccs info|
|00003370| 72 6d 61 74 69 6f 6e 2e | 22 0a 20 20 28 69 6e 73 |rmation.|". (ins|
|00003380| 65 72 74 20 68 65 61 64 | 65 72 2d 70 72 65 66 69 |ert head|er-prefi|
|00003390| 78 2d 73 74 72 69 6e 67 | 20 22 53 43 43 53 20 53 |x-string| "SCCS S|
|000033a0| 74 61 74 75 73 20 20 20 | 20 20 3a 20 25 57 25 5c |tatus | : %W%\|
|000033b0| 74 25 47 25 5c 6e 22 29 | 29 0a 0a 28 64 65 66 75 |t%G%\n")|)..(defu|
|000033c0| 6e 20 68 65 61 64 65 72 | 2d 41 46 53 20 28 29 0a |n header|-AFS ().|
|000033d0| 20 20 22 49 6e 73 65 72 | 74 73 20 61 20 6c 69 6e | "Inser|ts a lin|
|000033e0| 65 20 74 6f 20 72 65 63 | 6f 72 64 20 53 48 41 50 |e to rec|ord SHAP|
|000033f0| 45 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 2e 22 0a |E inform|ation.".|
|00003400| 20 20 28 69 6e 73 65 72 | 74 20 68 65 61 64 65 72 | (inser|t header|
|00003410| 2d 70 72 65 66 69 78 2d | 73 74 72 69 6e 67 20 22 |-prefix-|string "|
|00003420| 41 46 53 49 44 20 20 20 | 20 20 20 20 20 20 20 20 |AFSID | |
|00003430| 3a 20 24 5f 5f 48 65 61 | 64 65 72 24 5c 6e 22 29 |: $__Hea|der$\n")|
|00003440| 29 0a 0a 28 64 65 66 75 | 6e 20 68 65 61 64 65 72 |)..(defu|n header|
|00003450| 2d 63 6f 70 79 72 69 67 | 68 74 20 28 29 0a 20 20 |-copyrig|ht (). |
|00003460| 22 49 6e 73 65 72 74 73 | 20 74 68 65 20 63 6f 70 |"Inserts| the cop|
|00003470| 79 72 69 67 68 74 20 6e | 6f 74 69 63 65 20 73 74 |yright n|otice st|
|00003480| 6f 72 65 64 20 69 6e 20 | 74 68 65 20 76 61 72 69 |ored in |the vari|
|00003490| 61 62 6c 65 20 68 65 61 | 64 65 72 2d 63 6f 70 79 |able hea|der-copy|
|000034a0| 72 69 67 68 74 2d 6e 6f | 74 69 63 65 2e 0a 20 20 |right-no|tice.. |
|000034b0| 20 54 68 69 73 20 76 61 | 6c 75 65 20 6d 61 79 20 | This va|lue may |
|000034c0| 62 65 20 6e 69 6c 2e 22 | 0a 20 20 28 69 66 20 68 |be nil."|. (if h|
|000034d0| 65 61 64 65 72 2d 63 6f | 70 79 72 69 67 68 74 2d |eader-co|pyright-|
|000034e0| 6e 6f 74 69 63 65 0a 20 | 20 20 20 20 20 28 6c 65 |notice. | (le|
|000034f0| 74 20 28 28 73 74 61 72 | 74 20 28 70 6f 69 6e 74 |t ((star|t (point|
|00003500| 29 29 29 0a 09 28 69 6e | 73 65 72 74 20 68 65 61 |)))..(in|sert hea|
|00003510| 64 65 72 2d 63 6f 70 79 | 72 69 67 68 74 2d 6e 6f |der-copy|right-no|
|00003520| 74 69 63 65 29 0a 09 28 | 73 61 76 65 2d 72 65 73 |tice)..(|save-res|
|00003530| 74 72 69 63 74 69 6f 6e | 0a 09 20 20 28 6e 61 72 |triction|.. (nar|
|00003540| 72 6f 77 2d 74 6f 2d 72 | 65 67 69 6f 6e 20 73 74 |row-to-r|egion st|
|00003550| 61 72 74 20 28 70 6f 69 | 6e 74 29 29 0a 09 20 20 |art (poi|nt)).. |
|00003560| 28 67 6f 74 6f 2d 63 68 | 61 72 20 28 70 6f 69 6e |(goto-ch|ar (poin|
|00003570| 74 2d 6d 69 6e 29 29 0a | 09 20 20 3b 3b 20 49 20 |t-min)).|. ;; I |
|00003580| 6d 75 73 74 20 6e 6f 77 | 20 69 6e 73 65 72 74 20 |must now| insert |
|00003590| 74 68 65 20 68 65 61 64 | 65 72 20 70 72 65 66 69 |the head|er prefi|
|000035a0| 78 2e 20 20 49 20 63 61 | 6e 6e 6f 74 20 6a 75 73 |x. I ca|nnot jus|
|000035b0| 74 20 64 6f 20 61 0a 09 | 20 20 3b 3b 20 72 65 70 |t do a..| ;; rep|
|000035c0| 6c 61 63 65 20 73 74 72 | 69 6e 67 20 62 65 63 61 |lace str|ing beca|
|000035d0| 75 73 65 20 74 68 61 74 | 20 77 6f 75 6c 64 20 63 |use that| would c|
|000035e0| 61 75 73 65 20 74 6f 6f | 20 6d 61 6e 79 20 75 6e |ause too| many un|
|000035f0| 64 6f 20 62 6f 75 6e 64 | 72 69 65 73 2e 0a 09 20 |do bound|ries... |
|00003600| 20 28 69 6e 73 65 72 74 | 20 68 65 61 64 65 72 2d | (insert| header-|
|00003610| 70 72 65 66 69 78 2d 73 | 74 72 69 6e 67 29 0a 09 |prefix-s|tring)..|
|00003620| 20 20 28 77 68 69 6c 65 | 20 28 70 72 6f 67 6e 20 | (while| (progn |
|00003630| 28 73 6b 69 70 2d 63 68 | 61 72 73 2d 66 6f 72 77 |(skip-ch|ars-forw|
|00003640| 61 72 64 20 22 5e 5c 6e | 22 29 20 28 6c 6f 6f 6b |ard "^\n|") (look|
|00003650| 69 6e 67 2d 61 74 20 22 | 5c 6e 22 29 29 0a 09 20 |ing-at "|\n")).. |
|00003660| 20 20 20 28 66 6f 72 77 | 61 72 64 2d 63 68 61 72 | (forw|ard-char|
|00003670| 20 31 29 0a 09 20 20 20 | 20 28 69 6e 73 65 72 74 | 1).. | (insert|
|00003680| 20 68 65 61 64 65 72 2d | 70 72 65 66 69 78 2d 73 | header-|prefix-s|
|00003690| 74 72 69 6e 67 29 29 0a | 09 20 20 28 67 6f 74 6f |tring)).|. (goto|
|000036a0| 2d 63 68 61 72 20 28 70 | 6f 69 6e 74 2d 6d 61 78 |-char (p|oint-max|
|000036b0| 29 29 29 0a 09 28 69 6e | 73 65 72 74 20 22 5c 6e |)))..(in|sert "\n|
|000036c0| 22 29 29 29 29 0a 0a 28 | 64 65 66 75 6e 20 68 65 |"))))..(|defun he|
|000036d0| 61 64 65 72 2d 73 68 65 | 6c 6c 20 28 29 0a 20 20 |ader-she|ll (). |
|000036e0| 22 49 6e 73 65 72 74 73 | 20 61 20 6b 65 72 6e 61 |"Inserts| a kerna|
|000036f0| 6c 20 73 68 65 6c 6c 20 | 73 70 65 63 69 66 69 65 |l shell |specifie|
|00003700| 72 20 6c 69 6e 65 2e 20 | 55 73 65 73 20 74 68 65 |r line. |Uses the|
|00003710| 20 73 61 6d 65 20 73 68 | 65 6c 6c 20 6e 61 6d 65 | same sh|ell name|
|00003720| 64 20 69 6e 0a 20 20 20 | 65 78 70 6c 69 63 69 74 |d in. |explicit|
|00003730| 2d 73 68 65 6c 6c 2d 66 | 69 6c 65 2d 6e 61 6d 65 |-shell-f|ile-name|
|00003740| 2c 20 74 68 65 20 45 53 | 48 45 4c 4c 20 65 6e 76 |, the ES|HELL env|
|00003750| 69 72 6f 6e 6d 65 6e 74 | 20 76 61 72 69 61 62 6c |ironment| variabl|
|00003760| 65 2c 20 74 68 65 20 53 | 48 45 4c 4c 0a 20 20 20 |e, the S|HELL. |
|00003770| 20 65 6e 76 69 72 6f 6e | 6d 65 6e 74 20 76 61 72 | environ|ment var|
|00003780| 69 61 62 6c 65 2c 20 6f | 72 20 27 2f 62 69 6e 2f |iable, o|r '/bin/|
|00003790| 73 68 27 2e 20 28 54 68 | 69 73 20 69 73 20 74 68 |sh'. (Th|is is th|
|000037a0| 65 20 73 61 6d 65 20 73 | 68 65 6c 6c 20 74 68 61 |e same s|hell tha|
|000037b0| 74 20 74 68 65 0a 20 20 | 20 73 68 65 6c 6c 20 63 |t the. | shell c|
|000037c0| 6f 6d 6d 61 6e 64 20 75 | 73 65 73 2e 22 0a 20 20 |ommand u|ses.". |
|000037d0| 28 69 6e 73 65 72 74 20 | 22 23 21 22 20 28 6f 72 |(insert |"#!" (or|
|000037e0| 20 28 61 6e 64 20 28 62 | 6f 75 6e 64 70 20 27 65 | (and (b|oundp 'e|
|000037f0| 78 70 6c 69 63 69 74 2d | 73 68 65 6c 6c 2d 66 69 |xplicit-|shell-fi|
|00003800| 6c 65 2d 6e 61 6d 65 29 | 0a 09 09 09 20 65 78 70 |le-name)|.... exp|
|00003810| 6c 69 63 69 74 2d 73 68 | 65 6c 6c 2d 66 69 6c 65 |licit-sh|ell-file|
|00003820| 2d 6e 61 6d 65 29 0a 09 | 09 20 20 20 28 67 65 74 |-name)..|. (get|
|00003830| 65 6e 76 20 22 45 53 48 | 45 4c 4c 22 29 0a 09 09 |env "ESH|ELL")...|
|00003840| 20 20 20 28 67 65 74 65 | 6e 76 20 22 53 48 45 4c | (gete|nv "SHEL|
|00003850| 4c 22 29 0a 09 09 20 20 | 20 22 2f 62 69 6e 2f 73 |L")... | "/bin/s|
|00003860| 68 22 29 0a 09 20 20 22 | 5c 6e 22 29 29 0a 0a 28 |h").. "|\n"))..(|
|00003870| 64 65 66 75 6e 20 68 65 | 61 64 65 72 2d 6d 6f 64 |defun he|ader-mod|
|00003880| 65 2d 6c 69 6e 65 20 28 | 29 0a 20 20 22 49 6e 73 |e-line (|). "Ins|
|00003890| 65 72 74 73 20 74 68 65 | 20 6d 6f 64 65 20 6c 69 |erts the| mode li|
|000038a0| 6e 65 20 69 6e 74 6f 20 | 74 68 65 20 62 75 66 66 |ne into |the buff|
|000038b0| 65 72 2e 22 0a 20 20 28 | 6c 65 74 2a 20 28 28 6d |er.". (|let* ((m|
|000038c0| 6f 64 65 2d 64 65 63 6c | 61 72 61 74 69 6f 6e 0a |ode-decl|aration.|
|000038d0| 09 20 20 28 63 6f 6e 63 | 61 74 20 22 20 2d 2a 2d |. (conc|at " -*-|
|000038e0| 20 4d 6f 64 65 3a 20 22 | 20 28 74 72 75 65 2d 6d | Mode: "| (true-m|
|000038f0| 6f 64 65 2d 6e 61 6d 65 | 29 0a 09 09 20 20 28 69 |ode-name|)... (i|
|00003900| 66 20 28 61 73 73 6f 63 | 20 27 63 2d 73 74 79 6c |f (assoc| 'c-styl|
|00003910| 65 20 28 62 75 66 66 65 | 72 2d 6c 6f 63 61 6c 2d |e (buffe|r-local-|
|00003920| 76 61 72 69 61 62 6c 65 | 73 29 29 0a 09 09 20 20 |variable|s))... |
|00003930| 20 20 20 20 28 63 6f 6e | 63 61 74 20 22 3b 20 43 | (con|cat "; C|
|00003940| 2d 53 74 79 6c 65 3a 20 | 22 20 28 73 79 6d 62 6f |-Style: |" (symbo|
|00003950| 6c 2d 6e 61 6d 65 20 63 | 2d 73 74 79 6c 65 29 29 |l-name c|-style))|
|00003960| 0a 09 09 20 20 20 20 22 | 22 29 0a 09 09 20 20 22 |... "|")... "|
|00003970| 20 2d 2a 2d 20 22 29 29 | 0a 09 20 28 6d 64 2d 6c | -*- "))|.. (md-l|
|00003980| 65 6e 67 74 68 20 28 6c | 65 6e 67 74 68 20 6d 6f |ength (l|ength mo|
|00003990| 64 65 2d 64 65 63 6c 61 | 72 61 74 69 6f 6e 29 29 |de-decla|ration))|
|000039a0| 29 0a 20 20 20 20 28 69 | 6e 73 65 72 74 20 28 63 |). (i|nsert (c|
|000039b0| 6f 6e 64 0a 09 20 20 20 | 20 20 28 28 61 6e 64 20 |ond.. | ((and |
|000039c0| 63 6f 6d 6d 65 6e 74 2d | 73 74 61 72 74 20 28 3d |comment-|start (=|
|000039d0| 20 28 6c 65 6e 67 74 68 | 20 63 6f 6d 6d 65 6e 74 | (length| comment|
|000039e0| 2d 73 74 61 72 74 29 20 | 31 29 29 0a 09 20 20 20 |-start) |1)).. |
|000039f0| 20 20 20 3b 3b 20 49 20 | 77 69 6c 6c 20 70 72 65 | ;; I |will pre|
|00003a00| 73 75 6d 65 20 74 68 61 | 74 20 74 68 65 20 63 6f |sume tha|t the co|
|00003a10| 6d 6d 65 6e 74 20 73 74 | 61 72 74 20 63 68 61 72 |mment st|art char|
|00003a20| 61 63 74 65 72 20 69 73 | 0a 09 20 20 20 20 20 20 |acter is|.. |
|00003a30| 3b 3b 20 74 68 65 20 66 | 69 6c 6c 65 72 20 63 68 |;; the f|iller ch|
|00003a40| 61 72 61 63 74 65 72 2e | 0a 09 20 20 20 20 20 20 |aracter.|.. |
|00003a50| 28 63 6f 6e 63 61 74 20 | 63 6f 6d 6d 65 6e 74 2d |(concat |comment-|
|00003a60| 73 74 61 72 74 20 63 6f | 6d 6d 65 6e 74 2d 73 74 |start co|mment-st|
|00003a70| 61 72 74 0a 09 09 20 20 | 20 20 20 20 28 6d 61 6b |art... | (mak|
|00003a80| 65 2d 73 74 72 69 6e 67 | 20 28 2f 20 28 2d 20 37 |e-string| (/ (- 7|
|00003a90| 37 20 6d 64 2d 6c 65 6e | 67 74 68 29 20 32 29 0a |7 md-len|gth) 2).|
|00003aa0| 09 09 09 09 20 20 20 28 | 61 72 65 66 20 63 6f 6d |.... (|aref com|
|00003ab0| 6d 65 6e 74 2d 73 74 61 | 72 74 20 30 29 29 0a 09 |ment-sta|rt 0))..|
|00003ac0| 09 20 20 20 20 20 20 6d | 6f 64 65 2d 64 65 63 6c |. m|ode-decl|
|00003ad0| 61 72 61 74 69 6f 6e 0a | 09 09 20 20 20 20 20 20 |aration.|.. |
|00003ae0| 28 6d 61 6b 65 2d 73 74 | 72 69 6e 67 20 28 2f 20 |(make-st|ring (/ |
|00003af0| 28 2d 20 37 38 20 6d 64 | 2d 6c 65 6e 67 74 68 29 |(- 78 md|-length)|
|00003b00| 20 32 29 0a 09 09 09 09 | 20 20 20 28 61 72 65 66 | 2).....| (aref|
|00003b10| 20 63 6f 6d 6d 65 6e 74 | 2d 73 74 61 72 74 20 30 | comment|-start 0|
|00003b20| 29 29 0a 09 09 20 20 20 | 20 20 20 29 29 0a 09 20 |))... | )).. |
|00003b30| 20 20 20 20 28 63 6f 6d | 6d 65 6e 74 2d 73 74 61 | (com|ment-sta|
|00003b40| 72 74 2d 70 0a 09 20 20 | 20 20 20 20 3b 3b 20 49 |rt-p.. | ;; I|
|00003b50| 20 77 69 6c 6c 20 70 72 | 65 73 75 6d 65 20 74 68 | will pr|esume th|
|00003b60| 61 74 20 73 70 61 63 65 | 73 20 77 69 6c 6c 20 66 |at space|s will f|
|00003b70| 69 6c 6c 20 74 68 65 20 | 67 61 70 73 0a 09 20 20 |ill the |gaps.. |
|00003b80| 20 20 20 20 28 63 6f 6e | 63 61 74 20 63 6f 6d 6d | (con|cat comm|
|00003b90| 65 6e 74 2d 73 74 61 72 | 74 0a 09 09 20 20 20 20 |ent-star|t... |
|00003ba0| 20 20 28 6d 61 6b 65 2d | 73 74 72 69 6e 67 20 28 | (make-|string (|
|00003bb0| 2f 20 28 2d 20 37 39 20 | 6d 64 2d 6c 65 6e 67 74 |/ (- 79 |md-lengt|
|00003bc0| 68 20 28 6c 65 6e 67 74 | 68 20 63 6f 6d 6d 65 6e |h (lengt|h commen|
|00003bd0| 74 2d 73 74 61 72 74 29 | 29 0a 09 09 09 09 20 20 |t-start)|)..... |
|00003be0| 20 20 20 20 32 29 20 3f | 5c 20 29 0a 09 09 20 20 | 2) ?|\ )... |
|00003bf0| 20 20 20 20 6d 6f 64 65 | 2d 64 65 63 6c 61 72 61 | mode|-declara|
|00003c00| 74 69 6f 6e 29 29 0a 09 | 20 20 20 20 20 28 74 3b |tion))..| (t;|
|00003c10| 3b 20 74 68 65 72 65 20 | 69 73 20 6e 6f 20 6b 6e |; there |is no kn|
|00003c20| 6f 77 6e 20 63 6f 6d 6d | 65 6e 74 2d 73 74 61 72 |own comm|ent-star|
|00003c30| 74 2e 20 50 72 65 73 75 | 6d 65 20 6c 69 73 70 0a |t. Presu|me lisp.|
|00003c40| 09 20 20 20 20 20 20 28 | 63 6f 6e 63 61 74 20 22 |. (|concat "|
|00003c50| 3b 3b 22 0a 09 09 20 20 | 20 20 20 20 28 6d 61 6b |;;"... | (mak|
|00003c60| 65 2d 73 74 72 69 6e 67 | 20 28 2f 20 28 2d 20 37 |e-string| (/ (- 7|
|00003c70| 37 20 6d 64 2d 6c 65 6e | 67 74 68 29 20 32 29 20 |7 md-len|gth) 2) |
|00003c80| 3f 5c 3b 29 0a 09 09 20 | 20 20 20 20 20 6d 6f 64 |?\;)... | mod|
|00003c90| 65 2d 64 65 63 6c 61 72 | 61 74 69 6f 6e 0a 09 09 |e-declar|ation...|
|00003ca0| 20 20 20 20 20 20 28 6d | 61 6b 65 2d 73 74 72 69 | (m|ake-stri|
|00003cb0| 6e 67 20 28 2f 20 28 2d | 20 37 38 20 6d 64 2d 6c |ng (/ (-| 78 md-l|
|00003cc0| 65 6e 67 74 68 29 20 32 | 29 20 3f 5c 3b 29 29 29 |ength) 2|) ?\;)))|
|00003cd0| 29 0a 09 20 20 20 20 22 | 5c 6e 22 29 29 0a 20 20 |).. "|\n")). |
|00003ce0| 29 0a 0a 28 64 65 66 75 | 6e 20 68 65 61 64 65 72 |)..(defu|n header|
|00003cf0| 2d 65 6e 64 2d 6c 69 6e | 65 20 28 29 0a 20 20 22 |-end-lin|e (). "|
|00003d00| 49 6e 73 65 72 74 73 20 | 61 20 74 72 61 69 6c 69 |Inserts |a traili|
|00003d10| 6e 67 20 64 69 76 69 73 | 6f 72 20 6c 69 6e 65 20 |ng divis|or line |
|00003d20| 66 6f 72 20 68 65 61 64 | 65 72 73 2e 22 0a 20 20 |for head|ers.". |
|00003d30| 28 69 6e 73 65 72 74 20 | 28 63 6f 6e 64 20 28 63 |(insert |(cond (c|
|00003d40| 6f 6d 6d 65 6e 74 2d 65 | 6e 64 2d 70 20 63 6f 6d |omment-e|nd-p com|
|00003d50| 6d 65 6e 74 2d 65 6e 64 | 29 0a 09 09 28 28 61 6e |ment-end|)...((an|
|00003d60| 64 20 63 6f 6d 6d 65 6e | 74 2d 73 74 61 72 74 20 |d commen|t-start |
|00003d70| 28 3d 20 28 6c 65 6e 67 | 74 68 20 63 6f 6d 6d 65 |(= (leng|th comme|
|00003d80| 6e 74 2d 73 74 61 72 74 | 29 20 31 29 29 0a 09 09 |nt-start|) 1))...|
|00003d90| 20 28 6d 61 6b 65 2d 73 | 74 72 69 6e 67 20 37 39 | (make-s|tring 79|
|00003da0| 20 28 61 72 65 66 20 63 | 6f 6d 6d 65 6e 74 2d 73 | (aref c|omment-s|
|00003db0| 74 61 72 74 20 30 29 29 | 29 0a 09 09 28 63 6f 6d |tart 0))|)...(com|
|00003dc0| 6d 65 6e 74 2d 73 74 61 | 72 74 2d 70 20 63 6f 6d |ment-sta|rt-p com|
|00003dd0| 6d 65 6e 74 2d 73 74 61 | 72 74 29 0a 09 09 28 74 |ment-sta|rt)...(t|
|00003de0| 20 20 20 20 20 20 20 28 | 6d 61 6b 65 2d 73 74 72 | (|make-str|
|00003df0| 69 6e 67 20 37 39 20 3f | 5c 3b 29 29 29 0a 09 20 |ing 79 ?|\;))).. |
|00003e00| 20 22 5c 6e 5c 6e 22 29 | 29 0a 0a 3b 3b 3b 3b 3b | "\n\n")|)..;;;;;|
|00003e10| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003e20| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003e30| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003e40| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003e50| 3b 3b 3b 0a 3b 3b 20 53 | 79 73 74 65 6d 20 56 61 |;;;.;; S|ystem Va|
|00003e60| 72 69 61 62 6c 65 73 20 | 2d 2d 20 44 6f 20 6e 6f |riables |-- Do no|
|00003e70| 74 20 6d 6f 64 69 66 79 | 2e 20 49 6e 73 74 65 61 |t modify|. Instea|
|00003e80| 64 2c 20 63 61 6c 6c 20 | 74 68 65 20 66 75 6e 63 |d, call |the func|
|00003e90| 74 69 6f 6e 73 20 74 68 | 61 74 20 6d 6f 64 69 66 |tions th|at modif|
|00003ea0| 79 2e 0a 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |y..;;;;;|;;;;;;;;|
|00003eb0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003ec0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003ed0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003ee0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 0a 28 64 65 66 |;;;;;;;;|;;;.(def|
|00003ef0| 76 61 72 20 66 69 6c 65 | 2d 68 65 61 64 65 72 2d |var file|-header-|
|00003f00| 75 70 64 61 74 65 2d 61 | 6c 69 73 74 20 28 29 0a |update-a|list ().|
|00003f10| 20 20 22 55 73 65 64 20 | 62 79 20 75 70 64 61 74 | "Used |by updat|
|00003f20| 65 20 66 69 6c 65 20 68 | 65 61 64 65 72 20 74 6f |e file h|eader to|
|00003f30| 20 6b 6e 6f 77 20 77 68 | 61 74 20 74 6f 20 64 6f | know wh|at to do|
|00003f40| 20 69 6e 20 74 68 65 20 | 66 69 6c 65 2e 20 49 73 | in the |file. Is|
|00003f50| 20 61 20 6c 69 73 74 20 | 6f 66 0a 20 20 20 73 65 | a list |of. se|
|00003f60| 74 73 20 6f 66 20 63 6f | 6e 73 20 63 65 6c 6c 73 |ts of co|ns cells|
|00003f70| 20 77 68 65 72 65 20 74 | 68 65 20 63 61 72 20 69 | where t|he car i|
|00003f80| 73 20 61 20 72 65 67 65 | 78 70 20 73 74 72 69 6e |s a rege|xp strin|
|00003f90| 67 20 61 6e 64 20 74 68 | 65 20 63 64 72 20 69 73 |g and th|e cdr is|
|00003fa0| 20 74 68 65 0a 20 20 20 | 66 63 6e 20 74 6f 20 63 | the. |fcn to c|
|00003fb0| 61 6c 6c 20 69 66 20 74 | 68 65 20 73 74 72 69 6e |all if t|he strin|
|00003fc0| 67 20 69 73 20 66 6f 75 | 6e 64 20 6e 65 61 72 20 |g is fou|nd near |
|00003fd0| 74 68 65 20 73 74 61 72 | 74 20 6f 66 20 74 68 65 |the star|t of the|
|00003fe0| 20 66 69 6c 65 2e 22 29 | 20 20 0a 0a 3b 3b 3b 3b | file.")| ..;;;;|
|00003ff0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00004000| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00004010| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00004020| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00004030| 3b 3b 3b 3b 0a 3b 3b 20 | 55 73 65 72 20 66 75 6e |;;;;.;; |User fun|
|00004040| 63 74 69 6f 6e 20 74 6f | 20 64 65 63 6c 61 72 65 |ction to| declare|
|00004050| 20 68 65 61 64 65 72 20 | 61 63 74 69 6f 6e 73 20 | header |actions |
|00004060| 6f 6e 20 61 20 73 61 76 | 65 20 66 69 6c 65 2e 0a |on a sav|e file..|
|00004070| 3b 3b 20 20 20 53 65 65 | 20 65 78 61 6d 70 6c 65 |;; See| example|
|00004080| 73 20 61 74 20 74 68 65 | 20 65 6e 64 20 6f 66 20 |s at the| end of |
|00004090| 74 68 69 73 20 66 69 6c | 65 2e 0a 3b 3b 20 49 6e |this fil|e..;; In|
|000040a0| 76 6f 6b 65 20 66 72 6f | 6d 20 73 69 74 65 2d 69 |voke fro|m site-i|
|000040b0| 6e 69 74 2e 65 6c 20 6f | 72 20 69 6e 20 2e 65 6d |nit.el o|r in .em|
|000040c0| 61 63 73 2e 0a 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |acs..;;;|;;;;;;;;|
|000040d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000040e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000040f0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00004100| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 0a 28 64 |;;;;;;;;|;;;;;.(d|
|00004110| 65 66 75 6e 20 72 65 67 | 69 73 74 65 72 2d 66 69 |efun reg|ister-fi|
|00004120| 6c 65 2d 68 65 61 64 65 | 72 2d 61 63 74 69 6f 6e |le-heade|r-action|
|00004130| 20 28 72 65 67 65 78 70 | 20 66 75 6e 63 74 69 6f | (regexp| functio|
|00004140| 6e 2d 74 6f 2d 63 61 6c | 6c 29 0a 20 20 22 41 63 |n-to-cal|l). "Ac|
|00004150| 63 65 70 74 73 20 52 45 | 47 45 58 50 20 61 6e 64 |cepts RE|GEXP and|
|00004160| 20 46 55 4e 43 54 49 4f | 4e 2d 54 4f 2d 43 41 4c | FUNCTIO|N-TO-CAL|
|00004170| 4c 2e 20 52 65 63 6f 72 | 64 73 20 0a 20 20 20 46 |L. Recor|ds . F|
|00004180| 55 4e 43 54 49 4f 4e 2d | 54 4f 2d 43 41 4c 4c 20 |UNCTION-|TO-CALL |
|00004190| 61 73 20 74 68 65 20 61 | 70 70 72 6f 70 69 61 74 |as the a|ppropiat|
|000041a0| 65 20 61 63 74 69 6f 6e | 20 74 6f 20 74 61 6b 65 |e action| to take|
|000041b0| 20 69 66 20 74 68 65 20 | 52 45 47 45 58 50 20 69 | if the |REGEXP i|
|000041c0| 73 0a 20 20 20 66 6f 75 | 6e 64 20 69 6e 20 74 68 |s. fou|nd in th|
|000041d0| 65 20 66 69 6c 65 20 68 | 65 61 64 65 72 20 77 68 |e file h|eader wh|
|000041e0| 65 6e 20 61 20 66 69 6c | 65 20 69 73 20 77 72 69 |en a fil|e is wri|
|000041f0| 74 74 65 6e 2e 20 20 54 | 68 65 20 66 75 6e 63 74 |tten. T|he funct|
|00004200| 69 6f 6e 20 77 69 6c 6c | 20 62 65 0a 20 20 20 63 |ion will| be. c|
|00004210| 61 6c 6c 65 64 20 77 69 | 74 68 20 74 68 65 20 63 |alled wi|th the c|
|00004220| 75 72 73 6f 72 20 6c 6f | 63 61 74 65 64 20 6a 75 |ursor lo|cated ju|
|00004230| 73 74 20 61 66 74 65 72 | 20 74 68 65 20 6d 61 74 |st after| the mat|
|00004240| 63 68 65 64 20 72 65 67 | 65 78 70 2e 0a 0a 20 20 |ched reg|exp... |
|00004250| 20 43 61 6c 6c 69 6e 67 | 20 74 68 69 73 20 66 63 | Calling| this fc|
|00004260| 6e 20 74 77 69 63 65 20 | 77 69 74 68 20 74 68 65 |n twice |with the|
|00004270| 20 73 61 6d 65 20 61 72 | 67 75 6d 65 6e 74 73 20 | same ar|guments |
|00004280| 6f 76 65 72 77 72 69 74 | 65 73 0a 20 20 20 74 68 |overwrit|es. th|
|00004290| 65 20 70 72 65 76 69 6f | 75 73 20 46 55 4e 43 54 |e previo|us FUNCT|
|000042a0| 49 4f 4e 2d 54 4f 2d 43 | 41 4c 4c 22 0a 20 20 28 |ION-TO-C|ALL". (|
|000042b0| 6c 65 74 20 28 28 6d 6c | 20 28 61 73 73 6f 63 20 |let ((ml| (assoc |
|000042c0| 72 65 67 65 78 70 20 66 | 69 6c 65 2d 68 65 61 64 |regexp f|ile-head|
|000042d0| 65 72 2d 75 70 64 61 74 | 65 2d 61 6c 69 73 74 29 |er-updat|e-alist)|
|000042e0| 29 29 0a 20 20 20 20 28 | 69 66 20 6d 6c 0a 09 28 |)). (|if ml..(|
|000042f0| 73 65 74 63 64 72 20 6d | 6c 20 66 75 6e 63 74 69 |setcdr m|l functi|
|00004300| 6f 6e 2d 74 6f 2d 63 61 | 6c 6c 29 3b 3b 20 6f 76 |on-to-ca|ll);; ov|
|00004310| 65 72 77 72 69 74 65 20 | 6f 6c 64 20 64 65 66 6e |erwrite |old defn|
|00004320| 0a 20 20 20 20 20 20 3b | 3b 20 54 68 69 73 20 65 |. ;|; This e|
|00004330| 6e 74 72 79 20 69 73 20 | 6e 65 77 20 74 6f 20 75 |ntry is |new to u|
|00004340| 73 2e 20 41 64 64 20 74 | 6f 20 74 68 65 20 6d 61 |s. Add t|o the ma|
|00004350| 73 74 65 72 20 61 6c 69 | 73 74 0a 20 20 20 20 20 |ster ali|st. |
|00004360| 20 28 73 65 74 71 20 66 | 69 6c 65 2d 68 65 61 64 | (setq f|ile-head|
|00004370| 65 72 2d 75 70 64 61 74 | 65 2d 61 6c 69 73 74 0a |er-updat|e-alist.|
|00004380| 09 20 20 20 20 28 63 6f | 6e 73 20 28 63 6f 6e 73 |. (co|ns (cons|
|00004390| 20 72 65 67 65 78 70 20 | 66 75 6e 63 74 69 6f 6e | regexp |function|
|000043a0| 2d 74 6f 2d 63 61 6c 6c | 29 0a 09 09 20 20 66 69 |-to-call|)... fi|
|000043b0| 6c 65 2d 68 65 61 64 65 | 72 2d 75 70 64 61 74 65 |le-heade|r-update|
|000043c0| 2d 61 6c 69 73 74 29 29 | 29 29 29 0a 0a 3b 3b 3b |-alist))|)))..;;;|
|000043d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000043e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000043f0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00004400| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00004410| 3b 3b 3b 3b 3b 0a 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;.;;|;;;;;;;;|
|00004420| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00004430| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00004440| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00004450| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 0a 3b |;;;;;;;;|;;;;;;.;|
|00004460| 3b 20 48 65 61 64 65 72 | 20 61 6e 64 20 66 69 6c |; Header| and fil|
|00004470| 65 20 64 69 76 69 73 69 | 6f 6e 20 68 65 61 64 65 |e divisi|on heade|
|00004480| 72 20 63 72 65 61 74 69 | 6f 6e 20 63 6f 64 65 0a |r creati|on code.|
|00004490| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000044a0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000044b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000044c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000044d0| 3b 3b 3b 3b 3b 3b 3b 3b | 0a 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|.;;;;;;;|
|000044e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000044f0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00004500| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00004510| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00004520| 3b 0a 28 64 65 66 75 6e | 20 74 72 75 65 2d 6d 6f |;.(defun| true-mo|
|00004530| 64 65 2d 6e 61 6d 65 20 | 28 29 0a 20 20 22 52 65 |de-name |(). "Re|
|00004540| 74 75 72 6e 73 20 74 68 | 65 20 6e 61 6d 65 20 6f |turns th|e name o|
|00004550| 66 20 74 68 65 20 6d 6f | 64 65 20 69 6e 20 73 75 |f the mo|de in su|
|00004560| 63 68 20 61 20 66 6f 72 | 6d 20 74 68 61 74 20 74 |ch a for|m that t|
|00004570| 68 65 20 6d 6f 64 65 20 | 6d 61 79 20 62 65 0a 20 |he mode |may be. |
|00004580| 20 72 65 2d 65 73 74 61 | 62 6c 69 73 68 65 64 20 | re-esta|blished |
|00004590| 62 79 20 63 61 6c 6c 69 | 6e 67 20 74 68 65 20 66 |by calli|ng the f|
|000045a0| 75 6e 63 74 69 6f 6e 20 | 6e 61 6d 65 64 20 62 79 |unction |named by|
|000045b0| 20 61 70 70 65 6e 64 69 | 6e 67 20 27 2d 6e 61 6d | appendi|ng '-nam|
|000045c0| 65 27 20 74 6f 0a 20 20 | 74 68 69 73 20 73 74 72 |e' to. |this str|
|000045d0| 69 6e 67 2e 20 20 54 68 | 69 73 20 64 69 66 66 65 |ing. Th|is diffe|
|000045e0| 72 73 20 66 72 6f 6d 20 | 74 68 65 20 76 61 72 69 |rs from |the vari|
|000045f0| 61 62 6c 65 20 63 61 6c | 6c 65 64 20 6d 6f 64 65 |able cal|led mode|
|00004600| 2d 6e 61 6d 65 20 69 6e | 20 74 68 61 74 0a 20 20 |-name in| that. |
|00004610| 74 68 69 73 20 69 73 20 | 67 75 61 72 61 6e 74 65 |this is |guarante|
|00004620| 65 64 20 74 6f 20 77 6f | 72 6b 20 77 68 69 6c 65 |ed to wo|rk while|
|00004630| 20 74 68 65 20 76 61 6c | 75 65 73 20 68 65 6c 64 | the val|ues held|
|00004640| 20 62 79 20 74 68 65 20 | 76 61 72 69 61 62 6c 65 | by the |variable|
|00004650| 20 6d 61 79 0a 20 20 68 | 61 76 65 20 65 6d 62 65 | may. h|ave embe|
|00004660| 64 64 65 64 20 73 70 61 | 63 65 73 20 6f 72 20 6f |dded spa|ces or o|
|00004670| 74 68 65 72 20 6a 75 6e | 6b 2e 0a 0a 20 20 54 48 |ther jun|k... TH|
|00004680| 49 53 20 4d 4f 44 45 20 | 4e 41 4d 45 20 49 53 20 |IS MODE |NAME IS |
|00004690| 47 55 41 52 41 4e 54 45 | 45 44 20 4f 4b 20 54 4f |GUARANTE|ED OK TO|
|000046a0| 20 55 53 45 20 49 4e 20 | 54 48 45 20 4d 4f 44 45 | USE IN |THE MODE|
|000046b0| 20 4c 49 4e 45 2e 22 0a | 20 20 28 6c 65 74 20 28 | LINE.".| (let (|
|000046c0| 28 6d 61 6a 6f 72 2d 6d | 6f 64 65 2d 6e 61 6d 65 |(major-m|ode-name|
|000046d0| 20 28 73 79 6d 62 6f 6c | 2d 6e 61 6d 65 20 6d 61 | (symbol|-name ma|
|000046e0| 6a 6f 72 2d 6d 6f 64 65 | 29 29 29 0a 20 20 20 20 |jor-mode|))). |
|000046f0| 28 63 61 70 69 74 61 6c | 69 7a 65 20 28 73 75 62 |(capital|ize (sub|
|00004700| 73 74 72 69 6e 67 20 6d | 61 6a 6f 72 2d 6d 6f 64 |string m|ajor-mod|
|00004710| 65 2d 6e 61 6d 65 20 30 | 0a 09 09 09 20 20 20 28 |e-name 0|.... (|
|00004720| 6f 72 20 20 20 28 73 74 | 72 69 6e 67 2d 6d 61 74 |or (st|ring-mat|
|00004730| 63 68 20 22 2d 6d 6f 64 | 65 22 20 6d 61 6a 6f 72 |ch "-mod|e" major|
|00004740| 2d 6d 6f 64 65 2d 6e 61 | 6d 65 29 0a 09 09 09 09 |-mode-na|me).....|
|00004750| 20 28 6c 65 6e 67 74 68 | 20 6d 61 6a 6f 72 2d 6d | (length| major-m|
|00004760| 6f 64 65 2d 6e 61 6d 65 | 29 29 29 29 29 29 0a 0a |ode-name|))))))..|
|00004770| 0a 28 64 65 66 75 6e 20 | 68 65 61 64 65 72 2d 70 |.(defun |header-p|
|00004780| 72 65 66 69 78 2d 73 74 | 72 69 6e 67 20 28 29 0a |refix-st|ring ().|
|00004790| 20 20 22 52 65 74 75 72 | 6e 73 20 61 20 6d 6f 64 | "Retur|ns a mod|
|000047a0| 65 20 73 70 65 63 69 66 | 69 63 20 70 72 65 66 69 |e specif|ic prefi|
|000047b0| 78 20 73 74 72 69 6e 67 | 20 66 6f 72 20 75 73 65 |x string| for use|
|000047c0| 20 69 6e 20 68 65 61 64 | 65 72 73 2e 20 49 73 20 | in head|ers. Is |
|000047d0| 73 65 6e 73 69 74 69 76 | 65 0a 20 20 20 74 6f 20 |sensitiv|e. to |
|000047e0| 74 68 65 20 76 61 72 69 | 6f 75 73 20 6c 61 6e 67 |the vari|ous lang|
|000047f0| 75 61 67 65 20 64 65 70 | 65 6e 64 65 6e 74 20 63 |uage dep|endent c|
|00004800| 6f 6d 6d 65 6e 74 20 63 | 6f 76 65 6e 74 69 6f 6e |omment c|ovention|
|00004810| 73 2e 22 0a 20 20 28 6c | 65 74 20 28 28 63 6f 6d |s.". (l|et ((com|
|00004820| 6d 65 6e 74 2d 65 6e 64 | 2d 70 20 28 61 6e 64 20 |ment-end|-p (and |
|00004830| 63 6f 6d 6d 65 6e 74 2d | 65 6e 64 0a 09 09 09 20 |comment-|end.... |
|00004840| 20 20 20 28 6e 6f 74 20 | 28 73 74 72 69 6e 67 2d | (not |(string-|
|00004850| 65 71 75 61 6c 20 63 6f | 6d 6d 65 6e 74 2d 65 6e |equal co|mment-en|
|00004860| 64 20 22 22 29 29 29 29 | 29 0a 20 20 20 20 28 63 |d ""))))|). (c|
|00004870| 6f 6e 64 0a 20 20 20 20 | 20 28 28 61 6e 64 20 63 |ond. | ((and c|
|00004880| 6f 6d 6d 65 6e 74 2d 73 | 74 61 72 74 20 28 3d 20 |omment-s|tart (= |
|00004890| 28 6c 65 6e 67 74 68 20 | 63 6f 6d 6d 65 6e 74 2d |(length |comment-|
|000048a0| 73 74 61 72 74 29 20 31 | 29 29 0a 20 20 20 20 20 |start) 1|)). |
|000048b0| 20 28 63 6f 6e 63 61 74 | 20 63 6f 6d 6d 65 6e 74 | (concat| comment|
|000048c0| 2d 73 74 61 72 74 20 63 | 6f 6d 6d 65 6e 74 2d 73 |-start c|omment-s|
|000048d0| 74 61 72 74 20 22 20 22 | 29 29 0a 20 20 20 20 20 |tart " "|)). |
|000048e0| 3b 3b 20 53 70 65 63 69 | 61 6c 20 63 61 73 65 2c |;; Speci|al case,|
|000048f0| 20 74 68 72 65 65 20 6c | 65 74 74 65 72 20 63 6f | three l|etter co|
|00004900| 6d 6d 65 6e 74 20 73 74 | 61 72 74 73 20 77 68 65 |mment st|arts whe|
|00004910| 72 65 20 74 68 65 20 66 | 69 72 73 74 20 61 6e 64 |re the f|irst and|
|00004920| 0a 20 20 20 20 20 3b 3b | 20 73 65 63 6f 6e 64 20 |. ;;| second |
|00004930| 6c 65 74 74 65 72 73 20 | 61 72 65 20 74 68 65 20 |letters |are the |
|00004940| 73 61 6d 65 2e 20 28 69 | 2e 65 2e 20 63 2b 2b 20 |same. (i|.e. c++ |
|00004950| 61 6e 64 20 61 64 61 29 | 0a 20 20 20 20 20 28 28 |and ada)|. ((|
|00004960| 61 6e 64 20 63 6f 6d 6d | 65 6e 74 2d 73 74 61 72 |and comm|ent-star|
|00004970| 74 20 28 3d 20 28 6c 65 | 6e 67 74 68 20 63 6f 6d |t (= (le|ngth com|
|00004980| 6d 65 6e 74 2d 73 74 61 | 72 74 29 20 33 29 0a 09 |ment-sta|rt) 3)..|
|00004990| 20 20 20 28 65 71 75 61 | 6c 20 28 61 72 65 66 20 | (equa|l (aref |
|000049a0| 63 6f 6d 6d 65 6e 74 2d | 73 74 61 72 74 20 31 29 |comment-|start 1)|
|000049b0| 20 28 61 72 65 66 20 63 | 6f 6d 6d 65 6e 74 2d 73 | (aref c|omment-s|
|000049c0| 74 61 72 74 20 30 29 29 | 29 0a 20 20 20 20 20 20 |tart 0))|). |
|000049d0| 63 6f 6d 6d 65 6e 74 2d | 73 74 61 72 74 29 0a 20 |comment-|start). |
|000049e0| 20 20 20 20 3b 3b 20 4f | 74 68 65 72 20 74 68 72 | ;; O|ther thr|
|000049f0| 65 65 20 6c 65 74 74 65 | 72 20 63 6f 6d 6d 65 6e |ee lette|r commen|
|00004a00| 74 20 73 74 61 72 74 73 | 20 2d 3e 20 67 72 61 62 |t starts| -> grab|
|00004a10| 20 74 68 65 20 6d 69 64 | 64 6c 65 20 63 68 61 72 | the mid|dle char|
|00004a20| 61 63 74 65 72 0a 20 20 | 20 20 20 28 28 61 6e 64 |acter. | ((and|
|00004a30| 20 63 6f 6d 6d 65 6e 74 | 2d 73 74 61 72 74 20 28 | comment|-start (|
|00004a40| 3d 20 28 6c 65 6e 67 74 | 68 20 63 6f 6d 6d 65 6e |= (lengt|h commen|
|00004a50| 74 2d 73 74 61 72 74 29 | 20 33 29 29 0a 20 20 20 |t-start)| 3)). |
|00004a60| 20 20 20 28 63 6f 6e 63 | 61 74 20 22 20 22 20 28 | (conc|at " " (|
|00004a70| 6c 69 73 74 20 28 61 72 | 65 66 20 63 6f 6d 6d 65 |list (ar|ef comme|
|00004a80| 6e 74 2d 73 74 61 72 74 | 20 31 29 29 20 22 20 22 |nt-start| 1)) " "|
|00004a90| 29 29 0a 20 20 20 20 20 | 3b 3b 20 0a 20 20 20 20 |)). |;; . |
|00004aa0| 20 28 28 61 6e 64 20 63 | 6f 6d 6d 65 6e 74 2d 73 | ((and c|omment-s|
|00004ab0| 74 61 72 74 20 28 6e 6f | 74 20 63 6f 6d 6d 65 6e |tart (no|t commen|
|00004ac0| 74 2d 65 6e 64 2d 70 29 | 29 0a 20 20 20 20 20 20 |t-end-p)|). |
|00004ad0| 3b 3b 20 4e 6f 74 65 3a | 20 6e 6f 20 63 6f 6d 6d |;; Note:| no comm|
|00004ae0| 65 6e 74 20 65 6e 64 20 | 69 6d 70 6c 69 65 73 20 |ent end |implies |
|00004af0| 74 68 61 74 20 74 68 65 | 20 66 75 6c 6c 20 63 6f |that the| full co|
|00004b00| 6d 6d 65 6e 74 20 73 74 | 61 72 74 20 6d 75 73 74 |mment st|art must|
|00004b10| 20 62 65 0a 20 20 20 20 | 20 20 3b 3b 20 75 73 65 | be. | ;; use|
|00004b20| 64 20 6f 6e 20 65 61 63 | 68 20 6c 69 6e 65 2e 0a |d on eac|h line..|
|00004b30| 20 20 20 20 20 20 63 6f | 6d 6d 65 6e 74 2d 73 74 | co|mment-st|
|00004b40| 61 72 74 29 0a 20 20 20 | 20 20 28 74 09 09 09 09 |art). | (t....|
|00004b50| 09 3b 20 49 20 68 61 76 | 65 20 6e 6f 20 69 64 65 |.; I hav|e no ide|
|00004b60| 61 20 77 68 61 74 20 69 | 73 20 61 20 67 6f 6f 64 |a what i|s a good|
|00004b70| 20 62 6c 6f 63 6b 20 0a | 09 09 09 09 09 3b 20 73 | block .|.....; s|
|00004b80| 74 61 72 74 20 63 68 61 | 72 61 63 74 65 72 20 61 |tart cha|racter a|
|00004b90| 6e 64 20 77 69 6c 6c 20 | 75 73 65 20 6c 69 73 70 |nd will |use lisp|
|00004ba0| 0a 09 09 09 09 09 3b 20 | 61 73 20 61 20 64 65 66 |......; |as a def|
|00004bb0| 61 75 6c 74 2e 0a 20 20 | 20 20 20 20 22 3b 3b 20 |ault.. | ";; |
|00004bc0| 22 29 29 0a 20 20 20 20 | 29 29 0a 0a 28 64 65 66 |")). |))..(def|
|00004bd0| 75 6e 20 6d 61 6b 65 2d | 68 65 61 64 65 72 20 28 |un make-|header (|
|00004be0| 29 0a 20 20 22 4d 61 6b | 65 73 20 61 20 73 74 61 |). "Mak|es a sta|
|00004bf0| 6e 64 61 72 64 20 66 69 | 6c 65 20 68 65 61 64 65 |ndard fi|le heade|
|00004c00| 72 20 61 74 20 74 68 65 | 20 74 6f 70 20 6f 66 20 |r at the| top of |
|00004c10| 74 68 65 20 62 75 66 66 | 65 72 2e 20 41 20 68 65 |the buff|er. A he|
|00004c20| 61 64 65 72 20 69 73 0a | 20 20 20 63 6f 6d 70 6f |ader is.| compo|
|00004c30| 73 65 64 20 6f 66 20 61 | 20 6d 6f 64 65 20 6c 69 |sed of a| mode li|
|00004c40| 6e 65 2c 20 61 20 62 6f | 64 79 2c 20 61 6e 64 20 |ne, a bo|dy, and |
|00004c50| 61 6e 20 65 6e 64 20 6c | 69 6e 65 2e 20 20 54 68 |an end l|ine. Th|
|00004c60| 65 20 62 6f 64 79 20 69 | 73 0a 20 20 20 63 6f 6e |e body i|s. con|
|00004c70| 73 74 72 75 63 74 65 64 | 20 62 79 20 63 61 6c 6c |structed| by call|
|00004c80| 69 6e 67 20 74 68 65 20 | 66 75 6e 63 74 69 6f 6e |ing the |function|
|00004c90| 73 20 69 6e 20 6d 61 6b | 65 2d 68 65 61 64 65 72 |s in mak|e-header|
|00004ca0| 2d 68 6f 6f 6b 73 2e 0a | 20 20 20 54 68 65 20 6d |-hooks..| The m|
|00004cb0| 6f 64 65 20 6c 69 6e 65 | 20 61 6e 64 20 65 6e 64 |ode line| and end|
|00004cc0| 20 6c 69 6e 65 73 20 73 | 74 61 72 74 20 61 6e 64 | lines s|tart and|
|00004cd0| 20 74 65 72 6d 69 6e 61 | 74 65 20 62 6c 6f 63 6b | termina|te block|
|00004ce0| 20 63 6f 6d 6d 65 6e 74 | 73 20 77 68 69 6c 65 20 | comment|s while |
|00004cf0| 74 68 65 0a 20 20 20 62 | 6f 64 79 20 6c 69 6e 65 |the. b|ody line|
|00004d00| 73 20 6a 75 73 74 20 68 | 61 76 65 20 74 6f 20 63 |s just h|ave to c|
|00004d10| 6f 6e 74 69 6e 75 65 20 | 74 68 65 20 63 6f 6d 6d |ontinue |the comm|
|00004d20| 65 6e 74 2e 20 22 0a 20 | 20 28 69 6e 74 65 72 61 |ent. ". | (intera|
|00004d30| 63 74 69 76 65 29 0a 20 | 20 28 62 65 67 69 6e 6e |ctive). | (beginn|
|00004d40| 69 6e 67 2d 6f 66 2d 62 | 75 66 66 65 72 29 20 20 |ing-of-b|uffer) |
|00004d50| 20 20 20 20 20 3b 3b 20 | 6c 65 61 76 65 20 74 68 | ;; |leave th|
|00004d60| 65 20 6d 61 72 6b 20 61 | 74 20 74 68 65 20 6f 6c |e mark a|t the ol|
|00004d70| 64 20 6c 6f 63 61 74 69 | 6f 6e 0a 20 20 3b 3b 20 |d locati|on. ;; |
|00004d80| 44 79 6e 61 6d 69 63 61 | 6c 6c 79 20 62 6f 75 6e |Dynamica|lly boun|
|00004d90| 64 20 73 6f 6d 65 20 68 | 61 6e 64 79 20 76 61 72 |d some h|andy var|
|00004da0| 69 61 62 6c 65 73 0a 20 | 20 28 6c 65 74 20 28 28 |iables. | (let ((|
|00004db0| 72 65 74 75 72 6e 2d 74 | 6f 20 6e 69 6c 29 20 20 |return-t|o nil) |
|00004dc0| 20 20 20 20 20 3b 3b 3b | 20 74 6f 20 62 65 20 73 | ;;;| to be s|
|00004dd0| 65 74 20 62 79 20 6d 61 | 6b 65 2d 68 65 61 64 65 |et by ma|ke-heade|
|00004de0| 72 2d 68 6f 6f 6b 73 20 | 66 75 6e 63 74 69 6f 6e |r-hooks |function|
|00004df0| 73 0a 09 28 68 65 61 64 | 65 72 2d 70 72 65 66 69 |s..(head|er-prefi|
|00004e00| 78 2d 73 74 72 69 6e 67 | 20 28 68 65 61 64 65 72 |x-string| (header|
|00004e10| 2d 70 72 65 66 69 78 2d | 73 74 72 69 6e 67 29 29 |-prefix-|string))|
|00004e20| 20 3b 3b 3b 20 63 61 63 | 68 65 20 74 68 65 20 72 | ;;; cac|he the r|
|00004e30| 65 73 75 6c 74 0a 09 28 | 63 6f 6d 6d 65 6e 74 2d |esult..(|comment-|
|00004e40| 73 74 61 72 74 2d 70 0a | 09 20 28 61 6e 64 20 63 |start-p.|. (and c|
|00004e50| 6f 6d 6d 65 6e 74 2d 73 | 74 61 72 74 20 28 6e 6f |omment-s|tart (no|
|00004e60| 74 20 28 73 74 72 69 6e | 67 2d 65 71 75 61 6c 20 |t (strin|g-equal |
|00004e70| 63 6f 6d 6d 65 6e 74 2d | 73 74 61 72 74 20 22 22 |comment-|start ""|
|00004e80| 29 29 29 29 0a 09 28 63 | 6f 6d 6d 65 6e 74 2d 65 |))))..(c|omment-e|
|00004e90| 6e 64 2d 70 20 28 61 6e | 64 20 63 6f 6d 6d 65 6e |nd-p (an|d commen|
|00004ea0| 74 2d 65 6e 64 20 28 6e | 6f 74 20 28 73 74 72 69 |t-end (n|ot (stri|
|00004eb0| 6e 67 2d 65 71 75 61 6c | 20 63 6f 6d 6d 65 6e 74 |ng-equal| comment|
|00004ec0| 2d 65 6e 64 20 22 22 29 | 29 29 29 29 0a 0a 20 20 |-end "")|)))).. |
|00004ed0| 20 20 3b 3b 20 44 6f 20 | 74 68 65 20 68 65 61 64 | ;; Do |the head|
|00004ee0| 65 72 20 66 75 6e 63 74 | 69 6f 6e 73 0a 20 20 20 |er funct|ions. |
|00004ef0| 20 28 6d 61 70 63 61 72 | 20 27 66 75 6e 63 61 6c | (mapcar| 'funcal|
|00004f00| 6c 20 6d 61 6b 65 2d 68 | 65 61 64 65 72 2d 68 6f |l make-h|eader-ho|
|00004f10| 6f 6b 73 29 0a 0a 20 20 | 20 20 3b 3b 20 4d 6f 76 |oks).. | ;; Mov|
|00004f20| 65 20 74 6f 20 77 68 65 | 72 65 76 65 72 20 72 65 |e to whe|rever re|
|00004f30| 74 75 72 6e 2d 74 6f 20 | 77 61 73 20 73 65 74 0a |turn-to |was set.|
|00004f40| 20 20 20 20 28 69 66 20 | 72 65 74 75 72 6e 2d 74 | (if |return-t|
|00004f50| 6f 20 28 67 6f 74 6f 2d | 63 68 61 72 20 72 65 74 |o (goto-|char ret|
|00004f60| 75 72 6e 2d 74 6f 29 29 | 0a 20 20 20 20 29 29 0a |urn-to))|. )).|
|00004f70| 0a 28 64 65 66 75 6e 20 | 6d 61 6b 65 2d 72 65 76 |.(defun |make-rev|
|00004f80| 69 73 69 6f 6e 20 28 29 | 0a 20 20 22 49 6e 73 65 |ision ()|. "Inse|
|00004f90| 72 74 73 20 61 20 72 65 | 76 69 73 69 6f 6e 20 6d |rts a re|vision m|
|00004fa0| 61 72 6b 65 72 20 61 66 | 74 65 72 20 74 68 65 20 |arker af|ter the |
|00004fb0| 68 69 73 74 6f 72 79 20 | 6c 69 6e 65 2e 20 20 4d |history |line. M|
|00004fc0| 61 6b 65 73 20 74 68 65 | 20 68 69 73 74 6f 72 79 |akes the| history|
|00004fd0| 0a 20 20 20 6c 69 6e 65 | 20 69 66 20 69 74 20 64 |. line| if it d|
|00004fe0| 6f 65 73 20 6e 6f 74 20 | 61 6c 72 65 61 64 79 20 |oes not |already |
|00004ff0| 65 78 69 73 74 2e 22 0a | 20 20 28 69 6e 74 65 72 |exist.".| (inter|
|00005000| 61 63 74 69 76 65 29 0a | 20 20 28 6c 65 74 20 28 |active).| (let (|
|00005010| 28 68 65 61 64 65 72 2d | 70 72 65 66 69 78 2d 73 |(header-|prefix-s|
|00005020| 74 72 69 6e 67 20 28 68 | 65 61 64 65 72 2d 70 72 |tring (h|eader-pr|
|00005030| 65 66 69 78 2d 73 74 72 | 69 6e 67 29 29 0a 09 28 |efix-str|ing))..(|
|00005040| 6c 6f 67 69 63 61 6c 2d | 63 6f 6d 6d 65 6e 74 2d |logical-|comment-|
|00005050| 73 74 61 72 74 0a 09 20 | 28 69 66 20 28 3d 20 28 |start.. |(if (= (|
|00005060| 6c 65 6e 67 74 68 20 63 | 6f 6d 6d 65 6e 74 2d 73 |length c|omment-s|
|00005070| 74 61 72 74 29 20 31 29 | 0a 09 20 20 20 20 20 28 |tart) 1)|.. (|
|00005080| 63 6f 6e 63 61 74 20 63 | 6f 6d 6d 65 6e 74 2d 73 |concat c|omment-s|
|00005090| 74 61 72 74 20 63 6f 6d | 6d 65 6e 74 2d 73 74 61 |tart com|ment-sta|
|000050a0| 72 74 20 22 20 22 29 0a | 09 20 20 20 63 6f 6d 6d |rt " ").|. comm|
|000050b0| 65 6e 74 2d 73 74 61 72 | 74 29 29 29 0a 0a 20 20 |ent-star|t))).. |
|000050c0| 20 20 3b 3b 20 4c 6f 6f | 6b 20 66 6f 72 20 74 68 | ;; Loo|k for th|
|000050d0| 65 20 48 69 73 74 6f 72 | 79 20 6c 69 6e 65 0a 20 |e Histor|y line. |
|000050e0| 20 20 20 28 62 65 67 69 | 6e 6e 69 6e 67 2d 6f 66 | (begi|nning-of|
|000050f0| 2d 62 75 66 66 65 72 29 | 20 20 20 20 20 20 20 20 |-buffer)| |
|00005100| 20 3b 3b 3b 20 6c 65 61 | 76 65 20 61 20 6d 61 72 | ;;; lea|ve a mar|
|00005110| 6b 20 77 68 65 72 65 20 | 77 65 20 77 65 72 65 0a |k where |we were.|
|00005120| 20 20 20 20 28 69 66 20 | 28 72 65 2d 73 65 61 72 | (if |(re-sear|
|00005130| 63 68 2d 66 6f 72 77 61 | 72 64 20 28 63 6f 6e 63 |ch-forwa|rd (conc|
|00005140| 61 74 20 22 5e 5c 5c 28 | 22 0a 09 09 09 09 20 20 |at "^\\(|"..... |
|00005150| 20 28 72 65 67 65 78 70 | 2d 71 75 6f 74 65 20 28 | (regexp|-quote (|
|00005160| 68 65 61 64 65 72 2d 70 | 72 65 66 69 78 2d 73 74 |header-p|refix-st|
|00005170| 72 69 6e 67 29 29 0a 09 | 09 09 09 20 20 20 22 5c |ring))..|... "\|
|00005180| 5c 7c 22 0a 09 09 09 09 | 20 20 20 28 69 66 20 28 |\|".....| (if (|
|00005190| 61 6e 64 20 63 6f 6d 6d | 65 6e 74 2d 73 74 61 72 |and comm|ent-star|
|000051a0| 74 0a 09 09 09 09 09 20 | 20 20 20 28 6e 6f 74 20 |t...... | (not |
|000051b0| 28 73 74 72 69 6e 67 2d | 65 71 75 61 6c 20 63 6f |(string-|equal co|
|000051c0| 6d 6d 65 6e 74 2d 73 74 | 61 72 74 20 22 22 29 29 |mment-st|art ""))|
|000051d0| 29 0a 09 09 09 09 20 20 | 20 20 20 20 20 28 63 6f |)..... | (co|
|000051e0| 6e 63 61 74 0a 09 09 09 | 09 09 22 5c 5c 7c 22 20 |ncat....|.."\\|" |
|000051f0| 28 72 65 67 65 78 70 2d | 71 75 6f 74 65 20 63 6f |(regexp-|quote co|
|00005200| 6d 6d 65 6e 74 2d 73 74 | 61 72 74 29 29 0a 09 09 |mment-st|art))...|
|00005210| 09 09 20 20 20 20 20 22 | 22 29 0a 09 09 09 09 20 |.. "|")..... |
|00005220| 20 20 22 5c 5c 29 22 0a | 09 09 09 09 20 20 20 22 | "\\)".|.... "|
|00005230| 20 2a 48 69 73 74 6f 72 | 79 22 29 0a 09 09 09 20 | *Histor|y").... |
|00005240| 20 20 68 65 61 64 65 72 | 2d 6d 61 78 20 74 29 0a | header|-max t).|
|00005250| 09 28 70 72 6f 67 6e 20 | 28 65 6e 64 2d 6f 66 2d |.(progn |(end-of-|
|00005260| 6c 69 6e 65 29 29 0a 20 | 20 20 20 20 20 28 70 72 |line)). | (pr|
|00005270| 6f 67 6e 0a 09 3b 3b 20 | 57 65 20 64 69 64 20 6e |ogn..;; |We did n|
|00005280| 6f 74 20 66 69 6e 64 20 | 61 20 68 69 73 74 6f 72 |ot find |a histor|
|00005290| 79 20 6c 69 6e 65 2c 20 | 61 64 64 20 6f 6e 65 0a |y line, |add one.|
|000052a0| 09 28 67 6f 74 6f 2d 63 | 68 61 72 20 28 70 6f 69 |.(goto-c|har (poi|
|000052b0| 6e 74 2d 6d 69 6e 29 29 | 0a 09 3b 3b 20 66 69 6e |nt-min))|..;; fin|
|000052c0| 64 20 74 68 65 20 66 69 | 72 73 74 20 6c 69 6e 65 |d the fi|rst line|
|000052d0| 20 74 68 61 74 20 69 73 | 20 6e 6f 74 20 70 61 72 | that is| not par|
|000052e0| 74 20 6f 66 20 74 68 65 | 20 68 65 61 64 65 72 0a |t of the| header.|
|000052f0| 09 28 77 68 69 6c 65 20 | 28 61 6e 64 20 28 3c 20 |.(while |(and (< |
|00005300| 28 70 6f 69 6e 74 29 20 | 68 65 61 64 65 72 2d 6d |(point) |header-m|
|00005310| 61 78 29 0a 09 09 20 20 | 20 20 28 6c 6f 6f 6b 69 |ax)... | (looki|
|00005320| 6e 67 2d 61 74 0a 09 09 | 20 20 20 20 20 28 63 6f |ng-at...| (co|
|00005330| 6e 63 61 74 20 22 5b 20 | 5c 74 5d 2a 5c 5c 28 22 |ncat "[ |\t]*\\("|
|00005340| 0a 09 09 09 20 20 20 20 | 20 28 72 65 67 65 78 70 |.... | (regexp|
|00005350| 2d 71 75 6f 74 65 20 28 | 68 65 61 64 65 72 2d 70 |-quote (|header-p|
|00005360| 72 65 66 69 78 2d 73 74 | 72 69 6e 67 29 29 0a 09 |refix-st|ring))..|
|00005370| 09 09 20 20 20 20 20 28 | 69 66 20 28 61 6e 64 20 |.. (|if (and |
|00005380| 63 6f 6d 6d 65 6e 74 2d | 73 74 61 72 74 0a 09 09 |comment-|start...|
|00005390| 09 09 20 20 20 20 20 20 | 28 6e 6f 74 20 28 73 74 |.. |(not (st|
|000053a0| 72 69 6e 67 2d 65 71 75 | 61 6c 20 63 6f 6d 6d 65 |ring-equ|al comme|
|000053b0| 6e 74 2d 73 74 61 72 74 | 20 22 22 29 29 29 0a 09 |nt-start| "")))..|
|000053c0| 09 09 09 20 28 63 6f 6e | 63 61 74 0a 09 09 09 09 |... (con|cat.....|
|000053d0| 20 20 22 5c 5c 7c 22 20 | 28 72 65 67 65 78 70 2d | "\\|" |(regexp-|
|000053e0| 71 75 6f 74 65 20 63 6f | 6d 6d 65 6e 74 2d 73 74 |quote co|mment-st|
|000053f0| 61 72 74 29 29 0a 09 09 | 09 20 20 20 20 20 20 20 |art))...|. |
|00005400| 22 22 29 0a 09 09 09 20 | 20 20 20 20 28 69 66 20 |"").... | (if |
|00005410| 28 61 6e 64 20 63 6f 6d | 6d 65 6e 74 2d 65 6e 64 |(and com|ment-end|
|00005420| 0a 09 09 09 09 20 20 20 | 20 20 20 28 6e 6f 74 20 |..... | (not |
|00005430| 28 73 74 72 69 6e 67 2d | 65 71 75 61 6c 20 63 6f |(string-|equal co|
|00005440| 6d 6d 65 6e 74 2d 65 6e | 64 20 22 22 29 29 29 0a |mment-en|d ""))).|
|00005450| 09 09 09 09 20 28 63 6f | 6e 63 61 74 20 22 5c 5c |.... (co|ncat "\\|
|00005460| 7c 22 20 28 72 65 67 65 | 78 70 2d 71 75 6f 74 65 ||" (rege|xp-quote|
|00005470| 20 63 6f 6d 6d 65 6e 74 | 2d 65 6e 64 29 29 0a 09 | comment|-end))..|
|00005480| 09 09 20 20 20 20 20 20 | 20 22 22 29 0a 09 09 09 |.. | "")....|
|00005490| 20 20 20 20 20 22 5c 5c | 29 22 29 29 29 0a 09 20 | "\\|)"))).. |
|000054a0| 20 28 66 6f 72 77 61 72 | 64 2d 6c 69 6e 65 20 31 | (forwar|d-line 1|
|000054b0| 29 29 0a 09 28 69 6e 73 | 65 72 74 20 22 5c 6e 22 |))..(ins|ert "\n"|
|000054c0| 20 6c 6f 67 69 63 61 6c | 2d 63 6f 6d 6d 65 6e 74 | logical|-comment|
|000054d0| 2d 73 74 61 72 74 0a 09 | 09 22 48 49 53 54 4f 52 |-start..|."HISTOR|
|000054e0| 59 20 22 29 0a 09 28 73 | 61 76 65 2d 65 78 63 75 |Y ")..(s|ave-excu|
|000054f0| 72 73 69 6f 6e 20 28 69 | 6e 73 65 72 74 20 22 5c |rsion (i|nsert "\|
|00005500| 6e 22 20 63 6f 6d 6d 65 | 6e 74 2d 65 6e 64 29 29 |n" comme|nt-end))|
|00005510| 29 29 0a 0a 20 20 20 20 | 3b 3b 20 57 65 20 61 72 |)).. |;; We ar|
|00005520| 65 20 6e 6f 77 20 6f 6e | 20 74 68 65 20 6c 69 6e |e now on| the lin|
|00005530| 65 20 77 69 74 68 20 74 | 68 65 20 68 69 73 74 6f |e with t|he histo|
|00005540| 72 79 20 6d 61 72 6b 65 | 72 0a 20 20 20 20 0a 20 |ry marke|r. . |
|00005550| 20 20 20 28 69 6e 73 65 | 72 74 20 22 5c 6e 22 0a | (inse|rt "\n".|
|00005560| 09 20 20 20 20 68 65 61 | 64 65 72 2d 70 72 65 66 |. hea|der-pref|
|00005570| 69 78 2d 73 74 72 69 6e | 67 0a 09 20 20 20 20 28 |ix-strin|g.. (|
|00005580| 63 75 72 72 65 6e 74 2d | 64 2d 6d 2d 79 2d 73 74 |current-|d-m-y-st|
|00005590| 72 69 6e 67 29 0a 09 20 | 20 20 20 22 5c 74 5c 74 |ring).. | "\t\t|
|000055a0| 22 0a 09 20 20 20 20 28 | 75 73 65 72 2d 66 75 6c |".. (|user-ful|
|000055b0| 6c 2d 6e 61 6d 65 29 0a | 09 20 20 20 20 3b 3b 22 |l-name).|. ;;"|
|000055c0| 5c 74 7c 3e 49 64 65 6e | 74 3c 7c 5c 6e 22 0a 09 |\t|>Iden|t<|\n"..|
|000055d0| 20 20 20 20 22 5c 74 5c | 6e 22 0a 09 20 20 20 20 | "\t\|n".. |
|000055e0| 68 65 61 64 65 72 2d 70 | 72 65 66 69 78 2d 73 74 |header-p|refix-st|
|000055f0| 72 69 6e 67 0a 09 20 20 | 20 20 22 20 20 20 22 0a |ring.. | " ".|
|00005600| 09 20 20 20 20 29 0a 20 | 20 20 20 3b 3b 20 4e 6f |. ). | ;; No|
|00005610| 77 2c 20 61 64 64 20 64 | 65 74 61 69 6c 73 20 61 |w, add d|etails a|
|00005620| 62 6f 75 74 20 74 68 65 | 20 68 69 73 74 6f 72 79 |bout the| history|
|00005630| 20 6f 66 20 74 68 65 20 | 66 69 6c 65 20 62 65 66 | of the |file bef|
|00005640| 6f 72 65 20 69 74 73 20 | 6d 6f 64 69 66 69 63 61 |ore its |modifica|
|00005650| 74 69 6f 6e 0a 20 20 20 | 20 28 69 66 20 28 73 61 |tion. | (if (sa|
|00005660| 76 65 2d 65 78 63 75 72 | 73 69 6f 6e 0a 09 20 20 |ve-excur|sion.. |
|00005670| 28 72 65 2d 73 65 61 72 | 63 68 2d 62 61 63 6b 77 |(re-sear|ch-backw|
|00005680| 61 72 64 20 22 4c 61 73 | 74 20 4d 6f 64 69 66 69 |ard "Las|t Modifi|
|00005690| 65 64 20 4f 6e 5b 5c 74 | 5d 2a 3a 20 5c 5c 28 2e |ed On[\t|]*: \\(.|
|000056a0| 2b 5c 5c 29 24 22 20 6e | 69 6c 20 74 29 29 0a 09 |+\\)$" n|il t))..|
|000056b0| 28 70 72 6f 67 6e 0a 09 | 20 20 28 69 6e 73 65 72 |(progn..| (inser|
|000056c0| 74 20 22 4c 61 73 74 20 | 4d 6f 64 69 66 69 65 64 |t "Last |Modified|
|000056d0| 3a 20 22 20 28 62 75 66 | 66 65 72 2d 73 75 62 73 |: " (buf|fer-subs|
|000056e0| 74 72 69 6e 67 20 28 6d | 61 74 63 68 2d 62 65 67 |tring (m|atch-beg|
|000056f0| 69 6e 6e 69 6e 67 20 31 | 29 0a 09 09 09 09 09 09 |inning 1|).......|
|00005700| 20 20 20 20 20 20 28 6d | 61 74 63 68 2d 65 6e 64 | (m|atch-end|
|00005710| 20 31 29 29 29 0a 09 20 | 20 28 69 66 20 28 73 61 | 1))).. | (if (sa|
|00005720| 76 65 2d 65 78 63 75 72 | 73 69 6f 6e 0a 09 09 28 |ve-excur|sion...(|
|00005730| 72 65 2d 73 65 61 72 63 | 68 2d 62 61 63 6b 77 61 |re-searc|h-backwa|
|00005740| 72 64 20 22 55 70 64 61 | 74 65 20 43 6f 75 6e 74 |rd "Upda|te Count|
|00005750| 5b 20 5c 74 5d 2a 3a 20 | 5c 5c 28 5b 30 2d 39 5d |[ \t]*: |\\([0-9]|
|00005760| 2b 5c 5c 29 24 22 20 6e | 69 6c 20 74 29 29 0a 09 |+\\)$" n|il t))..|
|00005770| 20 20 20 20 20 20 28 69 | 6e 73 65 72 74 20 22 20 | (i|nsert " |
|00005780| 23 22 20 28 62 75 66 66 | 65 72 2d 73 75 62 73 74 |#" (buff|er-subst|
|00005790| 72 69 6e 67 20 28 6d 61 | 74 63 68 2d 62 65 67 69 |ring (ma|tch-begi|
|000057a0| 6e 6e 69 6e 67 20 31 29 | 0a 09 09 09 09 09 20 20 |nning 1)|...... |
|000057b0| 20 20 20 28 6d 61 74 63 | 68 2d 65 6e 64 20 31 29 | (matc|h-end 1)|
|000057c0| 29 29 29 0a 09 20 20 28 | 69 66 20 28 73 61 76 65 |))).. (|if (save|
|000057d0| 2d 65 78 63 75 72 73 69 | 6f 6e 0a 09 09 28 72 65 |-excursi|on...(re|
|000057e0| 2d 73 65 61 72 63 68 2d | 62 61 63 6b 77 61 72 64 |-search-|backward|
|000057f0| 20 22 4c 61 73 74 20 4d | 6f 64 69 66 69 65 64 20 | "Last M|odified |
|00005800| 42 79 5b 20 5c 74 5d 2a | 3a 20 5c 5c 28 2e 2b 5c |By[ \t]*|: \\(.+\|
|00005810| 5c 29 24 22 20 6e 69 6c | 20 74 29 29 0a 09 20 20 |\)$" nil| t)).. |
|00005820| 20 20 20 20 28 69 6e 73 | 65 72 74 20 22 20 28 22 | (ins|ert " ("|
|00005830| 20 28 62 75 66 66 65 72 | 2d 73 75 62 73 74 72 69 | (buffer|-substri|
|00005840| 6e 67 20 28 6d 61 74 63 | 68 2d 62 65 67 69 6e 6e |ng (matc|h-beginn|
|00005850| 69 6e 67 20 31 29 0a 09 | 09 09 09 09 20 20 20 20 |ing 1)..|.... |
|00005860| 20 28 6d 61 74 63 68 2d | 65 6e 64 20 31 29 29 0a | (match-|end 1)).|
|00005870| 09 09 20 20 20 20 20 20 | 22 29 22 29 29 0a 09 20 |.. |")")).. |
|00005880| 20 28 69 6e 73 65 72 74 | 20 22 5c 6e 22 20 68 65 | (insert| "\n" he|
|00005890| 61 64 65 72 2d 70 72 65 | 66 69 78 2d 73 74 72 69 |ader-pre|fix-stri|
|000058a0| 6e 67 20 22 20 20 20 22 | 29 29 29 0a 20 20 20 20 |ng " "|))). |
|000058b0| 29 29 0a 0a 28 64 65 66 | 75 6e 20 6d 61 6b 65 2d |))..(def|un make-|
|000058c0| 64 69 76 69 73 6f 72 20 | 28 26 6f 70 74 69 6f 6e |divisor |(&option|
|000058d0| 61 6c 20 65 6e 64 2d 63 | 6f 6c 29 0a 20 20 22 41 |al end-c|ol). "A|
|000058e0| 20 64 69 76 69 73 6f 72 | 20 6c 69 6e 65 20 69 73 | divisor| line is|
|000058f0| 20 74 68 65 20 63 6f 6d | 6d 65 6e 74 20 73 74 61 | the com|ment sta|
|00005900| 72 74 2c 20 66 69 6c 6c | 65 72 2c 20 61 6e 64 20 |rt, fill|er, and |
|00005910| 74 68 65 20 63 6f 6d 6d | 65 6e 74 20 65 6e 64 22 |the comm|ent end"|
|00005920| 0a 20 20 28 69 6e 74 65 | 72 61 63 74 69 76 65 29 |. (inte|ractive)|
|00005930| 0a 20 20 28 69 6e 73 65 | 72 74 20 63 6f 6d 6d 65 |. (inse|rt comme|
|00005940| 6e 74 2d 73 74 61 72 74 | 29 0a 20 20 28 69 66 20 |nt-start|). (if |
|00005950| 28 3d 20 31 20 28 6c 65 | 6e 67 74 68 20 63 6f 6d |(= 1 (le|ngth com|
|00005960| 6d 65 6e 74 2d 73 74 61 | 72 74 29 29 0a 20 20 20 |ment-sta|rt)). |
|00005970| 20 20 20 28 69 6e 73 65 | 72 74 20 63 6f 6d 6d 65 | (inse|rt comme|
|00005980| 6e 74 2d 73 74 61 72 74 | 29 29 0a 20 20 28 69 6e |nt-start|)). (in|
|00005990| 73 65 72 74 20 28 6d 61 | 6b 65 2d 73 74 72 69 6e |sert (ma|ke-strin|
|000059a0| 67 20 28 6d 61 78 20 32 | 0a 09 09 09 20 20 20 20 |g (max 2|.... |
|000059b0| 28 2d 20 28 6f 72 20 65 | 6e 64 2d 63 6f 6c 20 28 |(- (or e|nd-col (|
|000059c0| 2d 20 66 69 6c 6c 2d 63 | 6f 6c 75 6d 6e 20 32 29 |- fill-c|olumn 2)|
|000059d0| 29 20 28 6c 65 6e 67 74 | 68 0a 09 09 09 09 09 09 |) (lengt|h.......|
|000059e0| 09 20 20 20 20 20 20 20 | 63 6f 6d 6d 65 6e 74 2d |. |comment-|
|000059f0| 65 6e 64 29 0a 09 09 09 | 20 20 20 20 20 20 20 32 |end)....| 2|
|00005a00| 20 28 63 75 72 72 65 6e | 74 2d 63 6f 6c 75 6d 6e | (curren|t-column|
|00005a10| 29 29 29 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |))). | |
|00005a20| 20 20 20 20 20 20 20 20 | 20 20 20 28 61 72 65 66 | | (aref|
|00005a30| 20 63 6f 6d 6d 65 6e 74 | 2d 73 74 61 72 74 0a 09 | comment|-start..|
|00005a40| 09 09 20 20 20 20 20 28 | 69 66 20 28 3d 20 31 20 |.. (|if (= 1 |
|00005a50| 28 6c 65 6e 67 74 68 20 | 63 6f 6d 6d 65 6e 74 2d |(length |comment-|
|00005a60| 73 74 61 72 74 29 29 20 | 30 20 31 29 29 0a 09 09 |start)) |0 1))...|
|00005a70| 20 20 20 20 20 20 20 29 | 29 0a 20 20 28 69 6e 73 | )|). (ins|
|00005a80| 65 72 74 20 63 6f 6d 6d | 65 6e 74 2d 65 6e 64 29 |ert comm|ent-end)|
|00005a90| 0a 20 20 29 0a 0a 0a 28 | 64 65 66 75 6e 20 6d 61 |. )...(|defun ma|
|00005aa0| 6b 65 2d 62 6f 78 2d 63 | 6f 6d 6d 65 6e 74 20 28 |ke-box-c|omment (|
|00005ab0| 26 6f 70 74 69 6f 6e 61 | 6c 20 65 6e 64 2d 63 6f |&optiona|l end-co|
|00005ac0| 6c 29 0a 20 20 22 49 6e | 73 65 72 74 73 20 61 20 |l). "In|serts a |
|00005ad0| 62 6f 78 20 63 6f 6d 6d | 65 6e 74 20 74 68 61 74 |box comm|ent that|
|00005ae0| 20 69 73 20 62 75 69 6c | 74 20 75 73 69 6e 67 20 | is buil|t using |
|00005af0| 6d 6f 64 65 20 73 70 65 | 63 69 66 69 63 20 63 6f |mode spe|cific co|
|00005b00| 6d 6d 65 6e 74 20 63 68 | 61 72 61 63 74 65 72 73 |mment ch|aracters|
|00005b10| 2e 22 0a 20 20 28 69 6e | 74 65 72 61 63 74 69 76 |.". (in|teractiv|
|00005b20| 65 29 0a 20 20 28 69 66 | 20 28 6e 6f 74 20 28 3d |e). (if| (not (=|
|00005b30| 20 30 20 28 63 75 72 72 | 65 6e 74 2d 63 6f 6c 75 | 0 (curr|ent-colu|
|00005b40| 6d 6e 29 29 29 20 28 66 | 6f 72 77 61 72 64 2d 6c |mn))) (f|orward-l|
|00005b50| 69 6e 65 20 31 29 29 0a | 20 20 28 69 6e 73 65 72 |ine 1)).| (inser|
|00005b60| 74 20 63 6f 6d 6d 65 6e | 74 2d 73 74 61 72 74 29 |t commen|t-start)|
|00005b70| 0a 20 20 28 69 66 20 28 | 3d 20 31 20 28 6c 65 6e |. (if (|= 1 (len|
|00005b80| 67 74 68 20 63 6f 6d 6d | 65 6e 74 2d 73 74 61 72 |gth comm|ent-star|
|00005b90| 74 29 29 0a 20 20 20 20 | 20 20 28 69 6e 73 65 72 |t)). | (inser|
|00005ba0| 74 20 63 6f 6d 6d 65 6e | 74 2d 73 74 61 72 74 29 |t commen|t-start)|
|00005bb0| 29 0a 20 20 28 69 66 20 | 28 6e 6f 74 20 28 63 68 |). (if |(not (ch|
|00005bc0| 61 72 2d 65 71 75 61 6c | 20 28 70 72 65 63 65 64 |ar-equal| (preced|
|00005bd0| 69 6e 67 2d 63 68 61 72 | 29 20 3f 20 29 29 20 28 |ing-char|) ? )) (|
|00005be0| 69 6e 73 65 72 74 20 3f | 20 29 29 20 0a 20 20 28 |insert ?| )) . (|
|00005bf0| 69 6e 73 65 72 74 20 28 | 6d 61 6b 65 2d 73 74 72 |insert (|make-str|
|00005c00| 69 6e 67 20 28 6d 61 78 | 20 32 0a 09 09 09 20 20 |ing (max| 2.... |
|00005c10| 20 20 28 2d 20 28 6f 72 | 20 65 6e 64 2d 63 6f 6c | (- (or| end-col|
|00005c20| 20 66 69 6c 6c 2d 63 6f | 6c 75 6d 6e 20 29 20 28 | fill-co|lumn ) (|
|00005c30| 6c 65 6e 67 74 68 0a 09 | 09 09 09 09 09 09 20 20 |length..|...... |
|00005c40| 20 20 20 20 20 63 6f 6d | 6d 65 6e 74 2d 65 6e 64 | com|ment-end|
|00005c50| 29 0a 09 09 09 20 20 20 | 20 20 20 20 32 20 28 63 |).... | 2 (c|
|00005c60| 75 72 72 65 6e 74 2d 63 | 6f 6c 75 6d 6e 29 29 29 |urrent-c|olumn)))|
|00005c70| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00005c80| 20 20 20 20 20 20 20 20 | 28 61 72 65 66 20 63 6f | |(aref co|
|00005c90| 6d 6d 65 6e 74 2d 73 74 | 61 72 74 0a 09 09 09 20 |mment-st|art.... |
|00005ca0| 20 20 20 20 28 69 66 20 | 28 3d 20 31 20 28 6c 65 | (if |(= 1 (le|
|00005cb0| 6e 67 74 68 20 63 6f 6d | 6d 65 6e 74 2d 73 74 61 |ngth com|ment-sta|
|00005cc0| 72 74 29 29 20 30 20 31 | 29 29 0a 09 09 20 20 20 |rt)) 0 1|))... |
|00005cd0| 20 20 20 20 29 29 0a 20 | 20 28 69 6e 73 65 72 74 | )). | (insert|
|00005ce0| 20 22 5c 6e 22 20 28 68 | 65 61 64 65 72 2d 70 72 | "\n" (h|eader-pr|
|00005cf0| 65 66 69 78 2d 73 74 72 | 69 6e 67 29 20 29 0a 20 |efix-str|ing) ). |
|00005d00| 20 28 73 61 76 65 2d 65 | 78 63 75 72 73 69 6f 6e | (save-e|xcursion|
|00005d10| 0a 20 20 20 20 28 69 6e | 73 65 72 74 20 22 5c 6e |. (in|sert "\n|
|00005d20| 22 20 28 68 65 61 64 65 | 72 2d 70 72 65 66 69 78 |" (heade|r-prefix|
|00005d30| 2d 73 74 72 69 6e 67 29 | 0a 09 20 20 20 20 28 6d |-string)|.. (m|
|00005d40| 61 6b 65 2d 73 74 72 69 | 6e 67 20 28 6d 61 78 20 |ake-stri|ng (max |
|00005d50| 32 0a 09 09 09 20 20 20 | 20 20 20 28 2d 20 28 6f |2.... | (- (o|
|00005d60| 72 20 65 6e 64 2d 63 6f | 6c 20 66 69 6c 6c 2d 63 |r end-co|l fill-c|
|00005d70| 6f 6c 75 6d 6e 29 20 28 | 6c 65 6e 67 74 68 0a 09 |olumn) (|length..|
|00005d80| 09 09 09 09 09 09 09 20 | 63 6f 6d 6d 65 6e 74 2d |....... |comment-|
|00005d90| 65 6e 64 29 0a 09 09 09 | 09 20 32 20 28 63 75 72 |end)....|. 2 (cur|
|00005da0| 72 65 6e 74 2d 63 6f 6c | 75 6d 6e 29 29 29 0a 09 |rent-col|umn)))..|
|00005db0| 09 09 20 28 61 72 65 66 | 20 63 6f 6d 6d 65 6e 74 |.. (aref| comment|
|00005dc0| 2d 73 74 61 72 74 0a 09 | 09 09 20 20 20 20 20 20 |-start..|.. |
|00005dd0| 20 28 69 66 20 28 3d 20 | 31 20 28 6c 65 6e 67 74 | (if (= |1 (lengt|
|00005de0| 68 20 63 6f 6d 6d 65 6e | 74 2d 73 74 61 72 74 29 |h commen|t-start)|
|00005df0| 29 20 30 20 31 29 29 0a | 09 09 09 20 29 0a 09 20 |) 0 1)).|... ).. |
|00005e00| 20 20 20 63 6f 6d 6d 65 | 6e 74 2d 65 6e 64 20 22 | comme|nt-end "|
|00005e10| 5c 6e 22 29 29 29 0a 0a | 3b 3b 3b 3b 3b 3b 3b 3b |\n")))..|;;;;;;;;|
|00005e20| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00005e30| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00005e40| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00005e50| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00005e60| 0a 0a 28 64 65 66 75 6e | 20 63 75 72 72 65 6e 74 |..(defun| current|
|00005e70| 2d 64 2d 6d 2d 79 2d 73 | 74 72 69 6e 67 20 28 29 |-d-m-y-s|tring ()|
|00005e80| 0a 20 20 28 6c 65 74 20 | 28 28 73 74 72 20 28 63 |. (let |((str (c|
|00005e90| 75 72 72 65 6e 74 2d 74 | 69 6d 65 2d 73 74 72 69 |urrent-t|ime-stri|
|00005ea0| 6e 67 29 29 29 0a 20 20 | 20 20 28 63 6f 6e 63 61 |ng))). | (conca|
|00005eb0| 74 20 28 69 66 20 28 65 | 71 75 61 6c 20 3f 5c 20 |t (if (e|qual ?\ |
|00005ec0| 20 28 61 72 65 66 20 73 | 74 72 20 38 29 29 0a 09 | (aref s|tr 8))..|
|00005ed0| 09 20 20 20 20 20 20 20 | 28 73 75 62 73 74 72 69 |. |(substri|
|00005ee0| 6e 67 20 73 74 72 20 39 | 20 31 30 29 0a 09 09 20 |ng str 9| 10)... |
|00005ef0| 20 20 20 20 20 20 28 73 | 75 62 73 74 72 69 6e 67 | (s|ubstring|
|00005f00| 20 73 74 72 20 38 20 31 | 30 29 29 0a 09 20 20 20 | str 8 1|0)).. |
|00005f10| 20 22 2d 22 0a 09 20 20 | 20 20 28 73 75 62 73 74 | "-".. | (subst|
|00005f20| 72 69 6e 67 20 73 74 72 | 20 34 20 37 29 0a 09 20 |ring str| 4 7).. |
|00005f30| 20 20 20 22 2d 22 0a 09 | 20 20 20 20 28 73 75 62 | "-"..| (sub|
|00005f40| 73 74 72 69 6e 67 20 73 | 74 72 20 32 30 20 32 34 |string s|tr 20 24|
|00005f50| 29 29 29 29 0a 0a 0a 3b | 3b 3b 3b 3b 3b 3b 3b 3b |))))...;|;;;;;;;;|
|00005f60| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00005f70| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00005f80| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00005f90| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 0a |;;;;;;;;|;;;;;;;.|
|00005fa0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00005fb0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00005fc0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00005fd0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00005fe0| 3b 3b 3b 3b 3b 3b 3b 3b | 0a 3b 3b 20 41 75 74 6f |;;;;;;;;|.;; Auto|
|00005ff0| 6d 61 74 69 63 20 48 65 | 61 64 65 72 20 75 70 64 |matic He|ader upd|
|00006000| 61 74 65 20 63 6f 64 65 | 0a 3b 3b 3b 3b 3b 3b 3b |ate code|.;;;;;;;|
|00006010| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00006020| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00006030| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00006040| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00006050| 3b 0a 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;.;;;;;;|;;;;;;;;|
|00006060| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00006070| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00006080| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00006090| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 0a 28 64 65 66 75 |;;;;;;;;|;;.(defu|
|000060a0| 6e 20 75 70 64 61 74 65 | 2d 66 69 6c 65 2d 68 65 |n update|-file-he|
|000060b0| 61 64 65 72 20 28 29 0a | 20 20 22 49 66 20 74 68 |ader ().| "If th|
|000060c0| 65 20 66 69 6c 65 20 68 | 61 73 20 62 65 65 6e 20 |e file h|as been |
|000060d0| 6d 6f 64 69 66 69 65 64 | 2c 20 73 65 61 72 63 68 |modified|, search|
|000060e0| 65 73 20 74 68 65 20 66 | 69 72 73 74 20 68 65 61 |es the f|irst hea|
|000060f0| 64 65 72 2d 6d 61 78 20 | 63 68 61 72 73 20 69 6e |der-max |chars in|
|00006100| 20 74 68 65 0a 20 20 20 | 62 75 66 66 65 72 20 75 | the. |buffer u|
|00006110| 73 69 6e 67 20 74 68 65 | 20 72 65 67 65 78 70 73 |sing the| regexps|
|00006120| 20 69 6e 20 66 69 6c 65 | 2d 68 65 61 64 65 72 2d | in file|-header-|
|00006130| 75 70 64 61 74 65 2d 61 | 6c 69 73 74 2e 20 57 68 |update-a|list. Wh|
|00006140| 65 6e 20 61 20 6d 61 74 | 63 68 20 69 73 0a 20 20 |en a mat|ch is. |
|00006150| 20 66 6f 75 6e 64 2c 20 | 69 74 20 61 70 70 6c 69 | found, |it appli|
|00006160| 65 73 20 74 68 65 20 63 | 6f 72 72 65 73 70 6f 6e |es the c|orrespon|
|00006170| 64 69 6e 67 20 66 75 6e | 63 74 69 6f 6e 20 77 69 |ding fun|ction wi|
|00006180| 74 68 20 74 68 65 20 70 | 6f 69 6e 74 20 6c 6f 63 |th the p|oint loc|
|00006190| 61 74 65 64 20 6a 75 73 | 74 0a 20 20 20 61 66 74 |ated jus|t. aft|
|000061a0| 65 72 20 74 68 65 20 6d | 61 74 63 68 2e 20 20 54 |er the m|atch. T|
|000061b0| 68 65 20 66 75 6e 63 74 | 69 6f 6e 73 20 63 61 6e |he funct|ions can|
|000061c0| 20 75 73 65 20 28 6d 61 | 74 63 68 2d 62 65 67 69 | use (ma|tch-begi|
|000061d0| 6e 6e 69 6e 67 29 20 61 | 6e 64 0a 20 20 20 28 6d |nning) a|nd. (m|
|000061e0| 61 74 63 68 2d 65 6e 64 | 29 20 63 61 6c 6c 73 20 |atch-end|) calls |
|000061f0| 74 6f 20 66 69 6e 64 20 | 6f 75 74 20 74 68 65 20 |to find |out the |
|00006200| 73 74 72 69 6e 67 73 20 | 74 68 61 74 20 63 61 75 |strings |that cau|
|00006210| 73 65 73 20 74 68 65 6d | 20 74 6f 20 62 65 20 69 |ses them| to be i|
|00006220| 6e 76 6f 6b 65 64 2e 22 | 20 0a 20 20 28 69 6e 74 |nvoked."| . (int|
|00006230| 65 72 61 63 74 69 76 65 | 29 0a 20 20 28 69 66 20 |eractive|). (if |
|00006240| 28 61 6e 64 20 28 3e 20 | 28 62 75 66 66 65 72 2d |(and (> |(buffer-|
|00006250| 73 69 7a 65 29 20 31 30 | 30 29 20 28 62 75 66 66 |size) 10|0) (buff|
|00006260| 65 72 2d 6d 6f 64 69 66 | 69 65 64 2d 70 29 20 28 |er-modif|ied-p) (|
|00006270| 6e 6f 74 20 62 75 66 66 | 65 72 2d 72 65 61 64 2d |not buff|er-read-|
|00006280| 6f 6e 6c 79 29 29 0a 20 | 20 20 20 20 20 28 73 61 |only)). | (sa|
|00006290| 76 65 2d 65 78 63 75 72 | 73 69 6f 6e 0a 09 28 73 |ve-excur|sion..(s|
|000062a0| 61 76 65 2d 72 65 73 74 | 72 69 63 74 69 6f 6e 20 |ave-rest|riction |
|000062b0| 3b 3b 20 6f 6e 6c 79 20 | 73 65 61 72 63 68 20 74 |;; only |search t|
|000062c0| 68 65 20 68 65 61 64 65 | 72 2d 6d 61 78 20 6e 75 |he heade|r-max nu|
|000062d0| 6d 62 65 72 20 6f 66 20 | 63 68 61 72 61 63 74 65 |mber of |characte|
|000062e0| 72 73 0a 09 20 20 28 6e | 61 72 72 6f 77 2d 74 6f |rs.. (n|arrow-to|
|000062f0| 2d 72 65 67 69 6f 6e 20 | 31 20 28 6d 69 6e 20 68 |-region |1 (min h|
|00006300| 65 61 64 65 72 2d 6d 61 | 78 20 28 2d 20 28 62 75 |eader-ma|x (- (bu|
|00006310| 66 66 65 72 2d 73 69 7a | 65 29 20 31 29 29 29 0a |ffer-siz|e) 1))).|
|00006320| 09 20 20 28 6c 65 74 20 | 28 28 70 61 74 74 65 72 |. (let |((patter|
|00006330| 6e 73 20 66 69 6c 65 2d | 68 65 61 64 65 72 2d 75 |ns file-|header-u|
|00006340| 70 64 61 74 65 2d 61 6c | 69 73 74 29 29 0a 09 20 |pdate-al|ist)).. |
|00006350| 20 20 20 3b 3b 20 64 6f | 20 6e 6f 74 20 72 65 63 | ;; do| not rec|
|00006360| 6f 72 64 20 74 68 69 73 | 20 63 61 6c 6c 20 61 73 |ord this| call as|
|00006370| 20 61 20 63 6f 6d 6d 61 | 6e 64 20 69 6e 20 74 68 | a comma|nd in th|
|00006380| 65 20 63 6f 6d 6d 61 6e | 64 20 68 69 73 74 6f 72 |e comman|d histor|
|00006390| 79 0a 09 20 20 20 20 28 | 73 65 74 71 20 6c 61 73 |y.. (|setq las|
|000063a0| 74 2d 63 6f 6d 6d 61 6e | 64 20 6e 69 6c 29 0a 09 |t-comman|d nil)..|
|000063b0| 20 20 20 20 28 77 68 69 | 6c 65 20 70 61 74 74 65 | (whi|le patte|
|000063c0| 72 6e 73 0a 09 20 20 20 | 20 20 20 28 67 6f 74 6f |rns.. | (goto|
|000063d0| 2d 63 68 61 72 20 28 70 | 6f 69 6e 74 2d 6d 69 6e |-char (p|oint-min|
|000063e0| 29 29 0a 09 20 20 20 20 | 20 20 28 69 66 20 28 72 |)).. | (if (r|
|000063f0| 65 2d 73 65 61 72 63 68 | 2d 66 6f 72 77 61 72 64 |e-search|-forward|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.