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

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


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

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



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 69 6d 62 40 67 65 |piled by| jimb@ge|
|00000020| 65 63 68 2e 67 6e 75 2e | 61 69 2e 6d 69 74 2e 65 |ech.gnu.|ai.mit.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 4a 75 6c 20 20 36 |du on Tu|e Jul 6|
|00000040| 20 30 30 3a 30 35 3a 34 | 33 20 31 39 39 33 0a 3b | 00:05:4|3 1993.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 67 64 |;; from |file /gd|
|00000060| 2f 67 6e 75 2f 65 6d 61 | 63 73 2f 31 39 2e 30 2f |/gnu/ema|cs/19.0/|
|00000070| 6c 69 73 70 2f 73 75 62 | 72 2e 65 6c 0a 3b 3b 3b |lisp/sub|r.el.;;;|
|00000080| 20 65 6d 61 63 73 20 76 | 65 72 73 69 6f 6e 20 31 | emacs v|ersion 1|
|00000090| 39 2e 31 35 2e 31 36 2e | 0a 3b 3b 3b 20 62 79 74 |9.15.16.|.;;; byt|
|000000a0| 65 63 6f 6d 70 20 76 65 | 72 73 69 6f 6e 20 46 53 |ecomp ve|rsion FS|
|000000b0| 46 20 32 2e 31 30 0a 3b | 3b 3b 20 6f 70 74 69 6d |F 2.10.;|;; optim|
|000000c0| 69 7a 61 74 69 6f 6e 20 | 69 73 20 6f 6e 2e 0a 3b |ization |is on..;|
|000000d0| 3b 3b 20 74 68 69 73 20 | 66 69 6c 65 20 75 73 65 |;; this |file use|
|000000e0| 73 20 6f 70 63 6f 64 65 | 73 20 77 68 69 63 68 20 |s opcode|s which |
|000000f0| 64 6f 20 6e 6f 74 20 65 | 78 69 73 74 20 69 6e 20 |do not e|xist in |
|00000100| 45 6d 61 63 73 20 31 38 | 2e 0a 0a 28 69 66 20 28 |Emacs 18|...(if (|
|00000110| 61 6e 64 20 28 62 6f 75 | 6e 64 70 20 27 65 6d 61 |and (bou|ndp 'ema|
|00000120| 63 73 2d 76 65 72 73 69 | 6f 6e 29 0a 09 20 28 6f |cs-versi|on).. (o|
|00000130| 72 20 28 61 6e 64 20 28 | 62 6f 75 6e 64 70 20 27 |r (and (|boundp '|
|00000140| 65 70 6f 63 68 3a 3a 76 | 65 72 73 69 6f 6e 29 20 |epoch::v|ersion) |
|00000150| 65 70 6f 63 68 3a 3a 76 | 65 72 73 69 6f 6e 29 0a |epoch::v|ersion).|
|00000160| 09 20 20 20 20 20 28 73 | 74 72 69 6e 67 2d 6c 65 |. (s|tring-le|
|00000170| 73 73 70 20 65 6d 61 63 | 73 2d 76 65 72 73 69 6f |ssp emac|s-versio|
|00000180| 6e 20 22 31 39 22 29 29 | 29 0a 20 20 20 20 28 65 |n "19"))|). (e|
|00000190| 72 72 6f 72 20 22 54 68 | 69 73 20 66 69 6c 65 20 |rror "Th|is file |
|000001a0| 77 61 73 20 63 6f 6d 70 | 69 6c 65 64 20 66 6f 72 |was comp|iled for|
|000001b0| 20 45 6d 61 63 73 20 31 | 39 22 29 29 0a 0a 28 64 | Emacs 1|9"))..(d|
|000001c0| 65 66 61 6c 69 61 73 20 | 27 6c 61 6d 62 64 61 20 |efalias |'lambda |
|000001d0| 27 28 6d 61 63 72 6f 20 | 2e 20 23 5b 28 26 72 65 |'(macro |. #[(&re|
|000001e0| 73 74 20 63 64 72 29 20 | 22 c0 c1 5c 6e 42 44 87 |st cdr) |"..\nBD.|
|000001f0| 22 20 5b 66 75 6e 63 74 | 69 6f 6e 20 6c 61 6d 62 |" [funct|ion lamb|
|00000200| 64 61 20 63 64 72 5d 20 | 33 20 22 5c 0a 52 65 74 |da cdr] |3 "\.Ret|
|00000210| 75 72 6e 20 61 20 6c 61 | 6d 62 64 61 20 65 78 70 |urn a la|mbda exp|
|00000220| 72 65 73 73 69 6f 6e 2e | 0a 41 20 63 61 6c 6c 20 |ression.|.A call |
|00000230| 6f 66 20 74 68 65 20 66 | 6f 72 6d 20 28 6c 61 6d |of the f|orm (lam|
|00000240| 62 64 61 20 41 52 47 53 | 20 44 4f 43 53 54 52 49 |bda ARGS| DOCSTRI|
|00000250| 4e 47 20 49 4e 54 45 52 | 41 43 54 49 56 45 20 42 |NG INTER|ACTIVE B|
|00000260| 4f 44 59 29 20 69 73 0a | 73 65 6c 66 2d 71 75 6f |ODY) is.|self-quo|
|00000270| 74 69 6e 67 3b 20 74 68 | 65 20 72 65 73 75 6c 74 |ting; th|e result|
|00000280| 20 6f 66 20 65 76 61 6c | 75 61 74 69 6e 67 20 74 | of eval|uating t|
|00000290| 68 65 20 6c 61 6d 62 64 | 61 20 65 78 70 72 65 73 |he lambd|a expres|
|000002a0| 73 69 6f 6e 20 69 73 20 | 74 68 65 0a 65 78 70 72 |sion is |the.expr|
|000002b0| 65 73 73 69 6f 6e 20 69 | 74 73 65 6c 66 2e 20 20 |ession i|tself. |
|000002c0| 54 68 65 20 6c 61 6d 62 | 64 61 20 65 78 70 72 65 |The lamb|da expre|
|000002d0| 73 73 69 6f 6e 20 6d 61 | 79 20 74 68 65 6e 20 62 |ssion ma|y then b|
|000002e0| 65 20 74 72 65 61 74 65 | 64 20 61 73 20 61 0a 66 |e treate|d as a.f|
|000002f0| 75 6e 63 74 69 6f 6e 2c | 20 69 2e 20 65 2e 20 73 |unction,| i. e. s|
|00000300| 74 6f 72 65 64 20 61 73 | 20 74 68 65 20 66 75 6e |tored as| the fun|
|00000310| 63 74 69 6f 6e 20 76 61 | 6c 75 65 20 6f 66 20 61 |ction va|lue of a|
|00000320| 20 73 79 6d 62 6f 6c 2c | 20 70 61 73 73 65 64 20 | symbol,| passed |
|00000330| 74 6f 0a 66 75 6e 63 61 | 6c 6c 20 6f 72 20 6d 61 |to.funca|ll or ma|
|00000340| 70 63 61 72 2c 20 65 74 | 63 65 74 65 72 61 2e 0a |pcar, et|cetera..|
|00000350| 41 52 47 53 20 73 68 6f | 75 6c 64 20 74 61 6b 65 |ARGS sho|uld take|
|00000360| 20 74 68 65 20 73 61 6d | 65 20 66 6f 72 6d 20 61 | the sam|e form a|
|00000370| 73 20 61 6e 20 61 72 67 | 75 6d 65 6e 74 20 6c 69 |s an arg|ument li|
|00000380| 73 74 20 66 6f 72 20 61 | 20 60 64 65 66 75 6e 27 |st for a| `defun'|
|00000390| 2e 0a 44 4f 43 53 54 52 | 49 4e 47 20 73 68 6f 75 |..DOCSTR|ING shou|
|000003a0| 6c 64 20 62 65 20 61 20 | 73 74 72 69 6e 67 2c 20 |ld be a |string, |
|000003b0| 61 73 20 64 65 73 63 72 | 69 62 65 64 20 66 6f 72 |as descr|ibed for|
|000003c0| 20 60 64 65 66 75 6e 27 | 2e 20 20 49 74 20 6d 61 | `defun'|. It ma|
|000003d0| 79 20 62 65 20 6f 6d 69 | 74 74 65 64 2e 0a 49 4e |y be omi|tted..IN|
|000003e0| 54 45 52 41 43 54 49 56 | 45 20 73 68 6f 75 6c 64 |TERACTIV|E should|
|000003f0| 20 62 65 20 61 20 63 61 | 6c 6c 20 74 6f 20 74 68 | be a ca|ll to th|
|00000400| 65 20 66 75 6e 63 74 69 | 6f 6e 20 60 69 6e 74 65 |e functi|on `inte|
|00000410| 72 61 63 74 69 76 65 27 | 2c 20 77 68 69 63 68 20 |ractive'|, which |
|00000420| 73 65 65 2e 0a 49 74 20 | 6d 61 79 20 61 6c 73 6f |see..It |may also|
|00000430| 20 62 65 20 6f 6d 69 74 | 74 65 64 2e 0a 42 4f 44 | be omit|ted..BOD|
|00000440| 59 20 73 68 6f 75 6c 64 | 20 62 65 20 61 20 6c 69 |Y should| be a li|
|00000450| 73 74 20 6f 66 20 6c 69 | 73 70 20 65 78 70 72 65 |st of li|sp expre|
|00000460| 73 73 69 6f 6e 73 2e 22 | 5d 29 29 0a 28 64 65 66 |ssions."|])).(def|
|00000470| 61 6c 69 61 73 20 27 6f | 6e 65 2d 77 69 6e 64 6f |alias 'o|ne-windo|
|00000480| 77 2d 70 20 23 5b 28 26 | 6f 70 74 69 6f 6e 61 6c |w-p #[(&|optional|
|00000490| 20 6e 6f 6d 69 6e 69 29 | 20 22 c0 20 19 5c 6e 83 | nomini)| ". .\n.|
|000004a0| 12 00 09 c3 20 3d 83 12 | 00 c4 09 21 11 09 c4 09 |.... =..|...!....|
|000004b0| 5c 6e 85 1a 00 c5 5c 22 | 29 3d 87 22 20 5b 73 65 |\n....\"|)=." [se|
|000004c0| 6c 65 63 74 65 64 2d 77 | 69 6e 64 6f 77 20 62 61 |lected-w|indow ba|
|000004d0| 73 65 2d 77 69 6e 64 6f | 77 20 6e 6f 6d 69 6e 69 |se-windo|w nomini|
|000004e0| 20 6d 69 6e 69 62 75 66 | 66 65 72 2d 77 69 6e 64 | minibuf|fer-wind|
|000004f0| 6f 77 20 6e 65 78 74 2d | 77 69 6e 64 6f 77 20 61 |ow next-|window a|
|00000500| 72 67 5d 20 34 20 22 5c | 0a 52 65 74 75 72 6e 73 |rg] 4 "\|.Returns|
|00000510| 20 6e 6f 6e 2d 6e 69 6c | 20 69 66 20 74 68 65 72 | non-nil| if ther|
|00000520| 65 20 69 73 20 6f 6e 6c | 79 20 6f 6e 65 20 77 69 |e is onl|y one wi|
|00000530| 6e 64 6f 77 2e 0a 4f 70 | 74 69 6f 6e 61 6c 20 61 |ndow..Op|tional a|
|00000540| 72 67 20 4e 4f 4d 49 4e | 49 20 6e 6f 6e 2d 6e 69 |rg NOMIN|I non-ni|
|00000550| 6c 20 6d 65 61 6e 73 20 | 64 6f 6e 27 74 20 63 6f |l means |don't co|
|00000560| 75 6e 74 20 74 68 65 20 | 6d 69 6e 69 62 75 66 66 |unt the |minibuff|
|00000570| 65 72 0a 65 76 65 6e 20 | 69 66 20 69 74 20 69 73 |er.even |if it is|
|00000580| 20 61 63 74 69 76 65 2e | 22 5d 29 0a 28 64 65 66 | active.|"]).(def|
|00000590| 61 6c 69 61 73 20 27 77 | 61 6c 6b 2d 77 69 6e 64 |alias 'w|alk-wind|
|000005a0| 6f 77 73 20 23 5b 28 70 | 72 6f 63 20 26 6f 70 74 |ows #[(p|roc &opt|
|000005b0| 69 6f 6e 61 6c 20 6d 69 | 6e 69 62 75 66 20 61 6c |ional mi|nibuf al|
|000005c0| 6c 2d 66 72 61 6d 65 73 | 29 20 22 c0 20 89 19 1a |l-frames|) ". ...|
|000005d0| c3 5c 6e 0c 0d 23 12 0e | 06 5c 6e 21 88 5c 6e 09 |.\n..#..|.\n!.\n.|
|000005e0| 3d 3f 85 1a 00 82 05 00 | 2a 87 22 20 5b 73 65 6c |=?......|*." [sel|
|000005f0| 65 63 74 65 64 2d 77 69 | 6e 64 6f 77 20 77 61 6c |ected-wi|ndow wal|
|00000600| 6b 2d 77 69 6e 64 6f 77 | 73 2d 73 74 61 72 74 20 |k-window|s-start |
|00000610| 77 61 6c 6b 2d 77 69 6e | 64 6f 77 73 2d 63 75 72 |walk-win|dows-cur|
|00000620| 72 65 6e 74 20 6e 65 78 | 74 2d 77 69 6e 64 6f 77 |rent nex|t-window|
|00000630| 20 6d 69 6e 69 62 75 66 | 20 61 6c 6c 2d 66 72 61 | minibuf| all-fra|
|00000640| 6d 65 73 20 70 72 6f 63 | 5d 20 35 20 22 5c 0a 43 |mes proc|] 5 "\.C|
|00000650| 79 63 6c 65 20 74 68 72 | 6f 75 67 68 20 61 6c 6c |ycle thr|ough all|
|00000660| 20 76 69 73 69 62 6c 65 | 20 77 69 6e 64 6f 77 73 | visible| windows|
|00000670| 2c 20 63 61 6c 6c 69 6e | 67 20 50 52 4f 43 20 66 |, callin|g PROC f|
|00000680| 6f 72 20 65 61 63 68 20 | 6f 6e 65 2e 0a 50 52 4f |or each |one..PRO|
|00000690| 43 20 69 73 20 63 61 6c | 6c 65 64 20 77 69 74 68 |C is cal|led with|
|000006a0| 20 61 20 77 69 6e 64 6f | 77 20 61 73 20 61 72 67 | a windo|w as arg|
|000006b0| 75 6d 65 6e 74 2e 0a 4f | 70 74 69 6f 6e 61 6c 20 |ument..O|ptional |
|000006c0| 73 65 63 6f 6e 64 20 61 | 72 67 20 4d 49 4e 49 42 |second a|rg MINIB|
|000006d0| 55 46 20 74 20 6d 65 61 | 6e 73 20 63 6f 75 6e 74 |UF t mea|ns count|
|000006e0| 20 74 68 65 20 6d 69 6e | 69 62 75 66 66 65 72 20 | the min|ibuffer |
|000006f0| 77 69 6e 64 6f 77 0a 65 | 76 65 6e 20 69 66 20 6e |window.e|ven if n|
|00000700| 6f 74 20 61 63 74 69 76 | 65 2e 20 20 49 66 20 4d |ot activ|e. If M|
|00000710| 49 4e 49 42 55 46 20 69 | 73 20 6e 65 69 74 68 65 |INIBUF i|s neithe|
|00000720| 72 20 74 20 6e 6f 72 20 | 6e 69 6c 20 69 74 20 6d |r t nor |nil it m|
|00000730| 65 61 6e 73 0a 6e 6f 74 | 20 74 6f 20 63 6f 75 6e |eans.not| to coun|
|00000740| 74 20 74 68 65 20 6d 69 | 6e 69 62 75 66 66 65 72 |t the mi|nibuffer|
|00000750| 20 65 76 65 6e 20 69 66 | 20 69 74 20 69 73 20 61 | even if| it is a|
|00000760| 63 74 69 76 65 2e 0a 0a | 4f 70 74 69 6f 6e 61 6c |ctive...|Optional|
|00000770| 20 74 68 69 72 64 20 61 | 72 67 20 41 4c 4c 2d 46 | third a|rg ALL-F|
|00000780| 52 41 4d 45 53 2c 20 69 | 66 20 74 2c 20 6d 65 61 |RAMES, i|f t, mea|
|00000790| 6e 73 20 69 6e 63 6c 75 | 64 65 20 61 6c 6c 20 66 |ns inclu|de all f|
|000007a0| 72 61 6d 65 73 2e 0a 41 | 4c 4c 2d 46 52 41 4d 45 |rames..A|LL-FRAME|
|000007b0| 53 20 6e 69 6c 20 6f 72 | 20 6f 6d 69 74 74 65 64 |S nil or| omitted|
|000007c0| 20 6d 65 61 6e 73 20 63 | 79 63 6c 65 20 77 69 74 | means c|ycle wit|
|000007d0| 68 69 6e 20 74 68 65 20 | 73 65 6c 65 63 74 65 64 |hin the |selected|
|000007e0| 20 66 72 61 6d 65 2c 0a | 62 75 74 20 69 6e 63 6c | frame,.|but incl|
|000007f0| 75 64 65 20 74 68 65 20 | 6d 69 6e 69 62 75 66 66 |ude the |minibuff|
|00000800| 65 72 20 77 69 6e 64 6f | 77 20 28 69 66 20 4d 49 |er windo|w (if MI|
|00000810| 4e 49 42 55 46 20 73 61 | 79 73 20 73 6f 29 20 74 |NIBUF sa|ys so) t|
|00000820| 68 61 74 20 74 68 61 74 | 0a 66 72 61 6d 65 20 75 |hat that|.frame u|
|00000830| 73 65 73 2c 20 65 76 65 | 6e 20 69 66 20 69 74 20 |ses, eve|n if it |
|00000840| 69 73 20 6f 6e 20 61 6e | 6f 74 68 65 72 20 66 72 |is on an|other fr|
|00000850| 61 6d 65 2e 0a 49 66 20 | 41 4c 4c 2d 46 52 41 4d |ame..If |ALL-FRAM|
|00000860| 45 53 20 69 73 20 6e 65 | 69 74 68 65 72 20 6e 69 |ES is ne|ither ni|
|00000870| 6c 20 6e 6f 72 20 74 2c | 20 73 74 69 63 6b 20 73 |l nor t,| stick s|
|00000880| 74 72 69 63 74 6c 79 20 | 74 6f 20 74 68 65 20 73 |trictly |to the s|
|00000890| 65 6c 65 63 74 65 64 20 | 66 72 61 6d 65 2e 22 5d |elected |frame."]|
|000008a0| 29 0a 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 c1 |).(byte-|code "..|
|000008b0| c2 5c 22 88 c3 c1 c4 c5 | 23 87 22 20 5b 64 65 66 |.\".....|#." [def|
|000008c0| 61 6c 69 61 73 20 75 6e | 64 65 66 69 6e 65 64 20 |alias un|defined |
|000008d0| 23 5b 6e 69 6c 20 22 c0 | 20 87 22 20 5b 64 69 6e |#[nil ".| ." [din|
|000008e0| 67 5d 20 31 20 6e 69 6c | 20 6e 69 6c 5d 20 70 75 |g] 1 nil| nil] pu|
|000008f0| 74 20 73 75 70 70 72 65 | 73 73 2d 6b 65 79 6d 61 |t suppre|ss-keyma|
|00000900| 70 20 74 5d 20 34 29 0a | 28 64 65 66 61 6c 69 61 |p t] 4).|(defalia|
|00000910| 73 20 27 73 75 70 70 72 | 65 73 73 2d 6b 65 79 6d |s 'suppr|ess-keym|
|00000920| 61 70 20 23 5b 28 6d 61 | 70 20 26 6f 70 74 69 6f |ap #[(ma|p &optio|
|00000930| 6e 61 6c 20 6e 6f 64 69 | 67 69 74 73 29 20 22 c0 |nal nodi|gits) ".|
|00000940| 19 c0 c2 58 83 23 00 c3 | 0c c5 09 21 5c 22 c6 3d |...X.#..|...!\".=|
|00000950| 83 1c 00 c7 0e 08 c5 09 | 21 c9 23 88 09 54 89 11 |........|!.#..T..|
|00000960| 82 03 00 29 0e 5c 6e 86 | 50 00 cb 1e 0c c7 0e 08 |...).\n.|P.......|
|00000970| cd ce 23 88 cf 16 0c cf | d0 58 85 4f 00 c7 0e 08 |..#.....|.X.O....|
|00000980| c5 0e 0c 21 d1 23 88 0e | 0c 54 89 16 0c 82 37 00 |...!.#..|.T....7.|
|00000990| 29 87 22 20 5b 30 20 69 | 20 31 32 37 20 6c 6f 6f |)." [0 i| 127 loo|
|000009a0| 6b 75 70 2d 6b 65 79 20 | 67 6c 6f 62 61 6c 2d 6d |kup-key |global-m|
|000009b0| 61 70 20 63 68 61 72 2d | 74 6f 2d 73 74 72 69 6e |ap char-|to-strin|
|000009c0| 67 20 73 65 6c 66 2d 69 | 6e 73 65 72 74 2d 63 6f |g self-i|nsert-co|
|000009d0| 6d 6d 61 6e 64 20 64 65 | 66 69 6e 65 2d 6b 65 79 |mmand de|fine-key|
|000009e0| 20 6d 61 70 20 75 6e 64 | 65 66 69 6e 65 64 20 6e | map und|efined n|
|000009f0| 6f 64 69 67 69 74 73 20 | 6e 69 6c 20 6c 6f 6f 70 |odigits |nil loop|
|00000a00| 20 22 2d 22 20 6e 65 67 | 61 74 69 76 65 2d 61 72 | "-" neg|ative-ar|
|00000a10| 67 75 6d 65 6e 74 20 34 | 38 20 35 37 20 64 69 67 |gument 4|8 57 dig|
|00000a20| 69 74 2d 61 72 67 75 6d | 65 6e 74 5d 20 35 20 22 |it-argum|ent] 5 "|
|00000a30| 5c 0a 4d 61 6b 65 20 4d | 41 50 20 6f 76 65 72 72 |\.Make M|AP overr|
|00000a40| 69 64 65 20 61 6c 6c 20 | 6e 6f 72 6d 61 6c 6c 79 |ide all |normally|
|00000a50| 20 73 65 6c 66 2d 69 6e | 73 65 72 74 69 6e 67 20 | self-in|serting |
|00000a60| 6b 65 79 73 20 74 6f 20 | 62 65 20 75 6e 64 65 66 |keys to |be undef|
|00000a70| 69 6e 65 64 2e 0a 4e 6f | 72 6d 61 6c 6c 79 2c 20 |ined..No|rmally, |
|00000a80| 61 73 20 61 6e 20 65 78 | 63 65 70 74 69 6f 6e 2c |as an ex|ception,|
|00000a90| 20 64 69 67 69 74 73 20 | 61 6e 64 20 6d 69 6e 75 | digits |and minu|
|00000aa0| 73 2d 73 69 67 6e 20 61 | 72 65 20 73 65 74 20 74 |s-sign a|re set t|
|00000ab0| 6f 20 6d 61 6b 65 20 70 | 72 65 66 69 78 20 61 72 |o make p|refix ar|
|00000ac0| 67 73 2c 0a 62 75 74 20 | 6f 70 74 69 6f 6e 61 6c |gs,.but |optional|
|00000ad0| 20 73 65 63 6f 6e 64 20 | 61 72 67 20 4e 4f 44 49 | second |arg NODI|
|00000ae0| 47 49 54 53 20 6e 6f 6e | 2d 6e 69 6c 20 74 72 65 |GITS non|-nil tre|
|00000af0| 61 74 73 20 74 68 65 6d | 20 6c 69 6b 65 20 6f 74 |ats them| like ot|
|00000b00| 68 65 72 20 63 68 61 72 | 73 2e 22 5d 29 0a 28 64 |her char|s."]).(d|
|00000b10| 65 66 61 6c 69 61 73 20 | 27 73 75 62 73 74 69 74 |efalias |'substit|
|00000b20| 75 74 65 2d 6b 65 79 2d | 64 65 66 69 6e 69 74 69 |ute-key-|definiti|
|00000b30| 6f 6e 20 23 5b 28 6f 6c | 64 64 65 66 20 6e 65 77 |on #[(ol|ddef new|
|00000b40| 64 65 66 20 6b 65 79 6d | 61 70 20 26 6f 70 74 69 |def keym|ap &opti|
|00000b50| 6f 6e 61 6c 20 6f 6c 64 | 6d 61 70 20 70 72 65 66 |onal old|map pref|
|00000b60| 69 78 29 20 22 08 84 06 | 00 c1 10 5c 6e 86 0b 00 |ix) "...|...\n...|
|00000b70| 0b 1c c5 c6 21 1e 07 c8 | 08 0e 07 5c 22 1e 09 0c |....!...|...\"...|
|00000b80| 3a 85 29 01 0c 40 3a 83 | 92 00 0c 40 40 0c 40 41 |:.)..@:.|...@@.@A|
|00000b90| 1e 5c 6e 1e 0b 0e 07 cc | 0e 0b 49 88 0e 09 08 47 |.\n.....|..I....G|
|00000ba0| 0e 0b 49 88 c6 1e 0d 0e | 5c 6e a2 3b 83 4f 00 0e |..I.....|\n.;.O..|
|00000bb0| 5c 6e 41 89 16 5c 6e 82 | 41 00 0e 5c 6e 89 16 0d |\nA..\n.|A..\n...|
|00000bc0| 39 83 68 00 ce 0e 0d 21 | 83 68 00 0e 0d 4b 89 16 |9.h....!|.h...K..|
|00000bd0| 0d 82 54 00 0e 5c 6e 0e | 0f 3d 83 7b 00 d0 0b 0e |..T..\n.|.=.{....|
|00000be0| 09 0e 11 23 88 82 8e 00 | d2 0e 5c 6e 21 83 8e 00 |...#....|..\n!...|
|00000bf0| d3 0e 0f 0e 11 0b 0e 0d | 0e 09 25 88 2b 82 5c 22 |........|..%.+.\"|
|00000c00| 01 d4 0c 40 21 83 5c 22 | 01 0c 40 89 1e 15 47 1e |...@!.\"|..@...G.|
|00000c10| 16 cc 1e 17 cc 0e 16 57 | 83 21 01 0e 17 0e 15 0e |.......W|.!......|
|00000c20| 17 48 1e 5c 6e 1e 0b 0e | 07 cc 0e 0b 49 88 0e 09 |.H.\n...|....I...|
|00000c30| 08 47 0e 0b 49 88 c6 1e | 0d 0e 5c 6e a2 3b 83 d8 |.G..I...|..\n.;..|
|00000c40| 00 0e 5c 6e 41 89 16 5c | 6e 82 ca 00 0e 5c 6e 89 |..\nA..\|n....\n.|
|00000c50| 16 0d 39 83 f1 00 ce 0e | 0d 21 83 f1 00 0e 0d 4b |..9.....|.!.....K|
|00000c60| 89 16 0d 82 dd 00 0e 5c | 6e 0e 0f 3d 83 04 01 d0 |.......\|n..=....|
|00000c70| 0b 0e 09 0e 11 23 88 82 | 17 01 d2 0e 5c 6e 21 83 |.....#..|....\n!.|
|00000c80| 17 01 d3 0e 0f 0e 11 0b | 0e 0d 0e 09 25 88 2b 0e |........|....%.+.|
|00000c90| 17 54 89 16 17 82 a5 00 | 2b 0c 41 89 14 82 19 00 |.T......|+.A.....|
|00000ca0| 2b 87 22 20 5b 70 72 65 | 66 69 78 20 22 22 20 6f |+." [pre|fix "" o|
|00000cb0| 6c 64 6d 61 70 20 6b 65 | 79 6d 61 70 20 73 63 61 |ldmap ke|ymap sca|
|00000cc0| 6e 20 76 65 63 74 6f 72 | 20 6e 69 6c 20 76 65 63 |n vector| nil vec|
|00000cd0| 31 20 76 63 6f 6e 63 61 | 74 20 70 72 65 66 69 78 |1 vconca|t prefix|
|00000ce0| 31 20 64 65 66 6e 20 63 | 68 61 72 20 30 20 69 6e |1 defn c|har 0 in|
|00000cf0| 6e 65 72 2d 64 65 66 20 | 66 62 6f 75 6e 64 70 20 |ner-def |fboundp |
|00000d00| 6f 6c 64 64 65 66 20 64 | 65 66 69 6e 65 2d 6b 65 |olddef d|efine-ke|
|00000d10| 79 20 6e 65 77 64 65 66 | 20 6b 65 79 6d 61 70 70 |y newdef| keymapp|
|00000d20| 20 73 75 62 73 74 69 74 | 75 74 65 2d 6b 65 79 2d | substit|ute-key-|
|00000d30| 64 65 66 69 6e 69 74 69 | 6f 6e 20 61 72 72 61 79 |definiti|on array|
|00000d40| 70 20 61 72 72 61 79 20 | 6c 65 6e 20 69 5d 20 37 |p array |len i] 7|
|00000d50| 20 22 5c 0a 52 65 70 6c | 61 63 65 20 4f 4c 44 44 | "\.Repl|ace OLDD|
|00000d60| 45 46 20 77 69 74 68 20 | 4e 45 57 44 45 46 20 66 |EF with |NEWDEF f|
|00000d70| 6f 72 20 61 6e 79 20 6b | 65 79 73 20 69 6e 20 4b |or any k|eys in K|
|00000d80| 45 59 4d 41 50 20 6e 6f | 77 20 64 65 66 69 6e 65 |EYMAP no|w define|
|00000d90| 64 20 61 73 20 4f 4c 44 | 44 45 46 2e 0a 49 6e 20 |d as OLD|DEF..In |
|00000da0| 6f 74 68 65 72 20 77 6f | 72 64 73 2c 20 4f 4c 44 |other wo|rds, OLD|
|00000db0| 44 45 46 20 69 73 20 72 | 65 70 6c 61 63 65 64 20 |DEF is r|eplaced |
|00000dc0| 77 69 74 68 20 4e 45 57 | 44 45 46 20 77 68 65 72 |with NEW|DEF wher|
|00000dd0| 65 20 65 76 65 72 20 69 | 74 20 61 70 70 65 61 72 |e ever i|t appear|
|00000de0| 73 2e 0a 49 66 20 6f 70 | 74 69 6f 6e 61 6c 20 66 |s..If op|tional f|
|00000df0| 6f 75 72 74 68 20 61 72 | 67 75 6d 65 6e 74 20 4f |ourth ar|gument O|
|00000e00| 4c 44 4d 41 50 20 69 73 | 20 73 70 65 63 69 66 69 |LDMAP is| specifi|
|00000e10| 65 64 2c 20 77 65 20 72 | 65 64 65 66 69 6e 65 0a |ed, we r|edefine.|
|00000e20| 69 6e 20 4b 45 59 4d 41 | 50 20 61 73 20 4e 45 57 |in KEYMA|P as NEW|
|00000e30| 44 45 46 20 74 68 6f 73 | 65 20 63 68 61 72 73 20 |DEF thos|e chars |
|00000e40| 77 68 69 63 68 20 61 72 | 65 20 64 65 66 69 6e 65 |which ar|e define|
|00000e50| 64 20 61 73 20 4f 4c 44 | 44 45 46 20 69 6e 20 4f |d as OLD|DEF in O|
|00000e60| 4c 44 4d 41 50 2e 22 5d | 29 0a 28 64 65 66 61 6c |LDMAP."]|).(defal|
|00000e70| 69 61 73 20 27 64 65 66 | 69 6e 65 2d 6b 65 79 2d |ias 'def|ine-key-|
|00000e80| 61 66 74 65 72 20 23 5b | 28 6b 65 79 6d 61 70 20 |after #[|(keymap |
|00000e90| 6b 65 79 20 64 65 66 69 | 6e 69 74 69 6f 6e 20 61 |key defi|nition a|
|00000ea0| 66 74 65 72 29 20 22 c0 | 09 21 84 0d 00 c2 c3 c0 |fter) ".|.!......|
|00000eb0| 09 44 5c 22 88 09 c4 89 | 0d c6 48 1e 07 1e 08 1e |.D\"....|..H.....|
|00000ec0| 09 1e 5c 6e 0e 09 3f 85 | 7b 00 0e 5c 6e 85 7b 00 |..\n..?.|{..\n.{.|
|00000ed0| 0e 5c 6e 41 40 a2 0e 07 | 3d 83 38 00 0e 5c 6e 89 |.\nA@...|=.8..\n.|
|00000ee0| 41 41 a1 88 0e 5c 6e 40 | a2 0e 0b 3d 84 51 00 0e |AA...\n@|...=.Q..|
|00000ef0| 5c 6e 41 40 c1 3d 84 51 | 00 0e 5c 6e 41 84 73 00 |\nA@.=.Q|..\nA.s.|
|00000f00| 0e 5c 6e 41 40 c1 3d 83 | 5d 00 cc 16 09 0e 08 84 |.\nA@.=.|].......|
|00000f10| 70 00 0e 5c 6e 0d c6 48 | 0e 0d 42 0e 5c 6e 41 42 |p..\n..H|..B.\nAB|
|00000f20| a1 88 cc 16 08 0e 5c 6e | 41 16 5c 6e 82 1b 00 2c |......\n|A.\n...,|
|00000f30| 87 22 20 5b 6b 65 79 6d | 61 70 70 20 6b 65 79 6d |." [keym|app keym|
|00000f40| 61 70 20 73 69 67 6e 61 | 6c 20 77 72 6f 6e 67 2d |ap signa|l wrong-|
|00000f50| 74 79 70 65 2d 61 72 67 | 75 6d 65 6e 74 20 6e 69 |type-arg|ument ni|
|00000f60| 6c 20 6b 65 79 20 30 20 | 66 69 72 73 74 20 69 6e |l key 0 |first in|
|00000f70| 73 65 72 74 65 64 20 64 | 6f 6e 65 20 74 61 69 6c |serted d|one tail|
|00000f80| 20 61 66 74 65 72 20 74 | 20 64 65 66 69 6e 69 74 | after t| definit|
|00000f90| 69 6f 6e 5d 20 35 20 22 | 5c 0a 41 64 64 20 62 69 |ion] 5 "|\.Add bi|
|00000fa0| 6e 64 69 6e 67 20 69 6e | 20 4b 45 59 4d 41 50 20 |nding in| KEYMAP |
|00000fb0| 66 6f 72 20 4b 45 59 20 | 3d 3e 20 44 45 46 49 4e |for KEY |=> DEFIN|
|00000fc0| 49 54 49 4f 4e 2c 20 72 | 69 67 68 74 20 61 66 74 |ITION, r|ight aft|
|00000fd0| 65 72 20 41 46 54 45 52 | 27 73 20 62 69 6e 64 69 |er AFTER|'s bindi|
|00000fe0| 6e 67 2e 0a 54 68 69 73 | 20 69 73 20 6c 69 6b 65 |ng..This| is like|
|00000ff0| 20 60 64 65 66 69 6e 65 | 2d 6b 65 79 27 20 65 78 | `define|-key' ex|
|00001000| 63 65 70 74 20 74 68 61 | 74 20 74 68 65 20 62 69 |cept tha|t the bi|
|00001010| 6e 64 69 6e 67 20 66 6f | 72 20 4b 45 59 20 69 73 |nding fo|r KEY is|
|00001020| 20 70 6c 61 63 65 64 0a | 6a 75 73 74 20 61 66 74 | placed.|just aft|
|00001030| 65 72 20 74 68 65 20 62 | 69 6e 64 69 6e 67 20 66 |er the b|inding f|
|00001040| 6f 72 20 74 68 65 20 65 | 76 65 6e 74 20 41 46 54 |or the e|vent AFT|
|00001050| 45 52 2c 20 69 6e 73 74 | 65 61 64 20 6f 66 20 61 |ER, inst|ead of a|
|00001060| 74 20 74 68 65 20 62 65 | 67 69 6e 6e 69 6e 67 0a |t the be|ginning.|
|00001070| 6f 66 20 74 68 65 20 6d | 61 70 2e 0a 54 68 65 20 |of the m|ap..The |
|00001080| 6f 72 64 65 72 20 6d 61 | 74 74 65 72 73 20 77 68 |order ma|tters wh|
|00001090| 65 6e 20 74 68 65 20 6b | 65 79 6d 61 70 20 69 73 |en the k|eymap is|
|000010a0| 20 75 73 65 64 20 61 73 | 20 61 20 6d 65 6e 75 2e | used as| a menu.|
|000010b0| 22 5d 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 6b |"]).(def|alias 'k|
|000010c0| 65 79 62 6f 61 72 64 2d | 74 72 61 6e 73 6c 61 74 |eyboard-|translat|
|000010d0| 65 20 23 5b 28 66 72 6f | 6d 20 74 6f 29 20 22 c0 |e #[(fro|m to) ".|
|000010e0| 09 21 84 08 00 c2 11 0b | 09 47 56 84 16 00 0c 09 |.!......|.GV.....|
|000010f0| 47 56 83 38 00 09 47 1d | c6 c7 0d 5a c8 5c 22 1e |GV.8..G.|...Z.\".|
|00001100| 09 0d c7 57 83 34 00 0e | 09 0d 89 49 88 0d 54 89 |...W.4..|...I..T.|
|00001110| 15 82 5c 22 00 0e 09 11 | 2a 09 0b 0c 49 87 22 20 |..\"....|*...I." |
|00001120| 5b 61 72 72 61 79 70 20 | 6b 65 79 62 6f 61 72 64 |[arrayp |keyboard|
|00001130| 2d 74 72 61 6e 73 6c 61 | 74 65 2d 74 61 62 6c 65 |-transla|te-table|
|00001140| 20 22 22 20 66 72 6f 6d | 20 74 6f 20 69 20 6d 61 | "" from| to i ma|
|00001150| 6b 65 2d 73 74 72 69 6e | 67 20 32 35 36 20 30 20 |ke-strin|g 256 0 |
|00001160| 74 61 62 6c 65 5d 20 34 | 20 22 5c 0a 54 72 61 6e |table] 4| "\.Tran|
|00001170| 73 6c 61 74 65 20 63 68 | 61 72 61 63 74 65 72 20 |slate ch|aracter |
|00001180| 46 52 4f 4d 20 74 6f 20 | 54 4f 20 61 74 20 61 20 |FROM to |TO at a |
|00001190| 6c 6f 77 20 6c 65 76 65 | 6c 2e 0a 54 68 69 73 20 |low leve|l..This |
|000011a0| 66 75 6e 63 74 69 6f 6e | 20 63 72 65 61 74 65 73 |function| creates|
|000011b0| 20 61 20 60 6b 65 79 62 | 6f 61 72 64 2d 74 72 61 | a `keyb|oard-tra|
|000011c0| 6e 73 6c 61 74 65 2d 74 | 61 62 6c 65 27 20 69 66 |nslate-t|able' if|
|000011d0| 20 6e 65 63 65 73 73 61 | 72 79 0a 61 6e 64 20 74 | necessa|ry.and t|
|000011e0| 68 65 6e 20 6d 6f 64 69 | 66 69 65 73 20 6f 6e 65 |hen modi|fies one|
|000011f0| 20 65 6e 74 72 79 20 69 | 6e 20 69 74 2e 22 5d 29 | entry i|n it."])|
|00001200| 0a 28 64 65 66 76 61 72 | 20 67 6c 6f 62 61 6c 2d |.(defvar| global-|
|00001210| 6d 61 70 20 6e 69 6c 20 | 22 5c 0a 44 65 66 61 75 |map nil |"\.Defau|
|00001220| 6c 74 20 67 6c 6f 62 61 | 6c 20 6b 65 79 6d 61 70 |lt globa|l keymap|
|00001230| 20 6d 61 70 70 69 6e 67 | 20 45 6d 61 63 73 20 6b | mapping| Emacs k|
|00001240| 65 79 62 6f 61 72 64 20 | 69 6e 70 75 74 20 69 6e |eyboard |input in|
|00001250| 74 6f 20 63 6f 6d 6d 61 | 6e 64 73 2e 0a 54 68 65 |to comma|nds..The|
|00001260| 20 76 61 6c 75 65 20 69 | 73 20 61 20 6b 65 79 6d | value i|s a keym|
|00001270| 61 70 20 77 68 69 63 68 | 20 69 73 20 75 73 75 61 |ap which| is usua|
|00001280| 6c 6c 79 20 28 62 75 74 | 20 6e 6f 74 20 6e 65 63 |lly (but| not nec|
|00001290| 65 73 73 61 72 69 6c 79 | 29 20 45 6d 61 63 73 27 |essarily|) Emacs'|
|000012a0| 73 0a 67 6c 6f 62 61 6c | 20 6d 61 70 2e 22 29 0a |s.global| map.").|
|000012b0| 28 64 65 66 76 61 72 20 | 65 73 63 2d 6d 61 70 20 |(defvar |esc-map |
|000012c0| 6e 69 6c 20 22 5c 0a 44 | 65 66 61 75 6c 74 20 6b |nil "\.D|efault k|
|000012d0| 65 79 6d 61 70 20 66 6f | 72 20 45 53 43 20 28 6d |eymap fo|r ESC (m|
|000012e0| 65 74 61 29 20 63 6f 6d | 6d 61 6e 64 73 2e 0a 54 |eta) com|mands..T|
|000012f0| 68 65 20 6e 6f 72 6d 61 | 6c 20 67 6c 6f 62 61 6c |he norma|l global|
|00001300| 20 64 65 66 69 6e 69 74 | 69 6f 6e 20 6f 66 20 74 | definit|ion of t|
|00001310| 68 65 20 63 68 61 72 61 | 63 74 65 72 20 45 53 43 |he chara|cter ESC|
|00001320| 20 69 6e 64 69 72 65 63 | 74 73 20 74 6f 20 74 68 | indirec|ts to th|
|00001330| 69 73 20 6b 65 79 6d 61 | 70 2e 22 29 0a 28 64 65 |is keyma|p.").(de|
|00001340| 66 76 61 72 20 63 74 6c | 2d 78 2d 6d 61 70 20 6e |fvar ctl|-x-map n|
|00001350| 69 6c 20 22 5c 0a 44 65 | 66 61 75 6c 74 20 6b 65 |il "\.De|fault ke|
|00001360| 79 6d 61 70 20 66 6f 72 | 20 43 2d 78 20 63 6f 6d |ymap for| C-x com|
|00001370| 6d 61 6e 64 73 2e 0a 54 | 68 65 20 6e 6f 72 6d 61 |mands..T|he norma|
|00001380| 6c 20 67 6c 6f 62 61 6c | 20 64 65 66 69 6e 69 74 |l global| definit|
|00001390| 69 6f 6e 20 6f 66 20 74 | 68 65 20 63 68 61 72 61 |ion of t|he chara|
|000013a0| 63 74 65 72 20 43 2d 78 | 20 69 6e 64 69 72 65 63 |cter C-x| indirec|
|000013b0| 74 73 20 74 6f 20 74 68 | 69 73 20 6b 65 79 6d 61 |ts to th|is keyma|
|000013c0| 70 2e 22 29 0a 28 64 65 | 66 76 61 72 20 63 74 6c |p.").(de|fvar ctl|
|000013d0| 2d 78 2d 34 2d 6d 61 70 | 20 28 6d 61 6b 65 2d 73 |-x-4-map| (make-s|
|000013e0| 70 61 72 73 65 2d 6b 65 | 79 6d 61 70 29 20 22 5c |parse-ke|ymap) "\|
|000013f0| 0a 4b 65 79 6d 61 70 20 | 66 6f 72 20 73 75 62 63 |.Keymap |for subc|
|00001400| 6f 6d 6d 61 6e 64 73 20 | 6f 66 20 43 2d 78 20 34 |ommands |of C-x 4|
|00001410| 22 29 0a 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |").(byte|-code ".|
|00001420| c1 5c 6e 5c 22 88 c3 0c | c5 c1 23 87 22 20 5b 64 |.\n\"...|..#." [d|
|00001430| 65 66 61 6c 69 61 73 20 | 63 74 6c 2d 78 2d 34 2d |efalias |ctl-x-4-|
|00001440| 70 72 65 66 69 78 20 63 | 74 6c 2d 78 2d 34 2d 6d |prefix c|tl-x-4-m|
|00001450| 61 70 20 64 65 66 69 6e | 65 2d 6b 65 79 20 63 74 |ap defin|e-key ct|
|00001460| 6c 2d 78 2d 6d 61 70 20 | 22 34 22 5d 20 34 29 0a |l-x-map |"4"] 4).|
|00001470| 28 64 65 66 76 61 72 20 | 63 74 6c 2d 78 2d 35 2d |(defvar |ctl-x-5-|
|00001480| 6d 61 70 20 28 6d 61 6b | 65 2d 73 70 61 72 73 65 |map (mak|e-sparse|
|00001490| 2d 6b 65 79 6d 61 70 29 | 20 22 5c 0a 4b 65 79 6d |-keymap)| "\.Keym|
|000014a0| 61 70 20 66 6f 72 20 66 | 72 61 6d 65 20 63 6f 6d |ap for f|rame com|
|000014b0| 6d 61 6e 64 73 2e 22 29 | 0a 28 62 79 74 65 2d 63 |mands.")|.(byte-c|
|000014c0| 6f 64 65 20 22 c0 c1 5c | 6e 5c 22 88 c3 0c c5 c1 |ode "..\|n\".....|
|000014d0| 23 88 c6 c7 c8 5c 22 16 | 09 ca c6 c7 cb 5c 22 0e |#....\".|.....\".|
|000014e0| 09 5c 22 16 09 c0 87 22 | 20 5b 64 65 66 61 6c 69 |.\"...."| [defali|
|000014f0| 61 73 20 63 74 6c 2d 78 | 2d 35 2d 70 72 65 66 69 |as ctl-x|-5-prefi|
|00001500| 78 20 63 74 6c 2d 78 2d | 35 2d 6d 61 70 20 64 65 |x ctl-x-|5-map de|
|00001510| 66 69 6e 65 2d 6b 65 79 | 20 63 74 6c 2d 78 2d 6d |fine-key| ctl-x-m|
|00001520| 61 70 20 22 35 22 20 6c | 73 68 20 31 20 37 20 6c |ap "5" l|sh 1 7 l|
|00001530| 69 73 74 69 66 79 2d 6b | 65 79 2d 73 65 71 75 65 |istify-k|ey-seque|
|00001540| 6e 63 65 2d 31 20 6c 6f | 67 69 6f 72 20 32 33 5d |nce-1 lo|gior 23]|
|00001550| 20 34 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 6c | 4).(def|alias 'l|
|00001560| 69 73 74 69 66 79 2d 6b | 65 79 2d 73 65 71 75 65 |istify-k|ey-seque|
|00001570| 6e 63 65 20 23 5b 28 6b | 65 79 29 20 22 c0 09 21 |nce #[(k|ey) "..!|
|00001580| 83 0b 00 c2 09 c3 5c 22 | 87 c4 c5 c2 09 c3 5c 22 |......\"|......\"|
|00001590| 5c 22 87 22 20 5b 76 65 | 63 74 6f 72 70 20 6b 65 |\"." [ve|ctorp ke|
|000015a0| 79 20 61 70 70 65 6e 64 | 20 6e 69 6c 20 6d 61 70 |y append| nil map|
|000015b0| 63 61 72 20 23 5b 28 63 | 29 20 22 08 c1 56 83 0b |car #[(c|) "..V..|
|000015c0| 00 c2 08 0b 5c 22 87 08 | 87 22 20 5b 63 20 31 32 |....\"..|." [c 12|
|000015d0| 37 20 6c 6f 67 78 6f 72 | 20 6c 69 73 74 69 66 79 |7 logxor| listify|
|000015e0| 2d 6b 65 79 2d 73 65 71 | 75 65 6e 63 65 2d 31 5d |-key-seq|uence-1]|
|000015f0| 20 33 5d 5d 20 35 20 22 | 5c 0a 43 6f 6e 76 65 72 | 3]] 5 "|\.Conver|
|00001600| 74 20 61 20 6b 65 79 20 | 73 65 71 75 65 6e 63 65 |t a key |sequence|
|00001610| 20 74 6f 20 61 20 6c 69 | 73 74 20 6f 66 20 65 76 | to a li|st of ev|
|00001620| 65 6e 74 73 2e 22 5d 29 | 0a 28 64 65 66 61 6c 69 |ents."])|.(defali|
|00001630| 61 73 20 27 65 76 65 6e | 74 70 20 23 5b 28 6f 62 |as 'even|tp #[(ob|
|00001640| 6a 29 20 22 08 a8 86 1f | 00 08 39 83 10 00 08 c1 |j) "....|..9.....|
|00001650| 4e 86 1f 00 08 3a 85 1f | 00 08 40 39 85 1f 00 08 |N....:..|..@9....|
|00001660| 40 c1 4e 87 22 20 5b 6f | 62 6a 20 65 76 65 6e 74 |@.N." [o|bj event|
|00001670| 2d 73 79 6d 62 6f 6c 2d | 65 6c 65 6d 65 6e 74 73 |-symbol-|elements|
|00001680| 5d 20 32 20 22 5c 0a 54 | 72 75 65 20 69 66 20 74 |] 2 "\.T|rue if t|
|00001690| 68 65 20 61 72 67 75 6d | 65 6e 74 20 69 73 20 61 |he argum|ent is a|
|000016a0| 6e 20 65 76 65 6e 74 20 | 6f 62 6a 65 63 74 2e 22 |n event |object."|
|000016b0| 5d 29 0a 28 70 75 74 20 | 28 71 75 6f 74 65 20 65 |]).(put |(quote e|
|000016c0| 76 65 6e 74 70 29 20 28 | 71 75 6f 74 65 20 62 79 |ventp) (|quote by|
|000016d0| 74 65 2d 6f 70 74 69 6d | 69 7a 65 72 29 20 28 71 |te-optim|izer) (q|
|000016e0| 75 6f 74 65 20 62 79 74 | 65 2d 63 6f 6d 70 69 6c |uote byt|e-compil|
|000016f0| 65 2d 69 6e 6c 69 6e 65 | 2d 65 78 70 61 6e 64 29 |e-inline|-expand)|
|00001700| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 65 76 65 |).(defal|ias 'eve|
|00001710| 6e 74 2d 6d 6f 64 69 66 | 69 65 72 73 20 23 5b 28 |nt-modif|iers #[(|
|00001720| 65 76 65 6e 74 29 20 22 | 08 89 19 3c 83 5c 6e 00 |event) "|...<.\n.|
|00001730| 09 40 11 09 39 83 16 00 | 09 c2 4e 41 82 90 00 c3 |.@..9...|..NA....|
|00001740| 1c c5 c6 09 c7 c8 c9 5c | 22 5c 22 21 84 28 00 ca |.......\|"\"!.(..|
|00001750| 0c 42 14 c5 c6 09 c7 c8 | cb 5c 22 5c 22 21 83 3d |.B......|.\"\"!.=|
|00001760| 00 c6 09 cc 5c 22 cd 59 | 84 41 00 ce 0c 42 14 c5 |....\".Y|.A...B..|
|00001770| c6 09 c7 c8 cf 5c 22 5c | 22 21 83 5a 00 c6 09 d0 |.....\"\|"!.Z....|
|00001780| 5c 22 c6 09 d0 5c 22 97 | 55 84 5e 00 d1 0c 42 14 |\"...\".|U.^...B.|
|00001790| c5 c6 09 c7 c8 d2 5c 22 | 5c 22 21 84 6e 00 d3 0c |......\"|\"!.n...|
|000017a0| 42 14 c5 c6 09 c7 c8 d4 | 5c 22 5c 22 21 84 7e 00 |B.......|\"\"!.~.|
|000017b0| d5 0c 42 14 c5 c6 09 c7 | c8 d6 5c 22 5c 22 21 84 |..B.....|..\"\"!.|
|000017c0| 8e 00 d7 0c 42 14 0c 29 | 29 87 22 20 5b 65 76 65 |....B..)|)." [eve|
|000017d0| 6e 74 20 74 79 70 65 20 | 65 76 65 6e 74 2d 73 79 |nt type |event-sy|
|000017e0| 6d 62 6f 6c 2d 65 6c 65 | 6d 65 6e 74 73 20 6e 69 |mbol-ele|ments ni|
|000017f0| 6c 20 6c 69 73 74 20 7a | 65 72 6f 70 20 6c 6f 67 |l list z|erop log|
|00001800| 61 6e 64 20 6c 73 68 20 | 31 20 32 33 20 6d 65 74 |and lsh |1 23 met|
|00001810| 61 20 32 32 20 31 32 37 | 20 33 32 20 63 6f 6e 74 |a 22 127| 32 cont|
|00001820| 72 6f 6c 20 32 31 20 32 | 35 35 20 73 68 69 66 74 |rol 21 2|55 shift|
|00001830| 20 32 30 20 68 79 70 65 | 72 20 31 39 20 73 75 70 | 20 hype|r 19 sup|
|00001840| 65 72 20 31 38 20 61 6c | 74 5d 20 37 20 22 5c 0a |er 18 al|t] 7 "\.|
|00001850| 52 65 74 75 72 6e 73 20 | 61 20 6c 69 73 74 20 6f |Returns |a list o|
|00001860| 66 20 73 79 6d 62 6f 6c | 73 20 72 65 70 72 65 73 |f symbol|s repres|
|00001870| 65 6e 74 69 6e 67 20 74 | 68 65 20 6d 6f 64 69 66 |enting t|he modif|
|00001880| 69 65 72 20 6b 65 79 73 | 20 69 6e 20 65 76 65 6e |ier keys| in even|
|00001890| 74 20 45 56 45 4e 54 2e | 0a 54 68 65 20 65 6c 65 |t EVENT.|.The ele|
|000018a0| 6d 65 6e 74 73 20 6f 66 | 20 74 68 65 20 6c 69 73 |ments of| the lis|
|000018b0| 74 20 6d 61 79 20 69 6e | 63 6c 75 64 65 20 60 6d |t may in|clude `m|
|000018c0| 65 74 61 27 2c 20 60 63 | 6f 6e 74 72 6f 6c 27 2c |eta', `c|ontrol',|
|000018d0| 0a 60 73 68 69 66 74 27 | 2c 20 60 68 79 70 65 72 |.`shift'|, `hyper|
|000018e0| 27 2c 20 60 73 75 70 65 | 72 27 2c 20 60 61 6c 74 |', `supe|r', `alt|
|000018f0| 27 2c 20 60 63 6c 69 63 | 6b 27 2c 20 60 64 72 61 |', `clic|k', `dra|
|00001900| 67 27 2c 20 61 6e 64 20 | 60 64 6f 77 6e 27 2e 22 |g', and |`down'."|
|00001910| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 65 76 |]).(defa|lias 'ev|
|00001920| 65 6e 74 2d 62 61 73 69 | 63 2d 74 79 70 65 20 23 |ent-basi|c-type #|
|00001930| 5b 28 65 76 65 6e 74 29 | 20 22 08 3a 83 08 00 08 |[(event)| ".:....|
|00001940| 40 10 08 39 83 12 00 08 | c1 4e 40 87 c2 08 c3 c4 |@..9....|.N@.....|
|00001950| c5 5c 22 53 5c 22 89 1e | 06 c7 57 83 2a 00 c8 0e |.\"S\"..|..W.*...|
|00001960| 06 c9 5c 22 82 2c 00 0e | 06 97 29 87 22 20 5b 65 |..\".,..|..)." [e|
|00001970| 76 65 6e 74 20 65 76 65 | 6e 74 2d 73 79 6d 62 6f |vent eve|nt-symbo|
|00001980| 6c 2d 65 6c 65 6d 65 6e | 74 73 20 6c 6f 67 61 6e |l-elemen|ts logan|
|00001990| 64 20 6c 73 68 20 31 20 | 31 38 20 62 61 73 65 20 |d lsh 1 |18 base |
|000019a0| 33 32 20 6c 6f 67 69 6f | 72 20 36 34 5d 20 36 20 |32 logio|r 64] 6 |
|000019b0| 22 5c 0a 52 65 74 75 72 | 6e 73 20 74 68 65 20 62 |"\.Retur|ns the b|
|000019c0| 61 73 69 63 20 74 79 70 | 65 20 6f 66 20 74 68 65 |asic typ|e of the|
|000019d0| 20 67 69 76 65 6e 20 65 | 76 65 6e 74 20 28 61 6c | given e|vent (al|
|000019e0| 6c 20 6d 6f 64 69 66 69 | 65 72 73 20 72 65 6d 6f |l modifi|ers remo|
|000019f0| 76 65 64 29 2e 0a 54 68 | 65 20 76 61 6c 75 65 20 |ved)..Th|e value |
|00001a00| 69 73 20 61 6e 20 41 53 | 43 49 49 20 70 72 69 6e |is an AS|CII prin|
|00001a10| 74 69 6e 67 20 63 68 61 | 72 61 63 74 65 72 20 28 |ting cha|racter (|
|00001a20| 6e 6f 74 20 75 70 70 65 | 72 20 63 61 73 65 29 20 |not uppe|r case) |
|00001a30| 6f 72 20 61 20 73 79 6d | 62 6f 6c 2e 22 5d 29 0a |or a sym|bol."]).|
|00001a40| 28 64 65 66 61 6c 69 61 | 73 20 27 6d 6f 75 73 65 |(defalia|s 'mouse|
|00001a50| 2d 6d 6f 76 65 6d 65 6e | 74 2d 70 20 23 5b 28 6f |-movemen|t-p #[(o|
|00001a60| 62 6a 65 63 74 29 20 22 | 08 3a 85 09 00 08 40 c1 |bject) "|.:....@.|
|00001a70| 3d 87 22 20 5b 6f 62 6a | 65 63 74 20 6d 6f 75 73 |=." [obj|ect mous|
|00001a80| 65 2d 6d 6f 76 65 6d 65 | 6e 74 5d 20 32 20 22 5c |e-moveme|nt] 2 "\|
|00001a90| 0a 52 65 74 75 72 6e 20 | 6e 6f 6e 2d 6e 69 6c 20 |.Return |non-nil |
|00001aa0| 69 66 20 4f 42 4a 45 43 | 54 20 69 73 20 61 20 6d |if OBJEC|T is a m|
|00001ab0| 6f 75 73 65 20 6d 6f 76 | 65 6d 65 6e 74 20 65 76 |ouse mov|ement ev|
|00001ac0| 65 6e 74 2e 22 5d 29 0a | 28 70 75 74 20 28 71 75 |ent."]).|(put (qu|
|00001ad0| 6f 74 65 20 6d 6f 75 73 | 65 2d 6d 6f 76 65 6d 65 |ote mous|e-moveme|
|00001ae0| 6e 74 2d 70 29 20 28 71 | 75 6f 74 65 20 62 79 74 |nt-p) (q|uote byt|
|00001af0| 65 2d 6f 70 74 69 6d 69 | 7a 65 72 29 20 28 71 75 |e-optimi|zer) (qu|
|00001b00| 6f 74 65 20 62 79 74 65 | 2d 63 6f 6d 70 69 6c 65 |ote byte|-compile|
|00001b10| 2d 69 6e 6c 69 6e 65 2d | 65 78 70 61 6e 64 29 29 |-inline-|expand))|
|00001b20| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 65 76 65 6e |.(defali|as 'even|
|00001b30| 74 2d 73 74 61 72 74 20 | 23 5b 28 65 76 65 6e 74 |t-start |#[(event|
|00001b40| 29 20 22 08 41 40 87 22 | 20 5b 65 76 65 6e 74 5d |) ".A@."| [event]|
|00001b50| 20 31 20 22 5c 0a 52 65 | 74 75 72 6e 20 74 68 65 | 1 "\.Re|turn the|
|00001b60| 20 73 74 61 72 74 69 6e | 67 20 70 6f 73 69 74 69 | startin|g positi|
|00001b70| 6f 6e 20 6f 66 20 45 56 | 45 4e 54 2e 0a 49 66 20 |on of EV|ENT..If |
|00001b80| 45 56 45 4e 54 20 69 73 | 20 61 20 6d 6f 75 73 65 |EVENT is| a mouse|
|00001b90| 20 70 72 65 73 73 20 6f | 72 20 61 20 6d 6f 75 73 | press o|r a mous|
|00001ba0| 65 20 63 6c 69 63 6b 2c | 20 74 68 69 73 20 72 65 |e click,| this re|
|00001bb0| 74 75 72 6e 73 20 74 68 | 65 20 6c 6f 63 61 74 69 |turns th|e locati|
|00001bc0| 6f 6e 0a 6f 66 20 74 68 | 65 20 65 76 65 6e 74 2e |on.of th|e event.|
|00001bd0| 0a 49 66 20 45 56 45 4e | 54 20 69 73 20 61 20 64 |.If EVEN|T is a d|
|00001be0| 72 61 67 2c 20 74 68 69 | 73 20 72 65 74 75 72 6e |rag, thi|s return|
|00001bf0| 73 20 74 68 65 20 64 72 | 61 67 27 73 20 73 74 61 |s the dr|ag's sta|
|00001c00| 72 74 69 6e 67 20 70 6f | 73 69 74 69 6f 6e 2e 0a |rting po|sition..|
|00001c10| 54 68 65 20 72 65 74 75 | 72 6e 20 76 61 6c 75 65 |The retu|rn value|
|00001c20| 20 69 73 20 6f 66 20 74 | 68 65 20 66 6f 72 6d 0a | is of t|he form.|
|00001c30| 20 20 20 28 57 49 4e 44 | 4f 57 20 42 55 46 46 45 | (WIND|OW BUFFE|
|00001c40| 52 2d 50 4f 53 49 54 49 | 4f 4e 20 28 43 4f 4c 20 |R-POSITI|ON (COL |
|00001c50| 2e 20 52 4f 57 29 20 54 | 49 4d 45 53 54 41 4d 50 |. ROW) T|IMESTAMP|
|00001c60| 29 0a 54 68 65 20 60 70 | 6f 73 6e 2d 27 20 66 75 |).The `p|osn-' fu|
|00001c70| 6e 63 74 69 6f 6e 73 20 | 61 63 63 65 73 73 20 65 |nctions |access e|
|00001c80| 6c 65 6d 65 6e 74 73 20 | 6f 66 20 73 75 63 68 20 |lements |of such |
|00001c90| 6c 69 73 74 73 2e 22 5d | 29 0a 28 70 75 74 20 28 |lists."]|).(put (|
|00001ca0| 71 75 6f 74 65 20 65 76 | 65 6e 74 2d 73 74 61 72 |quote ev|ent-star|
|00001cb0| 74 29 20 28 71 75 6f 74 | 65 20 62 79 74 65 2d 6f |t) (quot|e byte-o|
|00001cc0| 70 74 69 6d 69 7a 65 72 | 29 20 28 71 75 6f 74 65 |ptimizer|) (quote|
|00001cd0| 20 62 79 74 65 2d 63 6f | 6d 70 69 6c 65 2d 69 6e | byte-co|mpile-in|
|00001ce0| 6c 69 6e 65 2d 65 78 70 | 61 6e 64 29 29 0a 28 64 |line-exp|and)).(d|
|00001cf0| 65 66 61 6c 69 61 73 20 | 27 65 76 65 6e 74 2d 65 |efalias |'event-e|
|00001d00| 6e 64 20 23 5b 28 65 76 | 65 6e 74 29 20 22 c0 09 |nd #[(ev|ent) "..|
|00001d10| 38 3a 83 0b 00 c0 82 0c | 00 c2 09 38 87 22 20 5b |8:......|...8." [|
|00001d20| 32 20 65 76 65 6e 74 20 | 31 5d 20 32 20 22 5c 0a |2 event |1] 2 "\.|
|00001d30| 52 65 74 75 72 6e 20 74 | 68 65 20 65 6e 64 69 6e |Return t|he endin|
|00001d40| 67 20 6c 6f 63 61 74 69 | 6f 6e 20 6f 66 20 45 56 |g locati|on of EV|
|00001d50| 45 4e 54 2e 20 20 45 56 | 45 4e 54 20 73 68 6f 75 |ENT. EV|ENT shou|
|00001d60| 6c 64 20 62 65 20 61 20 | 63 6c 69 63 6b 20 6f 72 |ld be a |click or|
|00001d70| 20 64 72 61 67 20 65 76 | 65 6e 74 2e 0a 49 66 20 | drag ev|ent..If |
|00001d80| 45 56 45 4e 54 20 69 73 | 20 61 20 63 6c 69 63 6b |EVENT is| a click|
|00001d90| 20 65 76 65 6e 74 2c 20 | 74 68 69 73 20 66 75 6e | event, |this fun|
|00001da0| 63 74 69 6f 6e 20 69 73 | 20 74 68 65 20 73 61 6d |ction is| the sam|
|00001db0| 65 20 61 73 20 60 65 76 | 65 6e 74 2d 73 74 61 72 |e as `ev|ent-star|
|00001dc0| 74 27 2e 0a 54 68 65 20 | 72 65 74 75 72 6e 20 76 |t'..The |return v|
|00001dd0| 61 6c 75 65 20 69 73 20 | 6f 66 20 74 68 65 20 66 |alue is |of the f|
|00001de0| 6f 72 6d 0a 20 20 20 28 | 57 49 4e 44 4f 57 20 42 |orm. (|WINDOW B|
|00001df0| 55 46 46 45 52 2d 50 4f | 53 49 54 49 4f 4e 20 28 |UFFER-PO|SITION (|
|00001e00| 43 4f 4c 20 2e 20 52 4f | 57 29 20 54 49 4d 45 53 |COL . RO|W) TIMES|
|00001e10| 54 41 4d 50 29 0a 54 68 | 65 20 60 70 6f 73 6e 2d |TAMP).Th|e `posn-|
|00001e20| 27 20 66 75 6e 63 74 69 | 6f 6e 73 20 61 63 63 65 |' functi|ons acce|
|00001e30| 73 73 20 65 6c 65 6d 65 | 6e 74 73 20 6f 66 20 73 |ss eleme|nts of s|
|00001e40| 75 63 68 20 6c 69 73 74 | 73 2e 22 5d 29 0a 28 70 |uch list|s."]).(p|
|00001e50| 75 74 20 28 71 75 6f 74 | 65 20 65 76 65 6e 74 2d |ut (quot|e event-|
|00001e60| 65 6e 64 29 20 28 71 75 | 6f 74 65 20 62 79 74 65 |end) (qu|ote byte|
|00001e70| 2d 6f 70 74 69 6d 69 7a | 65 72 29 20 28 71 75 6f |-optimiz|er) (quo|
|00001e80| 74 65 20 62 79 74 65 2d | 63 6f 6d 70 69 6c 65 2d |te byte-|compile-|
|00001e90| 69 6e 6c 69 6e 65 2d 65 | 78 70 61 6e 64 29 29 0a |inline-e|xpand)).|
|00001ea0| 28 64 65 66 61 6c 69 61 | 73 20 27 70 6f 73 6e 2d |(defalia|s 'posn-|
|00001eb0| 77 69 6e 64 6f 77 20 23 | 5b 28 70 6f 73 69 74 69 |window #|[(positi|
|00001ec0| 6f 6e 29 20 22 08 40 87 | 22 20 5b 70 6f 73 69 74 |on) ".@.|" [posit|
|00001ed0| 69 6f 6e 5d 20 31 20 22 | 5c 0a 52 65 74 75 72 6e |ion] 1 "|\.Return|
|00001ee0| 20 74 68 65 20 77 69 6e | 64 6f 77 20 69 6e 20 50 | the win|dow in P|
|00001ef0| 4f 53 49 54 49 4f 4e 2e | 0a 50 4f 53 49 54 49 4f |OSITION.|.POSITIO|
|00001f00| 4e 20 73 68 6f 75 6c 64 | 20 62 65 20 61 20 6c 69 |N should| be a li|
|00001f10| 73 74 20 6f 66 20 74 68 | 65 20 66 6f 72 6d 0a 20 |st of th|e form. |
|00001f20| 20 20 28 57 49 4e 44 4f | 57 20 42 55 46 46 45 52 | (WINDO|W BUFFER|
|00001f30| 2d 50 4f 53 49 54 49 4f | 4e 20 28 43 4f 4c 20 2e |-POSITIO|N (COL .|
|00001f40| 20 52 4f 57 29 20 54 49 | 4d 45 53 54 41 4d 50 29 | ROW) TI|MESTAMP)|
|00001f50| 0a 61 73 20 72 65 74 75 | 72 6e 65 64 20 62 79 20 |.as retu|rned by |
|00001f60| 74 68 65 20 60 65 76 65 | 6e 74 2d 73 74 61 72 74 |the `eve|nt-start|
|00001f70| 27 20 61 6e 64 20 60 65 | 76 65 6e 74 2d 65 6e 64 |' and `e|vent-end|
|00001f80| 27 20 66 75 6e 63 74 69 | 6f 6e 73 2e 22 5d 29 0a |' functi|ons."]).|
|00001f90| 28 70 75 74 20 28 71 75 | 6f 74 65 20 70 6f 73 6e |(put (qu|ote posn|
|00001fa0| 2d 77 69 6e 64 6f 77 29 | 20 28 71 75 6f 74 65 20 |-window)| (quote |
|00001fb0| 62 79 74 65 2d 6f 70 74 | 69 6d 69 7a 65 72 29 20 |byte-opt|imizer) |
|00001fc0| 28 71 75 6f 74 65 20 62 | 79 74 65 2d 63 6f 6d 70 |(quote b|yte-comp|
|00001fd0| 69 6c 65 2d 69 6e 6c 69 | 6e 65 2d 65 78 70 61 6e |ile-inli|ne-expan|
|00001fe0| 64 29 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 70 |d)).(def|alias 'p|
|00001ff0| 6f 73 6e 2d 70 6f 69 6e | 74 20 23 5b 28 70 6f 73 |osn-poin|t #[(pos|
|00002000| 69 74 69 6f 6e 29 20 22 | 08 41 40 3a 83 0c 00 08 |ition) "|.A@:....|
|00002010| 41 40 40 87 08 41 40 87 | 22 20 5b 70 6f 73 69 74 |A@@..A@.|" [posit|
|00002020| 69 6f 6e 5d 20 31 20 22 | 5c 0a 52 65 74 75 72 6e |ion] 1 "|\.Return|
|00002030| 20 74 68 65 20 62 75 66 | 66 65 72 20 6c 6f 63 61 | the buf|fer loca|
|00002040| 74 69 6f 6e 20 69 6e 20 | 50 4f 53 49 54 49 4f 4e |tion in |POSITION|
|00002050| 2e 0a 50 4f 53 49 54 49 | 4f 4e 20 73 68 6f 75 6c |..POSITI|ON shoul|
|00002060| 64 20 62 65 20 61 20 6c | 69 73 74 20 6f 66 20 74 |d be a l|ist of t|
|00002070| 68 65 20 66 6f 72 6d 0a | 20 20 20 28 57 49 4e 44 |he form.| (WIND|
|00002080| 4f 57 20 42 55 46 46 45 | 52 2d 50 4f 53 49 54 49 |OW BUFFE|R-POSITI|
|00002090| 4f 4e 20 28 43 4f 4c 20 | 2e 20 52 4f 57 29 20 54 |ON (COL |. ROW) T|
|000020a0| 49 4d 45 53 54 41 4d 50 | 29 0a 61 73 20 72 65 74 |IMESTAMP|).as ret|
|000020b0| 75 72 6e 65 64 20 62 79 | 20 74 68 65 20 60 65 76 |urned by| the `ev|
|000020c0| 65 6e 74 2d 73 74 61 72 | 74 27 20 61 6e 64 20 60 |ent-star|t' and `|
|000020d0| 65 76 65 6e 74 2d 65 6e | 64 27 20 66 75 6e 63 74 |event-en|d' funct|
|000020e0| 69 6f 6e 73 2e 22 5d 29 | 0a 28 70 75 74 20 28 71 |ions."])|.(put (q|
|000020f0| 75 6f 74 65 20 70 6f 73 | 6e 2d 70 6f 69 6e 74 29 |uote pos|n-point)|
|00002100| 20 28 71 75 6f 74 65 20 | 62 79 74 65 2d 6f 70 74 | (quote |byte-opt|
|00002110| 69 6d 69 7a 65 72 29 20 | 28 71 75 6f 74 65 20 62 |imizer) |(quote b|
|00002120| 79 74 65 2d 63 6f 6d 70 | 69 6c 65 2d 69 6e 6c 69 |yte-comp|ile-inli|
|00002130| 6e 65 2d 65 78 70 61 6e | 64 29 29 0a 28 64 65 66 |ne-expan|d)).(def|
|00002140| 61 6c 69 61 73 20 27 70 | 6f 73 6e 2d 63 6f 6c 2d |alias 'p|osn-col-|
|00002150| 72 6f 77 20 23 5b 28 70 | 6f 73 69 74 69 6f 6e 29 |row #[(p|osition)|
|00002160| 20 22 c0 09 38 87 22 20 | 5b 32 20 70 6f 73 69 74 | "..8." |[2 posit|
|00002170| 69 6f 6e 5d 20 32 20 22 | 5c 0a 52 65 74 75 72 6e |ion] 2 "|\.Return|
|00002180| 20 74 68 65 20 72 6f 77 | 20 61 6e 64 20 63 6f 6c | the row| and col|
|00002190| 75 6d 6e 20 69 6e 20 50 | 4f 53 49 54 49 4f 4e 2e |umn in P|OSITION.|
|000021a0| 0a 50 4f 53 49 54 49 4f | 4e 20 73 68 6f 75 6c 64 |.POSITIO|N should|
|000021b0| 20 62 65 20 61 20 6c 69 | 73 74 20 6f 66 20 74 68 | be a li|st of th|
|000021c0| 65 20 66 6f 72 6d 0a 20 | 20 20 28 57 49 4e 44 4f |e form. | (WINDO|
|000021d0| 57 20 42 55 46 46 45 52 | 2d 50 4f 53 49 54 49 4f |W BUFFER|-POSITIO|
|000021e0| 4e 20 28 43 4f 4c 20 2e | 20 52 4f 57 29 20 54 49 |N (COL .| ROW) TI|
|000021f0| 4d 45 53 54 41 4d 50 29 | 0a 61 73 20 72 65 74 75 |MESTAMP)|.as retu|
|00002200| 72 6e 65 64 20 62 79 20 | 74 68 65 20 60 65 76 65 |rned by |the `eve|
|00002210| 6e 74 2d 73 74 61 72 74 | 27 20 61 6e 64 20 60 65 |nt-start|' and `e|
|00002220| 76 65 6e 74 2d 65 6e 64 | 27 20 66 75 6e 63 74 69 |vent-end|' functi|
|00002230| 6f 6e 73 2e 22 5d 29 0a | 28 70 75 74 20 28 71 75 |ons."]).|(put (qu|
|00002240| 6f 74 65 20 70 6f 73 6e | 2d 63 6f 6c 2d 72 6f 77 |ote posn|-col-row|
|00002250| 29 20 28 71 75 6f 74 65 | 20 62 79 74 65 2d 6f 70 |) (quote| byte-op|
|00002260| 74 69 6d 69 7a 65 72 29 | 20 28 71 75 6f 74 65 20 |timizer)| (quote |
|00002270| 62 79 74 65 2d 63 6f 6d | 70 69 6c 65 2d 69 6e 6c |byte-com|pile-inl|
|00002280| 69 6e 65 2d 65 78 70 61 | 6e 64 29 29 0a 28 64 65 |ine-expa|nd)).(de|
|00002290| 66 61 6c 69 61 73 20 27 | 70 6f 73 6e 2d 74 69 6d |falias '|posn-tim|
|000022a0| 65 73 74 61 6d 70 20 23 | 5b 28 70 6f 73 69 74 69 |estamp #|[(positi|
|000022b0| 6f 6e 29 20 22 c0 09 38 | 87 22 20 5b 33 20 70 6f |on) "..8|." [3 po|
|000022c0| 73 69 74 69 6f 6e 5d 20 | 32 20 22 5c 0a 52 65 74 |sition] |2 "\.Ret|
|000022d0| 75 72 6e 20 74 68 65 20 | 74 69 6d 65 73 74 61 6d |urn the |timestam|
|000022e0| 70 20 6f 66 20 50 4f 53 | 49 54 49 4f 4e 2e 0a 50 |p of POS|ITION..P|
|000022f0| 4f 53 49 54 49 4f 4e 20 | 73 68 6f 75 6c 64 20 62 |OSITION |should b|
|00002300| 65 20 61 20 6c 69 73 74 | 20 6f 66 20 74 68 65 20 |e a list| of the |
|00002310| 66 6f 72 6d 0a 20 20 20 | 28 57 49 4e 44 4f 57 20 |form. |(WINDOW |
|00002320| 42 55 46 46 45 52 2d 50 | 4f 53 49 54 49 4f 4e 20 |BUFFER-P|OSITION |
|00002330| 28 43 4f 4c 20 2e 20 52 | 4f 57 29 20 54 49 4d 45 |(COL . R|OW) TIME|
|00002340| 53 54 41 4d 50 29 0a 61 | 73 20 72 65 74 75 72 6e |STAMP).a|s return|
|00002350| 65 64 20 62 79 20 74 68 | 65 20 60 65 76 65 6e 74 |ed by th|e `event|
|00002360| 2d 73 74 61 72 74 27 20 | 61 6e 64 20 60 65 76 65 |-start' |and `eve|
|00002370| 6e 74 2d 65 6e 64 27 20 | 66 75 6e 63 74 69 6f 6e |nt-end' |function|
|00002380| 73 2e 22 5d 29 0a 28 62 | 79 74 65 2d 63 6f 64 65 |s."]).(b|yte-code|
|00002390| 20 22 c0 c1 c2 c3 23 88 | c4 c5 c6 5c 22 88 c4 c7 | "....#.|...\"...|
|000023a0| c8 5c 22 88 c4 c9 ca 5c | 22 88 c4 cb cc 5c 22 88 |.\"....\|"....\".|
|000023b0| c4 cd ce 5c 22 88 c4 cf | d0 5c 22 88 c4 d1 d2 5c |...\"...|.\"....\|
|000023c0| 22 88 c4 d3 d4 5c 22 88 | c4 d5 d6 5c 22 88 c4 d7 |"....\".|...\"...|
|000023d0| d8 5c 22 88 c4 d9 da 5c | 22 88 c4 db dc 5c 22 88 |.\"....\|"....\".|
|000023e0| c4 dd de 5c 22 88 c4 df | e0 5c 22 88 c4 e1 e2 5c |...\"...|.\"....\|
|000023f0| 22 87 22 20 5b 70 75 74 | 20 70 6f 73 6e 2d 74 69 |"." [put| posn-ti|
|00002400| 6d 65 73 74 61 6d 70 20 | 62 79 74 65 2d 6f 70 74 |mestamp |byte-opt|
|00002410| 69 6d 69 7a 65 72 20 62 | 79 74 65 2d 63 6f 6d 70 |imizer b|yte-comp|
|00002420| 69 6c 65 2d 69 6e 6c 69 | 6e 65 2d 65 78 70 61 6e |ile-inli|ne-expan|
|00002430| 64 20 64 65 66 61 6c 69 | 61 73 20 6d 61 6b 65 2d |d defali|as make-|
|00002440| 73 79 6e 74 61 78 2d 74 | 61 62 6c 65 20 63 6f 70 |syntax-t|able cop|
|00002450| 79 2d 73 79 6e 74 61 78 | 2d 74 61 62 6c 65 20 64 |y-syntax|-table d|
|00002460| 6f 74 20 70 6f 69 6e 74 | 20 64 6f 74 2d 6d 61 72 |ot point| dot-mar|
|00002470| 6b 65 72 20 70 6f 69 6e | 74 2d 6d 61 72 6b 65 72 |ker poin|t-marker|
|00002480| 20 64 6f 74 2d 6d 69 6e | 20 70 6f 69 6e 74 2d 6d | dot-min| point-m|
|00002490| 69 6e 20 64 6f 74 2d 6d | 61 78 20 70 6f 69 6e 74 |in dot-m|ax point|
|000024a0| 2d 6d 61 78 20 77 69 6e | 64 6f 77 2d 64 6f 74 20 |-max win|dow-dot |
|000024b0| 77 69 6e 64 6f 77 2d 70 | 6f 69 6e 74 20 73 65 74 |window-p|oint set|
|000024c0| 2d 77 69 6e 64 6f 77 2d | 64 6f 74 20 73 65 74 2d |-window-|dot set-|
|000024d0| 77 69 6e 64 6f 77 2d 70 | 6f 69 6e 74 20 72 65 61 |window-p|oint rea|
|000024e0| 64 2d 69 6e 70 75 74 20 | 72 65 61 64 2d 73 74 72 |d-input |read-str|
|000024f0| 69 6e 67 20 73 65 6e 64 | 2d 73 74 72 69 6e 67 20 |ing send|-string |
|00002500| 70 72 6f 63 65 73 73 2d | 73 65 6e 64 2d 73 74 72 |process-|send-str|
|00002510| 69 6e 67 20 73 65 6e 64 | 2d 72 65 67 69 6f 6e 20 |ing send|-region |
|00002520| 70 72 6f 63 65 73 73 2d | 73 65 6e 64 2d 72 65 67 |process-|send-reg|
|00002530| 69 6f 6e 20 73 68 6f 77 | 2d 62 75 66 66 65 72 20 |ion show|-buffer |
|00002540| 73 65 74 2d 77 69 6e 64 | 6f 77 2d 62 75 66 66 65 |set-wind|ow-buffe|
|00002550| 72 20 62 75 66 66 65 72 | 2d 66 6c 75 73 68 2d 75 |r buffer|-flush-u|
|00002560| 6e 64 6f 20 62 75 66 66 | 65 72 2d 64 69 73 61 62 |ndo buff|er-disab|
|00002570| 6c 65 2d 75 6e 64 6f 20 | 65 76 61 6c 2d 63 75 72 |le-undo |eval-cur|
|00002580| 72 65 6e 74 2d 62 75 66 | 66 65 72 20 65 76 61 6c |rent-buf|fer eval|
|00002590| 2d 62 75 66 66 65 72 20 | 63 6f 6d 70 69 6c 65 64 |-buffer |compiled|
|000025a0| 2d 66 75 6e 63 74 69 6f | 6e 2d 70 20 62 79 74 65 |-functio|n-p byte|
|000025b0| 2d 63 6f 64 65 2d 66 75 | 6e 63 74 69 6f 6e 2d 70 |-code-fu|nction-p|
|000025c0| 20 6d 6f 64 20 25 5d 20 | 34 29 0a 28 64 65 66 75 | mod %] |4).(defu|
|000025d0| 6e 20 62 61 75 64 2d 72 | 61 74 65 20 6e 69 6c 20 |n baud-r|ate nil |
|000025e0| 22 5c 0a 4f 62 73 6f 6c | 65 74 65 20 66 75 6e 63 |"\.Obsol|ete func|
|000025f0| 74 69 6f 6e 20 72 65 74 | 75 72 6e 69 6e 67 20 74 |tion ret|urning t|
|00002600| 68 65 20 76 61 6c 75 65 | 20 6f 66 20 74 68 65 20 |he value| of the |
|00002610| 60 62 61 75 64 2d 72 61 | 74 65 27 20 76 61 72 69 |`baud-ra|te' vari|
|00002620| 61 62 6c 65 2e 0a 50 6c | 65 61 73 65 20 63 6f 6e |able..Pl|ease con|
|00002630| 76 65 72 74 20 79 6f 75 | 72 20 70 72 6f 67 72 61 |vert you|r progra|
|00002640| 6d 73 20 74 6f 20 75 73 | 65 20 74 68 65 20 76 61 |ms to us|e the va|
|00002650| 72 69 61 62 6c 65 20 60 | 62 61 75 64 2d 72 61 74 |riable `|baud-rat|
|00002660| 65 27 20 64 69 72 65 63 | 74 6c 79 2e 22 20 62 61 |e' direc|tly." ba|
|00002670| 75 64 2d 72 61 74 65 29 | 0a 28 62 79 74 65 2d 63 |ud-rate)|.(byte-c|
|00002680| 6f 64 65 20 22 c0 c1 c2 | 5c 22 88 c0 c3 c4 5c 22 |ode "...|\"....\"|
|00002690| 88 c0 c5 c6 5c 22 88 c0 | c7 c8 5c 22 88 c0 c9 ca |....\"..|..\"....|
|000026a0| 5c 22 88 c0 cb cc 5c 22 | 88 c0 cd ce 5c 22 88 c0 |\"....\"|....\"..|
|000026b0| cf d0 5c 22 88 c0 d1 d2 | 5c 22 88 c0 d3 d4 5c 22 |..\"....|\"....\"|
|000026c0| 88 c0 d5 d6 4b 5c 22 88 | c0 d7 d8 4b 5c 22 88 c0 |....K\".|...K\"..|
|000026d0| d9 da 5c 22 88 c0 db dc | 5c 22 87 22 20 5b 64 65 |..\"....|\"." [de|
|000026e0| 66 61 6c 69 61 73 20 73 | 74 72 69 6e 67 3d 20 73 |falias s|tring= s|
|000026f0| 74 72 69 6e 67 2d 65 71 | 75 61 6c 20 73 74 72 69 |tring-eq|ual stri|
|00002700| 6e 67 3c 20 73 74 72 69 | 6e 67 2d 6c 65 73 73 70 |ng< stri|ng-lessp|
|00002710| 20 6d 6f 76 65 2d 6d 61 | 72 6b 65 72 20 73 65 74 | move-ma|rker set|
|00002720| 2d 6d 61 72 6b 65 72 20 | 65 71 6c 20 65 71 20 6e |-marker |eql eq n|
|00002730| 6f 74 20 6e 75 6c 6c 20 | 72 70 6c 61 63 61 20 73 |ot null |rplaca s|
|00002740| 65 74 63 61 72 20 72 70 | 6c 61 63 64 20 73 65 74 |etcar rp|lacd set|
|00002750| 63 64 72 20 62 65 65 70 | 20 64 69 6e 67 20 69 6e |cdr beep| ding in|
|00002760| 64 65 6e 74 2d 74 6f 2d | 63 6f 6c 75 6d 6e 20 69 |dent-to-|column i|
|00002770| 6e 64 65 6e 74 2d 74 6f | 20 62 61 63 6b 77 61 72 |ndent-to| backwar|
|00002780| 64 2d 64 65 6c 65 74 65 | 2d 63 68 61 72 20 64 65 |d-delete|-char de|
|00002790| 6c 65 74 65 2d 62 61 63 | 6b 77 61 72 64 2d 63 68 |lete-bac|kward-ch|
|000027a0| 61 72 20 73 65 61 72 63 | 68 2d 66 6f 72 77 61 72 |ar searc|h-forwar|
|000027b0| 64 2d 72 65 67 65 78 70 | 20 72 65 2d 73 65 61 72 |d-regexp| re-sear|
|000027c0| 63 68 2d 66 6f 72 77 61 | 72 64 20 73 65 61 72 63 |ch-forwa|rd searc|
|000027d0| 68 2d 62 61 63 6b 77 61 | 72 64 2d 72 65 67 65 78 |h-backwa|rd-regex|
|000027e0| 70 20 72 65 2d 73 65 61 | 72 63 68 2d 62 61 63 6b |p re-sea|rch-back|
|000027f0| 77 61 72 64 20 69 6e 74 | 2d 74 6f 2d 73 74 72 69 |ward int|-to-stri|
|00002800| 6e 67 20 6e 75 6d 62 65 | 72 2d 74 6f 2d 73 74 72 |ng numbe|r-to-str|
|00002810| 69 6e 67 20 73 74 72 69 | 6e 67 2d 74 6f 2d 69 6e |ing stri|ng-to-in|
|00002820| 74 20 73 74 72 69 6e 67 | 2d 74 6f 2d 6e 75 6d 62 |t string|-to-numb|
|00002830| 65 72 5d 20 33 29 0a 28 | 64 65 66 61 6c 69 61 73 |er] 3).(|defalias|
|00002840| 20 27 72 75 6e 2d 68 6f | 6f 6b 73 20 23 5b 28 26 | 'run-ho|oks #[(&|
|00002850| 72 65 73 74 20 68 6f 6f | 6b 6c 69 73 74 29 20 22 |rest hoo|klist) "|
|00002860| 08 85 36 00 08 40 19 c2 | 09 21 83 2d 00 09 4a 83 |..6..@..|.!.-..J.|
|00002870| 2d 00 09 4a 89 1b 3c 83 | 29 00 0b 40 c4 3d 84 29 |-..J..<.|)..@.=.)|
|00002880| 00 c5 c6 0b 5c 22 88 82 | 2c 00 0b 20 88 29 29 08 |....\"..|,.. .)).|
|00002890| 41 89 10 84 04 00 c7 87 | 22 20 5b 68 6f 6f 6b 6c |A.......|" [hookl|
|000028a0| 69 73 74 20 73 79 6d 20 | 62 6f 75 6e 64 70 20 76 |ist sym |boundp v|
|000028b0| 61 6c 75 65 20 6c 61 6d | 62 64 61 20 6d 61 70 63 |alue lam|bda mapc|
|000028c0| 61 72 20 66 75 6e 63 61 | 6c 6c 20 6e 69 6c 5d 20 |ar funca|ll nil] |
|000028d0| 34 20 22 5c 0a 54 61 6b | 65 73 20 68 6f 6f 6b 20 |4 "\.Tak|es hook |
|000028e0| 6e 61 6d 65 73 20 61 6e | 64 20 72 75 6e 73 20 65 |names an|d runs e|
|000028f0| 61 63 68 20 6f 6e 65 20 | 69 6e 20 74 75 72 6e 2e |ach one |in turn.|
|00002900| 20 20 4d 61 6a 6f 72 20 | 6d 6f 64 65 20 66 75 6e | Major |mode fun|
|00002910| 63 74 69 6f 6e 73 20 75 | 73 65 20 74 68 69 73 2e |ctions u|se this.|
|00002920| 0a 45 61 63 68 20 61 72 | 67 75 6d 65 6e 74 20 73 |.Each ar|gument s|
|00002930| 68 6f 75 6c 64 20 62 65 | 20 61 20 73 79 6d 62 6f |hould be| a symbo|
|00002940| 6c 2c 20 61 20 68 6f 6f | 6b 20 76 61 72 69 61 62 |l, a hoo|k variab|
|00002950| 6c 65 2e 0a 54 68 65 73 | 65 20 73 79 6d 62 6f 6c |le..Thes|e symbol|
|00002960| 73 20 61 72 65 20 70 72 | 6f 63 65 73 73 65 64 20 |s are pr|ocessed |
|00002970| 69 6e 20 74 68 65 20 6f | 72 64 65 72 20 73 70 65 |in the o|rder spe|
|00002980| 63 69 66 69 65 64 2e 0a | 49 66 20 61 20 68 6f 6f |cified..|If a hoo|
|00002990| 6b 20 73 79 6d 62 6f 6c | 20 68 61 73 20 61 20 6e |k symbol| has a n|
|000029a0| 6f 6e 2d 6e 69 6c 20 76 | 61 6c 75 65 2c 20 74 68 |on-nil v|alue, th|
|000029b0| 61 74 20 76 61 6c 75 65 | 20 6d 61 79 20 62 65 20 |at value| may be |
|000029c0| 61 20 66 75 6e 63 74 69 | 6f 6e 0a 6f 72 20 61 20 |a functi|on.or a |
|000029d0| 6c 69 73 74 20 6f 66 20 | 66 75 6e 63 74 69 6f 6e |list of |function|
|000029e0| 73 20 74 6f 20 62 65 20 | 63 61 6c 6c 65 64 20 74 |s to be |called t|
|000029f0| 6f 20 72 75 6e 20 74 68 | 65 20 68 6f 6f 6b 2e 0a |o run th|e hook..|
|00002a00| 49 66 20 74 68 65 20 76 | 61 6c 75 65 20 69 73 20 |If the v|alue is |
|00002a10| 61 20 66 75 6e 63 74 69 | 6f 6e 2c 20 69 74 20 69 |a functi|on, it i|
|00002a20| 73 20 63 61 6c 6c 65 64 | 20 77 69 74 68 20 6e 6f |s called| with no|
|00002a30| 20 61 72 67 75 6d 65 6e | 74 73 2e 0a 49 66 20 69 | argumen|ts..If i|
|00002a40| 74 20 69 73 20 61 20 6c | 69 73 74 2c 20 74 68 65 |t is a l|ist, the|
|00002a50| 20 65 6c 65 6d 65 6e 74 | 73 20 61 72 65 20 63 61 | element|s are ca|
|00002a60| 6c 6c 65 64 2c 20 69 6e | 20 6f 72 64 65 72 2c 20 |lled, in| order, |
|00002a70| 77 69 74 68 20 6e 6f 20 | 61 72 67 75 6d 65 6e 74 |with no |argument|
|00002a80| 73 2e 22 5d 29 0a 28 64 | 65 66 63 6f 6e 73 74 20 |s."]).(d|efconst |
|00002a90| 72 75 6e 2d 68 6f 6f 6b | 73 20 28 71 75 6f 74 65 |run-hook|s (quote|
|00002aa0| 20 72 75 6e 2d 68 6f 6f | 6b 73 29 20 22 5c 0a 56 | run-hoo|ks) "\.V|
|00002ab0| 61 72 69 61 62 6c 65 20 | 62 79 20 77 68 69 63 68 |ariable |by which|
|00002ac0| 20 43 20 70 72 69 6d 69 | 74 69 76 65 73 20 66 69 | C primi|tives fi|
|00002ad0| 6e 64 20 74 68 65 20 66 | 75 6e 63 74 69 6f 6e 20 |nd the f|unction |
|00002ae0| 60 72 75 6e 2d 68 6f 6f | 6b 73 27 2e 0a 44 6f 6e |`run-hoo|ks'..Don|
|00002af0| 27 74 20 63 68 61 6e 67 | 65 20 69 74 2e 22 29 0a |'t chang|e it.").|
|00002b00| 28 64 65 66 61 6c 69 61 | 73 20 27 61 64 64 2d 68 |(defalia|s 'add-h|
|00002b10| 6f 6f 6b 20 23 5b 28 68 | 6f 6f 6b 20 66 75 6e 63 |ook #[(h|ook func|
|00002b20| 74 69 6f 6e 20 26 6f 70 | 74 69 6f 6e 61 6c 20 61 |tion &op|tional a|
|00002b30| 70 70 65 6e 64 29 20 22 | c0 09 21 84 5c 6e 00 09 |ppend) "|..!.\n..|
|00002b40| c2 4c 88 0b 3a 83 1d 00 | c4 0b 41 09 4a 5c 22 1d |.L..:...|..A.J\".|
|00002b50| 0b 0d 29 9a 82 21 00 0b | 09 4a 3e 86 37 00 09 0e |..)..!..|.J>.7...|
|00002b60| 06 83 32 00 09 4a 0b 43 | a4 82 36 00 0b 09 4a 42 |..2..J.C|..6...JB|
|00002b70| 4c 87 22 20 5b 62 6f 75 | 6e 64 70 20 68 6f 6f 6b |L." [bou|ndp hook|
|00002b80| 20 6e 69 6c 20 66 75 6e | 63 74 69 6f 6e 20 61 73 | nil fun|ction as|
|00002b90| 73 6f 63 20 74 61 69 6c | 20 61 70 70 65 6e 64 5d |soc tail| append]|
|00002ba0| 20 33 20 22 5c 0a 41 64 | 64 20 74 6f 20 74 68 65 | 3 "\.Ad|d to the|
|00002bb0| 20 76 61 6c 75 65 20 6f | 66 20 48 4f 4f 4b 20 74 | value o|f HOOK t|
|00002bc0| 68 65 20 66 75 6e 63 74 | 69 6f 6e 20 46 55 4e 43 |he funct|ion FUNC|
|00002bd0| 54 49 4f 4e 20 75 6e 6c | 65 73 73 20 61 6c 72 65 |TION unl|ess alre|
|00002be0| 61 64 79 20 70 72 65 73 | 65 6e 74 20 28 69 74 0a |ady pres|ent (it.|
|00002bf0| 62 65 63 6f 6d 65 73 20 | 74 68 65 20 66 69 72 73 |becomes |the firs|
|00002c00| 74 20 68 6f 6f 6b 20 6f | 6e 20 74 68 65 20 6c 69 |t hook o|n the li|
|00002c10| 73 74 20 75 6e 6c 65 73 | 73 20 6f 70 74 69 6f 6e |st unles|s option|
|00002c20| 61 6c 20 41 50 50 45 4e | 44 20 69 73 20 6e 6f 6e |al APPEN|D is non|
|00002c30| 2d 6e 69 6c 2c 20 69 6e | 0a 77 68 69 63 68 20 63 |-nil, in|.which c|
|00002c40| 61 73 65 20 69 74 20 62 | 65 63 6f 6d 65 73 20 74 |ase it b|ecomes t|
|00002c50| 68 65 20 6c 61 73 74 29 | 2e 20 20 48 4f 4f 4b 20 |he last)|. HOOK |
|00002c60| 73 68 6f 75 6c 64 20 62 | 65 20 61 20 73 79 6d 62 |should b|e a symb|
|00002c70| 6f 6c 2c 20 61 6e 64 20 | 46 55 4e 43 54 49 4f 4e |ol, and |FUNCTION|
|00002c80| 20 6d 61 79 20 62 65 0a | 61 6e 79 20 76 61 6c 69 | may be.|any vali|
|00002c90| 64 20 66 75 6e 63 74 69 | 6f 6e 2e 20 20 48 4f 4f |d functi|on. HOO|
|00002ca0| 4b 27 73 20 76 61 6c 75 | 65 20 73 68 6f 75 6c 64 |K's valu|e should|
|00002cb0| 20 62 65 20 61 20 6c 69 | 73 74 20 6f 66 20 66 75 | be a li|st of fu|
|00002cc0| 6e 63 74 69 6f 6e 73 2c | 20 6e 6f 74 20 61 20 73 |nctions,| not a s|
|00002cd0| 69 6e 67 6c 65 0a 66 75 | 6e 63 74 69 6f 6e 2e 20 |ingle.fu|nction. |
|00002ce0| 20 49 66 20 48 4f 4f 4b | 20 69 73 20 76 6f 69 64 | If HOOK| is void|
|00002cf0| 2c 20 69 74 20 69 73 20 | 66 69 72 73 74 20 73 65 |, it is |first se|
|00002d00| 74 20 74 6f 20 6e 69 6c | 2e 22 5d 29 0a 28 64 65 |t to nil|."]).(de|
|00002d10| 66 61 6c 69 61 73 20 27 | 65 76 61 6c 2d 61 66 74 |falias '|eval-aft|
|00002d20| 65 72 2d 6c 6f 61 64 20 | 23 5b 28 66 69 6c 65 20 |er-load |#[(file |
|00002d30| 66 6f 72 6d 29 20 22 c0 | 09 5c 6e 5c 22 84 0c 00 |form) ".|.\n\"...|
|00002d40| 09 43 5c 6e 42 12 c0 09 | 5c 6e 5c 22 0b 43 a4 88 |.C\nB...|\n\".C..|
|00002d50| 0b 87 22 20 5b 61 73 73 | 6f 63 20 66 69 6c 65 20 |.." [ass|oc file |
|00002d60| 61 66 74 65 72 2d 6c 6f | 61 64 2d 61 6c 69 73 74 |after-lo|ad-alist|
|00002d70| 20 66 6f 72 6d 5d 20 33 | 20 22 5c 0a 41 72 72 61 | form] 3| "\.Arra|
|00002d80| 6e 67 65 20 74 68 61 74 | 2c 20 69 66 20 46 49 4c |nge that|, if FIL|
|00002d90| 45 20 69 73 20 65 76 65 | 72 20 6c 6f 61 64 65 64 |E is eve|r loaded|
|00002da0| 2c 20 46 4f 52 4d 20 77 | 69 6c 6c 20 62 65 20 72 |, FORM w|ill be r|
|00002db0| 75 6e 20 61 74 20 74 68 | 61 74 20 74 69 6d 65 2e |un at th|at time.|
|00002dc0| 0a 54 68 69 73 20 6d 61 | 6b 65 73 20 6f 72 20 61 |.This ma|kes or a|
|00002dd0| 64 64 73 20 74 6f 20 61 | 6e 20 65 6e 74 72 79 20 |dds to a|n entry |
|00002de0| 6f 6e 20 60 61 66 74 65 | 72 2d 6c 6f 61 64 2d 61 |on `afte|r-load-a|
|00002df0| 6c 69 73 74 27 2e 0a 46 | 49 4c 45 20 73 68 6f 75 |list'..F|ILE shou|
|00002e00| 6c 64 20 62 65 20 74 68 | 65 20 6e 61 6d 65 20 6f |ld be th|e name o|
|00002e10| 66 20 61 20 6c 69 62 72 | 61 72 79 2c 20 77 69 74 |f a libr|ary, wit|
|00002e20| 68 20 6e 6f 20 64 69 72 | 65 63 74 6f 72 79 20 6e |h no dir|ectory n|
|00002e30| 61 6d 65 2e 22 5d 29 0a | 28 64 65 66 61 6c 69 61 |ame."]).|(defalia|
|00002e40| 73 20 27 65 76 61 6c 2d | 6e 65 78 74 2d 61 66 74 |s 'eval-|next-aft|
|00002e50| 65 72 2d 6c 6f 61 64 20 | 23 5b 28 66 69 6c 65 29 |er-load |#[(file)|
|00002e60| 20 22 c0 09 c2 20 5c 22 | 87 22 20 5b 65 76 61 6c | "... \"|." [eval|
|00002e70| 2d 61 66 74 65 72 2d 6c | 6f 61 64 20 66 69 6c 65 |-after-l|oad file|
|00002e80| 20 72 65 61 64 5d 20 33 | 20 22 5c 0a 52 65 61 64 | read] 3| "\.Read|
|00002e90| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 69 | the fol|lowing i|
|00002ea0| 6e 70 75 74 20 73 65 78 | 70 2c 20 61 6e 64 20 72 |nput sex|p, and r|
|00002eb0| 75 6e 20 69 74 20 77 68 | 65 6e 65 76 65 72 20 46 |un it wh|enever F|
|00002ec0| 49 4c 45 20 69 73 20 6c | 6f 61 64 65 64 2e 0a 54 |ILE is l|oaded..T|
|00002ed0| 68 69 73 20 6d 61 6b 65 | 73 20 6f 72 20 61 64 64 |his make|s or add|
|00002ee0| 73 20 74 6f 20 61 6e 20 | 65 6e 74 72 79 20 6f 6e |s to an |entry on|
|00002ef0| 20 60 61 66 74 65 72 2d | 6c 6f 61 64 2d 61 6c 69 | `after-|load-ali|
|00002f00| 73 74 27 2e 0a 46 49 4c | 45 20 73 68 6f 75 6c 64 |st'..FIL|E should|
|00002f10| 20 62 65 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 | be the |name of |
|00002f20| 61 20 6c 69 62 72 61 72 | 79 2c 20 77 69 74 68 20 |a librar|y, with |
|00002f30| 6e 6f 20 64 69 72 65 63 | 74 6f 72 79 20 6e 61 6d |no direc|tory nam|
|00002f40| 65 2e 22 5d 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |e."]).(d|efalias |
|00002f50| 27 72 65 61 64 2d 71 75 | 6f 74 65 64 2d 63 68 61 |'read-qu|oted-cha|
|00002f60| 72 20 23 5b 28 26 6f 70 | 74 69 6f 6e 61 6c 20 70 |r #[(&op|tional p|
|00002f70| 72 6f 6d 70 74 29 20 22 | c0 89 c1 1a 1b 1c 0c c5 |rompt) "|........|
|00002f80| 57 83 72 00 0c c0 55 c1 | 1e 06 1e 07 0e 08 83 1f |W.r...U.|........|
|00002f90| 00 c9 ca 0e 08 5c 22 88 | cb 20 12 0e 07 83 2a 00 |.....\".|. ....*.|
|00002fa0| c1 16 0c 2a 5c 6e 83 06 | 00 cd 5c 6e 58 83 5a 00 |...*\n..|..\nX.Z.|
|00002fb0| 5c 6e ce 58 83 5a 00 0b | cf 5f 5c 6e cd 5a 5c 5c |\n.X.Z..|._\n.Z\\|
|00002fc0| 13 0c 54 14 0e 08 83 06 | 00 c9 d0 d1 0e 08 5c 6e |..T.....|......\n|
|00002fd0| 23 89 16 08 21 88 82 06 | 00 0c c0 56 83 6a 00 5c |#...!...|...V.j.\|
|00002fe0| 6e 43 16 12 d3 89 14 82 | 07 00 5c 6e 13 d3 89 14 |nC......|..\n....|
|00002ff0| 82 07 00 d4 0b d5 5c 22 | 2b 87 22 20 5b 30 20 6e |......\"|+." [0 n|
|00003000| 69 6c 20 63 68 61 72 20 | 63 6f 64 65 20 63 6f 75 |il char |code cou|
|00003010| 6e 74 20 33 20 68 65 6c | 70 2d 66 6f 72 6d 20 69 |nt 3 hel|p-form i|
|00003020| 6e 68 69 62 69 74 2d 71 | 75 69 74 20 70 72 6f 6d |nhibit-q|uit prom|
|00003030| 70 74 20 6d 65 73 73 61 | 67 65 20 22 25 73 2d 22 |pt messa|ge "%s-"|
|00003040| 20 72 65 61 64 2d 63 68 | 61 72 20 71 75 69 74 2d | read-ch|ar quit-|
|00003050| 66 6c 61 67 20 34 38 20 | 35 35 20 38 20 66 6f 72 |flag 48 |55 8 for|
|00003060| 6d 61 74 20 22 25 73 20 | 25 63 22 20 75 6e 72 65 |mat "%s |%c" unre|
|00003070| 61 64 2d 63 6f 6d 6d 61 | 6e 64 2d 65 76 65 6e 74 |ad-comma|nd-event|
|00003080| 73 20 32 35 39 20 6c 6f | 67 61 6e 64 20 32 35 35 |s 259 lo|gand 255|
|00003090| 5d 20 36 20 22 5c 0a 4c | 69 6b 65 20 60 72 65 61 |] 6 "\.L|ike `rea|
|000030a0| 64 2d 63 68 61 72 27 2c | 20 65 78 63 65 70 74 20 |d-char',| except |
|000030b0| 74 68 61 74 20 69 66 20 | 74 68 65 20 66 69 72 73 |that if |the firs|
|000030c0| 74 20 63 68 61 72 61 63 | 74 65 72 20 72 65 61 64 |t charac|ter read|
|000030d0| 20 69 73 20 61 6e 20 6f | 63 74 61 6c 0a 64 69 67 | is an o|ctal.dig|
|000030e0| 69 74 2c 20 77 65 20 72 | 65 61 64 20 75 70 20 74 |it, we r|ead up t|
|000030f0| 6f 20 74 77 6f 20 6d 6f | 72 65 20 6f 63 74 61 6c |o two mo|re octal|
|00003100| 20 64 69 67 69 74 73 20 | 61 6e 64 20 72 65 74 75 | digits |and retu|
|00003110| 72 6e 20 74 68 65 20 63 | 68 61 72 61 63 74 65 72 |rn the c|haracter|
|00003120| 0a 72 65 70 72 65 73 65 | 6e 74 65 64 20 62 79 20 |.represe|nted by |
|00003130| 74 68 65 20 6f 63 74 61 | 6c 20 6e 75 6d 62 65 72 |the octa|l number|
|00003140| 20 63 6f 6e 73 69 73 74 | 69 6e 67 20 6f 66 20 74 | consist|ing of t|
|00003150| 68 6f 73 65 20 64 69 67 | 69 74 73 2e 0a 4f 70 74 |hose dig|its..Opt|
|00003160| 69 6f 6e 61 6c 20 61 72 | 67 75 6d 65 6e 74 20 50 |ional ar|gument P|
|00003170| 52 4f 4d 50 54 20 73 70 | 65 63 69 66 69 65 73 20 |ROMPT sp|ecifies |
|00003180| 61 20 73 74 72 69 6e 67 | 20 74 6f 20 75 73 65 20 |a string| to use |
|00003190| 74 6f 20 70 72 6f 6d 70 | 74 20 74 68 65 20 75 73 |to promp|t the us|
|000031a0| 65 72 2e 22 5d 29 0a 28 | 64 65 66 61 6c 69 61 73 |er."]).(|defalias|
|000031b0| 20 27 66 6f 72 63 65 2d | 6d 6f 64 65 2d 6c 69 6e | 'force-|mode-lin|
|000031c0| 65 2d 75 70 64 61 74 65 | 20 23 5b 28 26 6f 70 74 |e-update| #[(&opt|
|000031d0| 69 6f 6e 61 6c 20 61 6c | 6c 29 20 22 08 83 5c 6e |ional al|l) "..\n|
|000031e0| 00 8a c1 20 71 88 29 c2 | c3 20 21 87 22 20 5b 61 |... q.).|. !." [a|
|000031f0| 6c 6c 20 6f 74 68 65 72 | 2d 62 75 66 66 65 72 20 |ll other|-buffer |
|00003200| 73 65 74 2d 62 75 66 66 | 65 72 2d 6d 6f 64 69 66 |set-buff|er-modif|
|00003210| 69 65 64 2d 70 20 62 75 | 66 66 65 72 2d 6d 6f 64 |ied-p bu|ffer-mod|
|00003220| 69 66 69 65 64 2d 70 5d | 20 32 20 22 5c 0a 46 6f |ified-p]| 2 "\.Fo|
|00003230| 72 63 65 20 74 68 65 20 | 6d 6f 64 65 2d 6c 69 6e |rce the |mode-lin|
|00003240| 65 20 6f 66 20 74 68 65 | 20 63 75 72 72 65 6e 74 |e of the| current|
|00003250| 20 62 75 66 66 65 72 20 | 74 6f 20 62 65 20 72 65 | buffer |to be re|
|00003260| 64 69 73 70 6c 61 79 65 | 64 2e 0a 57 69 74 68 20 |displaye|d..With |
|00003270| 6f 70 74 69 6f 6e 61 6c | 20 6e 6f 6e 2d 6e 69 6c |optional| non-nil|
|00003280| 20 41 4c 4c 20 74 68 65 | 6e 20 66 6f 72 63 65 20 | ALL the|n force |
|00003290| 74 68 65 6e 20 66 6f 72 | 63 65 20 72 65 64 69 73 |then for|ce redis|
|000032a0| 70 6c 61 79 20 6f 66 20 | 61 6c 6c 20 6d 6f 64 65 |play of |all mode|
|000032b0| 2d 6c 69 6e 65 73 2e 22 | 5d 29 0a 28 64 65 66 61 |-lines."|]).(defa|
|000032c0| 6c 69 61 73 20 27 6d 6f | 6d 65 6e 74 61 72 79 2d |lias 'mo|mentary-|
|000032d0| 73 74 72 69 6e 67 2d 64 | 69 73 70 6c 61 79 20 23 |string-d|isplay #|
|000032e0| 5b 28 73 74 72 69 6e 67 | 20 70 6f 73 20 26 6f 70 |[(string| pos &op|
|000032f0| 74 69 6f 6e 61 6c 20 65 | 78 69 74 2d 63 68 61 72 |tional e|xit-char|
|00003300| 20 6d 65 73 73 61 67 65 | 29 20 22 08 84 06 00 c1 | message|) ".....|
|00003310| 10 c2 c3 20 0c c2 1d 1e | 06 1e 07 1e 08 c9 8e 8a |... ....|........|
|00003320| 0e 5c 6e 62 88 c2 14 cb | 0e 0c 21 88 60 15 29 cd |.\nb....|..!.`.).|
|00003330| 0e 0d 86 2a 00 ce cf 08 | 21 5c 22 88 d0 20 89 1e |...*....|!\".. ..|
|00003340| 11 08 3d 86 3f 00 0e 11 | 43 89 16 12 2e 06 87 22 |..=.?...|C......"|
|00003350| 20 5b 65 78 69 74 2d 63 | 68 61 72 20 33 32 20 6e | [exit-c|har 32 n|
|00003360| 69 6c 20 62 75 66 66 65 | 72 2d 6d 6f 64 69 66 69 |il buffe|r-modifi|
|00003370| 65 64 2d 70 20 62 75 66 | 66 65 72 2d 66 69 6c 65 |ed-p buf|fer-file|
|00003380| 2d 6e 61 6d 65 20 69 6e | 73 65 72 74 2d 65 6e 64 |-name in|sert-end|
|00003390| 20 6e 61 6d 65 20 6d 6f | 64 69 66 69 65 64 20 62 | name mo|dified b|
|000033a0| 75 66 66 65 72 2d 72 65 | 61 64 2d 6f 6e 6c 79 20 |uffer-re|ad-only |
|000033b0| 28 28 62 79 74 65 2d 63 | 6f 64 65 20 22 08 83 5c |((byte-c|ode "..\|
|000033c0| 6e 00 8a 09 08 7c 88 29 | 5c 6e 13 c4 0d 21 87 22 |n....|.)|\n...!."|
|000033d0| 20 5b 69 6e 73 65 72 74 | 2d 65 6e 64 20 70 6f 73 | [insert|-end pos|
|000033e0| 20 6e 61 6d 65 20 62 75 | 66 66 65 72 2d 66 69 6c | name bu|ffer-fil|
|000033f0| 65 2d 6e 61 6d 65 20 73 | 65 74 2d 62 75 66 66 65 |e-name s|et-buffe|
|00003400| 72 2d 6d 6f 64 69 66 69 | 65 64 2d 70 20 6d 6f 64 |r-modifi|ed-p mod|
|00003410| 69 66 69 65 64 5d 20 32 | 29 29 20 70 6f 73 20 69 |ified] 2|)) pos i|
|00003420| 6e 73 65 72 74 2d 62 65 | 66 6f 72 65 2d 6d 61 72 |nsert-be|fore-mar|
|00003430| 6b 65 72 73 20 73 74 72 | 69 6e 67 20 6d 65 73 73 |kers str|ing mess|
|00003440| 61 67 65 20 22 54 79 70 | 65 20 25 73 20 74 6f 20 |age "Typ|e %s to |
|00003450| 63 6f 6e 74 69 6e 75 65 | 20 65 64 69 74 69 6e 67 |continue| editing|
|00003460| 2e 22 20 73 69 6e 67 6c | 65 2d 6b 65 79 2d 64 65 |." singl|e-key-de|
|00003470| 73 63 72 69 70 74 69 6f | 6e 20 72 65 61 64 2d 65 |scriptio|n read-e|
|00003480| 76 65 6e 74 20 63 68 61 | 72 20 75 6e 72 65 61 64 |vent cha|r unread|
|00003490| 2d 63 6f 6d 6d 61 6e 64 | 2d 65 76 65 6e 74 73 5d |-command|-events]|
|000034a0| 20 35 20 22 5c 0a 4d 6f | 6d 65 6e 74 61 72 69 6c | 5 "\.Mo|mentaril|
|000034b0| 79 20 64 69 73 70 6c 61 | 79 20 53 54 52 49 4e 47 |y displa|y STRING|
|000034c0| 20 69 6e 20 74 68 65 20 | 62 75 66 66 65 72 20 61 | in the |buffer a|
|000034d0| 74 20 50 4f 53 2e 0a 44 | 69 73 70 6c 61 79 20 72 |t POS..D|isplay r|
|000034e0| 65 6d 61 69 6e 73 20 75 | 6e 74 69 6c 20 6e 65 78 |emains u|ntil nex|
|000034f0| 74 20 63 68 61 72 61 63 | 74 65 72 20 69 73 20 74 |t charac|ter is t|
|00003500| 79 70 65 64 2e 0a 49 66 | 20 74 68 65 20 63 68 61 |yped..If| the cha|
|00003510| 72 20 69 73 20 45 58 49 | 54 2d 43 48 41 52 20 28 |r is EXI|T-CHAR (|
|00003520| 6f 70 74 69 6f 6e 61 6c | 20 74 68 69 72 64 20 61 |optional| third a|
|00003530| 72 67 2c 20 64 65 66 61 | 75 6c 74 20 69 73 20 53 |rg, defa|ult is S|
|00003540| 50 43 29 20 69 74 20 69 | 73 20 73 77 61 6c 6c 6f |PC) it i|s swallo|
|00003550| 77 65 64 3b 0a 6f 74 68 | 65 72 77 69 73 65 20 69 |wed;.oth|erwise i|
|00003560| 74 20 69 73 20 74 68 65 | 6e 20 61 76 61 69 6c 61 |t is the|n availa|
|00003570| 62 6c 65 20 61 73 20 69 | 6e 70 75 74 20 28 61 73 |ble as i|nput (as|
|00003580| 20 61 20 63 6f 6d 6d 61 | 6e 64 20 69 66 20 6e 6f | a comma|nd if no|
|00003590| 74 68 69 6e 67 20 65 6c | 73 65 29 2e 0a 44 69 73 |thing el|se)..Dis|
|000035a0| 70 6c 61 79 20 4d 45 53 | 53 41 47 45 20 28 6f 70 |play MES|SAGE (op|
|000035b0| 74 69 6f 6e 61 6c 20 66 | 6f 75 72 74 68 20 61 72 |tional f|ourth ar|
|000035c0| 67 29 20 69 6e 20 74 68 | 65 20 65 63 68 6f 20 61 |g) in th|e echo a|
|000035d0| 72 65 61 2e 0a 49 66 20 | 4d 45 53 53 41 47 45 20 |rea..If |MESSAGE |
|000035e0| 69 73 20 6e 69 6c 2c 20 | 69 6e 73 74 72 75 63 74 |is nil, |instruct|
|000035f0| 69 6f 6e 73 20 74 6f 20 | 74 79 70 65 20 45 58 49 |ions to |type EXI|
|00003600| 54 2d 43 48 41 52 20 61 | 72 65 20 64 69 73 70 6c |T-CHAR a|re displ|
|00003610| 61 79 65 64 20 74 68 65 | 72 65 2e 22 5d 29 0a 28 |ayed the|re."]).(|
|00003620| 64 65 66 75 6e 20 69 67 | 6e 6f 72 65 20 28 26 72 |defun ig|nore (&r|
|00003630| 65 73 74 20 69 67 6e 6f | 72 65 29 20 22 5c 0a 44 |est igno|re) "\.D|
|00003640| 6f 20 6e 6f 74 68 69 6e | 67 2e 0a 41 63 63 65 70 |o nothin|g..Accep|
|00003650| 74 20 61 6e 79 20 6e 75 | 6d 62 65 72 20 6f 66 20 |t any nu|mber of |
|00003660| 61 72 67 75 6d 65 6e 74 | 73 2c 20 62 75 74 20 69 |argument|s, but i|
|00003670| 67 6e 6f 72 65 20 74 68 | 65 6d 2e 22 20 6e 69 6c |gnore th|em." nil|
|00003680| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 65 72 72 |).(defal|ias 'err|
|00003690| 6f 72 20 23 5b 28 26 72 | 65 73 74 20 61 72 67 73 |or #[(&r|est args|
|000036a0| 29 20 22 c0 c1 c2 c3 0c | 5c 22 43 5c 22 88 82 00 |) ".....|\"C\"...|
|000036b0| 00 22 20 5b 73 69 67 6e | 61 6c 20 65 72 72 6f 72 |." [sign|al error|
|000036c0| 20 61 70 70 6c 79 20 66 | 6f 72 6d 61 74 20 61 72 | apply f|ormat ar|
|000036d0| 67 73 5d 20 35 20 22 5c | 0a 53 69 67 6e 61 6c 20 |gs] 5 "\|.Signal |
|000036e0| 61 6e 20 65 72 72 6f 72 | 2c 20 6d 61 6b 69 6e 67 |an error|, making|
|000036f0| 20 65 72 72 6f 72 20 6d | 65 73 73 61 67 65 20 62 | error m|essage b|
|00003700| 79 20 70 61 73 73 69 6e | 67 20 61 6c 6c 20 61 72 |y passin|g all ar|
|00003710| 67 73 20 74 6f 20 60 66 | 6f 72 6d 61 74 27 2e 22 |gs to `f|ormat'."|
|00003720| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 75 73 |]).(defa|lias 'us|
|00003730| 65 72 2d 6f 72 69 67 69 | 6e 61 6c 2d 6c 6f 67 69 |er-origi|nal-logi|
|00003740| 6e 2d 6e 61 6d 65 20 23 | 5b 6e 69 6c 20 22 c0 c1 |n-name #|[nil "..|
|00003750| 21 86 0e 00 c0 c2 21 86 | 0e 00 c3 20 87 22 20 5b |!.....!.|... ." [|
|00003760| 67 65 74 65 6e 76 20 22 | 4c 4f 47 4e 41 4d 45 22 |getenv "|LOGNAME"|
|00003770| 20 22 55 53 45 52 22 20 | 75 73 65 72 2d 6c 6f 67 | "USER" |user-log|
|00003780| 69 6e 2d 6e 61 6d 65 5d | 20 32 20 22 5c 0a 52 65 |in-name]| 2 "\.Re|
|00003790| 74 75 72 6e 20 75 73 65 | 72 27 73 20 6c 6f 67 69 |turn use|r's logi|
|000037a0| 6e 20 6e 61 6d 65 20 66 | 72 6f 6d 20 6f 72 69 67 |n name f|rom orig|
|000037b0| 69 6e 61 6c 20 6c 6f 67 | 69 6e 2e 0a 54 68 69 73 |inal log|in..This|
|000037c0| 20 74 72 69 65 73 20 74 | 6f 20 72 65 6d 61 69 6e | tries t|o remain|
|000037d0| 20 75 6e 61 66 66 65 63 | 74 65 64 20 62 79 20 60 | unaffec|ted by `|
|000037e0| 73 75 27 2c 20 62 79 20 | 6c 6f 6f 6b 69 6e 67 20 |su', by |looking |
|000037f0| 69 6e 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 20 76 |in envir|onment v|
|00003800| 61 72 69 61 62 6c 65 73 | 2e 22 5d 29 0a 28 64 65 |ariables|."]).(de|
|00003810| 66 61 6c 69 61 73 20 27 | 73 74 61 72 74 2d 70 72 |falias '|start-pr|
|00003820| 6f 63 65 73 73 2d 73 68 | 65 6c 6c 2d 63 6f 6d 6d |ocess-sh|ell-comm|
|00003830| 61 6e 64 20 23 5b 28 6e | 61 6d 65 20 62 75 66 66 |and #[(n|ame buff|
|00003840| 65 72 20 26 72 65 73 74 | 20 61 72 67 73 29 20 22 |er &rest| args) "|
|00003850| 08 c1 3d 83 0e 00 c2 c3 | 0c 0d 0e 06 24 87 c3 0c |..=.....|....$...|
|00003860| 0d 0e 07 c8 c9 ca cb 0e | 06 cc 23 50 25 87 22 20 |........|..#P%." |
|00003870| 5b 73 79 73 74 65 6d 2d | 74 79 70 65 20 76 61 78 |[system-|type vax|
|00003880| 2d 76 6d 73 20 61 70 70 | 6c 79 20 73 74 61 72 74 |-vms app|ly start|
|00003890| 2d 70 72 6f 63 65 73 73 | 20 6e 61 6d 65 20 62 75 |-process| name bu|
|000038a0| 66 66 65 72 20 61 72 67 | 73 20 73 68 65 6c 6c 2d |ffer arg|s shell-|
|000038b0| 66 69 6c 65 2d 6e 61 6d | 65 20 22 2d 63 22 20 22 |file-nam|e "-c" "|
|000038c0| 65 78 65 63 20 22 20 6d | 61 70 63 6f 6e 63 61 74 |exec " m|apconcat|
|000038d0| 20 69 64 65 6e 74 69 74 | 79 20 22 20 22 5d 20 31 | identit|y " "] 1|
|000038e0| 30 20 22 5c 0a 53 74 61 | 72 74 20 61 20 70 72 6f |0 "\.Sta|rt a pro|
|000038f0| 67 72 61 6d 20 69 6e 20 | 61 20 73 75 62 70 72 6f |gram in |a subpro|
|00003900| 63 65 73 73 2e 20 20 52 | 65 74 75 72 6e 20 74 68 |cess. R|eturn th|
|00003910| 65 20 70 72 6f 63 65 73 | 73 20 6f 62 6a 65 63 74 |e proces|s object|
|00003920| 20 66 6f 72 20 69 74 2e | 0a 41 72 67 73 20 61 72 | for it.|.Args ar|
|00003930| 65 20 4e 41 4d 45 20 42 | 55 46 46 45 52 20 43 4f |e NAME B|UFFER CO|
|00003940| 4d 4d 41 4e 44 20 26 72 | 65 73 74 20 43 4f 4d 4d |MMAND &r|est COMM|
|00003950| 41 4e 44 2d 41 52 47 53 | 2e 0a 4e 41 4d 45 20 69 |AND-ARGS|..NAME i|
|00003960| 73 20 6e 61 6d 65 20 66 | 6f 72 20 70 72 6f 63 65 |s name f|or proce|
|00003970| 73 73 2e 20 20 49 74 20 | 69 73 20 6d 6f 64 69 66 |ss. It |is modif|
|00003980| 69 65 64 20 69 66 20 6e | 65 63 65 73 73 61 72 79 |ied if n|ecessary|
|00003990| 20 74 6f 20 6d 61 6b 65 | 20 69 74 20 75 6e 69 71 | to make| it uniq|
|000039a0| 75 65 2e 0a 42 55 46 46 | 45 52 20 69 73 20 74 68 |ue..BUFF|ER is th|
|000039b0| 65 20 62 75 66 66 65 72 | 20 6f 72 20 28 62 75 66 |e buffer| or (buf|
|000039c0| 66 65 72 2d 6e 61 6d 65 | 29 20 74 6f 20 61 73 73 |fer-name|) to ass|
|000039d0| 6f 63 69 61 74 65 20 77 | 69 74 68 20 74 68 65 20 |ociate w|ith the |
|000039e0| 70 72 6f 63 65 73 73 2e | 0a 20 50 72 6f 63 65 73 |process.|. Proces|
|000039f0| 73 20 6f 75 74 70 75 74 | 20 67 6f 65 73 20 61 74 |s output| goes at|
|00003a00| 20 65 6e 64 20 6f 66 20 | 74 68 61 74 20 62 75 66 | end of |that buf|
|00003a10| 66 65 72 2c 20 75 6e 6c | 65 73 73 20 79 6f 75 20 |fer, unl|ess you |
|00003a20| 73 70 65 63 69 66 79 0a | 20 61 6e 20 6f 75 74 70 |specify.| an outp|
|00003a30| 75 74 20 73 74 72 65 61 | 6d 20 6f 72 20 66 69 6c |ut strea|m or fil|
|00003a40| 74 65 72 20 66 75 6e 63 | 74 69 6f 6e 20 74 6f 20 |ter func|tion to |
|00003a50| 68 61 6e 64 6c 65 20 74 | 68 65 20 6f 75 74 70 75 |handle t|he outpu|
|00003a60| 74 2e 0a 20 42 55 46 46 | 45 52 20 6d 61 79 20 62 |t.. BUFF|ER may b|
|00003a70| 65 20 61 6c 73 6f 20 6e | 69 6c 2c 20 6d 65 61 6e |e also n|il, mean|
|00003a80| 69 6e 67 20 74 68 61 74 | 20 74 68 69 73 20 70 72 |ing that| this pr|
|00003a90| 6f 63 65 73 73 20 69 73 | 20 6e 6f 74 20 61 73 73 |ocess is| not ass|
|00003aa0| 6f 63 69 61 74 65 64 0a | 20 77 69 74 68 20 61 6e |ociated.| with an|
|00003ab0| 79 20 62 75 66 66 65 72 | 0a 54 68 69 72 64 20 61 |y buffer|.Third a|
|00003ac0| 72 67 20 69 73 20 63 6f | 6d 6d 61 6e 64 20 6e 61 |rg is co|mmand na|
|00003ad0| 6d 65 2c 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |me, the |name of |
|00003ae0| 61 20 73 68 65 6c 6c 20 | 63 6f 6d 6d 61 6e 64 2e |a shell |command.|
|00003af0| 0a 52 65 6d 61 69 6e 69 | 6e 67 20 61 72 67 75 6d |.Remaini|ng argum|
|00003b00| 65 6e 74 73 20 61 72 65 | 20 74 68 65 20 61 72 67 |ents are| the arg|
|00003b10| 75 6d 65 6e 74 73 20 66 | 6f 72 20 74 68 65 20 63 |uments f|or the c|
|00003b20| 6f 6d 6d 61 6e 64 2e 0a | 57 69 6c 64 63 61 72 64 |ommand..|Wildcard|
|00003b30| 73 20 61 6e 64 20 72 65 | 64 69 72 65 63 74 69 6f |s and re|directio|
|00003b40| 6e 20 61 72 65 20 68 61 | 6e 64 6c 65 20 61 73 20 |n are ha|ndle as |
|00003b50| 75 73 75 61 6c 20 69 6e | 20 74 68 65 20 73 68 65 |usual in| the she|
|00003b60| 6c 6c 2e 22 5d 29 0a 28 | 64 65 66 61 6c 69 61 73 |ll."]).(|defalias|
|00003b70| 20 27 73 61 76 65 2d 6d | 61 74 63 68 2d 64 61 74 | 'save-m|atch-dat|
|00003b80| 61 20 27 28 6d 61 63 72 | 6f 20 2e 20 23 5b 28 26 |a '(macr|o . #[(&|
|00003b90| 72 65 73 74 20 62 6f 64 | 79 29 20 22 c0 c1 21 1a |rest bod|y) "..!.|
|00003ba0| c3 5c 6e c4 44 43 c5 c6 | 0e 07 42 c8 5c 6e 44 45 |.\n.DC..|..B.\nDE|
|00003bb0| 45 29 87 22 20 5b 6d 61 | 6b 65 2d 73 79 6d 62 6f |E)." [ma|ke-symbo|
|00003bc0| 6c 20 22 6d 61 74 63 68 | 2d 64 61 74 61 22 20 6f |l "match|-data" o|
|00003bd0| 72 69 67 69 6e 61 6c 20 | 6c 65 74 20 28 6d 61 74 |riginal |let (mat|
|00003be0| 63 68 2d 64 61 74 61 29 | 20 75 6e 77 69 6e 64 2d |ch-data)| unwind-|
|00003bf0| 70 72 6f 74 65 63 74 20 | 70 72 6f 67 6e 20 62 6f |protect |progn bo|
|00003c00| 64 79 20 73 74 6f 72 65 | 2d 6d 61 74 63 68 2d 64 |dy store|-match-d|
|00003c10| 61 74 61 5d 20 36 20 22 | 5c 0a 45 78 65 63 75 74 |ata] 6 "|\.Execut|
|00003c20| 65 20 74 68 65 20 42 4f | 44 59 20 66 6f 72 6d 73 |e the BO|DY forms|
|00003c30| 2c 20 72 65 73 74 6f 72 | 69 6e 67 20 74 68 65 20 |, restor|ing the |
|00003c40| 67 6c 6f 62 61 6c 20 76 | 61 6c 75 65 20 6f 66 20 |global v|alue of |
|00003c50| 74 68 65 20 6d 61 74 63 | 68 20 64 61 74 61 2e 22 |the matc|h data."|
|00003c60| 5d 29 29 0a | |])). | |
+--------+-------------------------+-------------------------+--------+--------+