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

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


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

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



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 69 6d 62 40 67 65 |piled by| jimb@ge|
|00000020| 65 63 68 2e 67 6e 75 2e | 61 69 2e 6d 69 74 2e 65 |ech.gnu.|ai.mit.e|
|00000030| 64 75 20 6f 6e 20 4d 6f | 6e 20 4a 75 6c 20 20 35 |du on Mo|n Jul 5|
|00000040| 20 32 33 3a 30 32 3a 34 | 35 20 31 39 39 33 0a 3b | 23:02:4|5 1993.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 67 64 |;; from |file /gd|
|00000060| 2f 67 6e 75 2f 65 6d 61 | 63 73 2f 31 39 2e 30 2f |/gnu/ema|cs/19.0/|
|00000070| 6c 69 73 70 2f 66 69 6c | 65 73 2e 65 6c 0a 3b 3b |lisp/fil|es.el.;;|
|00000080| 3b 20 65 6d 61 63 73 20 | 76 65 72 73 69 6f 6e 20 |; emacs |version |
|00000090| 31 39 2e 31 35 2e 31 36 | 2e 0a 3b 3b 3b 20 62 79 |19.15.16|..;;; by|
|000000a0| 74 65 63 6f 6d 70 20 76 | 65 72 73 69 6f 6e 20 46 |tecomp v|ersion F|
|000000b0| 53 46 20 32 2e 31 30 0a | 3b 3b 3b 20 6f 70 74 69 |SF 2.10.|;;; opti|
|000000c0| 6d 69 7a 61 74 69 6f 6e | 20 69 73 20 6f 6e 2e 0a |mization| is on..|
|000000d0| 3b 3b 3b 20 74 68 69 73 | 20 66 69 6c 65 20 75 73 |;;; this| file us|
|000000e0| 65 73 20 6f 70 63 6f 64 | 65 73 20 77 68 69 63 68 |es opcod|es which|
|000000f0| 20 64 6f 20 6e 6f 74 20 | 65 78 69 73 74 20 69 6e | do not |exist in|
|00000100| 20 45 6d 61 63 73 20 31 | 38 2e 0a 0a 28 69 66 20 | Emacs 1|8...(if |
|00000110| 28 61 6e 64 20 28 62 6f | 75 6e 64 70 20 27 65 6d |(and (bo|undp 'em|
|00000120| 61 63 73 2d 76 65 72 73 | 69 6f 6e 29 0a 09 20 28 |acs-vers|ion).. (|
|00000130| 6f 72 20 28 61 6e 64 20 | 28 62 6f 75 6e 64 70 20 |or (and |(boundp |
|00000140| 27 65 70 6f 63 68 3a 3a | 76 65 72 73 69 6f 6e 29 |'epoch::|version)|
|00000150| 20 65 70 6f 63 68 3a 3a | 76 65 72 73 69 6f 6e 29 | epoch::|version)|
|00000160| 0a 09 20 20 20 20 20 28 | 73 74 72 69 6e 67 2d 6c |.. (|string-l|
|00000170| 65 73 73 70 20 65 6d 61 | 63 73 2d 76 65 72 73 69 |essp ema|cs-versi|
|00000180| 6f 6e 20 22 31 39 22 29 | 29 29 0a 20 20 20 20 28 |on "19")|)). (|
|00000190| 65 72 72 6f 72 20 22 54 | 68 69 73 20 66 69 6c 65 |error "T|his file|
|000001a0| 20 77 61 73 20 63 6f 6d | 70 69 6c 65 64 20 66 6f | was com|piled fo|
|000001b0| 72 20 45 6d 61 63 73 20 | 31 39 22 29 29 0a 0a 28 |r Emacs |19"))..(|
|000001c0| 64 65 66 63 6f 6e 73 74 | 20 64 65 6c 65 74 65 2d |defconst| delete-|
|000001d0| 61 75 74 6f 2d 73 61 76 | 65 2d 66 69 6c 65 73 20 |auto-sav|e-files |
|000001e0| 74 20 22 5c 0a 2a 4e 6f | 6e 2d 6e 69 6c 20 6d 65 |t "\.*No|n-nil me|
|000001f0| 61 6e 73 20 64 65 6c 65 | 74 65 20 61 20 62 75 66 |ans dele|te a buf|
|00000200| 66 65 72 27 73 20 61 75 | 74 6f 2d 73 61 76 65 20 |fer's au|to-save |
|00000210| 66 69 6c 65 20 77 68 65 | 6e 20 74 68 65 20 62 75 |file whe|n the bu|
|00000220| 66 66 65 72 20 69 73 20 | 73 61 76 65 64 2e 22 29 |ffer is |saved.")|
|00000230| 0a 28 64 65 66 63 6f 6e | 73 74 20 64 69 72 65 63 |.(defcon|st direc|
|00000240| 74 6f 72 79 2d 61 62 62 | 72 65 76 2d 61 6c 69 73 |tory-abb|rev-alis|
|00000250| 74 20 6e 69 6c 20 22 5c | 0a 2a 41 6c 69 73 74 20 |t nil "\|.*Alist |
|00000260| 6f 66 20 61 62 62 72 65 | 76 69 61 74 69 6f 6e 73 |of abbre|viations|
|00000270| 20 66 6f 72 20 66 69 6c | 65 20 64 69 72 65 63 74 | for fil|e direct|
|00000280| 6f 72 69 65 73 2e 0a 41 | 20 6c 69 73 74 20 6f 66 |ories..A| list of|
|00000290| 20 65 6c 65 6d 65 6e 74 | 73 20 6f 66 20 74 68 65 | element|s of the|
|000002a0| 20 66 6f 72 6d 20 28 46 | 52 4f 4d 20 2e 20 54 4f | form (F|ROM . TO|
|000002b0| 29 2c 20 65 61 63 68 20 | 6d 65 61 6e 69 6e 67 20 |), each |meaning |
|000002c0| 74 6f 20 72 65 70 6c 61 | 63 65 0a 46 52 4f 4d 20 |to repla|ce.FROM |
|000002d0| 77 69 74 68 20 54 4f 20 | 77 68 65 6e 20 69 74 20 |with TO |when it |
|000002e0| 61 70 70 65 61 72 73 20 | 69 6e 20 61 20 64 69 72 |appears |in a dir|
|000002f0| 65 63 74 6f 72 79 20 6e | 61 6d 65 2e 20 20 54 68 |ectory n|ame. Th|
|00000300| 69 73 20 72 65 70 6c 61 | 63 65 6d 65 6e 74 20 69 |is repla|cement i|
|00000310| 73 0a 64 6f 6e 65 20 77 | 68 65 6e 20 73 65 74 74 |s.done w|hen sett|
|00000320| 69 6e 67 20 75 70 20 74 | 68 65 20 64 65 66 61 75 |ing up t|he defau|
|00000330| 6c 74 20 64 69 72 65 63 | 74 6f 72 79 20 6f 66 20 |lt direc|tory of |
|00000340| 61 20 6e 65 77 6c 79 20 | 76 69 73 69 74 65 64 20 |a newly |visited |
|00000350| 66 69 6c 65 2e 0a 2a 45 | 76 65 72 79 2a 20 46 52 |file..*E|very* FR|
|00000360| 4f 4d 20 73 74 72 69 6e | 67 20 73 68 6f 75 6c 64 |OM strin|g should|
|00000370| 20 73 74 61 72 74 20 77 | 69 74 68 20 60 5e 27 2e | start w|ith `^'.|
|00000380| 0a 0a 55 73 65 20 74 68 | 69 73 20 66 65 61 74 75 |..Use th|is featu|
|00000390| 72 65 20 77 68 65 6e 20 | 79 6f 75 20 68 61 76 65 |re when |you have|
|000003a0| 20 64 69 72 65 63 74 6f | 72 69 65 73 20 77 68 69 | directo|ries whi|
|000003b0| 63 68 20 79 6f 75 20 6e | 6f 72 6d 61 6c 6c 79 20 |ch you n|ormally |
|000003c0| 72 65 66 65 72 20 74 6f | 0a 76 69 61 20 61 62 73 |refer to|.via abs|
|000003d0| 6f 6c 75 74 65 20 73 79 | 6d 62 6f 6c 69 63 20 6c |olute sy|mbolic l|
|000003e0| 69 6e 6b 73 2e 20 20 4d | 61 6b 65 20 54 4f 20 74 |inks. M|ake TO t|
|000003f0| 68 65 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 6c |he name |of the l|
|00000400| 69 6e 6b 2c 20 61 6e 64 | 20 46 52 4f 4d 0a 74 68 |ink, and| FROM.th|
|00000410| 65 20 6e 61 6d 65 20 69 | 74 20 69 73 20 6c 69 6e |e name i|t is lin|
|00000420| 6b 65 64 20 74 6f 2e 22 | 29 0a 28 64 65 66 63 6f |ked to."|).(defco|
|00000430| 6e 73 74 20 6d 61 6b 65 | 2d 62 61 63 6b 75 70 2d |nst make|-backup-|
|00000440| 66 69 6c 65 73 20 28 62 | 79 74 65 2d 63 6f 64 65 |files (b|yte-code|
|00000450| 20 22 08 c1 3d 3f 87 22 | 20 5b 73 79 73 74 65 6d | "..=?."| [system|
|00000460| 2d 74 79 70 65 20 76 61 | 78 2d 76 6d 73 5d 20 32 |-type va|x-vms] 2|
|00000470| 29 20 22 5c 0a 2a 4e 6f | 6e 2d 6e 69 6c 20 6d 65 |) "\.*No|n-nil me|
|00000480| 61 6e 73 20 6d 61 6b 65 | 20 61 20 62 61 63 6b 75 |ans make| a backu|
|00000490| 70 20 6f 66 20 61 20 66 | 69 6c 65 20 74 68 65 20 |p of a f|ile the |
|000004a0| 66 69 72 73 74 20 74 69 | 6d 65 20 69 74 20 69 73 |first ti|me it is|
|000004b0| 20 73 61 76 65 64 2e 0a | 54 68 69 73 20 63 61 6e | saved..|This can|
|000004c0| 20 62 65 20 64 6f 6e 65 | 20 62 79 20 72 65 6e 61 | be done| by rena|
|000004d0| 6d 69 6e 67 20 74 68 65 | 20 66 69 6c 65 20 6f 72 |ming the| file or|
|000004e0| 20 62 79 20 63 6f 70 79 | 69 6e 67 2e 0a 0a 52 65 | by copy|ing...Re|
|000004f0| 6e 61 6d 69 6e 67 20 6d | 65 61 6e 73 20 74 68 61 |naming m|eans tha|
|00000500| 74 20 45 6d 61 63 73 20 | 72 65 6e 61 6d 65 73 20 |t Emacs |renames |
|00000510| 74 68 65 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |the exis|ting fil|
|00000520| 65 20 73 6f 20 74 68 61 | 74 20 69 74 20 69 73 20 |e so tha|t it is |
|00000530| 61 0a 62 61 63 6b 75 70 | 20 66 69 6c 65 2c 20 74 |a.backup| file, t|
|00000540| 68 65 6e 20 77 72 69 74 | 65 73 20 74 68 65 20 62 |hen writ|es the b|
|00000550| 75 66 66 65 72 20 69 6e | 74 6f 20 61 20 6e 65 77 |uffer in|to a new|
|00000560| 20 66 69 6c 65 2e 20 20 | 41 6e 79 20 6f 74 68 65 | file. |Any othe|
|00000570| 72 20 6e 61 6d 65 73 0a | 74 68 61 74 20 74 68 65 |r names.|that the|
|00000580| 20 6f 6c 64 20 66 69 6c | 65 20 68 61 64 20 77 69 | old fil|e had wi|
|00000590| 6c 6c 20 6e 6f 77 20 72 | 65 66 65 72 20 74 6f 20 |ll now r|efer to |
|000005a0| 74 68 65 20 62 61 63 6b | 75 70 20 66 69 6c 65 2e |the back|up file.|
|000005b0| 20 20 54 68 65 20 6e 65 | 77 20 66 69 6c 65 0a 69 | The ne|w file.i|
|000005c0| 73 20 6f 77 6e 65 64 20 | 62 79 20 79 6f 75 20 61 |s owned |by you a|
|000005d0| 6e 64 20 69 74 73 20 67 | 72 6f 75 70 20 69 73 20 |nd its g|roup is |
|000005e0| 64 65 66 61 75 6c 74 65 | 64 2e 0a 0a 43 6f 70 79 |defaulte|d...Copy|
|000005f0| 69 6e 67 20 6d 65 61 6e | 73 20 74 68 61 74 20 45 |ing mean|s that E|
|00000600| 6d 61 63 73 20 63 6f 70 | 69 65 73 20 74 68 65 20 |macs cop|ies the |
|00000610| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 69 6e |existing| file in|
|00000620| 74 6f 20 74 68 65 20 62 | 61 63 6b 75 70 0a 66 69 |to the b|ackup.fi|
|00000630| 6c 65 2c 20 74 68 65 6e | 20 77 72 69 74 65 73 20 |le, then| writes |
|00000640| 74 68 65 20 62 75 66 66 | 65 72 20 6f 6e 20 74 6f |the buff|er on to|
|00000650| 70 20 6f 66 20 74 68 65 | 20 65 78 69 73 74 69 6e |p of the| existin|
|00000660| 67 20 66 69 6c 65 2e 20 | 20 41 6e 79 20 6f 74 68 |g file. | Any oth|
|00000670| 65 72 0a 6e 61 6d 65 73 | 20 74 68 61 74 20 74 68 |er.names| that th|
|00000680| 65 20 6f 6c 64 20 66 69 | 6c 65 20 68 61 64 20 77 |e old fi|le had w|
|00000690| 69 6c 6c 20 6e 6f 77 20 | 72 65 66 65 72 20 74 6f |ill now |refer to|
|000006a0| 20 74 68 65 20 6e 65 77 | 20 28 65 64 69 74 65 64 | the new| (edited|
|000006b0| 29 20 66 69 6c 65 2e 0a | 54 68 65 20 66 69 6c 65 |) file..|The file|
|000006c0| 27 73 20 6f 77 6e 65 72 | 20 61 6e 64 20 67 72 6f |'s owner| and gro|
|000006d0| 75 70 20 61 72 65 20 75 | 6e 63 68 61 6e 67 65 64 |up are u|nchanged|
|000006e0| 2e 0a 0a 54 68 65 20 63 | 68 6f 69 63 65 20 6f 66 |...The c|hoice of|
|000006f0| 20 72 65 6e 61 6d 69 6e | 67 20 6f 72 20 63 6f 70 | renamin|g or cop|
|00000700| 79 69 6e 67 20 69 73 20 | 63 6f 6e 74 72 6f 6c 6c |ying is |controll|
|00000710| 65 64 20 62 79 20 74 68 | 65 20 76 61 72 69 61 62 |ed by th|e variab|
|00000720| 6c 65 73 0a 60 62 61 63 | 6b 75 70 2d 62 79 2d 63 |les.`bac|kup-by-c|
|00000730| 6f 70 79 69 6e 67 27 2c | 20 60 62 61 63 6b 75 70 |opying',| `backup|
|00000740| 2d 62 79 2d 63 6f 70 79 | 69 6e 67 2d 77 68 65 6e |-by-copy|ing-when|
|00000750| 2d 6c 69 6e 6b 65 64 27 | 20 61 6e 64 0a 60 62 61 |-linked'| and.`ba|
|00000760| 63 6b 75 70 2d 62 79 2d | 63 6f 70 79 69 6e 67 2d |ckup-by-|copying-|
|00000770| 77 68 65 6e 2d 6d 69 73 | 6d 61 74 63 68 27 2e 22 |when-mis|match'."|
|00000780| 29 0a 28 64 65 66 76 61 | 72 20 62 61 63 6b 75 70 |).(defva|r backup|
|00000790| 2d 69 6e 68 69 62 69 74 | 65 64 20 6e 69 6c 20 22 |-inhibit|ed nil "|
|000007a0| 5c 0a 4e 6f 6e 2d 6e 69 | 6c 20 6d 65 61 6e 73 20 |\.Non-ni|l means |
|000007b0| 64 6f 6e 27 74 20 6d 61 | 6b 65 20 61 20 62 61 63 |don't ma|ke a bac|
|000007c0| 6b 75 70 20 66 69 6c 65 | 20 66 6f 72 20 74 68 69 |kup file| for thi|
|000007d0| 73 20 62 75 66 66 65 72 | 2e 22 29 0a 28 70 75 74 |s buffer|.").(put|
|000007e0| 20 28 71 75 6f 74 65 20 | 62 61 63 6b 75 70 2d 69 | (quote |backup-i|
|000007f0| 6e 68 69 62 69 74 65 64 | 29 20 28 71 75 6f 74 65 |nhibited|) (quote|
|00000800| 20 70 65 72 6d 61 6e 65 | 6e 74 2d 6c 6f 63 61 6c | permane|nt-local|
|00000810| 29 20 74 29 0a 28 64 65 | 66 63 6f 6e 73 74 20 62 |) t).(de|fconst b|
|00000820| 61 63 6b 75 70 2d 62 79 | 2d 63 6f 70 79 69 6e 67 |ackup-by|-copying|
|00000830| 20 6e 69 6c 20 22 5c 0a | 2a 4e 6f 6e 2d 6e 69 6c | nil "\.|*Non-nil|
|00000840| 20 6d 65 61 6e 73 20 61 | 6c 77 61 79 73 20 75 73 | means a|lways us|
|00000850| 65 20 63 6f 70 79 69 6e | 67 20 74 6f 20 63 72 65 |e copyin|g to cre|
|00000860| 61 74 65 20 62 61 63 6b | 75 70 20 66 69 6c 65 73 |ate back|up files|
|00000870| 2e 0a 53 65 65 20 64 6f | 63 75 6d 65 6e 74 61 74 |..See do|cumentat|
|00000880| 69 6f 6e 20 6f 66 20 76 | 61 72 69 61 62 6c 65 20 |ion of v|ariable |
|00000890| 60 6d 61 6b 65 2d 62 61 | 63 6b 75 70 2d 66 69 6c |`make-ba|ckup-fil|
|000008a0| 65 73 27 2e 22 29 0a 28 | 64 65 66 63 6f 6e 73 74 |es'.").(|defconst|
|000008b0| 20 62 61 63 6b 75 70 2d | 62 79 2d 63 6f 70 79 69 | backup-|by-copyi|
|000008c0| 6e 67 2d 77 68 65 6e 2d | 6c 69 6e 6b 65 64 20 6e |ng-when-|linked n|
|000008d0| 69 6c 20 22 5c 0a 2a 4e | 6f 6e 2d 6e 69 6c 20 6d |il "\.*N|on-nil m|
|000008e0| 65 61 6e 73 20 75 73 65 | 20 63 6f 70 79 69 6e 67 |eans use| copying|
|000008f0| 20 74 6f 20 63 72 65 61 | 74 65 20 62 61 63 6b 75 | to crea|te backu|
|00000900| 70 73 20 66 6f 72 20 66 | 69 6c 65 73 20 77 69 74 |ps for f|iles wit|
|00000910| 68 20 6d 75 6c 74 69 70 | 6c 65 20 6e 61 6d 65 73 |h multip|le names|
|00000920| 2e 0a 54 68 69 73 20 63 | 61 75 73 65 73 20 74 68 |..This c|auses th|
|00000930| 65 20 61 6c 74 65 72 6e | 61 74 65 20 6e 61 6d 65 |e altern|ate name|
|00000940| 73 20 74 6f 20 72 65 66 | 65 72 20 74 6f 20 74 68 |s to ref|er to th|
|00000950| 65 20 6c 61 74 65 73 74 | 20 76 65 72 73 69 6f 6e |e latest| version|
|00000960| 20 61 73 20 65 64 69 74 | 65 64 2e 0a 54 68 69 73 | as edit|ed..This|
|00000970| 20 76 61 72 69 61 62 6c | 65 20 69 73 20 72 65 6c | variabl|e is rel|
|00000980| 65 76 61 6e 74 20 6f 6e | 6c 79 20 69 66 20 60 62 |evant on|ly if `b|
|00000990| 61 63 6b 75 70 2d 62 79 | 2d 63 6f 70 79 69 6e 67 |ackup-by|-copying|
|000009a0| 27 20 69 73 20 6e 69 6c | 2e 22 29 0a 28 64 65 66 |' is nil|.").(def|
|000009b0| 63 6f 6e 73 74 20 62 61 | 63 6b 75 70 2d 62 79 2d |const ba|ckup-by-|
|000009c0| 63 6f 70 79 69 6e 67 2d | 77 68 65 6e 2d 6d 69 73 |copying-|when-mis|
|000009d0| 6d 61 74 63 68 20 6e 69 | 6c 20 22 5c 0a 2a 4e 6f |match ni|l "\.*No|
|000009e0| 6e 2d 6e 69 6c 20 6d 65 | 61 6e 73 20 63 72 65 61 |n-nil me|ans crea|
|000009f0| 74 65 20 62 61 63 6b 75 | 70 73 20 62 79 20 63 6f |te backu|ps by co|
|00000a00| 70 79 69 6e 67 20 69 66 | 20 74 68 69 73 20 70 72 |pying if| this pr|
|00000a10| 65 73 65 72 76 65 73 20 | 6f 77 6e 65 72 20 6f 72 |eserves |owner or|
|00000a20| 20 67 72 6f 75 70 2e 0a | 52 65 6e 61 6d 69 6e 67 | group..|Renaming|
|00000a30| 20 6d 61 79 20 73 74 69 | 6c 6c 20 62 65 20 75 73 | may sti|ll be us|
|00000a40| 65 64 20 28 73 75 62 6a | 65 63 74 20 74 6f 20 63 |ed (subj|ect to c|
|00000a50| 6f 6e 74 72 6f 6c 20 6f | 66 20 6f 74 68 65 72 20 |ontrol o|f other |
|00000a60| 76 61 72 69 61 62 6c 65 | 73 29 0a 77 68 65 6e 20 |variable|s).when |
|00000a70| 69 74 20 77 6f 75 6c 64 | 20 6e 6f 74 20 72 65 73 |it would| not res|
|00000a80| 75 6c 74 20 69 6e 20 63 | 68 61 6e 67 69 6e 67 20 |ult in c|hanging |
|00000a90| 74 68 65 20 6f 77 6e 65 | 72 20 6f 72 20 67 72 6f |the owne|r or gro|
|00000aa0| 75 70 20 6f 66 20 74 68 | 65 20 66 69 6c 65 3b 0a |up of th|e file;.|
|00000ab0| 74 68 61 74 20 69 73 2c | 20 66 6f 72 20 66 69 6c |that is,| for fil|
|00000ac0| 65 73 20 77 68 69 63 68 | 20 61 72 65 20 6f 77 6e |es which| are own|
|00000ad0| 65 64 20 62 79 20 79 6f | 75 20 61 6e 64 20 77 68 |ed by yo|u and wh|
|00000ae0| 6f 73 65 20 67 72 6f 75 | 70 20 6d 61 74 63 68 65 |ose grou|p matche|
|00000af0| 73 0a 74 68 65 20 64 65 | 66 61 75 6c 74 20 66 6f |s.the de|fault fo|
|00000b00| 72 20 61 20 6e 65 77 20 | 66 69 6c 65 20 63 72 65 |r a new |file cre|
|00000b10| 61 74 65 64 20 74 68 65 | 72 65 20 62 79 20 79 6f |ated the|re by yo|
|00000b20| 75 2e 0a 54 68 69 73 20 | 76 61 72 69 61 62 6c 65 |u..This |variable|
|00000b30| 20 69 73 20 72 65 6c 65 | 76 61 6e 74 20 6f 6e 6c | is rele|vant onl|
|00000b40| 79 20 69 66 20 60 62 61 | 63 6b 75 70 2d 62 79 2d |y if `ba|ckup-by-|
|00000b50| 63 6f 70 79 69 6e 67 27 | 20 69 73 20 6e 69 6c 2e |copying'| is nil.|
|00000b60| 22 29 0a 28 64 65 66 76 | 61 72 20 62 61 63 6b 75 |").(defv|ar backu|
|00000b70| 70 2d 65 6e 61 62 6c 65 | 2d 70 72 65 64 69 63 61 |p-enable|-predica|
|00000b80| 74 65 20 28 71 75 6f 74 | 65 20 28 6c 61 6d 62 64 |te (quot|e (lambd|
|00000b90| 61 20 28 6e 61 6d 65 29 | 20 28 6f 72 20 28 3c 20 |a (name)| (or (< |
|00000ba0| 28 6c 65 6e 67 74 68 20 | 6e 61 6d 65 29 20 35 29 |(length |name) 5)|
|00000bb0| 20 28 6e 6f 74 20 28 73 | 74 72 69 6e 67 2d 65 71 | (not (s|tring-eq|
|00000bc0| 75 61 6c 20 22 2f 74 6d | 70 2f 22 20 28 73 75 62 |ual "/tm|p/" (sub|
|00000bd0| 73 74 72 69 6e 67 20 6e | 61 6d 65 20 30 20 35 29 |string n|ame 0 5)|
|00000be0| 29 29 29 29 29 20 22 5c | 0a 50 72 65 64 69 63 61 |))))) "\|.Predica|
|00000bf0| 74 65 20 74 68 61 74 20 | 6c 6f 6f 6b 73 20 61 74 |te that |looks at|
|00000c00| 20 61 20 66 69 6c 65 20 | 6e 61 6d 65 20 61 6e 64 | a file |name and|
|00000c10| 20 64 65 63 69 64 65 73 | 20 77 68 65 74 68 65 72 | decides| whether|
|00000c20| 20 74 6f 20 6d 61 6b 65 | 20 62 61 63 6b 75 70 73 | to make| backups|
|00000c30| 2e 0a 43 61 6c 6c 65 64 | 20 77 69 74 68 20 61 6e |..Called| with an|
|00000c40| 20 61 62 73 6f 6c 75 74 | 65 20 66 69 6c 65 20 6e | absolut|e file n|
|00000c50| 61 6d 65 20 61 73 20 61 | 72 67 75 6d 65 6e 74 2c |ame as a|rgument,|
|00000c60| 20 69 74 20 72 65 74 75 | 72 6e 73 20 74 20 74 6f | it retu|rns t to|
|00000c70| 20 65 6e 61 62 6c 65 20 | 62 61 63 6b 75 70 2e 22 | enable |backup."|
|00000c80| 29 0a 28 64 65 66 63 6f | 6e 73 74 20 62 75 66 66 |).(defco|nst buff|
|00000c90| 65 72 2d 6f 66 66 65 72 | 2d 73 61 76 65 20 6e 69 |er-offer|-save ni|
|00000ca0| 6c 20 22 5c 0a 2a 4e 6f | 6e 2d 6e 69 6c 20 69 6e |l "\.*No|n-nil in|
|00000cb0| 20 61 20 62 75 66 66 65 | 72 20 6d 65 61 6e 73 20 | a buffe|r means |
|00000cc0| 6f 66 66 65 72 20 74 6f | 20 73 61 76 65 20 74 68 |offer to| save th|
|00000cd0| 65 20 62 75 66 66 65 72 | 20 6f 6e 20 65 78 69 74 |e buffer| on exit|
|00000ce0| 0a 65 76 65 6e 20 69 66 | 20 74 68 65 20 62 75 66 |.even if| the buf|
|00000cf0| 66 65 72 20 69 73 20 6e | 6f 74 20 76 69 73 69 74 |fer is n|ot visit|
|00000d00| 69 6e 67 20 61 20 66 69 | 6c 65 2e 0a 41 75 74 6f |ing a fi|le..Auto|
|00000d10| 6d 61 74 69 63 61 6c 6c | 79 20 6c 6f 63 61 6c 20 |maticall|y local |
|00000d20| 69 6e 20 61 6c 6c 20 62 | 75 66 66 65 72 73 2e 22 |in all b|uffers."|
|00000d30| 29 0a 28 6d 61 6b 65 2d | 76 61 72 69 61 62 6c 65 |).(make-|variable|
|00000d40| 2d 62 75 66 66 65 72 2d | 6c 6f 63 61 6c 20 28 71 |-buffer-|local (q|
|00000d50| 75 6f 74 65 20 62 75 66 | 66 65 72 2d 6f 66 66 65 |uote buf|fer-offe|
|00000d60| 72 2d 73 61 76 65 29 29 | 0a 28 64 65 66 63 6f 6e |r-save))|.(defcon|
|00000d70| 73 74 20 66 69 6e 64 2d | 66 69 6c 65 2d 65 78 69 |st find-|file-exi|
|00000d80| 73 74 69 6e 67 2d 6f 74 | 68 65 72 2d 6e 61 6d 65 |sting-ot|her-name|
|00000d90| 20 6e 69 6c 20 22 5c 0a | 2a 4e 6f 6e 2d 6e 69 6c | nil "\.|*Non-nil|
|00000da0| 20 6d 65 61 6e 73 20 66 | 69 6e 64 20 61 20 66 69 | means f|ind a fi|
|00000db0| 6c 65 20 75 6e 64 65 72 | 20 61 6c 74 65 72 6e 61 |le under| alterna|
|00000dc0| 74 69 76 65 20 6e 61 6d | 65 73 2c 20 69 6e 20 65 |tive nam|es, in e|
|00000dd0| 78 69 73 74 69 6e 67 20 | 62 75 66 66 65 72 73 2e |xisting |buffers.|
|00000de0| 0a 54 68 69 73 20 6d 65 | 61 6e 73 20 69 66 20 61 |.This me|ans if a|
|00000df0| 6e 79 20 65 78 69 73 74 | 69 6e 67 20 62 75 66 66 |ny exist|ing buff|
|00000e00| 65 72 20 69 73 20 76 69 | 73 69 74 69 6e 67 20 74 |er is vi|siting t|
|00000e10| 68 65 20 66 69 6c 65 20 | 79 6f 75 20 77 61 6e 74 |he file |you want|
|00000e20| 0a 75 6e 64 65 72 20 61 | 6e 6f 74 68 65 72 20 6e |.under a|nother n|
|00000e30| 61 6d 65 2c 20 79 6f 75 | 20 67 65 74 20 74 68 65 |ame, you| get the|
|00000e40| 20 65 78 69 73 74 69 6e | 67 20 62 75 66 66 65 72 | existin|g buffer|
|00000e50| 20 69 6e 73 74 65 61 64 | 20 6f 66 20 61 20 6e 65 | instead| of a ne|
|00000e60| 77 20 62 75 66 66 65 72 | 2e 22 29 0a 28 64 65 66 |w buffer|.").(def|
|00000e70| 63 6f 6e 73 74 20 66 69 | 6e 64 2d 66 69 6c 65 2d |const fi|nd-file-|
|00000e80| 76 69 73 69 74 2d 74 72 | 75 65 6e 61 6d 65 20 6e |visit-tr|uename n|
|00000e90| 69 6c 20 22 5c 0a 2a 4e | 6f 6e 2d 6e 69 6c 20 6d |il "\.*N|on-nil m|
|00000ea0| 65 61 6e 73 20 76 69 73 | 69 74 20 61 20 66 69 6c |eans vis|it a fil|
|00000eb0| 65 20 75 6e 64 65 72 20 | 69 74 73 20 74 72 75 65 |e under |its true|
|00000ec0| 6e 61 6d 65 2e 0a 54 68 | 65 20 74 72 75 65 6e 61 |name..Th|e truena|
|00000ed0| 6d 65 20 6f 66 20 61 20 | 66 69 6c 65 20 69 73 20 |me of a |file is |
|00000ee0| 66 6f 75 6e 64 20 62 79 | 20 63 68 61 73 69 6e 67 |found by| chasing|
|00000ef0| 20 61 6c 6c 20 6c 69 6e | 6b 73 0a 62 6f 74 68 20 | all lin|ks.both |
|00000f00| 61 74 20 74 68 65 20 66 | 69 6c 65 20 6c 65 76 65 |at the f|ile leve|
|00000f10| 6c 20 61 6e 64 20 61 74 | 20 74 68 65 20 6c 65 76 |l and at| the lev|
|00000f20| 65 6c 73 20 6f 66 20 74 | 68 65 20 63 6f 6e 74 61 |els of t|he conta|
|00000f30| 69 6e 69 6e 67 20 64 69 | 72 65 63 74 6f 72 69 65 |ining di|rectorie|
|00000f40| 73 2e 22 29 0a 28 64 65 | 66 76 61 72 20 62 75 66 |s.").(de|fvar buf|
|00000f50| 66 65 72 2d 66 69 6c 65 | 2d 74 72 75 65 6e 61 6d |fer-file|-truenam|
|00000f60| 65 20 6e 69 6c 20 22 5c | 0a 54 68 65 20 74 72 75 |e nil "\|.The tru|
|00000f70| 65 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 66 69 6c |ename of| the fil|
|00000f80| 65 20 76 69 73 69 74 65 | 64 20 69 6e 20 74 68 65 |e visite|d in the|
|00000f90| 20 63 75 72 72 65 6e 74 | 20 62 75 66 66 65 72 2e | current| buffer.|
|00000fa0| 0a 54 68 69 73 20 76 61 | 72 69 61 62 6c 65 20 69 |.This va|riable i|
|00000fb0| 73 20 61 75 74 6f 6d 61 | 74 69 63 61 6c 6c 79 20 |s automa|tically |
|00000fc0| 6c 6f 63 61 6c 20 69 6e | 20 61 6c 6c 20 62 75 66 |local in| all buf|
|00000fd0| 66 65 72 73 2c 20 77 68 | 65 6e 20 6e 6f 6e 2d 6e |fers, wh|en non-n|
|00000fe0| 69 6c 2e 22 29 0a 28 62 | 79 74 65 2d 63 6f 64 65 |il.").(b|yte-code|
|00000ff0| 20 22 c0 c1 21 88 c2 c1 | c3 c4 23 87 22 20 5b 6d | "..!...|..#." [m|
|00001000| 61 6b 65 2d 76 61 72 69 | 61 62 6c 65 2d 62 75 66 |ake-vari|able-buf|
|00001010| 66 65 72 2d 6c 6f 63 61 | 6c 20 62 75 66 66 65 72 |fer-loca|l buffer|
|00001020| 2d 66 69 6c 65 2d 74 72 | 75 65 6e 61 6d 65 20 70 |-file-tr|uename p|
|00001030| 75 74 20 70 65 72 6d 61 | 6e 65 6e 74 2d 6c 6f 63 |ut perma|nent-loc|
|00001040| 61 6c 20 74 5d 20 34 29 | 0a 28 64 65 66 76 61 72 |al t] 4)|.(defvar|
|00001050| 20 62 75 66 66 65 72 2d | 66 69 6c 65 2d 6e 75 6d | buffer-|file-num|
|00001060| 62 65 72 20 6e 69 6c 20 | 22 5c 0a 54 68 65 20 64 |ber nil |"\.The d|
|00001070| 65 76 69 63 65 20 6e 75 | 6d 62 65 72 20 61 6e 64 |evice nu|mber and|
|00001080| 20 66 69 6c 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 | file nu|mber of |
|00001090| 74 68 65 20 66 69 6c 65 | 20 76 69 73 69 74 65 64 |the file| visited|
|000010a0| 20 69 6e 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 | in the |current |
|000010b0| 62 75 66 66 65 72 2e 0a | 54 68 65 20 76 61 6c 75 |buffer..|The valu|
|000010c0| 65 20 69 73 20 61 20 6c | 69 73 74 20 6f 66 20 74 |e is a l|ist of t|
|000010d0| 68 65 20 66 6f 72 6d 20 | 28 46 49 4c 45 4e 55 4d |he form |(FILENUM|
|000010e0| 20 44 45 56 4e 55 4d 29 | 2e 0a 54 68 69 73 20 70 | DEVNUM)|..This p|
|000010f0| 61 69 72 20 6f 66 20 6e | 75 6d 62 65 72 73 20 75 |air of n|umbers u|
|00001100| 6e 69 71 75 65 6c 79 20 | 69 64 65 6e 74 69 66 69 |niquely |identifi|
|00001110| 65 73 20 74 68 65 20 66 | 69 6c 65 2e 0a 49 66 20 |es the f|ile..If |
|00001120| 74 68 65 20 62 75 66 66 | 65 72 20 69 73 20 76 69 |the buff|er is vi|
|00001130| 73 69 74 69 6e 67 20 61 | 20 6e 65 77 20 66 69 6c |siting a| new fil|
|00001140| 65 2c 20 74 68 65 20 76 | 61 6c 75 65 20 69 73 20 |e, the v|alue is |
|00001150| 6e 69 6c 2e 22 29 0a 28 | 62 79 74 65 2d 63 6f 64 |nil.").(|byte-cod|
|00001160| 65 20 22 c0 c1 21 88 c2 | c1 c3 c4 23 87 22 20 5b |e "..!..|...#." [|
|00001170| 6d 61 6b 65 2d 76 61 72 | 69 61 62 6c 65 2d 62 75 |make-var|iable-bu|
|00001180| 66 66 65 72 2d 6c 6f 63 | 61 6c 20 62 75 66 66 65 |ffer-loc|al buffe|
|00001190| 72 2d 66 69 6c 65 2d 6e | 75 6d 62 65 72 20 70 75 |r-file-n|umber pu|
|000011a0| 74 20 70 65 72 6d 61 6e | 65 6e 74 2d 6c 6f 63 61 |t perman|ent-loca|
|000011b0| 6c 20 74 5d 20 34 29 0a | 28 64 65 66 63 6f 6e 73 |l t] 4).|(defcons|
|000011c0| 74 20 66 69 6c 65 2d 70 | 72 65 63 69 6f 75 73 2d |t file-p|recious-|
|000011d0| 66 6c 61 67 20 6e 69 6c | 20 22 5c 0a 2a 4e 6f 6e |flag nil| "\.*Non|
|000011e0| 2d 6e 69 6c 20 6d 65 61 | 6e 73 20 70 72 6f 74 65 |-nil mea|ns prote|
|000011f0| 63 74 20 61 67 61 69 6e | 73 74 20 49 2f 4f 20 65 |ct again|st I/O e|
|00001200| 72 72 6f 72 73 20 77 68 | 69 6c 65 20 73 61 76 69 |rrors wh|ile savi|
|00001210| 6e 67 20 66 69 6c 65 73 | 2e 0a 53 6f 6d 65 20 6d |ng files|..Some m|
|00001220| 6f 64 65 73 20 73 65 74 | 20 74 68 69 73 20 6e 6f |odes set| this no|
|00001230| 6e 2d 6e 69 6c 20 69 6e | 20 70 61 72 74 69 63 75 |n-nil in| particu|
|00001240| 6c 61 72 20 62 75 66 66 | 65 72 73 2e 22 29 0a 28 |lar buff|ers.").(|
|00001250| 64 65 66 76 61 72 20 76 | 65 72 73 69 6f 6e 2d 63 |defvar v|ersion-c|
|00001260| 6f 6e 74 72 6f 6c 20 6e | 69 6c 20 22 5c 0a 2a 43 |ontrol n|il "\.*C|
|00001270| 6f 6e 74 72 6f 6c 20 75 | 73 65 20 6f 66 20 76 65 |ontrol u|se of ve|
|00001280| 72 73 69 6f 6e 20 6e 75 | 6d 62 65 72 73 20 66 6f |rsion nu|mbers fo|
|00001290| 72 20 62 61 63 6b 75 70 | 20 66 69 6c 65 73 2e 0a |r backup| files..|
|000012a0| 74 20 6d 65 61 6e 73 20 | 6d 61 6b 65 20 6e 75 6d |t means |make num|
|000012b0| 65 72 69 63 20 62 61 63 | 6b 75 70 20 76 65 72 73 |eric bac|kup vers|
|000012c0| 69 6f 6e 73 20 75 6e 63 | 6f 6e 64 69 74 69 6f 6e |ions unc|ondition|
|000012d0| 61 6c 6c 79 2e 0a 6e 69 | 6c 20 6d 65 61 6e 73 20 |ally..ni|l means |
|000012e0| 6d 61 6b 65 20 74 68 65 | 6d 20 66 6f 72 20 66 69 |make the|m for fi|
|000012f0| 6c 65 73 20 74 68 61 74 | 20 68 61 76 65 20 73 6f |les that| have so|
|00001300| 6d 65 20 61 6c 72 65 61 | 64 79 2e 0a 6e 65 76 65 |me alrea|dy..neve|
|00001310| 72 20 6d 65 61 6e 73 20 | 64 6f 20 6e 6f 74 20 6d |r means |do not m|
|00001320| 61 6b 65 20 74 68 65 6d | 2e 22 29 0a 28 64 65 66 |ake them|.").(def|
|00001330| 76 61 72 20 64 69 72 65 | 64 2d 6b 65 70 74 2d 76 |var dire|d-kept-v|
|00001340| 65 72 73 69 6f 6e 73 20 | 32 20 22 5c 0a 2a 57 68 |ersions |2 "\.*Wh|
|00001350| 65 6e 20 63 6c 65 61 6e | 69 6e 67 20 64 69 72 65 |en clean|ing dire|
|00001360| 63 74 6f 72 79 2c 20 6e | 75 6d 62 65 72 20 6f 66 |ctory, n|umber of|
|00001370| 20 76 65 72 73 69 6f 6e | 73 20 74 6f 20 6b 65 65 | version|s to kee|
|00001380| 70 2e 22 29 0a 28 64 65 | 66 76 61 72 20 74 72 69 |p.").(de|fvar tri|
|00001390| 6d 2d 76 65 72 73 69 6f | 6e 73 2d 77 69 74 68 6f |m-versio|ns-witho|
|000013a0| 75 74 2d 61 73 6b 69 6e | 67 20 6e 69 6c 20 22 5c |ut-askin|g nil "\|
|000013b0| 0a 2a 49 66 20 74 2c 20 | 64 65 6c 65 74 65 73 20 |.*If t, |deletes |
|000013c0| 65 78 63 65 73 73 20 62 | 61 63 6b 75 70 20 76 65 |excess b|ackup ve|
|000013d0| 72 73 69 6f 6e 73 20 73 | 69 6c 65 6e 74 6c 79 2e |rsions s|ilently.|
|000013e0| 0a 49 66 20 6e 69 6c 2c | 20 61 73 6b 73 20 63 6f |.If nil,| asks co|
|000013f0| 6e 66 69 72 6d 61 74 69 | 6f 6e 2e 20 20 41 6e 79 |nfirmati|on. Any|
|00001400| 20 6f 74 68 65 72 20 76 | 61 6c 75 65 20 70 72 65 | other v|alue pre|
|00001410| 76 65 6e 74 73 20 61 6e | 79 20 74 72 69 6d 6d 69 |vents an|y trimmi|
|00001420| 6e 67 2e 22 29 0a 28 64 | 65 66 76 61 72 20 6b 65 |ng.").(d|efvar ke|
|00001430| 70 74 2d 6f 6c 64 2d 76 | 65 72 73 69 6f 6e 73 20 |pt-old-v|ersions |
|00001440| 32 20 22 5c 0a 2a 4e 75 | 6d 62 65 72 20 6f 66 20 |2 "\.*Nu|mber of |
|00001450| 6f 6c 64 65 73 74 20 76 | 65 72 73 69 6f 6e 73 20 |oldest v|ersions |
|00001460| 74 6f 20 6b 65 65 70 20 | 77 68 65 6e 20 61 20 6e |to keep |when a n|
|00001470| 65 77 20 6e 75 6d 62 65 | 72 65 64 20 62 61 63 6b |ew numbe|red back|
|00001480| 75 70 20 69 73 20 6d 61 | 64 65 2e 22 29 0a 28 64 |up is ma|de.").(d|
|00001490| 65 66 76 61 72 20 6b 65 | 70 74 2d 6e 65 77 2d 76 |efvar ke|pt-new-v|
|000014a0| 65 72 73 69 6f 6e 73 20 | 32 20 22 5c 0a 2a 4e 75 |ersions |2 "\.*Nu|
|000014b0| 6d 62 65 72 20 6f 66 20 | 6e 65 77 65 73 74 20 76 |mber of |newest v|
|000014c0| 65 72 73 69 6f 6e 73 20 | 74 6f 20 6b 65 65 70 20 |ersions |to keep |
|000014d0| 77 68 65 6e 20 61 20 6e | 65 77 20 6e 75 6d 62 65 |when a n|ew numbe|
|000014e0| 72 65 64 20 62 61 63 6b | 75 70 20 69 73 20 6d 61 |red back|up is ma|
|000014f0| 64 65 2e 0a 49 6e 63 6c | 75 64 65 73 20 74 68 65 |de..Incl|udes the|
|00001500| 20 6e 65 77 20 62 61 63 | 6b 75 70 2e 20 20 4d 75 | new bac|kup. Mu|
|00001510| 73 74 20 62 65 20 3e 20 | 30 22 29 0a 28 64 65 66 |st be > |0").(def|
|00001520| 63 6f 6e 73 74 20 72 65 | 71 75 69 72 65 2d 66 69 |const re|quire-fi|
|00001530| 6e 61 6c 2d 6e 65 77 6c | 69 6e 65 20 6e 69 6c 20 |nal-newl|ine nil |
|00001540| 22 5c 0a 2a 56 61 6c 75 | 65 20 6f 66 20 74 20 73 |"\.*Valu|e of t s|
|00001550| 61 79 73 20 73 69 6c 65 | 6e 74 6c 79 20 65 6e 73 |ays sile|ntly ens|
|00001560| 75 72 65 20 61 20 66 69 | 6c 65 20 65 6e 64 73 20 |ure a fi|le ends |
|00001570| 69 6e 20 61 20 6e 65 77 | 6c 69 6e 65 20 77 68 65 |in a new|line whe|
|00001580| 6e 20 69 74 20 69 73 20 | 73 61 76 65 64 2e 0a 4e |n it is |saved..N|
|00001590| 6f 6e 2d 6e 69 6c 20 62 | 75 74 20 6e 6f 74 20 74 |on-nil b|ut not t|
|000015a0| 20 73 61 79 73 20 61 73 | 6b 20 75 73 65 72 20 77 | says as|k user w|
|000015b0| 68 65 74 68 65 72 20 74 | 6f 20 61 64 64 20 61 20 |hether t|o add a |
|000015c0| 6e 65 77 6c 69 6e 65 20 | 77 68 65 6e 20 74 68 65 |newline |when the|
|000015d0| 72 65 20 69 73 6e 27 74 | 20 6f 6e 65 2e 0a 6e 69 |re isn't| one..ni|
|000015e0| 6c 20 6d 65 61 6e 73 20 | 64 6f 6e 27 74 20 61 64 |l means |don't ad|
|000015f0| 64 20 6e 65 77 6c 69 6e | 65 73 2e 22 29 0a 28 64 |d newlin|es.").(d|
|00001600| 65 66 63 6f 6e 73 74 20 | 61 75 74 6f 2d 73 61 76 |efconst |auto-sav|
|00001610| 65 2d 64 65 66 61 75 6c | 74 20 74 20 22 5c 0a 2a |e-defaul|t t "\.*|
|00001620| 4e 6f 6e 2d 6e 69 6c 20 | 73 61 79 73 20 62 79 20 |Non-nil |says by |
|00001630| 64 65 66 61 75 6c 74 20 | 64 6f 20 61 75 74 6f 2d |default |do auto-|
|00001640| 73 61 76 69 6e 67 20 6f | 66 20 65 76 65 72 79 20 |saving o|f every |
|00001650| 66 69 6c 65 2d 76 69 73 | 69 74 69 6e 67 20 62 75 |file-vis|iting bu|
|00001660| 66 66 65 72 2e 22 29 0a | 28 64 65 66 63 6f 6e 73 |ffer.").|(defcons|
|00001670| 74 20 61 75 74 6f 2d 73 | 61 76 65 2d 76 69 73 69 |t auto-s|ave-visi|
|00001680| 74 65 64 2d 66 69 6c 65 | 2d 6e 61 6d 65 20 6e 69 |ted-file|-name ni|
|00001690| 6c 20 22 5c 0a 2a 4e 6f | 6e 2d 6e 69 6c 20 73 61 |l "\.*No|n-nil sa|
|000016a0| 79 73 20 61 75 74 6f 2d | 73 61 76 65 20 61 20 62 |ys auto-|save a b|
|000016b0| 75 66 66 65 72 20 69 6e | 20 74 68 65 20 66 69 6c |uffer in| the fil|
|000016c0| 65 20 69 74 20 69 73 20 | 76 69 73 69 74 69 6e 67 |e it is |visiting|
|000016d0| 2c 20 77 68 65 6e 20 70 | 72 61 63 74 69 63 61 6c |, when p|ractical|
|000016e0| 2e 0a 4e 6f 72 6d 61 6c | 6c 79 20 61 75 74 6f 2d |..Normal|ly auto-|
|000016f0| 73 61 76 65 20 66 69 6c | 65 73 20 61 72 65 20 77 |save fil|es are w|
|00001700| 72 69 74 74 65 6e 20 75 | 6e 64 65 72 20 6f 74 68 |ritten u|nder oth|
|00001710| 65 72 20 6e 61 6d 65 73 | 2e 22 29 0a 28 64 65 66 |er names|.").(def|
|00001720| 63 6f 6e 73 74 20 73 61 | 76 65 2d 61 62 62 72 65 |const sa|ve-abbre|
|00001730| 76 73 20 6e 69 6c 20 22 | 5c 0a 2a 4e 6f 6e 2d 6e |vs nil "|\.*Non-n|
|00001740| 69 6c 20 6d 65 61 6e 73 | 20 73 61 76 65 20 77 6f |il means| save wo|
|00001750| 72 64 20 61 62 62 72 65 | 76 73 20 74 6f 6f 20 77 |rd abbre|vs too w|
|00001760| 68 65 6e 20 66 69 6c 65 | 73 20 61 72 65 20 73 61 |hen file|s are sa|
|00001770| 76 65 64 2e 0a 4c 6f 61 | 64 69 6e 67 20 61 6e 20 |ved..Loa|ding an |
|00001780| 61 62 62 72 65 76 20 66 | 69 6c 65 20 73 65 74 73 |abbrev f|ile sets|
|00001790| 20 74 68 69 73 20 74 6f | 20 74 2e 22 29 0a 28 64 | this to| t.").(d|
|000017a0| 65 66 63 6f 6e 73 74 20 | 66 69 6e 64 2d 66 69 6c |efconst |find-fil|
|000017b0| 65 2d 72 75 6e 2d 64 69 | 72 65 64 20 74 20 22 5c |e-run-di|red t "\|
|000017c0| 0a 2a 4e 6f 6e 2d 6e 69 | 6c 20 73 61 79 73 20 72 |.*Non-ni|l says r|
|000017d0| 75 6e 20 64 69 72 65 64 | 20 69 66 20 60 66 69 6e |un dired| if `fin|
|000017e0| 64 2d 66 69 6c 65 27 20 | 69 73 20 67 69 76 65 6e |d-file' |is given|
|000017f0| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 61 20 64 | the nam|e of a d|
|00001800| 69 72 65 63 74 6f 72 79 | 2e 22 29 0a 28 64 65 66 |irectory|.").(def|
|00001810| 76 61 72 20 66 69 6e 64 | 2d 66 69 6c 65 2d 6e 6f |var find|-file-no|
|00001820| 74 2d 66 6f 75 6e 64 2d | 68 6f 6f 6b 73 20 6e 69 |t-found-|hooks ni|
|00001830| 6c 20 22 5c 0a 4c 69 73 | 74 20 6f 66 20 66 75 6e |l "\.Lis|t of fun|
|00001840| 63 74 69 6f 6e 73 20 74 | 6f 20 62 65 20 63 61 6c |ctions t|o be cal|
|00001850| 6c 65 64 20 66 6f 72 20 | 60 66 69 6e 64 2d 66 69 |led for |`find-fi|
|00001860| 6c 65 27 20 6f 6e 20 6e | 6f 6e 65 78 69 73 74 65 |le' on n|onexiste|
|00001870| 6e 74 20 66 69 6c 65 2e | 0a 54 68 65 73 65 20 66 |nt file.|.These f|
|00001880| 75 6e 63 74 69 6f 6e 73 | 20 61 72 65 20 63 61 6c |unctions| are cal|
|00001890| 6c 65 64 20 61 73 20 73 | 6f 6f 6e 20 61 73 20 74 |led as s|oon as t|
|000018a0| 68 65 20 65 72 72 6f 72 | 20 69 73 20 64 65 74 65 |he error| is dete|
|000018b0| 63 74 65 64 2e 0a 60 62 | 75 66 66 65 72 2d 66 69 |cted..`b|uffer-fi|
|000018c0| 6c 65 2d 6e 61 6d 65 27 | 20 69 73 20 61 6c 72 65 |le-name'| is alre|
|000018d0| 61 64 79 20 73 65 74 20 | 75 70 2e 0a 54 68 65 20 |ady set |up..The |
|000018e0| 66 75 6e 63 74 69 6f 6e | 73 20 61 72 65 20 63 61 |function|s are ca|
|000018f0| 6c 6c 65 64 20 69 6e 20 | 74 68 65 20 6f 72 64 65 |lled in |the orde|
|00001900| 72 20 67 69 76 65 6e 20 | 75 6e 74 69 6c 20 6f 6e |r given |until on|
|00001910| 65 20 6f 66 20 74 68 65 | 6d 20 72 65 74 75 72 6e |e of the|m return|
|00001920| 73 20 6e 6f 6e 2d 6e 69 | 6c 2e 22 29 0a 28 64 65 |s non-ni|l.").(de|
|00001930| 66 76 61 72 20 66 69 6e | 64 2d 66 69 6c 65 2d 68 |fvar fin|d-file-h|
|00001940| 6f 6f 6b 73 20 6e 69 6c | 20 22 5c 0a 4c 69 73 74 |ooks nil| "\.List|
|00001950| 20 6f 66 20 66 75 6e 63 | 74 69 6f 6e 73 20 74 6f | of func|tions to|
|00001960| 20 62 65 20 63 61 6c 6c | 65 64 20 61 66 74 65 72 | be call|ed after|
|00001970| 20 61 20 62 75 66 66 65 | 72 20 69 73 20 6c 6f 61 | a buffe|r is loa|
|00001980| 64 65 64 20 66 72 6f 6d | 20 61 20 66 69 6c 65 2e |ded from| a file.|
|00001990| 0a 54 68 65 20 62 75 66 | 66 65 72 27 73 20 6c 6f |.The buf|fer's lo|
|000019a0| 63 61 6c 20 76 61 72 69 | 61 62 6c 65 73 20 28 69 |cal vari|ables (i|
|000019b0| 66 20 61 6e 79 29 20 77 | 69 6c 6c 20 68 61 76 65 |f any) w|ill have|
|000019c0| 20 62 65 65 6e 20 70 72 | 6f 63 65 73 73 65 64 20 | been pr|ocessed |
|000019d0| 62 65 66 6f 72 65 20 74 | 68 65 0a 66 75 6e 63 74 |before t|he.funct|
|000019e0| 69 6f 6e 73 20 61 72 65 | 20 63 61 6c 6c 65 64 2e |ions are| called.|
|000019f0| 22 29 0a 28 70 75 74 20 | 28 71 75 6f 74 65 20 77 |").(put |(quote w|
|00001a00| 72 69 74 65 2d 66 69 6c | 65 2d 68 6f 6f 6b 73 29 |rite-fil|e-hooks)|
|00001a10| 20 28 71 75 6f 74 65 20 | 70 65 72 6d 61 6e 65 6e | (quote |permanen|
|00001a20| 74 2d 6c 6f 63 61 6c 29 | 20 74 29 0a 28 64 65 66 |t-local)| t).(def|
|00001a30| 76 61 72 20 77 72 69 74 | 65 2d 66 69 6c 65 2d 68 |var writ|e-file-h|
|00001a40| 6f 6f 6b 73 20 6e 69 6c | 20 22 5c 0a 4c 69 73 74 |ooks nil| "\.List|
|00001a50| 20 6f 66 20 66 75 6e 63 | 74 69 6f 6e 73 20 74 6f | of func|tions to|
|00001a60| 20 62 65 20 63 61 6c 6c | 65 64 20 62 65 66 6f 72 | be call|ed befor|
|00001a70| 65 20 77 72 69 74 69 6e | 67 20 6f 75 74 20 61 20 |e writin|g out a |
|00001a80| 62 75 66 66 65 72 20 74 | 6f 20 61 20 66 69 6c 65 |buffer t|o a file|
|00001a90| 2e 0a 49 66 20 6f 6e 65 | 20 6f 66 20 74 68 65 6d |..If one| of them|
|00001aa0| 20 72 65 74 75 72 6e 73 | 20 6e 6f 6e 2d 6e 69 6c | returns| non-nil|
|00001ab0| 2c 20 74 68 65 20 66 69 | 6c 65 20 69 73 20 63 6f |, the fi|le is co|
|00001ac0| 6e 73 69 64 65 72 65 64 | 20 61 6c 72 65 61 64 79 |nsidered| already|
|00001ad0| 20 77 72 69 74 74 65 6e | 0a 61 6e 64 20 74 68 65 | written|.and the|
|00001ae0| 20 72 65 73 74 20 61 72 | 65 20 6e 6f 74 20 63 61 | rest ar|e not ca|
|00001af0| 6c 6c 65 64 2e 0a 54 68 | 65 73 65 20 68 6f 6f 6b |lled..Th|ese hook|
|00001b00| 73 20 61 72 65 20 63 6f | 6e 73 69 64 65 72 65 64 |s are co|nsidered|
|00001b10| 20 74 6f 20 70 65 72 74 | 61 69 6e 20 74 6f 20 74 | to pert|ain to t|
|00001b20| 68 65 20 76 69 73 69 74 | 65 64 20 66 69 6c 65 2e |he visit|ed file.|
|00001b30| 0a 53 6f 20 74 68 69 73 | 20 6c 69 73 74 20 69 73 |.So this| list is|
|00001b40| 20 63 6c 65 61 72 65 64 | 20 69 66 20 79 6f 75 20 | cleared| if you |
|00001b50| 63 68 61 6e 67 65 20 74 | 68 65 20 76 69 73 69 74 |change t|he visit|
|00001b60| 65 64 20 66 69 6c 65 20 | 6e 61 6d 65 2e 0a 53 65 |ed file |name..Se|
|00001b70| 65 20 61 6c 73 6f 20 60 | 77 72 69 74 65 2d 63 6f |e also `|write-co|
|00001b80| 6e 74 65 6e 74 73 2d 68 | 6f 6f 6b 73 27 2e 0a 44 |ntents-h|ooks'..D|
|00001b90| 6f 6e 27 74 20 6d 61 6b | 65 20 74 68 69 73 20 76 |on't mak|e this v|
|00001ba0| 61 72 69 61 62 6c 65 20 | 62 75 66 66 65 72 2d 6c |ariable |buffer-l|
|00001bb0| 6f 63 61 6c 3b 20 69 6e | 73 74 65 61 64 2c 20 75 |ocal; in|stead, u|
|00001bc0| 73 65 20 60 6c 6f 63 61 | 6c 2d 77 72 69 74 65 2d |se `loca|l-write-|
|00001bd0| 66 69 6c 65 2d 68 6f 6f | 6b 73 27 2e 22 29 0a 28 |file-hoo|ks'.").(|
|00001be0| 70 75 74 20 28 71 75 6f | 74 65 20 6c 6f 63 61 6c |put (quo|te local|
|00001bf0| 2d 77 72 69 74 65 2d 66 | 69 6c 65 2d 68 6f 6f 6b |-write-f|ile-hook|
|00001c00| 73 29 20 28 71 75 6f 74 | 65 20 70 65 72 6d 61 6e |s) (quot|e perman|
|00001c10| 65 6e 74 2d 6c 6f 63 61 | 6c 29 20 74 29 0a 28 64 |ent-loca|l) t).(d|
|00001c20| 65 66 76 61 72 20 6c 6f | 63 61 6c 2d 77 72 69 74 |efvar lo|cal-writ|
|00001c30| 65 2d 66 69 6c 65 2d 68 | 6f 6f 6b 73 20 6e 69 6c |e-file-h|ooks nil|
|00001c40| 20 22 5c 0a 4a 75 73 74 | 20 6c 69 6b 65 20 60 77 | "\.Just| like `w|
|00001c50| 72 69 74 65 2d 66 69 6c | 65 2d 68 6f 6f 6b 73 27 |rite-fil|e-hooks'|
|00001c60| 2c 20 65 78 63 65 70 74 | 20 69 6e 74 65 6e 64 65 |, except| intende|
|00001c70| 64 20 66 6f 72 20 70 65 | 72 2d 62 75 66 66 65 72 |d for pe|r-buffer|
|00001c80| 20 75 73 65 2e 0a 54 68 | 65 20 66 75 6e 63 74 69 | use..Th|e functi|
|00001c90| 6f 6e 73 20 69 6e 20 74 | 68 69 73 20 6c 69 73 74 |ons in t|his list|
|00001ca0| 20 61 72 65 20 63 61 6c | 6c 65 64 20 62 65 66 6f | are cal|led befo|
|00001cb0| 72 65 20 74 68 65 20 6f | 6e 65 73 20 69 6e 0a 60 |re the o|nes in.`|
|00001cc0| 77 72 69 74 65 2d 66 69 | 6c 65 2d 68 6f 6f 6b 73 |write-fi|le-hooks|
|00001cd0| 27 2e 22 29 0a 28 64 65 | 66 76 61 72 20 77 72 69 |'.").(de|fvar wri|
|00001ce0| 74 65 2d 63 6f 6e 74 65 | 6e 74 73 2d 68 6f 6f 6b |te-conte|nts-hook|
|00001cf0| 73 20 6e 69 6c 20 22 5c | 0a 4c 69 73 74 20 6f 66 |s nil "\|.List of|
|00001d00| 20 66 75 6e 63 74 69 6f | 6e 73 20 74 6f 20 62 65 | functio|ns to be|
|00001d10| 20 63 61 6c 6c 65 64 20 | 62 65 66 6f 72 65 20 77 | called |before w|
|00001d20| 72 69 74 69 6e 67 20 6f | 75 74 20 61 20 62 75 66 |riting o|ut a buf|
|00001d30| 66 65 72 20 74 6f 20 61 | 20 66 69 6c 65 2e 0a 49 |fer to a| file..I|
|00001d40| 66 20 6f 6e 65 20 6f 66 | 20 74 68 65 6d 20 72 65 |f one of| them re|
|00001d50| 74 75 72 6e 73 20 6e 6f | 6e 2d 6e 69 6c 2c 20 74 |turns no|n-nil, t|
|00001d60| 68 65 20 66 69 6c 65 20 | 69 73 20 63 6f 6e 73 69 |he file |is consi|
|00001d70| 64 65 72 65 64 20 61 6c | 72 65 61 64 79 20 77 72 |dered al|ready wr|
|00001d80| 69 74 74 65 6e 0a 61 6e | 64 20 74 68 65 20 72 65 |itten.an|d the re|
|00001d90| 73 74 20 61 72 65 20 6e | 6f 74 20 63 61 6c 6c 65 |st are n|ot calle|
|00001da0| 64 2e 0a 54 68 65 73 65 | 20 68 6f 6f 6b 73 20 61 |d..These| hooks a|
|00001db0| 72 65 20 63 6f 6e 73 69 | 64 65 72 65 64 20 74 6f |re consi|dered to|
|00001dc0| 20 70 65 72 74 61 69 6e | 20 74 6f 20 74 68 65 20 | pertain| to the |
|00001dd0| 62 75 66 66 65 72 27 73 | 20 63 6f 6e 74 65 6e 74 |buffer's| content|
|00001de0| 73 2c 0a 6e 6f 74 20 74 | 6f 20 74 68 65 20 70 61 |s,.not t|o the pa|
|00001df0| 72 74 69 63 75 6c 61 72 | 20 76 69 73 69 74 65 64 |rticular| visited|
|00001e00| 20 66 69 6c 65 3b 20 74 | 68 75 73 2c 20 60 73 65 | file; t|hus, `se|
|00001e10| 74 2d 76 69 73 69 74 65 | 64 2d 66 69 6c 65 2d 6e |t-visite|d-file-n|
|00001e20| 61 6d 65 27 20 64 6f 65 | 73 0a 6e 6f 74 20 63 6c |ame' doe|s.not cl|
|00001e30| 65 61 72 20 74 68 69 73 | 20 76 61 72 69 61 62 6c |ear this| variabl|
|00001e40| 65 2c 20 62 75 74 20 63 | 68 61 6e 67 69 6e 67 20 |e, but c|hanging |
|00001e50| 74 68 65 20 6d 61 6a 6f | 72 20 6d 6f 64 65 20 64 |the majo|r mode d|
|00001e60| 6f 65 73 20 63 6c 65 61 | 72 20 69 74 2e 0a 53 65 |oes clea|r it..Se|
|00001e70| 65 20 61 6c 73 6f 20 60 | 77 72 69 74 65 2d 66 69 |e also `|write-fi|
|00001e80| 6c 65 2d 68 6f 6f 6b 73 | 27 2e 22 29 0a 28 64 65 |le-hooks|'.").(de|
|00001e90| 66 63 6f 6e 73 74 20 65 | 6e 61 62 6c 65 2d 6c 6f |fconst e|nable-lo|
|00001ea0| 63 61 6c 2d 76 61 72 69 | 61 62 6c 65 73 20 74 20 |cal-vari|ables t |
|00001eb0| 22 5c 0a 2a 43 6f 6e 74 | 72 6f 6c 20 75 73 65 20 |"\.*Cont|rol use |
|00001ec0| 6f 66 20 6c 6f 63 61 6c | 2d 76 61 72 69 61 62 6c |of local|-variabl|
|00001ed0| 65 73 20 6c 69 73 74 73 | 20 69 6e 20 66 69 6c 65 |es lists| in file|
|00001ee0| 73 20 79 6f 75 20 76 69 | 73 69 74 2e 0a 54 68 65 |s you vi|sit..The|
|00001ef0| 20 76 61 6c 75 65 20 63 | 61 6e 20 62 65 20 74 2c | value c|an be t,|
|00001f00| 20 6e 69 6c 20 6f 72 20 | 73 6f 6d 65 74 68 69 6e | nil or |somethin|
|00001f10| 67 20 65 6c 73 65 2e 0a | 41 20 76 61 6c 75 65 20 |g else..|A value |
|00001f20| 6f 66 20 74 20 6d 65 61 | 6e 73 20 6c 6f 63 61 6c |of t mea|ns local|
|00001f30| 2d 76 61 72 69 61 62 6c | 65 73 20 6c 69 73 74 73 |-variabl|es lists|
|00001f40| 20 61 72 65 20 6f 62 65 | 79 65 64 3b 0a 6e 69 6c | are obe|yed;.nil|
|00001f50| 20 6d 65 61 6e 73 20 74 | 68 65 79 20 61 72 65 20 | means t|hey are |
|00001f60| 69 67 6e 6f 72 65 64 3b | 20 61 6e 79 74 68 69 6e |ignored;| anythin|
|00001f70| 67 20 65 6c 73 65 20 6d | 65 61 6e 73 20 71 75 65 |g else m|eans que|
|00001f80| 72 79 2e 0a 0a 54 68 65 | 20 63 6f 6d 6d 61 6e 64 |ry...The| command|
|00001f90| 20 5c 5c 5b 6e 6f 72 6d | 61 6c 2d 6d 6f 64 65 5d | \\[norm|al-mode]|
|00001fa0| 20 61 6c 77 61 79 73 20 | 6f 62 65 79 73 20 6c 6f | always |obeys lo|
|00001fb0| 63 61 6c 2d 76 61 72 69 | 61 62 6c 65 73 20 6c 69 |cal-vari|ables li|
|00001fc0| 73 74 73 0a 61 6e 64 20 | 69 67 6e 6f 72 65 73 20 |sts.and |ignores |
|00001fd0| 74 68 69 73 20 76 61 72 | 69 61 62 6c 65 2e 22 29 |this var|iable.")|
|00001fe0| 0a 28 64 65 66 63 6f 6e | 73 74 20 65 6e 61 62 6c |.(defcon|st enabl|
|00001ff0| 65 2d 6c 6f 63 61 6c 2d | 65 76 61 6c 20 28 71 75 |e-local-|eval (qu|
|00002000| 6f 74 65 20 6d 61 79 62 | 65 29 20 22 5c 0a 2a 43 |ote mayb|e) "\.*C|
|00002010| 6f 6e 74 72 6f 6c 20 70 | 72 6f 63 65 73 73 69 6e |ontrol p|rocessin|
|00002020| 67 20 6f 66 20 74 68 65 | 20 5c 22 76 61 72 69 61 |g of the| \"varia|
|00002030| 62 6c 65 5c 22 20 60 65 | 76 61 6c 27 20 69 6e 20 |ble\" `e|val' in |
|00002040| 61 20 66 69 6c 65 27 73 | 20 6c 6f 63 61 6c 20 76 |a file's| local v|
|00002050| 61 72 69 61 62 6c 65 73 | 2e 0a 54 68 65 20 76 61 |ariables|..The va|
|00002060| 6c 75 65 20 63 61 6e 20 | 62 65 20 74 2c 20 6e 69 |lue can |be t, ni|
|00002070| 6c 20 6f 72 20 73 6f 6d | 65 74 68 69 6e 67 20 65 |l or som|ething e|
|00002080| 6c 73 65 2e 0a 41 20 76 | 61 6c 75 65 20 6f 66 20 |lse..A v|alue of |
|00002090| 74 20 6d 65 61 6e 73 20 | 6f 62 65 79 20 60 65 76 |t means |obey `ev|
|000020a0| 61 6c 27 20 76 61 72 69 | 61 62 6c 65 73 3b 0a 6e |al' vari|ables;.n|
|000020b0| 69 6c 20 6d 65 61 6e 73 | 20 69 67 6e 6f 72 65 20 |il means| ignore |
|000020c0| 74 68 65 6d 3b 20 61 6e | 79 74 68 69 6e 67 20 65 |them; an|ything e|
|000020d0| 6c 73 65 20 6d 65 61 6e | 73 20 71 75 65 72 79 2e |lse mean|s query.|
|000020e0| 0a 0a 54 68 65 20 63 6f | 6d 6d 61 6e 64 20 5c 5c |..The co|mmand \\|
|000020f0| 5b 6e 6f 72 6d 61 6c 2d | 6d 6f 64 65 5d 20 61 6c |[normal-|mode] al|
|00002100| 77 61 79 73 20 6f 62 65 | 79 73 20 6c 6f 63 61 6c |ways obe|ys local|
|00002110| 2d 76 61 72 69 61 62 6c | 65 73 20 6c 69 73 74 73 |-variabl|es lists|
|00002120| 0a 61 6e 64 20 69 67 6e | 6f 72 65 73 20 74 68 69 |.and ign|ores thi|
|00002130| 73 20 76 61 72 69 61 62 | 6c 65 2e 22 29 0a 28 62 |s variab|le.").(b|
|00002140| 79 74 65 2d 63 6f 64 65 | 20 22 c0 c1 21 84 0b 00 |yte-code| "..!...|
|00002150| c2 c1 c3 5c 22 88 c0 c4 | 21 84 16 00 c2 c4 c3 5c |...\"...|!......\|
|00002160| 22 88 c0 87 22 20 5b 66 | 62 6f 75 6e 64 70 20 6c |"..." [f|boundp l|
|00002170| 6f 63 6b 2d 62 75 66 66 | 65 72 20 64 65 66 61 6c |ock-buff|er defal|
|00002180| 69 61 73 20 69 67 6e 6f | 72 65 20 75 6e 6c 6f 63 |ias igno|re unloc|
|00002190| 6b 2d 62 75 66 66 65 72 | 5d 20 33 29 0a 28 64 65 |k-buffer|] 3).(de|
|000021a0| 66 61 6c 69 61 73 20 27 | 70 77 64 20 23 5b 6e 69 |falias '|pwd #[ni|
|000021b0| 6c 20 22 c0 c1 5c 6e 5c | 22 87 22 20 5b 6d 65 73 |l "..\n\|"." [mes|
|000021c0| 73 61 67 65 20 22 44 69 | 72 65 63 74 6f 72 79 20 |sage "Di|rectory |
|000021d0| 25 73 22 20 64 65 66 61 | 75 6c 74 2d 64 69 72 65 |%s" defa|ult-dire|
|000021e0| 63 74 6f 72 79 5d 20 33 | 20 22 5c 0a 53 68 6f 77 |ctory] 3| "\.Show|
|000021f0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 64 65 66 | the cur|rent def|
|00002200| 61 75 6c 74 20 64 69 72 | 65 63 74 6f 72 79 2e 22 |ault dir|ectory."|
|00002210| 20 6e 69 6c 5d 29 0a 28 | 64 65 66 76 61 72 20 63 | nil]).(|defvar c|
|00002220| 64 2d 70 61 74 68 20 6e | 69 6c 20 22 5c 0a 56 61 |d-path n|il "\.Va|
|00002230| 6c 75 65 20 6f 66 20 74 | 68 65 20 43 44 50 41 54 |lue of t|he CDPAT|
|00002240| 48 20 65 6e 76 69 72 6f | 6e 6d 65 6e 74 20 76 61 |H enviro|nment va|
|00002250| 72 69 61 62 6c 65 2c 20 | 61 73 20 61 20 6c 69 73 |riable, |as a lis|
|00002260| 74 2e 0a 4e 6f 74 20 61 | 63 74 75 61 6c 6c 79 20 |t..Not a|ctually |
|00002270| 73 65 74 20 75 70 20 75 | 6e 74 69 6c 20 74 68 65 |set up u|ntil the|
|00002280| 20 66 69 72 73 74 20 74 | 69 6d 65 20 79 6f 75 20 | first t|ime you |
|00002290| 79 6f 75 20 75 73 65 20 | 69 74 2e 22 29 0a 28 64 |you use |it.").(d|
|000022a0| 65 66 61 6c 69 61 73 20 | 27 70 61 72 73 65 2d 63 |efalias |'parse-c|
|000022b0| 6f 6c 6f 6e 2d 70 61 74 | 68 20 23 5b 28 63 64 2d |olon-pat|h #[(cd-|
|000022c0| 70 61 74 68 29 20 22 08 | 85 30 00 c1 89 c2 c1 1b |path) ".|.0......|
|000022d0| 1c 1d 1e 06 08 c7 50 10 | c8 c7 08 0c 23 89 13 83 |......P.|....#...|
|000022e0| 2e 00 0d c9 ca 08 0c 0b | 4f 21 21 43 a4 15 0b cb |........|O!!C....|
|000022f0| 5c 5c 14 82 11 00 0d 2c | 87 22 20 5b 63 64 2d 70 |\\.....,|." [cd-p|
|00002300| 61 74 68 20 6e 69 6c 20 | 30 20 63 64 2d 63 6f 6c |ath nil |0 cd-col|
|00002310| 6f 6e 20 63 64 2d 73 74 | 61 72 74 20 63 64 2d 6c |on cd-st|art cd-l|
|00002320| 69 73 74 20 63 64 2d 70 | 72 65 66 69 78 20 22 3a |ist cd-p|refix ":|
|00002330| 22 20 73 74 72 69 6e 67 | 2d 6d 61 74 63 68 20 73 |" string|-match s|
|00002340| 75 62 73 74 69 74 75 74 | 65 2d 69 6e 2d 66 69 6c |ubstitut|e-in-fil|
|00002350| 65 2d 6e 61 6d 65 20 66 | 69 6c 65 2d 6e 61 6d 65 |e-name f|ile-name|
|00002360| 2d 61 73 2d 64 69 72 65 | 63 74 6f 72 79 20 31 5d |-as-dire|ctory 1]|
|00002370| 20 36 20 22 5c 0a 45 78 | 70 6c 6f 64 65 20 61 20 | 6 "\.Ex|plode a |
|00002380| 63 6f 6c 6f 6e 2d 73 65 | 70 61 72 61 74 65 64 20 |colon-se|parated |
|00002390| 6c 69 73 74 20 6f 66 20 | 70 61 74 68 73 20 69 6e |list of |paths in|
|000023a0| 74 6f 20 61 20 73 74 72 | 69 6e 67 20 6c 69 73 74 |to a str|ing list|
|000023b0| 2e 22 5d 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |."]).(de|falias '|
|000023c0| 63 64 2d 61 62 73 6f 6c | 75 74 65 20 23 5b 28 64 |cd-absol|ute #[(d|
|000023d0| 69 72 29 20 22 c0 09 21 | 11 5c 6e c3 3d 84 0e 00 |ir) "..!|.\n.=...|
|000023e0| c4 09 21 11 c5 09 21 84 | 19 00 c6 c7 09 5c 22 87 |..!...!.|.....\".|
|000023f0| c8 09 21 83 24 00 09 89 | 16 09 87 c6 ca 09 5c 22 |..!.$...|......\"|
|00002400| 87 22 20 5b 65 78 70 61 | 6e 64 2d 66 69 6c 65 2d |." [expa|nd-file-|
|00002410| 6e 61 6d 65 20 64 69 72 | 20 73 79 73 74 65 6d 2d |name dir| system-|
|00002420| 74 79 70 65 20 76 61 78 | 2d 76 6d 73 20 66 69 6c |type vax|-vms fil|
|00002430| 65 2d 6e 61 6d 65 2d 61 | 73 2d 64 69 72 65 63 74 |e-name-a|s-direct|
|00002440| 6f 72 79 20 66 69 6c 65 | 2d 64 69 72 65 63 74 6f |ory file|-directo|
|00002450| 72 79 2d 70 20 65 72 72 | 6f 72 20 22 25 73 20 69 |ry-p err|or "%s i|
|00002460| 73 20 6e 6f 74 20 61 20 | 64 69 72 65 63 74 6f 72 |s not a |director|
|00002470| 79 22 20 66 69 6c 65 2d | 65 78 65 63 75 74 61 62 |y" file-|executab|
|00002480| 6c 65 2d 70 20 64 65 66 | 61 75 6c 74 2d 64 69 72 |le-p def|ault-dir|
|00002490| 65 63 74 6f 72 79 20 22 | 43 61 6e 6e 6f 74 20 63 |ectory "|Cannot c|
|000024a0| 64 20 74 6f 20 25 73 3a | 20 20 50 65 72 6d 69 73 |d to %s:| Permis|
|000024b0| 73 69 6f 6e 20 64 65 6e | 69 65 64 22 5d 20 33 20 |sion den|ied"] 3 |
|000024c0| 22 5c 0a 43 68 61 6e 67 | 65 20 63 75 72 72 65 6e |"\.Chang|e curren|
|000024d0| 74 20 64 69 72 65 63 74 | 6f 72 79 20 74 6f 20 67 |t direct|ory to g|
|000024e0| 69 76 65 6e 20 61 62 73 | 6f 6c 75 74 65 20 66 69 |iven abs|olute fi|
|000024f0| 6c 65 20 6e 61 6d 65 20 | 44 49 52 2e 22 5d 29 0a |le name |DIR."]).|
|00002500| 28 64 65 66 61 6c 69 61 | 73 20 27 63 64 20 23 5b |(defalia|s 'cd #[|
|00002510| 28 64 69 72 29 20 22 c0 | 09 21 83 0c 00 c2 c3 09 |(dir) ".|.!......|
|00002520| 21 21 87 0c 84 1f 00 c5 | c6 c7 21 21 89 1e 08 86 |!!......|..!!....|
|00002530| 1d 00 c9 43 14 29 ca cb | 8d 3f 85 29 00 cc cd 21 |...C.)..|.?.)...!|
|00002540| 87 22 20 5b 66 69 6c 65 | 2d 6e 61 6d 65 2d 61 62 |." [file|-name-ab|
|00002550| 73 6f 6c 75 74 65 2d 70 | 20 64 69 72 20 63 64 2d |solute-p| dir cd-|
|00002560| 61 62 73 6f 6c 75 74 65 | 20 65 78 70 61 6e 64 2d |absolute| expand-|
|00002570| 66 69 6c 65 2d 6e 61 6d | 65 20 63 64 2d 70 61 74 |file-nam|e cd-pat|
|00002580| 68 20 70 61 72 73 65 2d | 63 6f 6c 6f 6e 2d 70 61 |h parse-|colon-pa|
|00002590| 74 68 20 67 65 74 65 6e | 76 20 22 43 44 50 41 54 |th geten|v "CDPAT|
|000025a0| 48 22 20 74 72 79 70 61 | 74 68 20 22 2e 2f 22 20 |H" trypa|th "./" |
|000025b0| 66 6f 75 6e 64 20 28 62 | 79 74 65 2d 63 6f 64 65 |found (b|yte-code|
|000025c0| 20 22 c0 c1 5c 6e 5c 22 | 88 c3 87 22 20 5b 6d 61 | "..\n\"|..." [ma|
|000025d0| 70 63 61 72 20 23 5b 28 | 78 29 20 22 c0 09 5c 6e |pcar #[(|x) "..\n|
|000025e0| 50 21 1b c4 0b 21 85 14 | 00 c5 0b 21 88 c6 c7 c8 |P!...!..|...!....|
|000025f0| 5c 22 29 87 22 20 5b 65 | 78 70 61 6e 64 2d 66 69 |\")." [e|xpand-fi|
|00002600| 6c 65 2d 6e 61 6d 65 20 | 78 20 64 69 72 20 66 20 |le-name |x dir f |
|00002610| 66 69 6c 65 2d 64 69 72 | 65 63 74 6f 72 79 2d 70 |file-dir|ectory-p|
|00002620| 20 63 64 2d 61 62 73 6f | 6c 75 74 65 20 74 68 72 | cd-abso|lute thr|
|00002630| 6f 77 20 66 6f 75 6e 64 | 20 74 5d 20 33 5d 20 63 |ow found| t] 3] c|
|00002640| 64 2d 70 61 74 68 20 6e | 69 6c 5d 20 33 29 20 65 |d-path n|il] 3) e|
|00002650| 72 72 6f 72 20 22 4e 6f | 20 73 75 63 68 20 64 69 |rror "No| such di|
|00002660| 72 65 63 74 6f 72 79 20 | 66 6f 75 6e 64 20 76 69 |rectory |found vi|
|00002670| 61 20 43 44 50 41 54 48 | 20 65 6e 76 69 72 6f 6e |a CDPATH| environ|
|00002680| 6d 65 6e 74 20 76 61 72 | 69 61 62 6c 65 22 5d 20 |ment var|iable"] |
|00002690| 34 20 22 5c 0a 4d 61 6b | 65 20 44 49 52 20 62 65 |4 "\.Mak|e DIR be|
|000026a0| 63 6f 6d 65 20 74 68 65 | 20 63 75 72 72 65 6e 74 |come the| current|
|000026b0| 20 62 75 66 66 65 72 27 | 73 20 64 65 66 61 75 6c | buffer'|s defaul|
|000026c0| 74 20 64 69 72 65 63 74 | 6f 72 79 2e 0a 49 66 20 |t direct|ory..If |
|000026d0| 79 6f 75 72 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |your env|ironment|
|000026e0| 20 69 6e 63 6c 75 64 65 | 73 20 61 20 60 43 44 50 | include|s a `CDP|
|000026f0| 41 54 48 27 20 76 61 72 | 69 61 62 6c 65 2c 20 74 |ATH' var|iable, t|
|00002700| 72 79 20 65 61 63 68 20 | 6f 6e 65 20 6f 66 20 74 |ry each |one of t|
|00002710| 68 61 74 0a 63 6f 6c 6f | 6e 2d 73 65 70 61 72 61 |hat.colo|n-separa|
|00002720| 74 65 64 20 6c 69 73 74 | 20 6f 66 20 64 69 72 65 |ted list| of dire|
|00002730| 63 74 6f 72 69 65 73 20 | 77 68 65 6e 20 72 65 73 |ctories |when res|
|00002740| 6f 6c 76 69 6e 67 20 61 | 20 72 65 6c 61 74 69 76 |olving a| relativ|
|00002750| 65 20 64 69 72 65 63 74 | 6f 72 79 20 6e 61 6d 65 |e direct|ory name|
|00002760| 2e 22 20 22 46 43 68 61 | 6e 67 65 20 64 65 66 61 |." "FCha|nge defa|
|00002770| 75 6c 74 20 64 69 72 65 | 63 74 6f 72 79 3a 20 22 |ult dire|ctory: "|
|00002780| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 6c 6f |]).(defa|lias 'lo|
|00002790| 61 64 2d 66 69 6c 65 20 | 23 5b 28 66 69 6c 65 29 |ad-file |#[(file)|
|000027a0| 20 22 c0 c1 5c 6e 21 c3 | 89 c4 24 87 22 20 5b 6c | "..\n!.|..$." [l|
|000027b0| 6f 61 64 20 65 78 70 61 | 6e 64 2d 66 69 6c 65 2d |oad expa|nd-file-|
|000027c0| 6e 61 6d 65 20 66 69 6c | 65 20 6e 69 6c 20 74 5d |name fil|e nil t]|
|000027d0| 20 35 20 22 5c 0a 4c 6f | 61 64 20 74 68 65 20 4c | 5 "\.Lo|ad the L|
|000027e0| 69 73 70 20 66 69 6c 65 | 20 6e 61 6d 65 64 20 46 |isp file| named F|
|000027f0| 49 4c 45 2e 22 20 22 66 | 4c 6f 61 64 20 66 69 6c |ILE." "f|Load fil|
|00002800| 65 3a 20 22 5d 29 0a 28 | 64 65 66 61 6c 69 61 73 |e: "]).(|defalias|
|00002810| 20 27 6c 6f 61 64 2d 6c | 69 62 72 61 72 79 20 23 | 'load-l|ibrary #|
|00002820| 5b 28 6c 69 62 72 61 72 | 79 29 20 22 c0 09 21 87 |[(librar|y) "..!.|
|00002830| 22 20 5b 6c 6f 61 64 20 | 6c 69 62 72 61 72 79 5d |" [load |library]|
|00002840| 20 32 20 22 5c 0a 4c 6f | 61 64 20 74 68 65 20 6c | 2 "\.Lo|ad the l|
|00002850| 69 62 72 61 72 79 20 6e | 61 6d 65 64 20 4c 49 42 |ibrary n|amed LIB|
|00002860| 52 41 52 59 2e 0a 54 68 | 69 73 20 69 73 20 61 6e |RARY..Th|is is an|
|00002870| 20 69 6e 74 65 72 66 61 | 63 65 20 74 6f 20 74 68 | interfa|ce to th|
|00002880| 65 20 66 75 6e 63 74 69 | 6f 6e 20 60 6c 6f 61 64 |e functi|on `load|
|00002890| 27 2e 22 20 22 73 4c 6f | 61 64 20 6c 69 62 72 61 |'." "sLo|ad libra|
|000028a0| 72 79 3a 20 22 5d 29 0a | 28 64 65 66 61 6c 69 61 |ry: "]).|(defalia|
|000028b0| 73 20 27 66 69 6c 65 2d | 6c 6f 63 61 6c 2d 63 6f |s 'file-|local-co|
|000028c0| 70 79 20 23 5b 28 66 69 | 6c 65 29 20 22 c0 09 21 |py #[(fi|le) "..!|
|000028d0| 89 1a 85 0c 00 5c 6e c3 | 09 5c 22 29 87 22 20 5b |.....\n.|.\")." [|
|000028e0| 66 69 6e 64 2d 66 69 6c | 65 2d 6e 61 6d 65 2d 68 |find-fil|e-name-h|
|000028f0| 61 6e 64 6c 65 72 20 66 | 69 6c 65 20 68 61 6e 64 |andler f|ile hand|
|00002900| 6c 65 72 20 66 69 6c 65 | 2d 6c 6f 63 61 6c 2d 63 |ler file|-local-c|
|00002910| 6f 70 79 5d 20 34 20 22 | 5c 0a 43 6f 70 79 20 74 |opy] 4 "|\.Copy t|
|00002920| 68 65 20 66 69 6c 65 20 | 46 49 4c 45 20 69 6e 74 |he file |FILE int|
|00002930| 6f 20 61 20 74 65 6d 70 | 6f 72 61 72 79 20 66 69 |o a temp|orary fi|
|00002940| 6c 65 20 6f 6e 20 74 68 | 69 73 20 6d 61 63 68 69 |le on th|is machi|
|00002950| 6e 65 2e 0a 52 65 74 75 | 72 6e 73 20 74 68 65 20 |ne..Retu|rns the |
|00002960| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 6c 6f 63 61 |name of |the loca|
|00002970| 6c 20 63 6f 70 79 2c 20 | 6f 72 20 6e 69 6c 2c 20 |l copy, |or nil, |
|00002980| 69 66 20 46 49 4c 45 20 | 69 73 20 64 69 72 65 63 |if FILE |is direc|
|00002990| 74 6c 79 0a 61 63 63 65 | 73 73 69 62 6c 65 2e 22 |tly.acce|ssible."|
|000029a0| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 66 69 |]).(defa|lias 'fi|
|000029b0| 6c 65 2d 74 72 75 65 6e | 61 6d 65 20 23 5b 28 66 |le-truen|ame #[(f|
|000029c0| 69 6c 65 6e 61 6d 65 29 | 20 22 08 c1 98 83 12 00 |ilename)| "......|
|000029d0| c2 08 21 89 10 c3 98 83 | 12 00 c4 10 c5 08 21 89 |..!.....|......!.|
|000029e0| 1e 06 83 23 00 0e 06 c7 | 08 5c 22 82 90 00 c8 08 |...#....|.\".....|
|000029f0| 21 c9 89 1e 5c 6e 1e 0b | 1e 0c cd 0e 0c 21 16 5c |!...\n..|.....!.\|
|00002a00| 6e 0e 0c 0e 5c 6e 98 84 | 44 00 ce c7 0e 5c 6e 21 |n...\n..|D....\n!|
|00002a10| 21 16 0c cf 08 21 d0 9a | 83 57 00 cd c8 cd 0e 0c |!....!..|.W......|
|00002a20| 21 21 21 82 8f 00 cf 08 | 21 d1 9a 83 66 00 cd 0e |!!!.....|!...f...|
|00002a30| 0c 21 82 8f 00 0e 0c cf | 08 21 50 10 d2 08 21 89 |.!......|.!P...!.|
|00002a40| 16 0b 83 8e 00 d3 0e 0b | 21 83 84 00 c7 0e 0b 21 |........|!......!|
|00002a50| 82 8f 00 c7 0e 0c 0e 0b | 50 21 82 8f 00 08 2b 29 |........|P!....+)|
|00002a60| 87 22 20 5b 66 69 6c 65 | 6e 61 6d 65 20 22 7e 22 |." [file|name "~"|
|00002a70| 20 65 78 70 61 6e 64 2d | 66 69 6c 65 2d 6e 61 6d | expand-|file-nam|
|00002a80| 65 20 22 22 20 22 2f 22 | 20 66 69 6e 64 2d 66 69 |e "" "/"| find-fi|
|00002a90| 6c 65 2d 6e 61 6d 65 2d | 68 61 6e 64 6c 65 72 20 |le-name-|handler |
|00002aa0| 68 61 6e 64 6c 65 72 20 | 66 69 6c 65 2d 74 72 75 |handler |file-tru|
|00002ab0| 65 6e 61 6d 65 20 66 69 | 6c 65 2d 6e 61 6d 65 2d |ename fi|le-name-|
|00002ac0| 64 69 72 65 63 74 6f 72 | 79 20 6e 69 6c 20 64 69 |director|y nil di|
|00002ad0| 72 66 69 6c 65 20 74 61 | 72 67 65 74 20 64 69 72 |rfile ta|rget dir|
|00002ae0| 20 64 69 72 65 63 74 6f | 72 79 2d 66 69 6c 65 2d | directo|ry-file-|
|00002af0| 6e 61 6d 65 20 66 69 6c | 65 2d 6e 61 6d 65 2d 61 |name fil|e-name-a|
|00002b00| 73 2d 64 69 72 65 63 74 | 6f 72 79 20 66 69 6c 65 |s-direct|ory file|
|00002b10| 2d 6e 61 6d 65 2d 6e 6f | 6e 64 69 72 65 63 74 6f |-name-no|ndirecto|
|00002b20| 72 79 20 22 2e 2e 22 20 | 22 2e 22 20 66 69 6c 65 |ry ".." |"." file|
|00002b30| 2d 73 79 6d 6c 69 6e 6b | 2d 70 20 66 69 6c 65 2d |-symlink|-p file-|
|00002b40| 6e 61 6d 65 2d 61 62 73 | 6f 6c 75 74 65 2d 70 5d |name-abs|olute-p]|
|00002b50| 20 35 20 22 5c 0a 52 65 | 74 75 72 6e 20 74 68 65 | 5 "\.Re|turn the|
|00002b60| 20 74 72 75 65 6e 61 6d | 65 20 6f 66 20 46 49 4c | truenam|e of FIL|
|00002b70| 45 4e 41 4d 45 2c 20 77 | 68 69 63 68 20 73 68 6f |ENAME, w|hich sho|
|00002b80| 75 6c 64 20 62 65 20 61 | 62 73 6f 6c 75 74 65 2e |uld be a|bsolute.|
|00002b90| 0a 54 68 65 20 74 72 75 | 65 6e 61 6d 65 20 6f 66 |.The tru|ename of|
|00002ba0| 20 61 20 66 69 6c 65 20 | 6e 61 6d 65 20 69 73 20 | a file |name is |
|00002bb0| 66 6f 75 6e 64 20 62 79 | 20 63 68 61 73 69 6e 67 |found by| chasing|
|00002bc0| 20 73 79 6d 62 6f 6c 69 | 63 20 6c 69 6e 6b 73 0a | symboli|c links.|
|00002bd0| 62 6f 74 68 20 61 74 20 | 74 68 65 20 6c 65 76 65 |both at |the leve|
|00002be0| 6c 20 6f 66 20 74 68 65 | 20 66 69 6c 65 20 61 6e |l of the| file an|
|00002bf0| 64 20 61 74 20 74 68 65 | 20 6c 65 76 65 6c 20 6f |d at the| level o|
|00002c00| 66 20 74 68 65 20 64 69 | 72 65 63 74 6f 72 69 65 |f the di|rectorie|
|00002c10| 73 0a 63 6f 6e 74 61 69 | 6e 69 6e 67 20 69 74 2c |s.contai|ning it,|
|00002c20| 20 75 6e 74 69 6c 20 6e | 6f 20 6c 69 6e 6b 73 20 | until n|o links |
|00002c30| 61 72 65 20 6c 65 66 74 | 20 61 74 20 61 6e 79 20 |are left| at any |
|00002c40| 6c 65 76 65 6c 2e 22 5d | 29 0a 28 64 65 66 61 6c |level."]|).(defal|
|00002c50| 69 61 73 20 27 66 69 6c | 65 2d 63 68 61 73 65 2d |ias 'fil|e-chase-|
|00002c60| 6c 69 6e 6b 73 20 23 5b | 28 66 69 6c 65 6e 61 6d |links #[|(filenam|
|00002c70| 65 29 20 22 c0 c1 5c 6e | 1b 1c 1d c6 0b 21 89 15 |e) "..\n|.....!..|
|00002c80| 83 43 00 0c c7 55 83 19 | 00 c8 c9 5c 6e 5c 22 88 |.C...U..|...\n\".|
|00002c90| ca cb 0d 5c 22 83 36 00 | 0d cc c0 4f 15 cd ce cf |...\".6.|...O....|
|00002ca0| d0 ce cf 0b 21 21 21 21 | 21 21 13 82 19 00 d1 0d |....!!!!|!!......|
|00002cb0| cf 0b 21 5c 22 13 0c 53 | 14 82 06 00 0b 2b 87 22 |..!\"..S|.....+."|
|00002cc0| 20 5b 6e 69 6c 20 31 30 | 30 20 66 69 6c 65 6e 61 | [nil 10|0 filena|
|00002cd0| 6d 65 20 6e 65 77 6e 61 | 6d 65 20 63 6f 75 6e 74 |me newna|me count|
|00002ce0| 20 74 65 6d 20 66 69 6c | 65 2d 73 79 6d 6c 69 6e | tem fil|e-symlin|
|00002cf0| 6b 2d 70 20 30 20 65 72 | 72 6f 72 20 22 41 70 70 |k-p 0 er|ror "App|
|00002d00| 61 72 65 6e 74 20 63 79 | 63 6c 65 20 6f 66 20 73 |arent cy|cle of s|
|00002d10| 79 6d 62 6f 6c 69 63 20 | 6c 69 6e 6b 73 20 66 6f |ymbolic |links fo|
|00002d20| 72 20 25 73 22 20 73 74 | 72 69 6e 67 2d 6d 61 74 |r %s" st|ring-mat|
|00002d30| 63 68 20 22 5c 5c 2e 5c | 5c 2e 2f 22 20 33 20 66 |ch "\\.\|\./" 3 f|
|00002d40| 69 6c 65 2d 6e 61 6d 65 | 2d 61 73 2d 64 69 72 65 |ile-name|-as-dire|
|00002d50| 63 74 6f 72 79 20 64 69 | 72 65 63 74 6f 72 79 2d |ctory di|rectory-|
|00002d60| 66 69 6c 65 2d 6e 61 6d | 65 20 66 69 6c 65 2d 6e |file-nam|e file-n|
|00002d70| 61 6d 65 2d 64 69 72 65 | 63 74 6f 72 79 20 66 69 |ame-dire|ctory fi|
|00002d80| 6c 65 2d 63 68 61 73 65 | 2d 6c 69 6e 6b 73 20 65 |le-chase|-links e|
|00002d90| 78 70 61 6e 64 2d 66 69 | 6c 65 2d 6e 61 6d 65 5d |xpand-fi|le-name]|
|00002da0| 20 37 20 22 5c 0a 43 68 | 61 73 65 20 6c 69 6e 6b | 7 "\.Ch|ase link|
|00002db0| 73 20 69 6e 20 46 49 4c | 45 4e 41 4d 45 20 75 6e |s in FIL|ENAME un|
|00002dc0| 74 69 6c 20 61 20 6e 61 | 6d 65 20 74 68 61 74 20 |til a na|me that |
|00002dd0| 69 73 20 6e 6f 74 20 61 | 20 6c 69 6e 6b 2e 0a 44 |is not a| link..D|
|00002de0| 6f 65 73 20 6e 6f 74 20 | 65 78 61 6d 69 6e 65 20 |oes not |examine |
|00002df0| 63 6f 6e 74 61 69 6e 69 | 6e 67 20 64 69 72 65 63 |containi|ng direc|
|00002e00| 74 6f 72 69 65 73 20 66 | 6f 72 20 6c 69 6e 6b 73 |tories f|or links|
|00002e10| 2c 0a 75 6e 6c 69 6b 65 | 20 60 66 69 6c 65 2d 74 |,.unlike| `file-t|
|00002e20| 72 75 65 6e 61 6d 65 27 | 2e 22 5d 29 0a 28 64 65 |ruename'|."]).(de|
|00002e30| 66 61 6c 69 61 73 20 27 | 73 77 69 74 63 68 2d 74 |falias '|switch-t|
|00002e40| 6f 2d 62 75 66 66 65 72 | 2d 6f 74 68 65 72 2d 77 |o-buffer|-other-w|
|00002e50| 69 6e 64 6f 77 20 23 5b | 28 62 75 66 66 65 72 29 |indow #[|(buffer)|
|00002e60| 20 22 c0 19 c2 0b c0 5c | 22 29 87 22 20 5b 74 20 | ".....\|")." [t |
|00002e70| 70 6f 70 2d 75 70 2d 77 | 69 6e 64 6f 77 73 20 70 |pop-up-w|indows p|
|00002e80| 6f 70 2d 74 6f 2d 62 75 | 66 66 65 72 20 62 75 66 |op-to-bu|ffer buf|
|00002e90| 66 65 72 5d 20 33 20 22 | 5c 0a 53 65 6c 65 63 74 |fer] 3 "|\.Select|
|00002ea0| 20 62 75 66 66 65 72 20 | 42 55 46 46 45 52 20 69 | buffer |BUFFER i|
|00002eb0| 6e 20 61 6e 6f 74 68 65 | 72 20 77 69 6e 64 6f 77 |n anothe|r window|
|00002ec0| 2e 22 20 22 42 53 77 69 | 74 63 68 20 74 6f 20 62 |." "BSwi|tch to b|
|00002ed0| 75 66 66 65 72 20 69 6e | 20 6f 74 68 65 72 20 77 |uffer in| other w|
|00002ee0| 69 6e 64 6f 77 3a 20 22 | 5d 29 0a 28 64 65 66 61 |indow: "|]).(defa|
|00002ef0| 6c 69 61 73 20 27 73 77 | 69 74 63 68 2d 74 6f 2d |lias 'sw|itch-to-|
|00002f00| 62 75 66 66 65 72 2d 6f | 74 68 65 72 2d 66 72 61 |buffer-o|ther-fra|
|00002f10| 6d 65 20 23 5b 28 62 75 | 66 66 65 72 29 20 22 c0 |me #[(bu|ffer) ".|
|00002f20| 19 c2 0b c0 5c 22 29 87 | 22 20 5b 74 20 70 6f 70 |....\").|" [t pop|
|00002f30| 2d 75 70 2d 66 72 61 6d | 65 73 20 70 6f 70 2d 74 |-up-fram|es pop-t|
|00002f40| 6f 2d 62 75 66 66 65 72 | 20 62 75 66 66 65 72 5d |o-buffer| buffer]|
|00002f50| 20 33 20 22 5c 0a 53 77 | 69 74 63 68 20 74 6f 20 | 3 "\.Sw|itch to |
|00002f60| 62 75 66 66 65 72 20 42 | 55 46 46 45 52 20 69 6e |buffer B|UFFER in|
|00002f70| 20 61 6e 6f 74 68 65 72 | 20 66 72 61 6d 65 2e 22 | another| frame."|
|00002f80| 20 22 42 53 77 69 74 63 | 68 20 74 6f 20 62 75 66 | "BSwitc|h to buf|
|00002f90| 66 65 72 20 69 6e 20 6f | 74 68 65 72 20 66 72 61 |fer in o|ther fra|
|00002fa0| 6d 65 3a 20 22 5d 29 0a | 28 64 65 66 61 6c 69 61 |me: "]).|(defalia|
|00002fb0| 73 20 27 66 69 6e 64 2d | 66 69 6c 65 20 23 5b 28 |s 'find-|file #[(|
|00002fc0| 66 69 6c 65 6e 61 6d 65 | 29 20 22 c0 c1 5c 6e 21 |filename|) "..\n!|
|00002fd0| 21 87 22 20 5b 73 77 69 | 74 63 68 2d 74 6f 2d 62 |!." [swi|tch-to-b|
|00002fe0| 75 66 66 65 72 20 66 69 | 6e 64 2d 66 69 6c 65 2d |uffer fi|nd-file-|
|00002ff0| 6e 6f 73 65 6c 65 63 74 | 20 66 69 6c 65 6e 61 6d |noselect| filenam|
|00003000| 65 5d 20 33 20 22 5c 0a | 45 64 69 74 20 66 69 6c |e] 3 "\.|Edit fil|
|00003010| 65 20 46 49 4c 45 4e 41 | 4d 45 2e 0a 53 77 69 74 |e FILENA|ME..Swit|
|00003020| 63 68 20 74 6f 20 61 20 | 62 75 66 66 65 72 20 76 |ch to a |buffer v|
|00003030| 69 73 69 74 69 6e 67 20 | 66 69 6c 65 20 46 49 4c |isiting |file FIL|
|00003040| 45 4e 41 4d 45 2c 0a 63 | 72 65 61 74 69 6e 67 20 |ENAME,.c|reating |
|00003050| 6f 6e 65 20 69 66 20 6e | 6f 6e 65 20 61 6c 72 65 |one if n|one alre|
|00003060| 61 64 79 20 65 78 69 73 | 74 73 2e 22 20 22 46 46 |ady exis|ts." "FF|
|00003070| 69 6e 64 20 66 69 6c 65 | 3a 20 22 5d 29 0a 28 64 |ind file|: "]).(d|
|00003080| 65 66 61 6c 69 61 73 20 | 27 66 69 6e 64 2d 66 69 |efalias |'find-fi|
|00003090| 6c 65 2d 6f 74 68 65 72 | 2d 77 69 6e 64 6f 77 20 |le-other|-window |
|000030a0| 23 5b 28 66 69 6c 65 6e | 61 6d 65 29 20 22 c0 c1 |#[(filen|ame) "..|
|000030b0| 5c 6e 21 21 87 22 20 5b | 73 77 69 74 63 68 2d 74 |\n!!." [|switch-t|
|000030c0| 6f 2d 62 75 66 66 65 72 | 2d 6f 74 68 65 72 2d 77 |o-buffer|-other-w|
|000030d0| 69 6e 64 6f 77 20 66 69 | 6e 64 2d 66 69 6c 65 2d |indow fi|nd-file-|
|000030e0| 6e 6f 73 65 6c 65 63 74 | 20 66 69 6c 65 6e 61 6d |noselect| filenam|
|000030f0| 65 5d 20 33 20 22 5c 0a | 45 64 69 74 20 66 69 6c |e] 3 "\.|Edit fil|
|00003100| 65 20 46 49 4c 45 4e 41 | 4d 45 2c 20 69 6e 20 61 |e FILENA|ME, in a|
|00003110| 6e 6f 74 68 65 72 20 77 | 69 6e 64 6f 77 2e 0a 4d |nother w|indow..M|
|00003120| 61 79 20 63 72 65 61 74 | 65 20 61 20 6e 65 77 20 |ay creat|e a new |
|00003130| 77 69 6e 64 6f 77 2c 20 | 6f 72 20 72 65 75 73 65 |window, |or reuse|
|00003140| 20 61 6e 20 65 78 69 73 | 74 69 6e 67 20 6f 6e 65 | an exis|ting one|
|00003150| 2e 0a 53 65 65 20 74 68 | 65 20 66 75 6e 63 74 69 |..See th|e functi|
|00003160| 6f 6e 20 60 64 69 73 70 | 6c 61 79 2d 62 75 66 66 |on `disp|lay-buff|
|00003170| 65 72 27 2e 22 20 22 46 | 46 69 6e 64 20 66 69 6c |er'." "F|Find fil|
|00003180| 65 20 69 6e 20 6f 74 68 | 65 72 20 77 69 6e 64 6f |e in oth|er windo|
|00003190| 77 3a 20 22 5d 29 0a 28 | 64 65 66 61 6c 69 61 73 |w: "]).(|defalias|
|000031a0| 20 27 66 69 6e 64 2d 66 | 69 6c 65 2d 6f 74 68 65 | 'find-f|ile-othe|
|000031b0| 72 2d 66 72 61 6d 65 20 | 23 5b 28 66 69 6c 65 6e |r-frame |#[(filen|
|000031c0| 61 6d 65 29 20 22 c0 c1 | 5c 6e 21 21 87 22 20 5b |ame) "..|\n!!." [|
|000031d0| 73 77 69 74 63 68 2d 74 | 6f 2d 62 75 66 66 65 72 |switch-t|o-buffer|
|000031e0| 2d 6f 74 68 65 72 2d 66 | 72 61 6d 65 20 66 69 6e |-other-f|rame fin|
|000031f0| 64 2d 66 69 6c 65 2d 6e | 6f 73 65 6c 65 63 74 20 |d-file-n|oselect |
|00003200| 66 69 6c 65 6e 61 6d 65 | 5d 20 33 20 22 5c 0a 45 |filename|] 3 "\.E|
|00003210| 64 69 74 20 66 69 6c 65 | 20 46 49 4c 45 4e 41 4d |dit file| FILENAM|
|00003220| 45 2c 20 69 6e 20 61 6e | 6f 74 68 65 72 20 66 72 |E, in an|other fr|
|00003230| 61 6d 65 2e 0a 4d 61 79 | 20 63 72 65 61 74 65 20 |ame..May| create |
|00003240| 61 20 6e 65 77 20 66 72 | 61 6d 65 2c 20 6f 72 20 |a new fr|ame, or |
|00003250| 72 65 75 73 65 20 61 6e | 20 65 78 69 73 74 69 6e |reuse an| existin|
|00003260| 67 20 6f 6e 65 2e 0a 53 | 65 65 20 74 68 65 20 66 |g one..S|ee the f|
|00003270| 75 6e 63 74 69 6f 6e 20 | 60 64 69 73 70 6c 61 79 |unction |`display|
|00003280| 2d 62 75 66 66 65 72 27 | 2e 22 20 22 46 46 69 6e |-buffer'|." "FFin|
|00003290| 64 20 66 69 6c 65 20 69 | 6e 20 6f 74 68 65 72 20 |d file i|n other |
|000032a0| 66 72 61 6d 65 3a 20 22 | 5d 29 0a 28 64 65 66 61 |frame: "|]).(defa|
|000032b0| 6c 69 61 73 20 27 66 69 | 6e 64 2d 66 69 6c 65 2d |lias 'fi|nd-file-|
|000032c0| 72 65 61 64 2d 6f 6e 6c | 79 20 23 5b 28 66 69 6c |read-onl|y #[(fil|
|000032d0| 65 6e 61 6d 65 29 20 22 | c0 09 21 88 c2 13 70 87 |ename) "|..!...p.|
|000032e0| 22 20 5b 66 69 6e 64 2d | 66 69 6c 65 20 66 69 6c |" [find-|file fil|
|000032f0| 65 6e 61 6d 65 20 74 20 | 62 75 66 66 65 72 2d 72 |ename t |buffer-r|
|00003300| 65 61 64 2d 6f 6e 6c 79 | 5d 20 32 20 22 5c 0a 45 |ead-only|] 2 "\.E|
|00003310| 64 69 74 20 66 69 6c 65 | 20 46 49 4c 45 4e 41 4d |dit file| FILENAM|
|00003320| 45 20 62 75 74 20 64 6f | 6e 27 74 20 61 6c 6c 6f |E but do|n't allo|
|00003330| 77 20 63 68 61 6e 67 65 | 73 2e 0a 4c 69 6b 65 20 |w change|s..Like |
|00003340| 5c 5c 5b 66 69 6e 64 2d | 66 69 6c 65 5d 20 62 75 |\\[find-|file] bu|
|00003350| 74 20 6d 61 72 6b 73 20 | 62 75 66 66 65 72 20 61 |t marks |buffer a|
|00003360| 73 20 72 65 61 64 2d 6f | 6e 6c 79 2e 0a 55 73 65 |s read-o|nly..Use|
|00003370| 20 5c 5c 5b 74 6f 67 67 | 6c 65 2d 72 65 61 64 2d | \\[togg|le-read-|
|00003380| 6f 6e 6c 79 5d 20 74 6f | 20 70 65 72 6d 69 74 20 |only] to| permit |
|00003390| 65 64 69 74 69 6e 67 2e | 22 20 22 66 46 69 6e 64 |editing.|" "fFind|
|000033a0| 20 66 69 6c 65 20 72 65 | 61 64 2d 6f 6e 6c 79 3a | file re|ad-only:|
|000033b0| 20 22 5d 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 | "]).(de|falias '|
|000033c0| 66 69 6e 64 2d 66 69 6c | 65 2d 72 65 61 64 2d 6f |find-fil|e-read-o|
|000033d0| 6e 6c 79 2d 6f 74 68 65 | 72 2d 77 69 6e 64 6f 77 |nly-othe|r-window|
|000033e0| 20 23 5b 28 66 69 6c 65 | 6e 61 6d 65 29 20 22 c0 | #[(file|name) ".|
|000033f0| 09 21 88 c2 13 70 87 22 | 20 5b 66 69 6e 64 2d 66 |.!...p."| [find-f|
|00003400| 69 6c 65 2d 6f 74 68 65 | 72 2d 77 69 6e 64 6f 77 |ile-othe|r-window|
|00003410| 20 66 69 6c 65 6e 61 6d | 65 20 74 20 62 75 66 66 | filenam|e t buff|
|00003420| 65 72 2d 72 65 61 64 2d | 6f 6e 6c 79 5d 20 32 20 |er-read-|only] 2 |
|00003430| 22 5c 0a 45 64 69 74 20 | 66 69 6c 65 20 46 49 4c |"\.Edit |file FIL|
|00003440| 45 4e 41 4d 45 20 69 6e | 20 61 6e 6f 74 68 65 72 |ENAME in| another|
|00003450| 20 77 69 6e 64 6f 77 20 | 62 75 74 20 64 6f 6e 27 | window |but don'|
|00003460| 74 20 61 6c 6c 6f 77 20 | 63 68 61 6e 67 65 73 2e |t allow |changes.|
|00003470| 0a 4c 69 6b 65 20 5c 5c | 5b 66 69 6e 64 2d 66 69 |.Like \\|[find-fi|
|00003480| 6c 65 2d 6f 74 68 65 72 | 2d 77 69 6e 64 6f 77 5d |le-other|-window]|
|00003490| 20 62 75 74 20 6d 61 72 | 6b 73 20 62 75 66 66 65 | but mar|ks buffe|
|000034a0| 72 20 61 73 20 72 65 61 | 64 2d 6f 6e 6c 79 2e 0a |r as rea|d-only..|
|000034b0| 55 73 65 20 5c 5c 5b 74 | 6f 67 67 6c 65 2d 72 65 |Use \\[t|oggle-re|
|000034c0| 61 64 2d 6f 6e 6c 79 5d | 20 74 6f 20 70 65 72 6d |ad-only]| to perm|
|000034d0| 69 74 20 65 64 69 74 69 | 6e 67 2e 22 20 22 66 46 |it editi|ng." "fF|
|000034e0| 69 6e 64 20 66 69 6c 65 | 20 72 65 61 64 2d 6f 6e |ind file| read-on|
|000034f0| 6c 79 20 6f 74 68 65 72 | 20 77 69 6e 64 6f 77 3a |ly other| window:|
|00003500| 20 22 5d 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 | "]).(de|falias '|
|00003510| 66 69 6e 64 2d 66 69 6c | 65 2d 72 65 61 64 2d 6f |find-fil|e-read-o|
|00003520| 6e 6c 79 2d 6f 74 68 65 | 72 2d 66 72 61 6d 65 20 |nly-othe|r-frame |
|00003530| 23 5b 28 66 69 6c 65 6e | 61 6d 65 29 20 22 c0 09 |#[(filen|ame) "..|
|00003540| 21 88 c2 13 70 87 22 20 | 5b 66 69 6e 64 2d 66 69 |!...p." |[find-fi|
|00003550| 6c 65 2d 6f 74 68 65 72 | 2d 66 72 61 6d 65 20 66 |le-other|-frame f|
|00003560| 69 6c 65 6e 61 6d 65 20 | 74 20 62 75 66 66 65 72 |ilename |t buffer|
|00003570| 2d 72 65 61 64 2d 6f 6e | 6c 79 5d 20 32 20 22 5c |-read-on|ly] 2 "\|
|00003580| 0a 45 64 69 74 20 66 69 | 6c 65 20 46 49 4c 45 4e |.Edit fi|le FILEN|
|00003590| 41 4d 45 20 69 6e 20 61 | 6e 6f 74 68 65 72 20 66 |AME in a|nother f|
|000035a0| 72 61 6d 65 20 62 75 74 | 20 64 6f 6e 27 74 20 61 |rame but| don't a|
|000035b0| 6c 6c 6f 77 20 63 68 61 | 6e 67 65 73 2e 0a 4c 69 |llow cha|nges..Li|
|000035c0| 6b 65 20 5c 5c 5b 66 69 | 6e 64 2d 66 69 6c 65 2d |ke \\[fi|nd-file-|
|000035d0| 6f 74 68 65 72 2d 66 72 | 61 6d 65 5d 20 62 75 74 |other-fr|ame] but|
|000035e0| 20 6d 61 72 6b 73 20 62 | 75 66 66 65 72 20 61 73 | marks b|uffer as|
|000035f0| 20 72 65 61 64 2d 6f 6e | 6c 79 2e 0a 55 73 65 20 | read-on|ly..Use |
|00003600| 5c 5c 5b 74 6f 67 67 6c | 65 2d 72 65 61 64 2d 6f |\\[toggl|e-read-o|
|00003610| 6e 6c 79 5d 20 74 6f 20 | 70 65 72 6d 69 74 20 65 |nly] to |permit e|
|00003620| 64 69 74 69 6e 67 2e 22 | 20 22 66 46 69 6e 64 20 |diting."| "fFind |
|00003630| 66 69 6c 65 20 72 65 61 | 64 2d 6f 6e 6c 79 20 6f |file rea|d-only o|
|00003640| 74 68 65 72 20 66 72 61 | 6d 65 3a 20 22 5d 29 0a |ther fra|me: "]).|
|00003650| 28 64 65 66 61 6c 69 61 | 73 20 27 66 69 6e 64 2d |(defalia|s 'find-|
|00003660| 61 6c 74 65 72 6e 61 74 | 65 2d 66 69 6c 65 20 23 |alternat|e-file #|
|00003670| 5b 28 66 69 6c 65 6e 61 | 6d 65 29 20 22 c0 20 83 |[(filena|me) ". .|
|00003680| 13 00 c1 c2 c3 c4 20 5c | 22 21 84 13 00 c5 c6 21 |...... \|"!.....!|
|00003690| 88 70 0e 07 0e 08 0e 09 | c4 20 1e 5c 6e 1e 0b 1e |.p......|. .\n...|
|000036a0| 0c 1e 0d 1e 0e cf d0 21 | 88 d1 16 07 d1 16 08 d1 |.......!|........|
|000036b0| 16 09 d2 8e d3 20 88 d4 | 0e 15 21 88 29 70 0e 0e |..... ..|..!.)p..|
|000036c0| 3d 86 49 00 d6 0e 0e 21 | 2d 87 22 20 5b 62 75 66 |=.I....!|-." [buf|
|000036d0| 66 65 72 2d 6d 6f 64 69 | 66 69 65 64 2d 70 20 79 |fer-modi|fied-p y|
|000036e0| 65 73 2d 6f 72 2d 6e 6f | 2d 70 20 66 6f 72 6d 61 |es-or-no|-p forma|
|000036f0| 74 20 22 42 75 66 66 65 | 72 20 25 73 20 69 73 20 |t "Buffe|r %s is |
|00003700| 6d 6f 64 69 66 69 65 64 | 3b 20 6b 69 6c 6c 20 61 |modified|; kill a|
|00003710| 6e 79 77 61 79 3f 20 22 | 20 62 75 66 66 65 72 2d |nyway? "| buffer-|
|00003720| 6e 61 6d 65 20 65 72 72 | 6f 72 20 22 41 62 6f 72 |name err|or "Abor|
|00003730| 74 65 64 22 20 62 75 66 | 66 65 72 2d 66 69 6c 65 |ted" buf|fer-file|
|00003740| 2d 6e 61 6d 65 20 62 75 | 66 66 65 72 2d 66 69 6c |-name bu|ffer-fil|
|00003750| 65 2d 6e 75 6d 62 65 72 | 20 62 75 66 66 65 72 2d |e-number| buffer-|
|00003760| 66 69 6c 65 2d 74 72 75 | 65 6e 61 6d 65 20 6f 6e |file-tru|ename on|
|00003770| 61 6d 65 20 6f 74 72 75 | 65 20 6f 6e 75 6d 20 6f |ame otru|e onum o|
|00003780| 66 69 6c 65 20 6f 62 75 | 66 20 72 65 6e 61 6d 65 |file obu|f rename|
|00003790| 2d 62 75 66 66 65 72 20 | 22 20 2a 2a 6c 6f 73 65 |-buffer |" **lose|
|000037a0| 2a 2a 22 20 6e 69 6c 20 | 28 28 62 79 74 65 2d 63 |**" nil |((byte-c|
|000037b0| 6f 64 65 20 22 08 70 3d | 83 15 00 09 12 0b 14 0d |ode ".p=|........|
|000037c0| 16 06 c7 20 88 c8 0e 09 | 21 88 c7 87 22 20 5b 6f |... ....|!..." [o|
|000037d0| 62 75 66 20 6f 66 69 6c | 65 20 62 75 66 66 65 72 |buf ofil|e buffer|
|000037e0| 2d 66 69 6c 65 2d 6e 61 | 6d 65 20 6f 6e 75 6d 20 |-file-na|me onum |
|000037f0| 62 75 66 66 65 72 2d 66 | 69 6c 65 2d 6e 75 6d 62 |buffer-f|ile-numb|
|00003800| 65 72 20 6f 74 72 75 65 | 20 62 75 66 66 65 72 2d |er otrue| buffer-|
|00003810| 66 69 6c 65 2d 74 72 75 | 65 6e 61 6d 65 20 6c 6f |file-tru|ename lo|
|00003820| 63 6b 2d 62 75 66 66 65 | 72 20 72 65 6e 61 6d 65 |ck-buffe|r rename|
|00003830| 2d 62 75 66 66 65 72 20 | 6f 6e 61 6d 65 5d 20 32 |-buffer |oname] 2|
|00003840| 29 29 20 75 6e 6c 6f 63 | 6b 2d 62 75 66 66 65 72 |)) unloc|k-buffer|
|00003850| 20 66 69 6e 64 2d 66 69 | 6c 65 20 66 69 6c 65 6e | find-fi|le filen|
|00003860| 61 6d 65 20 6b 69 6c 6c | 2d 62 75 66 66 65 72 5d |ame kill|-buffer]|
|00003870| 20 35 20 22 5c 0a 46 69 | 6e 64 20 66 69 6c 65 20 | 5 "\.Fi|nd file |
|00003880| 46 49 4c 45 4e 41 4d 45 | 2c 20 73 65 6c 65 63 74 |FILENAME|, select|
|00003890| 20 69 74 73 20 62 75 66 | 66 65 72 2c 20 6b 69 6c | its buf|fer, kil|
|000038a0| 6c 20 70 72 65 76 69 6f | 75 73 20 62 75 66 66 65 |l previo|us buffe|
|000038b0| 72 2e 0a 49 66 20 74 68 | 65 20 63 75 72 72 65 6e |r..If th|e curren|
|000038c0| 74 20 62 75 66 66 65 72 | 20 6e 6f 77 20 63 6f 6e |t buffer| now con|
|000038d0| 74 61 69 6e 73 20 61 6e | 20 65 6d 70 74 79 20 66 |tains an| empty f|
|000038e0| 69 6c 65 20 74 68 61 74 | 20 79 6f 75 20 6a 75 73 |ile that| you jus|
|000038f0| 74 20 76 69 73 69 74 65 | 64 0a 28 70 72 65 73 75 |t visite|d.(presu|
|00003900| 6d 61 62 6c 79 20 62 79 | 20 6d 69 73 74 61 6b 65 |mably by| mistake|
|00003910| 29 2c 20 75 73 65 20 74 | 68 69 73 20 63 6f 6d 6d |), use t|his comm|
|00003920| 61 6e 64 20 74 6f 20 76 | 69 73 69 74 20 74 68 65 |and to v|isit the|
|00003930| 20 66 69 6c 65 20 79 6f | 75 20 72 65 61 6c 6c 79 | file yo|u really|
|00003940| 20 77 61 6e 74 2e 22 20 | 28 62 79 74 65 2d 63 6f | want." |(byte-co|
|00003950| 64 65 20 22 08 c1 89 1a | 1b 89 1c 83 12 00 c5 0c |de "....|........|
|00003960| 21 13 c6 0c 21 12 c7 c8 | 5c 6e c1 89 0b 25 2b 43 |!...!...|\n...%+C|
|00003970| 87 22 20 5b 62 75 66 66 | 65 72 2d 66 69 6c 65 2d |." [buff|er-file-|
|00003980| 6e 61 6d 65 20 6e 69 6c | 20 66 69 6c 65 2d 64 69 |name nil| file-di|
|00003990| 72 20 66 69 6c 65 2d 6e | 61 6d 65 20 66 69 6c 65 |r file-n|ame file|
|000039a0| 20 66 69 6c 65 2d 6e 61 | 6d 65 2d 6e 6f 6e 64 69 | file-na|me-nondi|
|000039b0| 72 65 63 74 6f 72 79 20 | 66 69 6c 65 2d 6e 61 6d |rectory |file-nam|
|000039c0| 65 2d 64 69 72 65 63 74 | 6f 72 79 20 72 65 61 64 |e-direct|ory read|
|000039d0| 2d 66 69 6c 65 2d 6e 61 | 6d 65 20 22 46 69 6e 64 |-file-na|me "Find|
|000039e0| 20 61 6c 74 65 72 6e 61 | 74 65 20 66 69 6c 65 3a | alterna|te file:|
|000039f0| 20 22 5d 20 37 29 5d 29 | 0a 28 64 65 66 61 6c 69 | "] 7)])|.(defali|
|00003a00| 61 73 20 27 63 72 65 61 | 74 65 2d 66 69 6c 65 2d |as 'crea|te-file-|
|00003a10| 62 75 66 66 65 72 20 23 | 5b 28 66 69 6c 65 6e 61 |buffer #|[(filena|
|00003a20| 6d 65 29 20 22 c0 09 21 | 89 1a c3 98 83 0c 00 09 |me) "..!|........|
|00003a30| 12 c4 5c 6e 21 29 87 22 | 20 5b 66 69 6c 65 2d 6e |..\n!)."| [file-n|
|00003a40| 61 6d 65 2d 6e 6f 6e 64 | 69 72 65 63 74 6f 72 79 |ame-nond|irectory|
|00003a50| 20 66 69 6c 65 6e 61 6d | 65 20 6c 61 73 74 6e 61 | filenam|e lastna|
|00003a60| 6d 65 20 22 22 20 67 65 | 6e 65 72 61 74 65 2d 6e |me "" ge|nerate-n|
|00003a70| 65 77 2d 62 75 66 66 65 | 72 5d 20 33 20 22 5c 0a |ew-buffe|r] 3 "\.|
|00003a80| 43 72 65 61 74 65 20 61 | 20 73 75 69 74 61 62 6c |Create a| suitabl|
|00003a90| 79 20 6e 61 6d 65 64 20 | 62 75 66 66 65 72 20 66 |y named |buffer f|
|00003aa0| 6f 72 20 76 69 73 69 74 | 69 6e 67 20 46 49 4c 45 |or visit|ing FILE|
|00003ab0| 4e 41 4d 45 2c 20 61 6e | 64 20 72 65 74 75 72 6e |NAME, an|d return|
|00003ac0| 20 69 74 2e 0a 46 49 4c | 45 4e 41 4d 45 20 28 73 | it..FIL|ENAME (s|
|00003ad0| 61 6e 73 20 64 69 72 65 | 63 74 6f 72 79 29 20 69 |ans dire|ctory) i|
|00003ae0| 73 20 75 73 65 64 20 75 | 6e 63 68 61 6e 67 65 64 |s used u|nchanged|
|00003af0| 20 69 66 20 74 68 61 74 | 20 6e 61 6d 65 20 69 73 | if that| name is|
|00003b00| 20 66 72 65 65 3b 0a 6f | 74 68 65 72 77 69 73 65 | free;.o|therwise|
|00003b10| 20 61 20 73 74 72 69 6e | 67 20 3c 32 3e 20 6f 72 | a strin|g <2> or|
|00003b20| 20 3c 33 3e 20 6f 72 20 | 2e 2e 2e 20 69 73 20 61 | <3> or |... is a|
|00003b30| 70 70 65 6e 64 65 64 20 | 74 6f 20 67 65 74 20 61 |ppended |to get a|
|00003b40| 6e 20 75 6e 75 73 65 64 | 20 6e 61 6d 65 2e 22 5d |n unused| name."]|
|00003b50| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 67 65 6e |).(defal|ias 'gen|
|00003b60| 65 72 61 74 65 2d 6e 65 | 77 2d 62 75 66 66 65 72 |erate-ne|w-buffer|
|00003b70| 20 23 5b 28 6e 61 6d 65 | 29 20 22 c0 c1 5c 6e 21 | #[(name|) "..\n!|
|00003b80| 21 87 22 20 5b 67 65 74 | 2d 62 75 66 66 65 72 2d |!." [get|-buffer-|
|00003b90| 63 72 65 61 74 65 20 67 | 65 6e 65 72 61 74 65 2d |create g|enerate-|
|00003ba0| 6e 65 77 2d 62 75 66 66 | 65 72 2d 6e 61 6d 65 20 |new-buff|er-name |
|00003bb0| 6e 61 6d 65 5d 20 33 20 | 22 5c 0a 43 72 65 61 74 |name] 3 |"\.Creat|
|00003bc0| 65 20 61 6e 64 20 72 65 | 74 75 72 6e 20 61 20 62 |e and re|turn a b|
|00003bd0| 75 66 66 65 72 20 77 69 | 74 68 20 61 20 6e 61 6d |uffer wi|th a nam|
|00003be0| 65 20 62 61 73 65 64 20 | 6f 6e 20 4e 41 4d 45 2e |e based |on NAME.|
|00003bf0| 0a 43 68 6f 6f 73 65 20 | 74 68 65 20 62 75 66 66 |.Choose |the buff|
|00003c00| 65 72 27 73 20 6e 61 6d | 65 20 75 73 69 6e 67 20 |er's nam|e using |
|00003c10| 60 67 65 6e 65 72 61 74 | 65 2d 6e 65 77 2d 62 75 |`generat|e-new-bu|
|00003c20| 66 66 65 72 2d 6e 61 6d | 65 27 2e 22 5d 29 0a 28 |ffer-nam|e'."]).(|
|00003c30| 64 65 66 63 6f 6e 73 74 | 20 61 75 74 6f 6d 6f 75 |defconst| automou|
|00003c40| 6e 74 2d 64 69 72 2d 70 | 72 65 66 69 78 20 22 5e |nt-dir-p|refix "^|
|00003c50| 2f 74 6d 70 5f 6d 6e 74 | 2f 22 20 22 5c 0a 52 65 |/tmp_mnt|/" "\.Re|
|00003c60| 67 65 78 70 20 74 6f 20 | 6d 61 74 63 68 20 74 68 |gexp to |match th|
|00003c70| 65 20 61 75 74 6f 6d 6f | 75 6e 74 65 72 20 70 72 |e automo|unter pr|
|00003c80| 65 66 69 78 20 69 6e 20 | 61 20 64 69 72 65 63 74 |efix in |a direct|
|00003c90| 6f 72 79 20 6e 61 6d 65 | 2e 22 29 0a 28 64 65 66 |ory name|.").(def|
|00003ca0| 76 61 72 20 61 62 62 72 | 65 76 69 61 74 65 64 2d |var abbr|eviated-|
|00003cb0| 68 6f 6d 65 2d 64 69 72 | 20 6e 69 6c 20 22 5c 0a |home-dir| nil "\.|
|00003cc0| 54 68 65 20 74 68 65 20 | 75 73 65 72 27 73 20 68 |The the |user's h|
|00003cd0| 6f 6d 65 64 69 72 20 61 | 62 62 72 65 76 69 61 74 |omedir a|bbreviat|
|00003ce0| 65 64 20 61 63 63 6f 72 | 64 69 6e 67 20 74 6f 20 |ed accor|ding to |
|00003cf0| 60 64 69 72 65 63 74 6f | 72 79 2d 61 62 62 72 65 |`directo|ry-abbre|
|00003d00| 76 2d 6c 69 73 74 27 2e | 22 29 0a 28 64 65 66 61 |v-list'.|").(defa|
|00003d10| 6c 69 61 73 20 27 61 62 | 62 72 65 76 69 61 74 65 |lias 'ab|breviate|
|00003d20| 2d 66 69 6c 65 2d 6e 61 | 6d 65 20 23 5b 28 66 69 |-file-na|me #[(fi|
|00003d30| 6c 65 6e 61 6d 65 29 20 | 22 c0 09 5c 6e 5c 22 83 |lename) |"..\n\".|
|00003d40| 1b 00 c3 c4 5c 6e c5 95 | 53 c6 4f 21 21 83 1b 00 |....\n..|S.O!!...|
|00003d50| 5c 6e c5 95 53 c6 4f 12 | 0e 07 89 1e 08 83 41 00 |\n..S.O.|......A.|
|00003d60| c0 0e 08 40 40 5c 6e 5c | 22 83 38 00 0e 08 40 41 |...@@\n\|".8...@A|
|00003d70| 5c 6e c5 95 c6 4f 50 12 | 0e 08 41 89 16 08 84 23 |\n...OP.|..A....#|
|00003d80| 00 0e 09 84 54 00 ca 1e | 09 cb cc cd ce 21 21 cf |....T...|.....!!.|
|00003d90| 51 29 16 09 c0 0e 09 5c | 6e 5c 22 83 7a 00 ce 0e |Q).....\|n\".z...|
|00003da0| 09 89 47 53 48 d0 3d 83 | 6c 00 d1 82 6d 00 d2 5c |..GSH.=.|l...m..\|
|00003db0| 6e d3 94 d3 95 4f 5c 6e | c5 95 c6 4f 52 12 5c 6e |n....O\n|...OR.\n|
|00003dc0| 29 87 22 20 5b 73 74 72 | 69 6e 67 2d 6d 61 74 63 |)." [str|ing-matc|
|00003dd0| 68 20 61 75 74 6f 6d 6f | 75 6e 74 2d 64 69 72 2d |h automo|unt-dir-|
|00003de0| 70 72 65 66 69 78 20 66 | 69 6c 65 6e 61 6d 65 20 |prefix f|ilename |
|00003df0| 66 69 6c 65 2d 65 78 69 | 73 74 73 2d 70 20 66 69 |file-exi|sts-p fi|
|00003e00| 6c 65 2d 6e 61 6d 65 2d | 64 69 72 65 63 74 6f 72 |le-name-|director|
|00003e10| 79 20 30 20 6e 69 6c 20 | 64 69 72 65 63 74 6f 72 |y 0 nil |director|
|00003e20| 79 2d 61 62 62 72 65 76 | 2d 61 6c 69 73 74 20 74 |y-abbrev|-alist t|
|00003e30| 61 69 6c 20 61 62 62 72 | 65 76 69 61 74 65 64 2d |ail abbr|eviated-|
|00003e40| 68 6f 6d 65 2d 64 69 72 | 20 22 24 66 6f 6f 22 20 |home-dir| "$foo" |
|00003e50| 22 5e 22 20 61 62 62 72 | 65 76 69 61 74 65 2d 66 |"^" abbr|eviate-f|
|00003e60| 69 6c 65 2d 6e 61 6d 65 | 20 65 78 70 61 6e 64 2d |ile-name| expand-|
|00003e70| 66 69 6c 65 2d 6e 61 6d | 65 20 22 7e 22 20 22 5c |file-nam|e "~" "\|
|00003e80| 5c 28 2f 5c 5c 7c 24 5c | 5c 29 22 20 34 37 20 22 |\(/\\|$\|\)" 47 "|
|00003e90| 2f 22 20 22 22 20 31 5d | 20 37 20 22 5c 0a 52 65 |/" "" 1]| 7 "\.Re|
|00003ea0| 74 75 72 6e 20 61 20 76 | 65 72 73 69 6f 6e 20 6f |turn a v|ersion o|
|00003eb0| 66 20 46 49 4c 45 4e 41 | 4d 45 20 73 68 6f 72 74 |f FILENA|ME short|
|00003ec0| 65 6e 65 64 20 75 73 69 | 6e 67 20 60 64 69 72 65 |ened usi|ng `dire|
|00003ed0| 63 74 6f 72 79 2d 61 62 | 62 72 65 76 2d 61 6c 69 |ctory-ab|brev-ali|
|00003ee0| 73 74 27 2e 0a 54 68 69 | 73 20 61 6c 73 6f 20 73 |st'..Thi|s also s|
|00003ef0| 75 62 73 74 69 74 75 74 | 65 73 20 5c 22 7e 5c 22 |ubstitut|es \"~\"|
|00003f00| 20 66 6f 72 20 74 68 65 | 20 75 73 65 72 27 73 20 | for the| user's |
|00003f10| 68 6f 6d 65 20 64 69 72 | 65 63 74 6f 72 79 2e 0a |home dir|ectory..|
|00003f20| 54 79 70 65 20 5c 5c 5b | 64 65 73 63 72 69 62 65 |Type \\[|describe|
|00003f30| 2d 76 61 72 69 61 62 6c | 65 5d 20 64 69 72 65 63 |-variabl|e] direc|
|00003f40| 74 6f 72 79 2d 61 62 62 | 72 65 76 2d 61 6c 69 73 |tory-abb|rev-alis|
|00003f50| 74 20 52 45 54 20 66 6f | 72 20 6d 6f 72 65 20 69 |t RET fo|r more i|
|00003f60| 6e 66 6f 72 6d 61 74 69 | 6f 6e 2e 22 5d 29 0a 28 |nformati|on."]).(|
|00003f70| 64 65 66 76 61 72 20 66 | 69 6e 64 2d 66 69 6c 65 |defvar f|ind-file|
|00003f80| 2d 6e 6f 74 2d 74 72 75 | 65 2d 64 69 72 6e 61 6d |-not-tru|e-dirnam|
|00003f90| 65 2d 6c 69 73 74 20 6e | 69 6c 20 22 5c 0a 2a 4c |e-list n|il "\.*L|
|00003fa0| 69 73 74 20 6f 66 20 6c | 6f 67 69 63 61 6c 20 6e |ist of l|ogical n|
|00003fb0| 61 6d 65 73 20 66 6f 72 | 20 77 68 69 63 68 20 76 |ames for| which v|
|00003fc0| 69 73 69 74 69 6e 67 20 | 73 68 6f 75 6c 64 6e 27 |isiting |shouldn'|
|00003fd0| 74 20 73 61 76 65 20 74 | 68 65 20 74 72 75 65 20 |t save t|he true |
|00003fe0| 64 69 72 6e 61 6d 65 2e | 0a 4f 6e 20 56 4d 53 2c |dirname.|.On VMS,|
|00003ff0| 20 77 68 65 6e 20 79 6f | 75 20 76 69 73 69 74 20 | when yo|u visit |
|00004000| 61 20 66 69 6c 65 20 75 | 73 69 6e 67 20 61 20 6c |a file u|sing a l|
|00004010| 6f 67 69 63 61 6c 20 6e | 61 6d 65 20 74 68 61 74 |ogical n|ame that|
|00004020| 20 73 65 61 72 63 68 65 | 73 20 61 20 70 61 74 68 | searche|s a path|
|00004030| 2c 0a 79 6f 75 20 6d 61 | 79 20 6f 72 20 6d 61 79 |,.you ma|y or may|
|00004040| 20 6e 6f 74 20 77 61 6e | 74 20 74 68 65 20 76 69 | not wan|t the vi|
|00004050| 73 69 74 65 64 20 66 69 | 6c 65 20 6e 61 6d 65 20 |sited fi|le name |
|00004060| 74 6f 20 72 65 63 6f 72 | 64 20 74 68 65 20 73 70 |to recor|d the sp|
|00004070| 65 63 69 66 69 63 0a 64 | 69 72 65 63 74 6f 72 79 |ecific.d|irectory|
|00004080| 20 77 68 65 72 65 20 74 | 68 65 20 66 69 6c 65 20 | where t|he file |
|00004090| 77 61 73 20 66 6f 75 6e | 64 2e 20 20 49 66 20 79 |was foun|d. If y|
|000040a0| 6f 75 20 2a 64 6f 20 6e | 6f 74 2a 20 77 61 6e 74 |ou *do n|ot* want|
|000040b0| 20 74 68 61 74 2c 20 61 | 64 64 20 74 68 65 20 6c | that, a|dd the l|
|000040c0| 6f 67 69 63 61 6c 0a 6e | 61 6d 65 20 74 6f 20 74 |ogical.n|ame to t|
|000040d0| 68 69 73 20 6c 69 73 74 | 20 61 73 20 61 20 73 74 |his list| as a st|
|000040e0| 72 69 6e 67 2e 22 29 0a | 28 64 65 66 61 6c 69 61 |ring.").|(defalia|
|000040f0| 73 20 27 66 69 6e 64 2d | 66 69 6c 65 2d 6e 6f 73 |s 'find-|file-nos|
|00004100| 65 6c 65 63 74 20 23 5b | 28 66 69 6c 65 6e 61 6d |elect #[|(filenam|
|00004110| 65 20 26 6f 70 74 69 6f | 6e 61 6c 20 6e 6f 77 61 |e &optio|nal nowa|
|00004120| 72 6e 29 20 22 c0 c1 5c | 6e 21 21 12 c3 5c 6e 21 |rn) "..\|n!!..\n!|
|00004130| 83 19 00 0c 83 14 00 c5 | 5c 6e 21 87 c6 c7 5c 6e |........|\n!...\n|
|00004140| 5c 22 87 c8 5c 6e 21 1e | 09 c0 ca 5c 6e 21 21 1e |\"..\n!.|...\n!!.|
|00004150| 0b cc cd 0e 0b 21 9b 1e | 0e 0e 09 86 67 00 cf d0 |.....!..|....g...|
|00004160| 20 1e 11 1e 12 0e 12 84 | 64 00 0e 11 83 64 00 8a | .......|d....d..|
|00004170| 0e 11 40 71 88 0e 13 83 | 5b 00 0e 14 0e 0b 98 83 |..@q....|[.......|
|00004180| 5b 00 0e 11 40 16 12 29 | 0e 11 41 16 11 82 39 00 |[...@..)|..A...9.|
|00004190| 0e 12 2a 1e 15 0e 09 86 | b6 00 0e 0e 85 b6 00 cf |..*.....|........|
|000041a0| d0 20 1e 11 1e 12 0e 12 | 84 b3 00 0e 11 83 b3 00 |. ......|........|
|000041b0| 8a 0e 11 40 71 88 0e 16 | 0e 0e 9a 83 aa 00 d7 0e |...@q...|........|
|000041c0| 13 21 83 aa 00 cc cd 0e | 13 21 9b 0e 0e 9a 83 aa |.!......|.!......|
|000041d0| 00 0e 11 40 16 12 29 0e | 11 41 16 11 82 7a 00 0e |...@..).|.A...z..|
|000041e0| 12 2a 1e 18 cf 1e 06 0e | 09 84 d8 00 0e 15 83 d8 |.*......|........|
|000041f0| 00 0e 19 84 d8 00 da db | 5c 6e d3 0e 15 21 0e 0b |........|\n...!..|
|00004200| 24 88 82 f0 00 0e 09 84 | f0 00 0e 18 83 f0 00 0e |$.......|........|
|00004210| 19 84 f0 00 da dc 5c 6e | d3 0e 18 21 23 88 0e 1d |......\n|...!#...|
|00004220| 84 fa 00 0e 1e 83 03 01 | 0e 15 86 01 01 0e 18 16 |........|........|
|00004230| 09 0e 09 83 46 01 0e 19 | 84 b4 01 df 0e 09 21 84 |....F...|......!.|
|00004240| b4 01 d7 5c 6e 21 84 5c | 22 01 c6 e0 5c 6e 5c 22 |...\n!.\|"...\n\"|
|00004250| 88 82 b4 01 e1 e2 e3 0e | 09 21 83 2f 01 e4 82 30 |........|.!./...0|
|00004260| 01 e5 e6 5c 6e 21 5c 22 | 21 83 b4 01 8a 0e 09 71 |...\n!\"|!......q|
|00004270| 88 e7 e8 89 5c 22 88 29 | 82 b4 01 8a e9 5c 6e 21 |....\".)|.....\n!|
|00004280| 89 16 09 71 88 ea 20 88 | cf eb ec 8f 88 c0 0e 0b |...q.. .|........|
|00004290| 21 16 14 0e 0e 16 16 0e | 2d ee 3d 83 8a 01 cf 1e |!.......|-.=.....|
|000042a0| 2f f0 f1 f2 5c 6e 21 5c | 22 83 7d 01 f2 5c 6e 21 |/...\n!\|".}..\n!|
|000042b0| f3 89 94 4f 16 2f 0e 2f | 0e 34 9d 29 84 8a 01 0e |...O././|.4.)....|
|000042c0| 14 16 13 0e 1e 83 97 01 | c1 0e 14 21 89 12 16 13 |........|...!....|
|000042d0| f2 5c 6e 21 16 35 0e 36 | 0e 13 21 84 ab 01 f7 f8 |.\n!.5.6|..!.....|
|000042e0| 21 88 e8 16 38 f9 0e 06 | 0e 19 3f 5c 22 88 29 0e |!...8...|..?\".).|
|000042f0| 09 2e 06 87 22 20 5b 61 | 62 62 72 65 76 69 61 74 |...." [a|bbreviat|
|00004300| 65 2d 66 69 6c 65 2d 6e | 61 6d 65 20 65 78 70 61 |e-file-n|ame expa|
|00004310| 6e 64 2d 66 69 6c 65 2d | 6e 61 6d 65 20 66 69 6c |nd-file-|name fil|
|00004320| 65 6e 61 6d 65 20 66 69 | 6c 65 2d 64 69 72 65 63 |ename fi|le-direc|
|00004330| 74 6f 72 79 2d 70 20 66 | 69 6e 64 2d 66 69 6c 65 |tory-p f|ind-file|
|00004340| 2d 72 75 6e 2d 64 69 72 | 65 64 20 64 69 72 65 64 |-run-dir|ed dired|
|00004350| 2d 6e 6f 73 65 6c 65 63 | 74 20 65 72 72 6f 72 20 |-noselec|t error |
|00004360| 22 25 73 20 69 73 20 61 | 20 64 69 72 65 63 74 6f |"%s is a| directo|
|00004370| 72 79 2e 22 20 67 65 74 | 2d 66 69 6c 65 2d 62 75 |ry." get|-file-bu|
|00004380| 66 66 65 72 20 62 75 66 | 20 66 69 6c 65 2d 74 72 |ffer buf| file-tr|
|00004390| 75 65 6e 61 6d 65 20 74 | 72 75 65 6e 61 6d 65 20 |uename t|ruename |
|000043a0| 31 30 20 66 69 6c 65 2d | 61 74 74 72 69 62 75 74 |10 file-|attribut|
|000043b0| 65 73 20 6e 75 6d 62 65 | 72 20 6e 69 6c 20 62 75 |es numbe|r nil bu|
|000043c0| 66 66 65 72 2d 6c 69 73 | 74 20 6c 69 73 74 20 66 |ffer-lis|t list f|
|000043d0| 6f 75 6e 64 20 62 75 66 | 66 65 72 2d 66 69 6c 65 |ound buf|fer-file|
|000043e0| 2d 6e 61 6d 65 20 62 75 | 66 66 65 72 2d 66 69 6c |-name bu|ffer-fil|
|000043f0| 65 2d 74 72 75 65 6e 61 | 6d 65 20 73 61 6d 65 2d |e-truena|me same-|
|00004400| 74 72 75 65 6e 61 6d 65 | 20 62 75 66 66 65 72 2d |truename| buffer-|
|00004410| 66 69 6c 65 2d 6e 75 6d | 62 65 72 20 66 69 6c 65 |file-num|ber file|
|00004420| 2d 65 78 69 73 74 73 2d | 70 20 73 61 6d 65 2d 6e |-exists-|p same-n|
|00004430| 75 6d 62 65 72 20 6e 6f | 77 61 72 6e 20 6d 65 73 |umber no|warn mes|
|00004440| 73 61 67 65 20 22 25 73 | 20 61 6e 64 20 25 73 20 |sage "%s| and %s |
|00004450| 61 72 65 20 74 68 65 20 | 73 61 6d 65 20 66 69 6c |are the |same fil|
|00004460| 65 20 28 25 73 29 22 20 | 22 25 73 20 61 6e 64 20 |e (%s)" |"%s and |
|00004470| 25 73 20 61 72 65 20 74 | 68 65 20 73 61 6d 65 20 |%s are t|he same |
|00004480| 66 69 6c 65 22 20 66 69 | 6e 64 2d 66 69 6c 65 2d |file" fi|nd-file-|
|00004490| 65 78 69 73 74 69 6e 67 | 2d 6f 74 68 65 72 2d 6e |existing|-other-n|
|000044a0| 61 6d 65 20 66 69 6e 64 | 2d 66 69 6c 65 2d 76 69 |ame find|-file-vi|
|000044b0| 73 69 74 2d 74 72 75 65 | 6e 61 6d 65 20 76 65 72 |sit-true|name ver|
|000044c0| 69 66 79 2d 76 69 73 69 | 74 65 64 2d 66 69 6c 65 |ify-visi|ted-file|
|000044d0| 2d 6d 6f 64 74 69 6d 65 | 20 22 46 69 6c 65 20 25 |-modtime| "File %|
|000044e0| 73 20 6e 6f 20 6c 6f 6e | 67 65 72 20 65 78 69 73 |s no lon|ger exis|
|000044f0| 74 73 21 22 20 79 65 73 | 2d 6f 72 2d 6e 6f 2d 70 |ts!" yes|-or-no-p|
|00004500| 20 66 6f 72 6d 61 74 20 | 62 75 66 66 65 72 2d 6d | format |buffer-m|
|00004510| 6f 64 69 66 69 65 64 2d | 70 20 22 46 69 6c 65 20 |odified-|p "File |
|00004520| 25 73 20 63 68 61 6e 67 | 65 64 20 6f 6e 20 64 69 |%s chang|ed on di|
|00004530| 73 6b 2e 20 20 44 69 73 | 63 61 72 64 20 79 6f 75 |sk. Dis|card you|
|00004540| 72 20 65 64 69 74 73 3f | 20 22 20 22 46 69 6c 65 |r edits?| " "File|
|00004550| 20 25 73 20 63 68 61 6e | 67 65 64 20 6f 6e 20 64 | %s chan|ged on d|
|00004560| 69 73 6b 2e 20 20 52 65 | 61 64 20 74 68 65 20 6e |isk. Re|ad the n|
|00004570| 65 77 20 76 65 72 73 69 | 6f 6e 3f 20 22 20 66 69 |ew versi|on? " fi|
|00004580| 6c 65 2d 6e 61 6d 65 2d | 6e 6f 6e 64 69 72 65 63 |le-name-|nondirec|
|00004590| 74 6f 72 79 20 72 65 76 | 65 72 74 2d 62 75 66 66 |tory rev|ert-buff|
|000045a0| 65 72 20 74 20 63 72 65 | 61 74 65 2d 66 69 6c 65 |er t cre|ate-file|
|000045b0| 2d 62 75 66 66 65 72 20 | 65 72 61 73 65 2d 62 75 |-buffer |erase-bu|
|000045c0| 66 66 65 72 20 28 69 6e | 73 65 72 74 2d 66 69 6c |ffer (in|sert-fil|
|000045d0| 65 2d 63 6f 6e 74 65 6e | 74 73 20 66 69 6c 65 6e |e-conten|ts filen|
|000045e0| 61 6d 65 20 74 29 20 28 | 28 66 69 6c 65 2d 65 72 |ame t) (|(file-er|
|000045f0| 72 6f 72 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |ror (byt|e-code "|
|00004600| c0 11 5c 6e 89 1b 83 15 | 00 0b 40 20 84 15 00 0b |..\n....|..@ ....|
|00004610| 41 89 13 84 08 00 29 c0 | 87 22 20 5b 74 20 65 72 |A.....).|." [t er|
|00004620| 72 6f 72 20 66 69 6e 64 | 2d 66 69 6c 65 2d 6e 6f |ror find|-file-no|
|00004630| 74 2d 66 6f 75 6e 64 2d | 68 6f 6f 6b 73 20 68 6f |t-found-|hooks ho|
|00004640| 6f 6b 73 5d 20 32 29 29 | 29 20 73 79 73 74 65 6d |oks] 2))|) system|
|00004650| 2d 74 79 70 65 20 76 61 | 78 2d 76 6d 73 20 6c 6f |-type va|x-vms lo|
|00004660| 67 69 63 61 6c 20 73 74 | 72 69 6e 67 2d 6d 61 74 |gical st|ring-mat|
|00004670| 63 68 20 22 3a 22 20 66 | 69 6c 65 2d 6e 61 6d 65 |ch ":" f|ile-name|
|00004680| 2d 64 69 72 65 63 74 6f | 72 79 20 30 20 66 69 6e |-directo|ry 0 fin|
|00004690| 64 2d 66 69 6c 65 2d 6e | 6f 74 2d 74 72 75 65 2d |d-file-n|ot-true-|
|000046a0| 64 69 72 6e 61 6d 65 2d | 6c 69 73 74 20 64 65 66 |dirname-|list def|
|000046b0| 61 75 6c 74 2d 64 69 72 | 65 63 74 6f 72 79 20 62 |ault-dir|ectory b|
|000046c0| 61 63 6b 75 70 2d 65 6e | 61 62 6c 65 2d 70 72 65 |ackup-en|able-pre|
|000046d0| 64 69 63 61 74 65 20 6d | 61 6b 65 2d 6c 6f 63 61 |dicate m|ake-loca|
|000046e0| 6c 2d 76 61 72 69 61 62 | 6c 65 20 62 61 63 6b 75 |l-variab|le backu|
|000046f0| 70 2d 69 6e 68 69 62 69 | 74 65 64 20 61 66 74 65 |p-inhibi|ted afte|
|00004700| 72 2d 66 69 6e 64 2d 66 | 69 6c 65 5d 20 36 20 22 |r-find-f|ile] 6 "|
|00004710| 5c 0a 52 65 61 64 20 66 | 69 6c 65 20 46 49 4c 45 |\.Read f|ile FILE|
|00004720| 4e 41 4d 45 20 69 6e 74 | 6f 20 61 20 62 75 66 66 |NAME int|o a buff|
|00004730| 65 72 20 61 6e 64 20 72 | 65 74 75 72 6e 20 74 68 |er and r|eturn th|
|00004740| 65 20 62 75 66 66 65 72 | 2e 0a 49 66 20 61 20 62 |e buffer|..If a b|
|00004750| 75 66 66 65 72 20 65 78 | 69 73 74 73 20 76 69 73 |uffer ex|ists vis|
|00004760| 69 74 69 6e 67 20 46 49 | 4c 45 4e 41 4d 45 2c 20 |iting FI|LENAME, |
|00004770| 72 65 74 75 72 6e 20 74 | 68 61 74 20 6f 6e 65 2c |return t|hat one,|
|00004780| 20 62 75 74 0a 76 65 72 | 69 66 79 20 74 68 61 74 | but.ver|ify that|
|00004790| 20 74 68 65 20 66 69 6c | 65 20 68 61 73 20 6e 6f | the fil|e has no|
|000047a0| 74 20 63 68 61 6e 67 65 | 64 20 73 69 6e 63 65 20 |t change|d since |
|000047b0| 76 69 73 69 74 65 64 20 | 6f 72 20 73 61 76 65 64 |visited |or saved|
|000047c0| 2e 0a 54 68 65 20 62 75 | 66 66 65 72 20 69 73 20 |..The bu|ffer is |
|000047d0| 6e 6f 74 20 73 65 6c 65 | 63 74 65 64 2c 20 6a 75 |not sele|cted, ju|
|000047e0| 73 74 20 72 65 74 75 72 | 6e 65 64 20 74 6f 20 74 |st retur|ned to t|
|000047f0| 68 65 20 63 61 6c 6c 65 | 72 2e 22 5d 29 0a 28 64 |he calle|r."]).(d|
|00004800| 65 66 61 6c 69 61 73 20 | 27 61 66 74 65 72 2d 66 |efalias |'after-f|
|00004810| 69 6e 64 2d 66 69 6c 65 | 20 23 5b 28 26 6f 70 74 |ind-file| #[(&opt|
|00004820| 69 6f 6e 61 6c 20 65 72 | 72 6f 72 20 77 61 72 6e |ional er|ror warn|
|00004830| 20 6e 6f 61 75 74 6f 29 | 20 22 c0 09 21 3f 12 0b | noauto)| "..!?..|
|00004840| 84 99 00 c4 1d 0e 06 83 | 1c 00 c7 09 21 83 1c 00 |........|....!...|
|00004850| c8 12 c9 82 75 00 5c 6e | 84 3c 00 0e 5c 6e 83 31 |....u.\n|.<..\n.1|
|00004860| 00 cb cc 20 09 5c 22 83 | 31 00 cd 82 75 00 c8 15 |... .\".|1...u...|
|00004870| 0e 06 85 75 00 ce 82 75 | 00 0e 06 84 47 00 c8 15 |...u...u|....G...|
|00004880| cf 82 75 00 c7 d0 0e 11 | 21 21 83 54 00 d2 82 75 |..u.....|!!.T...u|
|00004890| 00 d3 d4 09 21 21 83 62 | 00 c4 89 12 82 75 00 c4 |....!!.b|.....u..|
|000048a0| 12 d3 d4 d0 d4 09 21 21 | 21 21 83 74 00 d5 82 75 |......!!|!!.t...u|
|000048b0| 00 d6 89 1e 17 83 8a 00 | d8 0e 17 21 88 0d 84 8a |........|...!....|
|000048c0| 00 d9 da c4 c8 23 88 2a | 0e 1b 83 99 00 0e 1c 84 |.....#.*|........|
|000048d0| 99 00 dd c8 21 88 de c8 | 21 88 df e0 0e 21 5c 22 |....!...|!....!\"|
|000048e0| 87 22 20 5b 66 69 6c 65 | 2d 77 72 69 74 61 62 6c |." [file|-writabl|
|000048f0| 65 2d 70 20 62 75 66 66 | 65 72 2d 66 69 6c 65 2d |e-p buff|er-file-|
|00004900| 6e 61 6d 65 20 62 75 66 | 66 65 72 2d 72 65 61 64 |name buf|fer-read|
|00004910| 2d 6f 6e 6c 79 20 6e 6f | 6e 69 6e 74 65 72 61 63 |-only no|ninterac|
|00004920| 74 69 76 65 20 6e 69 6c | 20 6e 6f 74 2d 73 65 72 |tive nil| not-ser|
|00004930| 69 6f 75 73 20 65 72 72 | 6f 72 20 66 69 6c 65 2d |ious err|or file-|
|00004940| 61 74 74 72 69 62 75 74 | 65 73 20 74 20 22 46 69 |attribut|es t "Fi|
|00004950| 6c 65 20 65 78 69 73 74 | 73 2c 20 62 75 74 20 69 |le exist|s, but i|
|00004960| 73 20 72 65 61 64 2d 70 | 72 6f 74 65 63 74 65 64 |s read-p|rotected|
|00004970| 2e 22 20 77 61 72 6e 20 | 66 69 6c 65 2d 6e 65 77 |." warn |file-new|
|00004980| 65 72 2d 74 68 61 6e 2d | 66 69 6c 65 2d 70 20 6d |er-than-|file-p m|
|00004990| 61 6b 65 2d 61 75 74 6f | 2d 73 61 76 65 2d 66 69 |ake-auto|-save-fi|
|000049a0| 6c 65 2d 6e 61 6d 65 20 | 22 41 75 74 6f 20 73 61 |le-name |"Auto sa|
|000049b0| 76 65 20 66 69 6c 65 20 | 69 73 20 6e 65 77 65 72 |ve file |is newer|
|000049c0| 3b 20 63 6f 6e 73 69 64 | 65 72 20 4d 2d 78 20 72 |; consid|er M-x r|
|000049d0| 65 63 6f 76 65 72 2d 66 | 69 6c 65 22 20 22 28 4e |ecover-f|ile" "(N|
|000049e0| 65 77 20 66 69 6c 65 29 | 22 20 22 4e 6f 74 65 3a |ew file)|" "Note:|
|000049f0| 20 66 69 6c 65 20 69 73 | 20 77 72 69 74 65 20 70 | file is| write p|
|00004a00| 72 6f 74 65 63 74 65 64 | 22 20 64 69 72 65 63 74 |rotected|" direct|
|00004a10| 6f 72 79 2d 66 69 6c 65 | 2d 6e 61 6d 65 20 64 65 |ory-file|-name de|
|00004a20| 66 61 75 6c 74 2d 64 69 | 72 65 63 74 6f 72 79 20 |fault-di|rectory |
|00004a30| 22 46 69 6c 65 20 6e 6f | 74 20 66 6f 75 6e 64 20 |"File no|t found |
|00004a40| 61 6e 64 20 64 69 72 65 | 63 74 6f 72 79 20 77 72 |and dire|ctory wr|
|00004a50| 69 74 65 2d 70 72 6f 74 | 65 63 74 65 64 22 20 66 |ite-prot|ected" f|
|00004a60| 69 6c 65 2d 65 78 69 73 | 74 73 2d 70 20 66 69 6c |ile-exis|ts-p fil|
|00004a70| 65 2d 6e 61 6d 65 2d 64 | 69 72 65 63 74 6f 72 79 |e-name-d|irectory|
|00004a80| 20 22 55 73 65 20 4d 2d | 78 20 6d 61 6b 65 2d 64 | "Use M-|x make-d|
|00004a90| 69 72 20 52 45 54 20 52 | 45 54 20 74 6f 20 63 72 |ir RET R|ET to cr|
|00004aa0| 65 61 74 65 20 74 68 65 | 20 64 69 72 65 63 74 6f |eate the| directo|
|00004ab0| 72 79 22 20 22 55 73 65 | 20 43 2d 75 20 4d 2d 78 |ry" "Use| C-u M-x|
|00004ac0| 20 6d 61 6b 65 2d 64 69 | 72 20 52 45 54 20 52 45 | make-di|r RET RE|
|00004ad0| 54 20 74 6f 20 63 72 65 | 61 74 65 20 64 69 72 65 |T to cre|ate dire|
|00004ae0| 63 74 6f 72 79 20 61 6e | 64 20 69 74 73 20 70 61 |ctory an|d its pa|
|00004af0| 72 65 6e 74 73 22 20 6d | 73 67 20 6d 65 73 73 61 |rents" m|sg messa|
|00004b00| 67 65 20 73 69 74 2d 66 | 6f 72 20 31 20 61 75 74 |ge sit-f|or 1 aut|
|00004b10| 6f 2d 73 61 76 65 2d 64 | 65 66 61 75 6c 74 20 6e |o-save-d|efault n|
|00004b20| 6f 61 75 74 6f 20 61 75 | 74 6f 2d 73 61 76 65 2d |oauto au|to-save-|
|00004b30| 6d 6f 64 65 20 6e 6f 72 | 6d 61 6c 2d 6d 6f 64 65 |mode nor|mal-mode|
|00004b40| 20 6d 61 70 63 61 72 20 | 66 75 6e 63 61 6c 6c 20 | mapcar |funcall |
|00004b50| 66 69 6e 64 2d 66 69 6c | 65 2d 68 6f 6f 6b 73 5d |find-fil|e-hooks]|
|00004b60| 20 36 20 22 5c 0a 43 61 | 6c 6c 65 64 20 61 66 74 | 6 "\.Ca|lled aft|
|00004b70| 65 72 20 66 69 6e 64 69 | 6e 67 20 61 20 66 69 6c |er findi|ng a fil|
|00004b80| 65 20 61 6e 64 20 62 79 | 20 74 68 65 20 64 65 66 |e and by| the def|
|00004b90| 61 75 6c 74 20 72 65 76 | 65 72 74 20 66 75 6e 63 |ault rev|ert func|
|00004ba0| 74 69 6f 6e 2e 0a 53 65 | 74 73 20 62 75 66 66 65 |tion..Se|ts buffe|
|00004bb0| 72 20 6d 6f 64 65 2c 20 | 70 61 72 73 65 73 20 6c |r mode, |parses l|
|00004bc0| 6f 63 61 6c 20 76 61 72 | 69 61 62 6c 65 73 2e 0a |ocal var|iables..|
|00004bd0| 4f 70 74 69 6f 6e 61 6c | 20 61 72 67 73 20 45 52 |Optional| args ER|
|00004be0| 52 4f 52 2c 20 57 41 52 | 4e 2c 20 61 6e 64 20 4e |ROR, WAR|N, and N|
|00004bf0| 4f 41 55 54 4f 3a 20 45 | 52 52 4f 52 20 6e 6f 6e |OAUTO: E|RROR non|
|00004c00| 2d 6e 69 6c 20 6d 65 61 | 6e 73 20 74 68 65 72 65 |-nil mea|ns there|
|00004c10| 20 77 61 73 20 61 6e 0a | 65 72 72 6f 72 20 69 6e | was an.|error in|
|00004c20| 20 72 65 61 64 69 6e 67 | 20 74 68 65 20 66 69 6c | reading| the fil|
|00004c30| 65 2e 20 20 57 41 52 4e | 20 6e 6f 6e 2d 6e 69 6c |e. WARN| non-nil|
|00004c40| 20 6d 65 61 6e 73 20 77 | 61 72 6e 20 69 66 20 74 | means w|arn if t|
|00004c50| 68 65 72 65 0a 65 78 69 | 73 74 73 20 61 6e 20 61 |here.exi|sts an a|
|00004c60| 75 74 6f 2d 73 61 76 65 | 20 66 69 6c 65 20 6d 6f |uto-save| file mo|
|00004c70| 72 65 20 72 65 63 65 6e | 74 20 74 68 61 6e 20 74 |re recen|t than t|
|00004c80| 68 65 20 76 69 73 69 74 | 65 64 20 66 69 6c 65 2e |he visit|ed file.|
|00004c90| 0a 4e 4f 41 55 54 4f 20 | 6d 65 61 6e 73 20 64 6f |.NOAUTO |means do|
|00004ca0| 6e 27 74 20 6d 65 73 73 | 20 77 69 74 68 20 61 75 |n't mess| with au|
|00004cb0| 74 6f 2d 73 61 76 65 20 | 6d 6f 64 65 2e 0a 46 69 |to-save |mode..Fi|
|00004cc0| 6e 69 73 68 65 73 20 62 | 79 20 63 61 6c 6c 69 6e |nishes b|y callin|
|00004cd0| 67 20 74 68 65 20 66 75 | 6e 63 74 69 6f 6e 73 20 |g the fu|nctions |
|00004ce0| 69 6e 20 60 66 69 6e 64 | 2d 66 69 6c 65 2d 68 6f |in `find|-file-ho|
|00004cf0| 6f 6b 73 27 2e 22 5d 29 | 0a 28 64 65 66 61 6c 69 |oks'."])|.(defali|
|00004d00| 61 73 20 27 6e 6f 72 6d | 61 6c 2d 6d 6f 64 65 20 |as 'norm|al-mode |
|00004d10| 23 5b 28 26 6f 70 74 69 | 6f 6e 61 6c 20 66 69 6e |#[(&opti|onal fin|
|00004d20| 64 2d 66 69 6c 65 29 20 | 22 08 84 0b 00 09 86 09 |d-file) |".......|
|00004d30| 00 c2 20 88 c3 c4 c5 8f | 88 c3 c6 c7 8f 87 22 20 |.. .....|......" |
|00004d40| 5b 66 69 6e 64 2d 66 69 | 6c 65 20 64 65 66 61 75 |[find-fi|le defau|
|00004d50| 6c 74 2d 6d 61 6a 6f 72 | 2d 6d 6f 64 65 20 66 75 |lt-major|-mode fu|
|00004d60| 6e 64 61 6d 65 6e 74 61 | 6c 2d 6d 6f 64 65 20 65 |ndamenta|l-mode e|
|00004d70| 72 72 20 28 73 65 74 2d | 61 75 74 6f 2d 6d 6f 64 |rr (set-|auto-mod|
|00004d80| 65 29 20 28 28 65 72 72 | 6f 72 20 28 62 79 74 65 |e) ((err|or (byte|
|00004d90| 2d 63 6f 64 65 20 22 c0 | c1 c2 0b 21 5c 22 87 22 |-code ".|...!\"."|
|00004da0| 20 5b 6d 65 73 73 61 67 | 65 20 22 46 69 6c 65 20 | [messag|e "File |
|00004db0| 6d 6f 64 65 20 73 70 65 | 63 69 66 69 63 61 74 69 |mode spe|cificati|
|00004dc0| 6f 6e 20 65 72 72 6f 72 | 3a 20 25 73 22 20 70 72 |on error|: %s" pr|
|00004dd0| 69 6e 31 2d 74 6f 2d 73 | 74 72 69 6e 67 20 65 72 |in1-to-s|tring er|
|00004de0| 72 5d 20 34 29 29 29 20 | 28 62 79 74 65 2d 63 6f |r] 4))) |(byte-co|
|00004df0| 64 65 20 22 08 3f 86 06 | 00 09 19 c2 20 29 87 22 |de ".?..|.... )."|
|00004e00| 20 5b 66 69 6e 64 2d 66 | 69 6c 65 20 65 6e 61 62 | [find-f|ile enab|
|00004e10| 6c 65 2d 6c 6f 63 61 6c | 2d 76 61 72 69 61 62 6c |le-local|-variabl|
|00004e20| 65 73 20 68 61 63 6b 2d | 6c 6f 63 61 6c 2d 76 61 |es hack-|local-va|
|00004e30| 72 69 61 62 6c 65 73 5d | 20 31 29 20 28 28 65 72 |riables]| 1) ((er|
|00004e40| 72 6f 72 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |ror (byt|e-code "|
|00004e50| c0 c1 c2 0b 21 5c 22 87 | 22 20 5b 6d 65 73 73 61 |....!\".|" [messa|
|00004e60| 67 65 20 22 46 69 6c 65 | 20 6c 6f 63 61 6c 2d 76 |ge "File| local-v|
|00004e70| 61 72 69 61 62 6c 65 73 | 20 65 72 72 6f 72 3a 20 |ariables| error: |
|00004e80| 25 73 22 20 70 72 69 6e | 31 2d 74 6f 2d 73 74 72 |%s" prin|1-to-str|
|00004e90| 69 6e 67 20 65 72 72 5d | 20 34 29 29 29 5d 20 33 |ing err]| 4)))] 3|
|00004ea0| 20 22 5c 0a 43 68 6f 6f | 73 65 20 74 68 65 20 6d | "\.Choo|se the m|
|00004eb0| 61 6a 6f 72 20 6d 6f 64 | 65 20 66 6f 72 20 74 68 |ajor mod|e for th|
|00004ec0| 69 73 20 62 75 66 66 65 | 72 20 61 75 74 6f 6d 61 |is buffe|r automa|
|00004ed0| 74 69 63 61 6c 6c 79 2e | 0a 41 6c 73 6f 20 73 65 |tically.|.Also se|
|00004ee0| 74 73 20 75 70 20 61 6e | 79 20 73 70 65 63 69 66 |ts up an|y specif|
|00004ef0| 69 65 64 20 6c 6f 63 61 | 6c 20 76 61 72 69 61 62 |ied loca|l variab|
|00004f00| 6c 65 73 20 6f 66 20 74 | 68 65 20 66 69 6c 65 2e |les of t|he file.|
|00004f10| 0a 55 73 65 73 20 74 68 | 65 20 76 69 73 69 74 65 |.Uses th|e visite|
|00004f20| 64 20 66 69 6c 65 20 6e | 61 6d 65 2c 20 74 68 65 |d file n|ame, the|
|00004f30| 20 2d 2a 2d 20 6c 69 6e | 65 2c 20 61 6e 64 20 74 | -*- lin|e, and t|
|00004f40| 68 65 20 6c 6f 63 61 6c | 20 76 61 72 69 61 62 6c |he local| variabl|
|00004f50| 65 73 20 73 70 65 63 2e | 0a 0a 54 68 69 73 20 66 |es spec.|..This f|
|00004f60| 75 6e 63 74 69 6f 6e 20 | 69 73 20 63 61 6c 6c 65 |unction |is calle|
|00004f70| 64 20 61 75 74 6f 6d 61 | 74 69 63 61 6c 6c 79 20 |d automa|tically |
|00004f80| 66 72 6f 6d 20 60 66 69 | 6e 64 2d 66 69 6c 65 27 |from `fi|nd-file'|
|00004f90| 2e 20 20 49 6e 20 74 68 | 61 74 20 63 61 73 65 2c |. In th|at case,|
|00004fa0| 0a 77 65 20 6d 61 79 20 | 73 65 74 20 75 70 20 73 |.we may |set up s|
|00004fb0| 70 65 63 69 66 69 65 64 | 20 6c 6f 63 61 6c 20 76 |pecified| local v|
|00004fc0| 61 72 69 61 62 6c 65 73 | 20 64 65 70 65 6e 64 69 |ariables| dependi|
|00004fd0| 6e 67 20 6f 6e 20 74 68 | 65 20 76 61 6c 75 65 20 |ng on th|e value |
|00004fe0| 6f 66 0a 60 65 6e 61 62 | 6c 65 2d 6c 6f 63 61 6c |of.`enab|le-local|
|00004ff0| 2d 76 61 72 69 61 62 6c | 65 73 27 3a 20 69 66 20 |-variabl|es': if |
|00005000| 69 74 20 69 73 20 74 2c | 20 77 65 20 64 6f 3b 20 |it is t,| we do; |
|00005010| 69 66 20 69 74 20 69 73 | 20 6e 69 6c 2c 20 77 65 |if it is| nil, we|
|00005020| 20 64 6f 6e 27 74 3b 0a | 6f 74 68 65 72 77 69 73 | don't;.|otherwis|
|00005030| 65 2c 20 77 65 20 71 75 | 65 72 79 2e 20 20 60 65 |e, we qu|ery. `e|
|00005040| 6e 61 62 6c 65 2d 6c 6f | 63 61 6c 2d 76 61 72 69 |nable-lo|cal-vari|
|00005050| 61 62 6c 65 73 27 20 69 | 73 20 69 67 6e 6f 72 65 |ables' i|s ignore|
|00005060| 64 20 69 66 20 79 6f 75 | 0a 72 75 6e 20 60 6e 6f |d if you|.run `no|
|00005070| 72 6d 61 6c 2d 6d 6f 64 | 65 27 20 65 78 70 6c 69 |rmal-mod|e' expli|
|00005080| 63 69 74 6c 79 2e 22 20 | 6e 69 6c 5d 29 0a 28 64 |citly." |nil]).(d|
|00005090| 65 66 76 61 72 20 61 75 | 74 6f 2d 6d 6f 64 65 2d |efvar au|to-mode-|
|000050a0| 61 6c 69 73 74 20 28 6d | 61 70 63 61 72 20 28 71 |alist (m|apcar (q|
|000050b0| 75 6f 74 65 20 70 75 72 | 65 63 6f 70 79 29 20 28 |uote pur|ecopy) (|
|000050c0| 71 75 6f 74 65 20 28 28 | 22 5c 5c 2e 74 65 78 74 |quote ((|"\\.text|
|000050d0| 5c 5c 27 22 20 2e 20 74 | 65 78 74 2d 6d 6f 64 65 |\\'" . t|ext-mode|
|000050e0| 29 20 28 22 5c 5c 2e 63 | 5c 5c 27 22 20 2e 20 63 |) ("\\.c|\\'" . c|
|000050f0| 2d 6d 6f 64 65 29 20 28 | 22 5c 5c 2e 68 5c 5c 27 |-mode) (|"\\.h\\'|
|00005100| 22 20 2e 20 63 2d 6d 6f | 64 65 29 20 28 22 5c 5c |" . c-mo|de) ("\\|
|00005110| 2e 74 65 78 5c 5c 27 22 | 20 2e 20 54 65 58 2d 6d |.tex\\'"| . TeX-m|
|00005120| 6f 64 65 29 20 28 22 5c | 5c 2e 6c 74 78 5c 5c 27 |ode) ("\|\.ltx\\'|
|00005130| 22 20 2e 20 4c 61 54 65 | 58 2d 6d 6f 64 65 29 20 |" . LaTe|X-mode) |
|00005140| 28 22 5c 5c 2e 65 6c 5c | 5c 27 22 20 2e 20 65 6d |("\\.el\|\'" . em|
|00005150| 61 63 73 2d 6c 69 73 70 | 2d 6d 6f 64 65 29 20 28 |acs-lisp|-mode) (|
|00005160| 22 5c 5c 2e 6d 6d 5c 5c | 27 22 20 2e 20 6e 72 6f |"\\.mm\\|'" . nro|
|00005170| 66 66 2d 6d 6f 64 65 29 | 20 28 22 5c 5c 2e 6d 65 |ff-mode)| ("\\.me|
|00005180| 5c 5c 27 22 20 2e 20 6e | 72 6f 66 66 2d 6d 6f 64 |\\'" . n|roff-mod|
|00005190| 65 29 20 28 22 5c 5c 2e | 6d 73 5c 5c 27 22 20 2e |e) ("\\.|ms\\'" .|
|000051a0| 20 6e 72 6f 66 66 2d 6d | 6f 64 65 29 20 28 22 5c | nroff-m|ode) ("\|
|000051b0| 5c 2e 6d 61 6e 5c 5c 27 | 22 20 2e 20 6e 72 6f 66 |\.man\\'|" . nrof|
|000051c0| 66 2d 6d 6f 64 65 29 20 | 28 22 5c 5c 2e 73 63 6d |f-mode) |("\\.scm|
|000051d0| 5c 5c 27 22 20 2e 20 73 | 63 68 65 6d 65 2d 6d 6f |\\'" . s|cheme-mo|
|000051e0| 64 65 29 20 28 22 5c 5c | 2e 6c 5c 5c 27 22 20 2e |de) ("\\|.l\\'" .|
|000051f0| 20 6c 69 73 70 2d 6d 6f | 64 65 29 20 28 22 5c 5c | lisp-mo|de) ("\\|
|00005200| 2e 6c 69 73 70 5c 5c 27 | 22 20 2e 20 6c 69 73 70 |.lisp\\'|" . lisp|
|00005210| 2d 6d 6f 64 65 29 20 28 | 22 5c 5c 2e 66 5c 5c 27 |-mode) (|"\\.f\\'|
|00005220| 22 20 2e 20 66 6f 72 74 | 72 61 6e 2d 6d 6f 64 65 |" . fort|ran-mode|
|00005230| 29 20 28 22 5c 5c 2e 66 | 6f 72 5c 5c 27 22 20 2e |) ("\\.f|or\\'" .|
|00005240| 20 66 6f 72 74 72 61 6e | 2d 6d 6f 64 65 29 20 28 | fortran|-mode) (|
|00005250| 22 5c 5c 2e 6d 73 73 5c | 5c 27 22 20 2e 20 73 63 |"\\.mss\|\'" . sc|
|00005260| 72 69 62 65 2d 6d 6f 64 | 65 29 20 28 22 5c 5c 2e |ribe-mod|e) ("\\.|
|00005270| 70 6c 5c 5c 27 22 20 2e | 20 70 72 6f 6c 6f 67 2d |pl\\'" .| prolog-|
|00005280| 6d 6f 64 65 29 20 28 22 | 5c 5c 2e 63 63 5c 5c 27 |mode) ("|\\.cc\\'|
|00005290| 22 20 2e 20 63 2b 2b 2d | 6d 6f 64 65 29 20 28 22 |" . c++-|mode) ("|
|000052a0| 5c 5c 2e 68 68 5c 5c 27 | 22 20 2e 20 63 2b 2b 2d |\\.hh\\'|" . c++-|
|000052b0| 6d 6f 64 65 29 20 28 22 | 5c 5c 2e 43 5c 5c 27 22 |mode) ("|\\.C\\'"|
|000052c0| 20 2e 20 63 2b 2b 2d 6d | 6f 64 65 29 20 28 22 5c | . c++-m|ode) ("\|
|000052d0| 5c 2e 48 5c 5c 27 22 20 | 2e 20 63 2b 2b 2d 6d 6f |\.H\\'" |. c++-mo|
|000052e0| 64 65 29 20 28 22 5c 5c | 2e 73 5c 5c 27 22 20 2e |de) ("\\|.s\\'" .|
|000052f0| 20 61 73 6d 2d 6d 6f 64 | 65 29 20 28 22 43 68 61 | asm-mod|e) ("Cha|
|00005300| 6e 67 65 4c 6f 67 5c 5c | 27 22 20 2e 20 63 68 61 |ngeLog\\|'" . cha|
|00005310| 6e 67 65 2d 6c 6f 67 2d | 6d 6f 64 65 29 20 28 22 |nge-log-|mode) ("|
|00005320| 43 68 61 6e 67 65 4c 6f | 67 2e 5b 30 2d 39 5d 2b |ChangeLo|g.[0-9]+|
|00005330| 5c 5c 27 22 20 2e 20 63 | 68 61 6e 67 65 2d 6c 6f |\\'" . c|hange-lo|
|00005340| 67 2d 6d 6f 64 65 29 20 | 28 22 5c 5c 24 43 48 41 |g-mode) |("\\$CHA|
|00005350| 4e 47 45 5f 4c 4f 47 5c | 5c 24 5c 5c 2e 54 58 54 |NGE_LOG\|\$\\.TXT|
|00005360| 22 20 2e 20 63 68 61 6e | 67 65 2d 6c 6f 67 2d 6d |" . chan|ge-log-m|
|00005370| 6f 64 65 29 20 28 22 5c | 5c 2e 5b 31 32 33 34 35 |ode) ("\|\.[12345|
|00005380| 36 37 38 5d 5c 5c 27 22 | 20 2e 20 6e 72 6f 66 66 |678]\\'"| . nroff|
|00005390| 2d 6d 6f 64 65 29 20 28 | 22 5c 5c 2e 54 65 58 5c |-mode) (|"\\.TeX\|
|000053a0| 5c 27 22 20 2e 20 54 65 | 58 2d 6d 6f 64 65 29 20 |\'" . Te|X-mode) |
|000053b0| 28 22 5c 5c 2e 73 74 79 | 5c 5c 27 22 20 2e 20 4c |("\\.sty|\\'" . L|
|000053c0| 61 54 65 58 2d 6d 6f 64 | 65 29 20 28 22 5c 5c 2e |aTeX-mod|e) ("\\.|
|000053d0| 62 62 6c 5c 5c 27 22 20 | 2e 20 4c 61 54 65 58 2d |bbl\\'" |. LaTeX-|
|000053e0| 6d 6f 64 65 29 20 28 22 | 5c 5c 2e 62 69 62 5c 5c |mode) ("|\\.bib\\|
|000053f0| 27 22 20 2e 20 62 69 62 | 74 65 78 2d 6d 6f 64 65 |'" . bib|tex-mode|
|00005400| 29 20 28 22 5c 5c 2e 61 | 72 74 69 63 6c 65 5c 5c |) ("\\.a|rticle\\|
|00005410| 27 22 20 2e 20 74 65 78 | 74 2d 6d 6f 64 65 29 20 |'" . tex|t-mode) |
|00005420| 28 22 5c 5c 2e 6c 65 74 | 74 65 72 5c 5c 27 22 20 |("\\.let|ter\\'" |
|00005430| 2e 20 74 65 78 74 2d 6d | 6f 64 65 29 20 28 22 5c |. text-m|ode) ("\|
|00005440| 5c 2e 74 65 78 69 6e 66 | 6f 5c 5c 27 22 20 2e 20 |\.texinf|o\\'" . |
|00005450| 74 65 78 69 6e 66 6f 2d | 6d 6f 64 65 29 20 28 22 |texinfo-|mode) ("|
|00005460| 5c 5c 2e 74 65 78 69 5c | 5c 27 22 20 2e 20 74 65 |\\.texi\|\'" . te|
|00005470| 78 69 6e 66 6f 2d 6d 6f | 64 65 29 20 28 22 5c 5c |xinfo-mo|de) ("\\|
|00005480| 2e 6c 73 70 5c 5c 27 22 | 20 2e 20 6c 69 73 70 2d |.lsp\\'"| . lisp-|
|00005490| 6d 6f 64 65 29 20 28 22 | 5c 5c 2e 61 77 6b 5c 5c |mode) ("|\\.awk\\|
|000054a0| 27 22 20 2e 20 61 77 6b | 2d 6d 6f 64 65 29 20 28 |'" . awk|-mode) (|
|000054b0| 22 5c 5c 2e 70 72 6f 6c | 6f 67 5c 5c 27 22 20 2e |"\\.prol|og\\'" .|
|000054c0| 20 70 72 6f 6c 6f 67 2d | 6d 6f 64 65 29 20 28 22 | prolog-|mode) ("|
|000054d0| 5c 5c 2e 74 61 72 5c 5c | 27 22 20 2e 20 74 61 72 |\\.tar\\|'" . tar|
|000054e0| 2d 6d 6f 64 65 29 20 28 | 22 5e 2f 74 6d 70 2f 52 |-mode) (|"^/tmp/R|
|000054f0| 65 22 20 2e 20 74 65 78 | 74 2d 6d 6f 64 65 29 20 |e" . tex|t-mode) |
|00005500| 28 22 2f 4d 65 73 73 61 | 67 65 5b 30 2d 39 5d 2a |("/Messa|ge[0-9]*|
|00005510| 5c 5c 27 22 20 2e 20 74 | 65 78 74 2d 6d 6f 64 65 |\\'" . t|ext-mode|
|00005520| 29 20 28 22 5e 2f 74 6d | 70 2f 66 6f 6c 2f 22 20 |) ("^/tm|p/fol/" |
|00005530| 2e 20 74 65 78 74 2d 6d | 6f 64 65 29 20 28 22 5c |. text-m|ode) ("\|
|00005540| 5c 2e 79 5c 5c 27 22 20 | 2e 20 63 2d 6d 6f 64 65 |\.y\\'" |. c-mode|
|00005550| 29 20 28 22 5c 5c 2e 6c | 65 78 5c 5c 27 22 20 2e |) ("\\.l|ex\\'" .|
|00005560| 20 63 2d 6d 6f 64 65 29 | 20 28 22 5c 5c 2e 6f 61 | c-mode)| ("\\.oa|
|00005570| 6b 5c 5c 27 22 20 2e 20 | 73 63 68 65 6d 65 2d 6d |k\\'" . |scheme-m|
|00005580| 6f 64 65 29 20 28 22 5c | 5c 2e 73 63 6d 2e 5b 30 |ode) ("\|\.scm.[0|
|00005590| 2d 39 5d 2a 5c 5c 27 22 | 20 2e 20 73 63 68 65 6d |-9]*\\'"| . schem|
|000055a0| 65 2d 6d 6f 64 65 29 20 | 28 22 5c 5c 2e 73 67 6d |e-mode) |("\\.sgm|
|000055b0| 5c 5c 27 22 20 2e 20 73 | 67 6d 6c 2d 6d 6f 64 65 |\\'" . s|gml-mode|
|000055c0| 29 20 28 22 5c 5c 2e 73 | 67 6d 6c 5c 5c 27 22 20 |) ("\\.s|gml\\'" |
|000055d0| 2e 20 73 67 6d 6c 2d 6d | 6f 64 65 29 20 28 22 5c |. sgml-m|ode) ("\|
|000055e0| 5c 2e 64 74 64 5c 5c 27 | 22 20 2e 20 73 67 6d 6c |\.dtd\\'|" . sgml|
|000055f0| 2d 6d 6f 64 65 29 20 28 | 22 5b 5d 3e 3a 2f 5d 5c |-mode) (|"[]>:/]\|
|00005600| 5c 2e 2e 2a 65 6d 61 63 | 73 5c 5c 27 22 20 2e 20 |\..*emac|s\\'" . |
|00005610| 65 6d 61 63 73 2d 6c 69 | 73 70 2d 6d 6f 64 65 29 |emacs-li|sp-mode)|
|00005620| 20 28 22 5c 5c 2e 6d 6c | 5c 5c 27 22 20 2e 20 6c | ("\\.ml|\\'" . l|
|00005630| 69 73 70 2d 6d 6f 64 65 | 29 29 29 29 20 22 5c 0a |isp-mode|)))) "\.|
|00005640| 41 6c 69 73 74 20 6f 66 | 20 66 69 6c 65 6e 61 6d |Alist of| filenam|
|00005650| 65 20 70 61 74 74 65 72 | 6e 73 20 76 73 20 63 6f |e patter|ns vs co|
|00005660| 72 72 65 73 70 6f 6e 64 | 69 6e 67 20 6d 61 6a 6f |rrespond|ing majo|
|00005670| 72 20 6d 6f 64 65 20 66 | 75 6e 63 74 69 6f 6e 73 |r mode f|unctions|
|00005680| 2e 0a 45 61 63 68 20 65 | 6c 65 6d 65 6e 74 20 6c |..Each e|lement l|
|00005690| 6f 6f 6b 73 20 6c 69 6b | 65 20 28 52 45 47 45 58 |ooks lik|e (REGEX|
|000056a0| 50 20 2e 20 46 55 4e 43 | 54 49 4f 4e 29 2e 0a 56 |P . FUNC|TION)..V|
|000056b0| 69 73 69 74 69 6e 67 20 | 61 20 66 69 6c 65 20 77 |isiting |a file w|
|000056c0| 68 6f 73 65 20 6e 61 6d | 65 20 6d 61 74 63 68 65 |hose nam|e matche|
|000056d0| 73 20 52 45 47 45 58 50 | 20 63 61 75 73 65 73 20 |s REGEXP| causes |
|000056e0| 46 55 4e 43 54 49 4f 4e | 20 74 6f 20 62 65 20 63 |FUNCTION| to be c|
|000056f0| 61 6c 6c 65 64 2e 22 29 | 0a 28 64 65 66 63 6f 6e |alled.")|.(defcon|
|00005700| 73 74 20 69 6e 68 69 62 | 69 74 2d 6c 6f 63 61 6c |st inhib|it-local|
|00005710| 2d 76 61 72 69 61 62 6c | 65 73 2d 72 65 67 65 78 |-variabl|es-regex|
|00005720| 70 73 20 28 71 75 6f 74 | 65 20 28 22 5c 5c 2e 74 |ps (quot|e ("\\.t|
|00005730| 61 72 24 22 29 29 20 22 | 5c 0a 4c 69 73 74 20 6f |ar$")) "|\.List o|
|00005740| 66 20 72 65 67 65 78 70 | 73 3b 20 69 66 20 6f 6e |f regexp|s; if on|
|00005750| 65 20 6d 61 74 63 68 65 | 73 20 61 20 66 69 6c 65 |e matche|s a file|
|00005760| 20 6e 61 6d 65 2c 20 64 | 6f 6e 27 74 20 6c 6f 6f | name, d|on't loo|
|00005770| 6b 20 66 6f 72 20 6c 6f | 63 61 6c 20 76 61 72 73 |k for lo|cal vars|
|00005780| 2e 22 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 73 |.").(def|alias 's|
|00005790| 65 74 2d 61 75 74 6f 2d | 6d 6f 64 65 20 23 5b 6e |et-auto-|mode #[n|
|000057a0| 69 6c 20 22 c0 89 89 19 | 1a 1b 8a 65 62 88 c4 c0 |il "....|...eb...|
|000057b0| 77 88 0d 83 b1 00 0e 06 | 89 1e 07 83 2d 00 c8 0e |w.......|....-...|
|000057c0| 07 40 0e 09 5c 22 84 2d | 00 0e 07 41 89 16 07 84 |.@..\".-|...A....|
|000057d0| 1a 00 0e 07 29 83 b1 00 | ca cb 8a cc cd 21 85 3d |....)...|.....!.=|
|000057e0| 00 ce 7f 88 60 29 cf 23 | 83 b1 00 d0 c0 77 88 60 |....`).#|.....w.`|
|000057f0| 13 ca cb 8a c0 7f 88 60 | 29 cf 23 83 b1 00 d1 75 |.......`|).#....u|
|00005800| 88 d0 c0 78 88 60 12 0b | 62 88 ca d2 5c 6e cf 23 |...x.`..|b...\n.#|
|00005810| 83 9f 00 0b 62 88 cf 1e | 13 ca d4 5c 6e cf 23 29 |....b...|...\n.#)|
|00005820| 83 b1 00 d0 c0 77 88 60 | 13 ca d5 5c 6e cf 23 83 |.....w.`|...\n.#.|
|00005830| 90 00 d6 75 88 82 93 00 | 5c 6e 62 88 d0 c0 78 88 |...u....|\nb...x.|
|00005840| 0b 60 7b 89 11 82 a4 00 | 0b 5c 6e 7b 89 11 83 b1 |.`{.....|.\n{....|
|00005850| 00 d7 09 97 d8 50 21 11 | 82 ec 00 0e 09 83 ec 00 |.....P!.|........|
|00005860| 0e 19 0e 09 1e 1a 1e 1b | 0e 1c dd 3d 1e 13 de 0e |........|...=....|
|00005870| 1a 21 16 1a 09 84 eb 00 | 0e 1b 83 eb 00 c8 0e 1b |.!......|........|
|00005880| 40 40 0e 1a 5c 22 83 e3 | 00 0e 1b 40 41 11 0e 1b |@@..\"..|...@A...|
|00005890| 41 16 1b 82 ca 00 2b 29 | 09 85 f3 00 09 20 2b 87 |A.....+)|..... +.|
|000058a0| 22 20 5b 6e 69 6c 20 6d | 6f 64 65 20 65 6e 64 20 |" [nil m|ode end |
|000058b0| 62 65 67 20 22 20 09 5c | 6e 22 20 65 6e 61 62 6c |beg " .\|n" enabl|
|000058c0| 65 2d 6c 6f 63 61 6c 2d | 76 61 72 69 61 62 6c 65 |e-local-|variable|
|000058d0| 73 20 69 6e 68 69 62 69 | 74 2d 6c 6f 63 61 6c 2d |s inhibi|t-local-|
|000058e0| 76 61 72 69 61 62 6c 65 | 73 2d 72 65 67 65 78 70 |variable|s-regexp|
|000058f0| 73 20 74 65 6d 70 20 73 | 74 72 69 6e 67 2d 6d 61 |s temp s|tring-ma|
|00005900| 74 63 68 20 62 75 66 66 | 65 72 2d 66 69 6c 65 2d |tch buff|er-file-|
|00005910| 6e 61 6d 65 20 73 65 61 | 72 63 68 2d 66 6f 72 77 |name sea|rch-forw|
|00005920| 61 72 64 20 22 2d 2a 2d | 22 20 6c 6f 6f 6b 69 6e |ard "-*-|" lookin|
|00005930| 67 2d 61 74 20 22 5e 23 | 21 22 20 32 20 74 20 22 |g-at "^#|!" 2 t "|
|00005940| 20 09 22 20 2d 33 20 22 | 3a 22 20 63 61 73 65 2d | ." -3 "|:" case-|
|00005950| 66 6f 6c 64 2d 73 65 61 | 72 63 68 20 22 6d 6f 64 |fold-sea|rch "mod|
|00005960| 65 3a 22 20 22 3b 22 20 | 2d 31 20 69 6e 74 65 72 |e:" ";" |-1 inter|
|00005970| 6e 20 22 2d 6d 6f 64 65 | 22 20 61 75 74 6f 2d 6d |n "-mode|" auto-m|
|00005980| 6f 64 65 2d 61 6c 69 73 | 74 20 6e 61 6d 65 20 61 |ode-alis|t name a|
|00005990| 6c 69 73 74 20 73 79 73 | 74 65 6d 2d 74 79 70 65 |list sys|tem-type|
|000059a0| 20 76 61 78 2d 76 6d 73 | 20 66 69 6c 65 2d 6e 61 | vax-vms| file-na|
|000059b0| 6d 65 2d 73 61 6e 73 2d | 76 65 72 73 69 6f 6e 73 |me-sans-|versions|
|000059c0| 5d 20 35 20 22 5c 0a 53 | 65 6c 65 63 74 20 6d 61 |] 5 "\.S|elect ma|
|000059d0| 6a 6f 72 20 6d 6f 64 65 | 20 61 70 70 72 6f 70 72 |jor mode| appropr|
|000059e0| 69 61 74 65 20 66 6f 72 | 20 63 75 72 72 65 6e 74 |iate for| current|
|000059f0| 20 62 75 66 66 65 72 2e | 0a 54 68 69 73 20 63 68 | buffer.|.This ch|
|00005a00| 65 63 6b 73 20 66 6f 72 | 20 61 20 2d 2a 2d 20 6d |ecks for| a -*- m|
|00005a10| 6f 64 65 20 74 61 67 20 | 69 6e 20 74 68 65 20 62 |ode tag |in the b|
|00005a20| 75 66 66 65 72 27 73 20 | 74 65 78 74 2c 20 6f 72 |uffer's |text, or|
|00005a30| 0a 63 6f 6d 70 61 72 65 | 73 20 74 68 65 20 66 69 |.compare|s the fi|
|00005a40| 6c 65 6e 61 6d 65 20 61 | 67 61 69 6e 73 74 20 74 |lename a|gainst t|
|00005a50| 68 65 20 65 6e 74 72 69 | 65 73 20 69 6e 20 61 75 |he entri|es in au|
|00005a60| 74 6f 2d 6d 6f 64 65 2d | 61 6c 69 73 74 2e 20 20 |to-mode-|alist. |
|00005a70| 49 74 20 64 6f 65 73 0a | 6e 6f 74 20 63 68 65 63 |It does.|not chec|
|00005a80| 6b 20 66 6f 72 20 74 68 | 65 20 5c 22 6d 6f 64 65 |k for th|e \"mode|
|00005a90| 3a 5c 22 20 6c 6f 63 61 | 6c 20 76 61 72 69 61 62 |:\" loca|l variab|
|00005aa0| 6c 65 20 69 6e 20 74 68 | 65 20 4c 6f 63 61 6c 20 |le in th|e Local |
|00005ab0| 56 61 72 69 61 62 6c 65 | 73 0a 73 65 63 74 69 6f |Variable|s.sectio|
|00005ac0| 6e 20 6f 66 20 74 68 65 | 20 66 69 6c 65 3b 20 66 |n of the| file; f|
|00005ad0| 6f 72 20 74 68 61 74 2c | 20 75 73 65 20 60 68 61 |or that,| use `ha|
|00005ae0| 63 6b 2d 6c 6f 63 61 6c | 2d 76 61 72 69 61 62 6c |ck-local|-variabl|
|00005af0| 65 73 27 2e 0a 0a 49 66 | 20 60 65 6e 61 62 6c 65 |es'...If| `enable|
|00005b00| 2d 6c 6f 63 61 6c 2d 76 | 61 72 69 61 62 6c 65 73 |-local-v|ariables|
|00005b10| 27 20 69 73 20 6e 69 6c | 2c 20 74 68 69 73 20 66 |' is nil|, this f|
|00005b20| 75 6e 63 74 69 6f 6e 20 | 64 6f 65 73 20 6e 6f 74 |unction |does not|
|00005b30| 20 63 68 65 63 6b 20 66 | 6f 72 20 61 0a 2d 2a 2d | check f|or a.-*-|
|00005b40| 20 6d 6f 64 65 20 74 61 | 67 2e 22 5d 29 0a 28 64 | mode ta|g."]).(d|
|00005b50| 65 66 61 6c 69 61 73 20 | 28 71 75 6f 74 65 20 68 |efalias |(quote h|
|00005b60| 61 63 6b 2d 6c 6f 63 61 | 6c 2d 76 61 72 69 61 62 |ack-loca|l-variab|
|00005b70| 6c 65 73 2d 70 72 6f 70 | 2d 6c 69 6e 65 29 20 23 |les-prop|-line) #|
|00005b80| 5b 6e 69 6c 20 22 8a 65 | 62 88 c0 c1 77 88 c1 8a |[nil ".e|b...w...|
|00005b90| c1 7f 88 60 29 c1 1a 1b | 1c c5 c6 0b c7 23 83 7f |...`)...|.....#..|
|00005ba0| 00 c8 c9 21 83 2f 00 ca | cb cc 94 cc 95 7b 21 42 |...!./..|.....{!B|
|00005bb0| 43 14 82 7f 00 8a c5 c6 | 0b c7 23 83 3f 00 60 cd |C.......|..#.?.`.|
|00005bc0| 5a 13 82 43 00 ce cf 21 | 88 29 60 0b 57 83 7c 00 |Z..C...!|.)`.W.|.|
|00005bd0| c8 d0 21 84 54 00 ce d1 | 21 88 d2 95 62 88 cb cc |..!.T...|!...b...|
|00005be0| 94 cc 95 7b 97 21 8c 60 | 0b 7d 88 d3 70 21 29 1e |...{.!.`|.}..p!).|
|00005bf0| 14 89 1e 15 0e 14 42 0c | 42 14 d6 c1 77 88 2a 82 |......B.|B...w.*.|
|00005c00| 44 00 0c 9f 14 c1 1e 5c | 6e ca 0c 9e 89 16 5c 6e |D......\|n.....\n|
|00005c10| 83 a2 00 c7 12 d7 0e 5c | 6e 0c 5c 22 14 cb d8 0e |.......\|n.\"....|
|00005c20| 5c 6e 41 21 97 d9 50 21 | 20 88 82 82 00 29 0c 83 |\nA!..P!| ....)..|
|00005c30| d5 00 0e 1a c7 3d 84 b8 | 00 0e 1a 83 d5 00 db 8b |.....=..|........|
|00005c40| 83 d5 00 0c 83 d5 00 0c | 40 40 0c 40 41 1e 14 1e |........|@@.@A...|
|00005c50| 15 dc 0e 15 0e 14 5c 22 | 88 2a 0c 41 89 14 84 bc |......\"|.*.A....|
|00005c60| 00 5c 6e 2c 87 22 20 5b | 22 20 09 5c 6e 0d 22 20 |.\n,." [|" .\n." |
|00005c70| 6e 69 6c 20 6d 6f 64 65 | 2d 70 20 65 6e 64 20 72 |nil mode|-p end r|
|00005c80| 65 73 75 6c 74 20 73 65 | 61 72 63 68 2d 66 6f 72 |esult se|arch-for|
|00005c90| 77 61 72 64 20 22 2d 2a | 2d 22 20 74 20 6c 6f 6f |ward "-*|-" t loo|
|00005ca0| 6b 69 6e 67 2d 61 74 20 | 22 5b 20 09 5d 2a 5c 5c |king-at |"[ .]*\\|
|00005cb0| 28 5b 5e 20 09 5c 6e 0d | 3a 3b 5d 2b 5c 5c 29 5c |([^ .\n.|:;]+\\)\|
|00005cc0| 5c 28 5b 20 09 5d 2a 2d | 5c 5c 2a 2d 5c 5c 29 22 |\([ .]*-|\\*-\\)"|
|00005cd0| 20 6d 6f 64 65 20 69 6e | 74 65 72 6e 20 31 20 33 | mode in|tern 1 3|
|00005ce0| 20 65 72 72 6f 72 20 22 | 2d 2a 2d 20 6e 6f 74 20 | error "|-*- not |
|00005cf0| 74 65 72 6d 69 6e 61 74 | 65 64 20 62 65 66 6f 72 |terminat|ed befor|
|00005d00| 65 20 65 6e 64 20 6f 66 | 20 6c 69 6e 65 22 20 22 |e end of| line" "|
|00005d10| 5b 20 09 5d 2a 5c 5c 28 | 5b 5e 20 09 5c 6e 3a 5d |[ .]*\\(|[^ .\n:]|
|00005d20| 2b 5c 5c 29 5b 20 09 5d | 2a 3a 5b 20 09 5d 2a 22 |+\\)[ .]|*:[ .]*"|
|00005d30| 20 22 6d 61 6c 66 6f 72 | 6d 65 64 20 2d 2a 2d 20 | "malfor|med -*- |
|00005d40| 6c 69 6e 65 22 20 30 20 | 72 65 61 64 20 76 61 6c |line" 0 |read val|
|00005d50| 20 6b 65 79 20 22 20 09 | 3b 22 20 64 65 6c 71 20 | key " .|;" delq |
|00005d60| 73 79 6d 62 6f 6c 2d 6e | 61 6d 65 20 22 2d 6d 6f |symbol-n|ame "-mo|
|00005d70| 64 65 22 20 65 6e 61 62 | 6c 65 2d 6c 6f 63 61 6c |de" enab|le-local|
|00005d80| 2d 76 61 72 69 61 62 6c | 65 73 20 28 28 62 79 74 |-variabl|es ((byt|
|00005d90| 65 2d 63 6f 64 65 20 22 | c0 70 21 88 c1 c2 c3 c4 |e-code "|.p!.....|
|00005da0| 0d 21 5c 22 21 87 22 20 | 5b 73 77 69 74 63 68 2d |.!\"!." |[switch-|
|00005db0| 74 6f 2d 62 75 66 66 65 | 72 20 79 2d 6f 72 2d 6e |to-buffe|r y-or-n|
|00005dc0| 2d 70 20 66 6f 72 6d 61 | 74 20 22 53 65 74 20 6c |-p forma|t "Set l|
|00005dd0| 6f 63 61 6c 20 76 61 72 | 69 61 62 6c 65 73 20 61 |ocal var|iables a|
|00005de0| 73 20 73 70 65 63 69 66 | 69 65 64 20 69 6e 20 2d |s specif|ied in -|
|00005df0| 2a 2d 20 6c 69 6e 65 20 | 6f 66 20 25 73 3f 20 22 |*- line |of %s? "|
|00005e00| 20 66 69 6c 65 2d 6e 61 | 6d 65 2d 6e 6f 6e 64 69 | file-na|me-nondi|
|00005e10| 72 65 63 74 6f 72 79 20 | 62 75 66 66 65 72 2d 66 |rectory |buffer-f|
|00005e20| 69 6c 65 2d 6e 61 6d 65 | 5d 20 35 29 29 20 68 61 |ile-name|] 5)) ha|
|00005e30| 63 6b 2d 6f 6e 65 2d 6c | 6f 63 61 6c 2d 76 61 72 |ck-one-l|ocal-var|
|00005e40| 69 61 62 6c 65 5d 20 35 | 5d 29 0a 28 64 65 66 61 |iable] 5|]).(defa|
|00005e50| 6c 69 61 73 20 27 68 61 | 63 6b 2d 6c 6f 63 61 6c |lias 'ha|ck-local|
|00005e60| 2d 76 61 72 69 61 62 6c | 65 73 20 23 5b 6e 69 6c |-variabl|es #[nil|
|00005e70| 20 22 c0 20 88 8a 64 62 | 88 c1 c2 64 c3 5a 65 5d | ". ..db|...d.Ze]|
|00005e80| c4 23 88 c5 1e 06 c7 c8 | c9 c5 23 85 2a 00 0e 5c |.#......|..#.*..\|
|00005e90| 6e c5 3d 86 2a 00 0e 5c | 6e 85 2a 00 cb 8b 29 85 |n.=.*..\|n.*...).|
|00005ea0| 12 01 c5 c9 89 89 89 0e | 0c 1e 0c 1e 0d 1e 0e 1e |........|........|
|00005eb0| 0f 1e 10 1e 11 d2 c9 77 | 88 6c 84 51 00 60 c9 7f |.......w|.l.Q.`..|
|00005ec0| 88 60 7b 16 0e d3 94 62 | 88 6e 84 61 00 60 d3 79 |.`{....b|.n.a.`.y|
|00005ed0| 88 60 7b 16 10 0e 10 83 | 71 00 0e 10 47 16 0f d4 |.`{.....|q...G...|
|00005ee0| 0e 10 21 16 10 0e 0e 83 | 7e 00 d4 0e 0e 21 d5 50 |..!.....|~....!.P|
|00005ef0| 16 0e 0e 11 85 10 01 0e | 16 83 8f 00 d7 d8 21 88 |........|......!.|
|00005f00| 82 92 00 d9 79 88 0e 10 | 83 a9 00 da 0e 10 21 83 |....y...|......!.|
|00005f10| a5 00 0e 0f 75 88 82 a9 | 00 db dc 21 88 d2 c9 77 |....u...|...!...w|
|00005f20| 88 60 16 0d dd c9 77 88 | 6c 83 bc 00 db de 21 88 |.`....w.|l.....!.|
|00005f30| d2 c9 78 88 0e 0d 60 7b | 1e 1f e0 0e 1f 21 1e 21 |..x...`{|.....!.!|
|00005f40| c9 1e 5c 22 0e 1f 97 e3 | 98 83 dd 00 c9 16 11 82 |..\"....|........|
|00005f50| 0c 01 e4 c9 77 88 d9 75 | 88 e0 70 21 16 5c 22 e5 |....w..u|..p!.\".|
|00005f60| c9 78 88 d2 c9 77 88 0e | 0e 83 fd 00 da 0e 0e 21 |.x...w..|.......!|
|00005f70| 82 fe 00 6c 84 05 01 db | e6 21 88 e7 0e 21 0e 5c |...l....|.!...!.\|
|00005f80| 22 5c 22 88 2b 82 7e 00 | 2e 06 29 87 22 20 5b 68 |"\".+.~.|..)." [h|
|00005f90| 61 63 6b 2d 6c 6f 63 61 | 6c 2d 76 61 72 69 61 62 |ack-loca|l-variab|
|00005fa0| 6c 65 73 2d 70 72 6f 70 | 2d 6c 69 6e 65 20 73 65 |les-prop|-line se|
|00005fb0| 61 72 63 68 2d 62 61 63 | 6b 77 61 72 64 20 22 5c |arch-bac|kward "\|
|00005fc0| 6e 0c 22 20 33 30 30 30 | 20 6d 6f 76 65 20 74 20 |n." 3000| move t |
|00005fd0| 63 61 73 65 2d 66 6f 6c | 64 2d 73 65 61 72 63 68 |case-fol|d-search|
|00005fe0| 20 73 65 61 72 63 68 2d | 66 6f 72 77 61 72 64 20 | search-|forward |
|00005ff0| 22 4c 6f 63 61 6c 20 56 | 61 72 69 61 62 6c 65 73 |"Local V|ariables|
|00006000| 3a 22 20 6e 69 6c 20 65 | 6e 61 62 6c 65 2d 6c 6f |:" nil e|nable-lo|
|00006010| 63 61 6c 2d 76 61 72 69 | 61 62 6c 65 73 20 28 28 |cal-vari|ables ((|
|00006020| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 70 21 88 8a |byte-cod|e ".p!..|
|00006030| c1 79 88 c2 c3 20 60 5c | 22 88 29 c4 c5 c6 c7 0e |.y... `\|".).....|
|00006040| 08 21 5c 22 21 87 22 20 | 5b 73 77 69 74 63 68 2d |.!\"!." |[switch-|
|00006050| 74 6f 2d 62 75 66 66 65 | 72 20 30 20 73 65 74 2d |to-buffe|r 0 set-|
|00006060| 77 69 6e 64 6f 77 2d 73 | 74 61 72 74 20 73 65 6c |window-s|tart sel|
|00006070| 65 63 74 65 64 2d 77 69 | 6e 64 6f 77 20 79 2d 6f |ected-wi|ndow y-o|
|00006080| 72 2d 6e 2d 70 20 66 6f | 72 6d 61 74 20 22 53 65 |r-n-p fo|rmat "Se|
|00006090| 74 20 6c 6f 63 61 6c 20 | 76 61 72 69 61 62 6c 65 |t local |variable|
|000060a0| 73 20 61 73 20 73 70 65 | 63 69 66 69 65 64 20 61 |s as spe|cified a|
|000060b0| 74 20 65 6e 64 20 6f 66 | 20 25 73 3f 20 22 20 66 |t end of| %s? " f|
|000060c0| 69 6c 65 2d 6e 61 6d 65 | 2d 6e 6f 6e 64 69 72 65 |ile-name|-nondire|
|000060d0| 63 74 6f 72 79 20 62 75 | 66 66 65 72 2d 66 69 6c |ctory bu|ffer-fil|
|000060e0| 65 2d 6e 61 6d 65 5d 20 | 35 29 29 20 65 6e 61 62 |e-name] |5)) enab|
|000060f0| 6c 65 2d 6c 6f 63 61 6c | 2d 65 76 61 6c 20 62 65 |le-local|-eval be|
|00006100| 67 20 73 75 66 66 69 78 | 20 70 72 65 66 69 78 6c |g suffix| prefixl|
|00006110| 65 6e 20 70 72 65 66 69 | 78 20 63 6f 6e 74 69 6e |en prefi|x contin|
|00006120| 75 65 20 22 20 09 22 20 | 30 20 72 65 67 65 78 70 |ue " ." |0 regexp|
|00006130| 2d 71 75 6f 74 65 20 22 | 24 22 20 73 65 6c 65 63 |-quote "|$" selec|
|00006140| 74 69 76 65 2d 64 69 73 | 70 6c 61 79 20 72 65 2d |tive-dis|play re-|
|00006150| 73 65 61 72 63 68 2d 66 | 6f 72 77 61 72 64 20 22 |search-f|orward "|
|00006160| 5b 5c 6e 0d 5d 22 20 31 | 20 6c 6f 6f 6b 69 6e 67 |[\n.]" 1| looking|
|00006170| 2d 61 74 20 65 72 72 6f | 72 20 22 4c 6f 63 61 6c |-at erro|r "Local|
|00006180| 20 76 61 72 69 61 62 6c | 65 73 20 65 6e 74 72 79 | variabl|es entry|
|00006190| 20 69 73 20 6d 69 73 73 | 69 6e 67 20 74 68 65 20 | is miss|ing the |
|000061a0| 70 72 65 66 69 78 22 20 | 22 5e 3a 5c 6e 22 20 22 |prefix" |"^:\n" "|
|000061b0| 4d 69 73 73 69 6e 67 20 | 63 6f 6c 6f 6e 20 69 6e |Missing |colon in|
|000061c0| 20 6c 6f 63 61 6c 20 76 | 61 72 69 61 62 6c 65 73 | local v|ariables|
|000061d0| 20 65 6e 74 72 79 22 20 | 73 74 72 20 72 65 61 64 | entry" |str read|
|000061e0| 20 76 61 72 20 76 61 6c | 20 22 65 6e 64 22 20 22 | var val| "end" "|
|000061f0| 5e 3a 22 20 22 5c 6e 22 | 20 22 4c 6f 63 61 6c 20 |^:" "\n"| "Local |
|00006200| 76 61 72 69 61 62 6c 65 | 73 20 65 6e 74 72 79 20 |variable|s entry |
|00006210| 69 73 20 74 65 72 6d 69 | 6e 61 74 65 64 20 69 6e |is termi|nated in|
|00006220| 63 6f 72 72 65 63 74 6c | 79 22 20 68 61 63 6b 2d |correctl|y" hack-|
|00006230| 6f 6e 65 2d 6c 6f 63 61 | 6c 2d 76 61 72 69 61 62 |one-loca|l-variab|
|00006240| 6c 65 5d 20 36 20 22 5c | 0a 50 61 72 73 65 20 61 |le] 6 "\|.Parse a|
|00006250| 6e 64 20 70 75 74 20 69 | 6e 74 6f 20 65 66 66 65 |nd put i|nto effe|
|00006260| 63 74 20 74 68 69 73 20 | 62 75 66 66 65 72 27 73 |ct this |buffer's|
|00006270| 20 6c 6f 63 61 6c 20 76 | 61 72 69 61 62 6c 65 73 | local v|ariables|
|00006280| 20 73 70 65 63 2e 22 5d | 29 0a 28 64 65 66 63 6f | spec."]|).(defco|
|00006290| 6e 73 74 20 69 67 6e 6f | 72 65 64 2d 6c 6f 63 61 |nst igno|red-loca|
|000062a0| 6c 2d 76 61 72 69 61 62 | 6c 65 73 20 28 71 75 6f |l-variab|les (quo|
|000062b0| 74 65 20 28 65 6e 61 62 | 6c 65 2d 6c 6f 63 61 6c |te (enab|le-local|
|000062c0| 2d 65 76 61 6c 29 29 20 | 22 5c 0a 56 61 72 69 61 |-eval)) |"\.Varia|
|000062d0| 62 6c 65 73 20 74 6f 20 | 62 65 20 69 67 6e 6f 72 |bles to |be ignor|
|000062e0| 65 64 20 69 6e 20 61 20 | 66 69 6c 65 27 73 20 6c |ed in a |file's l|
|000062f0| 6f 63 61 6c 20 76 61 72 | 69 61 62 6c 65 20 73 70 |ocal var|iable sp|
|00006300| 65 63 2e 22 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |ec.").(d|efalias |
|00006310| 28 71 75 6f 74 65 20 68 | 61 63 6b 2d 6f 6e 65 2d |(quote h|ack-one-|
|00006320| 6c 6f 63 61 6c 2d 76 61 | 72 69 61 62 6c 65 29 20 |local-va|riable) |
|00006330| 23 5b 28 76 61 72 20 76 | 61 6c 29 20 22 08 c1 3d |#[(var v|al) "..=|
|00006340| 83 10 00 c2 c3 0c 21 97 | c5 50 21 20 87 08 0e 06 |......!.|.P! ....|
|00006350| 3e 83 19 00 c7 87 08 c8 | 3d 84 28 00 c9 ca c3 08 |>.......|=.(.....|
|00006360| 21 5c 22 83 58 00 cb 20 | cc 98 84 54 00 0e 0d ce |!\".X.. |...T....|
|00006370| 3d 84 40 00 0e 0d 83 54 | 00 cf 8b 83 54 00 08 c8 |=.@....T|....T...|
|00006380| 3d 83 4c 00 8a c8 0c 21 | 29 87 d0 08 21 88 08 0c |=.L....!|)...!...|
|00006390| 4c 87 d1 d2 21 87 d0 08 | 21 88 08 0c 4c 87 22 20 |L...!...|!...L." |
|000063a0| 5b 76 61 72 20 6d 6f 64 | 65 20 69 6e 74 65 72 6e |[var mod|e intern|
|000063b0| 20 73 79 6d 62 6f 6c 2d | 6e 61 6d 65 20 76 61 6c | symbol-|name val|
|000063c0| 20 22 2d 6d 6f 64 65 22 | 20 69 67 6e 6f 72 65 64 | "-mode"| ignored|
|000063d0| 2d 6c 6f 63 61 6c 2d 76 | 61 72 69 61 62 6c 65 73 |-local-v|ariables|
|000063e0| 20 6e 69 6c 20 65 76 61 | 6c 20 73 74 72 69 6e 67 | nil eva|l string|
|000063f0| 2d 6d 61 74 63 68 20 22 | 2d 68 6f 6f 6b 73 3f 24 |-match "|-hooks?$|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.