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

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


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

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



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 63 74 68 6f 6d 70 40 |piled by| cthomp@|
|00000020| 77 69 6c 6c 6f 77 2e 63 | 73 2e 75 69 75 63 2e 65 |willow.c|s.uiuc.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 41 75 67 20 32 39 |du on Tu|e Aug 29|
|00000040| 20 31 34 3a 31 33 3a 35 | 36 20 31 39 39 35 0a 3b | 14:13:5|6 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 78 65 |;; from |file /xe|
|00000060| 6d 61 63 73 2f 78 65 6d | 61 63 73 2d 31 39 2e 31 |macs/xem|acs-19.1|
|00000070| 33 2d 72 65 6c 65 61 73 | 65 2f 65 64 69 74 6f 72 |3-releas|e/editor|
|00000080| 2f 6c 69 73 70 2f 70 61 | 63 6b 61 67 65 73 2f 67 |/lisp/pa|ckages/g|
|00000090| 65 6e 65 72 69 63 2d 73 | 63 2e 65 6c 0a 3b 3b 3b |eneric-s|c.el.;;;|
|000000a0| 20 65 6d 61 63 73 20 76 | 65 72 73 69 6f 6e 20 31 | emacs v|ersion 1|
|000000b0| 39 2e 31 33 20 58 45 6d | 61 63 73 20 4c 75 63 69 |9.13 XEm|acs Luci|
|000000c0| 64 2e 0a 3b 3b 3b 20 62 | 79 74 65 63 6f 6d 70 20 |d..;;; b|ytecomp |
|000000d0| 76 65 72 73 69 6f 6e 20 | 32 2e 32 35 3b 20 31 2d |version |2.25; 1-|
|000000e0| 53 65 70 2d 39 34 2e 0a | 3b 3b 3b 20 6f 70 74 69 |Sep-94..|;;; opti|
|000000f0| 6d 69 7a 61 74 69 6f 6e | 20 69 73 20 6f 6e 2e 0a |mization| is on..|
|00000100| 3b 3b 3b 20 74 68 69 73 | 20 66 69 6c 65 20 75 73 |;;; this| file us|
|00000110| 65 73 20 6f 70 63 6f 64 | 65 73 20 77 68 69 63 68 |es opcod|es which|
|00000120| 20 64 6f 20 6e 6f 74 20 | 65 78 69 73 74 20 69 6e | do not |exist in|
|00000130| 20 45 6d 61 63 73 20 31 | 38 2e 0a 0a 28 69 66 20 | Emacs 1|8...(if |
|00000140| 28 61 6e 64 20 28 62 6f | 75 6e 64 70 20 27 65 6d |(and (bo|undp 'em|
|00000150| 61 63 73 2d 76 65 72 73 | 69 6f 6e 29 0a 09 20 28 |acs-vers|ion).. (|
|00000160| 6f 72 20 28 61 6e 64 20 | 28 62 6f 75 6e 64 70 20 |or (and |(boundp |
|00000170| 27 65 70 6f 63 68 3a 3a | 76 65 72 73 69 6f 6e 29 |'epoch::|version)|
|00000180| 20 65 70 6f 63 68 3a 3a | 76 65 72 73 69 6f 6e 29 | epoch::|version)|
|00000190| 0a 09 20 20 20 20 20 28 | 73 74 72 69 6e 67 2d 6c |.. (|string-l|
|000001a0| 65 73 73 70 20 65 6d 61 | 63 73 2d 76 65 72 73 69 |essp ema|cs-versi|
|000001b0| 6f 6e 20 22 31 39 22 29 | 29 29 0a 20 20 20 20 28 |on "19")|)). (|
|000001c0| 65 72 72 6f 72 20 22 54 | 68 69 73 20 66 69 6c 65 |error "T|his file|
|000001d0| 20 77 61 73 20 63 6f 6d | 70 69 6c 65 64 20 66 6f | was com|piled fo|
|000001e0| 72 20 45 6d 61 63 73 20 | 31 39 2e 22 29 29 0a 0a |r Emacs |19."))..|
|000001f0| 28 64 65 66 76 61 72 20 | 73 63 2d 64 69 66 66 2d |(defvar |sc-diff-|
|00000200| 63 6f 6d 6d 61 6e 64 20 | 27 28 22 64 69 66 66 22 |command |'("diff"|
|00000210| 29 20 22 5c 0a 2a 54 68 | 65 20 63 6f 6d 6d 61 6e |) "\.*Th|e comman|
|00000220| 64 2f 66 6c 61 67 73 20 | 6c 69 73 74 20 74 6f 20 |d/flags |list to |
|00000230| 62 65 20 75 73 65 64 20 | 69 6e 20 63 6f 6e 73 74 |be used |in const|
|00000240| 72 75 63 74 69 6e 67 20 | 64 69 66 66 20 63 6f 6d |ructing |diff com|
|00000250| 6d 61 6e 64 73 2e 22 29 | 0a 28 64 65 66 76 61 72 |mands.")|.(defvar|
|00000260| 20 63 76 73 2d 70 72 6f | 67 72 61 6d 20 22 63 76 | cvs-pro|gram "cv|
|00000270| 73 22 20 22 5c 0a 2a 54 | 68 65 20 63 6f 6d 6d 61 |s" "\.*T|he comma|
|00000280| 6e 64 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 63 |nd name |of the c|
|00000290| 76 73 20 70 72 6f 67 72 | 61 6d 2e 22 29 0a 28 64 |vs progr|am.").(d|
|000002a0| 65 66 76 61 72 20 73 63 | 2d 6d 6f 64 65 2d 65 78 |efvar sc|-mode-ex|
|000002b0| 70 65 72 74 20 6e 69 6c | 20 22 5c 0a 2a 54 72 65 |pert nil| "\.*Tre|
|000002c0| 61 74 20 75 73 65 72 20 | 61 73 20 65 78 70 65 72 |at user |as exper|
|000002d0| 74 3b 20 73 75 70 70 72 | 65 73 73 20 79 65 73 2d |t; suppr|ess yes-|
|000002e0| 6e 6f 20 70 72 6f 6d 70 | 74 73 20 6f 6e 20 73 6f |no promp|ts on so|
|000002f0| 6d 65 20 74 68 69 6e 67 | 73 2e 22 29 0a 28 64 65 |me thing|s.").(de|
|00000300| 66 76 61 72 20 73 63 2d | 6d 61 78 2d 6c 6f 67 2d |fvar sc-|max-log-|
|00000310| 73 69 7a 65 20 35 31 30 | 20 22 5c 0a 2a 4d 61 78 |size 510| "\.*Max|
|00000320| 69 6d 75 6d 20 61 6c 6c | 6f 77 61 62 6c 65 20 73 |imum all|owable s|
|00000330| 69 7a 65 20 6f 66 20 61 | 20 73 6f 75 72 63 65 20 |ize of a| source |
|00000340| 63 6f 6e 74 72 6f 6c 20 | 6c 6f 67 20 6d 65 73 73 |control |log mess|
|00000350| 61 67 65 2e 22 29 0a 28 | 64 65 66 76 61 72 20 73 |age.").(|defvar s|
|00000360| 63 2d 63 63 61 73 65 2d | 63 6f 6d 6d 65 6e 74 2d |c-ccase-|comment-|
|00000370| 6f 6e 20 27 28 63 68 65 | 63 6b 6f 75 74 20 63 68 |on '(che|ckout ch|
|00000380| 65 63 6b 6f 75 74 2d 64 | 69 72 20 63 68 65 63 6b |eckout-d|ir check|
|00000390| 69 6e 2d 64 69 72 20 72 | 65 6e 61 6d 65 20 6e 65 |in-dir r|ename ne|
|000003a0| 77 2d 62 72 74 79 70 65 | 20 6e 65 77 2d 62 72 61 |w-brtype| new-bra|
|000003b0| 6e 63 68 20 63 68 65 63 | 6b 69 6e 2d 6d 65 72 67 |nch chec|kin-merg|
|000003c0| 65 20 63 72 65 61 74 65 | 2d 6c 61 62 65 6c 20 6c |e create|-label l|
|000003d0| 61 62 65 6c 2d 73 6f 75 | 72 63 65 73 29 20 22 5c |abel-sou|rces) "\|
|000003e0| 0a 2a 4f 70 65 72 61 74 | 69 6f 6e 73 20 6f 6e 20 |.*Operat|ions on |
|000003f0| 77 68 69 63 68 20 63 6f | 6d 6d 65 6e 74 73 20 77 |which co|mments w|
|00000400| 6f 75 6c 64 20 62 65 20 | 61 70 70 72 65 63 69 61 |ould be |apprecia|
|00000410| 74 65 64 2e 0a 57 65 20 | 63 68 65 63 6b 20 74 68 |ted..We |check th|
|00000420| 65 20 76 61 6c 75 65 73 | 20 63 68 65 63 6b 6f 75 |e values| checkou|
|00000430| 74 2c 20 63 68 65 63 6b | 6f 75 74 2d 64 69 72 2c |t, check|out-dir,|
|00000440| 20 63 68 65 63 6b 69 6e | 2d 64 69 72 2c 0a 72 65 | checkin|-dir,.re|
|00000450| 6e 61 6d 65 2c 20 6e 65 | 77 2d 62 72 74 79 70 65 |name, ne|w-brtype|
|00000460| 2c 20 6e 65 77 2d 62 72 | 61 6e 63 68 2c 20 63 72 |, new-br|anch, cr|
|00000470| 65 61 74 65 2d 6c 61 62 | 65 6c 2c 0a 61 6e 64 20 |eate-lab|el,.and |
|00000480| 6c 61 62 65 6c 2d 73 6f | 75 72 63 65 73 20 61 73 |label-so|urces as|
|00000490| 20 73 79 6d 62 6f 6c 73 | 2e 22 29 0a 28 64 65 66 | symbols|.").(def|
|000004a0| 76 61 72 20 73 63 2d 63 | 63 61 73 65 2d 72 65 73 |var sc-c|case-res|
|000004b0| 65 72 76 65 20 6e 69 6c | 20 22 5c 0a 57 68 65 74 |erve nil| "\.Whet|
|000004c0| 68 65 72 20 74 6f 20 72 | 65 73 65 72 76 65 20 63 |her to r|eserve c|
|000004d0| 68 65 63 6b 6f 75 74 73 | 20 6f 72 20 6e 6f 74 2e |heckouts| or not.|
|000004e0| 20 42 79 20 64 65 66 61 | 75 6c 74 2c 20 74 68 69 | By defa|ult, thi|
|000004f0| 73 20 69 73 20 6e 69 6c | 20 2d 20 64 6f 6e 27 74 |s is nil| - don't|
|00000500| 2e 0a 4f 74 68 65 72 20 | 76 61 6c 75 65 73 20 61 |..Other |values a|
|00000510| 72 65 20 74 20 2d 20 64 | 6f 2c 20 61 6e 64 20 61 |re t - d|o, and a|
|00000520| 6e 79 74 68 69 6e 67 20 | 65 6c 73 65 2c 20 65 67 |nything |else, eg|
|00000530| 2e 20 27 61 73 6b 20 2d | 20 61 73 6b 2e 22 29 0a |. 'ask -| ask.").|
|00000540| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 c1 21 ac |(byte-co|de "..!.|
|00000550| 85 c2 0b c4 5c 22 11 c5 | 09 21 ac b9 c6 20 11 c7 |....\"..|.!... ..|
|00000560| 0b c4 09 23 88 c7 09 c8 | c9 23 88 c7 09 ca cb 23 |...#....|.#.....#|
|00000570| 88 c7 09 cc cd 23 88 c7 | 09 ce cf 23 88 c7 09 d0 |.....#..|...#....|
|00000580| d1 23 88 c7 09 d2 d3 23 | 88 c7 09 d4 d5 23 88 c7 |.#.....#|.....#..|
|00000590| 09 d6 d7 23 88 c0 87 22 | 20 5b 62 6f 75 6e 64 70 |...#..."| [boundp|
|000005a0| 20 73 63 2d 70 72 65 66 | 69 78 2d 6d 61 70 20 6c | sc-pref|ix-map l|
|000005b0| 6f 6f 6b 75 70 2d 6b 65 | 79 20 67 6c 6f 62 61 6c |ookup-ke|y global|
|000005c0| 2d 6d 61 70 20 22 18 76 | 22 20 6b 65 79 6d 61 70 |-map ".v|" keymap|
|000005d0| 70 20 6d 61 6b 65 2d 73 | 70 61 72 73 65 2d 6b 65 |p make-s|parse-ke|
|000005e0| 79 6d 61 70 20 64 65 66 | 69 6e 65 2d 6b 65 79 20 |ymap def|ine-key |
|000005f0| 22 76 22 20 73 63 2d 6e | 65 78 74 2d 6f 70 65 72 |"v" sc-n|ext-oper|
|00000600| 61 74 69 6f 6e 20 22 3d | 22 20 73 63 2d 73 68 6f |ation "=|" sc-sho|
|00000610| 77 2d 63 68 61 6e 67 65 | 73 20 22 6c 22 20 73 63 |w-change|s "l" sc|
|00000620| 2d 73 68 6f 77 2d 68 69 | 73 74 6f 72 79 20 22 70 |-show-hi|story "p|
|00000630| 22 20 73 63 2d 76 69 73 | 69 74 2d 70 72 65 76 69 |" sc-vis|it-previ|
|00000640| 6f 75 73 2d 72 65 76 69 | 73 69 6f 6e 20 22 75 22 |ous-revi|sion "u"|
|00000650| 20 73 63 2d 72 65 76 65 | 72 74 2d 66 69 6c 65 20 | sc-reve|rt-file |
|00000660| 22 64 22 20 73 63 2d 6c | 69 73 74 2d 72 65 67 69 |"d" sc-l|ist-regi|
|00000670| 73 74 65 72 65 64 2d 66 | 69 6c 65 73 20 22 04 22 |stered-f|iles "."|
|00000680| 20 73 63 2d 75 70 64 61 | 74 65 2d 64 69 72 65 63 | sc-upda|te-direc|
|00000690| 74 6f 72 79 20 22 12 22 | 20 73 63 2d 72 65 6e 61 |tory "."| sc-rena|
|000006a0| 6d 65 2d 66 69 6c 65 5d | 20 34 29 0a 28 64 65 66 |me-file]| 4).(def|
|000006b0| 76 61 72 20 73 63 2d 67 | 65 6e 65 72 69 63 2d 6e |var sc-g|eneric-n|
|000006c0| 61 6d 65 20 22 22 20 22 | 5c 0a 4e 61 6d 65 20 6f |ame "" "|\.Name o|
|000006d0| 66 20 74 68 65 20 73 6f | 75 72 63 65 20 63 6f 6e |f the so|urce con|
|000006e0| 74 72 6f 6c 20 73 79 73 | 74 65 6d 20 75 73 65 64 |trol sys|tem used|
|000006f0| 2e 20 20 49 73 20 64 69 | 73 70 6c 61 79 65 64 20 |. Is di|splayed |
|00000700| 69 6e 20 74 68 65 20 6d | 6f 64 65 6c 69 6e 65 2e |in the m|odeline.|
|00000710| 22 29 0a 28 64 65 66 76 | 61 72 20 73 63 2d 6d 6f |").(defv|ar sc-mo|
|00000720| 64 65 2d 6c 69 6e 65 2d | 73 74 72 69 6e 67 20 6e |de-line-|string n|
|00000730| 69 6c 20 22 5c 0a 52 65 | 76 69 73 69 6f 6e 20 6e |il "\.Re|vision n|
|00000740| 75 6d 62 65 72 20 74 6f | 20 73 68 6f 77 20 69 6e |umber to| show in|
|00000750| 20 74 68 65 20 6d 6f 64 | 65 20 6c 69 6e 65 22 29 | the mod|e line")|
|00000760| 0a 28 64 65 66 76 61 72 | 20 73 63 2d 67 65 6e 65 |.(defvar| sc-gene|
|00000770| 72 69 63 2d 6c 6f 67 2d | 62 75 66 20 6e 69 6c 20 |ric-log-|buf nil |
|00000780| 22 5c 0a 42 75 66 66 65 | 72 20 66 6f 72 20 65 6e |"\.Buffe|r for en|
|00000790| 74 65 72 69 6e 67 20 6c | 6f 67 20 6d 65 73 73 61 |tering l|og messa|
|000007a0| 67 65 22 29 0a 28 64 65 | 66 76 61 72 20 73 63 2d |ge").(de|fvar sc-|
|000007b0| 6c 6f 67 2d 65 6e 74 72 | 79 2d 6b 65 79 6d 61 70 |log-entr|y-keymap|
|000007c0| 20 6e 69 6c 20 22 5c 0a | 41 64 64 69 74 69 6f 6e | nil "\.|Addition|
|000007d0| 61 6c 20 6b 65 79 62 69 | 6e 64 69 6e 67 73 20 75 |al keybi|ndings u|
|000007e0| 73 65 64 20 77 68 65 6e | 20 65 6e 74 65 72 69 6e |sed when| enterin|
|000007f0| 67 20 74 68 65 20 6c 6f | 67 20 6d 65 73 73 61 67 |g the lo|g messag|
|00000800| 65 22 29 0a 28 64 65 66 | 76 61 72 20 73 63 2d 63 |e").(def|var sc-c|
|00000810| 61 6e 2d 68 61 63 6b 2d | 64 69 72 20 6e 69 6c 20 |an-hack-|dir nil |
|00000820| 22 5c 0a 44 6f 65 73 20 | 74 68 65 20 53 43 20 73 |"\.Does |the SC s|
|00000830| 79 73 74 65 6d 20 61 6c | 6c 6f 77 20 75 73 65 72 |ystem al|low user|
|00000840| 73 20 74 6f 20 70 6c 61 | 79 20 64 69 72 65 63 74 |s to pla|y direct|
|00000850| 6c 79 20 77 69 74 68 20 | 64 69 72 65 63 74 6f 72 |ly with |director|
|00000860| 69 65 73 22 29 0a 28 64 | 65 66 76 61 72 20 73 63 |ies").(d|efvar sc|
|00000870| 2d 63 63 61 73 65 2d 6d | 66 73 2d 70 72 65 66 69 |-ccase-m|fs-prefi|
|00000880| 78 65 73 20 6e 69 6c 20 | 22 5c 0a 50 72 65 66 69 |xes nil |"\.Prefi|
|00000890| 78 65 73 20 6b 6e 6f 77 | 6e 20 74 6f 20 74 68 65 |xes know|n to the|
|000008a0| 20 73 79 73 74 65 6d 20 | 74 6f 20 62 65 20 4d 46 | system |to be MF|
|000008b0| 53 20 2e 2e 2e 20 69 67 | 6e 6f 72 65 20 61 6c 6c |S ... ig|nore all|
|000008c0| 20 6f 74 68 65 72 73 22 | 29 0a 28 62 79 74 65 2d | others"|).(byte-|
|000008d0| 63 6f 64 65 20 22 c0 c1 | 4d 88 c2 c3 4d 87 22 20 |code "..|M...M." |
|000008e0| 5b 73 63 2d 63 68 6d 6f | 64 20 28 6d 61 63 72 6f |[sc-chmo|d (macro|
|000008f0| 20 2e 20 23 5b 28 70 65 | 72 6d 73 20 66 69 6c 65 | . #[(pe|rms file|
|00000900| 29 20 22 c0 c1 c2 89 89 | 0b 0c af 07 87 22 20 5b |) ".....|....." [|
|00000910| 63 61 6c 6c 2d 70 72 6f | 63 65 73 73 20 22 63 68 |call-pro|cess "ch|
|00000920| 6d 6f 64 22 20 6e 69 6c | 20 70 65 72 6d 73 20 66 |mod" nil| perms f|
|00000930| 69 6c 65 5d 20 37 5d 29 | 20 65 72 72 6f 72 2d 6f |ile] 7])| error-o|
|00000940| 63 63 75 72 72 65 64 20 | 28 6d 61 63 72 6f 20 2e |ccurred |(macro .|
|00000950| 20 23 5b 28 26 72 65 73 | 74 20 62 6f 64 79 29 20 | #[(&res|t body) |
|00000960| 22 c0 c1 c2 c3 0c c5 5c | 22 42 c6 46 87 22 20 5b |"......\|"B.F." [|
|00000970| 63 6f 6e 64 69 74 69 6f | 6e 2d 63 61 73 65 20 6e |conditio|n-case n|
|00000980| 69 6c 20 70 72 6f 67 6e | 20 61 70 70 65 6e 64 20 |il progn| append |
|00000990| 62 6f 64 79 20 28 6e 69 | 6c 29 20 28 65 72 72 6f |body (ni|l) (erro|
|000009a0| 72 20 74 29 5d 20 36 5d | 29 5d 20 32 29 0a 28 66 |r t)] 6]|)] 2).(f|
|000009b0| 73 65 74 20 27 73 63 2d | 6e 65 78 74 2d 6f 70 65 |set 'sc-|next-ope|
|000009c0| 72 61 74 69 6f 6e 20 23 | 5b 28 76 65 72 62 6f 73 |ration #|[(verbos|
|000009d0| 65 29 20 22 08 ac 86 c1 | c2 c3 20 5c 22 88 c4 1d |e) "....|.. \"...|
|000009e0| 08 1e 06 c7 0e 06 21 1e | 08 c9 ca cb 0e 0c 5c 22 |......!.|......\"|
|000009f0| 21 1e 0d c4 1e 0e 0e 08 | cf 3d ab 86 c1 d0 c3 20 |!.......|.=..... |
|00000a00| 5c 22 88 0e 08 ac 8a d1 | 0e 12 21 88 c4 89 44 16 |\"......|..!...D.|
|00000a10| 08 0e 08 40 ac 8f d3 0e | 06 d4 5c 22 88 d5 c4 d4 |...@....|..\"....|
|00000a20| 5c 22 88 d6 20 aa e0 0e | 0c d7 9a ac 90 0e 08 40 |\".. ...|.......@|
|00000a30| d8 20 9a ac 88 c1 d9 0e | 08 40 5c 22 aa ca da 20 |. ......|.@\"... |
|00000a40| ab 90 0e 1b ac 89 dc ca | dd c3 20 5c 22 21 ab 83 |........|.. \"!..|
|00000a50| de 20 88 0e 08 41 40 15 | 0e 12 ab 90 0e 1b ac 88 |. ...A@.|........|
|00000a60| dc ca df 0d 5c 22 21 ab | 84 e0 e1 21 15 e2 20 1e |....\"!.|...!.. .|
|00000a70| 23 e4 8b ad 94 da 20 ab | 85 c1 e5 21 aa 8b d5 c4 |#..... .|...!....|
|00000a80| d4 5c 22 88 d6 20 88 e6 | e7 21 29 2d 87 22 20 5b |.\".. ..|.!)-." [|
|00000a90| 62 75 66 66 65 72 2d 66 | 69 6c 65 2d 6e 61 6d 65 |buffer-f|ile-name|
|00000aa0| 20 65 72 72 6f 72 20 22 | 54 68 65 72 65 20 69 73 | error "|There is|
|00000ab0| 20 6e 6f 20 66 69 6c 65 | 20 61 73 73 6f 63 69 61 | no file| associa|
|00000ac0| 74 65 64 20 77 69 74 68 | 20 62 75 66 66 65 72 20 |ted with| buffer |
|00000ad0| 25 73 22 20 62 75 66 66 | 65 72 2d 6e 61 6d 65 20 |%s" buff|er-name |
|00000ae0| 6e 69 6c 20 72 65 76 69 | 73 69 6f 6e 20 66 69 6c |nil revi|sion fil|
|00000af0| 65 20 73 63 2d 6c 6f 63 | 6b 2d 69 6e 66 6f 20 6c |e sc-loc|k-info l|
|00000b00| 6f 63 6b 2d 69 6e 66 6f | 20 67 65 74 2d 62 75 66 |ock-info| get-buf|
|00000b10| 66 65 72 2d 63 72 65 61 | 74 65 20 66 6f 72 6d 61 |fer-crea|te forma|
|00000b20| 74 20 22 2a 25 73 2d 4c | 6f 67 2a 22 20 73 63 2d |t "*%s-L|og*" sc-|
|00000b30| 67 65 6e 65 72 69 63 2d | 6e 61 6d 65 20 73 63 2d |generic-|name sc-|
|00000b40| 67 65 6e 65 72 69 63 2d | 6c 6f 67 2d 62 75 66 20 |generic-|log-buf |
|00000b50| 65 72 72 2d 6d 73 67 20 | 6e 61 20 22 54 68 65 20 |err-msg |na "The |
|00000b60| 66 69 6c 65 20 61 73 73 | 6f 63 69 61 74 65 64 20 |file ass|ociated |
|00000b70| 77 69 74 68 20 62 75 66 | 66 65 72 20 25 73 20 69 |with buf|fer %s i|
|00000b80| 73 20 6e 6f 74 20 72 65 | 67 69 73 74 65 72 65 64 |s not re|gistered|
|00000b90| 22 20 73 63 2d 72 65 67 | 69 73 74 65 72 2d 66 69 |" sc-reg|ister-fi|
|00000ba0| 6c 65 20 76 65 72 62 6f | 73 65 20 73 63 2d 63 68 |le verbo|se sc-ch|
|00000bb0| 65 63 6b 2d 6f 75 74 20 | 74 20 72 65 76 65 72 74 |eck-out |t revert|
|00000bc0| 2d 62 75 66 66 65 72 20 | 73 63 2d 6d 6f 64 65 2d |-buffer |sc-mode-|
|00000bd0| 6c 69 6e 65 20 22 43 43 | 61 73 65 22 20 75 73 65 |line "CC|ase" use|
|00000be0| 72 2d 6c 6f 67 69 6e 2d | 6e 61 6d 65 20 22 53 6f |r-login-|name "So|
|00000bf0| 72 72 79 2c 20 25 73 20 | 68 61 73 20 74 68 61 74 |rry, %s |has that|
|00000c00| 20 66 69 6c 65 20 6c 6f | 63 6b 65 64 2e 22 20 62 | file lo|cked." b|
|00000c10| 75 66 66 65 72 2d 6d 6f | 64 69 66 69 65 64 2d 70 |uffer-mo|dified-p|
|00000c20| 20 73 63 2d 6d 6f 64 65 | 2d 65 78 70 65 72 74 20 | sc-mode|-expert |
|00000c30| 79 2d 6f 72 2d 6e 2d 70 | 20 22 25 73 20 68 61 73 |y-or-n-p| "%s has|
|00000c40| 20 62 65 65 6e 20 6d 6f | 64 69 66 69 65 64 2e 20 | been mo|dified. |
|00000c50| 57 72 69 74 65 20 69 74 | 20 6f 75 74 3f 20 22 20 |Write it| out? " |
|00000c60| 73 61 76 65 2d 62 75 66 | 66 65 72 20 22 72 65 76 |save-buf|fer "rev|
|00000c70| 69 73 69 6f 6e 3a 20 25 | 73 20 20 43 68 61 6e 67 |ision: %|s Chang|
|00000c80| 65 20 72 65 76 69 73 69 | 6f 6e 20 6c 65 76 65 6c |e revisi|on level|
|00000c90| 3f 20 22 20 72 65 61 64 | 2d 73 74 72 69 6e 67 20 |? " read|-string |
|00000ca0| 22 4e 65 77 20 72 65 76 | 69 73 69 6f 6e 20 6c 65 |"New rev|ision le|
|00000cb0| 76 65 6c 3a 20 22 20 73 | 63 2d 74 65 6d 70 2d 62 |vel: " s|c-temp-b|
|00000cc0| 75 66 66 65 72 20 62 75 | 66 66 65 72 20 28 28 62 |uffer bu|ffer ((b|
|00000cd0| 79 74 65 2d 63 6f 64 65 | 20 22 c0 09 21 88 c2 20 |yte-code| "..!.. |
|00000ce0| 88 c3 c4 21 88 c5 20 88 | c6 c7 21 88 c4 c8 c9 8f |...!.. .|..!.....|
|00000cf0| 3f ad 85 c4 ca cb 8f 3f | c4 16 0c cd 09 21 88 87 |?......?|.....!..|
|00000d00| 22 20 5b 70 6f 70 2d 74 | 6f 2d 62 75 66 66 65 72 |" [pop-t|o-buffer|
|00000d10| 20 62 75 66 66 65 72 20 | 65 72 61 73 65 2d 62 75 | buffer |erase-bu|
|00000d20| 66 66 65 72 20 73 65 74 | 2d 62 75 66 66 65 72 2d |ffer set|-buffer-|
|00000d30| 6d 6f 64 69 66 69 65 64 | 2d 70 20 6e 69 6c 20 73 |modified|-p nil s|
|00000d40| 63 2d 6c 6f 67 2d 65 6e | 74 72 79 2d 6d 6f 64 65 |c-log-en|try-mode|
|00000d50| 20 6d 65 73 73 61 67 65 | 20 22 45 6e 74 65 72 20 | message| "Enter |
|00000d60| 6c 6f 67 20 6d 65 73 73 | 61 67 65 2e 20 54 79 70 |log mess|age. Typ|
|00000d70| 65 20 43 2d 63 20 43 2d | 63 20 77 68 65 6e 20 64 |e C-c C-|c when d|
|00000d80| 6f 6e 65 2c 20 43 2d 63 | 20 3f 20 66 6f 72 20 68 |one, C-c| ? for h|
|00000d90| 65 6c 70 2e 22 20 28 62 | 79 74 65 2d 63 6f 64 65 |elp." (b|yte-code|
|00000da0| 20 22 c0 20 88 c1 87 22 | 20 5b 72 65 63 75 72 73 | ". ..."| [recurs|
|00000db0| 69 76 65 2d 65 64 69 74 | 20 6e 69 6c 5d 20 31 29 |ive-edit| nil] 1)|
|00000dc0| 20 28 28 65 72 72 6f 72 | 20 74 29 29 20 28 62 79 | ((error| t)) (by|
|00000dd0| 74 65 2d 63 6f 64 65 20 | 22 c0 09 5c 6e c3 20 23 |te-code |"..\n. #|
|00000de0| 88 c4 87 22 20 5b 73 63 | 2d 63 68 65 63 6b 2d 69 |..." [sc|-check-i|
|00000df0| 6e 20 66 69 6c 65 20 72 | 65 76 69 73 69 6f 6e 20 |n file r|evision |
|00000e00| 62 75 66 66 65 72 2d 73 | 74 72 69 6e 67 20 6e 69 |buffer-s|tring ni|
|00000e10| 6c 5d 20 34 29 20 28 28 | 65 72 72 6f 72 20 74 29 |l] 4) ((|error t)|
|00000e20| 29 20 62 75 66 66 65 72 | 2d 66 69 6c 65 2d 6e 61 |) buffer|-file-na|
|00000e30| 6d 65 20 62 75 72 79 2d | 62 75 66 66 65 72 5d 20 |me bury-|buffer] |
|00000e40| 33 29 29 20 22 43 68 65 | 63 6b 65 64 2d 69 6e 20 |3)) "Che|cked-in |
|00000e50| 76 65 72 73 69 6f 6e 20 | 6f 66 20 66 69 6c 65 20 |version |of file |
|00000e60| 64 6f 65 73 20 6e 6f 74 | 20 6d 61 74 63 68 20 62 |does not| match b|
|00000e70| 75 66 66 65 72 21 22 20 | 72 75 6e 2d 68 6f 6f 6b |uffer!" |run-hook|
|00000e80| 73 20 73 63 2d 63 68 65 | 63 6b 2d 69 6e 2d 6f 6b |s sc-che|ck-in-ok|
|00000e90| 5d 20 34 20 22 5c 0a 44 | 6f 20 74 68 65 20 6e 65 |] 4 "\.D|o the ne|
|00000ea0| 78 74 20 6c 6f 67 69 63 | 61 6c 20 73 6f 75 72 63 |xt logic|al sourc|
|00000eb0| 65 2d 63 6f 6e 74 72 6f | 6c 20 6f 70 65 72 61 74 |e-contro|l operat|
|00000ec0| 69 6f 6e 20 6f 6e 20 74 | 68 65 20 66 69 6c 65 20 |ion on t|he file |
|00000ed0| 69 6e 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 62 |in the c|urrent b|
|00000ee0| 75 66 66 65 72 2e 0a 54 | 68 65 20 63 75 72 72 65 |uffer..T|he curre|
|00000ef0| 6e 74 20 73 75 62 64 69 | 72 65 63 74 6f 72 79 20 |nt subdi|rectory |
|00000f00| 6d 75 73 74 20 62 65 20 | 75 6e 64 65 72 20 73 6f |must be |under so|
|00000f10| 75 72 63 65 20 63 6f 6e | 74 72 6f 6c 2e 0a 20 20 |urce con|trol.. |
|00000f20| 20 49 66 20 74 68 65 20 | 66 69 6c 65 20 69 73 20 | If the |file is |
|00000f30| 6e 6f 74 20 61 6c 72 65 | 61 64 79 20 72 65 67 69 |not alre|ady regi|
|00000f40| 73 74 65 72 65 64 20 77 | 69 74 68 20 74 68 65 20 |stered w|ith the |
|00000f50| 73 6f 75 72 63 65 20 63 | 6f 6e 74 72 6f 6c 2c 20 |source c|ontrol, |
|00000f60| 74 68 69 73 20 72 65 67 | 69 73 74 65 72 73 20 69 |this reg|isters i|
|00000f70| 74 20 0a 61 6e 64 20 63 | 68 65 63 6b 73 20 69 74 |t .and c|hecks it|
|00000f80| 20 6f 75 74 2e 0a 20 20 | 20 49 66 20 74 68 65 20 | out.. | If the |
|00000f90| 66 69 6c 65 20 69 73 20 | 72 65 67 69 73 74 65 72 |file is |register|
|00000fa0| 65 64 20 61 6e 64 20 6e | 6f 74 20 6c 6f 63 6b 65 |ed and n|ot locke|
|00000fb0| 64 20 62 79 20 61 6e 79 | 6f 6e 65 2c 20 74 68 69 |d by any|one, thi|
|00000fc0| 73 20 63 68 65 63 6b 73 | 20 69 74 20 6f 75 74 2e |s checks| it out.|
|00000fd0| 0a 20 20 20 49 66 20 74 | 68 65 20 66 69 6c 65 20 |. If t|he file |
|00000fe0| 69 73 20 72 65 67 69 73 | 74 65 72 65 64 20 61 6e |is regis|tered an|
|00000ff0| 64 20 6c 6f 63 6b 65 64 | 20 62 79 20 74 68 65 20 |d locked| by the |
|00001000| 63 61 6c 6c 69 6e 67 20 | 75 73 65 72 2c 20 74 68 |calling |user, th|
|00001010| 69 73 20 70 6f 70 73 20 | 75 70 20 61 0a 62 75 66 |is pops |up a.buf|
|00001020| 66 65 72 20 66 6f 72 20 | 63 72 65 61 74 69 6f 6e |fer for |creation|
|00001030| 20 6f 66 20 61 20 6c 6f | 67 20 6d 65 73 73 61 67 | of a lo|g messag|
|00001040| 65 2c 20 74 68 65 6e 20 | 63 68 65 63 6b 73 20 74 |e, then |checks t|
|00001050| 68 65 20 66 69 6c 65 20 | 69 6e 2e 0a 41 20 72 65 |he file |in..A re|
|00001060| 61 64 2d 6f 6e 6c 79 20 | 63 6f 70 79 20 6f 66 20 |ad-only |copy of |
|00001070| 74 68 65 20 63 68 61 6e | 67 65 64 20 66 69 6c 65 |the chan|ged file|
|00001080| 20 69 73 20 6c 65 66 74 | 20 69 6e 20 70 6c 61 63 | is left| in plac|
|00001090| 65 20 61 66 74 65 72 77 | 61 72 64 73 2e 0a 20 20 |e afterw|ards.. |
|000010a0| 20 49 66 20 74 68 65 20 | 66 69 6c 65 20 69 73 20 | If the |file is |
|000010b0| 72 65 67 69 73 74 65 72 | 65 64 20 61 6e 64 20 6c |register|ed and l|
|000010c0| 6f 63 6b 65 64 20 62 79 | 20 73 6f 6d 65 6f 6e 65 |ocked by| someone|
|000010d0| 20 65 6c 73 65 2c 20 61 | 6e 20 65 72 72 6f 72 20 | else, a|n error |
|000010e0| 6d 65 73 73 61 67 65 20 | 69 73 0a 72 65 74 75 72 |message |is.retur|
|000010f0| 6e 65 64 20 69 6e 64 69 | 63 61 74 69 6e 67 20 77 |ned indi|cating w|
|00001100| 68 6f 20 68 61 73 20 6c | 6f 63 6b 65 64 20 69 74 |ho has l|ocked it|
|00001110| 2e 22 20 22 50 22 5d 29 | 0a 28 66 73 65 74 20 27 |." "P"])|.(fset '|
|00001120| 73 63 2d 69 6e 73 65 72 | 74 2d 6c 61 73 74 2d 6c |sc-inser|t-last-l|
|00001130| 6f 67 20 23 5b 6e 69 6c | 20 22 c0 09 21 87 22 20 |og #[nil| "..!." |
|00001140| 5b 69 6e 73 65 72 74 2d | 62 75 66 66 65 72 20 73 |[insert-|buffer s|
|00001150| 63 2d 67 65 6e 65 72 69 | 63 2d 6c 6f 67 2d 62 75 |c-generi|c-log-bu|
|00001160| 66 5d 20 32 20 22 5c 0a | 49 6e 73 65 72 74 20 74 |f] 2 "\.|Insert t|
|00001170| 68 65 20 6c 6f 67 20 6d | 65 73 73 61 67 65 20 6f |he log m|essage o|
|00001180| 66 20 74 68 65 20 6c 61 | 73 74 20 63 68 65 63 6b |f the la|st check|
|00001190| 20 69 6e 20 61 74 20 70 | 6f 69 6e 74 2e 22 20 6e | in at p|oint." n|
|000011a0| 69 6c 5d 29 0a 28 66 73 | 65 74 20 27 73 63 2d 61 |il]).(fs|et 'sc-a|
|000011b0| 62 6f 72 74 2d 63 68 65 | 63 6b 2d 69 6e 20 23 5b |bort-che|ck-in #[|
|000011c0| 6e 69 6c 20 22 08 ac 85 | c1 c2 21 ad 85 c3 20 88 |nil "...|..!... .|
|000011d0| c4 20 87 22 20 5b 73 63 | 2d 6d 6f 64 65 2d 65 78 |. ." [sc|-mode-ex|
|000011e0| 70 65 72 74 20 79 2d 6f | 72 2d 6e 2d 70 20 22 52 |pert y-o|r-n-p "R|
|000011f0| 65 61 6c 6c 79 20 41 62 | 6f 72 74 20 43 68 65 63 |eally Ab|ort Chec|
|00001200| 6b 2d 69 6e 3f 20 22 20 | 64 65 6c 65 74 65 2d 77 |k-in? " |delete-w|
|00001210| 69 6e 64 6f 77 20 61 62 | 6f 72 74 2d 72 65 63 75 |indow ab|ort-recu|
|00001220| 72 73 69 76 65 2d 65 64 | 69 74 5d 20 32 20 22 5c |rsive-ed|it] 2 "\|
|00001230| 0a 41 62 6f 72 74 20 61 | 20 73 6f 75 72 63 65 20 |.Abort a| source |
|00001240| 63 6f 6e 74 72 6f 6c 20 | 63 68 65 63 6b 2d 69 6e |control |check-in|
|00001250| 20 63 6f 6d 6d 61 6e 64 | 2e 22 20 6e 69 6c 5d 29 | command|." nil])|
|00001260| 0a 28 66 73 65 74 20 27 | 73 63 2d 6c 6f 67 2d 65 |.(fset '|sc-log-e|
|00001270| 78 69 74 20 23 5b 6e 69 | 6c 20 22 c0 20 09 57 ab |xit #[ni|l ". .W.|
|00001280| 8c c2 0b 65 64 23 88 c4 | 20 88 c5 20 87 09 62 88 |...ed#..| .. ..b.|
|00001290| c6 c7 09 60 23 87 22 20 | 5b 62 75 66 66 65 72 2d |...`#." |[buffer-|
|000012a0| 73 69 7a 65 20 73 63 2d | 6d 61 78 2d 6c 6f 67 2d |size sc-|max-log-|
|000012b0| 73 69 7a 65 20 63 6f 70 | 79 2d 74 6f 2d 62 75 66 |size cop|y-to-buf|
|000012c0| 66 65 72 20 73 63 2d 67 | 65 6e 65 72 69 63 2d 6c |fer sc-g|eneric-l|
|000012d0| 6f 67 2d 62 75 66 20 65 | 78 69 74 2d 72 65 63 75 |og-buf e|xit-recu|
|000012e0| 72 73 69 76 65 2d 65 64 | 69 74 20 64 65 6c 65 74 |rsive-ed|it delet|
|000012f0| 65 2d 77 69 6e 64 6f 77 | 20 65 72 72 6f 72 20 22 |e-window| error "|
|00001300| 4c 6f 67 20 6d 75 73 74 | 20 62 65 20 6c 65 73 73 |Log must| be less|
|00001310| 20 74 68 61 6e 20 25 64 | 20 63 68 61 72 61 63 74 | than %d| charact|
|00001320| 65 72 73 2e 20 50 6f 69 | 6e 74 20 69 73 20 6e 6f |ers. Poi|nt is no|
|00001330| 77 20 61 74 20 63 68 61 | 72 20 25 64 2e 22 5d 20 |w at cha|r %d."] |
|00001340| 34 20 22 5c 0a 50 72 6f | 63 65 65 64 20 77 69 74 |4 "\.Pro|ceed wit|
|00001350| 68 20 63 68 65 63 6b 69 | 6e 20 77 69 74 68 20 74 |h checki|n with t|
|00001360| 68 65 20 63 6f 6e 74 65 | 6e 74 73 20 6f 66 20 74 |he conte|nts of t|
|00001370| 68 65 20 63 75 72 72 65 | 6e 74 20 62 75 66 66 65 |he curre|nt buffe|
|00001380| 72 20 61 73 20 6d 65 73 | 73 61 67 65 2e 22 20 6e |r as mes|sage." n|
|00001390| 69 6c 5d 29 0a 28 66 73 | 65 74 20 27 73 63 2d 73 |il]).(fs|et 'sc-s|
|000013a0| 68 6f 77 2d 63 68 61 6e | 67 65 73 20 23 5b 28 61 |how-chan|ges #[(a|
|000013b0| 72 67 29 20 22 c0 20 ab | 8f 09 ac 89 c2 c3 c4 c5 |rg) ". .|........|
|000013c0| 20 5c 22 21 ab 83 c6 20 | 88 0e 07 ad 83 c8 c9 21 | \"!... |.......!|
|000013d0| 1e 5c 6e 0e 0b 1e 0c cd | 0e 0c 21 1e 0e cf 0e 0c |.\n.....|..!.....|
|000013e0| 0e 5c 6e 5c 22 1e 10 d1 | 20 1e 12 d3 1e 14 8a 0e |.\n\"...| .......|
|000013f0| 12 71 88 d5 20 88 d6 0e | 0c 21 16 17 d8 d9 0e 1a |.q.. ...|.!......|
|00001400| 40 d3 db d3 dc 0e 1a 41 | 0e 10 43 0e 0c 43 23 26 |@......A|..C..C#&|
|00001410| 06 16 14 29 0e 14 dd 3d | ac 8f 0e 14 de 3d ac 89 |...)...=|.....=..|
|00001420| df 0e 12 21 88 e0 e1 21 | 88 e2 0e 10 21 88 8a 0e |...!...!|....!...|
|00001430| 12 71 88 65 62 88 65 64 | 9a ab 8b c3 e3 cd 0e 0c |.q.eb.ed|........|
|00001440| 21 5c 22 63 88 aa a0 e4 | 0e 0c e5 b1 03 88 e6 63 |!\"c....|.......c|
|00001450| 88 e7 e8 0e 1a 5c 22 88 | 0e 0e e9 0e 5c 6e ae 81 |.....\".|....\n..|
|00001460| ea eb ec 0e 0e ed b1 07 | 88 29 df 0e 12 21 2e 06 |........|.)...!..|
|00001470| 87 22 20 5b 62 75 66 66 | 65 72 2d 6d 6f 64 69 66 |." [buff|er-modif|
|00001480| 69 65 64 2d 70 20 73 63 | 2d 6d 6f 64 65 2d 65 78 |ied-p sc|-mode-ex|
|00001490| 70 65 72 74 20 79 2d 6f | 72 2d 6e 2d 70 20 66 6f |pert y-o|r-n-p fo|
|000014a0| 72 6d 61 74 20 22 25 73 | 20 68 61 73 20 62 65 65 |rmat "%s| has bee|
|000014b0| 6e 20 6d 6f 64 69 66 69 | 65 64 2e 20 57 72 69 74 |n modifi|ed. Writ|
|000014c0| 65 20 69 74 20 6f 75 74 | 3f 20 22 20 62 75 66 66 |e it out|? " buff|
|000014d0| 65 72 2d 6e 61 6d 65 20 | 73 61 76 65 2d 62 75 66 |er-name |save-buf|
|000014e0| 66 65 72 20 61 72 67 20 | 72 65 61 64 2d 73 74 72 |fer arg |read-str|
|000014f0| 69 6e 67 20 22 52 65 76 | 69 73 69 6f 6e 20 74 6f |ing "Rev|ision to|
|00001500| 20 63 6f 6d 70 61 72 65 | 20 61 67 61 69 6e 73 74 | compare| against|
|00001510| 3a 20 22 20 72 65 76 69 | 73 69 6f 6e 20 62 75 66 |: " revi|sion buf|
|00001520| 66 65 72 2d 66 69 6c 65 | 2d 6e 61 6d 65 20 66 69 |fer-file|-name fi|
|00001530| 6c 65 20 66 69 6c 65 2d | 6e 61 6d 65 2d 6e 6f 6e |le file-|name-non|
|00001540| 64 69 72 65 63 74 6f 72 | 79 20 6e 61 6d 65 20 73 |director|y name s|
|00001550| 63 2d 67 65 74 2d 76 65 | 72 73 69 6f 6e 2d 69 6e |c-get-ve|rsion-in|
|00001560| 2d 74 65 6d 70 2d 66 69 | 6c 65 20 6f 6c 64 20 73 |-temp-fi|le old s|
|00001570| 63 2d 74 65 6d 70 2d 62 | 75 66 66 65 72 20 62 75 |c-temp-b|uffer bu|
|00001580| 66 66 65 72 20 6e 69 6c | 20 73 74 61 74 75 73 20 |ffer nil| status |
|00001590| 65 72 61 73 65 2d 62 75 | 66 66 65 72 20 66 69 6c |erase-bu|ffer fil|
|000015a0| 65 2d 6e 61 6d 65 2d 64 | 69 72 65 63 74 6f 72 79 |e-name-d|irectory|
|000015b0| 20 64 65 66 61 75 6c 74 | 2d 64 69 72 65 63 74 6f | default|-directo|
|000015c0| 72 79 20 61 70 70 6c 79 | 20 63 61 6c 6c 2d 70 72 |ry apply| call-pr|
|000015d0| 6f 63 65 73 73 20 73 63 | 2d 64 69 66 66 2d 63 6f |ocess sc|-diff-co|
|000015e0| 6d 6d 61 6e 64 20 74 20 | 61 70 70 65 6e 64 20 30 |mmand t |append 0|
|000015f0| 20 31 20 64 69 73 70 6c | 61 79 2d 62 75 66 66 65 | 1 displ|ay-buffe|
|00001600| 72 20 65 72 72 6f 72 20 | 22 64 69 66 66 20 46 41 |r error |"diff FA|
|00001610| 49 4c 45 44 22 20 64 65 | 6c 65 74 65 2d 66 69 6c |ILED" de|lete-fil|
|00001620| 65 20 22 4e 6f 20 63 68 | 61 6e 67 65 73 20 74 6f |e "No ch|anges to|
|00001630| 20 25 73 20 73 69 6e 63 | 65 20 6c 61 73 74 20 75 | %s sinc|e last u|
|00001640| 70 64 61 74 65 2e 22 20 | 22 3d 3d 3d 3d 20 44 69 |pdate." |"==== Di|
|00001650| 66 66 73 20 66 6f 72 20 | 22 20 22 5c 6e 22 20 22 |ffs for |" "\n" "|
|00001660| 3d 3d 3d 3d 20 22 20 6d | 61 70 63 61 72 20 23 5b |==== " m|apcar #[|
|00001670| 28 69 29 20 22 08 c1 b1 | 02 87 22 20 5b 69 20 22 |(i) "...|.." [i "|
|00001680| 20 22 5d 20 32 5d 20 22 | 3c 22 20 22 63 75 72 72 | "] 2] "|<" "curr|
|00001690| 65 6e 74 22 20 22 3e 22 | 20 22 20 22 20 22 5c 6e |ent" ">"| " " "\n|
|000016a0| 5c 6e 22 5d 20 31 30 20 | 22 5c 0a 43 6f 6d 70 61 |\n"] 10 |"\.Compa|
|000016b0| 72 65 20 74 68 65 20 76 | 65 72 73 69 6f 6e 20 62 |re the v|ersion b|
|000016c0| 65 69 6e 67 20 65 64 69 | 74 65 64 20 77 69 74 68 |eing edi|ted with|
|000016d0| 20 74 68 65 20 6c 61 73 | 74 20 63 68 65 63 6b 65 | the las|t checke|
|000016e0| 64 2d 69 6e 20 72 65 76 | 69 73 69 6f 6e 2e 0a 57 |d-in rev|ision..W|
|000016f0| 69 74 68 20 61 20 70 72 | 65 66 69 78 20 61 72 67 |ith a pr|efix arg|
|00001700| 75 6d 65 6e 74 20 70 72 | 6f 6d 70 74 20 66 6f 72 |ument pr|ompt for|
|00001710| 20 72 65 76 69 73 69 6f | 6e 20 74 6f 20 63 6f 6d | revisio|n to com|
|00001720| 70 61 72 65 20 77 69 74 | 68 2e 22 20 22 50 22 5d |pare wit|h." "P"]|
|00001730| 29 0a 28 66 73 65 74 20 | 27 73 63 2d 73 68 6f 77 |).(fset |'sc-show|
|00001740| 2d 72 65 76 69 73 69 6f | 6e 2d 63 68 61 6e 67 65 |-revisio|n-change|
|00001750| 73 20 23 5b 6e 69 6c 20 | 22 c0 c1 21 87 22 20 5b |s #[nil |"..!." [|
|00001760| 73 63 2d 73 68 6f 77 2d | 63 68 61 6e 67 65 73 20 |sc-show-|changes |
|00001770| 34 5d 20 32 20 22 5c 0a | 50 72 6f 6d 70 74 20 66 |4] 2 "\.|Prompt f|
|00001780| 6f 72 20 61 20 72 65 76 | 69 73 69 6f 6e 20 74 6f |or a rev|ision to|
|00001790| 20 64 69 66 66 20 61 67 | 61 69 6e 73 74 2e 22 20 | diff ag|ainst." |
|000017a0| 6e 69 6c 5d 29 0a 28 66 | 73 65 74 20 27 73 63 2d |nil]).(f|set 'sc-|
|000017b0| 76 65 72 73 69 6f 6e 2d | 64 69 66 66 2d 66 69 6c |version-|diff-fil|
|000017c0| 65 20 23 5b 28 66 69 6c | 65 20 72 65 6c 31 20 72 |e #[(fil|e rel1 r|
|000017d0| 65 6c 32 29 20 22 08 c1 | 98 ab 82 c2 10 0b c1 98 |el2) "..|........|
|000017e0| ab 82 c2 13 c4 20 89 1d | 71 88 c6 20 88 c7 0e 08 |..... ..|q.. ....|
|000017f0| 08 5c 22 0b ab 87 c7 0e | 08 0b 5c 22 aa 82 0e 08 |.\".....|..\"....|
|00001800| 1e 09 89 1e 5c 6e ab 9d | 0e 09 ab 99 c2 8e cb cc |....\n..|........|
|00001810| 0e 0d 40 c2 ce 89 cf 0e | 0d 41 0e 5c 6e 43 0e 09 |..@.....|.A.\nC..|
|00001820| 43 23 26 06 88 29 c2 d0 | d1 8f 88 0b ab 85 c2 d2 |C#&..)..|........|
|00001830| d3 8f 88 d4 c2 21 88 65 | 62 88 65 64 9a ab 8b d5 |.....!.e|b.ed....|
|00001840| d6 d7 0e 08 08 0b 24 21 | aa 83 d8 0d 21 2b 87 22 |......$!|....!+."|
|00001850| 20 5b 72 65 6c 31 20 22 | 22 20 6e 69 6c 20 72 65 | [rel1 "|" nil re|
|00001860| 6c 32 20 73 63 2d 74 65 | 6d 70 2d 62 75 66 66 65 |l2 sc-te|mp-buffe|
|00001870| 72 20 62 75 66 66 65 72 | 20 65 72 61 73 65 2d 62 |r buffer| erase-b|
|00001880| 75 66 66 65 72 20 73 63 | 2d 67 65 74 2d 76 65 72 |uffer sc|-get-ver|
|00001890| 73 69 6f 6e 2d 69 6e 2d | 74 65 6d 70 2d 66 69 6c |sion-in-|temp-fil|
|000018a0| 65 20 66 69 6c 65 20 76 | 32 20 76 31 20 61 70 70 |e file v|2 v1 app|
|000018b0| 6c 79 20 63 61 6c 6c 2d | 70 72 6f 63 65 73 73 20 |ly call-|process |
|000018c0| 73 63 2d 64 69 66 66 2d | 63 6f 6d 6d 61 6e 64 20 |sc-diff-|command |
|000018d0| 74 20 61 70 70 65 6e 64 | 20 28 64 65 6c 65 74 65 |t append| (delete|
|000018e0| 2d 66 69 6c 65 20 76 31 | 29 20 28 28 65 72 72 6f |-file v1|) ((erro|
|000018f0| 72 29 29 20 28 64 65 6c | 65 74 65 2d 66 69 6c 65 |r)) (del|ete-file|
|00001900| 20 76 32 29 20 28 28 65 | 72 72 6f 72 29 29 20 73 | v2) ((e|rror)) s|
|00001910| 65 74 2d 62 75 66 66 65 | 72 2d 6d 6f 64 69 66 69 |et-buffe|r-modifi|
|00001920| 65 64 2d 70 20 6d 65 73 | 73 61 67 65 20 66 6f 72 |ed-p mes|sage for|
|00001930| 6d 61 74 20 22 4e 6f 20 | 63 68 61 6e 67 65 73 20 |mat "No |changes |
|00001940| 74 6f 20 25 73 20 62 65 | 74 77 65 65 6e 20 25 73 |to %s be|tween %s|
|00001950| 20 61 6e 64 20 25 73 2e | 22 20 64 69 73 70 6c 61 | and %s.|" displa|
|00001960| 79 2d 62 75 66 66 65 72 | 5d 20 31 31 20 22 5c 0a |y-buffer|] 11 "\.|
|00001970| 46 6f 72 20 46 49 4c 45 | 2c 20 72 65 70 6f 72 74 |For FILE|, report|
|00001980| 20 64 69 66 66 73 20 62 | 65 74 77 65 65 6e 20 74 | diffs b|etween t|
|00001990| 77 6f 20 72 65 76 69 73 | 69 6f 6e 73 20 52 45 4c |wo revis|ions REL|
|000019a0| 31 20 61 6e 64 20 52 45 | 4c 32 20 6f 66 20 69 74 |1 and RE|L2 of it|
|000019b0| 2e 22 20 22 66 46 69 6c | 65 3a 20 5c 6e 73 4f 6c |." "fFil|e: \nsOl|
|000019c0| 64 65 72 20 76 65 72 73 | 69 6f 6e 3a 20 5c 6e 73 |der vers|ion: \ns|
|000019d0| 4e 65 77 65 72 20 76 65 | 72 73 69 6f 6e 3a 20 22 |Newer ve|rsion: "|
|000019e0| 5d 29 0a 28 66 73 65 74 | 20 27 73 63 2d 73 68 6f |]).(fset| 'sc-sho|
|000019f0| 77 2d 68 69 73 74 6f 72 | 79 20 23 5b 6e 69 6c 20 |w-histor|y #[nil |
|00001a00| 22 08 89 19 ac 86 c2 c3 | c4 20 5c 22 88 c5 09 21 |".......|. \"...!|
|00001a10| ac 84 c2 c6 21 88 c7 20 | 1e 08 8a 0e 08 71 88 c9 |....!.. |.....q..|
|00001a20| 20 88 ca 09 21 88 65 62 | 88 29 cb 0e 08 21 2a 87 | ...!.eb|.)...!*.|
|00001a30| 22 20 5b 62 75 66 66 65 | 72 2d 66 69 6c 65 2d 6e |" [buffe|r-file-n|
|00001a40| 61 6d 65 20 66 69 6c 65 | 20 65 72 72 6f 72 20 22 |ame file| error "|
|00001a50| 54 68 65 72 65 20 69 73 | 20 6e 6f 20 66 69 6c 65 |There is| no file|
|00001a60| 20 61 73 73 6f 63 69 61 | 74 65 64 20 77 69 74 68 | associa|ted with|
|00001a70| 20 62 75 66 66 65 72 20 | 25 73 22 20 62 75 66 66 | buffer |%s" buff|
|00001a80| 65 72 2d 6e 61 6d 65 20 | 73 63 2d 6c 6f 63 6b 2d |er-name |sc-lock-|
|00001a90| 69 6e 66 6f 20 22 54 68 | 65 20 66 69 6c 65 20 69 |info "Th|e file i|
|00001aa0| 73 20 6e 6f 74 20 72 65 | 67 69 73 74 65 72 65 64 |s not re|gistered|
|00001ab0| 20 69 6e 20 74 68 65 20 | 73 6f 75 72 63 65 20 63 | in the |source c|
|00001ac0| 6f 6e 74 72 6f 6c 20 73 | 79 73 74 65 6d 22 20 73 |ontrol s|ystem" s|
|00001ad0| 63 2d 74 65 6d 70 2d 62 | 75 66 66 65 72 20 62 75 |c-temp-b|uffer bu|
|00001ae0| 66 66 65 72 20 65 72 61 | 73 65 2d 62 75 66 66 65 |ffer era|se-buffe|
|00001af0| 72 20 73 63 2d 68 69 73 | 74 6f 72 79 20 64 69 73 |r sc-his|tory dis|
|00001b00| 70 6c 61 79 2d 62 75 66 | 66 65 72 5d 20 34 20 22 |play-buf|fer] 4 "|
|00001b10| 5c 0a 4c 69 73 74 20 74 | 68 65 20 65 64 69 74 20 |\.List t|he edit |
|00001b20| 68 69 73 74 6f 72 79 20 | 6f 66 20 74 68 65 20 63 |history |of the c|
|00001b30| 75 72 72 65 6e 74 20 62 | 75 66 66 65 72 2e 22 20 |urrent b|uffer." |
|00001b40| 6e 69 6c 5d 29 0a 28 66 | 73 65 74 20 27 73 63 2d |nil]).(f|set 'sc-|
|00001b50| 76 69 73 69 74 2d 70 72 | 65 76 69 6f 75 73 2d 72 |visit-pr|evious-r|
|00001b60| 65 76 69 73 69 6f 6e 20 | 23 5b 28 72 65 76 69 73 |evision |#[(revis|
|00001b70| 69 6f 6e 29 20 22 08 89 | 19 ac 86 c2 c3 c4 20 5c |ion) "..|...... \|
|00001b80| 22 88 c5 09 0e 06 5c 22 | c7 09 21 c8 0e 09 ca 0e |".....\"|..!.....|
|00001b90| 06 cb b0 06 1c 1e 0c cd | ce 0c 21 21 88 cf 20 88 |........|..!!.. .|
|00001ba0| d0 0e 0c 21 88 09 10 d1 | 20 88 d2 10 d3 d2 21 88 |...!....| .....!.|
|00001bb0| d4 20 88 d5 0e 0c 21 2b | 87 22 20 5b 62 75 66 66 |. ....!+|." [buff|
|00001bc0| 65 72 2d 66 69 6c 65 2d | 6e 61 6d 65 20 66 69 6c |er-file-|name fil|
|00001bd0| 65 20 65 72 72 6f 72 20 | 22 54 68 65 72 65 20 69 |e error |"There i|
|00001be0| 73 20 6e 6f 20 66 69 6c | 65 20 61 73 73 6f 63 69 |s no fil|e associ|
|00001bf0| 61 74 65 64 20 77 69 74 | 68 20 62 75 66 66 65 72 |ated wit|h buffer|
|00001c00| 20 25 73 22 20 62 75 66 | 66 65 72 2d 6e 61 6d 65 | %s" buf|fer-name|
|00001c10| 20 73 63 2d 67 65 74 2d | 76 65 72 73 69 6f 6e 2d | sc-get-|version-|
|00001c20| 69 6e 2d 74 65 6d 70 2d | 66 69 6c 65 20 72 65 76 |in-temp-|file rev|
|00001c30| 69 73 69 6f 6e 20 66 69 | 6c 65 2d 6e 61 6d 65 2d |ision fi|le-name-|
|00001c40| 6e 6f 6e 64 69 72 65 63 | 74 6f 72 79 20 22 3c 22 |nondirec|tory "<"|
|00001c50| 20 73 63 2d 67 65 6e 65 | 72 69 63 2d 6e 61 6d 65 | sc-gene|ric-name|
|00001c60| 20 22 20 22 20 22 3e 22 | 20 6f 74 68 65 72 2d 66 | " " ">"| other-f|
|00001c70| 69 6c 65 20 70 6f 70 2d | 74 6f 2d 62 75 66 66 65 |ile pop-|to-buffe|
|00001c80| 72 20 67 65 74 2d 62 75 | 66 66 65 72 2d 63 72 65 |r get-bu|ffer-cre|
|00001c90| 61 74 65 20 65 72 61 73 | 65 2d 62 75 66 66 65 72 |ate eras|e-buffer|
|00001ca0| 20 69 6e 73 65 72 74 2d | 66 69 6c 65 20 6e 6f 72 | insert-|file nor|
|00001cb0| 6d 61 6c 2d 6d 6f 64 65 | 20 6e 69 6c 20 73 65 74 |mal-mode| nil set|
|00001cc0| 2d 62 75 66 66 65 72 2d | 6d 6f 64 69 66 69 65 64 |-buffer-|modified|
|00001cd0| 2d 70 20 74 6f 67 67 6c | 65 2d 72 65 61 64 2d 6f |-p toggl|e-read-o|
|00001ce0| 6e 6c 79 20 64 65 6c 65 | 74 65 2d 66 69 6c 65 5d |nly dele|te-file]|
|00001cf0| 20 38 20 22 5c 0a 53 68 | 6f 77 20 61 20 70 72 65 | 8 "\.Sh|ow a pre|
|00001d00| 76 69 6f 75 73 20 72 65 | 76 69 73 69 6f 6e 20 6f |vious re|vision o|
|00001d10| 66 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 66 69 |f the cu|rrent fi|
|00001d20| 6c 65 22 20 22 73 53 68 | 6f 77 20 70 72 65 76 69 |le" "sSh|ow previ|
|00001d30| 6f 75 73 20 72 65 76 69 | 73 69 6f 6e 20 6e 75 6d |ous revi|sion num|
|00001d40| 62 65 72 3a 20 22 5d 29 | 0a 28 66 73 65 74 20 27 |ber: "])|.(fset '|
|00001d50| 73 63 2d 72 65 76 65 72 | 74 2d 66 69 6c 65 20 23 |sc-rever|t-file #|
|00001d60| 5b 6e 69 6c 20 22 08 19 | c2 c3 c4 09 5c 22 21 ad |[nil "..|....\"!.|
|00001d70| 8b c5 09 21 88 c6 c7 c8 | 5c 22 88 c9 20 29 87 22 |...!....|\".. )."|
|00001d80| 20 5b 62 75 66 66 65 72 | 2d 66 69 6c 65 2d 6e 61 | [buffer|-file-na|
|00001d90| 6d 65 20 66 69 6c 65 20 | 79 2d 6f 72 2d 6e 2d 70 |me file |y-or-n-p|
|00001da0| 20 66 6f 72 6d 61 74 20 | 22 52 65 76 65 72 74 20 | format |"Revert |
|00001db0| 66 69 6c 65 20 25 73 20 | 74 6f 20 6c 61 73 74 20 |file %s |to last |
|00001dc0| 63 68 65 63 6b 65 64 2d | 69 6e 20 72 65 76 69 73 |checked-|in revis|
|00001dd0| 69 6f 6e 3f 22 20 73 63 | 2d 72 65 76 65 72 74 20 |ion?" sc|-revert |
|00001de0| 72 65 76 65 72 74 2d 62 | 75 66 66 65 72 20 6e 69 |revert-b|uffer ni|
|00001df0| 6c 20 74 20 73 63 2d 6d | 6f 64 65 2d 6c 69 6e 65 |l t sc-m|ode-line|
|00001e00| 5d 20 34 20 22 5c 0a 52 | 65 76 65 72 74 20 74 68 |] 4 "\.R|evert th|
|00001e10| 65 20 63 75 72 72 65 6e | 74 20 62 75 66 66 65 72 |e curren|t buffer|
|00001e20| 27 73 20 66 69 6c 65 20 | 62 61 63 6b 20 74 6f 20 |'s file |back to |
|00001e30| 74 68 65 20 6c 61 73 74 | 20 73 61 76 65 64 20 76 |the last| saved v|
|00001e40| 65 72 73 69 6f 6e 2e 22 | 20 6e 69 6c 5d 29 0a 28 |ersion."| nil]).(|
|00001e50| 66 73 65 74 20 27 73 63 | 2d 6c 69 73 74 2d 61 6c |fset 'sc|-list-al|
|00001e60| 6c 2d 6c 6f 63 6b 65 64 | 2d 66 69 6c 65 73 20 23 |l-locked|-files #|
|00001e70| 5b 28 61 72 67 29 20 22 | 08 ad 82 c1 20 1a c3 c4 |[(arg) "|.... ...|
|00001e80| 5c 6e 5c 22 1d 8a 0d 71 | 88 65 62 88 65 64 55 ab |\n\"...q|.eb.edU.|
|00001e90| 85 c6 63 88 aa 83 c7 63 | 88 5c 6e ab 86 c8 5c 6e |..c....c|.\n...\n|
|00001ea0| c9 b1 03 88 ca 0e 0b cc | b1 03 88 29 cd 0d 21 2a |........|...)..!*|
|00001eb0| 87 22 20 5b 61 72 67 20 | 75 73 65 72 2d 6c 6f 67 |." [arg |user-log|
|00001ec0| 69 6e 2d 6e 61 6d 65 20 | 6c 6f 63 6b 65 72 20 73 |in-name |locker s|
|00001ed0| 63 2d 74 72 65 65 2d 77 | 61 6c 6b 20 73 63 2d 6c |c-tree-w|alk sc-l|
|00001ee0| 69 73 74 2d 66 69 6c 65 | 2d 69 66 2d 6c 6f 63 6b |ist-file|-if-lock|
|00001ef0| 65 64 20 62 75 66 66 65 | 72 20 22 4e 6f 20 66 69 |ed buffe|r "No fi|
|00001f00| 6c 65 73 20 6c 6f 63 6b | 65 64 20 22 20 22 46 69 |les lock|ed " "Fi|
|00001f10| 6c 65 73 20 6c 6f 63 6b | 65 64 20 22 20 22 62 79 |les lock|ed " "by|
|00001f20| 20 22 20 22 20 22 20 22 | 69 6e 20 22 20 64 65 66 | " " " "|in " def|
|00001f30| 61 75 6c 74 2d 64 69 72 | 65 63 74 6f 72 79 20 22 |ault-dir|ectory "|
|00001f40| 5c 6e 5c 6e 22 20 64 69 | 73 70 6c 61 79 2d 62 75 |\n\n" di|splay-bu|
|00001f50| 66 66 65 72 5d 20 33 20 | 22 5c 0a 4c 69 73 74 20 |ffer] 3 |"\.List |
|00001f60| 61 6c 6c 20 66 69 6c 65 | 73 20 63 75 72 72 65 6e |all file|s curren|
|00001f70| 74 6c 79 20 6c 6f 63 6b | 65 64 20 75 6e 64 65 72 |tly lock|ed under|
|00001f80| 20 74 68 65 20 72 65 76 | 69 73 69 6f 6e 20 63 6f | the rev|ision co|
|00001f90| 6e 74 72 6f 6c 20 73 79 | 73 74 65 6d 2e 0a 57 69 |ntrol sy|stem..Wi|
|00001fa0| 74 68 20 70 72 65 66 69 | 78 20 61 72 67 20 6c 69 |th prefi|x arg li|
|00001fb0| 73 74 20 6f 6e 6c 79 20 | 74 68 65 20 66 69 6c 65 |st only |the file|
|00001fc0| 73 20 6c 6f 63 6b 65 64 | 20 62 79 20 74 68 65 20 |s locked| by the |
|00001fd0| 75 73 65 72 2e 22 20 22 | 50 22 5d 29 0a 28 66 73 |user." "|P"]).(fs|
|00001fe0| 65 74 20 27 73 63 2d 6c | 69 73 74 2d 6c 6f 63 6b |et 'sc-l|ist-lock|
|00001ff0| 65 64 2d 66 69 6c 65 73 | 20 23 5b 6e 69 6c 20 22 |ed-files| #[nil "|
|00002000| c0 c1 21 87 22 20 5b 73 | 63 2d 6c 69 73 74 2d 61 |..!." [s|c-list-a|
|00002010| 6c 6c 2d 6c 6f 63 6b 65 | 64 2d 66 69 6c 65 73 20 |ll-locke|d-files |
|00002020| 34 5d 20 32 20 22 5c 0a | 4c 69 73 74 20 61 6c 6c |4] 2 "\.|List all|
|00002030| 20 66 69 6c 65 73 20 63 | 75 72 72 65 6e 74 6c 79 | files c|urrently|
|00002040| 20 6c 6f 63 6b 65 64 20 | 62 79 20 6d 65 22 20 6e | locked |by me" n|
|00002050| 69 6c 5d 29 0a 28 66 73 | 65 74 20 27 73 63 2d 6c |il]).(fs|et 'sc-l|
|00002060| 69 73 74 2d 72 65 67 69 | 73 74 65 72 65 64 2d 66 |ist-regi|stered-f|
|00002070| 69 6c 65 73 20 23 5b 6e | 69 6c 20 22 c0 c1 21 1a |iles #[n|il "..!.|
|00002080| 8a 5c 6e 71 88 65 64 55 | ab 8a c3 0c c5 0e 06 b1 |.\nq.edU|........|
|00002090| 04 88 aa 8c 65 62 88 c7 | 0c c5 0e 06 c8 b1 05 88 |....eb..|........|
|000020a0| 29 c9 5c 6e 21 29 87 22 | 20 5b 73 63 2d 74 72 65 |).\n!)."| [sc-tre|
|000020b0| 65 2d 77 61 6c 6b 20 73 | 63 2d 6c 69 73 74 2d 66 |e-walk s|c-list-f|
|000020c0| 69 6c 65 20 62 75 66 66 | 65 72 20 22 4e 6f 20 66 |ile buff|er "No f|
|000020d0| 69 6c 65 73 20 72 65 67 | 69 73 74 65 72 65 64 20 |iles reg|istered |
|000020e0| 69 6e 20 22 20 73 63 2d | 67 65 6e 65 72 69 63 2d |in " sc-|generic-|
|000020f0| 6e 61 6d 65 20 22 20 69 | 6e 20 22 20 64 65 66 61 |name " i|n " defa|
|00002100| 75 6c 74 2d 64 69 72 65 | 63 74 6f 72 79 20 22 46 |ult-dire|ctory "F|
|00002110| 69 6c 65 73 20 72 65 67 | 69 73 74 65 72 65 64 20 |iles reg|istered |
|00002120| 69 6e 20 22 20 22 5c 6e | 5c 6e 22 20 64 69 73 70 |in " "\n|\n" disp|
|00002130| 6c 61 79 2d 62 75 66 66 | 65 72 5d 20 35 20 22 5c |lay-buff|er] 5 "\|
|00002140| 0a 4c 69 73 74 20 61 6c | 6c 20 66 69 6c 65 73 20 |.List al|l files |
|00002150| 63 75 72 72 65 6e 74 6c | 79 20 72 65 67 69 73 74 |currentl|y regist|
|00002160| 65 72 65 64 20 75 6e 64 | 65 72 20 74 68 65 20 72 |ered und|er the r|
|00002170| 65 76 69 73 69 6f 6e 20 | 63 6f 6e 74 72 6f 6c 20 |evision |control |
|00002180| 73 79 73 74 65 6d 2e 22 | 20 6e 69 6c 5d 29 0a 28 |system."| nil]).(|
|00002190| 66 73 65 74 20 27 73 63 | 2d 75 70 64 61 74 65 2d |fset 'sc|-update-|
|000021a0| 64 69 72 65 63 74 6f 72 | 79 20 23 5b 6e 69 6c 20 |director|y #[nil |
|000021b0| 22 c0 20 88 c1 c2 21 1b | 8a 0b 71 88 65 62 88 65 |". ...!.|..q.eb.e|
|000021c0| 64 55 ab 88 c4 0d c6 b1 | 03 88 aa 86 c7 0d c6 b1 |dU......|........|
|000021d0| 03 88 29 c8 0b 21 29 87 | 22 20 5b 73 61 76 65 2d |..)..!).|" [save-|
|000021e0| 73 6f 6d 65 2d 62 75 66 | 66 65 72 73 20 73 63 2d |some-buf|fers sc-|
|000021f0| 74 72 65 65 2d 77 61 6c | 6b 20 73 63 2d 75 70 64 |tree-wal|k sc-upd|
|00002200| 61 74 65 2d 66 69 6c 65 | 20 62 75 66 66 65 72 20 |ate-file| buffer |
|00002210| 22 4e 6f 20 66 69 6c 65 | 73 20 6e 65 65 64 65 64 |"No file|s needed|
|00002220| 20 74 6f 20 62 65 20 75 | 70 64 61 74 65 64 20 69 | to be u|pdated i|
|00002230| 6e 20 22 20 64 65 66 61 | 75 6c 74 2d 64 69 72 65 |n " defa|ult-dire|
|00002240| 63 74 6f 72 79 20 22 5c | 6e 5c 6e 22 20 22 46 69 |ctory "\|n\n" "Fi|
|00002250| 6c 65 73 20 75 70 64 61 | 74 65 64 20 69 6e 20 22 |les upda|ted in "|
|00002260| 20 64 69 73 70 6c 61 79 | 2d 62 75 66 66 65 72 5d | display|-buffer]|
|00002270| 20 33 20 22 5c 0a 55 70 | 64 61 74 65 73 20 74 68 | 3 "\.Up|dates th|
|00002280| 65 20 63 75 72 72 65 6e | 74 20 64 69 72 65 63 74 |e curren|t direct|
|00002290| 6f 72 79 20 62 79 20 67 | 65 74 74 69 6e 67 20 74 |ory by g|etting t|
|000022a0| 68 65 20 6c 61 74 65 73 | 74 20 63 6f 70 69 65 73 |he lates|t copies|
|000022b0| 20 6f 66 20 74 68 65 20 | 66 69 6c 65 73 22 20 6e | of the |files" n|
|000022c0| 69 6c 5d 29 0a 28 66 73 | 65 74 20 27 73 63 2d 72 |il]).(fs|et 'sc-r|
|000022d0| 65 67 69 73 74 65 72 2d | 66 69 6c 65 20 23 5b 28 |egister-|file #[(|
|000022e0| 76 65 72 62 6f 73 65 29 | 20 22 08 89 19 ac 86 c2 |verbose)| "......|
|000022f0| c3 c4 20 5c 22 88 c5 09 | 21 c6 1e 07 89 1e 08 ab |.. \"...|!.......|
|00002300| 86 c2 c9 0e 5c 6e 5c 22 | 88 cb 20 ab 90 0e 0c ac |....\n\"|.. .....|
|00002310| 89 cd ce cf c4 20 5c 22 | 21 ab 83 d0 20 88 0e 11 |..... \"|!... ...|
|00002320| ab 85 d2 d3 21 16 07 d4 | 09 0e 07 5c 22 88 d5 c6 |....!...|...\"...|
|00002330| d6 5c 22 88 d7 20 2b 87 | 22 20 5b 62 75 66 66 65 |.\".. +.|" [buffe|
|00002340| 72 2d 66 69 6c 65 2d 6e | 61 6d 65 20 66 69 6c 65 |r-file-n|ame file|
|00002350| 20 65 72 72 6f 72 20 22 | 54 68 65 72 65 20 69 73 | error "|There is|
|00002360| 20 6e 6f 20 66 69 6c 65 | 20 61 73 73 6f 63 69 61 | no file| associa|
|00002370| 74 65 64 20 77 69 74 68 | 20 62 75 66 66 65 72 20 |ted with| buffer |
|00002380| 25 73 22 20 62 75 66 66 | 65 72 2d 6e 61 6d 65 20 |%s" buff|er-name |
|00002390| 73 63 2d 6c 6f 63 6b 2d | 69 6e 66 6f 20 6e 69 6c |sc-lock-|info nil|
|000023a0| 20 72 65 76 69 73 69 6f | 6e 20 6c 6f 63 6b 2d 69 | revisio|n lock-i|
|000023b0| 6e 66 6f 20 22 54 68 69 | 73 20 66 69 6c 65 20 69 |nfo "Thi|s file i|
|000023c0| 73 20 61 6c 72 65 61 64 | 79 20 72 65 67 69 73 74 |s alread|y regist|
|000023d0| 65 72 65 64 20 69 6e 74 | 6f 20 25 73 22 20 73 63 |ered int|o %s" sc|
|000023e0| 2d 67 65 6e 65 72 69 63 | 2d 6e 61 6d 65 20 62 75 |-generic|-name bu|
|000023f0| 66 66 65 72 2d 6d 6f 64 | 69 66 69 65 64 2d 70 20 |ffer-mod|ified-p |
|00002400| 73 63 2d 6d 6f 64 65 2d | 65 78 70 65 72 74 20 79 |sc-mode-|expert y|
|00002410| 2d 6f 72 2d 6e 2d 70 20 | 66 6f 72 6d 61 74 20 22 |-or-n-p |format "|
|00002420| 25 73 20 68 61 73 20 62 | 65 65 6e 20 6d 6f 64 69 |%s has b|een modi|
|00002430| 66 69 65 64 2e 20 57 72 | 69 74 65 20 69 74 20 6f |fied. Wr|ite it o|
|00002440| 75 74 3f 20 22 20 73 61 | 76 65 2d 62 75 66 66 65 |ut? " sa|ve-buffe|
|00002450| 72 20 76 65 72 62 6f 73 | 65 20 72 65 61 64 2d 73 |r verbos|e read-s|
|00002460| 74 72 69 6e 67 20 22 49 | 6e 69 74 69 61 6c 20 52 |tring "I|nitial R|
|00002470| 65 76 69 73 69 6f 6e 20 | 4e 75 6d 62 65 72 3a 20 |evision |Number: |
|00002480| 22 20 73 63 2d 72 65 67 | 69 73 74 65 72 20 72 65 |" sc-reg|ister re|
|00002490| 76 65 72 74 2d 62 75 66 | 66 65 72 20 74 20 73 63 |vert-buf|fer t sc|
|000024a0| 2d 6d 6f 64 65 2d 6c 69 | 6e 65 5d 20 35 20 22 5c |-mode-li|ne] 5 "\|
|000024b0| 0a 52 65 67 69 73 74 65 | 72 20 74 68 65 20 66 69 |.Registe|r the fi|
|000024c0| 6c 65 20 76 69 73 69 74 | 65 64 20 62 79 20 74 68 |le visit|ed by th|
|000024d0| 65 20 63 75 72 72 65 6e | 74 20 62 75 66 66 65 72 |e curren|t buffer|
|000024e0| 20 69 6e 74 6f 20 73 6f | 75 72 63 65 20 63 6f 6e | into so|urce con|
|000024f0| 74 72 6f 6c 2e 0a 50 72 | 65 66 69 78 20 61 72 67 |trol..Pr|efix arg|
|00002500| 75 6d 65 6e 74 20 72 65 | 67 69 73 74 65 72 20 69 |ument re|gister i|
|00002510| 74 20 75 6e 64 65 72 20 | 61 6e 20 65 78 70 6c 69 |t under |an expli|
|00002520| 63 69 74 20 72 65 76 69 | 73 69 6f 6e 20 6e 75 6d |cit revi|sion num|
|00002530| 62 65 72 2e 22 20 22 50 | 22 5d 29 0a 28 66 73 65 |ber." "P|"]).(fse|
|00002540| 74 20 27 73 63 2d 72 65 | 6e 61 6d 65 2d 66 69 6c |t 'sc-re|name-fil|
|00002550| 65 20 23 5b 28 6f 6c 64 | 20 6e 65 77 29 20 22 c0 |e #[(old| new) ".|
|00002560| 09 21 89 1a ab 8b 5c 6e | c3 20 98 ac 85 c4 c5 5c |.!....\n|. .....\|
|00002570| 6e 5c 22 88 29 0e 06 ab | 87 c7 09 0e 08 c9 23 88 |n\".)...|......#.|
|00002580| ca 09 0e 08 5c 22 87 22 | 20 5b 73 63 2d 6c 6f 63 |....\"."| [sc-loc|
|00002590| 6b 69 6e 67 2d 75 73 65 | 72 20 6f 6c 64 20 6f 77 |king-use|r old ow|
|000025a0| 6e 65 72 20 75 73 65 72 | 2d 6c 6f 67 69 6e 2d 6e |ner user|-login-n|
|000025b0| 61 6d 65 20 65 72 72 6f | 72 20 22 53 6f 72 72 79 |ame erro|r "Sorry|
|000025c0| 2c 20 25 73 20 68 61 73 | 20 74 68 61 74 20 66 69 |, %s has| that fi|
|000025d0| 6c 65 20 63 68 65 63 6b | 65 64 20 6f 75 74 22 20 |le check|ed out" |
|000025e0| 73 63 2d 63 61 6e 2d 68 | 61 63 6b 2d 64 69 72 20 |sc-can-h|ack-dir |
|000025f0| 72 65 6e 61 6d 65 2d 66 | 69 6c 65 20 6e 65 77 20 |rename-f|ile new |
|00002600| 74 20 73 63 2d 72 65 6e | 61 6d 65 5d 20 35 20 22 |t sc-ren|ame] 5 "|
|00002610| 5c 0a 52 65 6e 61 6d 65 | 20 61 20 66 69 6c 65 2c |\.Rename| a file,|
|00002620| 20 74 61 6b 69 6e 67 20 | 69 74 73 20 73 6f 75 72 | taking |its sour|
|00002630| 63 65 20 63 6f 6e 74 72 | 6f 6c 20 61 72 63 68 69 |ce contr|ol archi|
|00002640| 76 65 20 77 69 74 68 20 | 69 74 2e 22 20 22 66 4f |ve with |it." "fO|
|00002650| 6c 64 20 6e 61 6d 65 3a | 20 5c 6e 46 4e 65 77 20 |ld name:| \nFNew |
|00002660| 6e 61 6d 65 3a 20 22 5d | 29 0a 28 66 73 65 74 20 |name: "]|).(fset |
|00002670| 27 73 63 2d 72 65 6e 61 | 6d 65 2d 74 68 69 73 2d |'sc-rena|me-this-|
|00002680| 66 69 6c 65 20 23 5b 28 | 6e 65 77 29 20 22 c0 20 |file #[(|new) ". |
|00002690| ab 8c c1 c2 c3 c4 20 5c | 22 21 ab 83 c5 20 88 c6 |...... \|"!... ..|
|000026a0| 0e 07 0e 08 5c 22 88 70 | c9 0e 08 21 1e 5c 6e 1e |....\".p|...!.\n.|
|000026b0| 0b cc cd 20 0e 5c 6e 5c | 22 88 ce 70 21 88 cf 0e |... .\n\|"..p!...|
|000026c0| 0b 21 2a 87 22 20 5b 62 | 75 66 66 65 72 2d 6d 6f |.!*." [b|uffer-mo|
|000026d0| 64 69 66 69 65 64 2d 70 | 20 79 2d 6f 72 2d 6e 2d |dified-p| y-or-n-|
|000026e0| 70 20 66 6f 72 6d 61 74 | 20 22 25 73 20 68 61 73 |p format| "%s has|
|000026f0| 20 62 65 65 6e 20 6d 6f | 64 69 66 69 65 64 2e 20 | been mo|dified. |
|00002700| 57 72 69 74 65 20 69 74 | 20 6f 75 74 3f 20 22 20 |Write it| out? " |
|00002710| 62 75 66 66 65 72 2d 6e | 61 6d 65 20 73 61 76 65 |buffer-n|ame save|
|00002720| 2d 62 75 66 66 65 72 20 | 73 63 2d 72 65 6e 61 6d |-buffer |sc-renam|
|00002730| 65 2d 66 69 6c 65 20 62 | 75 66 66 65 72 2d 66 69 |e-file b|uffer-fi|
|00002740| 6c 65 2d 6e 61 6d 65 20 | 6e 65 77 20 66 69 6e 64 |le-name |new find|
|00002750| 2d 66 69 6c 65 2d 6e 6f | 73 65 6c 65 63 74 20 6e |-file-no|select n|
|00002760| 65 77 2d 62 75 66 66 65 | 72 20 6f 6c 64 2d 62 75 |ew-buffe|r old-bu|
|00002770| 66 66 65 72 20 73 65 74 | 2d 77 69 6e 64 6f 77 2d |ffer set|-window-|
|00002780| 62 75 66 66 65 72 20 73 | 65 6c 65 63 74 65 64 2d |buffer s|elected-|
|00002790| 77 69 6e 64 6f 77 20 70 | 6f 70 2d 74 6f 2d 62 75 |window p|op-to-bu|
|000027a0| 66 66 65 72 20 62 75 72 | 79 2d 62 75 66 66 65 72 |ffer bur|y-buffer|
|000027b0| 5d 20 34 20 22 5c 0a 52 | 65 6e 61 6d 65 20 74 68 |] 4 "\.R|ename th|
|000027c0| 65 20 66 69 6c 65 20 6f | 66 20 74 68 65 20 63 75 |e file o|f the cu|
|000027d0| 72 72 65 6e 74 20 62 75 | 66 66 65 72 2c 20 74 61 |rrent bu|ffer, ta|
|000027e0| 6b 69 6e 67 20 69 74 73 | 20 73 6f 75 72 63 65 20 |king its| source |
|000027f0| 63 6f 6e 74 72 6f 6c 20 | 61 72 63 68 69 76 65 20 |control |archive |
|00002800| 77 69 74 68 20 69 74 22 | 20 22 46 4e 65 77 20 6e |with it"| "FNew n|
|00002810| 61 6d 65 3a 20 22 5d 29 | 0a 28 64 65 66 76 61 72 |ame: "])|.(defvar|
|00002820| 20 73 63 2d 67 65 6e 65 | 72 69 63 2d 6c 6f 63 6b | sc-gene|ric-lock|
|00002830| 2d 69 6e 66 6f 20 6e 69 | 6c 20 22 5c 0a 46 75 6e |-info ni|l "\.Fun|
|00002840| 63 74 69 6f 6e 20 74 6f | 20 69 6d 70 6c 65 6d 65 |ction to| impleme|
|00002850| 6e 74 20 73 63 2d 6c 6f | 63 6b 2d 69 6e 66 6f 22 |nt sc-lo|ck-info"|
|00002860| 29 0a 28 66 73 65 74 20 | 27 73 63 2d 6c 6f 63 6b |).(fset |'sc-lock|
|00002870| 2d 69 6e 66 6f 20 23 5b | 28 66 69 6c 65 29 20 22 |-info #[|(file) "|
|00002880| 08 09 21 87 22 20 5b 73 | 63 2d 67 65 6e 65 72 69 |..!." [s|c-generi|
|00002890| 63 2d 6c 6f 63 6b 2d 69 | 6e 66 6f 20 66 69 6c 65 |c-lock-i|nfo file|
|000028a0| 5d 20 32 20 22 5c 0a 52 | 65 74 75 72 6e 20 61 20 |] 2 "\.R|eturn a |
|000028b0| 6c 69 73 74 20 6f 66 20 | 74 68 65 20 63 75 72 72 |list of |the curr|
|000028c0| 65 6e 74 20 6c 6f 63 6b | 65 72 20 61 6e 64 20 63 |ent lock|er and c|
|000028d0| 75 72 72 65 6e 74 20 6c | 6f 63 6b 65 64 20 72 65 |urrent l|ocked re|
|000028e0| 76 69 73 69 6f 6e 20 66 | 6f 72 20 46 49 4c 45 2e |vision f|or FILE.|
|000028f0| 0a 52 65 74 75 72 6e 73 | 20 4e 49 4c 20 69 66 20 |.Returns| NIL if |
|00002900| 46 49 4c 45 20 69 73 20 | 6e 6f 74 20 72 65 67 69 |FILE is |not regi|
|00002910| 73 74 65 72 65 64 20 69 | 6e 20 74 68 65 20 73 6f |stered i|n the so|
|00002920| 75 72 63 65 20 63 6f 6e | 74 72 6f 6c 20 73 79 73 |urce con|trol sys|
|00002930| 74 65 6d 2e 0a 52 65 74 | 75 72 6e 20 28 4e 49 4c |tem..Ret|urn (NIL|
|00002940| 20 4e 49 4c 29 20 69 66 | 20 46 49 4c 45 20 69 73 | NIL) if| FILE is|
|00002950| 20 72 65 67 69 73 74 65 | 72 65 64 20 62 75 74 20 | registe|red but |
|00002960| 6e 6f 74 20 6c 6f 63 6b | 65 64 2e 0a 52 65 74 75 |not lock|ed..Retu|
|00002970| 72 6e 20 28 6c 6f 63 6b | 65 72 20 72 65 76 69 73 |rn (lock|er revis|
|00002980| 69 6f 6e 29 20 69 66 20 | 66 69 6c 65 20 69 73 20 |ion) if |file is |
|00002990| 6c 6f 63 6b 65 64 2e 22 | 5d 29 0a 28 64 65 66 76 |locked."|]).(defv|
|000029a0| 61 72 20 73 63 2d 67 65 | 6e 65 72 69 63 2d 72 65 |ar sc-ge|neric-re|
|000029b0| 67 69 73 74 65 72 20 6e | 69 6c 20 22 5c 0a 46 75 |gister n|il "\.Fu|
|000029c0| 6e 63 74 69 6f 6e 20 74 | 6f 20 69 6d 70 6c 65 6d |nction t|o implem|
|000029d0| 65 6e 74 20 73 63 2d 72 | 65 67 69 73 74 65 72 22 |ent sc-r|egister"|
|000029e0| 29 0a 28 66 73 65 74 20 | 27 73 63 2d 72 65 67 69 |).(fset |'sc-regi|
|000029f0| 73 74 65 72 20 23 5b 28 | 66 69 6c 65 20 72 65 76 |ster #[(|file rev|
|00002a00| 69 73 69 6f 6e 29 20 22 | 08 09 5c 6e 5c 22 87 22 |ision) "|..\n\"."|
|00002a10| 20 5b 73 63 2d 67 65 6e | 65 72 69 63 2d 72 65 67 | [sc-gen|eric-reg|
|00002a20| 69 73 74 65 72 20 66 69 | 6c 65 20 72 65 76 69 73 |ister fi|le revis|
|00002a30| 69 6f 6e 5d 20 33 20 22 | 5c 0a 52 65 67 69 73 74 |ion] 3 "|\.Regist|
|00002a40| 65 72 20 46 49 4c 45 20 | 75 6e 64 65 72 20 73 6f |er FILE |under so|
|00002a50| 75 72 63 65 20 63 6f 6e | 74 72 6f 6c 20 77 69 74 |urce con|trol wit|
|00002a60| 68 20 69 6e 69 74 69 61 | 6c 20 72 65 76 69 73 69 |h initia|l revisi|
|00002a70| 6f 6e 20 52 45 56 49 53 | 49 4f 4e 2e 22 5d 29 0a |on REVIS|ION."]).|
|00002a80| 28 64 65 66 76 61 72 20 | 73 63 2d 67 65 6e 65 72 |(defvar |sc-gener|
|00002a90| 69 63 2d 63 68 65 63 6b | 2d 6f 75 74 20 6e 69 6c |ic-check|-out nil|
|00002aa0| 20 22 5c 0a 46 75 6e 63 | 74 69 6f 6e 20 74 6f 20 | "\.Func|tion to |
|00002ab0| 69 6d 70 6c 65 6d 65 6e | 74 20 73 63 2d 63 68 65 |implemen|t sc-che|
|00002ac0| 63 6b 2d 6f 75 74 22 29 | 0a 28 66 73 65 74 20 27 |ck-out")|.(fset '|
|00002ad0| 73 63 2d 63 68 65 63 6b | 2d 6f 75 74 20 23 5b 28 |sc-check|-out #[(|
|00002ae0| 66 69 6c 65 20 6c 6f 63 | 6b 70 29 20 22 08 09 5c |file loc|kp) "..\|
|00002af0| 6e 5c 22 87 22 20 5b 73 | 63 2d 67 65 6e 65 72 69 |n\"." [s|c-generi|
|00002b00| 63 2d 63 68 65 63 6b 2d | 6f 75 74 20 66 69 6c 65 |c-check-|out file|
|00002b10| 20 6c 6f 63 6b 70 5d 20 | 33 20 22 5c 0a 43 68 65 | lockp] |3 "\.Che|
|00002b20| 63 6b 73 20 6f 75 74 20 | 74 68 65 20 6c 61 74 65 |cks out |the late|
|00002b30| 73 74 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 46 49 |st versi|on of FI|
|00002b40| 4c 45 2e 20 20 0a 49 66 | 20 4c 4f 43 4b 50 20 69 |LE. .If| LOCKP i|
|00002b50| 73 20 6e 6f 74 20 4e 49 | 4c 2c 20 46 49 4c 45 20 |s not NI|L, FILE |
|00002b60| 69 73 20 61 6c 73 6f 20 | 6c 6f 63 6b 65 64 2e 22 |is also |locked."|
|00002b70| 5d 29 0a 28 64 65 66 76 | 61 72 20 73 63 2d 67 65 |]).(defv|ar sc-ge|
|00002b80| 6e 65 72 69 63 2d 67 65 | 74 2d 76 65 72 73 69 6f |neric-ge|t-versio|
|00002b90| 6e 20 6e 69 6c 20 22 5c | 0a 46 75 6e 63 74 69 6f |n nil "\|.Functio|
|00002ba0| 6e 20 74 6f 20 69 6d 70 | 6c 65 6d 65 6e 74 20 73 |n to imp|lement s|
|00002bb0| 63 2d 67 65 74 2d 76 65 | 72 73 69 6f 6e 22 29 0a |c-get-ve|rsion").|
|00002bc0| 28 66 73 65 74 20 27 73 | 63 2d 67 65 74 2d 76 65 |(fset 's|c-get-ve|
|00002bd0| 72 73 69 6f 6e 20 23 5b | 28 66 69 6c 65 20 62 75 |rsion #[|(file bu|
|00002be0| 66 66 65 72 20 72 65 76 | 69 73 69 6f 6e 29 20 22 |ffer rev|ision) "|
|00002bf0| 08 09 5c 6e 0b 23 87 22 | 20 5b 73 63 2d 67 65 6e |..\n.#."| [sc-gen|
|00002c00| 65 72 69 63 2d 67 65 74 | 2d 76 65 72 73 69 6f 6e |eric-get|-version|
|00002c10| 20 66 69 6c 65 20 62 75 | 66 66 65 72 20 72 65 76 | file bu|ffer rev|
|00002c20| 69 73 69 6f 6e 5d 20 34 | 20 22 5c 0a 49 6e 73 65 |ision] 4| "\.Inse|
|00002c30| 72 74 20 61 20 70 72 65 | 76 69 6f 75 73 20 72 65 |rt a pre|vious re|
|00002c40| 76 69 73 6f 6e 20 6f 66 | 20 46 49 4c 45 20 69 6e |vison of| FILE in|
|00002c50| 20 42 55 46 46 45 52 2e | 20 20 0a 52 45 56 49 53 | BUFFER.| .REVIS|
|00002c60| 49 4f 4e 20 69 73 20 74 | 68 65 20 72 65 76 69 73 |ION is t|he revis|
|00002c70| 69 6f 6e 20 6e 75 6d 62 | 65 72 20 72 65 71 75 65 |ion numb|er reque|
|00002c80| 73 74 65 64 2e 22 5d 29 | 0a 28 64 65 66 76 61 72 |sted."])|.(defvar|
|00002c90| 20 73 63 2d 67 65 6e 65 | 72 69 63 2d 63 68 65 63 | sc-gene|ric-chec|
|00002ca0| 6b 2d 69 6e 20 6e 69 6c | 20 22 5c 0a 46 75 6e 63 |k-in nil| "\.Func|
|00002cb0| 74 69 6f 6e 20 74 6f 20 | 69 6d 70 6c 65 6d 65 6e |tion to |implemen|
|00002cc0| 74 20 73 63 2d 63 68 65 | 63 6b 2d 69 6e 22 29 0a |t sc-che|ck-in").|
|00002cd0| 28 66 73 65 74 20 27 73 | 63 2d 63 68 65 63 6b 2d |(fset 's|c-check-|
|00002ce0| 69 6e 20 23 5b 28 66 69 | 6c 65 20 72 65 76 69 73 |in #[(fi|le revis|
|00002cf0| 69 6f 6e 20 6d 65 73 73 | 61 67 65 29 20 22 08 09 |ion mess|age) "..|
|00002d00| 5c 6e 0b 23 87 22 20 5b | 73 63 2d 67 65 6e 65 72 |\n.#." [|sc-gener|
|00002d10| 69 63 2d 63 68 65 63 6b | 2d 69 6e 20 66 69 6c 65 |ic-check|-in file|
|00002d20| 20 72 65 76 69 73 69 6f | 6e 20 6d 65 73 73 61 67 | revisio|n messag|
|00002d30| 65 5d 20 34 20 22 5c 0a | 43 68 65 63 6b 20 69 6e |e] 4 "\.|Check in|
|00002d40| 20 46 49 4c 45 20 77 69 | 74 68 20 72 65 76 69 73 | FILE wi|th revis|
|00002d50| 69 6f 6e 20 52 45 56 49 | 53 49 4f 4e 2e 0a 4d 45 |ion REVI|SION..ME|
|00002d60| 53 53 41 47 45 20 69 73 | 20 61 20 73 74 72 69 6e |SSAGE is| a strin|
|00002d70| 67 20 64 65 73 63 72 69 | 62 69 6e 67 20 74 68 65 |g descri|bing the|
|00002d80| 20 63 68 61 6e 67 65 73 | 2e 22 5d 29 0a 28 64 65 | changes|."]).(de|
|00002d90| 66 76 61 72 20 73 63 2d | 67 65 6e 65 72 69 63 2d |fvar sc-|generic-|
|00002da0| 68 69 73 74 6f 72 79 20 | 6e 69 6c 20 22 5c 0a 46 |history |nil "\.F|
|00002db0| 75 6e 63 74 69 6f 6e 20 | 74 6f 20 69 6d 70 6c 65 |unction |to imple|
|00002dc0| 6d 65 6e 74 20 73 63 2d | 68 69 73 74 6f 72 79 22 |ment sc-|history"|
|00002dd0| 29 0a 28 66 73 65 74 20 | 27 73 63 2d 68 69 73 74 |).(fset |'sc-hist|
|00002de0| 6f 72 79 20 23 5b 28 66 | 69 6c 65 29 20 22 08 09 |ory #[(f|ile) "..|
|00002df0| 21 87 22 20 5b 73 63 2d | 67 65 6e 65 72 69 63 2d |!." [sc-|generic-|
|00002e00| 68 69 73 74 6f 72 79 20 | 66 69 6c 65 5d 20 32 20 |history |file] 2 |
|00002e10| 22 5c 0a 49 6e 73 65 72 | 74 20 74 68 65 20 65 64 |"\.Inser|t the ed|
|00002e20| 69 74 20 68 69 73 74 6f | 72 79 20 6f 66 20 46 49 |it histo|ry of FI|
|00002e30| 4c 45 20 69 6e 20 74 68 | 65 20 63 75 72 72 65 6e |LE in th|e curren|
|00002e40| 74 20 62 75 66 66 65 72 | 2e 22 5d 29 0a 28 64 65 |t buffer|."]).(de|
|00002e50| 66 76 61 72 20 73 63 2d | 67 65 6e 65 72 69 63 2d |fvar sc-|generic-|
|00002e60| 74 72 65 65 2d 6c 69 73 | 74 20 6e 69 6c 20 22 5c |tree-lis|t nil "\|
|00002e70| 0a 46 75 6e 63 74 69 6f | 6e 20 74 6f 20 69 6d 70 |.Functio|n to imp|
|00002e80| 6c 65 6d 65 6e 74 20 73 | 63 2d 74 72 65 65 2d 6c |lement s|c-tree-l|
|00002e90| 69 73 74 22 29 0a 28 66 | 73 65 74 20 27 73 63 2d |ist").(f|set 'sc-|
|00002ea0| 74 72 65 65 2d 6c 69 73 | 74 20 23 5b 6e 69 6c 20 |tree-lis|t #[nil |
|00002eb0| 22 08 20 87 22 20 5b 73 | 63 2d 67 65 6e 65 72 69 |". ." [s|c-generi|
|00002ec0| 63 2d 74 72 65 65 2d 6c | 69 73 74 5d 20 31 20 22 |c-tree-l|ist] 1 "|
|00002ed0| 5c 0a 4c 69 73 74 20 69 | 6e 20 74 68 65 20 63 75 |\.List i|n the cu|
|00002ee0| 72 72 65 6e 74 20 62 75 | 66 66 65 72 20 74 68 65 |rrent bu|ffer the|
|00002ef0| 20 66 69 6c 65 73 20 72 | 65 67 69 73 74 65 72 65 | files r|egistere|
|00002f00| 64 20 69 6e 20 74 68 65 | 20 73 6f 75 72 63 65 20 |d in the| source |
|00002f10| 63 6f 6e 74 72 6f 6c 20 | 73 79 73 74 65 6d 22 5d |control |system"]|
|00002f20| 29 0a 28 64 65 66 76 61 | 72 20 73 63 2d 67 65 6e |).(defva|r sc-gen|
|00002f30| 65 72 69 63 2d 6e 65 77 | 2d 72 65 76 69 73 69 6f |eric-new|-revisio|
|00002f40| 6e 2d 70 20 6e 69 6c 20 | 22 5c 0a 46 75 6e 63 74 |n-p nil |"\.Funct|
|00002f50| 69 6f 6e 20 74 6f 20 69 | 6d 70 6c 65 6d 65 6e 74 |ion to i|mplement|
|00002f60| 20 73 63 2d 6e 65 77 2d | 72 65 76 69 73 69 6f 6e | sc-new-|revision|
|00002f70| 2d 70 22 29 0a 28 66 73 | 65 74 20 27 73 63 2d 6e |-p").(fs|et 'sc-n|
|00002f80| 65 77 2d 72 65 76 69 73 | 69 6f 6e 2d 70 20 23 5b |ew-revis|ion-p #[|
|00002f90| 28 66 69 6c 65 29 20 22 | 08 09 21 87 22 20 5b 73 |(file) "|..!." [s|
|00002fa0| 63 2d 67 65 6e 65 72 69 | 63 2d 6e 65 77 2d 72 65 |c-generi|c-new-re|
|00002fb0| 76 69 73 69 6f 6e 2d 70 | 20 66 69 6c 65 5d 20 32 |vision-p| file] 2|
|00002fc0| 20 22 5c 0a 54 72 75 65 | 20 69 66 20 61 20 6e 65 | "\.True| if a ne|
|00002fd0| 77 20 72 65 76 69 73 69 | 6f 6e 20 6f 66 20 46 49 |w revisi|on of FI|
|00002fe0| 4c 45 20 77 61 73 20 63 | 68 65 63 6b 65 64 20 69 |LE was c|hecked i|
|00002ff0| 6e 20 73 69 6e 63 65 20 | 77 65 20 6c 61 73 74 20 |n since |we last |
|00003000| 67 6f 74 20 61 20 63 6f | 70 79 20 6f 66 20 69 74 |got a co|py of it|
|00003010| 22 5d 29 0a 28 64 65 66 | 76 61 72 20 73 63 2d 67 |"]).(def|var sc-g|
|00003020| 65 6e 65 72 69 63 2d 72 | 65 76 65 72 74 20 6e 69 |eneric-r|evert ni|
|00003030| 6c 20 22 5c 0a 46 75 6e | 63 74 69 6f 6e 20 74 6f |l "\.Fun|ction to|
|00003040| 20 69 6d 70 6c 65 6d 65 | 6e 74 20 73 63 2d 72 65 | impleme|nt sc-re|
|00003050| 76 65 72 74 22 29 0a 28 | 66 73 65 74 20 27 73 63 |vert").(|fset 'sc|
|00003060| 2d 72 65 76 65 72 74 20 | 23 5b 28 66 69 6c 65 29 |-revert |#[(file)|
|00003070| 20 22 08 09 21 87 22 20 | 5b 73 63 2d 67 65 6e 65 | "..!." |[sc-gene|
|00003080| 72 69 63 2d 72 65 76 65 | 72 74 20 66 69 6c 65 5d |ric-reve|rt file]|
|00003090| 20 32 20 22 5c 0a 43 61 | 6e 63 65 6c 20 61 20 63 | 2 "\.Ca|ncel a c|
|000030a0| 68 65 63 6b 20 6f 75 74 | 20 6f 66 20 46 49 4c 45 |heck out| of FILE|
|000030b0| 20 61 6e 64 20 67 65 74 | 20 62 61 63 6b 20 74 68 | and get| back th|
|000030c0| 65 20 6c 61 74 65 73 74 | 20 63 68 65 63 6b 65 64 |e latest| checked|
|000030d0| 20 69 6e 20 76 65 72 73 | 69 6f 6e 22 5d 29 0a 28 | in vers|ion"]).(|
|000030e0| 64 65 66 76 61 72 20 73 | 63 2d 67 65 6e 65 72 69 |defvar s|c-generi|
|000030f0| 63 2d 72 65 6e 61 6d 65 | 20 6e 69 6c 20 22 5c 0a |c-rename| nil "\.|
|00003100| 46 75 6e 63 74 69 6f 6e | 20 74 6f 20 69 6d 70 6c |Function| to impl|
|00003110| 65 6d 65 6e 74 20 73 63 | 2d 72 65 6e 61 6d 65 22 |ement sc|-rename"|
|00003120| 29 0a 28 66 73 65 74 20 | 27 73 63 2d 72 65 6e 61 |).(fset |'sc-rena|
|00003130| 6d 65 20 23 5b 28 6f 6c | 64 20 6e 65 77 29 20 22 |me #[(ol|d new) "|
|00003140| 08 09 5c 6e 5c 22 87 22 | 20 5b 73 63 2d 67 65 6e |..\n\"."| [sc-gen|
|00003150| 65 72 69 63 2d 72 65 6e | 61 6d 65 20 6f 6c 64 20 |eric-ren|ame old |
|00003160| 6e 65 77 5d 20 33 20 22 | 5c 0a 52 65 6e 61 6d 65 |new] 3 "|\.Rename|
|00003170| 20 74 68 65 20 73 6f 75 | 72 63 65 20 63 6f 6e 74 | the sou|rce cont|
|00003180| 72 6f 6c 20 61 72 63 68 | 69 76 65 73 20 66 6f 72 |rol arch|ives for|
|00003190| 20 4f 4c 44 20 74 6f 20 | 4e 45 57 22 5d 29 0a 28 | OLD to |NEW"]).(|
|000031a0| 64 65 66 76 61 72 20 73 | 63 2d 6d 65 6e 75 20 6e |defvar s|c-menu n|
|000031b0| 69 6c 20 22 5c 0a 4d 65 | 6e 75 20 74 6f 20 75 73 |il "\.Me|nu to us|
|000031c0| 65 22 29 0a 28 66 73 65 | 74 20 27 73 63 2d 64 6f |e").(fse|t 'sc-do|
|000031d0| 2d 63 6f 6d 6d 61 6e 64 | 20 23 5b 28 62 75 66 66 |-command| #[(buff|
|000031e0| 65 72 20 6d 65 73 73 61 | 67 65 20 63 6f 6d 6d 61 |er messa|ge comma|
|000031f0| 6e 64 20 66 69 6c 65 20 | 73 63 2d 66 69 6c 65 20 |nd file |sc-file |
|00003200| 26 72 65 73 74 20 66 6c | 61 67 73 29 20 22 c0 09 |&rest fl|ags) "..|
|00003210| 21 11 c2 c3 c4 5c 6e 09 | 23 21 88 8a c5 0e 06 21 |!....\n.|#!.....!|
|00003220| 71 88 c7 20 88 c8 0e 09 | 09 ad 83 0e 5c 6e 43 5c |q.. ....|....\nC\|
|00003230| 22 16 09 cb cc 0e 09 5c | 22 16 09 cd 09 ae 81 ce |"......\|".......|
|00003240| 21 1e 0f d0 d1 0e 12 cc | d3 cc 0e 09 26 06 2a d4 |!.......|....&.*.|
|00003250| 3d 89 1e 15 ab 88 c2 c3 | d6 5c 6e 5c 22 21 aa a4 |=.......|.\n\"!..|
|00003260| 8a 0e 06 71 88 65 62 88 | 0e 12 63 88 d7 d8 0e 09 |...q.eb.|..c.....|
|00003270| 5c 22 88 d9 63 88 65 62 | 88 29 da 0e 06 21 88 db |\"..c.eb|.)...!..|
|00003280| c3 dc 5c 6e 5c 22 21 29 | 87 22 20 5b 65 78 70 61 |..\n\"!)|." [expa|
|00003290| 6e 64 2d 66 69 6c 65 2d | 6e 61 6d 65 20 66 69 6c |nd-file-|name fil|
|000032a0| 65 20 6d 65 73 73 61 67 | 65 20 66 6f 72 6d 61 74 |e messag|e format|
|000032b0| 20 22 52 75 6e 6e 69 6e | 67 20 25 73 20 6f 6e 20 | "Runnin|g %s on |
|000032c0| 25 73 2e 2e 2e 22 20 67 | 65 74 2d 62 75 66 66 65 |%s..." g|et-buffe|
|000032d0| 72 2d 63 72 65 61 74 65 | 20 62 75 66 66 65 72 20 |r-create| buffer |
|000032e0| 65 72 61 73 65 2d 62 75 | 66 66 65 72 20 61 70 70 |erase-bu|ffer app|
|000032f0| 65 6e 64 20 66 6c 61 67 | 73 20 73 63 2d 66 69 6c |end flag|s sc-fil|
|00003300| 65 20 64 65 6c 71 20 6e | 69 6c 20 66 69 6c 65 2d |e delq n|il file-|
|00003310| 6e 61 6d 65 2d 64 69 72 | 65 63 74 6f 72 79 20 22 |name-dir|ectory "|
|00003320| 2e 2f 22 20 64 65 66 61 | 75 6c 74 2d 64 69 72 65 |./" defa|ult-dire|
|00003330| 63 74 6f 72 79 20 61 70 | 70 6c 79 20 63 61 6c 6c |ctory ap|ply call|
|00003340| 2d 70 72 6f 63 65 73 73 | 20 63 6f 6d 6d 61 6e 64 |-process| command|
|00003350| 20 74 20 30 20 73 74 61 | 74 75 73 20 22 52 75 6e | t 0 sta|tus "Run|
|00003360| 6e 69 6e 67 20 25 73 2e | 2e 2e 4f 4b 22 20 6d 61 |ning %s.|..OK" ma|
|00003370| 70 63 61 72 20 23 5b 28 | 69 29 20 22 c0 09 b1 02 |pcar #[(|i) "....|
|00003380| 87 22 20 5b 22 20 22 20 | 69 5d 20 32 5d 20 22 5c |." [" " |i] 2] "\|
|00003390| 6e 5c 6e 22 20 64 69 73 | 70 6c 61 79 2d 62 75 66 |n\n" dis|play-buf|
|000033a0| 66 65 72 20 65 72 72 6f | 72 20 22 52 75 6e 6e 69 |fer erro|r "Runni|
|000033b0| 6e 67 20 25 73 2e 2e 2e | 46 41 49 4c 45 44 22 5d |ng %s...|FAILED"]|
|000033c0| 20 38 20 22 5c 0a 45 78 | 65 63 75 74 65 20 61 20 | 8 "\.Ex|ecute a |
|000033d0| 63 6f 6d 6d 61 6e 64 2c | 20 6e 6f 74 69 66 79 69 |command,| notifyi|
|000033e0| 6e 67 20 74 68 65 20 75 | 73 65 72 20 61 6e 64 20 |ng the u|ser and |
|000033f0| 63 68 65 63 6b 69 6e 67 | 20 66 6f 72 20 65 72 72 |checking| for err|
|00003400| 6f 72 73 2e 22 5d 29 0a | 28 66 73 65 74 20 27 73 |ors."]).|(fset 's|
|00003410| 63 2d 65 6e 74 65 72 2d | 63 6f 6d 6d 65 6e 74 20 |c-enter-|comment |
|00003420| 23 5b 6e 69 6c 20 22 c0 | 20 19 c2 c3 c4 0d 5c 22 |#[nil ".| .....\"|
|00003430| 21 16 06 c7 8b 29 87 22 | 20 5b 73 63 2d 74 65 6d |!....)."| [sc-tem|
|00003440| 70 2d 62 75 66 66 65 72 | 20 62 75 66 66 65 72 20 |p-buffer| buffer |
|00003450| 67 65 74 2d 62 75 66 66 | 65 72 2d 63 72 65 61 74 |get-buff|er-creat|
|00003460| 65 20 66 6f 72 6d 61 74 | 20 22 2a 25 73 2d 4c 6f |e format| "*%s-Lo|
|00003470| 67 2a 22 20 73 63 2d 67 | 65 6e 65 72 69 63 2d 6e |g*" sc-g|eneric-n|
|00003480| 61 6d 65 20 73 63 2d 67 | 65 6e 65 72 69 63 2d 6c |ame sc-g|eneric-l|
|00003490| 6f 67 2d 62 75 66 20 28 | 28 62 79 74 65 2d 63 6f |og-buf (|(byte-co|
|000034a0| 64 65 20 22 c0 09 21 88 | c2 20 88 c3 c4 21 88 c5 |de "..!.|. ...!..|
|000034b0| 20 88 c6 c7 21 88 c4 c8 | c9 8f 3f ad 8d ca 20 89 | ...!...|..?... .|
|000034c0| 1e 0b 47 cc 56 ad 82 0e | 0b 29 c4 16 0d ce 09 21 |..G.V...|.).....!|
|000034d0| 88 87 22 20 5b 70 6f 70 | 2d 74 6f 2d 62 75 66 66 |.." [pop|-to-buff|
|000034e0| 65 72 20 62 75 66 66 65 | 72 20 65 72 61 73 65 2d |er buffe|r erase-|
|000034f0| 62 75 66 66 65 72 20 73 | 65 74 2d 62 75 66 66 65 |buffer s|et-buffe|
|00003500| 72 2d 6d 6f 64 69 66 69 | 65 64 2d 70 20 6e 69 6c |r-modifi|ed-p nil|
|00003510| 20 73 63 2d 6c 6f 67 2d | 65 6e 74 72 79 2d 6d 6f | sc-log-|entry-mo|
|00003520| 64 65 20 6d 65 73 73 61 | 67 65 20 22 45 6e 74 65 |de messa|ge "Ente|
|00003530| 72 20 6c 6f 67 20 6d 65 | 73 73 61 67 65 2e 20 54 |r log me|ssage. T|
|00003540| 79 70 65 20 43 2d 63 20 | 43 2d 63 20 77 68 65 6e |ype C-c |C-c when|
|00003550| 20 64 6f 6e 65 2c 20 43 | 2d 63 20 3f 20 66 6f 72 | done, C|-c ? for|
|00003560| 20 68 65 6c 70 2e 22 20 | 28 62 79 74 65 2d 63 6f | help." |(byte-co|
|00003570| 64 65 20 22 c0 20 88 c1 | 87 22 20 5b 72 65 63 75 |de ". ..|." [recu|
|00003580| 72 73 69 76 65 2d 65 64 | 69 74 20 6e 69 6c 5d 20 |rsive-ed|it nil] |
|00003590| 31 29 20 28 28 65 72 72 | 6f 72 20 74 29 29 20 62 |1) ((err|or t)) b|
|000035a0| 75 66 66 65 72 2d 73 74 | 72 69 6e 67 20 62 73 20 |uffer-st|ring bs |
|000035b0| 30 20 62 75 66 66 65 72 | 2d 66 69 6c 65 2d 6e 61 |0 buffer|-file-na|
|000035c0| 6d 65 20 62 75 72 79 2d | 62 75 66 66 65 72 5d 20 |me bury-|buffer] |
|000035d0| 34 29 29 5d 20 34 20 22 | 5c 0a 45 6e 74 65 72 20 |4))] 4 "|\.Enter |
|000035e0| 61 20 63 6f 6d 6d 65 6e | 74 2e 20 52 65 74 75 72 |a commen|t. Retur|
|000035f0| 6e 20 69 74 20 61 73 20 | 61 20 73 74 72 69 6e 67 |n it as |a string|
|00003600| 2e 22 5d 29 0a 28 66 73 | 65 74 20 27 73 63 2d 6c |."]).(fs|et 'sc-l|
|00003610| 6f 63 6b 69 6e 67 2d 75 | 73 65 72 20 23 5b 28 66 |ocking-u|ser #[(f|
|00003620| 69 6c 65 29 20 22 c0 09 | 21 40 87 22 20 5b 73 63 |ile) "..|!@." [sc|
|00003630| 2d 6c 6f 63 6b 2d 69 6e | 66 6f 20 66 69 6c 65 5d |-lock-in|fo file]|
|00003640| 20 32 20 22 5c 0a 52 65 | 74 75 72 6e 20 74 68 65 | 2 "\.Re|turn the|
|00003650| 20 6c 6f 67 69 6e 20 6e | 61 6d 65 20 6f 66 20 74 | login n|ame of t|
|00003660| 68 65 20 6c 6f 63 6b 65 | 72 20 6f 66 20 46 49 4c |he locke|r of FIL|
|00003670| 45 2e 20 20 52 65 74 75 | 72 6e 20 6e 69 6c 20 69 |E. Retu|rn nil i|
|00003680| 66 20 46 49 4c 45 20 69 | 73 20 6e 6f 74 20 6c 6f |f FILE i|s not lo|
|00003690| 63 6b 65 64 22 5d 29 0a | 28 66 73 65 74 20 27 73 |cked"]).|(fset 's|
|000036a0| 63 2d 6c 6f 63 6b 65 64 | 2d 72 65 76 69 73 69 6f |c-locked|-revisio|
|000036b0| 6e 20 23 5b 28 66 69 6c | 65 29 20 22 c0 09 21 41 |n #[(fil|e) "..!A|
|000036c0| 40 87 22 20 5b 73 63 2d | 6c 6f 63 6b 2d 69 6e 66 |@." [sc-|lock-inf|
|000036d0| 6f 20 66 69 6c 65 5d 20 | 32 20 22 5c 0a 52 65 74 |o file] |2 "\.Ret|
|000036e0| 75 72 6e 20 74 68 65 20 | 72 65 76 69 73 69 6f 6e |urn the |revision|
|000036f0| 20 6e 75 6d 62 65 72 20 | 63 75 72 72 65 6e 74 6c | number |currentl|
|00003700| 79 20 6c 6f 63 6b 65 64 | 20 66 6f 72 20 46 49 4c |y locked| for FIL|
|00003710| 45 2c 20 6e 69 6c 20 69 | 66 20 46 49 4c 45 20 69 |E, nil i|f FILE i|
|00003720| 73 20 6e 6f 74 20 6c 6f | 63 6b 65 64 2e 22 5d 29 |s not lo|cked."])|
|00003730| 0a 28 66 73 65 74 20 27 | 73 63 2d 6d 6f 64 65 2d |.(fset '|sc-mode-|
|00003740| 6c 69 6e 65 20 23 5b 6e | 69 6c 20 22 08 19 c2 09 |line #[n|il "....|
|00003750| 21 1b 0c ac 82 c5 14 c6 | 0c 3e ac 85 c7 0c c8 5c |!.......|.>.....\|
|00003760| 22 14 c9 c6 21 88 0b ca | 3d ac 83 0b ac 83 cb aa |"...!...|=.......|
|00003770| a3 0b 40 ac 87 cc cd 0e | 0e 5c 22 aa 98 0b 40 cf |..@.....|.\"...@.|
|00003780| 20 9a ab 8a cc d0 0e 0e | 0b 41 40 23 aa 87 cc d0 | .......|.A@#....|
|00003790| 0e 0e 0b 40 23 89 16 06 | 2a 87 22 20 5b 62 75 66 |...@#...|*." [buf|
|000037a0| 66 65 72 2d 66 69 6c 65 | 2d 6e 61 6d 65 20 66 69 |fer-file|-name fi|
|000037b0| 6c 65 20 73 63 2d 6c 6f | 63 6b 2d 69 6e 66 6f 20 |le sc-lo|ck-info |
|000037c0| 6c 6f 63 6b 2d 69 6e 66 | 6f 20 67 6c 6f 62 61 6c |lock-inf|o global|
|000037d0| 2d 6d 6f 64 65 2d 73 74 | 72 69 6e 67 20 28 22 22 |-mode-st|ring (""|
|000037e0| 29 20 73 63 2d 6d 6f 64 | 65 2d 6c 69 6e 65 2d 73 |) sc-mod|e-line-s|
|000037f0| 74 72 69 6e 67 20 61 70 | 70 65 6e 64 20 28 73 63 |tring ap|pend (sc|
|00003800| 2d 6d 6f 64 65 2d 6c 69 | 6e 65 2d 73 74 72 69 6e |-mode-li|ne-strin|
|00003810| 67 29 20 6d 61 6b 65 2d | 6c 6f 63 61 6c 2d 76 61 |g) make-|local-va|
|00003820| 72 69 61 62 6c 65 20 6e | 61 20 6e 69 6c 20 66 6f |riable n|a nil fo|
|00003830| 72 6d 61 74 20 22 20 3c | 25 73 3a 3e 22 20 73 63 |rmat " <|%s:>" sc|
|00003840| 2d 67 65 6e 65 72 69 63 | 2d 6e 61 6d 65 20 75 73 |-generic|-name us|
|00003850| 65 72 2d 6c 6f 67 69 6e | 2d 6e 61 6d 65 20 22 20 |er-login|-name " |
|00003860| 3c 25 73 3a 20 25 73 3e | 22 5d 20 34 20 22 5c 0a |<%s: %s>|"] 4 "\.|
|00003870| 53 65 74 20 74 68 65 20 | 6d 6f 64 65 20 6c 69 6e |Set the |mode lin|
|00003880| 65 20 66 6f 72 20 74 68 | 65 20 63 75 72 72 65 6e |e for th|e curren|
|00003890| 74 20 62 75 66 66 65 72 | 2e 0a 46 49 4c 45 20 69 |t buffer|..FILE i|
|000038a0| 73 20 74 68 65 20 66 69 | 6c 65 20 62 65 69 6e 67 |s the fi|le being|
|000038b0| 20 76 69 73 69 74 65 64 | 2e 22 5d 29 0a 28 66 73 | visited|."]).(fs|
|000038c0| 65 74 20 27 73 63 2d 74 | 65 6d 70 2d 62 75 66 66 |et 'sc-t|emp-buff|
|000038d0| 65 72 20 23 5b 6e 69 6c | 20 22 c0 c1 c2 0b 5c 22 |er #[nil| "....\"|
|000038e0| 21 87 22 20 5b 67 65 74 | 2d 62 75 66 66 65 72 2d |!." [get|-buffer-|
|000038f0| 63 72 65 61 74 65 20 66 | 6f 72 6d 61 74 20 22 2a |create f|ormat "*|
|00003900| 25 73 2a 22 20 73 63 2d | 67 65 6e 65 72 69 63 2d |%s*" sc-|generic-|
|00003910| 6e 61 6d 65 5d 20 34 20 | 22 5c 0a 52 65 74 75 72 |name] 4 |"\.Retur|
|00003920| 6e 20 61 20 74 65 6d 70 | 6f 72 61 72 79 20 62 75 |n a temp|orary bu|
|00003930| 66 66 65 72 20 74 6f 20 | 75 73 65 20 66 6f 72 20 |ffer to |use for |
|00003940| 6f 75 74 70 75 74 22 5d | 29 0a 28 66 73 65 74 20 |output"]|).(fset |
|00003950| 27 73 63 2d 74 72 65 65 | 2d 77 61 6c 6b 20 23 5b |'sc-tree|-walk #[|
|00003960| 28 66 75 6e 63 20 26 72 | 65 73 74 20 61 72 67 73 |(func &r|est args|
|00003970| 29 20 22 c0 c1 5c 6e 5c | 22 1b c4 0b 21 1d 0e 06 |) "..\n\|"...!...|
|00003980| 1e 07 c8 1e 09 8a 0d 71 | 88 ca 20 88 0e 07 16 06 |.......q|.. .....|
|00003990| cb 20 88 65 62 88 cc cd | c8 ce 23 ab 89 cf 79 88 |. .eb...|..#...y.|
|000039a0| d0 d1 21 88 aa 70 65 64 | 55 ab 86 d2 d3 0e 06 5c |..!..ped|U......\|
|000039b0| 22 88 65 62 88 c8 16 09 | 6d ac 94 60 c8 7f 88 60 |".eb....|m..`...`|
|000039c0| 7b 89 1e 14 0e 09 42 16 | 09 29 d1 79 88 aa 69 0e |{.....B.|.).y..i.|
|000039d0| 09 9f 16 09 ca 20 88 29 | d5 0d 21 88 8a 0d 71 88 |..... .)|..!...q.|
|000039e0| 0e 09 ab 92 d6 0e 17 0e | 09 40 0e 18 23 88 0e 09 |........|.@..#...|
|000039f0| 41 89 16 09 ac 6e 0d 2d | 87 22 20 5b 66 6f 72 6d |A....n.-|." [form|
|00003a00| 61 74 20 22 2a 25 73 20 | 64 69 72 65 63 74 6f 72 |at "*%s |director|
|00003a10| 79 2a 22 20 73 63 2d 67 | 65 6e 65 72 69 63 2d 6e |y*" sc-g|eneric-n|
|00003a20| 61 6d 65 20 62 75 66 66 | 65 72 2d 6e 61 6d 65 20 |ame buff|er-name |
|00003a30| 67 65 74 2d 62 75 66 66 | 65 72 2d 63 72 65 61 74 |get-buff|er-creat|
|00003a40| 65 20 62 75 66 66 65 72 | 20 64 65 66 61 75 6c 74 |e buffer| default|
|00003a50| 2d 64 69 72 65 63 74 6f | 72 79 20 64 69 72 20 6e |-directo|ry dir n|
|00003a60| 69 6c 20 66 69 6c 65 73 | 20 65 72 61 73 65 2d 62 |il files| erase-b|
|00003a70| 75 66 66 65 72 20 73 63 | 2d 74 72 65 65 2d 6c 69 |uffer sc|-tree-li|
|00003a80| 73 74 20 73 65 61 72 63 | 68 2d 66 6f 72 77 61 72 |st searc|h-forwar|
|00003a90| 64 20 22 6e 6f 74 20 66 | 6f 75 6e 64 22 20 74 20 |d "not f|ound" t |
|00003aa0| 30 20 6b 69 6c 6c 2d 6c | 69 6e 65 20 31 20 65 72 |0 kill-l|ine 1 er|
|00003ab0| 72 6f 72 20 22 4e 6f 20 | 72 65 67 69 73 74 65 72 |ror "No |register|
|00003ac0| 65 64 20 66 69 6c 65 73 | 20 75 6e 64 65 72 20 25 |ed files| under %|
|00003ad0| 73 22 20 66 69 6c 65 20 | 64 69 73 70 6c 61 79 2d |s" file |display-|
|00003ae0| 62 75 66 66 65 72 20 61 | 70 70 6c 79 20 66 75 6e |buffer a|pply fun|
|00003af0| 63 20 61 72 67 73 5d 20 | 35 20 22 5c 0a 41 70 70 |c args] |5 "\.App|
|00003b00| 6c 79 20 46 55 4e 43 20 | 74 6f 20 74 68 65 20 66 |ly FUNC |to the f|
|00003b10| 69 6c 65 73 20 72 65 67 | 69 73 74 65 72 65 64 20 |iles reg|istered |
|00003b20| 69 6e 20 74 68 65 20 73 | 6f 75 72 63 65 20 63 6f |in the s|ource co|
|00003b30| 6e 74 72 6f 6c 20 73 79 | 73 74 65 6d 2e 0a 46 55 |ntrol sy|stem..FU|
|00003b40| 4e 43 20 69 73 20 70 61 | 73 73 65 64 20 74 68 65 |NC is pa|ssed the|
|00003b50| 20 66 69 6c 65 20 70 61 | 74 68 20 61 6e 64 20 41 | file pa|th and A|
|00003b60| 52 47 53 2e 22 5d 29 0a | 28 66 73 65 74 20 27 73 |RGS."]).|(fset 's|
|00003b70| 63 2d 67 65 74 2d 76 65 | 72 73 69 6f 6e 2d 69 6e |c-get-ve|rsion-in|
|00003b80| 2d 74 65 6d 70 2d 66 69 | 6c 65 20 23 5b 28 66 69 |-temp-fi|le #[(fi|
|00003b90| 6c 65 20 72 65 76 69 73 | 69 6f 6e 29 20 22 c0 c1 |le revis|ion) "..|
|00003ba0| 5c 6e 21 ae 81 c3 c4 c5 | 0e 06 21 c4 52 21 1e 07 |\n!.....|..!.R!..|
|00003bb0| c8 0e 07 21 1e 09 ca 0e | 06 0e 09 5c 6e 23 88 8a |...!....|...\n#..|
|00003bc0| 0e 09 71 88 cb 65 64 0e | 07 cc cd 25 88 29 ce 0e |..q..ed.|...%.)..|
|00003bd0| 09 21 88 cf d0 d1 89 89 | d2 0e 07 26 06 88 0e 07 |.!......|...&....|
|00003be0| 2a 87 22 20 5b 6d 61 6b | 65 2d 74 65 6d 70 2d 6e |*." [mak|e-temp-n|
|00003bf0| 61 6d 65 20 63 63 61 73 | 65 2d 70 72 6f 74 65 63 |ame ccas|e-protec|
|00003c00| 74 2d 65 78 70 61 6e 64 | 65 64 2d 6e 61 6d 65 20 |t-expand|ed-name |
|00003c10| 72 65 76 69 73 69 6f 6e | 20 22 63 75 72 72 65 6e |revision| "curren|
|00003c20| 74 22 20 22 2d 22 20 66 | 69 6c 65 2d 6e 61 6d 65 |t" "-" f|ile-name|
|00003c30| 2d 6e 6f 6e 64 69 72 65 | 63 74 6f 72 79 20 66 69 |-nondire|ctory fi|
|00003c40| 6c 65 20 6f 6c 64 76 65 | 72 73 69 6f 6e 20 67 65 |le oldve|rsion ge|
|00003c50| 74 2d 62 75 66 66 65 72 | 2d 63 72 65 61 74 65 20 |t-buffer|-create |
|00003c60| 76 62 75 66 20 73 63 2d | 67 65 74 2d 76 65 72 73 |vbuf sc-|get-vers|
|00003c70| 69 6f 6e 20 77 72 69 74 | 65 2d 72 65 67 69 6f 6e |ion writ|e-region|
|00003c80| 20 74 20 30 20 6b 69 6c | 6c 2d 62 75 66 66 65 72 | t 0 kil|l-buffer|
|00003c90| 20 63 61 6c 6c 2d 70 72 | 6f 63 65 73 73 20 22 63 | call-pr|ocess "c|
|00003ca0| 68 6d 6f 64 22 20 6e 69 | 6c 20 22 2d 77 22 5d 20 |hmod" ni|l "-w"] |
|00003cb0| 37 20 22 5c 0a 46 6f 72 | 20 74 68 65 20 67 69 76 |7 "\.For| the giv|
|00003cc0| 65 6e 20 46 49 4c 45 2c | 20 72 65 74 72 69 65 76 |en FILE,| retriev|
|00003cd0| 65 20 61 20 63 6f 70 79 | 20 6f 66 20 74 68 65 20 |e a copy| of the |
|00003ce0| 76 65 72 73 69 6f 6e 20 | 77 69 74 68 20 67 69 76 |version |with giv|
|00003cf0| 65 6e 20 52 45 56 49 53 | 49 4f 4e 2e 0a 54 68 65 |en REVIS|ION..The|
|00003d00| 20 74 65 78 74 20 69 73 | 20 72 65 74 72 69 65 76 | text is| retriev|
|00003d10| 65 64 20 69 6e 74 6f 20 | 61 20 74 65 6d 70 66 69 |ed into |a tempfi|
|00003d20| 6c 65 2e 20 20 52 65 74 | 75 72 6e 20 74 68 65 20 |le. Ret|urn the |
|00003d30| 74 65 6d 70 66 69 6c 65 | 20 6e 61 6d 65 2e 22 5d |tempfile| name."]|
|00003d40| 29 0a 28 66 73 65 74 20 | 27 73 63 2d 69 6e 73 65 |).(fset |'sc-inse|
|00003d50| 72 74 2d 66 69 6c 65 2d | 6c 6f 63 6b 2d 69 6e 66 |rt-file-|lock-inf|
|00003d60| 6f 20 23 5b 28 66 69 6c | 65 20 6c 6f 63 6b 2d 69 |o #[(fil|e lock-i|
|00003d70| 6e 66 6f 29 20 22 08 40 | c1 08 41 40 b1 03 88 c2 |nfo) ".@|..A@....|
|00003d80| c3 c4 5c 22 88 c5 0e 06 | 21 c7 b1 02 87 22 20 5b |..\"....|!...." [|
|00003d90| 6c 6f 63 6b 2d 69 6e 66 | 6f 20 22 3a 22 20 69 6e |lock-inf|o ":" in|
|00003da0| 64 65 6e 74 2d 74 6f 2d | 63 6f 6c 75 6d 6e 20 31 |dent-to-|column 1|
|00003db0| 36 20 31 20 66 69 6c 65 | 2d 6e 61 6d 65 2d 6e 6f |6 1 file|-name-no|
|00003dc0| 6e 64 69 72 65 63 74 6f | 72 79 20 66 69 6c 65 20 |ndirecto|ry file |
|00003dd0| 22 5c 6e 22 5d 20 33 5d | 29 0a 28 66 73 65 74 20 |"\n"] 3]|).(fset |
|00003de0| 27 73 63 2d 6c 69 73 74 | 2d 66 69 6c 65 2d 69 66 |'sc-list|-file-if|
|00003df0| 2d 6c 6f 63 6b 65 64 20 | 23 5b 28 66 69 6c 65 20 |-locked |#[(file |
|00003e00| 26 6f 70 74 69 6f 6e 61 | 6c 20 61 72 67 29 20 22 |&optiona|l arg) "|
|00003e10| c0 09 21 89 1a ad 95 5c | 6e 40 ad 91 0b ab 86 0b |..!....\|n@......|
|00003e20| 5c 6e 40 9a ad 88 c4 09 | 5c 6e 5c 22 88 c5 c6 21 |\n@.....|\n\"...!|
|00003e30| 29 87 22 20 5b 73 63 2d | 6c 6f 63 6b 2d 69 6e 66 |)." [sc-|lock-inf|
|00003e40| 6f 20 66 69 6c 65 20 6c | 6f 63 6b 2d 69 6e 66 6f |o file l|ock-info|
|00003e50| 20 61 72 67 20 73 63 2d | 69 6e 73 65 72 74 2d 66 | arg sc-|insert-f|
|00003e60| 69 6c 65 2d 6c 6f 63 6b | 2d 69 6e 66 6f 20 73 69 |ile-lock|-info si|
|00003e70| 74 2d 66 6f 72 20 30 5d | 20 34 20 22 5c 0a 4c 69 |t-for 0]| 4 "\.Li|
|00003e80| 73 74 20 61 6c 6c 20 66 | 69 6c 65 73 20 75 6e 64 |st all f|iles und|
|00003e90| 65 72 6e 65 61 74 68 20 | 74 68 65 20 63 75 72 72 |erneath |the curr|
|00003ea0| 65 6e 74 20 64 69 72 65 | 63 74 6f 72 79 20 6d 61 |ent dire|ctory ma|
|00003eb0| 74 63 68 69 6e 67 20 61 | 20 70 72 65 66 69 78 20 |tching a| prefix |
|00003ec0| 74 79 70 65 2e 22 5d 29 | 0a 28 66 73 65 74 20 27 |type."])|.(fset '|
|00003ed0| 73 63 2d 6c 69 73 74 2d | 66 69 6c 65 20 23 5b 28 |sc-list-|file #[(|
|00003ee0| 66 69 6c 65 29 20 22 c0 | 09 21 89 1a c3 3d ab 8e |file) ".|.!...=..|
|00003ef0| c4 c5 c6 5c 22 88 c7 09 | 21 c8 b1 02 88 aa ad 5c |...\"...|!......\|
|00003f00| 6e 40 ab 87 c9 09 5c 6e | 5c 22 88 aa a2 ca 09 21 |n@....\n|\".....!|
|00003f10| ab 91 cb 63 88 c4 c5 c6 | 5c 22 88 c7 09 21 c8 b1 |...c....|\"...!..|
|00003f20| 02 88 aa 8c c4 c5 c6 5c | 22 88 c7 09 21 c8 b1 02 |.......\|"...!...|
|00003f30| 88 cc cd 21 29 87 22 20 | 5b 73 63 2d 6c 6f 63 6b |...!)." |[sc-lock|
|00003f40| 2d 69 6e 66 6f 20 66 69 | 6c 65 20 6c 6f 63 6b 2d |-info fi|le lock-|
|00003f50| 69 6e 66 6f 20 6e 61 20 | 69 6e 64 65 6e 74 2d 74 |info na |indent-t|
|00003f60| 6f 2d 63 6f 6c 75 6d 6e | 20 31 36 20 31 20 66 69 |o-column| 16 1 fi|
|00003f70| 6c 65 2d 6e 61 6d 65 2d | 6e 6f 6e 64 69 72 65 63 |le-name-|nondirec|
|00003f80| 74 6f 72 79 20 22 5c 6e | 22 20 73 63 2d 69 6e 73 |tory "\n|" sc-ins|
|00003f90| 65 72 74 2d 66 69 6c 65 | 2d 6c 6f 63 6b 2d 69 6e |ert-file|-lock-in|
|00003fa0| 66 6f 20 73 63 2d 6e 65 | 77 2d 72 65 76 69 73 69 |fo sc-ne|w-revisi|
|00003fb0| 6f 6e 2d 70 20 22 6e 65 | 65 64 73 20 75 70 64 61 |on-p "ne|eds upda|
|00003fc0| 74 65 22 20 73 69 74 2d | 66 6f 72 20 30 5d 20 34 |te" sit-|for 0] 4|
|00003fd0| 5d 29 0a 28 66 73 65 74 | 20 27 73 63 2d 75 70 64 |]).(fset| 'sc-upd|
|00003fe0| 61 74 65 2d 66 69 6c 65 | 20 23 5b 28 66 69 6c 65 |ate-file| #[(file|
|00003ff0| 29 20 22 c0 09 21 ad b5 | c2 09 21 1b c4 c5 09 c6 |) "..!..|..!.....|
|00004000| 5c 22 09 c7 23 88 c8 09 | 21 89 1e 09 ab 8e 8a 0e |\"..#...|!.......|
|00004010| 09 71 88 ca c6 c7 5c 22 | 88 cb 20 88 29 29 cc 63 |.q....\"|.. .)).c|
|00004020| 88 cd ce cf 5c 22 88 0b | d0 b1 02 88 d1 d2 21 29 |....\"..|......!)|
|00004030| 87 22 20 5b 73 63 2d 6e | 65 77 2d 72 65 76 69 73 |." [sc-n|ew-revis|
|00004040| 69 6f 6e 2d 70 20 66 69 | 6c 65 20 66 69 6c 65 2d |ion-p fi|le file-|
|00004050| 6e 61 6d 65 2d 6e 6f 6e | 64 69 72 65 63 74 6f 72 |name-non|director|
|00004060| 79 20 66 69 6c 65 2d 6e | 61 6d 65 20 72 65 6e 61 |y file-n|ame rena|
|00004070| 6d 65 2d 66 69 6c 65 20 | 73 63 2d 67 65 74 2d 76 |me-file |sc-get-v|
|00004080| 65 72 73 69 6f 6e 2d 69 | 6e 2d 74 65 6d 70 2d 66 |ersion-i|n-temp-f|
|00004090| 69 6c 65 20 6e 69 6c 20 | 74 20 67 65 74 2d 66 69 |ile nil |t get-fi|
|000040a0| 6c 65 2d 62 75 66 66 65 | 72 20 62 20 72 65 76 65 |le-buffe|r b reve|
|000040b0| 72 74 2d 62 75 66 66 65 | 72 20 73 63 2d 6d 6f 64 |rt-buffe|r sc-mod|
|000040c0| 65 2d 6c 69 6e 65 20 22 | 75 70 64 61 74 65 64 22 |e-line "|updated"|
|000040d0| 20 69 6e 64 65 6e 74 2d | 74 6f 2d 63 6f 6c 75 6d | indent-|to-colum|
|000040e0| 6e 20 31 36 20 31 20 22 | 5c 6e 22 20 73 69 74 2d |n 16 1 "|\n" sit-|
|000040f0| 66 6f 72 20 30 5d 20 35 | 20 22 5c 0a 67 65 74 20 |for 0] 5| "\.get |
|00004100| 74 68 65 20 6c 61 74 65 | 73 74 20 76 65 72 73 69 |the late|st versi|
|00004110| 6f 6e 20 6f 66 20 74 68 | 65 20 66 69 6c 65 20 69 |on of th|e file i|
|00004120| 66 20 61 20 6e 65 77 20 | 6f 6e 65 20 77 61 73 20 |f a new |one was |
|00004130| 63 68 65 63 6b 65 64 2d | 69 6e 22 5d 29 0a 28 62 |checked-|in"]).(b|
|00004140| 79 74 65 2d 63 6f 64 65 | 20 22 08 ac a7 c1 20 10 |yte-code| ".... .|
|00004150| c2 08 c3 c4 23 88 c2 08 | c5 c4 23 88 c2 08 c6 c7 |....#...|..#.....|
|00004160| 23 88 c2 08 c8 c7 23 88 | c2 08 c9 ca 23 88 c2 08 |#.....#.|....#...|
|00004170| cb ca 23 88 c1 87 22 20 | 5b 73 63 2d 6c 6f 67 2d |..#..." |[sc-log-|
|00004180| 65 6e 74 72 79 2d 6b 65 | 79 6d 61 70 20 6d 61 6b |entry-ke|ymap mak|
|00004190| 65 2d 73 70 61 72 73 65 | 2d 6b 65 79 6d 61 70 20 |e-sparse|-keymap |
|000041a0| 64 65 66 69 6e 65 2d 6b | 65 79 20 22 03 69 22 20 |define-k|ey ".i" |
|000041b0| 73 63 2d 69 6e 73 65 72 | 74 2d 6c 61 73 74 2d 6c |sc-inser|t-last-l|
|000041c0| 6f 67 20 22 03 09 22 20 | 22 03 61 22 20 73 63 2d |og ".." |".a" sc-|
|000041d0| 61 62 6f 72 74 2d 63 68 | 65 63 6b 2d 69 6e 20 22 |abort-ch|eck-in "|
|000041e0| 03 01 22 20 22 03 03 22 | 20 73 63 2d 6c 6f 67 2d |.." ".."| sc-log-|
|000041f0| 65 78 69 74 20 22 18 13 | 22 5d 20 34 29 0a 28 64 |exit "..|"] 4).(d|
|00004200| 65 66 76 61 72 20 73 63 | 2d 6d 6f 64 65 2d 68 6f |efvar sc|-mode-ho|
|00004210| 6f 6b 20 6e 69 6c 20 22 | 5c 0a 2a 46 75 6e 63 74 |ok nil "|\.*Funct|
|00004220| 69 6f 6e 20 6f 72 20 66 | 75 6e 63 74 69 6f 6e 73 |ion or f|unctions|
|00004230| 20 74 6f 20 72 75 6e 20 | 6f 6e 20 65 6e 74 72 79 | to run |on entry|
|00004240| 20 74 6f 20 73 63 2d 6d | 6f 64 65 2e 22 29 0a 28 | to sc-m|ode.").(|
|00004250| 64 65 66 76 61 72 20 73 | 63 2d 6d 6f 64 65 20 6e |defvar s|c-mode n|
|00004260| 69 6c 20 22 5c 0a 54 68 | 65 20 63 75 72 72 65 6e |il "\.Th|e curren|
|00004270| 74 6c 79 20 61 63 74 69 | 76 65 20 73 6f 75 72 63 |tly acti|ve sourc|
|00004280| 65 20 63 6f 6e 74 72 6f | 6c 20 6d 6f 64 65 2e 20 |e contro|l mode. |
|00004290| 20 55 73 65 20 4d 2d 78 | 20 73 63 2d 6d 6f 64 65 | Use M-x| sc-mode|
|000042a0| 20 74 6f 20 73 65 74 20 | 69 74 22 29 0a 28 66 73 | to set |it").(fs|
|000042b0| 65 74 20 27 73 63 2d 6d | 6f 64 65 20 23 5b 28 73 |et 'sc-m|ode #[(s|
|000042c0| 79 73 74 65 6d 29 20 22 | 08 c1 3d ab 95 c2 c3 c4 |ystem) "|..=.....|
|000042d0| 5c 22 88 c5 0e 06 43 21 | 88 c2 c7 c8 5c 22 88 c1 |\"....C!|....\"..|
|000042e0| 89 16 09 87 0e 09 ab 88 | c9 c1 21 88 c9 08 21 87 |........|..!...!.|
|000042f0| ca cb 08 21 96 21 10 ca | cc cd 08 5c 22 21 1e 0e |...!.!..|...\"!..|
|00004300| cf 0e 0e 21 ac 86 d0 d1 | 08 5c 22 aa 9e 0e 0e 20 |...!....|.\".... |
|00004310| 88 d2 c3 c4 5c 22 88 d3 | c1 0e 06 0e 14 23 88 d2 |....\"..|.....#..|
|00004320| c7 c8 5c 22 88 d5 d6 21 | 88 08 89 16 09 29 87 22 |..\"...!|.....)."|
|00004330| 20 5b 73 79 73 74 65 6d | 20 6e 69 6c 20 72 65 6d | [system| nil rem|
|00004340| 6f 76 65 2d 68 6f 6f 6b | 20 66 69 6e 64 2d 66 69 |ove-hook| find-fi|
|00004350| 6c 65 2d 68 6f 6f 6b 73 | 20 73 63 2d 6d 6f 64 65 |le-hooks| sc-mode|
|00004360| 2d 6c 69 6e 65 20 64 65 | 6c 65 74 65 2d 6d 65 6e |-line de|lete-men|
|00004370| 75 2d 69 74 65 6d 20 73 | 63 2d 67 65 6e 65 72 69 |u-item s|c-generi|
|00004380| 63 2d 6e 61 6d 65 20 61 | 63 74 69 76 61 74 65 2d |c-name a|ctivate-|
|00004390| 6d 65 6e 75 62 61 72 2d | 68 6f 6f 6b 20 73 63 2d |menubar-|hook sc-|
|000043a0| 73 65 6e 73 69 74 69 7a | 65 2d 6d 65 6e 75 20 73 |sensitiz|e-menu s|
|000043b0| 63 2d 6d 6f 64 65 20 69 | 6e 74 65 72 6e 20 73 79 |c-mode i|ntern sy|
|000043c0| 6d 62 6f 6c 2d 6e 61 6d | 65 20 66 6f 72 6d 61 74 |mbol-nam|e format|
|000043d0| 20 22 73 63 2d 73 65 74 | 2d 25 73 2d 6d 6f 64 65 | "sc-set|-%s-mode|
|000043e0| 22 20 66 20 66 62 6f 75 | 6e 64 70 20 65 72 72 6f |" f fbou|ndp erro|
|000043f0| 72 20 22 4e 6f 20 73 6f | 75 72 63 65 20 63 6f 6e |r "No so|urce con|
|00004400| 74 72 6f 6c 20 69 6e 74 | 65 72 66 61 63 65 20 66 |trol int|erface f|
|00004410| 6f 72 20 5c 22 25 73 5c | 22 2e 20 20 50 6c 65 61 |or \"%s\|". Plea|
|00004420| 73 65 20 75 73 65 20 53 | 43 43 53 2c 20 52 43 53 |se use S|CCS, RCS|
|00004430| 2c 20 43 56 53 2c 20 6f | 72 20 41 74 72 69 61 2e |, CVS, o|r Atria.|
|00004440| 22 20 61 64 64 2d 68 6f | 6f 6b 20 61 64 64 2d 6d |" add-ho|ok add-m|
|00004450| 65 6e 75 20 73 63 2d 6d | 65 6e 75 20 72 75 6e 2d |enu sc-m|enu run-|
|00004460| 68 6f 6f 6b 73 20 73 63 | 2d 6d 6f 64 65 2d 68 6f |hooks sc|-mode-ho|
|00004470| 6f 6b 5d 20 34 20 22 5c | 0a 54 6f 67 67 6c 65 20 |ok] 4 "\|.Toggle |
|00004480| 73 63 2d 6d 6f 64 65 2e | 0a 53 59 53 54 45 4d 20 |sc-mode.|.SYSTEM |
|00004490| 63 61 6e 20 62 65 20 73 | 63 63 73 2c 20 72 63 73 |can be s|ccs, rcs|
|000044a0| 20 6f 72 20 63 76 73 2e | 0a 43 76 73 20 72 65 71 | or cvs.|.Cvs req|
|000044b0| 75 69 72 65 73 20 74 68 | 65 20 70 63 6c 2d 63 76 |uires th|e pcl-cv|
|000044c0| 73 20 70 61 63 6b 61 67 | 65 2e 0a 0a 54 68 65 20 |s packag|e...The |
|000044d0| 66 6f 6c 6c 6f 77 69 6e | 67 20 63 6f 6d 6d 61 6e |followin|g comman|
|000044e0| 64 73 20 61 72 65 20 61 | 76 61 69 6c 61 62 6c 65 |ds are a|vailable|
|000044f0| 0a 5c 5c 5b 73 63 2d 6e | 65 78 74 2d 6f 70 65 72 |.\\[sc-n|ext-oper|
|00004500| 61 74 69 6f 6e 5d 09 70 | 65 72 66 6f 72 6d 20 6e |ation].p|erform n|
|00004510| 65 78 74 20 6c 6f 67 69 | 63 61 6c 20 73 6f 75 72 |ext logi|cal sour|
|00004520| 63 65 20 63 6f 6e 74 72 | 6f 6c 20 6f 70 65 72 61 |ce contr|ol opera|
|00004530| 74 69 6f 6e 20 6f 6e 20 | 63 75 72 72 65 6e 74 20 |tion on |current |
|00004540| 66 69 6c 65 0a 5c 5c 5b | 73 63 2d 73 68 6f 77 2d |file.\\[|sc-show-|
|00004550| 63 68 61 6e 67 65 73 5d | 09 63 6f 6d 70 61 72 65 |changes]|.compare|
|00004560| 20 74 68 65 20 76 65 72 | 73 69 6f 6e 20 62 65 69 | the ver|sion bei|
|00004570| 6e 67 20 65 64 69 74 65 | 64 20 77 69 74 68 20 61 |ng edite|d with a|
|00004580| 6e 20 6f 6c 64 65 72 20 | 6f 6e 65 0a 5c 5c 5b 73 |n older |one.\\[s|
|00004590| 63 2d 76 65 72 73 69 6f | 6e 2d 64 69 66 66 2d 66 |c-versio|n-diff-f|
|000045a0| 69 6c 65 5d 09 63 6f 6d | 70 61 72 65 20 74 77 6f |ile].com|pare two|
|000045b0| 20 6f 6c 64 65 72 20 76 | 65 72 73 69 6f 6e 73 20 | older v|ersions |
|000045c0| 6f 66 20 61 20 66 69 6c | 65 0a 5c 5c 5b 73 63 2d |of a fil|e.\\[sc-|
|000045d0| 73 68 6f 77 2d 68 69 73 | 74 6f 72 79 5d 09 09 64 |show-his|tory]..d|
|000045e0| 69 73 70 6c 61 79 20 63 | 68 61 6e 67 65 20 68 69 |isplay c|hange hi|
|000045f0| 73 74 6f 72 79 20 6f 66 | 20 63 75 72 72 65 6e 74 |story of| current|
|00004600| 20 66 69 6c 65 0a 5c 5c | 5b 73 63 2d 76 69 73 69 | file.\\|[sc-visi|
|00004610| 74 2d 70 72 65 76 69 6f | 75 73 2d 72 65 76 69 73 |t-previo|us-revis|
|00004620| 69 6f 6e 5d 09 64 69 73 | 70 6c 61 79 20 61 6e 20 |ion].dis|play an |
|00004630| 6f 6c 64 65 72 20 72 65 | 76 69 73 69 6f 6e 20 6f |older re|vision o|
|00004640| 66 20 63 75 72 72 65 6e | 74 20 66 69 6c 65 0a 5c |f curren|t file.\|
|00004650| 5c 5b 73 63 2d 72 65 76 | 65 72 74 2d 66 69 6c 65 |\[sc-rev|ert-file|
|00004660| 5d 09 09 72 65 76 65 72 | 74 20 62 75 66 66 65 72 |]..rever|t buffer|
|00004670| 20 74 6f 20 6c 61 73 74 | 20 63 68 65 63 6b 65 64 | to last| checked|
|00004680| 2d 69 6e 20 76 65 72 73 | 69 6f 6e 0a 5c 5c 5b 73 |-in vers|ion.\\[s|
|00004690| 63 2d 6c 69 73 74 2d 61 | 6c 6c 2d 6c 6f 63 6b 65 |c-list-a|ll-locke|
|000046a0| 64 2d 66 69 6c 65 73 5d | 09 09 73 68 6f 77 20 61 |d-files]|..show a|
|000046b0| 6c 6c 20 66 69 6c 65 73 | 20 6c 6f 63 6b 65 64 20 |ll files| locked |
|000046c0| 69 6e 20 63 75 72 72 65 | 6e 74 20 64 69 72 65 63 |in curre|nt direc|
|000046d0| 74 6f 72 79 0a 5c 5c 5b | 73 63 2d 6c 69 73 74 2d |tory.\\[|sc-list-|
|000046e0| 6c 6f 63 6b 65 64 2d 66 | 69 6c 65 73 5d 09 09 73 |locked-f|iles]..s|
|000046f0| 68 6f 77 20 61 6c 6c 20 | 66 69 6c 65 73 20 6c 6f |how all |files lo|
|00004700| 63 6b 65 64 20 62 79 20 | 79 6f 75 20 69 6e 20 63 |cked by |you in c|
|00004710| 75 72 72 65 6e 74 20 64 | 69 72 65 63 74 6f 72 79 |urrent d|irectory|
|00004720| 0a 5c 5c 5b 73 63 2d 6c | 69 73 74 2d 72 65 67 69 |.\\[sc-l|ist-regi|
|00004730| 73 74 65 72 65 64 2d 66 | 69 6c 65 73 5d 09 09 73 |stered-f|iles]..s|
|00004740| 68 6f 77 20 61 6c 6c 20 | 66 69 6c 65 73 20 75 6e |how all |files un|
|00004750| 64 65 72 20 73 6f 75 72 | 63 65 20 63 6f 6e 74 72 |der sour|ce contr|
|00004760| 6f 6c 20 69 6e 20 63 75 | 72 72 65 6e 74 20 64 69 |ol in cu|rrent di|
|00004770| 72 65 63 74 6f 72 79 0a | 5c 5c 5b 73 63 2d 75 70 |rectory.|\\[sc-up|
|00004780| 64 61 74 65 2d 64 69 72 | 65 63 74 6f 72 79 5d 09 |date-dir|ectory].|
|00004790| 09 67 65 74 20 66 72 65 | 73 68 20 63 6f 70 69 65 |.get fre|sh copie|
|000047a0| 73 20 6f 66 20 66 69 6c | 65 73 20 63 68 65 63 6b |s of fil|es check|
|000047b0| 65 64 2d 69 6e 20 62 79 | 20 6f 74 68 65 72 73 20 |ed-in by| others |
|000047c0| 69 6e 20 63 75 72 72 65 | 6e 74 20 64 69 72 65 63 |in curre|nt direc|
|000047d0| 74 6f 72 79 0a 5c 5c 5b | 73 63 2d 72 65 6e 61 6d |tory.\\[|sc-renam|
|000047e0| 65 2d 66 69 6c 65 5d 09 | 09 72 65 6e 61 6d 65 20 |e-file].|.rename |
|000047f0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 66 69 6c 65 |the curr|ent file|
|00004800| 20 61 6e 64 20 69 74 73 | 20 73 6f 75 72 63 65 20 | and its| source |
|00004810| 63 6f 6e 74 72 6f 6c 20 | 66 69 6c 65 0a 0a 0a 57 |control |file...W|
|00004820| 68 69 6c 65 20 79 6f 75 | 20 61 72 65 20 65 6e 74 |hile you| are ent|
|00004830| 65 72 69 6e 67 20 61 20 | 63 68 61 6e 67 65 20 6c |ering a |change l|
|00004840| 6f 67 20 6d 65 73 73 61 | 67 65 20 66 6f 72 20 61 |og messa|ge for a|
|00004850| 20 63 68 65 63 6b 20 69 | 6e 2c 20 73 63 2d 6c 6f | check i|n, sc-lo|
|00004860| 67 2d 65 6e 74 72 79 2d | 6d 6f 64 65 0a 77 69 6c |g-entry-|mode.wil|
|00004870| 6c 20 62 65 20 69 6e 20 | 65 66 66 65 63 74 2e 0a |l be in |effect..|
|00004880| 0a 47 6c 6f 62 61 6c 20 | 75 73 65 72 20 6f 70 74 |.Global |user opt|
|00004890| 69 6f 6e 73 3a 0a 20 20 | 20 20 73 63 2d 64 69 66 |ions:. | sc-dif|
|000048a0| 66 2d 63 6f 6d 6d 61 6e | 64 09 41 20 6c 69 73 74 |f-comman|d.A list|
|000048b0| 20 63 6f 6e 73 69 73 74 | 69 6e 67 20 6f 66 20 74 | consist|ing of t|
|000048c0| 68 65 20 63 6f 6d 6d 61 | 6e 64 20 61 6e 64 20 66 |he comma|nd and f|
|000048d0| 6c 61 67 73 0a 09 09 09 | 74 6f 20 62 65 20 75 73 |lags....|to be us|
|000048e0| 65 64 20 66 6f 72 20 67 | 65 6e 65 72 61 74 69 6e |ed for g|eneratin|
|000048f0| 67 20 63 6f 6e 74 65 78 | 74 20 64 69 66 66 73 2e |g contex|t diffs.|
|00004900| 0a 20 20 20 20 73 63 2d | 6d 6f 64 65 2d 65 78 70 |. sc-|mode-exp|
|00004910| 65 72 74 09 73 75 70 70 | 72 65 73 73 65 73 20 73 |ert.supp|resses s|
|00004920| 6f 6d 65 20 63 6f 6e 66 | 6f 72 6d 61 74 69 6f 6e |ome conf|ormation|
|00004930| 20 70 72 6f 6d 70 74 73 | 2c 0a 09 09 09 6e 6f 74 | prompts|,....not|
|00004940| 61 62 6c 79 20 66 6f 72 | 20 64 65 6c 74 61 20 61 |ably for| delta a|
|00004950| 62 6f 72 74 73 20 61 6e | 64 20 66 69 6c 65 20 73 |borts an|d file s|
|00004960| 61 76 65 73 2e 0a 20 20 | 20 20 73 63 2d 6d 61 78 |aves.. | sc-max|
|00004970| 2d 6c 6f 67 2d 73 69 7a | 65 09 73 70 65 63 69 66 |-log-siz|e.specif|
|00004980| 69 65 73 20 74 68 65 20 | 6d 61 78 69 6d 75 6d 20 |ies the |maximum |
|00004990| 61 6c 6c 6f 77 61 62 6c | 65 20 73 69 7a 65 0a 09 |allowabl|e size..|
|000049a0| 09 09 6f 66 20 61 20 6c | 6f 67 20 6d 65 73 73 61 |..of a l|og messa|
|000049b0| 67 65 20 70 6c 75 73 20 | 6f 6e 65 2e 0a 0a 0a 57 |ge plus |one....W|
|000049c0| 68 65 6e 20 75 73 69 6e | 67 20 53 43 43 53 20 79 |hen usin|g SCCS y|
|000049d0| 6f 75 20 68 61 76 65 20 | 61 64 64 69 74 69 6f 6e |ou have |addition|
|000049e0| 61 6c 20 63 6f 6d 6d 61 | 6e 64 73 20 61 6e 64 20 |al comma|nds and |
|000049f0| 6f 70 74 69 6f 6e 73 0a | 0a 5c 5c 5b 73 63 63 73 |options.|.\\[sccs|
|00004a00| 2d 69 6e 73 65 72 74 2d | 68 65 61 64 65 72 73 5d |-insert-|headers]|
|00004a10| 09 09 69 6e 73 65 72 74 | 20 73 6f 75 72 63 65 20 |..insert| source |
|00004a20| 63 6f 6e 74 72 6f 6c 20 | 68 65 61 64 65 72 73 20 |control |headers |
|00004a30| 69 6e 20 63 75 72 72 65 | 6e 74 20 66 69 6c 65 0a |in curre|nt file.|
|00004a40| 0a 57 68 65 6e 20 79 6f | 75 20 67 65 6e 65 72 61 |.When yo|u genera|
|00004a50| 74 65 20 68 65 61 64 65 | 72 73 20 69 6e 74 6f 20 |te heade|rs into |
|00004a60| 61 20 62 75 66 66 65 72 | 20 75 73 69 6e 67 20 5c |a buffer| using \|
|00004a70| 5c 5b 73 63 63 73 2d 69 | 6e 73 65 72 74 2d 68 65 |\[sccs-i|nsert-he|
|00004a80| 61 64 65 72 73 5d 2c 0a | 74 68 65 20 76 61 6c 75 |aders],.|the valu|
|00004a90| 65 20 6f 66 20 73 63 2d | 69 6e 73 65 72 74 2d 68 |e of sc-|insert-h|
|00004aa0| 65 61 64 65 72 73 2d 68 | 6f 6f 6b 20 69 73 20 63 |eaders-h|ook is c|
|00004ab0| 61 6c 6c 65 64 20 62 65 | 66 6f 72 65 20 69 6e 73 |alled be|fore ins|
|00004ac0| 65 72 74 69 6f 6e 2e 20 | 49 66 20 74 68 65 0a 66 |ertion. |If the.f|
|00004ad0| 69 6c 65 20 69 73 20 72 | 65 63 6f 67 6e 69 7a 65 |ile is r|ecognize|
|00004ae0| 64 20 61 20 43 20 6f 72 | 20 4c 69 73 70 20 73 6f |d a C or| Lisp so|
|00004af0| 75 72 63 65 2c 20 73 63 | 2d 69 6e 73 65 72 74 2d |urce, sc|-insert-|
|00004b00| 63 2d 68 65 61 64 65 72 | 2d 68 6f 6f 6b 20 6f 72 |c-header|-hook or|
|00004b10| 0a 73 63 2d 69 6e 73 65 | 72 74 2d 6c 69 73 70 2d |.sc-inse|rt-lisp-|
|00004b20| 68 65 61 64 65 72 2d 68 | 6f 6f 6b 20 69 73 20 63 |header-h|ook is c|
|00004b30| 61 6c 6c 65 64 20 61 66 | 74 65 72 20 69 6e 73 65 |alled af|ter inse|
|00004b40| 72 74 69 6f 6e 20 72 65 | 73 70 65 63 74 69 76 65 |rtion re|spective|
|00004b50| 6c 79 2e 0a 0a 20 20 20 | 20 73 63 63 73 2d 68 65 |ly... | sccs-he|
|00004b60| 61 64 65 72 73 2d 77 61 | 6e 74 65 64 09 77 68 69 |aders-wa|nted.whi|
|00004b70| 63 68 20 25 2d 6b 65 79 | 77 6f 72 64 73 20 74 6f |ch %-key|words to|
|00004b80| 20 69 6e 73 65 72 74 20 | 77 68 65 6e 20 61 64 64 | insert |when add|
|00004b90| 69 6e 67 0a 09 09 09 68 | 65 61 64 65 72 73 20 77 |ing....h|eaders w|
|00004ba0| 69 74 68 20 43 2d 63 20 | 68 0a 20 20 20 20 73 63 |ith C-c |h. sc|
|00004bb0| 63 73 2d 69 6e 73 65 72 | 74 2d 73 74 61 74 69 63 |cs-inser|t-static|
|00004bc0| 09 69 66 20 6e 6f 6e 2d | 6e 69 6c 2c 20 6b 65 79 |.if non-|nil, key|
|00004bd0| 77 6f 72 64 73 20 69 6e | 73 65 72 74 65 64 20 69 |words in|serted i|
|00004be0| 6e 20 43 20 66 69 6c 65 | 73 0a 09 09 09 67 65 74 |n C file|s....get|
|00004bf0| 20 73 74 75 66 66 65 64 | 20 69 6e 20 61 20 73 74 | stuffed| in a st|
|00004c00| 61 74 69 63 20 73 74 72 | 69 6e 67 20 61 72 65 61 |atic str|ing area|
|00004c10| 20 73 6f 20 74 68 61 74 | 0a 09 09 09 77 68 61 74 | so that|....what|
|00004c20| 28 31 29 20 63 61 6e 20 | 73 65 65 20 74 68 65 6d |(1) can |see them|
|00004c30| 20 69 6e 20 74 68 65 20 | 63 6f 6d 70 69 6c 65 64 | in the |compiled|
|00004c40| 20 6f 62 6a 65 63 74 20 | 63 6f 64 65 2e 0a 0a 57 | object |code...W|
|00004c50| 68 65 6e 20 75 73 69 6e | 67 20 43 56 53 20 79 6f |hen usin|g CVS yo|
|00004c60| 75 20 68 61 76 65 20 61 | 64 64 69 74 69 6f 6e 61 |u have a|dditiona|
|00004c70| 6c 20 63 6f 6d 6d 61 6e | 64 73 0a 0a 5c 5c 5b 73 |l comman|ds..\\[s|
|00004c80| 63 2d 63 76 73 2d 75 70 | 64 61 74 65 2d 64 69 72 |c-cvs-up|date-dir|
|00004c90| 65 63 74 6f 72 79 5d 09 | 75 70 64 61 74 65 20 74 |ectory].|update t|
|00004ca0| 68 65 20 63 75 72 72 65 | 6e 74 20 64 69 72 65 63 |he curre|nt direc|
|00004cb0| 74 6f 72 79 20 75 73 69 | 6e 67 20 70 63 6c 2d 63 |tory usi|ng pcl-c|
|00004cc0| 76 73 0a 5c 5c 5b 73 63 | 2d 63 76 73 2d 66 69 6c |vs.\\[sc|-cvs-fil|
|00004cd0| 65 2d 73 74 61 74 75 73 | 5d 09 09 73 68 6f 77 20 |e-status|]..show |
|00004ce0| 74 68 65 20 43 56 53 20 | 73 74 61 74 75 73 20 6f |the CVS |status o|
|00004cf0| 66 20 63 75 72 72 65 6e | 74 20 66 69 6c 65 0a 22 |f curren|t file."|
|00004d00| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 08 ab 82 | (byte-c|ode "...|
|00004d10| c1 87 c2 c3 c4 c5 5c 22 | 21 43 87 22 20 5b 73 63 |......\"|!C." [sc|
|00004d20| 2d 6d 6f 64 65 20 28 6e | 69 6c 29 20 69 6e 74 65 |-mode (n|il) inte|
|00004d30| 72 6e 20 72 65 61 64 2d | 73 74 72 69 6e 67 20 22 |rn read-|string "|
|00004d40| 54 75 72 6e 20 6f 6e 20 | 73 6f 75 72 63 65 20 63 |Turn on |source c|
|00004d50| 6f 6e 74 72 6f 6c 20 6d | 6f 64 65 20 6f 6e 20 66 |ontrol m|ode on f|
|00004d60| 6f 72 3a 20 22 20 22 53 | 43 43 53 22 5d 20 34 29 |or: " "S|CCS"] 4)|
|00004d70| 5d 29 0a 28 66 73 65 74 | 20 27 73 63 2d 6c 6f 67 |]).(fset| 'sc-log|
|00004d80| 2d 65 6e 74 72 79 2d 6d | 6f 64 65 20 23 5b 6e 69 |-entry-m|ode #[ni|
|00004d90| 6c 20 22 c0 09 21 88 c2 | 0b 21 88 0c 15 c6 16 07 |l "..!..|.!......|
|00004da0| c8 16 09 ca cb cc 5c 22 | 87 22 20 5b 73 65 74 2d |......\"|." [set-|
|00004db0| 73 79 6e 74 61 78 2d 74 | 61 62 6c 65 20 74 65 78 |syntax-t|able tex|
|00004dc0| 74 2d 6d 6f 64 65 2d 73 | 79 6e 74 61 78 2d 74 61 |t-mode-s|yntax-ta|
|00004dd0| 62 6c 65 20 75 73 65 2d | 6c 6f 63 61 6c 2d 6d 61 |ble use-|local-ma|
|00004de0| 70 20 73 63 2d 6c 6f 67 | 2d 65 6e 74 72 79 2d 6b |p sc-log|-entry-k|
|00004df0| 65 79 6d 61 70 20 74 65 | 78 74 2d 6d 6f 64 65 2d |eymap te|xt-mode-|
|00004e00| 61 62 62 72 65 76 2d 74 | 61 62 6c 65 20 6c 6f 63 |abbrev-t|able loc|
|00004e10| 61 6c 2d 61 62 62 72 65 | 76 2d 74 61 62 6c 65 20 |al-abbre|v-table |
|00004e20| 73 63 2d 6c 6f 67 2d 65 | 6e 74 72 79 2d 6d 6f 64 |sc-log-e|ntry-mod|
|00004e30| 65 20 6d 61 6a 6f 72 2d | 6d 6f 64 65 20 22 53 6f |e major-|mode "So|
|00004e40| 75 72 63 65 20 43 6f 6e | 74 72 6f 6c 20 43 68 61 |urce Con|trol Cha|
|00004e50| 6e 67 65 20 4c 6f 67 20 | 45 6e 74 72 79 22 20 6d |nge Log |Entry" m|
|00004e60| 6f 64 65 2d 6e 61 6d 65 | 20 72 75 6e 2d 68 6f 6f |ode-name| run-hoo|
|00004e70| 6b 73 20 74 65 78 74 2d | 6d 6f 64 65 2d 68 6f 6f |ks text-|mode-hoo|
|00004e80| 6b 20 73 63 2d 6c 6f 67 | 2d 65 6e 74 72 79 2d 6d |k sc-log|-entry-m|
|00004e90| 6f 64 65 2d 68 6f 6f 6b | 5d 20 33 20 22 5c 0a 4d |ode-hook|] 3 "\.M|
|00004ea0| 61 6a 6f 72 20 6d 6f 64 | 65 20 66 6f 72 20 65 64 |ajor mod|e for ed|
|00004eb0| 69 74 69 6e 67 20 6c 6f | 67 20 6d 65 73 73 61 67 |iting lo|g messag|
|00004ec0| 65 2e 0a 0a 54 68 65 73 | 65 20 62 69 6e 64 69 6e |e...Thes|e bindin|
|00004ed0| 67 73 20 61 72 65 20 61 | 76 61 69 6c 61 62 6c 65 |gs are a|vailable|
|00004ee0| 20 77 68 65 6e 20 65 6e | 74 65 72 69 6e 67 20 74 | when en|tering t|
|00004ef0| 68 65 20 6c 6f 67 20 6d | 65 73 73 61 67 65 0a 5c |he log m|essage.\|
|00004f00| 5c 5b 73 63 2d 6c 6f 67 | 2d 65 78 69 74 5d 09 09 |\[sc-log|-exit]..|
|00004f10| 70 72 6f 63 65 65 64 20 | 77 69 74 68 20 63 68 65 |proceed |with che|
|00004f20| 63 6b 20 69 6e 2c 20 65 | 6e 64 69 6e 67 20 6c 6f |ck in, e|nding lo|
|00004f30| 67 20 6d 65 73 73 61 67 | 65 20 65 6e 74 72 79 0a |g messag|e entry.|
|00004f40| 5c 5c 5b 73 63 2d 69 6e | 73 65 72 74 2d 6c 61 73 |\\[sc-in|sert-las|
|00004f50| 74 2d 6c 6f 67 5d 09 09 | 69 6e 73 65 72 74 20 6c |t-log]..|insert l|
|00004f60| 6f 67 20 6d 65 73 73 61 | 67 65 20 66 72 6f 6d 20 |og messa|ge from |
|00004f70| 6c 61 73 74 20 63 68 65 | 63 6b 2d 69 6e 0a 5c 5c |last che|ck-in.\\|
|00004f80| 5b 73 63 2d 61 62 6f 72 | 74 2d 63 68 65 63 6b 2d |[sc-abor|t-check-|
|00004f90| 69 6e 5d 09 09 61 62 6f | 72 74 20 74 68 69 73 20 |in]..abo|rt this |
|00004fa0| 63 68 65 63 6b 2d 69 6e | 0a 0a 45 6e 74 72 79 20 |check-in|..Entry |
|00004fb0| 74 6f 20 74 68 65 20 63 | 68 61 6e 67 65 2d 6c 6f |to the c|hange-lo|
|00004fc0| 67 20 73 75 62 6d 6f 64 | 65 20 63 61 6c 6c 73 20 |g submod|e calls |
|00004fd0| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 74 65 78 |the valu|e of tex|
|00004fe0| 74 2d 6d 6f 64 65 2d 68 | 6f 6f 6b 2c 20 74 68 65 |t-mode-h|ook, the|
|00004ff0| 6e 0a 74 68 65 20 76 61 | 6c 75 65 20 73 63 2d 6c |n.the va|lue sc-l|
|00005000| 6f 67 2d 65 6e 74 72 79 | 2d 6d 6f 64 65 2d 68 6f |og-entry|-mode-ho|
|00005010| 6f 6b 2e 0a 22 20 6e 69 | 6c 5d 29 0a 28 64 65 66 |ok.." ni|l]).(def|
|00005020| 76 61 72 20 73 63 63 73 | 2d 62 69 6e 2d 64 69 72 |var sccs|-bin-dir|
|00005030| 65 63 74 6f 72 79 20 28 | 62 79 74 65 2d 63 6f 64 |ectory (|byte-cod|
|00005040| 65 20 22 c0 c1 21 ab 82 | c2 87 c0 c3 21 ab 82 c4 |e "..!..|....!...|
|00005050| 87 c5 c2 21 ab 82 c2 87 | c5 c6 21 ab 82 c6 87 c4 |...!....|..!.....|
|00005060| 87 22 20 5b 66 69 6c 65 | 2d 65 78 65 63 75 74 61 |." [file|-executa|
|00005070| 62 6c 65 2d 70 20 22 2f | 75 73 72 2f 73 63 63 73 |ble-p "/|usr/sccs|
|00005080| 2f 75 6e 67 65 74 22 20 | 22 2f 75 73 72 2f 73 63 |/unget" |"/usr/sc|
|00005090| 63 73 22 20 22 2f 75 73 | 72 2f 62 69 6e 2f 75 6e |cs" "/us|r/bin/un|
|000050a0| 67 65 74 22 20 22 2f 75 | 73 72 2f 62 69 6e 22 20 |get" "/u|sr/bin" |
|000050b0| 66 69 6c 65 2d 64 69 72 | 65 63 74 6f 72 79 2d 70 |file-dir|ectory-p|
|000050c0| 20 22 2f 75 73 72 2f 62 | 69 6e 2f 73 63 63 73 22 | "/usr/b|in/sccs"|
|000050d0| 5d 20 32 29 20 22 5c 0a | 2a 44 69 72 65 63 74 6f |] 2) "\.|*Directo|
|000050e0| 72 79 20 77 68 65 72 65 | 20 74 6f 20 66 69 6e 64 |ry where| to find|
|000050f0| 20 74 68 65 20 73 63 63 | 73 20 65 78 65 63 75 74 | the scc|s execut|
|00005100| 61 62 6c 65 73 22 29 0a | 28 64 65 66 76 61 72 20 |ables").|(defvar |
|00005110| 73 63 63 73 2d 68 65 61 | 64 65 72 73 2d 77 61 6e |sccs-hea|ders-wan|
|00005120| 74 65 64 20 27 28 22 25 | 57 25 22 29 20 22 5c 0a |ted '("%|W%") "\.|
|00005130| 2a 53 43 43 53 20 68 65 | 61 64 65 72 20 6b 65 79 |*SCCS he|ader key|
|00005140| 77 6f 72 64 73 20 74 6f | 20 62 65 20 69 6e 73 65 |words to| be inse|
|00005150| 72 74 65 64 20 77 68 65 | 6e 20 73 63 63 73 2d 69 |rted whe|n sccs-i|
|00005160| 6e 73 65 72 74 2d 68 65 | 61 64 65 72 20 69 73 20 |nsert-he|ader is |
|00005170| 65 78 65 63 75 74 65 64 | 2e 22 29 0a 28 64 65 66 |executed|.").(def|
|00005180| 76 61 72 20 73 63 63 73 | 2d 69 6e 73 65 72 74 2d |var sccs|-insert-|
|00005190| 73 74 61 74 69 63 20 74 | 20 22 5c 0a 2a 49 6e 73 |static t| "\.*Ins|
|000051a0| 65 72 74 20 61 20 73 74 | 61 74 69 63 20 63 68 61 |ert a st|atic cha|
|000051b0| 72 61 63 74 65 72 20 73 | 74 72 69 6e 67 20 77 68 |racter s|tring wh|
|000051c0| 65 6e 20 69 6e 73 65 72 | 74 69 6e 67 20 73 6f 75 |en inser|ting sou|
|000051d0| 72 63 65 20 63 6f 6e 74 | 72 6f 6c 20 68 65 61 64 |rce cont|rol head|
|000051e0| 65 72 73 20 69 6e 20 43 | 20 6d 6f 64 65 2e 0a 4f |ers in C| mode..O|
|000051f0| 6e 6c 79 20 72 65 6c 65 | 76 61 6e 74 20 66 6f 72 |nly rele|vant for|
|00005200| 20 74 68 65 20 53 43 43 | 53 20 6d 6f 64 65 2e 22 | the SCC|S mode."|
|00005210| 29 0a 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 c1 |).(byte-|code "..|
|00005220| 21 ac 82 c2 11 c0 c3 21 | ac 82 c2 13 c2 87 22 20 |!......!|......" |
|00005230| 5b 62 6f 75 6e 64 70 20 | 73 63 63 73 2d 6c 6f 67 |[boundp |sccs-log|
|00005240| 2d 65 6e 74 72 79 2d 6d | 6f 64 65 20 6e 69 6c 20 |-entry-m|ode nil |
|00005250| 73 63 63 73 2d 63 75 72 | 72 65 6e 74 2d 6d 61 6a |sccs-cur|rent-maj|
|00005260| 6f 72 2d 76 65 72 73 69 | 6f 6e 5d 20 32 29 0a 28 |or-versi|on] 2).(|
|00005270| 66 73 65 74 20 27 73 63 | 63 73 2d 6e 61 6d 65 20 |fset 'sc|cs-name |
|00005280| 23 5b 28 66 69 6c 65 20 | 26 6f 70 74 69 6f 6e 61 |#[(file |&optiona|
|00005290| 6c 20 6c 65 74 74 65 72 | 29 20 22 08 3f 3f ad 97 |l letter|) ".??..|
|000052a0| c1 08 21 1a c3 c4 c5 5c | 6e 21 b0 01 0e 06 ae 81 |..!....\|n!......|
|000052b0| c7 c8 5c 6e 21 b0 01 24 | 29 87 22 20 5b 66 69 6c |..\n!..$|)." [fil|
|000052c0| 65 20 65 78 70 61 6e 64 | 2d 66 69 6c 65 2d 6e 61 |e expand|-file-na|
|000052d0| 6d 65 20 65 78 70 61 6e | 64 65 64 2d 66 69 6c 65 |me expan|ded-file|
|000052e0| 20 66 6f 72 6d 61 74 20 | 22 25 73 53 43 43 53 2f | format |"%sSCCS/|
|000052f0| 25 73 2e 25 73 22 20 66 | 69 6c 65 2d 6e 61 6d 65 |%s.%s" f|ile-name|
|00005300| 2d 64 69 72 65 63 74 6f | 72 79 20 6c 65 74 74 65 |-directo|ry lette|
|00005310| 72 20 22 73 22 20 66 69 | 6c 65 2d 6e 61 6d 65 2d |r "s" fi|le-name-|
|00005320| 6e 6f 6e 64 69 72 65 63 | 74 6f 72 79 5d 20 36 20 |nondirec|tory] 6 |
|00005330| 22 5c 0a 52 65 74 75 72 | 6e 20 74 68 65 20 73 63 |"\.Retur|n the sc|
|00005340| 63 73 2d 66 69 6c 65 20 | 6e 61 6d 65 20 63 6f 72 |cs-file |name cor|
|00005350| 72 65 73 70 6f 6e 64 69 | 6e 67 20 74 6f 20 61 20 |respondi|ng to a |
|00005360| 67 69 76 65 6e 20 66 69 | 6c 65 2e 22 5d 29 0a 28 |given fi|le."]).(|
|00005370| 66 73 65 74 20 27 73 63 | 63 73 2d 6c 6f 63 6b 2d |fset 'sc|cs-lock-|
|00005380| 69 6e 66 6f 20 23 5b 28 | 66 69 6c 65 29 20 22 c0 |info #[(|file) ".|
|00005390| 09 c2 5c 22 c0 09 c3 5c | 22 1c 1d 09 ab 85 c6 0d |..\"...\|".......|
|000053a0| 21 ac 83 c7 aa c6 c6 0c | 21 ac 85 c7 89 44 aa bc |!.......|!....D..|
|000053b0| 8a c8 c9 21 71 88 ca 0c | 21 88 cb cc c7 cd 23 ab |...!q...|!.....#.|
|000053c0| 88 ce cf c7 cd 23 88 aa | 71 65 62 88 d0 79 88 60 |.....#..|qeb..y.`|
|000053d0| c7 7f 88 60 7b d0 79 88 | 60 c7 7f 88 60 7b 1e 11 |...`{.y.|`...`{..|
|000053e0| 1e 12 d3 70 21 88 0e 11 | 0e 12 2b 44 2a 87 22 20 |...p!...|..+D*." |
|000053f0| 5b 73 63 63 73 2d 6e 61 | 6d 65 20 66 69 6c 65 20 |[sccs-na|me file |
|00005400| 22 73 22 20 22 70 22 20 | 6c 6f 63 6b 2d 66 69 6c |"s" "p" |lock-fil|
|00005410| 65 20 73 63 63 73 2d 66 | 69 6c 65 20 66 69 6c 65 |e sccs-f|ile file|
|00005420| 2d 65 78 69 73 74 73 2d | 70 20 6e 69 6c 20 67 65 |-exists-|p nil ge|
|00005430| 74 2d 62 75 66 66 65 72 | 2d 63 72 65 61 74 65 20 |t-buffer|-create |
|00005440| 22 2a 53 43 43 53 20 74 | 6d 70 2a 22 20 69 6e 73 |"*SCCS t|mp*" ins|
|00005450| 65 72 74 2d 66 69 6c 65 | 20 73 65 61 72 63 68 2d |ert-file| search-|
|00005460| 66 6f 72 77 61 72 64 20 | 22 20 22 20 74 20 72 65 |forward |" " t re|
|00005470| 70 6c 61 63 65 2d 6d 61 | 74 63 68 20 22 5c 6e 22 |place-ma|tch "\n"|
|00005480| 20 31 20 6e 61 6d 65 20 | 72 65 76 69 73 69 6f 6e | 1 name |revision|
|00005490| 20 6b 69 6c 6c 2d 62 75 | 66 66 65 72 5d 20 34 20 | kill-bu|ffer] 4 |
|000054a0| 22 5c 0a 4c 6f 63 6b 2d | 69 6e 66 6f 20 6d 65 74 |"\.Lock-|info met|
|000054b0| 68 6f 64 20 66 6f 72 20 | 53 43 43 53 2e 20 20 53 |hod for |SCCS. S|
|000054c0| 65 65 20 73 63 2d 67 65 | 6e 65 72 69 63 2d 6c 6f |ee sc-ge|neric-lo|
|000054d0| 63 6b 2d 69 6e 66 6f 22 | 5d 29 0a 28 66 73 65 74 |ck-info"|]).(fset|
|000054e0| 20 27 73 63 63 73 2d 64 | 6f 2d 63 6f 6d 6d 61 6e | 'sccs-d|o-comman|
|000054f0| 64 20 23 5b 28 62 75 66 | 66 65 72 20 63 6f 6d 6d |d #[(buf|fer comm|
|00005500| 61 6e 64 20 66 69 6c 65 | 20 26 72 65 73 74 20 66 |and file| &rest f|
|00005510| 6c 61 67 73 29 20 22 08 | 09 42 19 c2 c3 0c 0d 89 |lags) ".|.B......|
|00005520| 0e 06 c7 0e 06 21 0e 08 | 26 07 29 87 22 20 5b 73 |.....!..|&.)." [s|
|00005530| 63 63 73 2d 62 69 6e 2d | 64 69 72 65 63 74 6f 72 |ccs-bin-|director|
|00005540| 79 20 65 78 65 63 2d 70 | 61 74 68 20 61 70 70 6c |y exec-p|ath appl|
|00005550| 79 20 73 63 2d 64 6f 2d | 63 6f 6d 6d 61 6e 64 20 |y sc-do-|command |
|00005560| 62 75 66 66 65 72 20 63 | 6f 6d 6d 61 6e 64 20 66 |buffer c|ommand f|
|00005570| 69 6c 65 20 73 63 63 73 | 2d 6e 61 6d 65 20 66 6c |ile sccs|-name fl|
|00005580| 61 67 73 5d 20 38 20 22 | 5c 0a 45 78 65 63 75 74 |ags] 8 "|\.Execut|
|00005590| 65 20 61 6e 20 53 43 43 | 53 20 63 6f 6d 6d 61 6e |e an SCC|S comman|
|000055a0| 64 2c 20 6e 6f 74 69 66 | 79 69 6e 67 20 74 68 65 |d, notif|ying the|
|000055b0| 20 75 73 65 72 20 61 6e | 64 20 63 68 65 63 6b 69 | user an|d checki|
|000055c0| 6e 67 20 66 6f 72 20 65 | 72 72 6f 72 73 2e 22 5d |ng for e|rrors."]|
|000055d0| 29 0a 28 66 73 65 74 20 | 27 73 63 63 73 2d 61 64 |).(fset |'sccs-ad|
|000055e0| 6d 69 6e 20 23 5b 28 66 | 69 6c 65 20 73 69 64 29 |min #[(f|ile sid)|
|000055f0| 20 22 c0 20 ab 8c c1 c2 | c3 c4 20 5c 22 21 ab 83 | ". ....|.. \"!..|
|00005600| c5 20 88 c6 c7 c8 0e 09 | ca 0e 09 50 cb 0e 0c 50 |. ......|...P...P|
|00005610| 25 88 cd ce cf 89 89 d0 | 0e 09 26 06 88 d1 0e 09 |%.......|..&.....|
|00005620| cf 5c 22 87 22 20 5b 62 | 75 66 66 65 72 2d 6d 6f |.\"." [b|uffer-mo|
|00005630| 64 69 66 69 65 64 2d 70 | 20 79 2d 6f 72 2d 6e 2d |dified-p| y-or-n-|
|00005640| 70 20 66 6f 72 6d 61 74 | 20 22 25 73 20 68 61 73 |p format| "%s has|
|00005650| 20 62 65 65 6e 20 6d 6f | 64 69 66 69 65 64 2e 20 | been mo|dified. |
|00005660| 57 72 69 74 65 20 69 74 | 20 6f 75 74 3f 20 22 20 |Write it| out? " |
|00005670| 62 75 66 66 65 72 2d 6e | 61 6d 65 20 73 61 76 65 |buffer-n|ame save|
|00005680| 2d 62 75 66 66 65 72 20 | 73 63 63 73 2d 64 6f 2d |-buffer |sccs-do-|
|00005690| 63 6f 6d 6d 61 6e 64 20 | 22 2a 53 43 43 53 2a 22 |command |"*SCCS*"|
|000056a0| 20 22 61 64 6d 69 6e 22 | 20 66 69 6c 65 20 22 2d | "admin"| file "-|
|000056b0| 69 22 20 22 2d 72 22 20 | 73 69 64 20 63 61 6c 6c |i" "-r" |sid call|
|000056c0| 2d 70 72 6f 63 65 73 73 | 20 22 63 68 6d 6f 64 22 |-process| "chmod"|
|000056d0| 20 6e 69 6c 20 22 2d 77 | 22 20 73 63 63 73 2d 63 | nil "-w|" sccs-c|
|000056e0| 68 65 63 6b 2d 6f 75 74 | 5d 20 37 20 22 5c 0a 43 |heck-out|] 7 "\.C|
|000056f0| 68 65 63 6b 73 20 61 20 | 66 69 6c 65 20 69 6e 74 |hecks a |file int|
|00005700| 6f 20 73 63 63 73 2e 0a | 46 49 4c 45 20 69 73 20 |o sccs..|FILE is |
|00005710| 74 68 65 20 75 6e 6d 6f | 64 69 66 69 65 64 20 6e |the unmo|dified n|
|00005720| 61 6d 65 20 6f 66 20 74 | 68 65 20 66 69 6c 65 2e |ame of t|he file.|
|00005730| 20 20 53 49 44 20 73 68 | 6f 75 6c 64 20 62 65 20 | SID sh|ould be |
|00005740| 74 68 65 20 62 61 73 65 | 2d 6c 65 76 65 6c 20 73 |the base|-level s|
|00005750| 69 64 20 74 6f 0a 63 68 | 65 63 6b 20 69 74 20 69 |id to.ch|eck it i|
|00005760| 6e 20 75 6e 64 65 72 2e | 22 5d 29 0a 28 66 73 65 |n under.|"]).(fse|
|00005770| 74 20 27 73 63 63 73 2d | 72 65 67 69 73 74 65 72 |t 'sccs-|register|
|00005780| 20 23 5b 28 66 69 6c 65 | 20 72 65 76 69 73 69 6f | #[(file| revisio|
|00005790| 6e 29 20 22 c0 20 88 c1 | c2 21 ac 89 c3 c4 21 ab |n) ". ..|.!....!.|
|000057a0| 84 c5 c2 21 88 c6 0e 07 | 0e 08 ab 84 0e 08 aa 8b |...!....|........|
|000057b0| c9 ca cb 8f ab 83 cc aa | 82 0e 0d 5c 22 87 22 20 |........|...\"." |
|000057c0| 5b 73 63 63 73 2d 6c 6f | 61 64 2d 76 61 72 73 20 |[sccs-lo|ad-vars |
|000057d0| 66 69 6c 65 2d 65 78 69 | 73 74 73 2d 70 20 22 53 |file-exi|sts-p "S|
|000057e0| 43 43 53 22 20 79 2d 6f | 72 2d 6e 2d 70 20 22 44 |CCS" y-o|r-n-p "D|
|000057f0| 69 72 65 63 74 6f 72 79 | 20 53 43 43 53 20 64 6f |irectory| SCCS do|
|00005800| 65 73 20 6e 6f 74 20 65 | 78 69 73 74 2c 20 63 72 |es not e|xist, cr|
|00005810| 65 61 74 65 20 69 74 3f | 22 20 6d 61 6b 65 2d 64 |eate it?|" make-d|
|00005820| 69 72 65 63 74 6f 72 79 | 20 73 63 63 73 2d 61 64 |irectory| sccs-ad|
|00005830| 6d 69 6e 20 66 69 6c 65 | 20 72 65 76 69 73 69 6f |min file| revisio|
|00005840| 6e 20 6e 69 6c 20 28 62 | 79 74 65 2d 63 6f 64 65 |n nil (b|yte-code|
|00005850| 20 22 c0 c1 21 88 c2 87 | 22 20 5b 6c 6f 61 64 2d | "..!...|" [load-|
|00005860| 66 69 6c 65 20 22 53 43 | 43 53 2f 65 6d 61 63 73 |file "SC|CS/emacs|
|00005870| 2d 76 61 72 73 2e 65 6c | 22 20 6e 69 6c 5d 20 32 |-vars.el|" nil] 2|
|00005880| 29 20 28 28 65 72 72 6f | 72 20 74 29 29 20 22 31 |) ((erro|r t)) "1|
|00005890| 22 20 73 63 63 73 2d 63 | 75 72 72 65 6e 74 2d 6d |" sccs-c|urrent-m|
|000058a0| 61 6a 6f 72 2d 76 65 72 | 73 69 6f 6e 5d 20 35 5d |ajor-ver|sion] 5]|
|000058b0| 29 0a 28 66 73 65 74 20 | 27 73 63 63 73 2d 63 68 |).(fset |'sccs-ch|
|000058c0| 65 63 6b 2d 6f 75 74 20 | 23 5b 28 66 69 6c 65 20 |eck-out |#[(file |
|000058d0| 6c 6f 63 6b 70 29 20 22 | c0 c1 c2 0b 0c ad 81 c5 |lockp) "|........|
|000058e0| 24 87 22 20 5b 73 63 63 | 73 2d 64 6f 2d 63 6f 6d |$." [scc|s-do-com|
|000058f0| 6d 61 6e 64 20 22 2a 53 | 43 43 53 2a 22 20 22 67 |mand "*S|CCS*" "g|
|00005900| 65 74 22 20 66 69 6c 65 | 20 6c 6f 63 6b 70 20 22 |et" file| lockp "|
|00005910| 2d 65 22 5d 20 35 20 22 | 5c 0a 52 65 74 72 69 65 |-e"] 5 "|\.Retrie|
|00005920| 76 65 20 61 20 63 6f 70 | 79 20 6f 66 20 74 68 65 |ve a cop|y of the|
|00005930| 20 6c 61 74 65 73 74 20 | 76 65 72 73 69 6f 6e 20 | latest |version |
|00005940| 6f 66 20 74 68 65 20 67 | 69 76 65 6e 20 66 69 6c |of the g|iven fil|
|00005950| 65 2e 22 5d 29 0a 28 66 | 73 65 74 20 27 73 63 63 |e."]).(f|set 'scc|
|00005960| 73 2d 67 65 74 2d 76 65 | 72 73 69 6f 6e 20 23 5b |s-get-ve|rsion #[|
|00005970| 28 66 69 6c 65 20 62 75 | 66 66 65 72 20 72 65 76 |(file bu|ffer rev|
|00005980| 69 73 69 6f 6e 29 20 22 | c0 09 c2 0b 0c ad 83 c5 |ision) "|........|
|00005990| 0c 50 c6 c7 26 06 87 22 | 20 5b 73 63 63 73 2d 64 |.P..&.."| [sccs-d|
|000059a0| 6f 2d 63 6f 6d 6d 61 6e | 64 20 62 75 66 66 65 72 |o-comman|d buffer|
|000059b0| 20 22 67 65 74 22 20 66 | 69 6c 65 20 72 65 76 69 | "get" f|ile revi|
|000059c0| 73 69 6f 6e 20 22 2d 72 | 22 20 22 2d 70 22 20 22 |sion "-r|" "-p" "|
|000059d0| 2d 73 22 5d 20 37 5d 29 | 0a 28 66 73 65 74 20 27 |-s"] 7])|.(fset '|
|000059e0| 73 63 63 73 2d 63 68 65 | 63 6b 2d 69 6e 20 23 5b |sccs-che|ck-in #[|
|000059f0| 28 66 69 6c 65 20 72 65 | 76 69 73 69 6f 6e 20 63 |(file re|vision c|
|00005a00| 6f 6d 6d 65 6e 74 29 20 | 22 c0 c1 c2 0b c4 c5 c6 |omment) |".......|
|00005a10| 0e 07 5c 22 c5 c8 0e 09 | 5c 22 26 06 88 ca cb cc |..\"....|\"&.....|
|00005a20| 89 89 cd 0b 26 06 88 8a | ce 0b 21 89 1e 0f ad 88 |....&...|..!.....|
|00005a30| 0e 0f 71 88 d0 0b cc 5c | 22 2a 87 22 20 5b 73 63 |..q....\|"*." [sc|
|00005a40| 63 73 2d 64 6f 2d 63 6f | 6d 6d 61 6e 64 20 22 2a |cs-do-co|mmand "*|
|00005a50| 53 43 43 53 2a 22 20 22 | 64 65 6c 74 61 22 20 66 |SCCS*" "|delta" f|
|00005a60| 69 6c 65 20 22 2d 6e 22 | 20 66 6f 72 6d 61 74 20 |ile "-n"| format |
|00005a70| 22 2d 72 25 73 22 20 72 | 65 76 69 73 69 6f 6e 20 |"-r%s" r|evision |
|00005a80| 22 2d 79 25 73 22 20 63 | 6f 6d 6d 65 6e 74 20 63 |"-y%s" c|omment c|
|00005a90| 61 6c 6c 2d 70 72 6f 63 | 65 73 73 20 22 63 68 6d |all-proc|ess "chm|
|00005aa0| 6f 64 22 20 6e 69 6c 20 | 22 2d 77 22 20 67 65 74 |od" nil |"-w" get|
|00005ab0| 2d 66 69 6c 65 2d 62 75 | 66 66 65 72 20 62 75 66 |-file-bu|ffer buf|
|00005ac0| 66 65 72 20 73 63 63 73 | 2d 63 68 65 63 6b 2d 6f |fer sccs|-check-o|
|00005ad0| 75 74 5d 20 31 30 20 22 | 5c 0a 43 68 65 63 6b 2d |ut] 10 "|\.Check-|
|00005ae0| 69 6e 20 61 20 67 69 76 | 65 6e 20 76 65 72 73 69 |in a giv|en versi|
|00005af0| 6f 6e 20 6f 66 20 74 68 | 65 20 67 69 76 65 6e 20 |on of th|e given |
|00005b00| 66 69 6c 65 20 77 69 74 | 68 20 74 68 65 20 67 69 |file wit|h the gi|
|00005b10| 76 65 6e 20 63 6f 6d 6d | 65 6e 74 2e 22 5d 29 0a |ven comm|ent."]).|
|00005b20| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 c1 4d 88 |(byte-co|de "..M.|
|00005b30| c2 c3 4d 88 c4 c5 4d 87 | 22 20 5b 73 63 63 73 2d |..M...M.|" [sccs-|
|00005b40| 68 69 73 74 6f 72 79 20 | 23 5b 28 66 69 6c 65 29 |history |#[(file)|
|00005b50| 20 22 c0 70 c1 5c 6e 23 | 87 22 20 5b 73 63 63 73 | ".p.\n#|." [sccs|
|00005b60| 2d 64 6f 2d 63 6f 6d 6d | 61 6e 64 20 22 70 72 73 |-do-comm|and "prs|
|00005b70| 22 20 66 69 6c 65 5d 20 | 34 5d 20 73 63 63 73 2d |" file] |4] sccs-|
|00005b80| 73 61 76 65 2d 76 61 72 | 73 20 23 5b 28 73 69 64 |save-var|s #[(sid|
|00005b90| 29 20 22 8a c0 c1 21 88 | c2 20 88 c3 0c c5 b1 03 |) "...!.|. ......|
|00005ba0| 88 c6 20 29 87 22 20 5b | 66 69 6e 64 2d 66 69 6c |.. )." [|find-fil|
|00005bb0| 65 20 22 53 43 43 53 2f | 65 6d 61 63 73 2d 76 61 |e "SCCS/|emacs-va|
|00005bc0| 72 73 2e 65 6c 22 20 65 | 72 61 73 65 2d 62 75 66 |rs.el" e|rase-buf|
|00005bd0| 66 65 72 20 22 28 73 65 | 74 71 20 73 63 63 73 2d |fer "(se|tq sccs-|
|00005be0| 63 75 72 72 65 6e 74 2d | 6d 61 6a 6f 72 2d 76 65 |current-|major-ve|
|00005bf0| 72 73 69 6f 6e 20 5c 22 | 22 20 73 69 64 20 22 5c |rsion \"|" sid "\|
|00005c00| 22 29 22 20 62 61 73 69 | 63 2d 73 61 76 65 2d 62 |")" basi|c-save-b|
|00005c10| 75 66 66 65 72 5d 20 33 | 5d 20 73 63 63 73 2d 6c |uffer] 3|] sccs-l|
|00005c20| 6f 61 64 2d 76 61 72 73 | 20 23 5b 6e 69 6c 20 22 |oad-vars| #[nil "|
|00005c30| c0 c1 c2 8f ad 83 c3 89 | 14 87 22 20 5b 6e 69 6c |........|.." [nil|
|00005c40| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 c1 21 | (byte-c|ode "..!|
|00005c50| 88 c2 87 22 20 5b 6c 6f | 61 64 2d 66 69 6c 65 20 |..." [lo|ad-file |
|00005c60| 22 53 43 43 53 2f 65 6d | 61 63 73 2d 76 61 72 73 |"SCCS/em|acs-vars|
|00005c70| 2e 65 6c 22 20 6e 69 6c | 5d 20 32 29 20 28 28 65 |.el" nil|] 2) ((e|
|00005c80| 72 72 6f 72 20 74 29 29 | 20 22 31 22 20 73 63 63 |rror t))| "1" scc|
|00005c90| 73 2d 63 75 72 72 65 6e | 74 2d 6d 61 6a 6f 72 2d |s-curren|t-major-|
|00005ca0| 76 65 72 73 69 6f 6e 5d | 20 33 5d 5d 20 32 29 0a |version]| 3]] 2).|
|00005cb0| 28 66 73 65 74 20 27 73 | 63 63 73 2d 69 6e 73 65 |(fset 's|ccs-inse|
|00005cc0| 72 74 2d 68 65 61 64 65 | 72 73 20 23 5b 6e 69 6c |rt-heade|rs #[nil|
|00005cd0| 20 22 8a 8c 7e 88 c0 20 | ab 85 c1 c2 21 ad c8 65 | "..~.. |....!..e|
|00005ce0| 62 88 c3 c4 21 88 0d c6 | 3d ab 84 c7 20 aa b8 0d |b...!...|=... ...|
|00005cf0| c8 3d ab 84 c9 20 aa af | 0d ca 3d ab 84 c9 20 aa |.=... ..|..=... .|
|00005d00| a6 0d cb 3d ab 84 c9 20 | aa 9d 0d cc 3d ab 84 cd |...=... |....=...|
|00005d10| 20 aa 94 0d ce 3d ab 84 | cf 20 aa 8b 0d d0 3d ab | ....=..|. ....=.|
|00005d20| 84 d1 20 aa 82 d2 20 2a | 87 22 20 5b 73 63 63 73 |.. ... *|." [sccs|
|00005d30| 2d 63 68 65 63 6b 2d 68 | 65 61 64 65 72 73 20 79 |-check-h|eaders y|
|00005d40| 2d 6f 72 2d 6e 2d 70 20 | 22 53 43 43 53 20 68 65 |-or-n-p |"SCCS he|
|00005d50| 61 64 65 72 73 20 61 6c | 72 65 61 64 79 20 65 78 |aders al|ready ex|
|00005d60| 69 73 74 2e 20 20 49 6e | 73 65 72 74 20 61 6e 6f |ist. In|sert ano|
|00005d70| 74 68 65 72 20 73 65 74 | 3f 22 20 72 75 6e 2d 68 |ther set|?" run-h|
|00005d80| 6f 6f 6b 73 20 73 63 63 | 73 2d 69 6e 73 65 72 74 |ooks scc|s-insert|
|00005d90| 2d 68 65 61 64 65 72 73 | 2d 68 6f 6f 6b 20 6d 61 |-headers|-hook ma|
|00005da0| 6a 6f 72 2d 6d 6f 64 65 | 20 63 2d 6d 6f 64 65 20 |jor-mode| c-mode |
|00005db0| 73 63 63 73 2d 69 6e 73 | 65 72 74 2d 63 2d 68 65 |sccs-ins|ert-c-he|
|00005dc0| 61 64 65 72 20 6c 69 73 | 70 2d 6d 6f 64 65 20 73 |ader lis|p-mode s|
|00005dd0| 63 63 73 2d 69 6e 73 65 | 72 74 2d 6c 69 73 70 2d |ccs-inse|rt-lisp-|
|00005de0| 68 65 61 64 65 72 20 65 | 6d 61 63 73 2d 6c 69 73 |header e|macs-lis|
|00005df0| 70 2d 6d 6f 64 65 20 73 | 63 68 65 6d 65 2d 6d 6f |p-mode s|cheme-mo|
|00005e00| 64 65 20 6e 72 6f 66 66 | 2d 6d 6f 64 65 20 73 63 |de nroff|-mode sc|
|00005e10| 63 73 2d 69 6e 73 65 72 | 74 2d 6e 72 6f 66 66 2d |cs-inser|t-nroff-|
|00005e20| 68 65 61 64 65 72 20 70 | 6c 61 69 6e 2d 74 65 78 |header p|lain-tex|
|00005e30| 2d 6d 6f 64 65 20 73 63 | 63 73 2d 69 6e 73 65 72 |-mode sc|cs-inser|
|00005e40| 74 2d 74 65 78 2d 68 65 | 61 64 65 72 20 74 65 78 |t-tex-he|ader tex|
|00005e50| 69 6e 66 6f 2d 6d 6f 64 | 65 20 73 63 63 73 2d 69 |info-mod|e sccs-i|
|00005e60| 6e 73 65 72 74 2d 74 65 | 78 69 6e 66 6f 2d 68 65 |nsert-te|xinfo-he|
|00005e70| 61 64 65 72 20 73 63 63 | 73 2d 69 6e 73 65 72 74 |ader scc|s-insert|
|00005e80| 2d 67 65 6e 65 72 69 63 | 2d 68 65 61 64 65 72 5d |-generic|-header]|
|00005e90| 20 32 20 22 5c 0a 2a 49 | 6e 73 65 72 74 20 68 65 | 2 "\.*I|nsert he|
|00005ea0| 61 64 65 72 73 20 66 6f | 72 20 75 73 65 20 77 69 |aders fo|r use wi|
|00005eb0| 74 68 20 74 68 65 20 53 | 6f 75 72 63 65 20 43 6f |th the S|ource Co|
|00005ec0| 64 65 20 43 6f 6e 74 72 | 6f 6c 20 53 79 73 74 65 |de Contr|ol Syste|
|00005ed0| 6d 2e 0a 48 65 61 64 65 | 72 73 20 64 65 73 69 72 |m..Heade|rs desir|
|00005ee0| 65 64 20 61 72 65 20 69 | 6e 73 65 72 74 65 64 20 |ed are i|nserted |
|00005ef0| 61 74 20 74 68 65 20 73 | 74 61 72 74 20 6f 66 20 |at the s|tart of |
|00005f00| 74 68 65 20 62 75 66 66 | 65 72 2c 20 61 6e 64 20 |the buff|er, and |
|00005f10| 61 72 65 20 70 75 6c 6c | 65 64 20 66 72 6f 6d 20 |are pull|ed from |
|00005f20| 0a 74 68 65 20 76 61 72 | 69 61 62 6c 65 20 73 63 |.the var|iable sc|
|00005f30| 63 73 2d 68 65 61 64 65 | 72 73 2d 77 61 6e 74 65 |cs-heade|rs-wante|
|00005f40| 64 22 20 6e 69 6c 5d 29 | 0a 28 62 79 74 65 2d 63 |d" nil])|.(byte-c|
|00005f50| 6f 64 65 20 22 c0 c1 4d | 88 c2 c3 4d 88 c4 c5 4d |ode "..M|...M...M|
|00005f60| 88 c6 c7 4d 88 c8 c9 4d | 88 ca cb 4d 87 22 20 5b |...M...M|...M." [|
|00005f70| 73 63 63 73 2d 69 6e 73 | 65 72 74 2d 63 2d 68 65 |sccs-ins|ert-c-he|
|00005f80| 61 64 65 72 20 23 5b 6e | 69 6c 20 22 c0 89 19 1a |ader #[n|il "....|
|00005f90| c3 63 88 c4 c5 0e 06 5c | 22 88 c7 63 88 0e 08 ab |.c.....\|"..c....|
|00005fa0| 91 c9 ca 0e 0b 5c 22 ac | 8a cc cd b1 02 88 ce cf |.....\".|........|
|00005fb0| b1 02 88 d0 d1 21 2a 87 | 22 20 5b 6e 69 6c 20 65 |.....!*.|" [nil e|
|00005fc0| 6e 20 73 74 20 22 2f 2a | 5c 6e 22 20 6d 61 70 63 |n st "/*|\n" mapc|
|00005fd0| 61 72 20 23 5b 28 73 29 | 20 22 c0 09 c2 b1 03 87 |ar #[(s)| "......|
|00005fe0| 22 20 5b 22 20 2a 09 22 | 20 73 20 22 5c 6e 22 5d |" [" *."| s "\n"]|
|00005ff0| 20 33 5d 20 73 63 63 73 | 2d 68 65 61 64 65 72 73 | 3] sccs|-headers|
|00006000| 2d 77 61 6e 74 65 64 20 | 22 20 2a 2f 5c 6e 5c 6e |-wanted |" */\n\n|
|00006010| 22 20 73 63 63 73 2d 69 | 6e 73 65 72 74 2d 73 74 |" sccs-i|nsert-st|
|00006020| 61 74 69 63 20 73 74 72 | 69 6e 67 2d 6d 61 74 63 |atic str|ing-matc|
|00006030| 68 20 22 5c 5c 2e 68 24 | 22 20 62 75 66 66 65 72 |h "\\.h$|" buffer|
|00006040| 2d 66 69 6c 65 2d 6e 61 | 6d 65 20 22 23 69 66 6e |-file-na|me "#ifn|
|00006050| 64 65 66 20 6c 69 6e 74 | 5c 6e 22 20 22 73 74 61 |def lint|\n" "sta|
|00006060| 74 69 63 20 63 68 61 72 | 20 2a 73 63 63 73 69 64 |tic char| *sccsid|
|00006070| 22 20 22 20 3d 20 5c 22 | 25 57 25 5c 22 3b 5c 6e |" " = \"|%W%\";\n|
|00006080| 22 20 22 23 65 6e 64 69 | 66 20 2f 2a 20 6c 69 6e |" "#endi|f /* lin|
|00006090| 74 20 2a 2f 5c 6e 5c 6e | 22 20 72 75 6e 2d 68 6f |t */\n\n|" run-ho|
|000060a0| 6f 6b 73 20 73 63 63 73 | 2d 69 6e 73 65 72 74 2d |oks sccs|-insert-|
|000060b0| 63 2d 68 65 61 64 65 72 | 2d 68 6f 6f 6b 5d 20 33 |c-header|-hook] 3|
|000060c0| 5d 20 73 63 63 73 2d 69 | 6e 73 65 72 74 2d 6c 69 |] sccs-i|nsert-li|
|000060d0| 73 70 2d 68 65 61 64 65 | 72 20 23 5b 6e 69 6c 20 |sp-heade|r #[nil |
|000060e0| 22 c0 c1 5c 6e 5c 22 88 | c3 63 88 c4 c5 21 87 22 |"..\n\".|.c...!."|
|000060f0| 20 5b 6d 61 70 63 61 72 | 20 23 5b 28 73 29 20 22 | [mapcar| #[(s) "|
|00006100| c0 09 c2 b1 03 87 22 20 | 5b 22 3b 3b 3b 09 22 20 |......" |[";;;." |
|00006110| 73 20 22 5c 6e 22 5d 20 | 33 5d 20 73 63 63 73 2d |s "\n"] |3] sccs-|
|00006120| 68 65 61 64 65 72 73 2d | 77 61 6e 74 65 64 20 22 |headers-|wanted "|
|00006130| 5c 6e 22 20 72 75 6e 2d | 68 6f 6f 6b 73 20 73 63 |\n" run-|hooks sc|
|00006140| 63 73 2d 69 6e 73 65 72 | 74 2d 6c 69 73 70 2d 68 |cs-inser|t-lisp-h|
|00006150| 65 61 64 65 72 2d 68 6f | 6f 6b 5d 20 33 5d 20 73 |eader-ho|ok] 3] s|
|00006160| 63 63 73 2d 69 6e 73 65 | 72 74 2d 6e 72 6f 66 66 |ccs-inse|rt-nroff|
|00006170| 2d 68 65 61 64 65 72 20 | 23 5b 6e 69 6c 20 22 c0 |-header |#[nil ".|
|00006180| c1 5c 6e 5c 22 88 c3 63 | 88 c4 c5 21 87 22 20 5b |.\n\"..c|...!." [|
|00006190| 6d 61 70 63 61 72 20 23 | 5b 28 73 29 20 22 c0 09 |mapcar #|[(s) "..|
|000061a0| c2 b1 03 87 22 20 5b 22 | 2e 5c 5c 5c 22 09 22 20 |...." ["|.\\\"." |
|000061b0| 73 20 22 5c 6e 22 5d 20 | 33 5d 20 73 63 63 73 2d |s "\n"] |3] sccs-|
|000061c0| 68 65 61 64 65 72 73 2d | 77 61 6e 74 65 64 20 22 |headers-|wanted "|
|000061d0| 5c 6e 22 20 72 75 6e 2d | 68 6f 6f 6b 73 20 73 63 |\n" run-|hooks sc|
|000061e0| 63 73 2d 69 6e 73 65 72 | 74 2d 6e 72 6f 66 66 2d |cs-inser|t-nroff-|
|000061f0| 68 65 61 64 65 72 2d 68 | 6f 6f 6b 5d 20 33 5d 20 |header-h|ook] 3] |
|00006200| 73 63 63 73 2d 69 6e 73 | 65 72 74 2d 74 65 78 2d |sccs-ins|ert-tex-|
|00006210| 68 65 61 64 65 72 20 23 | 5b 6e 69 6c 20 22 c0 c1 |header #|[nil "..|
|00006220| 5c 6e 5c 22 88 c3 63 88 | c4 c5 21 87 22 20 5b 6d |\n\"..c.|..!." [m|
|00006230| 61 70 63 61 72 20 23 5b | 28 73 29 20 22 c0 09 c2 |apcar #[|(s) "...|
|00006240| b1 03 87 22 20 5b 22 25 | 25 09 22 20 73 20 22 5c |..." ["%|%." s "\|
|00006250| 6e 22 5d 20 33 5d 20 73 | 63 63 73 2d 68 65 61 64 |n"] 3] s|ccs-head|
|00006260| 65 72 73 2d 77 61 6e 74 | 65 64 20 22 5c 6e 22 20 |ers-want|ed "\n" |
|00006270| 72 75 6e 2d 68 6f 6f 6b | 73 20 73 63 63 73 2d 69 |run-hook|s sccs-i|
|00006280| 6e 73 65 72 74 2d 74 65 | 78 2d 68 65 61 64 65 72 |nsert-te|x-header|
|00006290| 2d 68 6f 6f 6b 5d 20 33 | 5d 20 73 63 63 73 2d 69 |-hook] 3|] sccs-i|
|000062a0| 6e 73 65 72 74 2d 74 65 | 78 69 6e 66 6f 2d 68 65 |nsert-te|xinfo-he|
|000062b0| 61 64 65 72 20 23 5b 6e | 69 6c 20 22 c0 c1 5c 6e |ader #[n|il "..\n|
|000062c0| 5c 22 88 c3 63 88 c4 c5 | 21 87 22 20 5b 6d 61 70 |\"..c...|!." [map|
|000062d0| 63 61 72 20 23 5b 28 73 | 29 20 22 c0 09 c2 b1 03 |car #[(s|) ".....|
|000062e0| 87 22 20 5b 22 40 63 6f | 6d 6d 65 6e 74 09 22 20 |." ["@co|mment." |
|000062f0| 73 20 22 5c 6e 22 5d 20 | 33 5d 20 73 63 63 73 2d |s "\n"] |3] sccs-|
|00006300| 68 65 61 64 65 72 73 2d | 77 61 6e 74 65 64 20 22 |headers-|wanted "|
|00006310| 5c 6e 22 20 72 75 6e 2d | 68 6f 6f 6b 73 20 73 63 |\n" run-|hooks sc|
|00006320| 63 73 2d 69 6e 73 65 72 | 74 2d 74 65 78 69 6e 66 |cs-inser|t-texinf|
|00006330| 6f 2d 68 65 61 64 65 72 | 2d 68 6f 6f 6b 5d 20 33 |o-header|-hook] 3|
|00006340| 5d 20 73 63 63 73 2d 69 | 6e 73 65 72 74 2d 67 65 |] sccs-i|nsert-ge|
|00006350| 6e 65 72 69 63 2d 68 65 | 61 64 65 72 20 23 5b 6e |neric-he|ader #[n|
|00006360| 69 6c 20 22 08 ae 81 c1 | 1a 0b ae 81 c4 1d c6 c7 |il "....|........|
|00006370| 0d 5c 22 1e 08 c9 ca 0e | 0b 5c 22 88 5c 6e 0d 0e |.\".....|.\".\n..|
|00006380| 08 ab 83 c4 aa 81 c7 b1 | 03 2b 87 22 20 5b 63 6f |........|.+." [co|
|00006390| 6d 6d 65 6e 74 2d 73 74 | 61 72 74 20 22 23 22 20 |mment-st|art "#" |
|000063a0| 63 6f 6d 6d 65 6e 74 2d | 73 74 61 72 74 2d 73 63 |comment-|start-sc|
|000063b0| 63 73 20 63 6f 6d 6d 65 | 6e 74 2d 65 6e 64 20 22 |cs comme|nt-end "|
|000063c0| 22 20 63 6f 6d 6d 65 6e | 74 2d 65 6e 64 2d 73 63 |" commen|t-end-sc|
|000063d0| 63 73 20 73 74 72 69 6e | 67 2d 6d 61 74 63 68 20 |cs strin|g-match |
|000063e0| 22 5c 6e 22 20 64 6f 6e | 74 2d 69 6e 73 65 72 74 |"\n" don|t-insert|
|000063f0| 2d 6e 6c 2d 70 20 6d 61 | 70 63 61 72 20 23 5b 28 |-nl-p ma|pcar #[(|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.