home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / comint / inf-lisp.elc.z / inf-lisp.elc
Emacs Compiled Lisp  |  1998-05-21  |  15.3 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
100% file Emacs/XEmacs v20 byte-compiled Lisp data default
99% file data default
55% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
44% TrID Summation Document Image Information Load File default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 34 37 3a 33 38 20 31 | 39 39 38 0a 3b 3b 3b 20 |:47:38 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 63 6f 6d 69 |s-20.3/l|isp/comi|
|000000a0| 6e 74 2f 69 6e 66 2d 6c | 69 73 70 2e 65 6c 0a 3b |nt/inf-l|isp.el.;|
|000000b0| 3b 3b 20 65 6d 61 63 73 | 20 76 65 72 73 69 6f 6e |;; emacs| version|
|000000c0| 20 32 30 2e 34 20 22 45 | 6d 65 72 61 6c 64 22 20 | 20.4 "E|merald" |
|000000d0| 58 45 6d 61 63 73 20 20 | 4c 75 63 69 64 2e 0a 3b |XEmacs |Lucid..;|
|000000e0| 3b 3b 20 62 79 74 65 63 | 6f 6d 70 20 76 65 72 73 |;; bytec|omp vers|
|000000f0| 69 6f 6e 20 32 2e 32 35 | 20 58 45 6d 61 63 73 3b |ion 2.25| XEmacs;|
|00000100| 20 32 32 2d 4d 61 72 2d | 39 36 2e 0a 3b 3b 3b 20 | 22-Mar-|96..;;; |
|00000110| 6f 70 74 69 6d 69 7a 61 | 74 69 6f 6e 20 69 73 20 |optimiza|tion is |
|00000120| 6f 6e 2e 0a 3b 3b 3b 20 | 74 68 69 73 20 66 69 6c |on..;;; |this fil|
|00000130| 65 20 75 73 65 73 20 6f | 70 63 6f 64 65 73 20 77 |e uses o|pcodes w|
|00000140| 68 69 63 68 20 64 6f 20 | 6e 6f 74 20 65 78 69 73 |hich do |not exis|
|00000150| 74 20 69 6e 20 45 6d 61 | 63 73 20 31 39 2e 0a 0a |t in Ema|cs 19...|
|00000160| 28 69 66 20 28 61 6e 64 | 20 28 62 6f 75 6e 64 70 |(if (and| (boundp|
|00000170| 20 27 65 6d 61 63 73 2d | 76 65 72 73 69 6f 6e 29 | 'emacs-|version)|
|00000180| 0a 09 20 28 6f 72 20 28 | 61 6e 64 20 28 62 6f 75 |.. (or (|and (bou|
|00000190| 6e 64 70 20 27 65 70 6f | 63 68 3a 3a 76 65 72 73 |ndp 'epo|ch::vers|
|000001a0| 69 6f 6e 29 20 65 70 6f | 63 68 3a 3a 76 65 72 73 |ion) epo|ch::vers|
|000001b0| 69 6f 6e 29 0a 09 20 20 | 20 20 20 28 73 74 72 69 |ion).. | (stri|
|000001c0| 6e 67 2d 6c 65 73 73 70 | 20 65 6d 61 63 73 2d 76 |ng-lessp| emacs-v|
|000001d0| 65 72 73 69 6f 6e 20 22 | 32 30 22 29 29 29 0a 20 |ersion "|20"))). |
|000001e0| 20 20 20 28 65 72 72 6f | 72 20 22 60 69 6e 66 2d | (erro|r "`inf-|
|000001f0| 6c 69 73 70 2e 65 6c 27 | 20 77 61 73 20 63 6f 6d |lisp.el'| was com|
|00000200| 70 69 6c 65 64 20 66 6f | 72 20 45 6d 61 63 73 20 |piled fo|r Emacs |
|00000210| 32 30 22 29 29 0a 0a 28 | 6f 72 20 28 62 6f 75 6e |20"))..(|or (boun|
|00000220| 64 70 20 27 63 75 72 72 | 65 6e 74 2d 6c 6f 61 64 |dp 'curr|ent-load|
|00000230| 2d 6c 69 73 74 29 20 28 | 73 65 74 71 20 63 75 72 |-list) (|setq cur|
|00000240| 72 65 6e 74 2d 6c 6f 61 | 64 2d 6c 69 73 74 20 6e |rent-loa|d-list n|
|00000250| 69 6c 29 29 0a 0a 0a 28 | 62 79 74 65 2d 63 6f 64 |il))...(|byte-cod|
|00000260| 65 20 22 c0 c1 21 88 c0 | c2 21 87 22 20 5b 72 65 |e "..!..|.!." [re|
|00000270| 71 75 69 72 65 20 63 6f | 6d 69 6e 74 20 6c 69 73 |quire co|mint lis|
|00000280| 70 2d 6d 6f 64 65 5d 20 | 32 29 0a 23 40 32 32 39 |p-mode] |2).#@229|
|00000290| 20 2a 57 68 61 74 20 6e | 6f 74 20 74 6f 20 73 61 | *What n|ot to sa|
|000002a0| 76 65 20 6f 6e 20 69 6e | 66 65 72 69 6f 72 20 4c |ve on in|ferior L|
|000002b0| 69 73 70 27 73 20 69 6e | 70 75 74 20 68 69 73 74 |isp's in|put hist|
|000002c0| 6f 72 79 2e 0a 49 6e 70 | 75 74 20 6d 61 74 63 68 |ory..Inp|ut match|
|000002d0| 69 6e 67 20 74 68 69 73 | 20 72 65 67 65 78 70 20 |ing this| regexp |
|000002e0| 69 73 20 6e 6f 74 20 73 | 61 76 65 64 20 6f 6e 20 |is not s|aved on |
|000002f0| 74 68 65 20 69 6e 70 75 | 74 20 68 69 73 74 6f 72 |the inpu|t histor|
|00000300| 79 20 69 6e 20 49 6e 66 | 65 72 69 6f 72 20 4c 69 |y in Inf|erior Li|
|00000310| 73 70 0a 6d 6f 64 65 2e | 20 20 44 65 66 61 75 6c |sp.mode.| Defaul|
|00000320| 74 20 69 73 20 77 68 69 | 74 65 73 70 61 63 65 20 |t is whi|tespace |
|00000330| 66 6f 6c 6c 6f 77 65 64 | 20 62 79 20 30 20 6f 72 |followed| by 0 or|
|00000340| 20 31 20 73 69 6e 67 6c | 65 2d 6c 65 74 74 65 72 | 1 singl|e-letter|
|00000350| 20 63 6f 6c 6f 6e 2d 6b | 65 79 77 6f 72 64 20 0a | colon-k|eyword .|
|00000360| 28 61 73 20 69 6e 20 3a | 61 2c 20 3a 63 2c 20 65 |(as in :|a, :c, e|
|00000370| 74 63 2e 29 1f 0a 28 64 | 65 66 76 61 72 20 69 6e |tc.)..(d|efvar in|
|00000380| 66 65 72 69 6f 72 2d 6c | 69 73 70 2d 66 69 6c 74 |ferior-l|isp-filt|
|00000390| 65 72 2d 72 65 67 65 78 | 70 20 22 5c 5c 60 5c 5c |er-regex|p "\\`\\|
|000003a0| 73 20 2a 5c 5c 28 3a 5c | 5c 28 5c 5c 77 5c 5c 7c |s *\\(:\|\(\\w\\||
|000003b0| 5c 5c 73 5f 5c 5c 29 5c | 5c 29 3f 5c 5c 73 20 2a |\\s_\\)\|\)?\\s *|
|000003c0| 5c 5c 27 22 20 28 23 24 | 20 2e 20 2d 36 35 37 29 |\\'" (#$| . -657)|
|000003d0| 29 0a 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 c1 |).(byte-|code "..|
|000003e0| 21 ac 82 c2 11 c1 0b 42 | 13 09 ac bb c4 20 11 c5 |!......B|..... ..|
|000003f0| 09 c1 5c 22 88 c6 09 0e | 07 0e 08 44 5c 22 88 c9 |..\"....|...D\"..|
|00000400| 09 ca cb 23 88 c9 09 cc | cd 23 88 c9 09 ce cf 23 |...#....|.#.....#|
|00000410| 88 c9 09 d0 d1 23 88 c9 | 09 d2 d3 23 88 c9 09 d4 |.....#..|...#....|
|00000420| d5 23 88 c9 09 d6 d7 23 | 88 c9 0e 18 d9 da 23 88 |.#.....#|......#.|
|00000430| c9 0e 18 ca cb 23 88 c9 | 0e 18 db da 23 88 c9 0e |.....#..|....#...|
|00000440| 18 dc dd 23 88 c9 0e 18 | de df 23 88 c9 0e 18 e0 |...#....|..#.....|
|00000450| e1 23 88 c9 0e 18 cc cd | 23 88 c9 0e 18 ce cf 23 |.#......|#......#|
|00000460| 88 c9 0e 18 d0 d1 23 88 | c9 0e 18 d2 d3 23 88 c9 |......#.|.....#..|
|00000470| 0e 18 d4 d5 23 88 c9 0e | 18 d6 d7 23 87 22 20 5b |....#...|...#." [|
|00000480| 62 6f 75 6e 64 70 20 69 | 6e 66 65 72 69 6f 72 2d |boundp i|nferior-|
|00000490| 6c 69 73 70 2d 6d 6f 64 | 65 2d 6d 61 70 20 6e 69 |lisp-mod|e-map ni|
|000004a0| 6c 20 63 75 72 72 65 6e | 74 2d 6c 6f 61 64 2d 6c |l curren|t-load-l|
|000004b0| 69 73 74 20 6d 61 6b 65 | 2d 73 70 61 72 73 65 2d |ist make|-sparse-|
|000004c0| 6b 65 79 6d 61 70 20 73 | 65 74 2d 6b 65 79 6d 61 |keymap s|et-keyma|
|000004d0| 70 2d 6e 61 6d 65 20 73 | 65 74 2d 6b 65 79 6d 61 |p-name s|et-keyma|
|000004e0| 70 2d 70 61 72 65 6e 74 | 73 20 63 6f 6d 69 6e 74 |p-parent|s comint|
|000004f0| 2d 6d 6f 64 65 2d 6d 61 | 70 20 73 68 61 72 65 64 |-mode-ma|p shared|
|00000500| 2d 6c 69 73 70 2d 6d 6f | 64 65 2d 6d 61 70 20 64 |-lisp-mo|de-map d|
|00000510| 65 66 69 6e 65 2d 6b 65 | 79 20 22 18 05 22 20 6c |efine-ke|y ".." l|
|00000520| 69 73 70 2d 65 76 61 6c | 2d 6c 61 73 74 2d 73 65 |isp-eval|-last-se|
|00000530| 78 70 20 22 03 0c 22 20 | 6c 69 73 70 2d 6c 6f 61 |xp ".." |lisp-loa|
|00000540| 64 2d 66 69 6c 65 20 22 | 03 0b 22 20 6c 69 73 70 |d-file "|.." lisp|
|00000550| 2d 63 6f 6d 70 69 6c 65 | 2d 66 69 6c 65 20 22 03 |-compile|-file ".|
|00000560| 01 22 20 6c 69 73 70 2d | 73 68 6f 77 2d 61 72 67 |." lisp-|show-arg|
|00000570| 6c 69 73 74 20 22 03 04 | 22 20 6c 69 73 70 2d 64 |list "..|" lisp-d|
|00000580| 65 73 63 72 69 62 65 2d | 73 79 6d 20 22 03 06 22 |escribe-|sym ".."|
|00000590| 20 6c 69 73 70 2d 73 68 | 6f 77 2d 66 75 6e 63 74 | lisp-sh|ow-funct|
|000005a0| 69 6f 6e 2d 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |ion-docu|mentatio|
|000005b0| 6e 20 22 03 16 22 20 6c | 69 73 70 2d 73 68 6f 77 |n ".." l|isp-show|
|000005c0| 2d 76 61 72 69 61 62 6c | 65 2d 64 6f 63 75 6d 65 |-variabl|e-docume|
|000005d0| 6e 74 61 74 69 6f 6e 20 | 6c 69 73 70 2d 6d 6f 64 |ntation |lisp-mod|
|000005e0| 65 2d 6d 61 70 20 22 98 | 22 20 6c 69 73 70 2d 65 |e-map ".|" lisp-e|
|000005f0| 76 61 6c 2d 64 65 66 75 | 6e 20 22 03 05 22 20 22 |val-defu|n ".." "|
|00000600| 03 12 22 20 6c 69 73 70 | 2d 65 76 61 6c 2d 72 65 |.." lisp|-eval-re|
|00000610| 67 69 6f 6e 20 22 03 03 | 22 20 6c 69 73 70 2d 63 |gion "..|" lisp-c|
|00000620| 6f 6d 70 69 6c 65 2d 64 | 65 66 75 6e 20 22 03 1a |ompile-d|efun "..|
|00000630| 22 20 73 77 69 74 63 68 | 2d 74 6f 2d 6c 69 73 70 |" switch|-to-lisp|
|00000640| 5d 20 34 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |] 4).(de|falias '|
|00000650| 69 6e 66 65 72 69 6f 72 | 2d 6c 69 73 70 2d 69 6e |inferior|-lisp-in|
|00000660| 73 74 61 6c 6c 2d 6c 65 | 74 74 65 72 2d 62 69 6e |stall-le|tter-bin|
|00000670| 64 69 6e 67 73 20 23 5b | 6e 69 6c 20 22 c0 09 c2 |dings #[|nil "...|
|00000680| c3 23 88 c0 09 c4 c5 23 | 88 c0 09 c6 c7 23 88 c0 |.#.....#|.....#..|
|00000690| 09 c8 c9 23 88 c0 09 ca | cb 23 88 c0 09 cc cd 23 |...#....|.#.....#|
|000006a0| 88 c0 09 ce cf 23 88 c0 | 09 d0 d1 23 88 c0 09 d2 |.....#..|...#....|
|000006b0| d3 23 88 c0 09 d4 d5 23 | 88 c0 0e 16 ca cb 23 88 |.#.....#|......#.|
|000006c0| c0 0e 16 cc cd 23 88 c0 | 0e 16 ce cf 23 88 c0 0e |.....#..|....#...|
|000006d0| 16 d0 d1 23 88 c0 0e 16 | d2 d3 23 88 c0 0e 16 d4 |...#....|..#.....|
|000006e0| d5 23 87 22 20 5b 64 65 | 66 69 6e 65 2d 6b 65 79 |.#." [de|fine-key|
|000006f0| 20 6c 69 73 70 2d 6d 6f | 64 65 2d 6d 61 70 20 22 | lisp-mo|de-map "|
|00000700| 03 65 22 20 6c 69 73 70 | 2d 65 76 61 6c 2d 64 65 |.e" lisp|-eval-de|
|00000710| 66 75 6e 2d 61 6e 64 2d | 67 6f 20 22 03 72 22 20 |fun-and-|go ".r" |
|00000720| 6c 69 73 70 2d 65 76 61 | 6c 2d 72 65 67 69 6f 6e |lisp-eva|l-region|
|00000730| 2d 61 6e 64 2d 67 6f 20 | 22 03 63 22 20 6c 69 73 |-and-go |".c" lis|
|00000740| 70 2d 63 6f 6d 70 69 6c | 65 2d 64 65 66 75 6e 2d |p-compil|e-defun-|
|00000750| 61 6e 64 2d 67 6f 20 22 | 03 7a 22 20 73 77 69 74 |and-go "|.z" swit|
|00000760| 63 68 2d 74 6f 2d 6c 69 | 73 70 20 22 03 6c 22 20 |ch-to-li|sp ".l" |
|00000770| 6c 69 73 70 2d 6c 6f 61 | 64 2d 66 69 6c 65 20 22 |lisp-loa|d-file "|
|00000780| 03 6b 22 20 6c 69 73 70 | 2d 63 6f 6d 70 69 6c 65 |.k" lisp|-compile|
|00000790| 2d 66 69 6c 65 20 22 03 | 61 22 20 6c 69 73 70 2d |-file ".|a" lisp-|
|000007a0| 73 68 6f 77 2d 61 72 67 | 6c 69 73 74 20 22 03 64 |show-arg|list ".d|
|000007b0| 22 20 6c 69 73 70 2d 64 | 65 73 63 72 69 62 65 2d |" lisp-d|escribe-|
|000007c0| 73 79 6d 20 22 03 66 22 | 20 6c 69 73 70 2d 73 68 |sym ".f"| lisp-sh|
|000007d0| 6f 77 2d 66 75 6e 63 74 | 69 6f 6e 2d 64 6f 63 75 |ow-funct|ion-docu|
|000007e0| 6d 65 6e 74 61 74 69 6f | 6e 20 22 03 76 22 20 6c |mentatio|n ".v" l|
|000007f0| 69 73 70 2d 73 68 6f 77 | 2d 76 61 72 69 61 62 6c |isp-show|-variabl|
|00000800| 65 2d 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 20 |e-docume|ntation |
|00000810| 69 6e 66 65 72 69 6f 72 | 2d 6c 69 73 70 2d 6d 6f |inferior|-lisp-mo|
|00000820| 64 65 2d 6d 61 70 5d 20 | 34 5d 29 0a 23 40 37 34 |de-map] |4]).#@74|
|00000830| 20 2a 50 72 6f 67 72 61 | 6d 20 6e 61 6d 65 20 66 | *Progra|m name f|
|00000840| 6f 72 20 69 6e 76 6f 6b | 69 6e 67 20 61 6e 20 69 |or invok|ing an i|
|00000850| 6e 66 65 72 69 6f 72 20 | 4c 69 73 70 20 77 69 74 |nferior |Lisp wit|
|00000860| 68 20 66 6f 72 20 49 6e | 66 65 72 69 6f 72 20 4c |h for In|ferior L|
|00000870| 69 73 70 20 6d 6f 64 65 | 2e 1f 0a 28 64 65 66 76 |isp mode|...(defv|
|00000880| 61 72 20 69 6e 66 65 72 | 69 6f 72 2d 6c 69 73 70 |ar infer|ior-lisp|
|00000890| 2d 70 72 6f 67 72 61 6d | 20 22 6c 69 73 70 22 20 |-program| "lisp" |
|000008a0| 28 23 24 20 2e 20 2d 32 | 30 39 37 29 29 0a 23 40 |(#$ . -2|097)).#@|
|000008b0| 34 32 35 20 2a 46 6f 72 | 6d 61 74 2d 73 74 72 69 |425 *For|mat-stri|
|000008c0| 6e 67 20 66 6f 72 20 62 | 75 69 6c 64 69 6e 67 20 |ng for b|uilding |
|000008d0| 61 20 4c 69 73 70 20 65 | 78 70 72 65 73 73 69 6f |a Lisp e|xpressio|
|000008e0| 6e 20 74 6f 20 6c 6f 61 | 64 20 61 20 66 69 6c 65 |n to loa|d a file|
|000008f0| 2e 0a 54 68 69 73 20 66 | 6f 72 6d 61 74 20 73 74 |..This f|ormat st|
|00000900| 72 69 6e 67 20 73 68 6f | 75 6c 64 20 75 73 65 20 |ring sho|uld use |
|00000910| 60 25 73 27 20 74 6f 20 | 73 75 62 73 74 69 74 75 |`%s' to |substitu|
|00000920| 74 65 20 61 20 66 69 6c | 65 20 6e 61 6d 65 0a 61 |te a fil|e name.a|
|00000930| 6e 64 20 73 68 6f 75 6c | 64 20 72 65 73 75 6c 74 |nd shoul|d result|
|00000940| 20 69 6e 20 61 20 4c 69 | 73 70 20 65 78 70 72 65 | in a Li|sp expre|
|00000950| 73 73 69 6f 6e 20 74 68 | 61 74 20 77 69 6c 6c 20 |ssion th|at will |
|00000960| 63 6f 6d 6d 61 6e 64 20 | 74 68 65 20 69 6e 66 65 |command |the infe|
|00000970| 72 69 6f 72 20 4c 69 73 | 70 0a 74 6f 20 6c 6f 61 |rior Lis|p.to loa|
|00000980| 64 20 74 68 61 74 20 66 | 69 6c 65 2e 20 20 54 68 |d that f|ile. Th|
|00000990| 65 20 64 65 66 61 75 6c | 74 20 77 6f 72 6b 73 20 |e defaul|t works |
|000009a0| 61 63 63 65 70 74 61 62 | 6c 79 20 6f 6e 20 6d 6f |acceptab|ly on mo|
|000009b0| 73 74 20 4c 69 73 70 73 | 2e 0a 54 68 65 20 73 74 |st Lisps|..The st|
|000009c0| 72 69 6e 67 20 22 28 70 | 72 6f 67 6e 20 28 6c 6f |ring "(p|rogn (lo|
|000009d0| 61 64 20 5c 22 25 73 5c | 22 20 3a 76 65 72 62 6f |ad \"%s\|" :verbo|
|000009e0| 73 65 20 6e 69 6c 20 3a | 70 72 69 6e 74 20 74 29 |se nil :|print t)|
|000009f0| 20 28 76 61 6c 75 65 73 | 29 29 5c 6e 22 0a 70 72 | (values|))\n".pr|
|00000a00| 6f 64 75 63 65 73 20 63 | 6f 73 6d 65 74 69 63 61 |oduces c|osmetica|
|00000a10| 6c 6c 79 20 73 75 70 65 | 72 69 6f 72 20 6f 75 74 |lly supe|rior out|
|00000a20| 70 75 74 20 66 6f 72 20 | 74 68 69 73 20 61 70 70 |put for |this app|
|00000a30| 6c 69 63 61 74 69 6f 6e | 2c 0a 62 75 74 20 69 74 |lication|,.but it|
|00000a40| 20 77 6f 72 6b 73 20 6f | 6e 6c 79 20 69 6e 20 43 | works o|nly in C|
|00000a50| 6f 6d 6d 6f 6e 20 4c 69 | 73 70 2e 1f 0a 28 64 65 |ommon Li|sp...(de|
|00000a60| 66 76 61 72 20 69 6e 66 | 65 72 69 6f 72 2d 6c 69 |fvar inf|erior-li|
|00000a70| 73 70 2d 6c 6f 61 64 2d | 63 6f 6d 6d 61 6e 64 20 |sp-load-|command |
|00000a80| 22 28 6c 6f 61 64 20 5c | 22 25 73 5c 22 29 5c 6e |"(load \|"%s\")\n|
|00000a90| 22 20 28 23 24 20 2e 20 | 2d 32 32 32 38 29 29 0a |" (#$ . |-2228)).|
|00000aa0| 23 40 33 39 31 20 52 65 | 67 65 78 70 20 74 6f 20 |#@391 Re|gexp to |
|00000ab0| 72 65 63 6f 67 6e 69 73 | 65 20 70 72 6f 6d 70 74 |recognis|e prompt|
|00000ac0| 73 20 69 6e 20 74 68 65 | 20 49 6e 66 65 72 69 6f |s in the| Inferio|
|00000ad0| 72 20 4c 69 73 70 20 6d | 6f 64 65 2e 0a 44 65 66 |r Lisp m|ode..Def|
|00000ae0| 61 75 6c 74 73 20 74 6f | 20 22 5e 5b 5e 3e 20 5c |aults to| "^[^> \|
|00000af0| 6e 5d 2a 3e 2b 3a 3f 20 | 2a 22 2c 20 77 68 69 63 |n]*>+:? |*", whic|
|00000b00| 68 20 77 6f 72 6b 73 20 | 70 72 65 74 74 79 20 67 |h works |pretty g|
|00000b10| 6f 6f 64 20 66 6f 72 20 | 4c 75 63 69 64 2c 20 6b |ood for |Lucid, k|
|00000b20| 63 6c 2c 0a 61 6e 64 20 | 66 72 61 6e 7a 2e 20 20 |cl,.and |franz. |
|00000b30| 54 68 69 73 20 76 61 72 | 69 61 62 6c 65 20 69 73 |This var|iable is|
|00000b40| 20 75 73 65 64 20 74 6f | 20 69 6e 69 74 69 61 6c | used to| initial|
|00000b50| 69 7a 65 20 60 63 6f 6d | 69 6e 74 2d 70 72 6f 6d |ize `com|int-prom|
|00000b60| 70 74 2d 72 65 67 65 78 | 70 27 20 69 6e 20 74 68 |pt-regex|p' in th|
|00000b70| 65 20 0a 49 6e 66 65 72 | 69 6f 72 20 4c 69 73 70 |e .Infer|ior Lisp|
|00000b80| 20 62 75 66 66 65 72 2e | 0a 0a 4d 6f 72 65 20 70 | buffer.|..More p|
|00000b90| 72 65 63 69 73 65 20 63 | 68 6f 69 63 65 73 3a 0a |recise c|hoices:.|
|00000ba0| 4c 75 63 69 64 20 43 6f | 6d 6d 6f 6e 20 4c 69 73 |Lucid Co|mmon Lis|
|00000bb0| 70 3a 20 22 5e 5c 5c 28 | 3e 5c 5c 7c 5c 5c 28 2d |p: "^\\(|>\\|\\(-|
|00000bc0| 3e 5c 5c 29 2b 5c 5c 29 | 20 2a 22 0a 66 72 61 6e |>\\)+\\)| *".fran|
|00000bd0| 7a 3a 20 22 5e 5c 5c 28 | 2d 3e 5c 5c 7c 3c 5b 30 |z: "^\\(|->\\|<[0|
|00000be0| 2d 39 5d 2a 3e 3a 5c 5c | 29 20 2a 22 0a 6b 63 6c |-9]*>:\\|) *".kcl|
|00000bf0| 3a 20 22 5e 3e 2b 20 2a | 22 0a 0a 54 68 69 73 20 |: "^>+ *|"..This |
|00000c00| 69 73 20 61 20 66 69 6e | 65 20 74 68 69 6e 67 20 |is a fin|e thing |
|00000c10| 74 6f 20 73 65 74 20 69 | 6e 20 79 6f 75 72 20 2e |to set i|n your .|
|00000c20| 65 6d 61 63 73 20 66 69 | 6c 65 2e 1f 0a 28 64 65 |emacs fi|le...(de|
|00000c30| 66 76 61 72 20 69 6e 66 | 65 72 69 6f 72 2d 6c 69 |fvar inf|erior-li|
|00000c40| 73 70 2d 70 72 6f 6d 70 | 74 20 22 5e 5b 5e 3e 20 |sp-promp|t "^[^> |
|00000c50| 5c 6e 5d 2a 3e 2b 3a 3f | 20 2a 22 20 28 23 24 20 |\n]*>+:?| *" (#$ |
|00000c60| 2e 20 32 37 32 36 29 29 | 0a 23 40 31 36 36 38 20 |. 2726))|.#@1668 |
|00000c70| 2a 54 68 65 20 63 75 72 | 72 65 6e 74 20 69 6e 66 |*The cur|rent inf|
|00000c80| 65 72 69 6f 72 2d 6c 69 | 73 70 20 70 72 6f 63 65 |erior-li|sp proce|
|00000c90| 73 73 20 62 75 66 66 65 | 72 2e 0a 0a 4d 55 4c 54 |ss buffe|r...MULT|
|00000ca0| 49 50 4c 45 20 50 52 4f | 43 45 53 53 20 53 55 50 |IPLE PRO|CESS SUP|
|00000cb0| 50 4f 52 54 0a 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |PORT.===|========|
|00000cc0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000cd0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000ce0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000cf0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000d00| 0a 54 6f 20 72 75 6e 20 | 6d 75 6c 74 69 70 6c 65 |.To run |multiple|
|00000d10| 20 4c 69 73 70 20 70 72 | 6f 63 65 73 73 65 73 2c | Lisp pr|ocesses,|
|00000d20| 20 79 6f 75 20 73 74 61 | 72 74 20 74 68 65 20 66 | you sta|rt the f|
|00000d30| 69 72 73 74 20 75 70 0a | 77 69 74 68 20 5c 5b 69 |irst up.|with \[i|
|00000d40| 6e 66 65 72 69 6f 72 2d | 6c 69 73 70 5d 2e 20 20 |nferior-|lisp]. |
|00000d50| 49 74 20 77 69 6c 6c 20 | 62 65 20 69 6e 20 61 20 |It will |be in a |
|00000d60| 62 75 66 66 65 72 20 6e | 61 6d 65 64 20 60 2a 69 |buffer n|amed `*i|
|00000d70| 6e 66 65 72 69 6f 72 2d | 6c 69 73 70 2a 27 2e 0a |nferior-|lisp*'..|
|00000d80| 52 65 6e 61 6d 65 20 74 | 68 69 73 20 62 75 66 66 |Rename t|his buff|
|00000d90| 65 72 20 77 69 74 68 20 | 5c 5b 72 65 6e 61 6d 65 |er with |\[rename|
|00000da0| 2d 62 75 66 66 65 72 5d | 2e 20 20 59 6f 75 20 6d |-buffer]|. You m|
|00000db0| 61 79 20 6e 6f 77 20 73 | 74 61 72 74 20 75 70 20 |ay now s|tart up |
|00000dc0| 61 20 6e 65 77 0a 70 72 | 6f 63 65 73 73 20 77 69 |a new.pr|ocess wi|
|00000dd0| 74 68 20 61 6e 6f 74 68 | 65 72 20 5c 5b 69 6e 66 |th anoth|er \[inf|
|00000de0| 65 72 69 6f 72 2d 6c 69 | 73 70 5d 2e 20 20 49 74 |erior-li|sp]. It|
|00000df0| 20 77 69 6c 6c 20 62 65 | 20 69 6e 20 61 20 6e 65 | will be| in a ne|
|00000e00| 77 20 62 75 66 66 65 72 | 2c 0a 6e 61 6d 65 64 20 |w buffer|,.named |
|00000e10| 60 2a 69 6e 66 65 72 69 | 6f 72 2d 6c 69 73 70 2a |`*inferi|or-lisp*|
|00000e20| 27 2e 20 20 59 6f 75 20 | 63 61 6e 20 73 77 69 74 |'. You |can swit|
|00000e30| 63 68 20 62 65 74 77 65 | 65 6e 20 74 68 65 20 64 |ch betwe|en the d|
|00000e40| 69 66 66 65 72 65 6e 74 | 20 70 72 6f 63 65 73 73 |ifferent| process|
|00000e50| 0a 62 75 66 66 65 72 73 | 20 77 69 74 68 20 5c 5b |.buffers| with \[|
|00000e60| 73 77 69 74 63 68 2d 74 | 6f 2d 62 75 66 66 65 72 |switch-t|o-buffer|
|00000e70| 5d 2e 0a 0a 43 6f 6d 6d | 61 6e 64 73 20 74 68 61 |]...Comm|ands tha|
|00000e80| 74 20 73 65 6e 64 20 74 | 65 78 74 20 66 72 6f 6d |t send t|ext from|
|00000e90| 20 73 6f 75 72 63 65 20 | 62 75 66 66 65 72 73 20 | source |buffers |
|00000ea0| 74 6f 20 4c 69 73 70 20 | 70 72 6f 63 65 73 73 65 |to Lisp |processe|
|00000eb0| 73 20 2d 2d 0a 6c 69 6b | 65 20 60 6c 69 73 70 2d |s --.lik|e `lisp-|
|00000ec0| 65 76 61 6c 2d 64 65 66 | 75 6e 27 20 6f 72 20 60 |eval-def|un' or `|
|00000ed0| 6c 69 73 70 2d 73 68 6f | 77 2d 61 72 67 6c 69 73 |lisp-sho|w-arglis|
|00000ee0| 74 27 20 2d 2d 20 68 61 | 76 65 20 74 6f 20 63 68 |t' -- ha|ve to ch|
|00000ef0| 6f 6f 73 65 20 61 20 70 | 72 6f 63 65 73 73 0a 74 |oose a p|rocess.t|
|00000f00| 6f 20 73 65 6e 64 20 74 | 6f 2c 20 77 68 65 6e 20 |o send t|o, when |
|00000f10| 79 6f 75 20 68 61 76 65 | 20 6d 6f 72 65 20 74 68 |you have| more th|
|00000f20| 61 6e 20 6f 6e 65 20 4c | 69 73 70 20 70 72 6f 63 |an one L|isp proc|
|00000f30| 65 73 73 20 61 72 6f 75 | 6e 64 2e 20 20 54 68 69 |ess arou|nd. Thi|
|00000f40| 73 0a 69 73 20 64 65 74 | 65 72 6d 69 6e 65 64 20 |s.is det|ermined |
|00000f50| 62 79 20 74 68 65 20 67 | 6c 6f 62 61 6c 20 76 61 |by the g|lobal va|
|00000f60| 72 69 61 62 6c 65 20 60 | 69 6e 66 65 72 69 6f 72 |riable `|inferior|
|00000f70| 2d 6c 69 73 70 2d 62 75 | 66 66 65 72 27 2e 20 20 |-lisp-bu|ffer'. |
|00000f80| 53 75 70 70 6f 73 65 20 | 79 6f 75 0a 68 61 76 65 |Suppose |you.have|
|00000f90| 20 74 68 72 65 65 20 69 | 6e 66 65 72 69 6f 72 20 | three i|nferior |
|00000fa0| 4c 69 73 70 73 20 72 75 | 6e 6e 69 6e 67 3a 0a 20 |Lisps ru|nning:. |
|00000fb0| 20 20 20 42 75 66 66 65 | 72 20 20 20 20 20 20 20 | Buffe|r |
|00000fc0| 20 20 20 20 20 20 20 50 | 72 6f 63 65 73 73 0a 20 | P|rocess. |
|00000fd0| 20 20 20 66 6f 6f 20 20 | 20 20 20 20 20 20 20 20 | foo | |
|00000fe0| 20 20 20 20 20 20 20 69 | 6e 66 65 72 69 6f 72 2d | i|nferior-|
|00000ff0| 6c 69 73 70 0a 20 20 20 | 20 62 61 72 20 20 20 20 |lisp. | bar |
|00001000| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 69 6e 66 | | inf|
|00001010| 65 72 69 6f 72 2d 6c 69 | 73 70 3c 32 3e 0a 20 20 |erior-li|sp<2>. |
|00001020| 20 20 2a 69 6e 66 65 72 | 69 6f 72 2d 6c 69 73 70 | *infer|ior-lisp|
|00001030| 2a 20 20 20 20 20 69 6e | 66 65 72 69 6f 72 2d 6c |* in|ferior-l|
|00001040| 69 73 70 3c 33 3e 0a 49 | 66 20 79 6f 75 20 64 6f |isp<3>.I|f you do|
|00001050| 20 61 20 5c 5b 6c 69 73 | 70 2d 65 76 61 6c 2d 64 | a \[lis|p-eval-d|
|00001060| 65 66 75 6e 5d 20 63 6f | 6d 6d 61 6e 64 20 6f 6e |efun] co|mmand on|
|00001070| 20 73 6f 6d 65 20 4c 69 | 73 70 20 73 6f 75 72 63 | some Li|sp sourc|
|00001080| 65 20 63 6f 64 65 2c 20 | 0a 77 68 61 74 20 70 72 |e code, |.what pr|
|00001090| 6f 63 65 73 73 20 64 6f | 20 79 6f 75 20 73 65 6e |ocess do| you sen|
|000010a0| 64 20 69 74 20 74 6f 3f | 0a 0a 2d 20 49 66 20 79 |d it to?|..- If y|
|000010b0| 6f 75 27 72 65 20 69 6e | 20 61 20 70 72 6f 63 65 |ou're in| a proce|
|000010c0| 73 73 20 62 75 66 66 65 | 72 20 28 66 6f 6f 2c 20 |ss buffe|r (foo, |
|000010d0| 62 61 72 2c 20 6f 72 20 | 2a 69 6e 66 65 72 69 6f |bar, or |*inferio|
|000010e0| 72 2d 6c 69 73 70 2a 29 | 2c 20 0a 20 20 79 6f 75 |r-lisp*)|, . you|
|000010f0| 20 73 65 6e 64 20 69 74 | 20 74 6f 20 74 68 61 74 | send it| to that|
|00001100| 20 70 72 6f 63 65 73 73 | 2e 0a 2d 20 49 66 20 79 | process|..- If y|
|00001110| 6f 75 27 72 65 20 69 6e | 20 73 6f 6d 65 20 6f 74 |ou're in| some ot|
|00001120| 68 65 72 20 62 75 66 66 | 65 72 20 28 65 2e 67 2e |her buff|er (e.g.|
|00001130| 2c 20 61 20 73 6f 75 72 | 63 65 20 66 69 6c 65 29 |, a sour|ce file)|
|00001140| 2c 20 79 6f 75 0a 20 20 | 73 65 6e 64 20 69 74 20 |, you. |send it |
|00001150| 74 6f 20 74 68 65 20 70 | 72 6f 63 65 73 73 20 61 |to the p|rocess a|
|00001160| 74 74 61 63 68 65 64 20 | 74 6f 20 62 75 66 66 65 |ttached |to buffe|
|00001170| 72 20 60 69 6e 66 65 72 | 69 6f 72 2d 6c 69 73 70 |r `infer|ior-lisp|
|00001180| 2d 62 75 66 66 65 72 27 | 2e 0a 54 68 69 73 20 70 |-buffer'|..This p|
|00001190| 72 6f 63 65 73 73 20 73 | 65 6c 65 63 74 69 6f 6e |rocess s|election|
|000011a0| 20 69 73 20 70 65 72 66 | 6f 72 6d 65 64 20 62 79 | is perf|ormed by|
|000011b0| 20 66 75 6e 63 74 69 6f | 6e 20 60 69 6e 66 65 72 | functio|n `infer|
|000011c0| 69 6f 72 2d 6c 69 73 70 | 2d 70 72 6f 63 27 2e 0a |ior-lisp|-proc'..|
|000011d0| 0a 57 68 65 6e 65 76 65 | 72 20 5c 5b 69 6e 66 65 |.Wheneve|r \[infe|
|000011e0| 72 69 6f 72 2d 6c 69 73 | 70 5d 20 66 69 72 65 73 |rior-lis|p] fires|
|000011f0| 20 75 70 20 61 20 6e 65 | 77 20 70 72 6f 63 65 73 | up a ne|w proces|
|00001200| 73 2c 20 69 74 20 72 65 | 73 65 74 73 0a 60 69 6e |s, it re|sets.`in|
|00001210| 66 65 72 69 6f 72 2d 6c | 69 73 70 2d 62 75 66 66 |ferior-l|isp-buff|
|00001220| 65 72 27 20 74 6f 20 62 | 65 20 74 68 65 20 6e 65 |er' to b|e the ne|
|00001230| 77 20 70 72 6f 63 65 73 | 73 27 73 20 62 75 66 66 |w proces|s's buff|
|00001240| 65 72 2e 20 20 49 66 20 | 79 6f 75 20 6f 6e 6c 79 |er. If |you only|
|00001250| 20 72 75 6e 0a 6f 6e 65 | 20 70 72 6f 63 65 73 73 | run.one| process|
|00001260| 2c 20 74 68 69 73 20 64 | 6f 65 73 20 74 68 65 20 |, this d|oes the |
|00001270| 72 69 67 68 74 20 74 68 | 69 6e 67 2e 20 20 49 66 |right th|ing. If|
|00001280| 20 79 6f 75 20 72 75 6e | 20 6d 75 6c 74 69 70 6c | you run| multipl|
|00001290| 65 0a 70 72 6f 63 65 73 | 73 65 73 2c 20 79 6f 75 |e.proces|ses, you|
|000012a0| 20 63 61 6e 20 63 68 61 | 6e 67 65 20 60 69 6e 66 | can cha|nge `inf|
|000012b0| 65 72 69 6f 72 2d 6c 69 | 73 70 2d 62 75 66 66 65 |erior-li|sp-buffe|
|000012c0| 72 27 20 74 6f 20 61 6e | 6f 74 68 65 72 20 70 72 |r' to an|other pr|
|000012d0| 6f 63 65 73 73 0a 62 75 | 66 66 65 72 20 77 69 74 |ocess.bu|ffer wit|
|000012e0| 68 20 5c 5b 73 65 74 2d | 76 61 72 69 61 62 6c 65 |h \[set-|variable|
|000012f0| 5d 2e 1f 0a 28 64 65 66 | 76 61 72 20 69 6e 66 65 |]...(def|var infe|
|00001300| 72 69 6f 72 2d 6c 69 73 | 70 2d 62 75 66 66 65 72 |rior-lis|p-buffer|
|00001310| 20 6e 69 6c 20 28 23 24 | 20 2e 20 2d 33 31 38 34 | nil (#$| . -3184|
|00001320| 29 29 0a 23 40 34 33 20 | 2a 48 6f 6f 6b 20 66 6f |)).#@43 |*Hook fo|
|00001330| 72 20 63 75 73 74 6f 6d | 69 7a 69 6e 67 20 49 6e |r custom|izing In|
|00001340| 66 65 72 69 6f 72 20 4c | 69 73 70 20 6d 6f 64 65 |ferior L|isp mode|
|00001350| 2e 1f 0a 28 64 65 66 76 | 61 72 20 69 6e 66 65 72 |...(defv|ar infer|
|00001360| 69 6f 72 2d 6c 69 73 70 | 2d 6d 6f 64 65 2d 68 6f |ior-lisp|-mode-ho|
|00001370| 6f 6b 20 6e 69 6c 20 28 | 23 24 20 2e 20 2d 34 39 |ok nil (|#$ . -49|
|00001380| 30 34 29 29 0a 23 40 31 | 38 32 39 20 4d 61 6a 6f |04)).#@1|829 Majo|
|00001390| 72 20 6d 6f 64 65 20 66 | 6f 72 20 69 6e 74 65 72 |r mode f|or inter|
|000013a0| 61 63 74 69 6e 67 20 77 | 69 74 68 20 61 6e 20 69 |acting w|ith an i|
|000013b0| 6e 66 65 72 69 6f 72 20 | 4c 69 73 70 20 70 72 6f |nferior |Lisp pro|
|000013c0| 63 65 73 73 2e 20 20 0a | 52 75 6e 73 20 61 20 4c |cess. .|Runs a L|
|000013d0| 69 73 70 20 69 6e 74 65 | 72 70 72 65 74 65 72 20 |isp inte|rpreter |
|000013e0| 61 73 20 61 20 73 75 62 | 70 72 6f 63 65 73 73 20 |as a sub|process |
|000013f0| 6f 66 20 45 6d 61 63 73 | 2c 20 77 69 74 68 20 4c |of Emacs|, with L|
|00001400| 69 73 70 20 49 2f 4f 20 | 74 68 72 6f 75 67 68 20 |isp I/O |through |
|00001410| 61 6e 0a 45 6d 61 63 73 | 20 62 75 66 66 65 72 2e |an.Emacs| buffer.|
|00001420| 20 20 56 61 72 69 61 62 | 6c 65 20 60 69 6e 66 65 | Variab|le `infe|
|00001430| 72 69 6f 72 2d 6c 69 73 | 70 2d 70 72 6f 67 72 61 |rior-lis|p-progra|
|00001440| 6d 27 20 63 6f 6e 74 72 | 6f 6c 73 20 77 68 69 63 |m' contr|ols whic|
|00001450| 68 20 4c 69 73 70 20 69 | 6e 74 65 72 70 72 65 74 |h Lisp i|nterpret|
|00001460| 65 72 0a 69 73 20 72 75 | 6e 2e 20 20 56 61 72 69 |er.is ru|n. Vari|
|00001470| 61 62 6c 65 73 20 60 69 | 6e 66 65 72 69 6f 72 2d |ables `i|nferior-|
|00001480| 6c 69 73 70 2d 70 72 6f | 6d 70 74 27 2c 20 60 69 |lisp-pro|mpt', `i|
|00001490| 6e 66 65 72 69 6f 72 2d | 6c 69 73 70 2d 66 69 6c |nferior-|lisp-fil|
|000014a0| 74 65 72 2d 72 65 67 65 | 78 70 27 20 61 6e 64 0a |ter-rege|xp' and.|
|000014b0| 60 69 6e 66 65 72 69 6f | 72 2d 6c 69 73 70 2d 6c |`inferio|r-lisp-l|
|000014c0| 6f 61 64 2d 63 6f 6d 6d | 61 6e 64 27 20 63 61 6e |oad-comm|and' can|
|000014d0| 20 63 75 73 74 6f 6d 69 | 7a 65 20 74 68 69 73 20 | customi|ze this |
|000014e0| 6d 6f 64 65 20 66 6f 72 | 20 64 69 66 66 65 72 65 |mode for| differe|
|000014f0| 6e 74 20 4c 69 73 70 0a | 69 6e 74 65 72 70 72 65 |nt Lisp.|interpre|
|00001500| 74 65 72 73 2e 0a 0a 46 | 6f 72 20 69 6e 66 6f 72 |ters...F|or infor|
|00001510| 6d 61 74 69 6f 6e 20 6f | 6e 20 72 75 6e 6e 69 6e |mation o|n runnin|
|00001520| 67 20 6d 75 6c 74 69 70 | 6c 65 20 70 72 6f 63 65 |g multip|le proce|
|00001530| 73 73 65 73 20 69 6e 20 | 6d 75 6c 74 69 70 6c 65 |sses in |multiple|
|00001540| 20 62 75 66 66 65 72 73 | 2c 20 73 65 65 0a 64 6f | buffers|, see.do|
|00001550| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 66 6f 72 20 |cumentat|ion for |
|00001560| 76 61 72 69 61 62 6c 65 | 20 60 69 6e 66 65 72 69 |variable| `inferi|
|00001570| 6f 72 2d 6c 69 73 70 2d | 62 75 66 66 65 72 27 2e |or-lisp-|buffer'.|
|00001580| 0a 0a 5c 7b 69 6e 66 65 | 72 69 6f 72 2d 6c 69 73 |..\{infe|rior-lis|
|00001590| 70 2d 6d 6f 64 65 2d 6d | 61 70 7d 0a 0a 43 75 73 |p-mode-m|ap}..Cus|
|000015a0| 74 6f 6d 69 7a 61 74 69 | 6f 6e 3a 20 45 6e 74 72 |tomizati|on: Entr|
|000015b0| 79 20 74 6f 20 74 68 69 | 73 20 6d 6f 64 65 20 72 |y to thi|s mode r|
|000015c0| 75 6e 73 20 74 68 65 20 | 68 6f 6f 6b 73 20 6f 6e |uns the |hooks on|
|000015d0| 20 60 63 6f 6d 69 6e 74 | 2d 6d 6f 64 65 2d 68 6f | `comint|-mode-ho|
|000015e0| 6f 6b 27 20 61 6e 64 0a | 60 69 6e 66 65 72 69 6f |ok' and.|`inferio|
|000015f0| 72 2d 6c 69 73 70 2d 6d | 6f 64 65 2d 68 6f 6f 6b |r-lisp-m|ode-hook|
|00001600| 27 20 28 69 6e 20 74 68 | 61 74 20 6f 72 64 65 72 |' (in th|at order|
|00001610| 29 2e 0a 0a 59 6f 75 20 | 63 61 6e 20 73 65 6e 64 |)...You |can send|
|00001620| 20 74 65 78 74 20 74 6f | 20 74 68 65 20 69 6e 66 | text to| the inf|
|00001630| 65 72 69 6f 72 20 4c 69 | 73 70 20 70 72 6f 63 65 |erior Li|sp proce|
|00001640| 73 73 20 66 72 6f 6d 20 | 6f 74 68 65 72 20 62 75 |ss from |other bu|
|00001650| 66 66 65 72 73 20 63 6f | 6e 74 61 69 6e 69 6e 67 |ffers co|ntaining|
|00001660| 0a 4c 69 73 70 20 73 6f | 75 72 63 65 2e 20 20 0a |.Lisp so|urce. .|
|00001670| 20 20 20 20 73 77 69 74 | 63 68 2d 74 6f 2d 6c 69 | swit|ch-to-li|
|00001680| 73 70 20 73 77 69 74 63 | 68 65 73 20 74 68 65 20 |sp switc|hes the |
|00001690| 63 75 72 72 65 6e 74 20 | 62 75 66 66 65 72 20 74 |current |buffer t|
|000016a0| 6f 20 74 68 65 20 4c 69 | 73 70 20 70 72 6f 63 65 |o the Li|sp proce|
|000016b0| 73 73 20 62 75 66 66 65 | 72 2e 0a 20 20 20 20 6c |ss buffe|r.. l|
|000016c0| 69 73 70 2d 65 76 61 6c | 2d 64 65 66 75 6e 20 73 |isp-eval|-defun s|
|000016d0| 65 6e 64 73 20 74 68 65 | 20 63 75 72 72 65 6e 74 |ends the| current|
|000016e0| 20 64 65 66 75 6e 20 74 | 6f 20 74 68 65 20 4c 69 | defun t|o the Li|
|000016f0| 73 70 20 70 72 6f 63 65 | 73 73 2e 0a 20 20 20 20 |sp proce|ss.. |
|00001700| 6c 69 73 70 2d 63 6f 6d | 70 69 6c 65 2d 64 65 66 |lisp-com|pile-def|
|00001710| 75 6e 20 63 6f 6d 70 69 | 6c 65 73 20 74 68 65 20 |un compi|les the |
|00001720| 63 75 72 72 65 6e 74 20 | 64 65 66 75 6e 2e 0a 20 |current |defun.. |
|00001730| 20 20 20 6c 69 73 70 2d | 65 76 61 6c 2d 72 65 67 | lisp-|eval-reg|
|00001740| 69 6f 6e 20 73 65 6e 64 | 73 20 74 68 65 20 63 75 |ion send|s the cu|
|00001750| 72 72 65 6e 74 20 72 65 | 67 69 6f 6e 20 74 6f 20 |rrent re|gion to |
|00001760| 74 68 65 20 4c 69 73 70 | 20 70 72 6f 63 65 73 73 |the Lisp| process|
|00001770| 2e 0a 20 20 20 20 6c 69 | 73 70 2d 63 6f 6d 70 69 |.. li|sp-compi|
|00001780| 6c 65 2d 72 65 67 69 6f | 6e 20 63 6f 6d 70 69 6c |le-regio|n compil|
|00001790| 65 73 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 72 |es the c|urrent r|
|000017a0| 65 67 69 6f 6e 2e 0a 0a | 20 20 20 20 50 72 65 66 |egion...| Pref|
|000017b0| 69 78 69 6e 67 20 74 68 | 65 20 6c 69 73 70 2d 65 |ixing th|e lisp-e|
|000017c0| 76 61 6c 2f 63 6f 6d 70 | 69 6c 65 2d 64 65 66 75 |val/comp|ile-defu|
|000017d0| 6e 2f 72 65 67 69 6f 6e | 20 63 6f 6d 6d 61 6e 64 |n/region| command|
|000017e0| 73 20 77 69 74 68 0a 20 | 20 20 20 61 20 5c 5b 75 |s with. | a \[u|
|000017f0| 6e 69 76 65 72 73 61 6c | 2d 61 72 67 75 6d 65 6e |niversal|-argumen|
|00001800| 74 5d 20 63 61 75 73 65 | 73 20 61 20 73 77 69 74 |t] cause|s a swit|
|00001810| 63 68 20 74 6f 20 74 68 | 65 20 4c 69 73 70 20 70 |ch to th|e Lisp p|
|00001820| 72 6f 63 65 73 73 20 62 | 75 66 66 65 72 20 61 66 |rocess b|uffer af|
|00001830| 74 65 72 20 73 65 6e 64 | 69 6e 67 0a 20 20 20 20 |ter send|ing. |
|00001840| 74 68 65 20 74 65 78 74 | 2e 0a 0a 43 6f 6d 6d 61 |the text|...Comma|
|00001850| 6e 64 73 3a 0a 52 65 74 | 75 72 6e 20 61 66 74 65 |nds:.Ret|urn afte|
|00001860| 72 20 74 68 65 20 65 6e | 64 20 6f 66 20 74 68 65 |r the en|d of the|
|00001870| 20 70 72 6f 63 65 73 73 | 27 20 6f 75 74 70 75 74 | process|' output|
|00001880| 20 73 65 6e 64 73 20 74 | 68 65 20 74 65 78 74 20 | sends t|he text |
|00001890| 66 72 6f 6d 20 74 68 65 | 20 0a 20 20 20 20 65 6e |from the| . en|
|000018a0| 64 20 6f 66 20 70 72 6f | 63 65 73 73 20 74 6f 20 |d of pro|cess to |
|000018b0| 70 6f 69 6e 74 2e 0a 52 | 65 74 75 72 6e 20 62 65 |point..R|eturn be|
|000018c0| 66 6f 72 65 20 74 68 65 | 20 65 6e 64 20 6f 66 20 |fore the| end of |
|000018d0| 74 68 65 20 70 72 6f 63 | 65 73 73 27 20 6f 75 74 |the proc|ess' out|
|000018e0| 70 75 74 20 63 6f 70 69 | 65 73 20 74 68 65 20 73 |put copi|es the s|
|000018f0| 65 78 70 20 65 6e 64 69 | 6e 67 20 61 74 20 70 6f |exp endi|ng at po|
|00001900| 69 6e 74 0a 20 20 20 20 | 74 6f 20 74 68 65 20 65 |int. |to the e|
|00001910| 6e 64 20 6f 66 20 74 68 | 65 20 70 72 6f 63 65 73 |nd of th|e proces|
|00001920| 73 27 20 6f 75 74 70 75 | 74 2c 20 61 6e 64 20 73 |s' outpu|t, and s|
|00001930| 65 6e 64 73 20 69 74 2e | 0a 44 65 6c 65 74 65 20 |ends it.|.Delete |
|00001940| 63 6f 6e 76 65 72 74 73 | 20 74 61 62 73 20 74 6f |converts| tabs to|
|00001950| 20 73 70 61 63 65 73 20 | 61 73 20 69 74 20 6d 6f | spaces |as it mo|
|00001960| 76 65 73 20 62 61 63 6b | 2e 0a 54 61 62 20 69 6e |ves back|..Tab in|
|00001970| 64 65 6e 74 73 20 66 6f | 72 20 4c 69 73 70 3b 20 |dents fo|r Lisp; |
|00001980| 77 69 74 68 20 61 72 67 | 75 6d 65 6e 74 2c 20 73 |with arg|ument, s|
|00001990| 68 69 66 74 73 20 72 65 | 73 74 0a 20 20 20 20 6f |hifts re|st. o|
|000019a0| 66 20 65 78 70 72 65 73 | 73 69 6f 6e 20 72 69 67 |f expres|sion rig|
|000019b0| 69 64 6c 79 20 77 69 74 | 68 20 74 68 65 20 63 75 |idly wit|h the cu|
|000019c0| 72 72 65 6e 74 20 6c 69 | 6e 65 2e 0a 43 2d 4d 2d |rrent li|ne..C-M-|
|000019d0| 71 20 64 6f 65 73 20 54 | 61 62 20 6f 6e 20 65 61 |q does T|ab on ea|
|000019e0| 63 68 20 6c 69 6e 65 20 | 73 74 61 72 74 69 6e 67 |ch line |starting|
|000019f0| 20 77 69 74 68 69 6e 20 | 66 6f 6c 6c 6f 77 69 6e | within |followin|
|00001a00| 67 20 65 78 70 72 65 73 | 73 69 6f 6e 2e 0a 50 61 |g expres|sion..Pa|
|00001a10| 72 61 67 72 61 70 68 73 | 20 61 72 65 20 73 65 70 |ragraphs| are sep|
|00001a20| 61 72 61 74 65 64 20 6f | 6e 6c 79 20 62 79 20 62 |arated o|nly by b|
|00001a30| 6c 61 6e 6b 20 6c 69 6e | 65 73 2e 20 20 53 65 6d |lank lin|es. Sem|
|00001a40| 69 63 6f 6c 6f 6e 73 20 | 73 74 61 72 74 20 63 6f |icolons |start co|
|00001a50| 6d 6d 65 6e 74 73 2e 0a | 49 66 20 79 6f 75 20 61 |mments..|If you a|
|00001a60| 63 63 69 64 65 6e 74 61 | 6c 6c 79 20 73 75 73 70 |ccidenta|lly susp|
|00001a70| 65 6e 64 20 79 6f 75 72 | 20 70 72 6f 63 65 73 73 |end your| process|
|00001a80| 2c 20 75 73 65 20 5c 5b | 63 6f 6d 69 6e 74 2d 63 |, use \[|comint-c|
|00001a90| 6f 6e 74 69 6e 75 65 2d | 73 75 62 6a 6f 62 5d 0a |ontinue-|subjob].|
|00001aa0| 74 6f 20 63 6f 6e 74 69 | 6e 75 65 20 69 74 2e 1f |to conti|nue it..|
|00001ab0| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 69 6e 66 65 |.(defali|as 'infe|
|00001ac0| 72 69 6f 72 2d 6c 69 73 | 70 2d 6d 6f 64 65 20 23 |rior-lis|p-mode #|
|00001ad0| 5b 6e 69 6c 20 22 c0 20 | 88 09 12 c3 14 c5 16 06 |[nil ". |........|
|00001ae0| c7 16 08 c9 ca 21 88 cb | 0e 0c 21 88 cd 16 0e cf |.....!..|..!.....|
|00001af0| 16 10 d1 16 12 d3 d4 21 | 87 22 20 5b 63 6f 6d 69 |.......!|." [comi|
|00001b00| 6e 74 2d 6d 6f 64 65 20 | 69 6e 66 65 72 69 6f 72 |nt-mode |inferior|
|00001b10| 2d 6c 69 73 70 2d 70 72 | 6f 6d 70 74 20 63 6f 6d |-lisp-pr|ompt com|
|00001b20| 69 6e 74 2d 70 72 6f 6d | 70 74 2d 72 65 67 65 78 |int-prom|pt-regex|
|00001b30| 70 20 69 6e 66 65 72 69 | 6f 72 2d 6c 69 73 70 2d |p inferi|or-lisp-|
|00001b40| 6d 6f 64 65 20 6d 61 6a | 6f 72 2d 6d 6f 64 65 20 |mode maj|or-mode |
|00001b50| 22 49 6e 66 65 72 69 6f | 72 20 4c 69 73 70 22 20 |"Inferio|r Lisp" |
|00001b60| 6d 6f 64 65 2d 6e 61 6d | 65 20 28 22 3a 25 73 22 |mode-nam|e (":%s"|
|00001b70| 29 20 6d 6f 64 65 2d 6c | 69 6e 65 2d 70 72 6f 63 |) mode-l|ine-proc|
|00001b80| 65 73 73 20 6c 69 73 70 | 2d 6d 6f 64 65 2d 76 61 |ess lisp|-mode-va|
|00001b90| 72 69 61 62 6c 65 73 20 | 74 20 75 73 65 2d 6c 6f |riables |t use-lo|
|00001ba0| 63 61 6c 2d 6d 61 70 20 | 69 6e 66 65 72 69 6f 72 |cal-map |inferior|
|00001bb0| 2d 6c 69 73 70 2d 6d 6f | 64 65 2d 6d 61 70 20 6c |-lisp-mo|de-map l|
|00001bc0| 69 73 70 2d 67 65 74 2d | 6f 6c 64 2d 69 6e 70 75 |isp-get-|old-inpu|
|00001bd0| 74 20 63 6f 6d 69 6e 74 | 2d 67 65 74 2d 6f 6c 64 |t comint|-get-old|
|00001be0| 2d 69 6e 70 75 74 20 6c | 69 73 70 2d 69 6e 70 75 |-input l|isp-inpu|
|00001bf0| 74 2d 66 69 6c 74 65 72 | 20 63 6f 6d 69 6e 74 2d |t-filter| comint-|
|00001c00| 69 6e 70 75 74 2d 66 69 | 6c 74 65 72 20 69 67 6e |input-fi|lter ign|
|00001c10| 6f 72 65 20 63 6f 6d 69 | 6e 74 2d 69 6e 70 75 74 |ore comi|nt-input|
|00001c20| 2d 73 65 6e 74 69 6e 65 | 6c 20 72 75 6e 2d 68 6f |-sentine|l run-ho|
|00001c30| 6f 6b 73 20 69 6e 66 65 | 72 69 6f 72 2d 6c 69 73 |oks infe|rior-lis|
|00001c40| 70 2d 6d 6f 64 65 2d 68 | 6f 6f 6b 5d 20 32 20 28 |p-mode-h|ook] 2 (|
|00001c50| 23 24 20 2e 20 35 30 30 | 34 29 20 6e 69 6c 5d 29 |#$ . 500|4) nil])|
|00001c60| 0a 23 40 35 34 20 52 65 | 74 75 72 6e 20 61 20 73 |.#@54 Re|turn a s|
|00001c70| 74 72 69 6e 67 20 63 6f | 6e 74 61 69 6e 69 6e 67 |tring co|ntaining|
|00001c80| 20 74 68 65 20 73 65 78 | 70 20 65 6e 64 69 6e 67 | the sex|p ending|
|00001c90| 20 61 74 20 70 6f 69 6e | 74 2e 1f 0a 28 64 65 66 | at poin|t...(def|
|00001ca0| 61 6c 69 61 73 20 27 6c | 69 73 70 2d 67 65 74 2d |alias 'l|isp-get-|
|00001cb0| 6f 6c 64 2d 69 6e 70 75 | 74 20 23 5b 6e 69 6c 20 |old-inpu|t #[nil |
|00001cc0| 22 8a 60 18 c1 20 88 60 | 08 7b 2a 87 22 20 5b 65 |".`.. .`|.{*." [e|
|00001cd0| 6e 64 20 62 61 63 6b 77 | 61 72 64 2d 73 65 78 70 |nd backw|ard-sexp|
|00001ce0| 5d 20 32 20 28 23 24 20 | 2e 20 37 32 37 30 29 5d |] 2 (#$ |. 7270)]|
|00001cf0| 29 0a 23 40 35 36 20 74 | 20 69 66 20 53 54 52 20 |).#@56 t| if STR |
|00001d00| 64 6f 65 73 20 6e 6f 74 | 20 6d 61 74 63 68 20 60 |does not| match `|
|00001d10| 69 6e 66 65 72 69 6f 72 | 2d 6c 69 73 70 2d 66 69 |inferior|-lisp-fi|
|00001d20| 6c 74 65 72 2d 72 65 67 | 65 78 70 27 2e 1f 0a 28 |lter-reg|exp'...(|
|00001d30| 64 65 66 61 6c 69 61 73 | 20 27 6c 69 73 70 2d 69 |defalias| 'lisp-i|
|00001d40| 6e 70 75 74 2d 66 69 6c | 74 65 72 20 23 5b 28 73 |nput-fil|ter #[(s|
|00001d50| 74 72 29 20 22 c0 09 5c | 6e 5c 22 3f 87 22 20 5b |tr) "..\|n\"?." [|
|00001d60| 73 74 72 69 6e 67 2d 6d | 61 74 63 68 20 69 6e 66 |string-m|atch inf|
|00001d70| 65 72 69 6f 72 2d 6c 69 | 73 70 2d 66 69 6c 74 65 |erior-li|sp-filte|
|00001d80| 72 2d 72 65 67 65 78 70 | 20 73 74 72 5d 20 33 20 |r-regexp| str] 3 |
|00001d90| 28 23 24 20 2e 20 37 34 | 31 35 29 5d 29 0a 23 40 |(#$ . 74|15)]).#@|
|00001da0| 34 32 30 20 52 75 6e 20 | 61 6e 20 69 6e 66 65 72 |420 Run |an infer|
|00001db0| 69 6f 72 20 4c 69 73 70 | 20 70 72 6f 63 65 73 73 |ior Lisp| process|
|00001dc0| 2c 20 69 6e 70 75 74 20 | 61 6e 64 20 6f 75 74 70 |, input |and outp|
|00001dd0| 75 74 20 76 69 61 20 62 | 75 66 66 65 72 20 60 2a |ut via b|uffer `*|
|00001de0| 69 6e 66 65 72 69 6f 72 | 2d 6c 69 73 70 2a 27 2e |inferior|-lisp*'.|
|00001df0| 0a 49 66 20 74 68 65 72 | 65 20 69 73 20 61 20 70 |.If ther|e is a p|
|00001e00| 72 6f 63 65 73 73 20 61 | 6c 72 65 61 64 79 20 72 |rocess a|lready r|
|00001e10| 75 6e 6e 69 6e 67 20 69 | 6e 20 60 2a 69 6e 66 65 |unning i|n `*infe|
|00001e20| 72 69 6f 72 2d 6c 69 73 | 70 2a 27 2c 20 6a 75 73 |rior-lis|p*', jus|
|00001e30| 74 20 73 77 69 74 63 68 | 0a 74 6f 20 74 68 61 74 |t switch|.to that|
|00001e40| 20 62 75 66 66 65 72 2e | 0a 57 69 74 68 20 61 72 | buffer.|.With ar|
|00001e50| 67 75 6d 65 6e 74 2c 20 | 61 6c 6c 6f 77 73 20 79 |gument, |allows y|
|00001e60| 6f 75 20 74 6f 20 65 64 | 69 74 20 74 68 65 20 63 |ou to ed|it the c|
|00001e70| 6f 6d 6d 61 6e 64 20 6c | 69 6e 65 20 28 64 65 66 |ommand l|ine (def|
|00001e80| 61 75 6c 74 20 69 73 20 | 76 61 6c 75 65 0a 6f 66 |ault is |value.of|
|00001e90| 20 60 69 6e 66 65 72 69 | 6f 72 2d 6c 69 73 70 2d | `inferi|or-lisp-|
|00001ea0| 70 72 6f 67 72 61 6d 27 | 29 2e 20 20 52 75 6e 73 |program'|). Runs|
|00001eb0| 20 74 68 65 20 68 6f 6f | 6b 73 20 66 72 6f 6d 0a | the hoo|ks from.|
|00001ec0| 60 69 6e 66 65 72 69 6f | 72 2d 6c 69 73 70 2d 6d |`inferio|r-lisp-m|
|00001ed0| 6f 64 65 2d 68 6f 6f 6b | 27 20 28 61 66 74 65 72 |ode-hook|' (after|
|00001ee0| 20 74 68 65 20 60 63 6f | 6d 69 6e 74 2d 6d 6f 64 | the `co|mint-mod|
|00001ef0| 65 2d 68 6f 6f 6b 27 20 | 69 73 20 72 75 6e 29 2e |e-hook' |is run).|
|00001f00| 0a 28 54 79 70 65 20 5c | 5b 64 65 73 63 72 69 62 |.(Type \|[describ|
|00001f10| 65 2d 6d 6f 64 65 5d 20 | 69 6e 20 74 68 65 20 70 |e-mode] |in the p|
|00001f20| 72 6f 63 65 73 73 20 62 | 75 66 66 65 72 20 66 6f |rocess b|uffer fo|
|00001f30| 72 20 61 20 6c 69 73 74 | 20 6f 66 20 63 6f 6d 6d |r a list| of comm|
|00001f40| 61 6e 64 73 2e 29 1f 0a | 28 64 65 66 61 6c 69 61 |ands.)..|(defalia|
|00001f50| 73 20 27 69 6e 66 65 72 | 69 6f 72 2d 6c 69 73 70 |s 'infer|ior-lisp|
|00001f60| 20 23 5b 28 63 6d 64 29 | 20 22 c0 c1 21 ac 93 c2 | #[(cmd)| "..!...|
|00001f70| 0b 21 1c c5 c6 c7 0c 40 | c8 0c 41 25 71 88 c9 20 |.!.....@|..A%q.. |
|00001f80| 88 29 c1 16 5c 6e cb c1 | 21 87 22 20 5b 63 6f 6d |.)..\n..|!." [com|
|00001f90| 69 6e 74 2d 63 68 65 63 | 6b 2d 70 72 6f 63 20 22 |int-chec|k-proc "|
|00001fa0| 2a 69 6e 66 65 72 69 6f | 72 2d 6c 69 73 70 2a 22 |*inferio|r-lisp*"|
|00001fb0| 20 69 6e 66 65 72 69 6f | 72 2d 6c 69 73 70 2d 61 | inferio|r-lisp-a|
|00001fc0| 72 67 73 2d 74 6f 2d 6c | 69 73 74 20 63 6d 64 20 |rgs-to-l|ist cmd |
|00001fd0| 63 6d 64 6c 69 73 74 20 | 61 70 70 6c 79 20 6d 61 |cmdlist |apply ma|
|00001fe0| 6b 65 2d 63 6f 6d 69 6e | 74 20 22 69 6e 66 65 72 |ke-comin|t "infer|
|00001ff0| 69 6f 72 2d 6c 69 73 70 | 22 20 6e 69 6c 20 69 6e |ior-lisp|" nil in|
|00002000| 66 65 72 69 6f 72 2d 6c | 69 73 70 2d 6d 6f 64 65 |ferior-l|isp-mode|
|00002010| 20 69 6e 66 65 72 69 6f | 72 2d 6c 69 73 70 2d 62 | inferio|r-lisp-b|
|00002020| 75 66 66 65 72 20 70 6f | 70 2d 74 6f 2d 62 75 66 |uffer po|p-to-buf|
|00002030| 66 65 72 5d 20 36 20 28 | 23 24 20 2e 20 37 35 38 |fer] 6 (|#$ . 758|
|00002040| 38 29 20 28 6c 69 73 74 | 20 28 69 66 20 63 75 72 |8) (list| (if cur|
|00002050| 72 65 6e 74 2d 70 72 65 | 66 69 78 2d 61 72 67 20 |rent-pre|fix-arg |
|00002060| 28 72 65 61 64 2d 73 74 | 72 69 6e 67 20 22 52 75 |(read-st|ring "Ru|
|00002070| 6e 20 6c 69 73 70 3a 20 | 22 20 69 6e 66 65 72 69 |n lisp: |" inferi|
|00002080| 6f 72 2d 6c 69 73 70 2d | 70 72 6f 67 72 61 6d 29 |or-lisp-|program)|
|00002090| 20 69 6e 66 65 72 69 6f | 72 2d 6c 69 73 70 2d 70 | inferio|r-lisp-p|
|000020a0| 72 6f 67 72 61 6d 29 29 | 5d 29 0a 28 64 65 66 69 |rogram))|]).(defi|
|000020b0| 6e 65 2d 66 75 6e 63 74 | 69 6f 6e 20 27 72 75 6e |ne-funct|ion 'run|
|000020c0| 2d 6c 69 73 70 20 27 69 | 6e 66 65 72 69 6f 72 2d |-lisp 'i|nferior-|
|000020d0| 6c 69 73 70 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |lisp).(d|efalias |
|000020e0| 27 69 6e 66 65 72 69 6f | 72 2d 6c 69 73 70 2d 61 |'inferio|r-lisp-a|
|000020f0| 72 67 73 2d 74 6f 2d 6c | 69 73 74 20 23 5b 28 73 |rgs-to-l|ist #[(s|
|00002100| 74 72 69 6e 67 29 20 22 | c0 c1 5c 6e 5c 22 89 1b |tring) "|..\n\"..|
|00002110| ac 84 5c 6e 43 aa a6 0b | c4 55 ac 8f 5c 6e c4 0b |..\nC...|.U..\n..|
|00002120| 4f c5 5c 6e 0b 54 5c 6e | 47 4f 21 42 aa 92 c0 c6 |O.\n.T\n|GO!B....|
|00002130| 5c 6e 5c 22 89 1e 07 ad | 88 c5 5c 6e 0e 07 5c 6e |\n\"....|..\n..\n|
|00002140| 47 4f 21 29 29 87 22 20 | 5b 73 74 72 69 6e 67 2d |GO!))." |[string-|
|00002150| 6d 61 74 63 68 20 22 5b | 20 09 5d 22 20 73 74 72 |match "[| .]" str|
|00002160| 69 6e 67 20 77 68 65 72 | 65 20 30 20 69 6e 66 65 |ing wher|e 0 infe|
|00002170| 72 69 6f 72 2d 6c 69 73 | 70 2d 61 72 67 73 2d 74 |rior-lis|p-args-t|
|00002180| 6f 2d 6c 69 73 74 20 22 | 5b 5e 20 09 5d 22 20 70 |o-list "|[^ .]" p|
|00002190| 6f 73 5d 20 36 5d 29 0a | 23 40 31 31 35 20 53 65 |os] 6]).|#@115 Se|
|000021a0| 6e 64 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 72 |nd the c|urrent r|
|000021b0| 65 67 69 6f 6e 20 74 6f | 20 74 68 65 20 69 6e 66 |egion to| the inf|
|000021c0| 65 72 69 6f 72 20 4c 69 | 73 70 20 70 72 6f 63 65 |erior Li|sp proce|
|000021d0| 73 73 2e 0a 50 72 65 66 | 69 78 20 61 72 67 75 6d |ss..Pref|ix argum|
|000021e0| 65 6e 74 20 6d 65 61 6e | 73 20 73 77 69 74 63 68 |ent mean|s switch|
|000021f0| 20 74 6f 20 74 68 65 20 | 4c 69 73 70 20 62 75 66 | to the |Lisp buf|
|00002200| 66 65 72 20 61 66 74 65 | 72 77 61 72 64 73 2e 1f |fer afte|rwards..|
|00002210| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 6c 69 73 70 |.(defali|as 'lisp|
|00002220| 2d 65 76 61 6c 2d 72 65 | 67 69 6f 6e 20 23 5b 28 |-eval-re|gion #[(|
|00002230| 73 74 61 72 74 20 65 6e | 64 20 26 6f 70 74 69 6f |start en|d &optio|
|00002240| 6e 61 6c 20 61 6e 64 2d | 67 6f 29 20 22 c0 c1 20 |nal and-|go) ".. |
|00002250| 5c 6e 0b 23 88 c4 c1 20 | c5 5c 22 88 0e 06 ad 83 |\n.#... |.\".....|
|00002260| c7 c8 21 87 22 20 5b 63 | 6f 6d 69 6e 74 2d 73 65 |..!." [c|omint-se|
|00002270| 6e 64 2d 72 65 67 69 6f | 6e 20 69 6e 66 65 72 69 |nd-regio|n inferi|
|00002280| 6f 72 2d 6c 69 73 70 2d | 70 72 6f 63 20 73 74 61 |or-lisp-|proc sta|
|00002290| 72 74 20 65 6e 64 20 63 | 6f 6d 69 6e 74 2d 73 65 |rt end c|omint-se|
|000022a0| 6e 64 2d 73 74 72 69 6e | 67 20 22 5c 6e 22 20 61 |nd-strin|g "\n" a|
|000022b0| 6e 64 2d 67 6f 20 73 77 | 69 74 63 68 2d 74 6f 2d |nd-go sw|itch-to-|
|000022c0| 6c 69 73 70 20 74 5d 20 | 34 20 28 23 24 20 2e 20 |lisp t] |4 (#$ . |
|000022d0| 38 36 30 36 29 20 22 72 | 5c 6e 50 22 5d 29 0a 23 |8606) "r|\nP"]).#|
|000022e0| 40 31 31 34 20 53 65 6e | 64 20 74 68 65 20 63 75 |@114 Sen|d the cu|
|000022f0| 72 72 65 6e 74 20 64 65 | 66 75 6e 20 74 6f 20 74 |rrent de|fun to t|
|00002300| 68 65 20 69 6e 66 65 72 | 69 6f 72 20 4c 69 73 70 |he infer|ior Lisp|
|00002310| 20 70 72 6f 63 65 73 73 | 2e 0a 50 72 65 66 69 78 | process|..Prefix|
|00002320| 20 61 72 67 75 6d 65 6e | 74 20 6d 65 61 6e 73 20 | argumen|t means |
|00002330| 73 77 69 74 63 68 20 74 | 6f 20 74 68 65 20 4c 69 |switch t|o the Li|
|00002340| 73 70 20 62 75 66 66 65 | 72 20 61 66 74 65 72 77 |sp buffe|r afterw|
|00002350| 61 72 64 73 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |ards...(|defalias|
|00002360| 20 27 6c 69 73 70 2d 65 | 76 61 6c 2d 64 65 66 75 | 'lisp-e|val-defu|
|00002370| 6e 20 23 5b 28 26 6f 70 | 74 69 6f 6e 61 6c 20 61 |n #[(&op|tional a|
|00002380| 6e 64 2d 67 6f 29 20 22 | 8a c0 20 88 c1 c2 78 88 |nd-go) "|.. ...x.|
|00002390| 60 1b c4 20 88 c5 60 0b | 5c 22 88 2a 0e 06 ad 83 |`.. ..`.|\".*....|
|000023a0| c7 c8 21 87 22 20 5b 65 | 6e 64 2d 6f 66 2d 64 65 |..!." [e|nd-of-de|
|000023b0| 66 75 6e 20 22 20 09 5c | 6e 0d 0c 22 20 6e 69 6c |fun " .\|n.." nil|
|000023c0| 20 65 6e 64 20 62 65 67 | 69 6e 6e 69 6e 67 2d 6f | end beg|inning-o|
|000023d0| 66 2d 64 65 66 75 6e 20 | 6c 69 73 70 2d 65 76 61 |f-defun |lisp-eva|
|000023e0| 6c 2d 72 65 67 69 6f 6e | 20 61 6e 64 2d 67 6f 20 |l-region| and-go |
|000023f0| 73 77 69 74 63 68 2d 74 | 6f 2d 6c 69 73 70 20 74 |switch-t|o-lisp t|
|00002400| 5d 20 33 20 28 23 24 20 | 2e 20 38 39 33 33 29 20 |] 3 (#$ |. 8933) |
|00002410| 22 50 22 5d 29 0a 23 40 | 31 31 34 20 53 65 6e 64 |"P"]).#@|114 Send|
|00002420| 20 74 68 65 20 70 72 65 | 76 69 6f 75 73 20 73 65 | the pre|vious se|
|00002430| 78 70 20 74 6f 20 74 68 | 65 20 69 6e 66 65 72 69 |xp to th|e inferi|
|00002440| 6f 72 20 4c 69 73 70 20 | 70 72 6f 63 65 73 73 2e |or Lisp |process.|
|00002450| 0a 50 72 65 66 69 78 20 | 61 72 67 75 6d 65 6e 74 |.Prefix |argument|
|00002460| 20 6d 65 61 6e 73 20 73 | 77 69 74 63 68 20 74 6f | means s|witch to|
|00002470| 20 74 68 65 20 4c 69 73 | 70 20 62 75 66 66 65 72 | the Lis|p buffer|
|00002480| 20 61 66 74 65 72 77 61 | 72 64 73 2e 1f 0a 28 64 | afterwa|rds...(d|
|00002490| 65 66 61 6c 69 61 73 20 | 27 6c 69 73 70 2d 65 76 |efalias |'lisp-ev|
|000024a0| 61 6c 2d 6c 61 73 74 2d | 73 65 78 70 20 23 5b 28 |al-last-|sexp #[(|
|000024b0| 26 6f 70 74 69 6f 6e 61 | 6c 20 61 6e 64 2d 67 6f |&optiona|l and-go|
|000024c0| 29 20 22 c0 8a c1 20 88 | 60 29 60 5c 6e 23 87 22 |) "... .|`)`\n#."|
|000024d0| 20 5b 6c 69 73 70 2d 65 | 76 61 6c 2d 72 65 67 69 | [lisp-e|val-regi|
|000024e0| 6f 6e 20 62 61 63 6b 77 | 61 72 64 2d 73 65 78 70 |on backw|ard-sexp|
|000024f0| 20 61 6e 64 2d 67 6f 5d | 20 34 20 28 23 24 20 2e | and-go]| 4 (#$ .|
|00002500| 20 39 32 34 34 29 20 22 | 50 22 5d 29 0a 23 40 31 | 9244) "|P"]).#@1|
|00002510| 31 38 20 43 6f 6d 70 69 | 6c 65 20 74 68 65 20 63 |18 Compi|le the c|
|00002520| 75 72 72 65 6e 74 20 72 | 65 67 69 6f 6e 20 69 6e |urrent r|egion in|
|00002530| 20 74 68 65 20 69 6e 66 | 65 72 69 6f 72 20 4c 69 | the inf|erior Li|
|00002540| 73 70 20 70 72 6f 63 65 | 73 73 2e 0a 50 72 65 66 |sp proce|ss..Pref|
|00002550| 69 78 20 61 72 67 75 6d | 65 6e 74 20 6d 65 61 6e |ix argum|ent mean|
|00002560| 73 20 73 77 69 74 63 68 | 20 74 6f 20 74 68 65 20 |s switch| to the |
|00002570| 4c 69 73 70 20 62 75 66 | 66 65 72 20 61 66 74 65 |Lisp buf|fer afte|
|00002580| 72 77 61 72 64 73 2e 1f | 0a 28 64 65 66 61 6c 69 |rwards..|.(defali|
|00002590| 61 73 20 27 6c 69 73 70 | 2d 63 6f 6d 70 69 6c 65 |as 'lisp|-compile|
|000025a0| 2d 72 65 67 69 6f 6e 20 | 23 5b 28 73 74 61 72 74 |-region |#[(start|
|000025b0| 20 65 6e 64 20 26 6f 70 | 74 69 6f 6e 61 6c 20 61 | end &op|tional a|
|000025c0| 6e 64 2d 67 6f 29 20 22 | c0 c1 20 c2 c3 0c 0d 7b |nd-go) "|.. ....{|
|000025d0| 5c 22 5c 22 88 0e 06 ad | 83 c7 c8 21 87 22 20 5b |\"\"....|...!." [|
|000025e0| 63 6f 6d 69 6e 74 2d 73 | 65 6e 64 2d 73 74 72 69 |comint-s|end-stri|
|000025f0| 6e 67 20 69 6e 66 65 72 | 69 6f 72 2d 6c 69 73 70 |ng infer|ior-lisp|
|00002600| 2d 70 72 6f 63 20 66 6f | 72 6d 61 74 20 22 28 66 |-proc fo|rmat "(f|
|00002610| 75 6e 63 61 6c 6c 20 28 | 63 6f 6d 70 69 6c 65 20 |uncall (|compile |
|00002620| 6e 69 6c 20 60 28 6c 61 | 6d 62 64 61 20 28 29 20 |nil `(la|mbda () |
|00002630| 28 70 72 6f 67 6e 20 27 | 63 6f 6d 70 69 6c 65 20 |(progn '|compile |
|00002640| 25 73 29 29 29 29 5c 6e | 22 20 73 74 61 72 74 20 |%s))))\n|" start |
|00002650| 65 6e 64 20 61 6e 64 2d | 67 6f 20 73 77 69 74 63 |end and-|go switc|
|00002660| 68 2d 74 6f 2d 6c 69 73 | 70 20 74 5d 20 36 20 28 |h-to-lis|p t] 6 (|
|00002670| 23 24 20 2e 20 39 34 39 | 31 29 20 22 72 5c 6e 50 |#$ . 949|1) "r\nP|
|00002680| 22 5d 29 0a 23 40 31 31 | 37 20 43 6f 6d 70 69 6c |"]).#@11|7 Compil|
|00002690| 65 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 64 65 |e the cu|rrent de|
|000026a0| 66 75 6e 20 69 6e 20 74 | 68 65 20 69 6e 66 65 72 |fun in t|he infer|
|000026b0| 69 6f 72 20 4c 69 73 70 | 20 70 72 6f 63 65 73 73 |ior Lisp| process|
|000026c0| 2e 0a 50 72 65 66 69 78 | 20 61 72 67 75 6d 65 6e |..Prefix| argumen|
|000026d0| 74 20 6d 65 61 6e 73 20 | 73 77 69 74 63 68 20 74 |t means |switch t|
|000026e0| 6f 20 74 68 65 20 4c 69 | 73 70 20 62 75 66 66 65 |o the Li|sp buffe|
|000026f0| 72 20 61 66 74 65 72 77 | 61 72 64 73 2e 1f 0a 28 |r afterw|ards...(|
|00002700| 64 65 66 61 6c 69 61 73 | 20 27 6c 69 73 70 2d 63 |defalias| 'lisp-c|
|00002710| 6f 6d 70 69 6c 65 2d 64 | 65 66 75 6e 20 23 5b 28 |ompile-d|efun #[(|
|00002720| 26 6f 70 74 69 6f 6e 61 | 6c 20 61 6e 64 2d 67 6f |&optiona|l and-go|
|00002730| 29 20 22 8a c0 20 88 c1 | c2 78 88 60 1b c4 20 88 |) ".. ..|.x.`.. .|
|00002740| c5 60 0b 5c 22 88 2a 0e | 06 ad 83 c7 c8 21 87 22 |.`.\".*.|.....!."|
|00002750| 20 5b 65 6e 64 2d 6f 66 | 2d 64 65 66 75 6e 20 22 | [end-of|-defun "|
|00002760| 20 09 5c 6e 0d 0c 22 20 | 6e 69 6c 20 65 20 62 65 | .\n.." |nil e be|
|00002770| 67 69 6e 6e 69 6e 67 2d | 6f 66 2d 64 65 66 75 6e |ginning-|of-defun|
|00002780| 20 6c 69 73 70 2d 63 6f | 6d 70 69 6c 65 2d 72 65 | lisp-co|mpile-re|
|00002790| 67 69 6f 6e 20 61 6e 64 | 2d 67 6f 20 73 77 69 74 |gion and|-go swit|
|000027a0| 63 68 2d 74 6f 2d 6c 69 | 73 70 20 74 5d 20 33 20 |ch-to-li|sp t] 3 |
|000027b0| 28 23 24 20 2e 20 39 38 | 36 36 29 20 22 50 22 5d |(#$ . 98|66) "P"]|
|000027c0| 29 0a 23 40 39 35 20 53 | 77 69 74 63 68 20 74 6f |).#@95 S|witch to|
|000027d0| 20 74 68 65 20 69 6e 66 | 65 72 69 6f 72 20 4c 69 | the inf|erior Li|
|000027e0| 73 70 20 70 72 6f 63 65 | 73 73 20 62 75 66 66 65 |sp proce|ss buffe|
|000027f0| 72 2e 0a 57 69 74 68 20 | 61 72 67 75 6d 65 6e 74 |r..With |argument|
|00002800| 2c 20 70 6f 73 69 74 69 | 6f 6e 73 20 63 75 72 73 |, positi|ons curs|
|00002810| 6f 72 20 61 74 20 65 6e | 64 20 6f 66 20 62 75 66 |or at en|d of buf|
|00002820| 66 65 72 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |fer...(d|efalias |
|00002830| 27 73 77 69 74 63 68 2d | 74 6f 2d 6c 69 73 70 20 |'switch-|to-lisp |
|00002840| 23 5b 28 65 6f 62 2d 70 | 29 20 22 c0 09 21 ab 86 |#[(eob-p|) "..!..|
|00002850| c2 09 21 88 aa 84 c3 c4 | 21 88 0d ad 85 c6 20 88 |..!.....|!..... .|
|00002860| 64 62 87 22 20 5b 67 65 | 74 2d 62 75 66 66 65 72 |db." [ge|t-buffer|
|00002870| 20 69 6e 66 65 72 69 6f | 72 2d 6c 69 73 70 2d 62 | inferio|r-lisp-b|
|00002880| 75 66 66 65 72 20 70 6f | 70 2d 74 6f 2d 62 75 66 |uffer po|p-to-buf|
|00002890| 66 65 72 20 65 72 72 6f | 72 20 22 4e 6f 20 63 75 |fer erro|r "No cu|
|000028a0| 72 72 65 6e 74 20 69 6e | 66 65 72 69 6f 72 20 4c |rrent in|ferior L|
|000028b0| 69 73 70 20 62 75 66 66 | 65 72 22 20 65 6f 62 2d |isp buff|er" eob-|
|000028c0| 70 20 70 75 73 68 2d 6d | 61 72 6b 5d 20 32 20 28 |p push-m|ark] 2 (|
|000028d0| 23 24 20 2e 20 31 30 31 | 38 33 29 20 22 50 22 5d |#$ . 101|83) "P"]|
|000028e0| 29 0a 23 40 37 33 20 53 | 65 6e 64 20 74 68 65 20 |).#@73 S|end the |
|000028f0| 63 75 72 72 65 6e 74 20 | 72 65 67 69 6f 6e 20 74 |current |region t|
|00002900| 6f 20 74 68 65 20 69 6e | 66 65 72 69 6f 72 20 4c |o the in|ferior L|
|00002910| 69 73 70 2c 20 61 6e 64 | 20 73 77 69 74 63 68 20 |isp, and| switch |
|00002920| 74 6f 20 69 74 73 20 62 | 75 66 66 65 72 2e 1f 0a |to its b|uffer...|
|00002930| 28 64 65 66 61 6c 69 61 | 73 20 27 6c 69 73 70 2d |(defalia|s 'lisp-|
|00002940| 65 76 61 6c 2d 72 65 67 | 69 6f 6e 2d 61 6e 64 2d |eval-reg|ion-and-|
|00002950| 67 6f 20 23 5b 28 73 74 | 61 72 74 20 65 6e 64 29 |go #[(st|art end)|
|00002960| 20 22 c0 09 5c 6e c3 23 | 87 22 20 5b 6c 69 73 70 | "..\n.#|." [lisp|
|00002970| 2d 65 76 61 6c 2d 72 65 | 67 69 6f 6e 20 73 74 61 |-eval-re|gion sta|
|00002980| 72 74 20 65 6e 64 20 74 | 5d 20 34 20 28 23 24 20 |rt end t|] 4 (#$ |
|00002990| 2e 20 31 30 34 37 31 29 | 20 22 72 22 5d 29 0a 23 |. 10471)| "r"]).#|
|000029a0| 40 37 32 20 53 65 6e 64 | 20 74 68 65 20 63 75 72 |@72 Send| the cur|
|000029b0| 72 65 6e 74 20 64 65 66 | 75 6e 20 74 6f 20 74 68 |rent def|un to th|
|000029c0| 65 20 69 6e 66 65 72 69 | 6f 72 20 4c 69 73 70 2c |e inferi|or Lisp,|
|000029d0| 20 61 6e 64 20 73 77 69 | 74 63 68 20 74 6f 20 69 | and swi|tch to i|
|000029e0| 74 73 20 62 75 66 66 65 | 72 2e 1f 0a 28 64 65 66 |ts buffe|r...(def|
|000029f0| 61 6c 69 61 73 20 27 6c | 69 73 70 2d 65 76 61 6c |alias 'l|isp-eval|
|00002a00| 2d 64 65 66 75 6e 2d 61 | 6e 64 2d 67 6f 20 23 5b |-defun-a|nd-go #[|
|00002a10| 6e 69 6c 20 22 c0 c1 21 | 87 22 20 5b 6c 69 73 70 |nil "..!|." [lisp|
|00002a20| 2d 65 76 61 6c 2d 64 65 | 66 75 6e 20 74 5d 20 32 |-eval-de|fun t] 2|
|00002a30| 20 28 23 24 20 2e 20 31 | 30 36 36 30 29 20 6e 69 | (#$ . 1|0660) ni|
|00002a40| 6c 5d 29 0a 23 40 37 36 | 20 43 6f 6d 70 69 6c 65 |l]).#@76| Compile|
|00002a50| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 72 65 67 | the cur|rent reg|
|00002a60| 69 6f 6e 20 69 6e 20 74 | 68 65 20 69 6e 66 65 72 |ion in t|he infer|
|00002a70| 69 6f 72 20 4c 69 73 70 | 2c 20 61 6e 64 20 73 77 |ior Lisp|, and sw|
|00002a80| 69 74 63 68 20 74 6f 20 | 69 74 73 20 62 75 66 66 |itch to |its buff|
|00002a90| 65 72 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |er...(de|falias '|
|00002aa0| 6c 69 73 70 2d 63 6f 6d | 70 69 6c 65 2d 72 65 67 |lisp-com|pile-reg|
|00002ab0| 69 6f 6e 2d 61 6e 64 2d | 67 6f 20 23 5b 28 73 74 |ion-and-|go #[(st|
|00002ac0| 61 72 74 20 65 6e 64 29 | 20 22 c0 09 5c 6e c3 23 |art end)| "..\n.#|
|00002ad0| 87 22 20 5b 6c 69 73 70 | 2d 63 6f 6d 70 69 6c 65 |." [lisp|-compile|
|00002ae0| 2d 72 65 67 69 6f 6e 20 | 73 74 61 72 74 20 65 6e |-region |start en|
|00002af0| 64 20 74 5d 20 34 20 28 | 23 24 20 2e 20 31 30 38 |d t] 4 (|#$ . 108|
|00002b00| 32 35 29 20 22 72 22 5d | 29 0a 23 40 37 35 20 43 |25) "r"]|).#@75 C|
|00002b10| 6f 6d 70 69 6c 65 20 74 | 68 65 20 63 75 72 72 65 |ompile t|he curre|
|00002b20| 6e 74 20 64 65 66 75 6e | 20 69 6e 20 74 68 65 20 |nt defun| in the |
|00002b30| 69 6e 66 65 72 69 6f 72 | 20 4c 69 73 70 2c 20 61 |inferior| Lisp, a|
|00002b40| 6e 64 20 73 77 69 74 63 | 68 20 74 6f 20 69 74 73 |nd switc|h to its|
|00002b50| 20 62 75 66 66 65 72 2e | 1f 0a 28 64 65 66 61 6c | buffer.|..(defal|
|00002b60| 69 61 73 20 27 6c 69 73 | 70 2d 63 6f 6d 70 69 6c |ias 'lis|p-compil|
|00002b70| 65 2d 64 65 66 75 6e 2d | 61 6e 64 2d 67 6f 20 23 |e-defun-|and-go #|
|00002b80| 5b 6e 69 6c 20 22 c0 c1 | 21 87 22 20 5b 6c 69 73 |[nil "..|!." [lis|
|00002b90| 70 2d 63 6f 6d 70 69 6c | 65 2d 64 65 66 75 6e 20 |p-compil|e-defun |
|00002ba0| 74 5d 20 32 20 28 23 24 | 20 2e 20 31 31 30 32 33 |t] 2 (#$| . 11023|
|00002bb0| 29 20 6e 69 6c 5d 29 0a | 23 40 31 38 37 20 52 65 |) nil]).|#@187 Re|
|00002bc0| 63 6f 72 64 20 6c 61 73 | 74 20 64 69 72 65 63 74 |cord las|t direct|
|00002bd0| 6f 72 79 20 61 6e 64 20 | 66 69 6c 65 20 75 73 65 |ory and |file use|
|00002be0| 64 20 69 6e 20 6c 6f 61 | 64 69 6e 67 20 6f 72 20 |d in loa|ding or |
|00002bf0| 63 6f 6d 70 69 6c 69 6e | 67 2e 0a 54 68 69 73 20 |compilin|g..This |
|00002c00| 68 6f 6c 64 73 20 61 20 | 63 6f 6e 73 20 63 65 6c |holds a |cons cel|
|00002c10| 6c 20 6f 66 20 74 68 65 | 20 66 6f 72 6d 20 60 28 |l of the| form `(|
|00002c20| 44 49 52 45 43 54 4f 52 | 59 20 2e 20 46 49 4c 45 |DIRECTOR|Y . FILE|
|00002c30| 29 27 0a 64 65 73 63 72 | 69 62 69 6e 67 20 74 68 |)'.descr|ibing th|
|00002c40| 65 20 6c 61 73 74 20 60 | 6c 69 73 70 2d 6c 6f 61 |e last `|lisp-loa|
|00002c50| 64 2d 66 69 6c 65 27 20 | 6f 72 20 60 6c 69 73 70 |d-file' |or `lisp|
|00002c60| 2d 63 6f 6d 70 69 6c 65 | 2d 66 69 6c 65 27 20 63 |-compile|-file' c|
|00002c70| 6f 6d 6d 61 6e 64 2e 1f | 0a 28 64 65 66 76 61 72 |ommand..|.(defvar|
|00002c80| 20 6c 69 73 70 2d 70 72 | 65 76 2d 6c 2f 63 2d 64 | lisp-pr|ev-l/c-d|
|00002c90| 69 72 2f 66 69 6c 65 20 | 6e 69 6c 20 28 23 24 20 |ir/file |nil (#$ |
|00002ca0| 2e 20 31 31 31 39 38 29 | 29 0a 23 40 32 35 31 20 |. 11198)|).#@251 |
|00002cb0| 2a 55 73 65 64 20 74 6f | 20 64 65 74 65 72 6d 69 |*Used to| determi|
|00002cc0| 6e 65 20 69 66 20 61 20 | 62 75 66 66 65 72 20 63 |ne if a |buffer c|
|00002cd0| 6f 6e 74 61 69 6e 73 20 | 4c 69 73 70 20 73 6f 75 |ontains |Lisp sou|
|00002ce0| 72 63 65 20 63 6f 64 65 | 2e 0a 49 66 20 69 74 27 |rce code|..If it'|
|00002cf0| 73 20 6c 6f 61 64 65 64 | 20 69 6e 74 6f 20 61 20 |s loaded| into a |
|00002d00| 62 75 66 66 65 72 20 74 | 68 61 74 20 69 73 20 69 |buffer t|hat is i|
|00002d10| 6e 20 6f 6e 65 20 6f 66 | 20 74 68 65 73 65 20 6d |n one of| these m|
|00002d20| 61 6a 6f 72 20 6d 6f 64 | 65 73 2c 20 69 74 27 73 |ajor mod|es, it's|
|00002d30| 0a 63 6f 6e 73 69 64 65 | 72 65 64 20 61 20 4c 69 |.conside|red a Li|
|00002d40| 73 70 20 73 6f 75 72 63 | 65 20 66 69 6c 65 20 62 |sp sourc|e file b|
|00002d50| 79 20 60 6c 69 73 70 2d | 6c 6f 61 64 2d 66 69 6c |y `lisp-|load-fil|
|00002d60| 65 27 20 61 6e 64 20 60 | 6c 69 73 70 2d 63 6f 6d |e' and `|lisp-com|
|00002d70| 70 69 6c 65 2d 66 69 6c | 65 27 2e 0a 55 73 65 64 |pile-fil|e'..Used|
|00002d80| 20 62 79 20 74 68 65 73 | 65 20 63 6f 6d 6d 61 6e | by thes|e comman|
|00002d90| 64 73 20 74 6f 20 64 65 | 74 65 72 6d 69 6e 65 20 |ds to de|termine |
|00002da0| 64 65 66 61 75 6c 74 73 | 2e 1f 0a 28 64 65 66 76 |defaults|...(defv|
|00002db0| 61 72 20 6c 69 73 70 2d | 73 6f 75 72 63 65 2d 6d |ar lisp-|source-m|
|00002dc0| 6f 64 65 73 20 27 28 6c | 69 73 70 2d 6d 6f 64 65 |odes '(l|isp-mode|
|00002dd0| 29 20 28 23 24 20 2e 20 | 2d 31 31 34 34 30 29 29 |) (#$ . |-11440))|
|00002de0| 0a 23 40 35 30 20 4c 6f | 61 64 20 61 20 4c 69 73 |.#@50 Lo|ad a Lis|
|00002df0| 70 20 66 69 6c 65 20 69 | 6e 74 6f 20 74 68 65 20 |p file i|nto the |
|00002e00| 69 6e 66 65 72 69 6f 72 | 20 4c 69 73 70 20 70 72 |inferior| Lisp pr|
|00002e10| 6f 63 65 73 73 2e 1f 0a | 28 64 65 66 61 6c 69 61 |ocess...|(defalia|
|00002e20| 73 20 27 6c 69 73 70 2d | 6c 6f 61 64 2d 66 69 6c |s 'lisp-|load-fil|
|00002e30| 65 20 23 5b 28 66 69 6c | 65 2d 6e 61 6d 65 29 20 |e #[(fil|e-name) |
|00002e40| 22 c0 09 21 88 c2 09 21 | c3 09 21 42 14 c5 c6 20 |"..!...!|..!B... |
|00002e50| c7 0e 08 09 5c 22 5c 22 | 88 c9 ca 21 87 22 20 5b |....\"\"|...!." [|
|00002e60| 63 6f 6d 69 6e 74 2d 63 | 68 65 63 6b 2d 73 6f 75 |comint-c|heck-sou|
|00002e70| 72 63 65 20 66 69 6c 65 | 2d 6e 61 6d 65 20 66 69 |rce file|-name fi|
|00002e80| 6c 65 2d 6e 61 6d 65 2d | 64 69 72 65 63 74 6f 72 |le-name-|director|
|00002e90| 79 20 66 69 6c 65 2d 6e | 61 6d 65 2d 6e 6f 6e 64 |y file-n|ame-nond|
|00002ea0| 69 72 65 63 74 6f 72 79 | 20 6c 69 73 70 2d 70 72 |irectory| lisp-pr|
|00002eb0| 65 76 2d 6c 2f 63 2d 64 | 69 72 2f 66 69 6c 65 20 |ev-l/c-d|ir/file |
|00002ec0| 63 6f 6d 69 6e 74 2d 73 | 65 6e 64 2d 73 74 72 69 |comint-s|end-stri|
|00002ed0| 6e 67 20 69 6e 66 65 72 | 69 6f 72 2d 6c 69 73 70 |ng infer|ior-lisp|
|00002ee0| 2d 70 72 6f 63 20 66 6f | 72 6d 61 74 20 69 6e 66 |-proc fo|rmat inf|
|00002ef0| 65 72 69 6f 72 2d 6c 69 | 73 70 2d 6c 6f 61 64 2d |erior-li|sp-load-|
|00002f00| 63 6f 6d 6d 61 6e 64 20 | 73 77 69 74 63 68 2d 74 |command |switch-t|
|00002f10| 6f 2d 6c 69 73 70 20 74 | 5d 20 35 20 28 23 24 20 |o-lisp t|] 5 (#$ |
|00002f20| 2e 20 31 31 37 35 30 29 | 20 28 63 6f 6d 69 6e 74 |. 11750)| (comint|
|00002f30| 2d 67 65 74 2d 73 6f 75 | 72 63 65 20 22 4c 6f 61 |-get-sou|rce "Loa|
|00002f40| 64 20 4c 69 73 70 20 66 | 69 6c 65 3a 20 22 20 6c |d Lisp f|ile: " l|
|00002f50| 69 73 70 2d 70 72 65 76 | 2d 6c 2f 63 2d 64 69 72 |isp-prev|-l/c-dir|
|00002f60| 2f 66 69 6c 65 20 6c 69 | 73 70 2d 73 6f 75 72 63 |/file li|sp-sourc|
|00002f70| 65 2d 6d 6f 64 65 73 20 | 6e 69 6c 29 5d 29 0a 23 |e-modes |nil)]).#|
|00002f80| 40 35 31 20 43 6f 6d 70 | 69 6c 65 20 61 20 4c 69 |@51 Comp|ile a Li|
|00002f90| 73 70 20 66 69 6c 65 20 | 69 6e 20 74 68 65 20 69 |sp file |in the i|
|00002fa0| 6e 66 65 72 69 6f 72 20 | 4c 69 73 70 20 70 72 6f |nferior |Lisp pro|
|00002fb0| 63 65 73 73 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |cess...(|defalias|
|00002fc0| 20 27 6c 69 73 70 2d 63 | 6f 6d 70 69 6c 65 2d 66 | 'lisp-c|ompile-f|
|00002fd0| 69 6c 65 20 23 5b 28 66 | 69 6c 65 2d 6e 61 6d 65 |ile #[(f|ile-name|
|00002fe0| 29 20 22 c0 09 21 88 c2 | 09 21 c3 09 21 42 14 c5 |) "..!..|.!..!B..|
|00002ff0| c6 20 c7 09 c8 51 5c 22 | 88 c9 ca 21 87 22 20 5b |. ...Q\"|...!." [|
|00003000| 63 6f 6d 69 6e 74 2d 63 | 68 65 63 6b 2d 73 6f 75 |comint-c|heck-sou|
|00003010| 72 63 65 20 66 69 6c 65 | 2d 6e 61 6d 65 20 66 69 |rce file|-name fi|
|00003020| 6c 65 2d 6e 61 6d 65 2d | 64 69 72 65 63 74 6f 72 |le-name-|director|
|00003030| 79 20 66 69 6c 65 2d 6e | 61 6d 65 2d 6e 6f 6e 64 |y file-n|ame-nond|
|00003040| 69 72 65 63 74 6f 72 79 | 20 6c 69 73 70 2d 70 72 |irectory| lisp-pr|
|00003050| 65 76 2d 6c 2f 63 2d 64 | 69 72 2f 66 69 6c 65 20 |ev-l/c-d|ir/file |
|00003060| 63 6f 6d 69 6e 74 2d 73 | 65 6e 64 2d 73 74 72 69 |comint-s|end-stri|
|00003070| 6e 67 20 69 6e 66 65 72 | 69 6f 72 2d 6c 69 73 70 |ng infer|ior-lisp|
|00003080| 2d 70 72 6f 63 20 22 28 | 63 6f 6d 70 69 6c 65 2d |-proc "(|compile-|
|00003090| 66 69 6c 65 20 5c 22 22 | 20 22 5c 22 29 5c 6e 22 |file \""| "\")\n"|
|000030a0| 20 73 77 69 74 63 68 2d | 74 6f 2d 6c 69 73 70 20 | switch-|to-lisp |
|000030b0| 74 5d 20 35 20 28 23 24 | 20 2e 20 31 32 31 36 34 |t] 5 (#$| . 12164|
|000030c0| 29 20 28 63 6f 6d 69 6e | 74 2d 67 65 74 2d 73 6f |) (comin|t-get-so|
|000030d0| 75 72 63 65 20 22 43 6f | 6d 70 69 6c 65 20 4c 69 |urce "Co|mpile Li|
|000030e0| 73 70 20 66 69 6c 65 3a | 20 22 20 6c 69 73 70 2d |sp file:| " lisp-|
|000030f0| 70 72 65 76 2d 6c 2f 63 | 2d 64 69 72 2f 66 69 6c |prev-l/c|-dir/fil|
|00003100| 65 20 6c 69 73 70 2d 73 | 6f 75 72 63 65 2d 6d 6f |e lisp-s|ource-mo|
|00003110| 64 65 73 20 6e 69 6c 29 | 5d 29 0a 23 40 36 34 20 |des nil)|]).#@64 |
|00003120| 43 6f 6d 6d 61 6e 64 20 | 74 6f 20 71 75 65 72 79 |Command |to query|
|00003130| 20 69 6e 66 65 72 69 6f | 72 20 4c 69 73 70 20 66 | inferio|r Lisp f|
|00003140| 6f 72 20 61 20 66 75 6e | 63 74 69 6f 6e 27 73 20 |or a fun|ction's |
|00003150| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 2e 1f 0a |document|ation...|
|00003160| 28 64 65 66 76 61 72 20 | 6c 69 73 70 2d 66 75 6e |(defvar |lisp-fun|
|00003170| 63 74 69 6f 6e 2d 64 6f | 63 2d 63 6f 6d 6d 61 6e |ction-do|c-comman|
|00003180| 64 20 22 28 6c 65 74 20 | 28 28 66 6e 20 27 25 73 |d "(let |((fn '%s|
|00003190| 29 29 5c 6e 20 20 20 20 | 20 28 66 6f 72 6d 61 74 |))\n | (format|
|000031a0| 20 74 20 5c 22 44 6f 63 | 75 6d 65 6e 74 61 74 69 | t \"Doc|umentati|
|000031b0| 6f 6e 20 66 6f 72 20 7e | 61 3a 7e 26 7e 61 5c 22 |on for ~|a:~&~a\"|
|000031c0| 5c 6e 09 20 20 20 20 20 | 66 6e 20 28 64 6f 63 75 |\n. |fn (docu|
|000031d0| 6d 65 6e 74 61 74 69 6f | 6e 20 66 6e 20 27 66 75 |mentatio|n fn 'fu|
|000031e0| 6e 63 74 69 6f 6e 29 29 | 5c 6e 20 20 20 20 20 28 |nction))|\n (|
|000031f0| 76 61 6c 75 65 73 29 29 | 5c 6e 22 20 28 23 24 20 |values))|\n" (#$ |
|00003200| 2e 20 31 32 35 37 36 29 | 29 0a 23 40 36 34 20 43 |. 12576)|).#@64 C|
|00003210| 6f 6d 6d 61 6e 64 20 74 | 6f 20 71 75 65 72 79 20 |ommand t|o query |
|00003220| 69 6e 66 65 72 69 6f 72 | 20 4c 69 73 70 20 66 6f |inferior| Lisp fo|
|00003230| 72 20 61 20 76 61 72 69 | 61 62 6c 65 27 73 20 64 |r a vari|able's d|
|00003240| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 2e 1f 0a 28 |ocumenta|tion...(|
|00003250| 64 65 66 76 61 72 20 6c | 69 73 70 2d 76 61 72 2d |defvar l|isp-var-|
|00003260| 64 6f 63 2d 63 6f 6d 6d | 61 6e 64 20 22 28 6c 65 |doc-comm|and "(le|
|00003270| 74 20 28 28 76 20 27 25 | 73 29 29 5c 6e 20 20 20 |t ((v '%|s))\n |
|00003280| 20 20 28 66 6f 72 6d 61 | 74 20 74 20 5c 22 44 6f | (forma|t t \"Do|
|00003290| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 66 6f 72 20 |cumentat|ion for |
|000032a0| 7e 61 3a 7e 26 7e 61 5c | 22 5c 6e 09 20 20 20 20 |~a:~&~a\|"\n. |
|000032b0| 20 76 20 28 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f | v (docu|mentatio|
|000032c0| 6e 20 76 20 27 76 61 72 | 69 61 62 6c 65 29 29 5c |n v 'var|iable))\|
|000032d0| 6e 20 20 20 20 20 28 76 | 61 6c 75 65 73 29 29 5c |n (v|alues))\|
|000032e0| 6e 22 20 28 23 24 20 2e | 20 31 32 38 31 35 29 29 |n" (#$ .| 12815))|
|000032f0| 0a 23 40 35 38 20 43 6f | 6d 6d 61 6e 64 20 74 6f |.#@58 Co|mmand to|
|00003300| 20 71 75 65 72 79 20 69 | 6e 66 65 72 69 6f 72 20 | query i|nferior |
|00003310| 4c 69 73 70 20 66 6f 72 | 20 61 20 66 75 6e 63 74 |Lisp for| a funct|
|00003320| 69 6f 6e 27 73 20 61 72 | 67 6c 69 73 74 2e 1f 0a |ion's ar|glist...|
|00003330| 28 64 65 66 76 61 72 20 | 6c 69 73 70 2d 61 72 67 |(defvar |lisp-arg|
|00003340| 6c 69 73 74 2d 63 6f 6d | 6d 61 6e 64 20 22 28 6c |list-com|mand "(l|
|00003350| 65 74 20 28 28 66 6e 20 | 27 25 73 29 29 5c 6e 20 |et ((fn |'%s))\n |
|00003360| 20 20 20 20 28 66 6f 72 | 6d 61 74 20 74 20 5c 22 | (for|mat t \"|
|00003370| 41 72 67 6c 69 73 74 20 | 66 6f 72 20 7e 61 3a 20 |Arglist |for ~a: |
|00003380| 7e 61 5c 22 20 66 6e 20 | 28 61 72 67 6c 69 73 74 |~a\" fn |(arglist|
|00003390| 20 66 6e 29 29 5c 6e 20 | 20 20 20 20 28 76 61 6c | fn))\n | (val|
|000033a0| 75 65 73 29 29 5c 6e 22 | 20 28 23 24 20 2e 20 31 |ues))\n"| (#$ . 1|
|000033b0| 33 30 34 36 29 29 0a 23 | 40 36 34 20 43 6f 6d 6d |3046)).#|@64 Comm|
|000033c0| 61 6e 64 20 74 6f 20 71 | 75 65 72 79 20 69 6e 66 |and to q|uery inf|
|000033d0| 65 72 69 6f 72 20 4c 69 | 73 70 20 66 6f 72 20 61 |erior Li|sp for a|
|000033e0| 20 76 61 72 69 61 62 6c | 65 27 73 20 64 6f 63 75 | variabl|e's docu|
|000033f0| 6d 65 6e 74 61 74 69 6f | 6e 2e 1f 0a 28 64 65 66 |mentatio|n...(def|
|00003400| 76 61 72 20 6c 69 73 70 | 2d 64 65 73 63 72 69 62 |var lisp|-describ|
|00003410| 65 2d 73 79 6d 2d 63 6f | 6d 6d 61 6e 64 20 22 28 |e-sym-co|mmand "(|
|00003420| 64 65 73 63 72 69 62 65 | 20 27 25 73 29 5c 6e 22 |describe| '%s)\n"|
|00003430| 20 28 23 24 20 2e 20 31 | 33 32 34 34 29 29 0a 28 | (#$ . 1|3244)).(|
|00003440| 64 65 66 61 6c 69 61 73 | 20 27 6c 69 73 70 2d 73 |defalias| 'lisp-s|
|00003450| 79 6d 70 72 6f 6d 70 74 | 20 23 5b 28 70 72 6f 6d |ymprompt| #[(prom|
|00003460| 70 74 20 64 65 66 61 75 | 6c 74 29 20 22 08 ab 87 |pt defau|lt) "...|
|00003470| c1 c2 0b 08 23 aa 83 0b | c4 50 1b c5 0b 21 89 1e |....#...|.P...!..|
|00003480| 06 47 c7 55 ab 83 08 aa | 82 0e 06 2a 43 87 22 20 |.G.U....|...*C." |
|00003490| 5b 64 65 66 61 75 6c 74 | 20 66 6f 72 6d 61 74 20 |[default| format |
|000034a0| 22 25 73 20 28 64 65 66 | 61 75 6c 74 20 25 73 29 |"%s (def|ault %s)|
|000034b0| 3a 20 22 20 70 72 6f 6d | 70 74 20 22 3a 20 22 20 |: " prom|pt ": " |
|000034c0| 72 65 61 64 2d 73 74 72 | 69 6e 67 20 61 6e 73 20 |read-str|ing ans |
|000034d0| 30 5d 20 35 5d 29 0a 23 | 40 31 30 31 20 52 65 74 |0] 5]).#|@101 Ret|
|000034e0| 75 72 6e 73 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |urns the| name of|
|000034f0| 20 74 68 65 20 66 75 6e | 63 74 69 6f 6e 20 63 61 | the fun|ction ca|
|00003500| 6c 6c 65 64 20 69 6e 20 | 74 68 65 20 63 75 72 72 |lled in |the curr|
|00003510| 65 6e 74 20 63 61 6c 6c | 2e 0a 54 68 65 20 76 61 |ent call|..The va|
|00003520| 6c 75 65 20 69 73 20 6e | 69 6c 20 69 66 20 69 74 |lue is n|il if it|
|00003530| 20 63 61 6e 27 74 20 66 | 69 6e 64 20 6f 6e 65 2e | can't f|ind one.|
|00003540| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 6c 69 73 |..(defal|ias 'lis|
|00003550| 70 2d 66 6e 2d 63 61 6c | 6c 65 64 2d 61 74 2d 70 |p-fn-cal|led-at-p|
|00003560| 74 20 23 5b 6e 69 6c 20 | 22 c0 c1 c2 8f 87 22 20 |t #[nil |"....." |
|00003570| 5b 6e 69 6c 20 28 62 79 | 74 65 2d 63 6f 64 65 20 |[nil (by|te-code |
|00003580| 22 8a 8c 65 60 c0 5a 5d | 64 7d 88 c1 c2 21 88 c2 |"..e`.Z]|d}...!..|
|00003590| 75 88 c3 70 21 89 1c 39 | ad 81 0c 2b 87 22 20 5b |u..p!..9|...+." [|
|000035a0| 31 30 30 30 20 62 61 63 | 6b 77 61 72 64 2d 75 70 |1000 bac|kward-up|
|000035b0| 2d 6c 69 73 74 20 31 20 | 72 65 61 64 20 6f 62 6a |-list 1 |read obj|
|000035c0| 5d 20 34 29 20 28 28 65 | 72 72 6f 72 29 29 5d 20 |] 4) ((e|rror))] |
|000035d0| 33 20 28 23 24 20 2e 20 | 31 33 35 33 33 29 5d 29 |3 (#$ . |13533)])|
|000035e0| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 6c 69 73 70 |.(defali|as 'lisp|
|000035f0| 2d 76 61 72 2d 61 74 2d | 70 74 20 23 5b 6e 69 6c |-var-at-|pt #[nil|
|00003600| 20 22 c0 c1 c2 8f 87 22 | 20 5b 6e 69 6c 20 28 62 | "....."| [nil (b|
|00003610| 79 74 65 2d 63 6f 64 65 | 20 22 8a c0 c1 21 88 c2 |yte-code| "...!..|
|00003620| c3 77 88 c4 70 21 89 1d | 39 ad 81 0d 2a 87 22 20 |.w..p!..|9...*." |
|00003630| 5b 66 6f 72 77 61 72 64 | 2d 73 65 78 70 20 2d 31 |[forward|-sexp -1|
|00003640| 20 22 27 22 20 6e 69 6c | 20 72 65 61 64 20 6f 62 | "'" nil| read ob|
|00003650| 6a 5d 20 33 29 20 28 28 | 65 72 72 6f 72 29 29 5d |j] 3) ((|error))]|
|00003660| 20 33 5d 29 0a 23 40 31 | 31 38 20 53 65 6e 64 20 | 3]).#@1|18 Send |
|00003670| 61 20 63 6f 6d 6d 61 6e | 64 20 74 6f 20 74 68 65 |a comman|d to the|
|00003680| 20 69 6e 66 65 72 69 6f | 72 20 4c 69 73 70 20 74 | inferio|r Lisp t|
|00003690| 6f 20 67 69 76 65 20 64 | 6f 63 75 6d 65 6e 74 61 |o give d|ocumenta|
|000036a0| 74 69 6f 6e 20 66 6f 72 | 20 66 75 6e 63 74 69 6f |tion for| functio|
|000036b0| 6e 20 46 4e 2e 0a 53 65 | 65 20 76 61 72 69 61 62 |n FN..Se|e variab|
|000036c0| 6c 65 20 60 6c 69 73 70 | 2d 66 75 6e 63 74 69 6f |le `lisp|-functio|
|000036d0| 6e 2d 64 6f 63 2d 63 6f | 6d 6d 61 6e 64 27 2e 1f |n-doc-co|mmand'..|
|000036e0| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 6c 69 73 70 |.(defali|as 'lisp|
|000036f0| 2d 73 68 6f 77 2d 66 75 | 6e 63 74 69 6f 6e 2d 64 |-show-fu|nction-d|
|00003700| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 23 5b 28 |ocumenta|tion #[(|
|00003710| 66 6e 29 20 22 c0 c1 20 | c2 0b 0c 5c 22 5c 22 87 |fn) ".. |...\"\".|
|00003720| 22 20 5b 63 6f 6d 69 6e | 74 2d 70 72 6f 63 2d 71 |" [comin|t-proc-q|
|00003730| 75 65 72 79 20 69 6e 66 | 65 72 69 6f 72 2d 6c 69 |uery inf|erior-li|
|00003740| 73 70 2d 70 72 6f 63 20 | 66 6f 72 6d 61 74 20 6c |sp-proc |format l|
|00003750| 69 73 70 2d 66 75 6e 63 | 74 69 6f 6e 2d 64 6f 63 |isp-func|tion-doc|
|00003760| 2d 63 6f 6d 6d 61 6e 64 | 20 66 6e 5d 20 35 20 28 |-command| fn] 5 (|
|00003770| 23 24 20 2e 20 31 33 39 | 33 31 29 20 28 62 79 74 |#$ . 139|31) (byt|
|00003780| 65 2d 63 6f 64 65 20 22 | c0 c1 c2 20 5c 22 87 22 |e-code "|... \"."|
|00003790| 20 5b 6c 69 73 70 2d 73 | 79 6d 70 72 6f 6d 70 74 | [lisp-s|ymprompt|
|000037a0| 20 22 46 75 6e 63 74 69 | 6f 6e 20 64 6f 63 22 20 | "Functi|on doc" |
|000037b0| 6c 69 73 70 2d 66 6e 2d | 63 61 6c 6c 65 64 2d 61 |lisp-fn-|called-a|
|000037c0| 74 2d 70 74 5d 20 33 29 | 5d 29 0a 23 40 31 31 33 |t-pt] 3)|]).#@113|
|000037d0| 20 53 65 6e 64 20 61 20 | 63 6f 6d 6d 61 6e 64 20 | Send a |command |
|000037e0| 74 6f 20 74 68 65 20 69 | 6e 66 65 72 69 6f 72 20 |to the i|nferior |
|000037f0| 4c 69 73 70 20 74 6f 20 | 67 69 76 65 20 64 6f 63 |Lisp to |give doc|
|00003800| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 66 6f 72 20 66 |umentati|on for f|
|00003810| 75 6e 63 74 69 6f 6e 20 | 46 4e 2e 0a 53 65 65 20 |unction |FN..See |
|00003820| 76 61 72 69 61 62 6c 65 | 20 60 6c 69 73 70 2d 76 |variable| `lisp-v|
|00003830| 61 72 2d 64 6f 63 2d 63 | 6f 6d 6d 61 6e 64 27 2e |ar-doc-c|ommand'.|
|00003840| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 6c 69 73 |..(defal|ias 'lis|
|00003850| 70 2d 73 68 6f 77 2d 76 | 61 72 69 61 62 6c 65 2d |p-show-v|ariable-|
|00003860| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 20 23 5b |document|ation #[|
|00003870| 28 76 61 72 29 20 22 c0 | c1 20 c2 0b 0c 5c 22 5c |(var) ".|. ...\"\|
|00003880| 22 87 22 20 5b 63 6f 6d | 69 6e 74 2d 70 72 6f 63 |"." [com|int-proc|
|00003890| 2d 71 75 65 72 79 20 69 | 6e 66 65 72 69 6f 72 2d |-query i|nferior-|
|000038a0| 6c 69 73 70 2d 70 72 6f | 63 20 66 6f 72 6d 61 74 |lisp-pro|c format|
|000038b0| 20 6c 69 73 70 2d 76 61 | 72 2d 64 6f 63 2d 63 6f | lisp-va|r-doc-co|
|000038c0| 6d 6d 61 6e 64 20 76 61 | 72 5d 20 35 20 28 23 24 |mmand va|r] 5 (#$|
|000038d0| 20 2e 20 31 34 32 38 39 | 29 20 28 62 79 74 65 2d | . 14289|) (byte-|
|000038e0| 63 6f 64 65 20 22 c0 c1 | c2 20 5c 22 87 22 20 5b |code "..|. \"." [|
|000038f0| 6c 69 73 70 2d 73 79 6d | 70 72 6f 6d 70 74 20 22 |lisp-sym|prompt "|
|00003900| 56 61 72 69 61 62 6c 65 | 20 64 6f 63 22 20 6c 69 |Variable| doc" li|
|00003910| 73 70 2d 76 61 72 2d 61 | 74 2d 70 74 5d 20 33 29 |sp-var-a|t-pt] 3)|
|00003920| 5d 29 0a 23 40 31 30 35 | 20 53 65 6e 64 20 61 20 |]).#@105| Send a |
|00003930| 71 75 65 72 79 20 74 6f | 20 74 68 65 20 69 6e 66 |query to| the inf|
|00003940| 65 72 69 6f 72 20 4c 69 | 73 70 20 66 6f 72 20 74 |erior Li|sp for t|
|00003950| 68 65 20 61 72 67 6c 69 | 73 74 20 66 6f 72 20 66 |he argli|st for f|
|00003960| 75 6e 63 74 69 6f 6e 20 | 46 4e 2e 0a 53 65 65 20 |unction |FN..See |
|00003970| 76 61 72 69 61 62 6c 65 | 20 60 6c 69 73 70 2d 61 |variable| `lisp-a|
|00003980| 72 67 6c 69 73 74 2d 63 | 6f 6d 6d 61 6e 64 27 2e |rglist-c|ommand'.|
|00003990| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 6c 69 73 |..(defal|ias 'lis|
|000039a0| 70 2d 73 68 6f 77 2d 61 | 72 67 6c 69 73 74 20 23 |p-show-a|rglist #|
|000039b0| 5b 28 66 6e 29 20 22 c0 | c1 20 c2 0b 0c 5c 22 5c |[(fn) ".|. ...\"\|
|000039c0| 22 87 22 20 5b 63 6f 6d | 69 6e 74 2d 70 72 6f 63 |"." [com|int-proc|
|000039d0| 2d 71 75 65 72 79 20 69 | 6e 66 65 72 69 6f 72 2d |-query i|nferior-|
|000039e0| 6c 69 73 70 2d 70 72 6f | 63 20 66 6f 72 6d 61 74 |lisp-pro|c format|
|000039f0| 20 6c 69 73 70 2d 61 72 | 67 6c 69 73 74 2d 63 6f | lisp-ar|glist-co|
|00003a00| 6d 6d 61 6e 64 20 66 6e | 5d 20 35 20 28 23 24 20 |mmand fn|] 5 (#$ |
|00003a10| 2e 20 31 34 36 33 33 29 | 20 28 62 79 74 65 2d 63 |. 14633)| (byte-c|
|00003a20| 6f 64 65 20 22 c0 c1 c2 | 20 5c 22 87 22 20 5b 6c |ode "...| \"." [l|
|00003a30| 69 73 70 2d 73 79 6d 70 | 72 6f 6d 70 74 20 22 41 |isp-symp|rompt "A|
|00003a40| 72 67 6c 69 73 74 22 20 | 6c 69 73 70 2d 66 6e 2d |rglist" |lisp-fn-|
|00003a50| 63 61 6c 6c 65 64 2d 61 | 74 2d 70 74 5d 20 33 29 |called-a|t-pt] 3)|
|00003a60| 5d 29 0a 23 40 31 30 33 | 20 53 65 6e 64 20 61 20 |]).#@103| Send a |
|00003a70| 63 6f 6d 6d 61 6e 64 20 | 74 6f 20 74 68 65 20 69 |command |to the i|
|00003a80| 6e 66 65 72 69 6f 72 20 | 4c 69 73 70 20 74 6f 20 |nferior |Lisp to |
|00003a90| 64 65 73 63 72 69 62 65 | 20 73 79 6d 62 6f 6c 20 |describe| symbol |
|00003aa0| 53 59 4d 2e 0a 53 65 65 | 20 76 61 72 69 61 62 6c |SYM..See| variabl|
|00003ab0| 65 20 60 6c 69 73 70 2d | 64 65 73 63 72 69 62 65 |e `lisp-|describe|
|00003ac0| 2d 73 79 6d 2d 63 6f 6d | 6d 61 6e 64 27 2e 1f 0a |-sym-com|mand'...|
|00003ad0| 28 64 65 66 61 6c 69 61 | 73 20 27 6c 69 73 70 2d |(defalia|s 'lisp-|
|00003ae0| 64 65 73 63 72 69 62 65 | 2d 73 79 6d 20 23 5b 28 |describe|-sym #[(|
|00003af0| 73 79 6d 29 20 22 c0 c1 | 20 c2 0b 0c 5c 22 5c 22 |sym) "..| ...\"\"|
|00003b00| 87 22 20 5b 63 6f 6d 69 | 6e 74 2d 70 72 6f 63 2d |." [comi|nt-proc-|
|00003b10| 71 75 65 72 79 20 69 6e | 66 65 72 69 6f 72 2d 6c |query in|ferior-l|
|00003b20| 69 73 70 2d 70 72 6f 63 | 20 66 6f 72 6d 61 74 20 |isp-proc| format |
|00003b30| 6c 69 73 70 2d 64 65 73 | 63 72 69 62 65 2d 73 79 |lisp-des|cribe-sy|
|00003b40| 6d 2d 63 6f 6d 6d 61 6e | 64 20 73 79 6d 5d 20 35 |m-comman|d sym] 5|
|00003b50| 20 28 23 24 20 2e 20 31 | 34 39 35 33 29 20 28 62 | (#$ . 1|4953) (b|
|00003b60| 79 74 65 2d 63 6f 64 65 | 20 22 c0 c1 c2 20 5c 22 |yte-code| "... \"|
|00003b70| 87 22 20 5b 6c 69 73 70 | 2d 73 79 6d 70 72 6f 6d |." [lisp|-symprom|
|00003b80| 70 74 20 22 44 65 73 63 | 72 69 62 65 22 20 6c 69 |pt "Desc|ribe" li|
|00003b90| 73 70 2d 76 61 72 2d 61 | 74 2d 70 74 5d 20 33 29 |sp-var-a|t-pt] 3)|
|00003ba0| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 69 6e |]).(defa|lias 'in|
|00003bb0| 66 65 72 69 6f 72 2d 6c | 69 73 70 2d 70 72 6f 63 |ferior-l|isp-proc|
|00003bc0| 20 23 5b 6e 69 6c 20 22 | c0 09 c2 61 ab 83 70 aa | #[nil "|...a..p.|
|00003bd0| 81 0b 21 89 1c ae 83 c5 | c6 21 29 87 22 20 5b 67 |..!.....|.!)." [g|
|00003be0| 65 74 2d 62 75 66 66 65 | 72 2d 70 72 6f 63 65 73 |et-buffe|r-proces|
|00003bf0| 73 20 6d 61 6a 6f 72 2d | 6d 6f 64 65 20 69 6e 66 |s major-|mode inf|
|00003c00| 65 72 69 6f 72 2d 6c 69 | 73 70 2d 6d 6f 64 65 20 |erior-li|sp-mode |
|00003c10| 69 6e 66 65 72 69 6f 72 | 2d 6c 69 73 70 2d 62 75 |inferior|-lisp-bu|
|00003c20| 66 66 65 72 20 70 72 6f | 63 20 65 72 72 6f 72 20 |ffer pro|c error |
|00003c30| 22 4e 6f 20 4c 69 73 70 | 20 73 75 62 70 72 6f 63 |"No Lisp| subproc|
|00003c40| 65 73 73 3b 20 73 65 65 | 20 76 61 72 69 61 62 6c |ess; see| variabl|
|00003c50| 65 20 60 69 6e 66 65 72 | 69 6f 72 2d 6c 69 73 70 |e `infer|ior-lisp|
|00003c60| 2d 62 75 66 66 65 72 27 | 22 5d 20 34 5d 29 0a 23 |-buffer'|"] 4]).#|
|00003c70| 40 39 38 20 54 68 69 73 | 20 68 6f 6f 6b 20 69 73 |@98 This| hook is|
|00003c80| 20 72 75 6e 20 77 68 65 | 6e 20 74 68 65 20 6c 69 | run whe|n the li|
|00003c90| 62 72 61 72 79 20 60 69 | 6e 66 2d 6c 69 73 70 27 |brary `i|nf-lisp'|
|00003ca0| 20 69 73 20 6c 6f 61 64 | 65 64 2e 0a 54 68 69 73 | is load|ed..This|
|00003cb0| 20 69 73 20 61 20 67 6f | 6f 64 20 70 6c 61 63 65 | is a go|od place|
|00003cc0| 20 74 6f 20 70 75 74 20 | 6b 65 79 62 69 6e 64 69 | to put |keybindi|
|00003cd0| 6e 67 73 2e 1f 0a 28 64 | 65 66 76 61 72 20 69 6e |ngs...(d|efvar in|
|00003ce0| 66 65 72 69 6f 72 2d 6c | 69 73 70 2d 6c 6f 61 64 |ferior-l|isp-load|
|00003cf0| 2d 68 6f 6f 6b 20 6e 69 | 6c 20 28 23 24 20 2e 20 |-hook ni|l (#$ . |
|00003d00| 31 35 34 37 36 29 29 0a | 28 62 79 74 65 2d 63 6f |15476)).|(byte-co|
|00003d10| 64 65 20 22 c0 c1 21 88 | c2 c3 21 87 22 20 5b 72 |de "..!.|..!." [r|
|00003d20| 75 6e 2d 68 6f 6f 6b 73 | 20 69 6e 66 65 72 69 6f |un-hooks| inferio|
|00003d30| 72 2d 6c 69 73 70 2d 6c | 6f 61 64 2d 68 6f 6f 6b |r-lisp-l|oad-hook|
|00003d40| 20 70 72 6f 76 69 64 65 | 20 69 6e 66 2d 6c 69 73 | provide| inf-lis|
|00003d50| 70 5d 20 32 29 0a | |p] 2). | |
+--------+-------------------------+-------------------------+--------+--------+