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

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


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

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



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 63 74 68 6f 6d 70 40 |piled by| cthomp@|
|00000020| 77 69 6c 6c 6f 77 2e 63 | 73 2e 75 69 75 63 2e 65 |willow.c|s.uiuc.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 41 75 67 20 32 39 |du on Tu|e Aug 29|
|00000040| 20 31 34 3a 30 39 3a 35 | 31 20 31 39 39 35 0a 3b | 14:09:5|1 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 78 65 |;; from |file /xe|
|00000060| 6d 61 63 73 2f 78 65 6d | 61 63 73 2d 31 39 2e 31 |macs/xem|acs-19.1|
|00000070| 33 2d 72 65 6c 65 61 73 | 65 2f 65 64 69 74 6f 72 |3-releas|e/editor|
|00000080| 2f 6c 69 73 70 2f 6d 6f | 64 65 73 2f 70 72 6f 6c |/lisp/mo|des/prol|
|00000090| 6f 67 2e 65 6c 0a 3b 3b | 3b 20 65 6d 61 63 73 20 |og.el.;;|; emacs |
|000000a0| 76 65 72 73 69 6f 6e 20 | 31 39 2e 31 33 20 58 45 |version |19.13 XE|
|000000b0| 6d 61 63 73 20 4c 75 63 | 69 64 2e 0a 3b 3b 3b 20 |macs Luc|id..;;; |
|000000c0| 62 79 74 65 63 6f 6d 70 | 20 76 65 72 73 69 6f 6e |bytecomp| version|
|000000d0| 20 32 2e 32 35 3b 20 31 | 2d 53 65 70 2d 39 34 2e | 2.25; 1|-Sep-94.|
|000000e0| 0a 3b 3b 3b 20 6f 70 74 | 69 6d 69 7a 61 74 69 6f |.;;; opt|imizatio|
|000000f0| 6e 20 69 73 20 6f 6e 2e | 0a 3b 3b 3b 20 74 68 69 |n is on.|.;;; thi|
|00000100| 73 20 66 69 6c 65 20 75 | 73 65 73 20 6f 70 63 6f |s file u|ses opco|
|00000110| 64 65 73 20 77 68 69 63 | 68 20 64 6f 20 6e 6f 74 |des whic|h do not|
|00000120| 20 65 78 69 73 74 20 69 | 6e 20 45 6d 61 63 73 20 | exist i|n Emacs |
|00000130| 31 38 2e 0a 0a 28 69 66 | 20 28 61 6e 64 20 28 62 |18...(if| (and (b|
|00000140| 6f 75 6e 64 70 20 27 65 | 6d 61 63 73 2d 76 65 72 |oundp 'e|macs-ver|
|00000150| 73 69 6f 6e 29 0a 09 20 | 28 6f 72 20 28 61 6e 64 |sion).. |(or (and|
|00000160| 20 28 62 6f 75 6e 64 70 | 20 27 65 70 6f 63 68 3a | (boundp| 'epoch:|
|00000170| 3a 76 65 72 73 69 6f 6e | 29 20 65 70 6f 63 68 3a |:version|) epoch:|
|00000180| 3a 76 65 72 73 69 6f 6e | 29 0a 09 20 20 20 20 20 |:version|).. |
|00000190| 28 73 74 72 69 6e 67 2d | 6c 65 73 73 70 20 65 6d |(string-|lessp em|
|000001a0| 61 63 73 2d 76 65 72 73 | 69 6f 6e 20 22 31 39 22 |acs-vers|ion "19"|
|000001b0| 29 29 29 0a 20 20 20 20 | 28 65 72 72 6f 72 20 22 |))). |(error "|
|000001c0| 54 68 69 73 20 66 69 6c | 65 20 77 61 73 20 63 6f |This fil|e was co|
|000001d0| 6d 70 69 6c 65 64 20 66 | 6f 72 20 45 6d 61 63 73 |mpiled f|or Emacs|
|000001e0| 20 31 39 2e 22 29 29 0a | 0a 28 62 79 74 65 2d 63 | 19.")).|.(byte-c|
|000001f0| 6f 64 65 20 22 c0 c1 21 | ac 82 c2 11 c0 c3 21 ac |ode "..!|......!.|
|00000200| 82 c2 13 c0 c4 21 ac 82 | c2 14 c2 87 22 20 5b 62 |.....!..|...." [b|
|00000210| 6f 75 6e 64 70 20 70 72 | 6f 6c 6f 67 2d 6d 6f 64 |oundp pr|olog-mod|
|00000220| 65 2d 73 79 6e 74 61 78 | 2d 74 61 62 6c 65 20 6e |e-syntax|-table n|
|00000230| 69 6c 20 70 72 6f 6c 6f | 67 2d 6d 6f 64 65 2d 61 |il prolo|g-mode-a|
|00000240| 62 62 72 65 76 2d 74 61 | 62 6c 65 20 70 72 6f 6c |bbrev-ta|ble prol|
|00000250| 6f 67 2d 6d 6f 64 65 2d | 6d 61 70 5d 20 32 29 0a |og-mode-|map] 2).|
|00000260| 28 64 65 66 76 61 72 20 | 70 72 6f 6c 6f 67 2d 70 |(defvar |prolog-p|
|00000270| 72 6f 67 72 61 6d 2d 6e | 61 6d 65 20 22 70 72 6f |rogram-n|ame "pro|
|00000280| 6c 6f 67 22 20 22 5c 0a | 2a 50 72 6f 67 72 61 6d |log" "\.|*Program|
|00000290| 20 6e 61 6d 65 20 66 6f | 72 20 69 6e 76 6f 6b 69 | name fo|r invoki|
|000002a0| 6e 67 20 61 6e 20 69 6e | 66 65 72 69 6f 72 20 50 |ng an in|ferior P|
|000002b0| 72 6f 6c 6f 67 20 77 69 | 74 68 20 60 72 75 6e 2d |rolog wi|th `run-|
|000002c0| 70 72 6f 6c 6f 67 27 2e | 22 29 0a 28 64 65 66 76 |prolog'.|").(defv|
|000002d0| 61 72 20 70 72 6f 6c 6f | 67 2d 63 6f 6e 73 75 6c |ar prolo|g-consul|
|000002e0| 74 2d 73 74 72 69 6e 67 | 20 22 72 65 63 6f 6e 73 |t-string| "recons|
|000002f0| 75 6c 74 28 75 73 65 72 | 29 2e 5c 6e 22 20 22 5c |ult(user|).\n" "\|
|00000300| 0a 2a 28 52 65 29 43 6f | 6e 73 75 6c 74 20 6d 6f |.*(Re)Co|nsult mo|
|00000310| 64 65 20 28 66 6f 72 20 | 43 2d 50 72 6f 6c 6f 67 |de (for |C-Prolog|
|00000320| 20 61 6e 64 20 51 75 69 | 6e 74 75 73 20 50 72 6f | and Qui|ntus Pro|
|00000330| 6c 6f 67 29 2e 20 22 29 | 0a 28 64 65 66 76 61 72 |log). ")|.(defvar|
|00000340| 20 70 72 6f 6c 6f 67 2d | 63 6f 6d 70 69 6c 65 2d | prolog-|compile-|
|00000350| 73 74 72 69 6e 67 20 22 | 63 6f 6d 70 69 6c 65 28 |string "|compile(|
|00000360| 75 73 65 72 29 2e 5c 6e | 22 20 22 5c 0a 2a 43 6f |user).\n|" "\.*Co|
|00000370| 6d 70 69 6c 65 20 6d 6f | 64 65 20 28 66 6f 72 20 |mpile mo|de (for |
|00000380| 51 75 69 6e 74 75 73 20 | 50 72 6f 6c 6f 67 29 2e |Quintus |Prolog).|
|00000390| 22 29 0a 28 64 65 66 76 | 61 72 20 70 72 6f 6c 6f |").(defv|ar prolo|
|000003a0| 67 2d 65 6f 66 2d 73 74 | 72 69 6e 67 20 22 65 6e |g-eof-st|ring "en|
|000003b0| 64 5f 6f 66 5f 66 69 6c | 65 2e 5c 6e 22 20 22 5c |d_of_fil|e.\n" "\|
|000003c0| 0a 2a 53 74 72 69 6e 67 | 20 74 68 61 74 20 72 65 |.*String| that re|
|000003d0| 70 72 65 73 65 6e 74 73 | 20 65 6e 64 20 6f 66 20 |presents| end of |
|000003e0| 66 69 6c 65 20 66 6f 72 | 20 70 72 6f 6c 6f 67 2e |file for| prolog.|
|000003f0| 0a 6e 69 6c 20 6d 65 61 | 6e 73 20 73 65 6e 64 20 |.nil mea|ns send |
|00000400| 61 63 74 75 61 6c 20 6f | 70 65 72 61 69 6e 67 20 |actual o|peraing |
|00000410| 73 79 73 74 65 6d 20 65 | 6e 64 20 6f 66 20 66 69 |system e|nd of fi|
|00000420| 6c 65 2e 22 29 0a 28 62 | 79 74 65 2d 63 6f 64 65 |le.").(b|yte-code|
|00000430| 20 22 c0 c1 21 ac 82 c2 | 11 0b ac ce c4 20 1d c6 | "..!...|..... ..|
|00000440| c7 c8 0d 23 88 c6 c9 ca | 0d 23 88 c6 cb cc 0d 23 |...#....|.#.....#|
|00000450| 88 c6 cd ce 0d 23 88 c6 | cf d0 0d 23 88 c6 d1 d2 |.....#..|...#....|
|00000460| 0d 23 88 c6 d3 d4 0d 23 | 88 c6 d5 d6 0d 23 88 c6 |.#.....#|.....#..|
|00000470| d7 d6 0d 23 88 c6 d8 d6 | 0d 23 88 c6 d9 d6 0d 23 |...#....|.#.....#|
|00000480| 88 c6 da d6 0d 23 88 0d | 13 29 db dc dd 5c 22 88 |.....#..|.)...\".|
|00000490| de df 4d 88 e0 e1 4d 88 | 0e 5c 22 ac 89 e3 20 16 |..M...M.|.\"... .|
|000004a0| 5c 22 e0 0e 5c 22 21 88 | dd 87 22 20 5b 62 6f 75 |\"..\"!.|.." [bou|
|000004b0| 6e 64 70 20 70 72 6f 6c | 6f 67 2d 69 6e 64 65 6e |ndp prol|og-inden|
|000004c0| 74 2d 77 69 64 74 68 20 | 34 20 70 72 6f 6c 6f 67 |t-width |4 prolog|
|000004d0| 2d 6d 6f 64 65 2d 73 79 | 6e 74 61 78 2d 74 61 62 |-mode-sy|ntax-tab|
|000004e0| 6c 65 20 6d 61 6b 65 2d | 73 79 6e 74 61 78 2d 74 |le make-|syntax-t|
|000004f0| 61 62 6c 65 20 74 61 62 | 6c 65 20 6d 6f 64 69 66 |able tab|le modif|
|00000500| 79 2d 73 79 6e 74 61 78 | 2d 65 6e 74 72 79 20 34 |y-syntax|-entry 4|
|00000510| 37 20 22 2e 20 31 34 22 | 20 34 32 20 22 2e 20 32 |7 ". 14"| 42 ". 2|
|00000520| 33 22 20 33 37 20 22 3c | 20 62 22 20 31 30 20 22 |3" 37 "<| b" 10 "|
|00000530| 3e 20 62 22 20 39 35 20 | 22 77 22 20 39 32 20 22 |> b" 95 |"w" 92 "|
|00000540| 5c 5c 22 20 33 39 20 22 | 5c 22 22 20 34 33 20 22 |\\" 39 "|\"" 43 "|
|00000550| 2e 22 20 34 35 20 36 31 | 20 36 30 20 36 32 20 64 |." 45 61| 60 62 d|
|00000560| 65 66 69 6e 65 2d 61 62 | 62 72 65 76 2d 74 61 62 |efine-ab|brev-tab|
|00000570| 6c 65 20 70 72 6f 6c 6f | 67 2d 6d 6f 64 65 2d 61 |le prolo|g-mode-a|
|00000580| 62 62 72 65 76 2d 74 61 | 62 6c 65 20 6e 69 6c 20 |bbrev-ta|ble nil |
|00000590| 70 72 6f 6c 6f 67 2d 6d | 6f 64 65 2d 76 61 72 69 |prolog-m|ode-vari|
|000005a0| 61 62 6c 65 73 20 23 5b | 6e 69 6c 20 22 c0 09 21 |ables #[|nil "..!|
|000005b0| 88 5c 6e 13 c4 c5 21 88 | c6 0e 07 50 15 c4 c8 21 |.\n...!.|...P...!|
|000005c0| 88 0d 16 08 c4 c9 21 88 | ca 16 09 c4 cb 21 88 cc |......!.|.....!..|
|000005d0| 16 0b c4 cd 21 88 ce 16 | 0d c4 cf 21 88 d0 16 0f |....!...|...!....|
|000005e0| c4 d1 21 88 d2 16 11 c4 | d3 21 88 d4 89 16 13 87 |..!.....|.!......|
|000005f0| 22 20 5b 73 65 74 2d 73 | 79 6e 74 61 78 2d 74 61 |" [set-s|yntax-ta|
|00000600| 62 6c 65 20 70 72 6f 6c | 6f 67 2d 6d 6f 64 65 2d |ble prol|og-mode-|
|00000610| 73 79 6e 74 61 78 2d 74 | 61 62 6c 65 20 70 72 6f |syntax-t|able pro|
|00000620| 6c 6f 67 2d 6d 6f 64 65 | 2d 61 62 62 72 65 76 2d |log-mode|-abbrev-|
|00000630| 74 61 62 6c 65 20 6c 6f | 63 61 6c 2d 61 62 62 72 |table lo|cal-abbr|
|00000640| 65 76 2d 74 61 62 6c 65 | 20 6d 61 6b 65 2d 6c 6f |ev-table| make-lo|
|00000650| 63 61 6c 2d 76 61 72 69 | 61 62 6c 65 20 70 61 72 |cal-vari|able par|
|00000660| 61 67 72 61 70 68 2d 73 | 74 61 72 74 20 22 5e 25 |agraph-s|tart "^%|
|00000670| 25 5c 5c 7c 5e 24 5c 5c | 7c 22 20 70 61 67 65 2d |%\\|^$\\||" page-|
|00000680| 64 65 6c 69 6d 69 74 65 | 72 20 70 61 72 61 67 72 |delimite|r paragr|
|00000690| 61 70 68 2d 73 65 70 61 | 72 61 74 65 20 70 61 72 |aph-sepa|rate par|
|000006a0| 61 67 72 61 70 68 2d 69 | 67 6e 6f 72 65 2d 66 69 |agraph-i|gnore-fi|
|000006b0| 6c 6c 2d 70 72 65 66 69 | 78 20 74 20 69 6e 64 65 |ll-prefi|x t inde|
|000006c0| 6e 74 2d 6c 69 6e 65 2d | 66 75 6e 63 74 69 6f 6e |nt-line-|function|
|000006d0| 20 70 72 6f 6c 6f 67 2d | 69 6e 64 65 6e 74 2d 6c | prolog-|indent-l|
|000006e0| 69 6e 65 20 63 6f 6d 6d | 65 6e 74 2d 73 74 61 72 |ine comm|ent-star|
|000006f0| 74 20 22 25 22 20 63 6f | 6d 6d 65 6e 74 2d 73 74 |t "%" co|mment-st|
|00000700| 61 72 74 2d 73 6b 69 70 | 20 22 25 2b 20 2a 22 20 |art-skip| "%+ *" |
|00000710| 63 6f 6d 6d 65 6e 74 2d | 63 6f 6c 75 6d 6e 20 34 |comment-|column 4|
|00000720| 38 20 63 6f 6d 6d 65 6e | 74 2d 69 6e 64 65 6e 74 |8 commen|t-indent|
|00000730| 2d 68 6f 6f 6b 20 70 72 | 6f 6c 6f 67 2d 63 6f 6d |-hook pr|olog-com|
|00000740| 6d 65 6e 74 2d 69 6e 64 | 65 6e 74 5d 20 32 5d 20 |ment-ind|ent] 2] |
|00000750| 70 72 6f 6c 6f 67 2d 6d | 6f 64 65 2d 63 6f 6d 6d |prolog-m|ode-comm|
|00000760| 61 6e 64 73 20 23 5b 28 | 6d 61 70 29 20 22 c0 09 |ands #[(|map) "..|
|00000770| c2 c3 23 88 c0 09 c4 c5 | 23 87 22 20 5b 64 65 66 |..#.....|#." [def|
|00000780| 69 6e 65 2d 6b 65 79 20 | 6d 61 70 20 22 09 22 20 |ine-key |map "." |
|00000790| 70 72 6f 6c 6f 67 2d 69 | 6e 64 65 6e 74 2d 6c 69 |prolog-i|ndent-li|
|000007a0| 6e 65 20 22 1b 18 22 20 | 70 72 6f 6c 6f 67 2d 63 |ne ".." |prolog-c|
|000007b0| 6f 6e 73 75 6c 74 2d 72 | 65 67 69 6f 6e 5d 20 34 |onsult-r|egion] 4|
|000007c0| 5d 20 70 72 6f 6c 6f 67 | 2d 6d 6f 64 65 2d 6d 61 |] prolog|-mode-ma|
|000007d0| 70 20 6d 61 6b 65 2d 73 | 70 61 72 73 65 2d 6b 65 |p make-s|parse-ke|
|000007e0| 79 6d 61 70 5d 20 34 29 | 0a 28 66 73 65 74 20 27 |ymap] 4)|.(fset '|
|000007f0| 70 72 6f 6c 6f 67 2d 6d | 6f 64 65 20 23 5b 6e 69 |prolog-m|ode #[ni|
|00000800| 6c 20 22 c0 20 88 c1 5c | 6e 21 88 c3 14 c5 16 06 |l ". ..\|n!......|
|00000810| c7 20 88 c8 c9 21 87 22 | 20 5b 6b 69 6c 6c 2d 61 |. ...!."| [kill-a|
|00000820| 6c 6c 2d 6c 6f 63 61 6c | 2d 76 61 72 69 61 62 6c |ll-local|-variabl|
|00000830| 65 73 20 75 73 65 2d 6c | 6f 63 61 6c 2d 6d 61 70 |es use-l|ocal-map|
|00000840| 20 70 72 6f 6c 6f 67 2d | 6d 6f 64 65 2d 6d 61 70 | prolog-|mode-map|
|00000850| 20 70 72 6f 6c 6f 67 2d | 6d 6f 64 65 20 6d 61 6a | prolog-|mode maj|
|00000860| 6f 72 2d 6d 6f 64 65 20 | 22 50 72 6f 6c 6f 67 22 |or-mode |"Prolog"|
|00000870| 20 6d 6f 64 65 2d 6e 61 | 6d 65 20 70 72 6f 6c 6f | mode-na|me prolo|
|00000880| 67 2d 6d 6f 64 65 2d 76 | 61 72 69 61 62 6c 65 73 |g-mode-v|ariables|
|00000890| 20 72 75 6e 2d 68 6f 6f | 6b 73 20 70 72 6f 6c 6f | run-hoo|ks prolo|
|000008a0| 67 2d 6d 6f 64 65 2d 68 | 6f 6f 6b 5d 20 32 20 22 |g-mode-h|ook] 2 "|
|000008b0| 5c 0a 4d 61 6a 6f 72 20 | 6d 6f 64 65 20 66 6f 72 |\.Major |mode for|
|000008c0| 20 65 64 69 74 69 6e 67 | 20 50 72 6f 6c 6f 67 20 | editing| Prolog |
|000008d0| 63 6f 64 65 20 66 6f 72 | 20 50 72 6f 6c 6f 67 73 |code for| Prologs|
|000008e0| 2e 0a 42 6c 61 6e 6b 20 | 6c 69 6e 65 73 20 61 6e |..Blank |lines an|
|000008f0| 64 20 60 25 25 2e 2e 2e | 27 20 73 65 70 61 72 61 |d `%%...|' separa|
|00000900| 74 65 20 70 61 72 61 67 | 72 61 70 68 73 2e 20 20 |te parag|raphs. |
|00000910| 60 25 27 73 20 73 74 61 | 72 74 20 63 6f 6d 6d 65 |`%'s sta|rt comme|
|00000920| 6e 74 73 2e 0a 43 6f 6d | 6d 61 6e 64 73 3a 0a 5c |nts..Com|mands:.\|
|00000930| 5c 7b 70 72 6f 6c 6f 67 | 2d 6d 6f 64 65 2d 6d 61 |\{prolog|-mode-ma|
|00000940| 70 7d 0a 45 6e 74 72 79 | 20 74 6f 20 74 68 69 73 |p}.Entry| to this|
|00000950| 20 6d 6f 64 65 20 63 61 | 6c 6c 73 20 74 68 65 20 | mode ca|lls the |
|00000960| 76 61 6c 75 65 20 6f 66 | 20 70 72 6f 6c 6f 67 2d |value of| prolog-|
|00000970| 6d 6f 64 65 2d 68 6f 6f | 6b 0a 69 66 20 74 68 61 |mode-hoo|k.if tha|
|00000980| 74 20 76 61 6c 75 65 20 | 69 73 20 6e 6f 6e 2d 6e |t value |is non-n|
|00000990| 69 6c 2e 22 20 6e 69 6c | 5d 29 0a 28 66 73 65 74 |il." nil|]).(fset|
|000009a0| 20 27 70 72 6f 6c 6f 67 | 2d 69 6e 64 65 6e 74 2d | 'prolog|-indent-|
|000009b0| 6c 69 6e 65 20 23 5b 28 | 26 6f 70 74 69 6f 6e 61 |line #[(|&optiona|
|000009c0| 6c 20 77 68 6f 6c 65 2d | 65 78 70 29 20 22 c0 20 |l whole-|exp) ". |
|000009d0| 64 60 5a c1 1a 1b 1c c5 | 79 88 60 12 c6 c1 77 88 |d`Z.....|y.`...w.|
|000009e0| 0c 69 5a c5 55 ac 87 5c | 6e 60 7c 88 0c 6a 88 64 |.iZ.U..\|n`|..j.d|
|000009f0| 0b 5a 60 56 ad 84 64 0b | 5a 62 2b 87 22 20 5b 70 |.Z`V..d.|Zb+." [p|
|00000a00| 72 6f 6c 6f 67 2d 69 6e | 64 65 6e 74 2d 6c 65 76 |rolog-in|dent-lev|
|00000a10| 65 6c 20 6e 69 6c 20 62 | 65 67 20 70 6f 73 20 69 |el nil b|eg pos i|
|00000a20| 6e 64 65 6e 74 20 30 20 | 22 20 09 22 5d 20 33 20 |ndent 0 |" ."] 3 |
|00000a30| 22 5c 0a 49 6e 64 65 6e | 74 20 63 75 72 72 65 6e |"\.Inden|t curren|
|00000a40| 74 20 6c 69 6e 65 20 61 | 73 20 50 72 6f 6c 6f 67 |t line a|s Prolog|
|00000a50| 20 63 6f 64 65 2e 0a 57 | 69 74 68 20 61 72 67 75 | code..W|ith argu|
|00000a60| 6d 65 6e 74 2c 20 69 6e | 64 65 6e 74 20 61 6e 79 |ment, in|dent any|
|00000a70| 20 61 64 64 69 74 69 6f | 6e 61 6c 20 6c 69 6e 65 | additio|nal line|
|00000a80| 73 20 6f 66 20 74 68 65 | 20 73 61 6d 65 20 63 6c |s of the| same cl|
|00000a90| 61 75 73 65 0a 72 69 67 | 69 64 6c 79 20 61 6c 6f |ause.rig|idly alo|
|00000aa0| 6e 67 20 77 69 74 68 20 | 74 68 69 73 20 6f 6e 65 |ng with |this one|
|00000ab0| 20 28 6e 6f 74 20 79 65 | 74 29 2e 22 20 22 70 22 | (not ye|t)." "p"|
|00000ac0| 5d 29 0a 28 66 73 65 74 | 20 27 70 72 6f 6c 6f 67 |]).(fset| 'prolog|
|00000ad0| 2d 69 6e 64 65 6e 74 2d | 6c 65 76 65 6c 20 23 5b |-indent-|level #[|
|00000ae0| 6e 69 6c 20 22 8a c0 79 | 88 c1 c2 77 88 c3 c4 21 |nil "..y|...w...!|
|00000af0| ab 84 c0 82 c5 00 c3 c5 | 21 ab 85 0e 06 82 c5 00 |........|!.......|
|00000b00| 6f ab 84 c0 82 c5 00 c7 | c2 89 89 1e 08 1e 09 1e |o.......|........|
|00000b10| 5c 6e 1e 0b c3 cc 21 ab | 85 c7 16 08 aa 83 c2 16 |\n....!.|........|
|00000b20| 08 0e 0b ab a3 cd 79 88 | c0 79 88 6f ab 86 c2 89 |......y.|.y.o....|
|00000b30| 16 0b aa 6f c1 c2 77 88 | c3 c5 21 ac 64 c3 ce 21 |...o..w.|..!.d..!|
|00000b40| ac 5f c2 89 16 0b ac 5d | 6f ab 85 c0 16 5c 6e aa |._.....]|o....\n.|
|00000b50| 83 69 16 5c 6e c3 cf 21 | ab 84 0e 5c 6e aa ce c3 |.i.\n..!|...\n...|
|00000b60| d0 21 ab 85 c7 16 09 aa | 83 c2 16 09 d1 20 88 6f |.!......|..... .o|
|00000b70| ac 83 cd 75 88 c3 d2 21 | ab 97 0e 09 ab 8c c3 d3 |...u...!|........|
|00000b80| 21 ab 87 0e 5c 6e 0e 14 | 5c 5c aa a3 0e 15 0e 5c |!...\n..|\\.....\|
|00000b90| 6e 5d aa 9c c3 d6 21 ab | 84 0e 15 aa 93 0e 08 ac |n]....!.|........|
|00000ba0| 85 c3 d7 21 ab 89 0e 5c | 6e 0e 14 5a c0 5d aa 81 |...!...\|n..Z.]..|
|00000bb0| c0 2c 29 87 22 20 5b 30 | 20 22 20 09 22 20 6e 69 |.,)." [0| " ." ni|
|00000bc0| 6c 20 6c 6f 6f 6b 69 6e | 67 2d 61 74 20 22 25 25 |l lookin|g-at "%%|
|00000bd0| 25 22 20 22 25 5b 5e 25 | 5d 22 20 63 6f 6d 6d 65 |%" "%[^%|]" comme|
|00000be0| 6e 74 2d 63 6f 6c 75 6d | 6e 20 74 20 6c 65 73 73 |nt-colum|n t less|
|00000bf0| 20 6d 6f 72 65 20 69 6e | 64 20 65 6d 70 74 79 20 | more in|d empty |
|00000c00| 22 29 22 20 2d 31 20 22 | 5c 6e 22 20 22 25 25 5b |")" -1 "|\n" "%%[|
|00000c10| 5e 25 5d 22 20 22 28 22 | 20 65 6e 64 2d 6f 66 2d |^%]" "("| end-of-|
|00000c20| 70 72 6f 6c 6f 67 2d 63 | 6c 61 75 73 65 20 22 5b |prolog-c|lause "[|
|00000c30| 2c 28 3b 3e 5d 22 20 22 | 5b 5e 2c 5d 22 20 70 72 |,(;>]" "|[^,]" pr|
|00000c40| 6f 6c 6f 67 2d 69 6e 64 | 65 6e 74 2d 77 69 64 74 |olog-ind|ent-widt|
|00000c50| 68 20 74 61 62 2d 77 69 | 64 74 68 20 22 2d 22 20 |h tab-wi|dth "-" |
|00000c60| 22 5b 5e 2e 5d 22 5d 20 | 35 20 22 5c 0a 43 6f 6d |"[^.]"] |5 "\.Com|
|00000c70| 70 75 74 65 20 70 72 6f | 6c 6f 67 20 69 6e 64 65 |pute pro|log inde|
|00000c80| 6e 74 61 74 69 6f 6e 20 | 6c 65 76 65 6c 2e 22 5d |ntation |level."]|
|00000c90| 29 0a 28 66 73 65 74 20 | 27 65 6e 64 2d 6f 66 2d |).(fset |'end-of-|
|00000ca0| 70 72 6f 6c 6f 67 2d 63 | 6c 61 75 73 65 20 23 5b |prolog-c|lause #[|
|00000cb0| 6e 69 6c 20 22 c0 79 88 | 8a c1 7f 88 60 29 1a c3 |nil ".y.|....`)..|
|00000cc0| 0c 5c 6e c5 23 ab 84 c0 | 94 62 88 c6 c1 78 29 87 |.\n.#...|.b...x).|
|00000cd0| 22 20 5b 30 20 6e 69 6c | 20 65 6f 6c 70 6f 73 20 |" [0 nil| eolpos |
|00000ce0| 72 65 2d 73 65 61 72 63 | 68 2d 66 6f 72 77 61 72 |re-searc|h-forwar|
|00000cf0| 64 20 63 6f 6d 6d 65 6e | 74 2d 73 74 61 72 74 2d |d commen|t-start-|
|00000d00| 73 6b 69 70 20 6d 6f 76 | 65 20 22 20 09 22 5d 20 |skip mov|e " ."] |
|00000d10| 34 20 22 5c 0a 47 6f 20 | 74 6f 20 65 6e 64 20 6f |4 "\.Go |to end o|
|00000d20| 66 20 63 6c 61 75 73 65 | 20 69 6e 20 74 68 69 73 |f clause| in this|
|00000d30| 20 6c 69 6e 65 2e 22 5d | 29 0a 28 66 73 65 74 20 | line."]|).(fset |
|00000d40| 27 70 72 6f 6c 6f 67 2d | 63 6f 6d 6d 65 6e 74 2d |'prolog-|comment-|
|00000d50| 69 6e 64 65 6e 74 20 23 | 5b 6e 69 6c 20 22 c0 c1 |indent #|[nil "..|
|00000d60| 21 ab 82 c2 87 c0 c3 21 | ab 83 c4 20 87 8a c5 c6 |!......!|... ....|
|00000d70| 78 88 69 6e ab 83 c2 aa | 81 c7 5c 5c 0e 08 5d 29 |x.in....|..\\..])|
|00000d80| 87 22 20 5b 6c 6f 6f 6b | 69 6e 67 2d 61 74 20 22 |." [look|ing-at "|
|00000d90| 25 25 25 22 20 30 20 22 | 25 25 22 20 70 72 6f 6c |%%%" 0 "|%%" prol|
|00000da0| 6f 67 2d 69 6e 64 65 6e | 74 2d 6c 65 76 65 6c 20 |og-inden|t-level |
|00000db0| 22 20 09 22 20 6e 69 6c | 20 31 20 63 6f 6d 6d 65 |" ." nil| 1 comme|
|00000dc0| 6e 74 2d 63 6f 6c 75 6d | 6e 5d 20 32 20 22 5c 0a |nt-colum|n] 2 "\.|
|00000dd0| 43 6f 6d 70 75 74 65 20 | 70 72 6f 6c 6f 67 20 63 |Compute |prolog c|
|00000de0| 6f 6d 6d 65 6e 74 20 69 | 6e 64 65 6e 74 61 74 69 |omment i|ndentati|
|00000df0| 6f 6e 2e 22 5d 29 0a 28 | 62 79 74 65 2d 63 6f 64 |on."]).(|byte-cod|
|00000e00| 65 20 22 c0 c1 21 ac 82 | c2 11 c2 87 22 20 5b 62 |e "..!..|...." [b|
|00000e10| 6f 75 6e 64 70 20 69 6e | 66 65 72 69 6f 72 2d 70 |oundp in|ferior-p|
|00000e20| 72 6f 6c 6f 67 2d 6d 6f | 64 65 2d 6d 61 70 20 6e |rolog-mo|de-map n|
|00000e30| 69 6c 5d 20 32 29 0a 28 | 66 73 65 74 20 27 69 6e |il] 2).(|fset 'in|
|00000e40| 66 65 72 69 6f 72 2d 70 | 72 6f 6c 6f 67 2d 6d 6f |ferior-p|rolog-mo|
|00000e50| 64 65 20 23 5b 6e 69 6c | 20 22 c0 c1 21 88 c2 20 |de #[nil| "..!.. |
|00000e60| 88 c3 14 c5 16 06 c7 16 | 08 c9 20 88 0e 5c 6e ac |........|.. ..\n.|
|00000e70| 8b cb 0e 0c 21 16 5c 6e | cd 0e 5c 6e 21 88 ce 0e |....!.\n|..\n!...|
|00000e80| 5c 6e 21 88 cf d0 21 87 | 22 20 5b 72 65 71 75 69 |\n!...!.|" [requi|
|00000e90| 72 65 20 63 6f 6d 69 6e | 74 20 63 6f 6d 69 6e 74 |re comin|t comint|
|00000ea0| 2d 6d 6f 64 65 20 69 6e | 66 65 72 69 6f 72 2d 70 |-mode in|ferior-p|
|00000eb0| 72 6f 6c 6f 67 2d 6d 6f | 64 65 20 6d 61 6a 6f 72 |rolog-mo|de major|
|00000ec0| 2d 6d 6f 64 65 20 22 49 | 6e 66 65 72 69 6f 72 20 |-mode "I|nferior |
|00000ed0| 50 72 6f 6c 6f 67 22 20 | 6d 6f 64 65 2d 6e 61 6d |Prolog" |mode-nam|
|00000ee0| 65 20 22 5e 7c 20 5b 20 | 3f 5d 5b 2d 20 5d 20 2a |e "^| [ |?][- ] *|
|00000ef0| 22 20 63 6f 6d 69 6e 74 | 2d 70 72 6f 6d 70 74 2d |" comint|-prompt-|
|00000f00| 72 65 67 65 78 70 20 70 | 72 6f 6c 6f 67 2d 6d 6f |regexp p|rolog-mo|
|00000f10| 64 65 2d 76 61 72 69 61 | 62 6c 65 73 20 69 6e 66 |de-varia|bles inf|
|00000f20| 65 72 69 6f 72 2d 70 72 | 6f 6c 6f 67 2d 6d 6f 64 |erior-pr|olog-mod|
|00000f30| 65 2d 6d 61 70 20 63 6f | 70 79 2d 6b 65 79 6d 61 |e-map co|py-keyma|
|00000f40| 70 20 63 6f 6d 69 6e 74 | 2d 6d 6f 64 65 2d 6d 61 |p comint|-mode-ma|
|00000f50| 70 20 70 72 6f 6c 6f 67 | 2d 6d 6f 64 65 2d 63 6f |p prolog|-mode-co|
|00000f60| 6d 6d 61 6e 64 73 20 75 | 73 65 2d 6c 6f 63 61 6c |mmands u|se-local|
|00000f70| 2d 6d 61 70 20 72 75 6e | 2d 68 6f 6f 6b 73 20 70 |-map run|-hooks p|
|00000f80| 72 6f 6c 6f 67 2d 6d 6f | 64 65 2d 68 6f 6f 6b 5d |rolog-mo|de-hook]|
|00000f90| 20 32 20 22 5c 0a 4d 61 | 6a 6f 72 20 6d 6f 64 65 | 2 "\.Ma|jor mode|
|00000fa0| 20 66 6f 72 20 69 6e 74 | 65 72 61 63 74 69 6e 67 | for int|eracting|
|00000fb0| 20 77 69 74 68 20 61 6e | 20 69 6e 66 65 72 69 6f | with an| inferio|
|00000fc0| 72 20 50 72 6f 6c 6f 67 | 20 70 72 6f 63 65 73 73 |r Prolog| process|
|00000fd0| 2e 0a 0a 54 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |...The f|ollowing|
|00000fe0| 20 63 6f 6d 6d 61 6e 64 | 73 20 61 72 65 20 61 76 | command|s are av|
|00000ff0| 61 69 6c 61 62 6c 65 3a | 0a 5c 5c 7b 69 6e 66 65 |ailable:|.\\{infe|
|00001000| 72 69 6f 72 2d 70 72 6f | 6c 6f 67 2d 6d 6f 64 65 |rior-pro|log-mode|
|00001010| 2d 6d 61 70 7d 0a 0a 45 | 6e 74 72 79 20 74 6f 20 |-map}..E|ntry to |
|00001020| 74 68 69 73 20 6d 6f 64 | 65 20 63 61 6c 6c 73 20 |this mod|e calls |
|00001030| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 70 72 6f |the valu|e of pro|
|00001040| 6c 6f 67 2d 6d 6f 64 65 | 2d 68 6f 6f 6b 20 77 69 |log-mode|-hook wi|
|00001050| 74 68 20 6e 6f 20 61 72 | 67 75 6d 65 6e 74 73 2c |th no ar|guments,|
|00001060| 0a 69 66 20 74 68 61 74 | 20 76 61 6c 75 65 20 69 |.if that| value i|
|00001070| 73 20 6e 6f 6e 2d 6e 69 | 6c 2e 20 20 4c 69 6b 65 |s non-ni|l. Like|
|00001080| 77 69 73 65 20 77 69 74 | 68 20 74 68 65 20 76 61 |wise wit|h the va|
|00001090| 6c 75 65 20 6f 66 20 63 | 6f 6d 69 6e 74 2d 6d 6f |lue of c|omint-mo|
|000010a0| 64 65 2d 68 6f 6f 6b 2e | 0a 70 72 6f 6c 6f 67 2d |de-hook.|.prolog-|
|000010b0| 6d 6f 64 65 2d 68 6f 6f | 6b 20 69 73 20 63 61 6c |mode-hoo|k is cal|
|000010c0| 6c 65 64 20 61 66 74 65 | 72 20 63 6f 6d 69 6e 74 |led afte|r comint|
|000010d0| 2d 6d 6f 64 65 2d 68 6f | 6f 6b 2e 0a 0a 59 6f 75 |-mode-ho|ok...You|
|000010e0| 20 63 61 6e 20 73 65 6e | 64 20 74 65 78 74 20 74 | can sen|d text t|
|000010f0| 6f 20 74 68 65 20 69 6e | 66 65 72 69 6f 72 20 50 |o the in|ferior P|
|00001100| 72 6f 6c 6f 67 20 66 72 | 6f 6d 20 6f 74 68 65 72 |rolog fr|om other|
|00001110| 20 62 75 66 66 65 72 73 | 0a 75 73 69 6e 67 20 74 | buffers|.using t|
|00001120| 68 65 20 63 6f 6d 6d 61 | 6e 64 73 20 73 65 6e 64 |he comma|nds send|
|00001130| 2d 72 65 67 69 6f 6e 2c | 20 73 65 6e 64 2d 73 74 |-region,| send-st|
|00001140| 72 69 6e 67 20 61 6e 64 | 20 5c 5c 5b 70 72 6f 6c |ring and| \\[prol|
|00001150| 6f 67 2d 63 6f 6e 73 75 | 6c 74 2d 72 65 67 69 6f |og-consu|lt-regio|
|00001160| 6e 5d 2e 0a 0a 43 6f 6d | 6d 61 6e 64 73 3a 0a 54 |n]...Com|mands:.T|
|00001170| 61 62 20 69 6e 64 65 6e | 74 73 20 66 6f 72 20 50 |ab inden|ts for P|
|00001180| 72 6f 6c 6f 67 3b 20 77 | 69 74 68 20 61 72 67 75 |rolog; w|ith argu|
|00001190| 6d 65 6e 74 2c 20 73 68 | 69 66 74 73 20 72 65 73 |ment, sh|ifts res|
|000011a0| 74 0a 20 6f 66 20 65 78 | 70 72 65 73 73 69 6f 6e |t. of ex|pression|
|000011b0| 20 72 69 67 69 64 6c 79 | 20 77 69 74 68 20 74 68 | rigidly| with th|
|000011c0| 65 20 63 75 72 72 65 6e | 74 20 6c 69 6e 65 2e 0a |e curren|t line..|
|000011d0| 50 61 72 61 67 72 61 70 | 68 73 20 61 72 65 20 73 |Paragrap|hs are s|
|000011e0| 65 70 61 72 61 74 65 64 | 20 6f 6e 6c 79 20 62 79 |eparated| only by|
|000011f0| 20 62 6c 61 6e 6b 20 6c | 69 6e 65 73 20 61 6e 64 | blank l|ines and|
|00001200| 20 27 25 25 27 2e 20 27 | 25 27 73 20 73 74 61 72 | '%%'. '|%'s star|
|00001210| 74 20 63 6f 6d 6d 65 6e | 74 73 2e 0a 0a 52 65 74 |t commen|ts...Ret|
|00001220| 75 72 6e 20 61 74 20 65 | 6e 64 20 6f 66 20 62 75 |urn at e|nd of bu|
|00001230| 66 66 65 72 20 73 65 6e | 64 73 20 6c 69 6e 65 20 |ffer sen|ds line |
|00001240| 61 73 20 69 6e 70 75 74 | 2e 0a 52 65 74 75 72 6e |as input|..Return|
|00001250| 20 6e 6f 74 20 61 74 20 | 65 6e 64 20 63 6f 70 69 | not at |end copi|
|00001260| 65 73 20 72 65 73 74 20 | 6f 66 20 6c 69 6e 65 20 |es rest |of line |
|00001270| 74 6f 20 65 6e 64 20 61 | 6e 64 20 73 65 6e 64 73 |to end a|nd sends|
|00001280| 20 69 74 2e 0a 5c 5c 5b | 63 6f 6d 69 6e 74 2d 6b | it..\\[|comint-k|
|00001290| 69 6c 6c 2d 69 6e 70 75 | 74 5d 20 61 6e 64 20 5c |ill-inpu|t] and \|
|000012a0| 5c 5b 62 61 63 6b 77 61 | 72 64 2d 6b 69 6c 6c 2d |\[backwa|rd-kill-|
|000012b0| 77 6f 72 64 5d 20 61 72 | 65 20 6b 69 6c 6c 20 63 |word] ar|e kill c|
|000012c0| 6f 6d 6d 61 6e 64 73 2c | 20 69 6d 69 74 61 74 69 |ommands,| imitati|
|000012d0| 6e 67 20 6e 6f 72 6d 61 | 6c 20 55 6e 69 78 20 69 |ng norma|l Unix i|
|000012e0| 6e 70 75 74 20 65 64 69 | 74 69 6e 67 2e 0a 5c 5c |nput edi|ting..\\|
|000012f0| 5b 63 6f 6d 69 6e 74 2d | 69 6e 74 65 72 72 75 70 |[comint-|interrup|
|00001300| 74 2d 73 75 62 6a 6f 62 | 5d 20 69 6e 74 65 72 72 |t-subjob|] interr|
|00001310| 75 70 74 73 20 74 68 65 | 20 73 68 65 6c 6c 20 6f |upts the| shell o|
|00001320| 72 20 69 74 73 20 63 75 | 72 72 65 6e 74 20 73 75 |r its cu|rrent su|
|00001330| 62 6a 6f 62 20 69 66 20 | 61 6e 79 2e 0a 5c 5c 5b |bjob if |any..\\[|
|00001340| 63 6f 6d 69 6e 74 2d 73 | 74 6f 70 2d 73 75 62 6a |comint-s|top-subj|
|00001350| 6f 62 5d 20 73 74 6f 70 | 73 2e 20 5c 5c 5b 63 6f |ob] stop|s. \\[co|
|00001360| 6d 69 6e 74 2d 71 75 69 | 74 2d 73 75 62 6a 6f 62 |mint-qui|t-subjob|
|00001370| 5d 20 73 65 6e 64 73 20 | 71 75 69 74 20 73 69 67 |] sends |quit sig|
|00001380| 6e 61 6c 2e 22 20 6e 69 | 6c 5d 29 0a 28 66 73 65 |nal." ni|l]).(fse|
|00001390| 74 20 27 72 75 6e 2d 70 | 72 6f 6c 6f 67 20 23 5b |t 'run-p|rolog #[|
|000013a0| 6e 69 6c 20 22 c0 c1 21 | 88 c2 c3 c4 0d 5c 22 21 |nil "..!|.....\"!|
|000013b0| 88 c6 20 87 22 20 5b 72 | 65 71 75 69 72 65 20 63 |.. ." [r|equire c|
|000013c0| 6f 6d 69 6e 74 20 73 77 | 69 74 63 68 2d 74 6f 2d |omint sw|itch-to-|
|000013d0| 62 75 66 66 65 72 20 6d | 61 6b 65 2d 63 6f 6d 69 |buffer m|ake-comi|
|000013e0| 6e 74 20 22 70 72 6f 6c | 6f 67 22 20 70 72 6f 6c |nt "prol|og" prol|
|000013f0| 6f 67 2d 70 72 6f 67 72 | 61 6d 2d 6e 61 6d 65 20 |og-progr|am-name |
|00001400| 69 6e 66 65 72 69 6f 72 | 2d 70 72 6f 6c 6f 67 2d |inferior|-prolog-|
|00001410| 6d 6f 64 65 5d 20 34 20 | 22 5c 0a 52 75 6e 20 61 |mode] 4 |"\.Run a|
|00001420| 6e 20 69 6e 66 65 72 69 | 6f 72 20 50 72 6f 6c 6f |n inferi|or Prolo|
|00001430| 67 20 70 72 6f 63 65 73 | 73 2c 20 69 6e 70 75 74 |g proces|s, input|
|00001440| 20 61 6e 64 20 6f 75 74 | 70 75 74 20 76 69 61 20 | and out|put via |
|00001450| 62 75 66 66 65 72 20 2a | 70 72 6f 6c 6f 67 2a 2e |buffer *|prolog*.|
|00001460| 22 20 6e 69 6c 5d 29 0a | 28 66 73 65 74 20 27 70 |" nil]).|(fset 'p|
|00001470| 72 6f 6c 6f 67 2d 63 6f | 6e 73 75 6c 74 2d 72 65 |rolog-co|nsult-re|
|00001480| 67 69 6f 6e 20 23 5b 28 | 63 6f 6d 70 69 6c 65 20 |gion #[(|compile |
|00001490| 62 65 67 20 65 6e 64 29 | 20 22 8a 08 ab 87 c1 c2 |beg end)| "......|
|000014a0| 0b 5c 22 88 aa 85 c1 c2 | 0c 5c 22 88 c5 c2 0e 06 |.\".....|.\".....|
|000014b0| 0e 07 23 88 c1 c2 c8 5c | 22 88 0e 09 ab 87 c1 c2 |..#....\|".......|
|000014c0| 0e 09 5c 22 aa 83 ca c2 | 21 29 87 22 20 5b 63 6f |..\"....|!)." [co|
|000014d0| 6d 70 69 6c 65 20 73 65 | 6e 64 2d 73 74 72 69 6e |mpile se|nd-strin|
|000014e0| 67 20 22 70 72 6f 6c 6f | 67 22 20 70 72 6f 6c 6f |g "prolo|g" prolo|
|000014f0| 67 2d 63 6f 6d 70 69 6c | 65 2d 73 74 72 69 6e 67 |g-compil|e-string|
|00001500| 20 70 72 6f 6c 6f 67 2d | 63 6f 6e 73 75 6c 74 2d | prolog-|consult-|
|00001510| 73 74 72 69 6e 67 20 73 | 65 6e 64 2d 72 65 67 69 |string s|end-regi|
|00001520| 6f 6e 20 62 65 67 20 65 | 6e 64 20 22 5c 6e 22 20 |on beg e|nd "\n" |
|00001530| 70 72 6f 6c 6f 67 2d 65 | 6f 66 2d 73 74 72 69 6e |prolog-e|of-strin|
|00001540| 67 20 70 72 6f 63 65 73 | 73 2d 73 65 6e 64 2d 65 |g proces|s-send-e|
|00001550| 6f 66 5d 20 34 20 22 5c | 0a 53 65 6e 64 20 74 68 |of] 4 "\|.Send th|
|00001560| 65 20 72 65 67 69 6f 6e | 20 74 6f 20 74 68 65 20 |e region| to the |
|00001570| 50 72 6f 6c 6f 67 20 70 | 72 6f 63 65 73 73 20 6d |Prolog p|rocess m|
|00001580| 61 64 65 20 62 79 20 4d | 2d 78 20 72 75 6e 2d 70 |ade by M|-x run-p|
|00001590| 72 6f 6c 6f 67 2e 0a 20 | 49 66 20 43 4f 4d 50 49 |rolog.. |If COMPI|
|000015a0| 4c 45 20 28 70 72 65 66 | 69 78 20 61 72 67 29 20 |LE (pref|ix arg) |
|000015b0| 69 73 20 6e 6f 74 20 6e | 69 6c 2c 0a 20 75 73 65 |is not n|il,. use|
|000015c0| 20 63 6f 6d 70 69 6c 65 | 20 6d 6f 64 65 20 72 61 | compile| mode ra|
|000015d0| 74 68 65 72 20 74 68 61 | 6e 20 63 6f 6e 73 75 6c |ther tha|n consul|
|000015e0| 74 20 6d 6f 64 65 2e 22 | 20 22 50 5c 6e 72 22 5d |t mode."| "P\nr"]|
|000015f0| 29 0a 28 66 73 65 74 20 | 27 70 72 6f 6c 6f 67 2d |).(fset |'prolog-|
|00001600| 63 6f 6e 73 75 6c 74 2d | 72 65 67 69 6f 6e 2d 61 |consult-|region-a|
|00001610| 6e 64 2d 67 6f 20 23 5b | 28 63 6f 6d 70 69 6c 65 |nd-go #[|(compile|
|00001620| 20 62 65 67 20 65 6e 64 | 29 20 22 c0 09 5c 6e 0b | beg end|) "..\n.|
|00001630| 23 88 c4 c5 21 87 22 20 | 5b 70 72 6f 6c 6f 67 2d |#...!." |[prolog-|
|00001640| 63 6f 6e 73 75 6c 74 2d | 72 65 67 69 6f 6e 20 63 |consult-|region c|
|00001650| 6f 6d 70 69 6c 65 20 62 | 65 67 20 65 6e 64 20 73 |ompile b|eg end s|
|00001660| 77 69 74 63 68 2d 74 6f | 2d 62 75 66 66 65 72 20 |witch-to|-buffer |
|00001670| 22 2a 70 72 6f 6c 6f 67 | 2a 22 5d 20 34 20 22 5c |"*prolog|*"] 4 "\|
|00001680| 0a 53 65 6e 64 20 74 68 | 65 20 72 65 67 69 6f 6e |.Send th|e region|
|00001690| 20 74 6f 20 74 68 65 20 | 69 6e 66 65 72 69 6f 72 | to the |inferior|
|000016a0| 20 50 72 6f 6c 6f 67 2c | 20 61 6e 64 20 73 77 69 | Prolog,| and swi|
|000016b0| 74 63 68 20 74 6f 20 2a | 70 72 6f 6c 6f 67 2a 20 |tch to *|prolog* |
|000016c0| 62 75 66 66 65 72 2e 0a | 20 49 66 20 43 4f 4d 50 |buffer..| If COMP|
|000016d0| 49 4c 45 20 28 70 72 65 | 66 69 78 20 61 72 67 29 |ILE (pre|fix arg)|
|000016e0| 20 69 73 20 6e 6f 74 20 | 6e 69 6c 2c 0a 20 75 73 | is not |nil,. us|
|000016f0| 65 20 63 6f 6d 70 69 6c | 65 20 6d 6f 64 65 20 72 |e compil|e mode r|
|00001700| 61 74 68 65 72 20 74 68 | 61 6e 20 63 6f 6e 73 75 |ather th|an consu|
|00001710| 6c 74 20 6d 6f 64 65 2e | 22 20 22 50 5c 6e 72 22 |lt mode.|" "P\nr"|
|00001720| 5d 29 0a | |]). | |
+--------+-------------------------+-------------------------+--------+--------+