home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1995-08-29 | 6.2 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.
Confidence | Program | Detection | Match Type | Support
|
---|
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 34 | 39 20 31 39 39 35 0a 3b | 14:09:4|9 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 6f 73 74 |/lisp/mo|des/post|
|00000090| 73 63 72 69 70 74 2e 65 | 6c 0a 3b 3b 3b 20 65 6d |script.e|l.;;; em|
|000000a0| 61 63 73 20 76 65 72 73 | 69 6f 6e 20 31 39 2e 31 |acs vers|ion 19.1|
|000000b0| 33 20 58 45 6d 61 63 73 | 20 4c 75 63 69 64 2e 0a |3 XEmacs| Lucid..|
|000000c0| 3b 3b 3b 20 62 79 74 65 | 63 6f 6d 70 20 76 65 72 |;;; byte|comp ver|
|000000d0| 73 69 6f 6e 20 32 2e 32 | 35 3b 20 31 2d 53 65 70 |sion 2.2|5; 1-Sep|
|000000e0| 2d 39 34 2e 0a 3b 3b 3b | 20 6f 70 74 69 6d 69 7a |-94..;;;| optimiz|
|000000f0| 61 74 69 6f 6e 20 69 73 | 20 6f 6e 2e 0a 3b 3b 3b |ation is| on..;;;|
|00000100| 20 74 68 69 73 20 66 69 | 6c 65 20 75 73 65 73 20 | this fi|le uses |
|00000110| 6f 70 63 6f 64 65 73 20 | 77 68 69 63 68 20 64 6f |opcodes |which do|
|00000120| 20 6e 6f 74 20 65 78 69 | 73 74 20 69 6e 20 45 6d | not exi|st in Em|
|00000130| 61 63 73 20 31 38 2e 0a | 0a 28 69 66 20 28 61 6e |acs 18..|.(if (an|
|00000140| 64 20 28 62 6f 75 6e 64 | 70 20 27 65 6d 61 63 73 |d (bound|p 'emacs|
|00000150| 2d 76 65 72 73 69 6f 6e | 29 0a 09 20 28 6f 72 20 |-version|).. (or |
|00000160| 28 61 6e 64 20 28 62 6f | 75 6e 64 70 20 27 65 70 |(and (bo|undp 'ep|
|00000170| 6f 63 68 3a 3a 76 65 72 | 73 69 6f 6e 29 20 65 70 |och::ver|sion) ep|
|00000180| 6f 63 68 3a 3a 76 65 72 | 73 69 6f 6e 29 0a 09 20 |och::ver|sion).. |
|00000190| 20 20 20 20 28 73 74 72 | 69 6e 67 2d 6c 65 73 73 | (str|ing-less|
|000001a0| 70 20 65 6d 61 63 73 2d | 76 65 72 73 69 6f 6e 20 |p emacs-|version |
|000001b0| 22 31 39 22 29 29 29 0a | 20 20 20 20 28 65 72 72 |"19"))).| (err|
|000001c0| 6f 72 20 22 54 68 69 73 | 20 66 69 6c 65 20 77 61 |or "This| file wa|
|000001d0| 73 20 63 6f 6d 70 69 6c | 65 64 20 66 6f 72 20 45 |s compil|ed for E|
|000001e0| 6d 61 63 73 20 31 39 2e | 22 29 29 0a 0a 28 70 72 |macs 19.|"))..(pr|
|000001f0| 6f 76 69 64 65 20 27 70 | 6f 73 74 73 63 72 69 70 |ovide 'p|ostscrip|
|00000200| 74 29 0a 28 64 65 66 63 | 6f 6e 73 74 20 70 73 2d |t).(defc|onst ps-|
|00000210| 69 6e 64 65 6e 74 2d 6c | 65 76 65 6c 20 32 20 22 |indent-l|evel 2 "|
|00000220| 5c 0a 2a 49 6e 64 65 6e | 74 61 74 69 6f 6e 20 74 |\.*Inden|tation t|
|00000230| 6f 20 62 65 20 75 73 65 | 64 20 69 6e 73 69 64 65 |o be use|d inside|
|00000240| 20 6f 66 20 50 6f 73 74 | 53 63 72 69 70 74 20 62 | of Post|Script b|
|00000250| 6c 6f 63 6b 73 20 6f 72 | 20 61 72 72 61 79 73 22 |locks or| arrays"|
|00000260| 29 0a 28 64 65 66 63 6f | 6e 73 74 20 70 73 2d 74 |).(defco|nst ps-t|
|00000270| 61 62 2d 77 69 64 74 68 | 20 38 20 22 5c 0a 2a 54 |ab-width| 8 "\.*T|
|00000280| 61 62 20 73 74 6f 70 20 | 77 69 64 74 68 20 66 6f |ab stop |width fo|
|00000290| 72 20 50 6f 73 74 53 63 | 72 69 70 74 20 6d 6f 64 |r PostSc|ript mod|
|000002a0| 65 22 29 0a 28 66 73 65 | 74 20 27 70 73 2d 6d 61 |e").(fse|t 'ps-ma|
|000002b0| 6b 65 2d 74 61 62 73 20 | 23 5b 28 73 74 6f 70 29 |ke-tabs |#[(stop)|
|000002c0| 20 22 08 c1 57 ad 87 08 | c2 08 0b 5c 5c 21 42 87 | "..W...|...\\!B.|
|000002d0| 22 20 5b 73 74 6f 70 20 | 31 33 32 20 70 73 2d 6d |" [stop |132 ps-m|
|000002e0| 61 6b 65 2d 74 61 62 73 | 20 70 73 2d 74 61 62 2d |ake-tabs| ps-tab-|
|000002f0| 77 69 64 74 68 5d 20 34 | 5d 29 0a 28 64 65 66 63 |width] 4|]).(defc|
|00000300| 6f 6e 73 74 20 70 73 2d | 74 61 62 2d 73 74 6f 70 |onst ps-|tab-stop|
|00000310| 2d 6c 69 73 74 20 28 70 | 73 2d 6d 61 6b 65 2d 74 |-list (p|s-make-t|
|00000320| 61 62 73 20 70 73 2d 74 | 61 62 2d 77 69 64 74 68 |abs ps-t|ab-width|
|00000330| 29 20 22 5c 0a 2a 54 61 | 62 20 73 74 6f 70 20 6c |) "\.*Ta|b stop l|
|00000340| 69 73 74 20 66 6f 72 20 | 50 6f 73 74 53 63 72 69 |ist for |PostScri|
|00000350| 70 74 20 6d 6f 64 65 22 | 29 0a 28 64 65 66 63 6f |pt mode"|).(defco|
|00000360| 6e 73 74 20 70 73 2d 70 | 6f 73 74 73 63 72 69 70 |nst ps-p|ostscrip|
|00000370| 74 2d 63 6f 6d 6d 61 6e | 64 20 27 28 22 67 73 22 |t-comman|d '("gs"|
|00000380| 20 22 2d 22 29 20 22 5c | 0a 2a 43 6f 6d 6d 61 6e | "-") "\|.*Comman|
|00000390| 64 20 75 73 65 64 20 74 | 6f 20 69 6e 76 6f 6b 65 |d used t|o invoke|
|000003a0| 20 77 69 74 68 20 61 20 | 70 72 69 6e 74 65 72 20 | with a |printer |
|000003b0| 73 70 6f 6f 6c 65 72 20 | 6f 72 20 4e 65 57 53 20 |spooler |or NeWS |
|000003c0| 73 65 72 76 65 72 2e 22 | 29 0a 28 64 65 66 76 61 |server."|).(defva|
|000003d0| 72 20 70 73 2d 6d 6f 64 | 65 2d 6d 61 70 20 6e 69 |r ps-mod|e-map ni|
|000003e0| 6c 20 22 5c 0a 4b 65 79 | 6d 61 70 20 75 73 65 64 |l "\.Key|map used|
|000003f0| 20 69 6e 20 50 6f 73 74 | 53 63 72 69 70 74 20 6d | in Post|Script m|
|00000400| 6f 64 65 20 62 75 66 66 | 65 72 73 22 29 0a 28 64 |ode buff|ers").(d|
|00000410| 65 66 76 61 72 20 70 73 | 2d 6d 6f 64 65 2d 73 79 |efvar ps|-mode-sy|
|00000420| 6e 74 61 78 2d 74 61 62 | 6c 65 20 6e 69 6c 20 22 |ntax-tab|le nil "|
|00000430| 5c 0a 50 6f 73 74 53 63 | 72 69 70 74 20 6d 6f 64 |\.PostSc|ript mod|
|00000440| 65 20 73 79 6e 74 61 78 | 20 74 61 62 6c 65 22 29 |e syntax| table")|
|00000450| 0a 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 c1 21 |.(byte-c|ode "..!|
|00000460| ac a6 70 c2 c3 21 1c 1d | c6 8e 0c 71 88 c7 c8 20 |..p..!..|...q... |
|00000470| 21 88 c9 ca cb 5c 22 88 | cc 63 88 cd 65 64 5c 22 |!....\".|.c..ed\"|
|00000480| 89 1e 0e cf 9c ad 81 d0 | 2c 11 0e 11 84 ea 00 d2 |........|,.......|
|00000490| 1e 13 c8 d4 21 16 11 0e | 13 d5 57 ab 9a d6 0e 13 |....!...|..W.....|
|000004a0| 0e 11 5c 22 d7 55 ac 88 | c9 0e 13 d8 0e 11 23 88 |..\".U..|......#.|
|000004b0| 0e 13 54 89 16 13 aa 62 | c9 d9 da 0e 11 23 88 c9 |..T....b|.....#..|
|000004c0| db da 0e 11 23 88 c9 dc | da 0e 11 23 88 c9 dd da |....#...|...#....|
|000004d0| 0e 11 23 88 c9 de df 0e | 11 23 88 c9 e0 e1 0e 11 |..#.....|.#......|
|000004e0| 23 88 c9 e2 e3 0e 11 23 | 88 c9 e4 d8 0e 11 23 88 |#......#|......#.|
|000004f0| c9 e5 d8 0e 11 23 88 c9 | e6 d8 0e 11 23 88 c9 e7 |.....#..|....#...|
|00000500| e8 0e 11 23 88 09 ab 90 | c9 ca cb 0e 11 23 88 c9 |...#....|.....#..|
|00000510| e9 ea 0e 11 23 88 aa 8e | c9 ca eb 0e 11 23 88 c9 |....#...|.....#..|
|00000520| e9 ec 0e 11 23 88 c9 ed | ee 0e 11 23 88 c9 ef f0 |....#...|...#....|
|00000530| 0e 11 23 88 c9 f1 f2 0e | 11 23 88 c9 f3 f4 0e 11 |..#.....|.#......|
|00000540| 23 88 c9 e7 f5 0e 11 23 | 88 29 d4 87 22 20 5b 62 |#......#|.).." [b|
|00000550| 6f 75 6e 64 70 20 70 73 | 2d 62 61 6c 61 6e 63 65 |oundp ps|-balance|
|00000560| 64 2d 73 74 72 69 6e 67 | 2d 73 79 6e 74 61 78 2d |d-string|-syntax-|
|00000570| 70 20 67 65 6e 65 72 61 | 74 65 2d 6e 65 77 2d 62 |p genera|te-new-b|
|00000580| 75 66 66 65 72 20 22 78 | 22 20 6c 6f 73 65 72 20 |uffer "x|" loser |
|00000590| 62 20 28 28 62 79 74 65 | 2d 63 6f 64 65 20 22 08 |b ((byte|-code ".|
|000005a0| 71 88 c1 5c 6e 21 87 22 | 20 5b 62 20 6b 69 6c 6c |q..\n!."| [b kill|
|000005b0| 2d 62 75 66 66 65 72 20 | 6c 6f 73 65 72 5d 20 32 |-buffer |loser] 2|
|000005c0| 29 29 20 73 65 74 2d 73 | 79 6e 74 61 78 2d 74 61 |)) set-s|yntax-ta|
|000005d0| 62 6c 65 20 63 6f 70 79 | 2d 73 79 6e 74 61 78 2d |ble copy|-syntax-|
|000005e0| 74 61 62 6c 65 20 6d 6f | 64 69 66 79 2d 73 79 6e |table mo|dify-syn|
|000005f0| 74 61 78 2d 65 6e 74 72 | 79 20 34 30 20 22 5c 22 |tax-entr|y 40 "\"|
|00000600| 29 22 20 22 28 28 22 20 | 70 61 72 73 65 2d 70 61 |)" "((" |parse-pa|
|00000610| 72 74 69 61 6c 2d 73 65 | 78 70 20 76 20 33 20 74 |rtial-se|xp v 3 t|
|00000620| 20 70 73 2d 6d 6f 64 65 | 2d 73 79 6e 74 61 78 2d | ps-mode|-syntax-|
|00000630| 74 61 62 6c 65 20 30 20 | 69 20 6e 69 6c 20 32 35 |table 0 |i nil 25|
|00000640| 36 20 63 68 61 72 2d 73 | 79 6e 74 61 78 20 31 31 |6 char-s|yntax 11|
|00000650| 39 20 22 5f 22 20 33 32 | 20 22 20 22 20 39 20 31 |9 "_" 32| " " 9 1|
|00000660| 32 20 31 33 20 33 37 20 | 22 3c 22 20 31 30 20 22 |2 13 37 |"<" 10 "|
|00000670| 3e 22 20 39 32 20 22 5c | 5c 22 20 36 33 20 39 35 |>" 92 "\|\" 63 95|
|00000680| 20 34 36 20 34 37 20 22 | 27 22 20 34 31 20 22 5c | 46 47 "|'" 41 "\|
|00000690| 22 28 22 20 22 28 22 20 | 22 29 22 20 39 31 20 22 |"(" "(" |")" 91 "|
|000006a0| 28 5d 22 20 39 33 20 22 | 29 5b 22 20 31 32 33 20 |(]" 93 "|)[" 123 |
|000006b0| 22 28 7d 22 20 31 32 35 | 20 22 29 7d 22 20 22 27 |"(}" 125| ")}" "'|
|000006c0| 20 70 22 5d 20 35 29 0a | 28 66 73 65 74 20 27 70 | p"] 5).|(fset 'p|
|000006d0| 6f 73 74 73 63 72 69 70 | 74 2d 6d 6f 64 65 20 23 |ostscrip|t-mode #|
|000006e0| 5b 6e 69 6c 20 22 c0 20 | 88 c1 5c 6e 21 88 c3 0c |[nil ". |..\n!...|
|000006f0| 21 88 c5 c6 21 88 c7 16 | 06 c5 c8 21 88 c9 16 08 |!...!...|...!....|
|00000700| c5 ca 21 88 cb 16 5c 6e | c5 cc 21 88 cd 16 0c c5 |..!...\n|..!.....|
|00000710| ce 21 88 0e 0f 16 0e c5 | d0 21 88 d1 16 10 c5 d2 |.!......|.!......|
|00000720| 21 88 d3 16 12 d4 16 15 | d6 16 17 d8 d9 21 88 d8 |!.......|.....!..|
|00000730| da 21 87 22 20 5b 6b 69 | 6c 6c 2d 61 6c 6c 2d 6c |.!." [ki|ll-all-l|
|00000740| 6f 63 61 6c 2d 76 61 72 | 69 61 62 6c 65 73 20 75 |ocal-var|iables u|
|00000750| 73 65 2d 6c 6f 63 61 6c | 2d 6d 61 70 20 70 73 2d |se-local|-map ps-|
|00000760| 6d 6f 64 65 2d 6d 61 70 | 20 73 65 74 2d 73 79 6e |mode-map| set-syn|
|00000770| 74 61 78 2d 74 61 62 6c | 65 20 70 73 2d 6d 6f 64 |tax-tabl|e ps-mod|
|00000780| 65 2d 73 79 6e 74 61 78 | 2d 74 61 62 6c 65 20 6d |e-syntax|-table m|
|00000790| 61 6b 65 2d 6c 6f 63 61 | 6c 2d 76 61 72 69 61 62 |ake-loca|l-variab|
|000007a0| 6c 65 20 63 6f 6d 6d 65 | 6e 74 2d 73 74 61 72 74 |le comme|nt-start|
|000007b0| 20 22 25 20 22 20 63 6f | 6d 6d 65 6e 74 2d 73 74 | "% " co|mment-st|
|000007c0| 61 72 74 2d 73 6b 69 70 | 20 22 25 2b 20 2a 22 20 |art-skip| "%+ *" |
|000007d0| 63 6f 6d 6d 65 6e 74 2d | 63 6f 6c 75 6d 6e 20 34 |comment-|column 4|
|000007e0| 30 20 69 6e 64 65 6e 74 | 2d 6c 69 6e 65 2d 66 75 |0 indent|-line-fu|
|000007f0| 6e 63 74 69 6f 6e 20 70 | 73 2d 69 6e 64 65 6e 74 |nction p|s-indent|
|00000800| 2d 6c 69 6e 65 20 74 61 | 62 2d 73 74 6f 70 2d 6c |-line ta|b-stop-l|
|00000810| 69 73 74 20 70 73 2d 74 | 61 62 2d 73 74 6f 70 2d |ist ps-t|ab-stop-|
|00000820| 6c 69 73 74 20 70 61 67 | 65 2d 64 65 6c 69 6d 69 |list pag|e-delimi|
|00000830| 74 65 72 20 22 5e 73 68 | 6f 77 70 61 67 65 22 20 |ter "^sh|owpage" |
|00000840| 70 61 72 73 65 2d 73 65 | 78 70 2d 69 67 6e 6f 72 |parse-se|xp-ignor|
|00000850| 65 2d 63 6f 6d 6d 65 6e | 74 73 20 74 20 22 50 6f |e-commen|ts t "Po|
|00000860| 73 74 53 63 72 69 70 74 | 22 20 6d 6f 64 65 2d 6e |stScript|" mode-n|
|00000870| 61 6d 65 20 70 6f 73 74 | 73 63 72 69 70 74 2d 6d |ame post|script-m|
|00000880| 6f 64 65 20 6d 61 6a 6f | 72 2d 6d 6f 64 65 20 72 |ode majo|r-mode r|
|00000890| 75 6e 2d 68 6f 6f 6b 73 | 20 70 73 2d 6d 6f 64 65 |un-hooks| ps-mode|
|000008a0| 2d 68 6f 6f 6b 20 70 6f | 73 74 73 63 72 69 70 74 |-hook po|stscript|
|000008b0| 2d 6d 6f 64 65 2d 68 6f | 6f 6b 5d 20 32 20 22 5c |-mode-ho|ok] 2 "\|
|000008c0| 0a 4d 61 6a 6f 72 20 6d | 6f 64 65 20 66 6f 72 20 |.Major m|ode for |
|000008d0| 65 64 69 74 69 6e 67 20 | 50 6f 73 74 53 63 72 69 |editing |PostScri|
|000008e0| 70 74 20 66 69 6c 65 73 | 2e 0a 0a 5c 5c 5b 70 73 |pt files|...\\[ps|
|000008f0| 2d 65 78 65 63 75 74 65 | 2d 62 75 66 66 65 72 5d |-execute|-buffer]|
|00000900| 20 77 69 6c 6c 20 73 65 | 6e 64 20 74 68 65 20 63 | will se|nd the c|
|00000910| 6f 6e 74 65 6e 74 73 20 | 6f 66 20 74 68 65 20 62 |ontents |of the b|
|00000920| 75 66 66 65 72 20 74 6f | 20 74 68 65 20 4e 65 57 |uffer to| the NeW|
|00000930| 53 0a 73 65 72 76 65 72 | 20 75 73 69 6e 67 20 70 |S.server| using p|
|00000940| 73 68 28 31 29 2e 20 20 | 5c 5c 5b 70 73 2d 65 78 |sh(1). |\\[ps-ex|
|00000950| 65 63 75 74 65 2d 72 65 | 67 69 6f 6e 5d 20 73 65 |ecute-re|gion] se|
|00000960| 6e 64 73 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |nds the |current |
|00000970| 72 65 67 69 6f 6e 2e 0a | 5c 5c 5b 70 73 2d 73 68 |region..|\\[ps-sh|
|00000980| 65 6c 6c 5d 20 73 74 61 | 72 74 73 20 61 6e 20 69 |ell] sta|rts an i|
|00000990| 6e 74 65 72 61 63 74 69 | 76 65 20 70 73 68 28 31 |nteracti|ve psh(1|
|000009a0| 29 20 77 69 6e 64 6f 77 | 20 77 68 69 63 68 20 77 |) window| which w|
|000009b0| 69 6c 6c 20 62 65 20 75 | 73 65 64 20 66 6f 72 0a |ill be u|sed for.|
|000009c0| 73 75 62 73 65 71 75 65 | 6e 74 20 5c 5c 5b 70 73 |subseque|nt \\[ps|
|000009d0| 2d 65 78 65 63 75 74 65 | 2d 62 75 66 66 65 72 5d |-execute|-buffer]|
|000009e0| 20 6f 72 20 5c 5c 5b 70 | 73 2d 65 78 65 63 75 74 | or \\[p|s-execut|
|000009f0| 65 2d 72 65 67 69 6f 6e | 5d 20 63 6f 6d 6d 61 6e |e-region|] comman|
|00000a00| 64 73 2e 0a 0a 49 6e 20 | 74 68 69 73 20 6d 6f 64 |ds...In |this mod|
|00000a10| 65 2c 20 54 41 42 20 61 | 6e 64 20 5c 5c 5b 69 6e |e, TAB a|nd \\[in|
|00000a20| 64 65 6e 74 2d 72 65 67 | 69 6f 6e 5d 20 61 74 74 |dent-reg|ion] att|
|00000a30| 65 6d 70 74 20 74 6f 20 | 69 6e 64 65 6e 74 20 63 |empt to |indent c|
|00000a40| 6f 64 65 0a 62 61 73 65 | 64 20 6f 6e 20 74 68 65 |ode.base|d on the|
|00000a50| 20 70 6f 73 69 74 69 6f | 6e 20 6f 66 20 7b 7d 2c | positio|n of {},|
|00000a60| 20 5b 5d 2c 20 61 6e 64 | 20 62 65 67 69 6e 2f 65 | [], and| begin/e|
|00000a70| 6e 64 20 70 61 69 72 73 | 2e 20 20 54 68 65 20 76 |nd pairs|. The v|
|00000a80| 61 72 69 61 62 6c 65 0a | 70 73 2d 69 6e 64 65 6e |ariable.|ps-inden|
|00000a90| 74 2d 6c 65 76 65 6c 20 | 63 6f 6e 74 72 6f 6c 73 |t-level |controls|
|00000aa0| 20 74 68 65 20 61 6d 6f | 75 6e 74 20 6f 66 20 69 | the amo|unt of i|
|00000ab0| 6e 64 65 6e 74 61 74 69 | 6f 6e 20 75 73 65 64 20 |ndentati|on used |
|00000ac0| 69 6e 73 69 64 65 0a 61 | 72 72 61 79 73 20 61 6e |inside.a|rrays an|
|00000ad0| 64 20 62 65 67 69 6e 2f | 65 6e 64 20 70 61 69 72 |d begin/|end pair|
|00000ae0| 73 2e 20 20 0a 0a 5c 5c | 7b 70 73 2d 6d 6f 64 65 |s. ..\\|{ps-mode|
|00000af0| 2d 6d 61 70 7d 0a 0a 5c | 5c 5b 70 6f 73 74 73 63 |-map}..\|\[postsc|
|00000b00| 72 69 70 74 2d 6d 6f 64 | 65 5d 20 63 61 6c 6c 73 |ript-mod|e] calls|
|00000b10| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 74 68 | the val|ue of th|
|00000b20| 65 20 76 61 72 69 61 62 | 6c 65 20 70 6f 73 74 73 |e variab|le posts|
|00000b30| 63 72 69 70 74 2d 6d 6f | 64 65 2d 68 6f 6f 6b 20 |cript-mo|de-hook |
|00000b40| 0a 77 69 74 68 20 6e 6f | 20 61 72 67 73 2c 20 69 |.with no| args, i|
|00000b50| 66 20 74 68 61 74 20 76 | 61 6c 75 65 20 69 73 20 |f that v|alue is |
|00000b60| 6e 6f 6e 2d 6e 69 6c 2e | 22 20 6e 69 6c 5d 29 0a |non-nil.|" nil]).|
|00000b70| 28 66 73 65 74 20 27 70 | 73 2d 74 61 62 20 23 5b |(fset 'p|s-tab #[|
|00000b80| 6e 69 6c 20 22 8a c0 c1 | 78 88 6e 29 ab 83 c2 20 |nil "...|x.n)... |
|00000b90| 87 8a c2 20 29 87 22 20 | 5b 22 20 09 22 20 6e 69 |... )." |[" ." ni|
|00000ba0| 6c 20 70 73 2d 69 6e 64 | 65 6e 74 2d 6c 69 6e 65 |l ps-ind|ent-line|
|00000bb0| 5d 20 32 20 22 5c 0a 43 | 6f 6d 6d 61 6e 64 20 61 |] 2 "\.C|ommand a|
|00000bc0| 73 73 69 67 6e 65 64 20 | 74 6f 20 74 68 65 20 54 |ssigned |to the T|
|00000bd0| 41 42 20 6b 65 79 20 69 | 6e 20 50 6f 73 74 53 63 |AB key i|n PostSc|
|00000be0| 72 69 70 74 20 6d 6f 64 | 65 2e 22 20 6e 69 6c 5d |ript mod|e." nil]|
|00000bf0| 29 0a 28 66 73 65 74 20 | 27 70 73 2d 69 6e 64 65 |).(fset |'ps-inde|
|00000c00| 6e 74 2d 6c 69 6e 65 20 | 23 5b 6e 69 6c 20 22 c0 |nt-line |#[nil ".|
|00000c10| 79 88 c1 20 88 c2 c3 21 | ae 82 c4 20 3f ad 99 60 |y.. ...!|... ?..`|
|00000c20| 64 57 ab 8a 60 66 7a c5 | 3d ab 83 c6 20 87 c2 c7 |dW..`fz.|=... ...|
|00000c30| 21 ab 83 c8 20 87 c9 20 | 87 22 20 5b 30 20 64 65 |!... .. |." [0 de|
|00000c40| 6c 65 74 65 2d 68 6f 72 | 69 7a 6f 6e 74 61 6c 2d |lete-hor|izontal-|
|00000c50| 73 70 61 63 65 20 6c 6f | 6f 6b 69 6e 67 2d 61 74 |space lo|oking-at|
|00000c60| 20 22 25 25 22 20 70 73 | 2d 74 6f 70 2d 6c 65 76 | "%%" ps|-top-lev|
|00000c70| 65 6c 2d 70 20 34 31 20 | 70 73 2d 69 6e 64 65 6e |el-p 41 |ps-inden|
|00000c80| 74 2d 63 6c 6f 73 65 20 | 22 5c 5c 28 64 69 63 74 |t-close |"\\(dict|
|00000c90| 5c 5c 7c 63 6c 61 73 73 | 5c 5c 29 3f 65 6e 64 5c |\\|class|\\)?end\|
|00000ca0| 5c 7c 63 64 65 66 5c 5c | 7c 67 72 65 73 74 6f 72 |\|cdef\\||grestor|
|00000cb0| 65 5c 5c 7c 3e 3e 22 20 | 70 73 2d 69 6e 64 65 6e |e\\|>>" |ps-inden|
|00000cc0| 74 2d 65 6e 64 20 70 73 | 2d 69 6e 64 65 6e 74 2d |t-end ps|-indent-|
|00000cd0| 69 6e 2d 62 6c 6f 63 6b | 5d 20 32 20 22 5c 0a 49 |in-block|] 2 "\.I|
|00000ce0| 6e 64 65 6e 74 73 20 61 | 20 6c 69 6e 65 20 6f 66 |ndents a| line of|
|00000cf0| 20 50 6f 73 74 53 63 72 | 69 70 74 20 63 6f 64 65 | PostScr|ipt code|
|00000d00| 2e 22 20 6e 69 6c 5d 29 | 0a 28 66 73 65 74 20 27 |." nil])|.(fset '|
|00000d10| 70 73 2d 69 6e 73 65 72 | 74 2d 64 2d 63 68 61 72 |ps-inser|t-d-char|
|00000d20| 20 23 5b 28 61 72 67 29 | 20 22 c0 09 5c 6e 5c 22 | #[(arg)| "..\n\"|
|00000d30| 88 8a c3 79 88 c4 c5 21 | ad 85 c6 20 88 c7 20 29 |...y...!|... .. )|
|00000d40| 87 22 20 5b 69 6e 73 65 | 72 74 2d 63 68 61 72 20 |." [inse|rt-char |
|00000d50| 6c 61 73 74 2d 63 6f 6d | 6d 61 6e 64 2d 63 68 61 |last-com|mand-cha|
|00000d60| 72 20 61 72 67 20 30 20 | 6c 6f 6f 6b 69 6e 67 2d |r arg 0 |looking-|
|00000d70| 61 74 20 22 5e 5b 20 09 | 5d 2a 5c 5c 28 5c 5c 28 |at "^[ .|]*\\(\\(|
|00000d80| 64 69 63 74 5c 5c 7c 63 | 6c 61 73 73 5c 5c 29 3f |dict\\|c|lass\\)?|
|00000d90| 65 6e 64 5c 5c 7c 63 64 | 65 66 5c 5c 7c 67 72 65 |end\\|cd|ef\\|gre|
|00000da0| 73 74 6f 72 65 5c 5c 29 | 22 20 64 65 6c 65 74 65 |store\\)|" delete|
|00000db0| 2d 68 6f 72 69 7a 6f 6e | 74 61 6c 2d 73 70 61 63 |-horizon|tal-spac|
|00000dc0| 65 20 70 73 2d 69 6e 64 | 65 6e 74 2d 65 6e 64 5d |e ps-ind|ent-end]|
|00000dd0| 20 33 20 22 5c 0a 41 77 | 66 75 6c 20 68 61 63 6b | 3 "\.Aw|ful hack|
|00000de0| 20 74 6f 20 6d 61 6b 65 | 20 5c 22 65 6e 64 5c 22 | to make| \"end\"|
|00000df0| 20 61 6e 64 20 5c 22 63 | 64 65 66 5c 22 20 6b 65 | and \"c|def\" ke|
|00000e00| 79 77 6f 72 64 73 20 69 | 6e 64 65 6e 74 20 74 68 |ywords i|ndent th|
|00000e10| 65 6d 73 65 6c 76 65 73 | 2e 22 20 22 70 22 5d 29 |emselves|." "p"])|
|00000e20| 0a 28 66 73 65 74 20 27 | 70 73 2d 63 6c 6f 73 65 |.(fset '|ps-close|
|00000e30| 20 23 5b 6e 69 6c 20 22 | 08 63 88 c1 c2 21 88 c3 | #[nil "|.c...!..|
|00000e40| 20 88 c2 75 88 c4 20 87 | 22 20 5b 6c 61 73 74 2d | ..u.. .|" [last-|
|00000e50| 63 6f 6d 6d 61 6e 64 2d | 63 68 61 72 20 62 61 63 |command-|char bac|
|00000e60| 6b 77 61 72 64 2d 63 68 | 61 72 20 31 20 70 73 2d |kward-ch|ar 1 ps-|
|00000e70| 69 6e 64 65 6e 74 2d 63 | 6c 6f 73 65 20 62 6c 69 |indent-c|lose bli|
|00000e80| 6e 6b 2d 6d 61 74 63 68 | 69 6e 67 2d 6f 70 65 6e |nk-match|ing-open|
|00000e90| 5d 20 32 20 22 5c 0a 49 | 6e 73 65 72 74 73 20 61 |] 2 "\.I|nserts a|
|00000ea0| 6e 64 20 69 6e 64 65 6e | 74 73 20 61 20 63 6c 6f |nd inden|ts a clo|
|00000eb0| 73 65 20 64 65 6c 69 6d | 69 74 65 72 2e 22 20 6e |se delim|iter." n|
|00000ec0| 69 6c 5d 29 0a 28 66 73 | 65 74 20 27 70 73 2d 69 |il]).(fs|et 'ps-i|
|00000ed0| 6e 64 65 6e 74 2d 63 6c | 6f 73 65 20 23 5b 6e 69 |ndent-cl|ose #[ni|
|00000ee0| 6c 20 22 8a c0 c1 78 88 | 6e 29 ad af c1 60 1a 1b |l "...x.|n)...`..|
|00000ef0| c1 75 88 c4 20 88 c5 60 | 5c 6e 5c 22 c6 3d ab 8b |.u.. ..`|\n\".=..|
|00000f00| c6 5c 6e 60 5a 56 ab 84 | 5c 6e 62 aa 91 c7 79 88 |.\n`ZV..|\nb...y.|
|00000f10| c0 c1 77 88 69 13 5c 6e | 62 88 c8 20 88 0b 6a 2a |..w.i.\n|b.. ..j*|
|00000f20| 87 22 20 5b 22 20 09 22 | 20 6e 69 6c 20 6f 6c 64 |." [" ."| nil old|
|00000f30| 70 6f 69 6e 74 20 78 20 | 62 61 63 6b 77 61 72 64 |point x |backward|
|00000f40| 2d 73 65 78 70 20 63 6f | 75 6e 74 2d 6c 69 6e 65 |-sexp co|unt-line|
|00000f50| 73 20 31 20 30 20 64 65 | 6c 65 74 65 2d 68 6f 72 |s 1 0 de|lete-hor|
|00000f60| 69 7a 6f 6e 74 61 6c 2d | 73 70 61 63 65 5d 20 33 |izontal-|space] 3|
|00000f70| 20 22 5c 0a 49 6e 74 65 | 72 6e 61 6c 20 66 75 6e | "\.Inte|rnal fun|
|00000f80| 63 74 69 6f 6e 20 74 6f | 20 69 6e 64 65 6e 74 20 |ction to| indent |
|00000f90| 61 20 6c 69 6e 65 20 63 | 6f 6e 74 61 69 6e 69 6e |a line c|ontainin|
|00000fa0| 67 20 61 20 61 6e 20 61 | 72 72 61 79 20 63 6c 6f |g a an a|rray clo|
|00000fb0| 73 65 20 64 65 6c 69 6d | 69 74 65 72 2e 22 5d 29 |se delim|iter."])|
|00000fc0| 0a 28 66 73 65 74 20 27 | 70 73 2d 69 6e 64 65 6e |.(fset '|ps-inden|
|00000fd0| 74 2d 65 6e 64 20 23 5b | 6e 69 6c 20 22 c0 20 89 |t-end #[|nil ". .|
|00000fe0| 19 ac 84 c2 20 aa 8c 8a | 09 62 88 c3 20 88 69 29 |.... ...|.b.. .i)|
|00000ff0| 89 11 6a 29 87 22 20 5b | 70 73 2d 62 6c 6f 63 6b |..j)." [|ps-block|
|00001000| 2d 73 74 61 72 74 20 67 | 6f 61 6c 20 69 6e 64 65 |-start g|oal inde|
|00001010| 6e 74 2d 72 65 6c 61 74 | 69 76 65 20 62 61 63 6b |nt-relat|ive back|
|00001020| 2d 74 6f 2d 69 6e 64 65 | 6e 74 61 74 69 6f 6e 5d |-to-inde|ntation]|
|00001030| 20 32 20 22 5c 0a 49 6e | 64 65 6e 74 20 61 6e 20 | 2 "\.In|dent an |
|00001040| 5c 22 65 6e 64 5c 22 20 | 74 6f 6b 65 6e 20 6f 72 |\"end\" |token or|
|00001050| 20 61 72 72 61 79 20 63 | 6c 6f 73 65 20 64 65 6c | array c|lose del|
|00001060| 69 6d 69 74 65 72 2e 22 | 5d 29 0a 28 66 73 65 74 |imiter."|]).(fset|
|00001070| 20 27 70 73 2d 69 6e 64 | 65 6e 74 2d 69 6e 2d 62 | 'ps-ind|ent-in-b|
|00001080| 6c 6f 63 6b 20 23 5b 6e | 69 6c 20 22 c0 20 19 8a |lock #[n|il ". ..|
|00001090| 09 62 88 c2 20 88 6e ab | 83 0b aa 86 c2 20 88 69 |.b.. .n.|..... .i|
|000010a0| 0b 5c 5c 29 89 11 6a 29 | 87 22 20 5b 70 73 2d 62 |.\\)..j)|." [ps-b|
|000010b0| 6c 6f 63 6b 2d 73 74 61 | 72 74 20 67 6f 61 6c 20 |lock-sta|rt goal |
|000010c0| 62 61 63 6b 2d 74 6f 2d | 69 6e 64 65 6e 74 61 74 |back-to-|indentat|
|000010d0| 69 6f 6e 20 70 73 2d 69 | 6e 64 65 6e 74 2d 6c 65 |ion ps-i|ndent-le|
|000010e0| 76 65 6c 5d 20 33 20 22 | 5c 0a 49 6e 64 65 6e 74 |vel] 3 "|\.Indent|
|000010f0| 20 61 20 6c 69 6e 65 20 | 77 68 69 63 68 20 64 6f | a line |which do|
|00001100| 65 73 20 6e 6f 74 20 6f | 70 65 6e 20 6f 72 20 63 |es not o|pen or c|
|00001110| 6c 6f 73 65 20 61 20 62 | 6c 6f 63 6b 2e 22 5d 29 |lose a b|lock."])|
|00001120| 0a 28 66 73 65 74 20 27 | 70 73 2d 62 6c 6f 63 6b |.(fset '|ps-block|
|00001130| 2d 73 74 61 72 74 20 23 | 5b 6e 69 6c 20 22 8a c0 |-start #|[nil "..|
|00001140| c1 c2 8f 1b c4 0b 21 2a | 87 22 20 5b 6e 69 6c 20 |......!*|." [nil |
|00001150| 28 62 79 74 65 2d 63 6f | 64 65 20 22 8a c0 c1 21 |(byte-co|de "...!|
|00001160| 88 60 54 29 87 22 20 5b | 62 61 63 6b 77 61 72 64 |.`T)." [|backward|
|00001170| 2d 75 70 2d 6c 69 73 74 | 20 31 5d 20 32 29 20 28 |-up-list| 1] 2) (|
|00001180| 28 65 72 72 6f 72 29 29 | 20 6f 70 65 6e 20 70 73 |(error))| open ps|
|00001190| 2d 62 65 67 69 6e 2d 65 | 6e 64 2d 68 61 63 6b 5d |-begin-e|nd-hack]|
|000011a0| 20 33 20 22 5c 0a 52 65 | 74 75 72 6e 73 20 74 68 | 3 "\.Re|turns th|
|000011b0| 65 20 63 68 61 72 61 63 | 74 65 72 20 70 6f 73 69 |e charac|ter posi|
|000011c0| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 63 68 61 72 |tion of |the char|
|000011d0| 61 63 74 65 72 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |acter fo|llowing |
|000011e0| 74 68 65 20 6e 65 61 72 | 65 73 74 0a 65 6e 63 6c |the near|est.encl|
|000011f0| 6f 73 69 6e 67 20 60 5b | 27 20 60 7b 27 20 6f 72 |osing `[|' `{' or|
|00001200| 20 60 62 65 67 69 6e 27 | 20 6b 65 79 77 6f 72 64 | `begin'| keyword|
|00001210| 2e 22 5d 29 0a 28 66 73 | 65 74 20 27 70 73 2d 62 |."]).(fs|et 'ps-b|
|00001220| 65 67 69 6e 2d 65 6e 64 | 2d 68 61 63 6b 20 23 5b |egin-end|-hack #[|
|00001230| 28 73 74 61 72 74 29 20 | 22 8a c0 19 c0 c2 56 ab |(start) |".....V.|
|00001240| 9d c3 c4 0d c6 23 ac 87 | c3 c7 0d c6 23 ab 8f c8 |.....#..|....#...|
|00001250| c9 21 ab 84 09 54 aa 82 | 09 53 89 11 aa 5f 09 c2 |.!...T..|.S..._..|
|00001260| 3d ac 83 0d aa 84 c0 76 | 88 60 2a 87 22 20 5b 31 |=......v|.`*." [1|
|00001270| 20 64 65 70 74 68 20 30 | 20 72 65 2d 73 65 61 72 | depth 0| re-sear|
|00001280| 63 68 2d 62 61 63 6b 77 | 61 72 64 20 22 5e 5b 20 |ch-backw|ard "^[ |
|00001290| 09 5d 2a 5c 5c 28 64 69 | 63 74 5c 5c 7c 63 6c 61 |.]*\\(di|ct\\|cla|
|000012a0| 73 73 5c 5c 29 3f 5c 5c | 28 65 6e 64 5c 5c 7c 67 |ss\\)?\\|(end\\|g|
|000012b0| 72 65 73 74 6f 72 65 5c | 5c 7c 3e 3e 5c 5c 29 5c |restore\|\|>>\\)\|
|000012c0| 5c 7c 5c 5c 28 62 65 67 | 69 6e 5c 5c 7c 67 73 61 |\|\\(beg|in\\|gsa|
|000012d0| 76 65 5c 5c 7c 3c 3c 5c | 5c 29 5b 20 09 5d 2a 5c |ve\\|<<\|\)[ .]*\|
|000012e0| 5c 28 25 2e 2a 5c 5c 29 | 2a 24 22 20 73 74 61 72 |\(%.*\\)|*$" star|
|000012f0| 74 20 74 20 22 5e 5b 20 | 09 5d 2a 63 64 65 66 2e |t t "^[ |.]*cdef.|
|00001300| 2a 24 22 20 6c 6f 6f 6b | 69 6e 67 2d 61 74 20 22 |*$" look|ing-at "|
|00001310| 5b 20 09 5d 2a 5c 5c 28 | 64 69 63 74 5c 5c 7c 63 |[ .]*\\(|dict\\|c|
|00001320| 6c 61 73 73 5c 5c 29 3f | 5c 5c 28 65 6e 64 5c 5c |lass\\)?|\\(end\\|
|00001330| 7c 67 72 65 73 74 6f 72 | 65 5c 5c 7c 3e 3e 5c 5c ||grestor|e\\|>>\\|
|00001340| 29 22 5d 20 35 20 22 5c | 0a 53 65 61 72 63 68 20 |)"] 5 "\|.Search |
|00001350| 62 61 63 6b 77 61 72 64 | 73 20 66 72 6f 6d 20 70 |backward|s from p|
|00001360| 6f 69 6e 74 20 74 6f 20 | 53 54 41 52 54 20 66 6f |oint to |START fo|
|00001370| 72 20 65 6e 63 6c 6f 73 | 69 6e 67 20 60 62 65 67 |r enclos|ing `beg|
|00001380| 69 6e 27 20 61 6e 64 20 | 72 65 74 75 72 6e 73 20 |in' and |returns |
|00001390| 74 68 65 0a 63 68 61 72 | 61 63 74 65 72 20 6e 75 |the.char|acter nu|
|000013a0| 6d 62 65 72 20 6f 66 20 | 74 68 65 20 63 68 61 72 |mber of |the char|
|000013b0| 61 63 74 65 72 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |acter fo|llowing |
|000013c0| 60 62 65 67 69 6e 27 20 | 6f 72 20 53 54 41 52 54 |`begin' |or START|
|000013d0| 20 69 66 20 6e 6f 74 20 | 66 6f 75 6e 64 2e 22 5d | if not |found."]|
|000013e0| 29 0a 28 66 73 65 74 20 | 27 70 73 2d 74 6f 70 2d |).(fset |'ps-top-|
|000013f0| 6c 65 76 65 6c 2d 70 20 | 23 5b 6e 69 6c 20 22 c0 |level-p |#[nil ".|
|00001400| c1 c2 8f ad 84 c3 c0 21 | 3f 87 22 20 5b 6e 69 6c |.......!|?." [nil|
|00001410| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 60 c1 | (byte-c|ode ".`.|
|00001420| c2 23 3f 87 22 20 5b 73 | 63 61 6e 2d 6c 69 73 74 |.#?." [s|can-list|
|00001430| 73 20 2d 31 20 31 5d 20 | 34 29 20 28 28 65 72 72 |s -1 1] |4) ((err|
|00001440| 6f 72 20 74 29 29 20 70 | 73 2d 62 65 67 69 6e 2d |or t)) p|s-begin-|
|00001450| 65 6e 64 2d 68 61 63 6b | 5d 20 33 20 22 5c 0a 41 |end-hack|] 3 "\.A|
|00001460| 77 66 75 6c 20 74 65 73 | 74 20 74 6f 20 73 65 65 |wful tes|t to see|
|00001470| 20 77 68 65 74 68 65 72 | 20 77 65 20 61 72 65 20 | whether| we are |
|00001480| 69 6e 73 69 64 65 20 73 | 6f 6d 65 20 73 6f 72 74 |inside s|ome sort|
|00001490| 20 6f 66 20 50 6f 73 74 | 53 63 72 69 70 74 20 62 | of Post|Script b|
|000014a0| 6c 6f 63 6b 2e 22 5d 29 | 0a 28 62 79 74 65 2d 63 |lock."])|.(byte-c|
|000014b0| 6f 64 65 20 22 08 ac a0 | c1 20 10 c2 08 c0 5c 22 |ode "...|. ....\"|
|000014c0| 88 c3 08 c4 c5 23 88 c3 | 08 c6 c7 23 88 c3 08 c8 |.....#..|...#....|
|000014d0| c9 23 88 c3 08 ca cb 23 | 88 c1 87 22 20 5b 70 73 |.#.....#|..." [ps|
|000014e0| 2d 6d 6f 64 65 2d 6d 61 | 70 20 6d 61 6b 65 2d 73 |-mode-ma|p make-s|
|000014f0| 70 61 72 73 65 2d 6b 65 | 79 6d 61 70 20 73 65 74 |parse-ke|ymap set|
|00001500| 2d 6b 65 79 6d 61 70 2d | 6e 61 6d 65 20 64 65 66 |-keymap-|name def|
|00001510| 69 6e 65 2d 6b 65 79 20 | 22 09 22 20 70 73 2d 74 |ine-key |"." ps-t|
|00001520| 61 62 20 22 03 03 22 20 | 70 73 2d 65 78 65 63 75 |ab ".." |ps-execu|
|00001530| 74 65 2d 62 75 66 66 65 | 72 20 22 03 7c 22 20 70 |te-buffe|r ".|" p|
|00001540| 73 2d 65 78 65 63 75 74 | 65 2d 72 65 67 69 6f 6e |s-execut|e-region|
|00001550| 20 22 03 21 22 20 70 73 | 2d 73 68 65 6c 6c 5d 20 | ".!" ps|-shell] |
|00001560| 34 29 0a 28 66 73 65 74 | 20 27 70 73 2d 65 78 65 |4).(fset| 'ps-exe|
|00001570| 63 75 74 65 2d 62 75 66 | 66 65 72 20 23 5b 6e 69 |cute-buf|fer #[ni|
|00001580| 6c 20 22 8a c0 20 88 c1 | 65 64 5c 22 29 87 22 20 |l ".. ..|ed\")." |
|00001590| 5b 6d 61 72 6b 2d 77 68 | 6f 6c 65 2d 62 75 66 66 |[mark-wh|ole-buff|
|000015a0| 65 72 20 70 73 2d 65 78 | 65 63 75 74 65 2d 72 65 |er ps-ex|ecute-re|
|000015b0| 67 69 6f 6e 5d 20 33 20 | 22 5c 0a 53 65 6e 64 20 |gion] 3 |"\.Send |
|000015c0| 74 68 65 20 63 6f 6e 74 | 65 6e 74 73 20 6f 66 20 |the cont|ents of |
|000015d0| 74 68 65 20 62 75 66 66 | 65 72 20 74 6f 20 61 20 |the buff|er to a |
|000015e0| 70 72 69 6e 74 65 72 20 | 6f 72 20 4e 65 57 53 20 |printer |or NeWS |
|000015f0| 73 65 72 76 65 72 2e 22 | 20 6e 69 6c 5d 29 0a 28 |server."| nil]).(|
|00001600| 66 73 65 74 20 27 70 73 | 2d 65 78 65 63 75 74 65 |fset 'ps|-execute|
|00001610| 2d 72 65 67 69 6f 6e 20 | 23 5b 28 73 74 61 72 74 |-region |#[(start|
|00001620| 20 65 6e 64 29 20 22 60 | c0 20 5e 60 c0 20 5d 19 | end) "`|. ^`. ].|
|00001630| 1a c3 c4 c5 8f 2a 87 22 | 20 5b 6d 61 72 6b 20 65 |.....*."| [mark e|
|00001640| 6e 64 20 73 74 61 72 74 | 20 6e 69 6c 20 28 62 79 |nd start| nil (by|
|00001650| 74 65 2d 63 6f 64 65 20 | 22 c0 c1 5c 6e 0b 7b 5c |te-code |"..\n.{\|
|00001660| 22 87 22 20 5b 70 72 6f | 63 65 73 73 2d 73 65 6e |"." [pro|cess-sen|
|00001670| 64 2d 73 74 72 69 6e 67 | 20 22 50 6f 73 74 53 63 |d-string| "PostSc|
|00001680| 72 69 70 74 22 20 73 74 | 61 72 74 20 65 6e 64 5d |ript" st|art end]|
|00001690| 20 34 29 20 28 28 65 72 | 72 6f 72 20 28 62 79 74 | 4) ((er|ror (byt|
|000016a0| 65 2d 63 6f 64 65 20 22 | c0 09 5c 6e c3 c4 0d c6 |e-code "|..\n....|
|000016b0| 23 c7 24 87 22 20 5b 73 | 68 65 6c 6c 2d 63 6f 6d |#.$." [s|hell-com|
|000016c0| 6d 61 6e 64 2d 6f 6e 2d | 72 65 67 69 6f 6e 20 73 |mand-on-|region s|
|000016d0| 74 61 72 74 20 65 6e 64 | 20 6d 61 70 63 6f 6e 63 |tart end| mapconc|
|000016e0| 61 74 20 69 64 65 6e 74 | 69 74 79 20 70 73 2d 70 |at ident|ity ps-p|
|000016f0| 6f 73 74 73 63 72 69 70 | 74 2d 63 6f 6d 6d 61 6e |ostscrip|t-comman|
|00001700| 64 20 22 20 22 20 6e 69 | 6c 5d 20 37 29 29 29 5d |d " " ni|l] 7)))]|
|00001710| 20 33 20 22 5c 0a 53 65 | 6e 64 20 74 68 65 20 72 | 3 "\.Se|nd the r|
|00001720| 65 67 69 6f 6e 20 62 65 | 74 77 65 65 6e 20 53 54 |egion be|tween ST|
|00001730| 41 52 54 20 61 6e 64 20 | 45 4e 44 20 74 6f 20 61 |ART and |END to a|
|00001740| 20 70 72 69 6e 74 65 72 | 20 6f 72 20 4e 65 57 53 | printer| or NeWS|
|00001750| 20 73 65 72 76 65 72 2e | 0a 59 6f 75 20 73 68 6f | server.|.You sho|
|00001760| 75 6c 64 20 6b 69 6c 6c | 20 61 6e 79 20 65 78 69 |uld kill| any exi|
|00001770| 73 74 69 6e 67 20 2a 50 | 6f 73 74 53 63 72 69 70 |sting *P|ostScrip|
|00001780| 74 2a 20 62 75 66 66 65 | 72 20 75 6e 6c 65 73 73 |t* buffe|r unless|
|00001790| 20 79 6f 75 20 77 61 6e | 74 20 74 68 65 0a 50 6f | you wan|t the.Po|
|000017a0| 73 74 53 63 72 69 70 74 | 20 74 65 78 74 20 74 6f |stScript| text to|
|000017b0| 20 62 65 20 65 78 65 63 | 75 74 65 64 20 69 6e 20 | be exec|uted in |
|000017c0| 74 68 61 74 20 70 72 6f | 63 65 73 73 2e 22 20 22 |that pro|cess." "|
|000017d0| 72 22 5d 29 0a 28 66 73 | 65 74 20 27 70 73 2d 73 |r"]).(fs|et 'ps-s|
|000017e0| 68 65 6c 6c 20 23 5b 6e | 69 6c 20 22 c0 c1 21 88 |hell #[n|il "..!.|
|000017f0| c2 c3 c4 c5 0e 06 40 c7 | 0e 06 41 25 21 88 c8 c9 |......@.|..A%!...|
|00001800| 21 88 ca 89 16 09 87 22 | 20 5b 72 65 71 75 69 72 |!......"| [requir|
|00001810| 65 20 73 68 65 6c 6c 20 | 73 77 69 74 63 68 2d 74 |e shell |switch-t|
|00001820| 6f 2d 62 75 66 66 65 72 | 2d 6f 74 68 65 72 2d 77 |o-buffer|-other-w|
|00001830| 69 6e 64 6f 77 20 61 70 | 70 6c 79 20 6d 61 6b 65 |indow ap|ply make|
|00001840| 2d 63 6f 6d 69 6e 74 20 | 22 50 6f 73 74 53 63 72 |-comint |"PostScr|
|00001850| 69 70 74 22 20 70 73 2d | 70 6f 73 74 73 63 72 69 |ipt" ps-|postscri|
|00001860| 70 74 2d 63 6f 6d 6d 61 | 6e 64 20 6e 69 6c 20 6d |pt-comma|nd nil m|
|00001870| 61 6b 65 2d 6c 6f 63 61 | 6c 2d 76 61 72 69 61 62 |ake-loca|l-variab|
|00001880| 6c 65 20 73 68 65 6c 6c | 2d 70 72 6f 6d 70 74 2d |le shell|-prompt-|
|00001890| 70 61 74 74 65 72 6e 20 | 22 47 53 3e 22 5d 20 37 |pattern |"GS>"] 7|
|000018a0| 20 22 5c 0a 53 74 61 72 | 74 20 61 20 73 68 65 6c | "\.Star|t a shel|
|000018b0| 6c 20 63 6f 6d 6d 75 6e | 69 63 61 74 69 6e 67 20 |l commun|icating |
|000018c0| 77 69 74 68 20 61 20 50 | 6f 73 74 53 63 72 69 70 |with a P|ostScrip|
|000018d0| 74 20 70 72 69 6e 74 65 | 72 20 6f 72 20 4e 65 57 |t printe|r or NeW|
|000018e0| 53 20 73 65 72 76 65 72 | 2e 22 20 6e 69 6c 5d 29 |S server|." nil])|
|000018f0| 0a | |. | |
+--------+-------------------------+-------------------------+--------+--------+