home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1993-07-05 | 5.5 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 6a 69 6d 62 40 67 65 |piled by| jimb@ge|
|00000020| 65 63 68 2e 67 6e 75 2e | 61 69 2e 6d 69 74 2e 65 |ech.gnu.|ai.mit.e|
|00000030| 64 75 20 6f 6e 20 4d 6f | 6e 20 4a 75 6c 20 20 35 |du on Mo|n Jul 5|
|00000040| 20 32 33 3a 34 36 3a 33 | 37 20 31 39 39 33 0a 3b | 23:46:3|7 1993.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 67 64 |;; from |file /gd|
|00000060| 2f 67 6e 75 2f 65 6d 61 | 63 73 2f 31 39 2e 30 2f |/gnu/ema|cs/19.0/|
|00000070| 6c 69 73 70 2f 72 65 63 | 74 2e 65 6c 0a 3b 3b 3b |lisp/rec|t.el.;;;|
|00000080| 20 65 6d 61 63 73 20 76 | 65 72 73 69 6f 6e 20 31 | emacs v|ersion 1|
|00000090| 39 2e 31 35 2e 31 36 2e | 0a 3b 3b 3b 20 62 79 74 |9.15.16.|.;;; byt|
|000000a0| 65 63 6f 6d 70 20 76 65 | 72 73 69 6f 6e 20 46 53 |ecomp ve|rsion FS|
|000000b0| 46 20 32 2e 31 30 0a 3b | 3b 3b 20 6f 70 74 69 6d |F 2.10.;|;; optim|
|000000c0| 69 7a 61 74 69 6f 6e 20 | 69 73 20 6f 6e 2e 0a 3b |ization |is on..;|
|000000d0| 3b 3b 20 74 68 69 73 20 | 66 69 6c 65 20 75 73 65 |;; this |file use|
|000000e0| 73 20 6f 70 63 6f 64 65 | 73 20 77 68 69 63 68 20 |s opcode|s which |
|000000f0| 64 6f 20 6e 6f 74 20 65 | 78 69 73 74 20 69 6e 20 |do not e|xist in |
|00000100| 45 6d 61 63 73 20 31 38 | 2e 0a 0a 28 69 66 20 28 |Emacs 18|...(if (|
|00000110| 61 6e 64 20 28 62 6f 75 | 6e 64 70 20 27 65 6d 61 |and (bou|ndp 'ema|
|00000120| 63 73 2d 76 65 72 73 69 | 6f 6e 29 0a 09 20 28 6f |cs-versi|on).. (o|
|00000130| 72 20 28 61 6e 64 20 28 | 62 6f 75 6e 64 70 20 27 |r (and (|boundp '|
|00000140| 65 70 6f 63 68 3a 3a 76 | 65 72 73 69 6f 6e 29 20 |epoch::v|ersion) |
|00000150| 65 70 6f 63 68 3a 3a 76 | 65 72 73 69 6f 6e 29 0a |epoch::v|ersion).|
|00000160| 09 20 20 20 20 20 28 73 | 74 72 69 6e 67 2d 6c 65 |. (s|tring-le|
|00000170| 73 73 70 20 65 6d 61 63 | 73 2d 76 65 72 73 69 6f |ssp emac|s-versio|
|00000180| 6e 20 22 31 39 22 29 29 | 29 0a 20 20 20 20 28 65 |n "19"))|). (e|
|00000190| 72 72 6f 72 20 22 54 68 | 69 73 20 66 69 6c 65 20 |rror "Th|is file |
|000001a0| 77 61 73 20 63 6f 6d 70 | 69 6c 65 64 20 66 6f 72 |was comp|iled for|
|000001b0| 20 45 6d 61 63 73 20 31 | 39 22 29 29 0a 0a 28 64 | Emacs 1|9"))..(d|
|000001c0| 65 66 61 6c 69 61 73 20 | 27 6f 70 65 72 61 74 65 |efalias |'operate|
|000001d0| 2d 6f 6e 2d 72 65 63 74 | 61 6e 67 6c 65 20 23 5b |-on-rect|angle #[|
|000001e0| 28 66 75 6e 63 74 69 6f | 6e 20 73 74 61 72 74 20 |(functio|n start |
|000001f0| 65 6e 64 20 63 6f 65 72 | 63 65 2d 74 61 62 73 29 |end coer|ce-tabs)|
|00000200| 20 22 c0 89 89 89 19 1a | 1b 1c 8a 0d 62 88 69 14 | "......|....b.i.|
|00000210| c6 79 88 60 13 29 8a 0e | 07 62 88 69 12 c8 79 88 |.y.`.)..|.b.i..y.|
|00000220| c9 20 11 29 5c 6e 0c 57 | 83 2c 00 5c 6e 0c 12 14 |. .)\n.W|.,.\n...|
|00000230| 5c 6e 0c 55 84 81 00 8a | 0b 62 88 60 09 57 83 80 |\n.U....|.b.`.W..|
|00000240| 00 c0 89 89 1e 5c 6e 1e | 0b 1e 0c cd 0c 0e 0e 5c |.....\n.|.......\|
|00000250| 22 88 69 0c 5a 16 0b 60 | 16 0c cd 5c 6e 0e 0e 5c |".i.Z..`|...\n..\|
|00000260| 22 88 5c 6e 69 5a 16 5c | 6e 0e 0b c6 57 83 6f 00 |".\niZ.\|n...W.o.|
|00000270| 0e 5c 6e 0e 0b 5c 5c 16 | 5c 6e c6 16 0b 0e 0f 0e |.\n..\\.|\n......|
|00000280| 0c 0e 0b 0e 5c 6e 23 88 | 2b c8 79 88 82 36 00 29 |....\n#.|+.y..6.)|
|00000290| 5c 6e 0c 5a 2c 87 22 20 | 5b 6e 69 6c 20 65 6e 64 |\n.Z,." |[nil end|
|000002a0| 6c 69 6e 65 70 6f 73 20 | 65 6e 64 63 6f 6c 20 73 |linepos |endcol s|
|000002b0| 74 61 72 74 6c 69 6e 65 | 70 6f 73 20 73 74 61 72 |tartline|pos star|
|000002c0| 74 63 6f 6c 20 73 74 61 | 72 74 20 30 20 65 6e 64 |tcol sta|rt 0 end|
|000002d0| 20 31 20 70 6f 69 6e 74 | 2d 6d 61 72 6b 65 72 20 | 1 point|-marker |
|000002e0| 65 6e 64 65 78 74 72 61 | 20 62 65 67 65 78 74 72 |endextra| begextr|
|000002f0| 61 20 73 74 61 72 74 70 | 6f 73 20 6d 6f 76 65 2d |a startp|os move-|
|00000300| 74 6f 2d 63 6f 6c 75 6d | 6e 20 63 6f 65 72 63 65 |to-colum|n coerce|
|00000310| 2d 74 61 62 73 20 66 75 | 6e 63 74 69 6f 6e 5d 20 |-tabs fu|nction] |
|00000320| 34 20 22 5c 0a 43 61 6c | 6c 20 46 55 4e 43 54 49 |4 "\.Cal|l FUNCTI|
|00000330| 4f 4e 20 66 6f 72 20 65 | 61 63 68 20 6c 69 6e 65 |ON for e|ach line|
|00000340| 20 6f 66 20 72 65 63 74 | 61 6e 67 6c 65 20 77 69 | of rect|angle wi|
|00000350| 74 68 20 63 6f 72 6e 65 | 72 73 20 61 74 20 53 54 |th corne|rs at ST|
|00000360| 41 52 54 2c 20 45 4e 44 | 2e 0a 49 66 20 43 4f 45 |ART, END|..If COE|
|00000370| 52 43 45 2d 54 41 42 53 | 20 69 73 20 6e 6f 6e 2d |RCE-TABS| is non-|
|00000380| 6e 69 6c 2c 20 63 6f 6e | 76 65 72 74 20 6d 75 6c |nil, con|vert mul|
|00000390| 74 69 2d 63 6f 6c 75 6d | 6e 20 63 68 61 72 61 63 |ti-colum|n charac|
|000003a0| 74 65 72 73 0a 74 68 61 | 74 20 73 70 61 6e 20 74 |ters.tha|t span t|
|000003b0| 68 65 20 73 74 61 72 74 | 69 6e 67 20 6f 72 20 65 |he start|ing or e|
|000003c0| 6e 64 69 6e 67 20 63 6f | 6c 75 6d 6e 73 20 6f 6e |nding co|lumns on|
|000003d0| 20 61 6e 79 20 6c 69 6e | 65 0a 74 6f 20 6d 75 6c | any lin|e.to mul|
|000003e0| 74 69 70 6c 65 20 73 70 | 61 63 65 73 20 62 65 66 |tiple sp|aces bef|
|000003f0| 6f 72 65 20 63 61 6c 6c | 69 6e 67 20 46 55 4e 43 |ore call|ing FUNC|
|00000400| 54 49 4f 4e 2e 0a 46 55 | 4e 43 54 49 4f 4e 20 69 |TION..FU|NCTION i|
|00000410| 73 20 63 61 6c 6c 65 64 | 20 77 69 74 68 20 74 68 |s called| with th|
|00000420| 72 65 65 20 61 72 67 75 | 6d 65 6e 74 73 3a 0a 20 |ree argu|ments:. |
|00000430| 70 6f 73 69 74 69 6f 6e | 20 6f 66 20 73 74 61 72 |position| of star|
|00000440| 74 20 6f 66 20 73 65 67 | 6d 65 6e 74 20 6f 66 20 |t of seg|ment of |
|00000450| 74 68 69 73 20 6c 69 6e | 65 20 77 69 74 68 69 6e |this lin|e within|
|00000460| 20 74 68 65 20 72 65 63 | 74 61 6e 67 6c 65 2c 0a | the rec|tangle,.|
|00000470| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 6f 6c 75 6d | number |of colum|
|00000480| 6e 73 20 74 68 61 74 20 | 62 65 6c 6f 6e 67 20 74 |ns that |belong t|
|00000490| 6f 20 72 65 63 74 61 6e | 67 6c 65 20 62 75 74 20 |o rectan|gle but |
|000004a0| 61 72 65 20 62 65 66 6f | 72 65 20 74 68 61 74 20 |are befo|re that |
|000004b0| 70 6f 73 69 74 69 6f 6e | 2c 0a 20 6e 75 6d 62 65 |position|,. numbe|
|000004c0| 72 20 6f 66 20 63 6f 6c | 75 6d 6e 73 20 74 68 61 |r of col|umns tha|
|000004d0| 74 20 62 65 6c 6f 6e 67 | 20 74 6f 20 72 65 63 74 |t belong| to rect|
|000004e0| 61 6e 67 6c 65 20 62 75 | 74 20 61 72 65 20 61 66 |angle bu|t are af|
|000004f0| 74 65 72 20 70 6f 69 6e | 74 2e 0a 50 6f 69 6e 74 |ter poin|t..Point|
|00000500| 20 69 73 20 61 74 20 74 | 68 65 20 65 6e 64 20 6f | is at t|he end o|
|00000510| 66 20 74 68 65 20 73 65 | 67 6d 65 6e 74 20 6f 66 |f the se|gment of|
|00000520| 20 74 68 69 73 20 6c 69 | 6e 65 20 77 69 74 68 69 | this li|ne withi|
|00000530| 6e 20 74 68 65 20 72 65 | 63 74 61 6e 67 6c 65 2e |n the re|ctangle.|
|00000540| 22 5d 29 0a 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |"]).(byt|e-code "|
|00000550| c0 c1 c2 5c 22 88 c0 c3 | c4 5c 22 88 c0 c5 c6 5c |...\"...|.\"....\|
|00000560| 22 88 c7 16 08 c0 c9 ca | 5c 22 87 22 20 5b 64 65 |".......|\"." [de|
|00000570| 66 61 6c 69 61 73 20 64 | 65 6c 65 74 65 2d 72 65 |falias d|elete-re|
|00000580| 63 74 61 6e 67 6c 65 2d | 6c 69 6e 65 20 23 5b 28 |ctangle-|line #[(|
|00000590| 73 74 61 72 74 64 65 6c | 70 6f 73 20 69 67 6e 6f |startdel|pos igno|
|000005a0| 72 65 20 69 67 6e 6f 72 | 65 29 20 22 08 60 7c 87 |re ignor|e) ".`|.|
|000005b0| 22 20 5b 73 74 61 72 74 | 64 65 6c 70 6f 73 5d 20 |" [start|delpos] |
|000005c0| 32 5d 20 64 65 6c 65 74 | 65 2d 65 78 74 72 61 63 |2] delet|e-extrac|
|000005d0| 74 2d 72 65 63 74 61 6e | 67 6c 65 2d 6c 69 6e 65 |t-rectan|gle-line|
|000005e0| 20 23 5b 28 73 74 61 72 | 74 64 65 6c 70 6f 73 20 | #[(star|tdelpos |
|000005f0| 62 65 67 65 78 74 72 61 | 20 65 6e 64 65 78 74 72 |begextra| endextr|
|00000600| 61 29 20 22 8a c0 09 5c | 6e 0b 23 88 29 09 60 7c |a) "...\|n.#.).`||
|00000610| 87 22 20 5b 65 78 74 72 | 61 63 74 2d 72 65 63 74 |." [extr|act-rect|
|00000620| 61 6e 67 6c 65 2d 6c 69 | 6e 65 20 73 74 61 72 74 |angle-li|ne start|
|00000630| 64 65 6c 70 6f 73 20 62 | 65 67 65 78 74 72 61 20 |delpos b|egextra |
|00000640| 65 6e 64 65 78 74 72 61 | 5d 20 34 5d 20 65 78 74 |endextra|] 4] ext|
|00000650| 72 61 63 74 2d 72 65 63 | 74 61 6e 67 6c 65 2d 6c |ract-rec|tangle-l|
|00000660| 69 6e 65 20 23 5b 28 73 | 74 61 72 74 64 65 6c 70 |ine #[(s|tartdelp|
|00000670| 6f 73 20 62 65 67 65 78 | 74 72 61 20 65 6e 64 65 |os begex|tra ende|
|00000680| 78 74 72 61 29 20 22 08 | 60 7b 60 19 1a 08 62 88 |xtra) ".|`{`...b.|
|00000690| c3 c4 09 c5 23 83 36 00 | 69 8a c6 75 88 69 29 5a |....#.6.|i..u.i)Z|
|000006a0| 1e 07 5c 6e c8 60 09 5a | c9 5a 4f ca 0e 07 21 5c |..\n.`.Z|.ZO...!\|
|000006b0| 6e 89 47 60 09 5a 5c 5c | cb 4f 51 12 29 82 09 00 |n.G`.Z\\|.OQ.)...|
|000006c0| 0e 0c c8 56 84 44 00 0e | 0d c8 56 83 4f 00 ca 0e |...V.D..|..V.O...|
|000006d0| 0c 21 5c 6e ca 0e 0d 21 | 51 12 5c 6e 0e 0e 42 89 |.!\n...!|Q.\n..B.|
|000006e0| 16 0e 2a 87 22 20 5b 73 | 74 61 72 74 64 65 6c 70 |..*." [s|tartdelp|
|000006f0| 6f 73 20 65 6e 64 20 6c | 69 6e 65 20 73 65 61 72 |os end l|ine sear|
|00000700| 63 68 2d 66 6f 72 77 61 | 72 64 20 22 09 22 20 74 |ch-forwa|rd "." t|
|00000710| 20 2d 31 20 77 69 64 74 | 68 20 30 20 31 20 73 70 | -1 widt|h 0 1 sp|
|00000720| 61 63 65 73 2d 73 74 72 | 69 6e 67 20 6e 69 6c 20 |aces-str|ing nil |
|00000730| 62 65 67 65 78 74 72 61 | 20 65 6e 64 65 78 74 72 |begextra| endextr|
|00000740| 61 20 6c 69 6e 65 73 5d | 20 36 5d 20 5b 22 22 20 |a lines]| 6] ["" |
|00000750| 22 20 22 20 22 20 20 22 | 20 22 20 20 20 22 20 22 |" " " "| " " "|
|00000760| 20 20 20 20 22 20 22 20 | 20 20 20 20 22 20 22 20 | " " | " " |
|00000770| 20 20 20 20 20 22 20 22 | 20 20 20 20 20 20 20 22 | " "| "|
|00000780| 20 22 20 20 20 20 20 20 | 20 20 22 5d 20 73 70 61 | " | "] spa|
|00000790| 63 65 73 2d 73 74 72 69 | 6e 67 73 20 73 70 61 63 |ces-stri|ngs spac|
|000007a0| 65 73 2d 73 74 72 69 6e | 67 20 23 5b 28 6e 29 20 |es-strin|g #[(n) |
|000007b0| 22 08 c1 58 83 5c 6e 00 | 5c 6e 08 48 87 c3 1c 08 |"..X.\n.|\n.H....|
|000007c0| c1 56 83 1e 00 c5 0c 50 | 14 08 c1 5a 89 10 82 0d |.V.....P|...Z....|
|000007d0| 00 0c 5c 6e 08 48 50 29 | 87 22 20 5b 6e 20 38 20 |..\n.HP)|." [n 8 |
|000007e0| 73 70 61 63 65 73 2d 73 | 74 72 69 6e 67 73 20 22 |spaces-s|trings "|
|000007f0| 22 20 76 61 6c 20 22 20 | 20 20 20 20 20 20 20 22 |" val " | "|
|00000800| 5d 20 34 5d 5d 20 33 29 | 0a 28 64 65 66 61 6c 69 |] 4]] 3)|.(defali|
|00000810| 61 73 20 27 64 65 6c 65 | 74 65 2d 72 65 63 74 61 |as 'dele|te-recta|
|00000820| 6e 67 6c 65 20 23 5b 28 | 73 74 61 72 74 20 65 6e |ngle #[(|start en|
|00000830| 64 29 20 22 c0 c1 5c 6e | 0b c4 24 87 22 20 5b 6f |d) "..\n|..$." [o|
|00000840| 70 65 72 61 74 65 2d 6f | 6e 2d 72 65 63 74 61 6e |perate-o|n-rectan|
|00000850| 67 6c 65 20 64 65 6c 65 | 74 65 2d 72 65 63 74 61 |gle dele|te-recta|
|00000860| 6e 67 6c 65 2d 6c 69 6e | 65 20 73 74 61 72 74 20 |ngle-lin|e start |
|00000870| 65 6e 64 20 74 5d 20 35 | 20 22 5c 0a 44 65 6c 65 |end t] 5| "\.Dele|
|00000880| 74 65 20 28 64 6f 6e 27 | 74 20 73 61 76 65 29 20 |te (don'|t save) |
|00000890| 74 65 78 74 20 69 6e 20 | 72 65 63 74 61 6e 67 6c |text in |rectangl|
|000008a0| 65 20 77 69 74 68 20 70 | 6f 69 6e 74 20 61 6e 64 |e with p|oint and|
|000008b0| 20 6d 61 72 6b 20 61 73 | 20 63 6f 72 6e 65 72 73 | mark as| corners|
|000008c0| 2e 0a 54 68 65 20 73 61 | 6d 65 20 72 61 6e 67 65 |..The sa|me range|
|000008d0| 20 6f 66 20 63 6f 6c 75 | 6d 6e 73 20 69 73 20 64 | of colu|mns is d|
|000008e0| 65 6c 65 74 65 64 20 69 | 6e 20 65 61 63 68 20 6c |eleted i|n each l|
|000008f0| 69 6e 65 20 73 74 61 72 | 74 69 6e 67 20 77 69 74 |ine star|ting wit|
|00000900| 68 20 74 68 65 20 6c 69 | 6e 65 0a 77 68 65 72 65 |h the li|ne.where|
|00000910| 20 74 68 65 20 72 65 67 | 69 6f 6e 20 62 65 67 69 | the reg|ion begi|
|00000920| 6e 73 20 61 6e 64 20 65 | 6e 64 69 6e 67 20 77 69 |ns and e|nding wi|
|00000930| 74 68 20 74 68 65 20 6c | 69 6e 65 20 77 68 65 72 |th the l|ine wher|
|00000940| 65 20 74 68 65 20 72 65 | 67 69 6f 6e 20 65 6e 64 |e the re|gion end|
|00000950| 73 2e 22 20 22 72 22 5d | 29 0a 28 64 65 66 61 6c |s." "r"]|).(defal|
|00000960| 69 61 73 20 27 64 65 6c | 65 74 65 2d 65 78 74 72 |ias 'del|ete-extr|
|00000970| 61 63 74 2d 72 65 63 74 | 61 6e 67 6c 65 20 23 5b |act-rect|angle #[|
|00000980| 28 73 74 61 72 74 20 65 | 6e 64 29 20 22 c0 19 c2 |(start e|nd) "...|
|00000990| c3 0c 0d c6 24 88 09 9f | 29 87 22 20 5b 6e 69 6c |....$...|)." [nil|
|000009a0| 20 6c 69 6e 65 73 20 6f | 70 65 72 61 74 65 2d 6f | lines o|perate-o|
|000009b0| 6e 2d 72 65 63 74 61 6e | 67 6c 65 20 64 65 6c 65 |n-rectan|gle dele|
|000009c0| 74 65 2d 65 78 74 72 61 | 63 74 2d 72 65 63 74 61 |te-extra|ct-recta|
|000009d0| 6e 67 6c 65 2d 6c 69 6e | 65 20 73 74 61 72 74 20 |ngle-lin|e start |
|000009e0| 65 6e 64 20 74 5d 20 35 | 20 22 5c 0a 44 65 6c 65 |end t] 5| "\.Dele|
|000009f0| 74 65 20 63 6f 6e 74 65 | 6e 74 73 20 6f 66 20 72 |te conte|nts of r|
|00000a00| 65 63 74 61 6e 67 6c 65 | 20 61 6e 64 20 72 65 74 |ectangle| and ret|
|00000a10| 75 72 6e 20 69 74 20 61 | 73 20 61 20 6c 69 73 74 |urn it a|s a list|
|00000a20| 20 6f 66 20 73 74 72 69 | 6e 67 73 2e 0a 41 72 67 | of stri|ngs..Arg|
|00000a30| 75 6d 65 6e 74 73 20 53 | 54 41 52 54 20 61 6e 64 |uments S|TART and|
|00000a40| 20 45 4e 44 20 61 72 65 | 20 74 68 65 20 63 6f 72 | END are| the cor|
|00000a50| 6e 65 72 73 20 6f 66 20 | 74 68 65 20 72 65 63 74 |ners of |the rect|
|00000a60| 61 6e 67 6c 65 2e 0a 54 | 68 65 20 76 61 6c 75 65 |angle..T|he value|
|00000a70| 20 69 73 20 6c 69 73 74 | 20 6f 66 20 73 74 72 69 | is list| of stri|
|00000a80| 6e 67 73 2c 20 6f 6e 65 | 20 66 6f 72 20 65 61 63 |ngs, one| for eac|
|00000a90| 68 20 6c 69 6e 65 20 6f | 66 20 74 68 65 20 72 65 |h line o|f the re|
|00000aa0| 63 74 61 6e 67 6c 65 2e | 22 5d 29 0a 28 64 65 66 |ctangle.|"]).(def|
|00000ab0| 61 6c 69 61 73 20 27 65 | 78 74 72 61 63 74 2d 72 |alias 'e|xtract-r|
|00000ac0| 65 63 74 61 6e 67 6c 65 | 20 23 5b 28 73 74 61 72 |ectangle| #[(star|
|00000ad0| 74 20 65 6e 64 29 20 22 | c0 19 c2 c3 0c 0d c0 24 |t end) "|.......$|
|00000ae0| 88 09 9f 29 87 22 20 5b | 6e 69 6c 20 6c 69 6e 65 |...)." [|nil line|
|00000af0| 73 20 6f 70 65 72 61 74 | 65 2d 6f 6e 2d 72 65 63 |s operat|e-on-rec|
|00000b00| 74 61 6e 67 6c 65 20 65 | 78 74 72 61 63 74 2d 72 |tangle e|xtract-r|
|00000b10| 65 63 74 61 6e 67 6c 65 | 2d 6c 69 6e 65 20 73 74 |ectangle|-line st|
|00000b20| 61 72 74 20 65 6e 64 5d | 20 35 20 22 5c 0a 52 65 |art end]| 5 "\.Re|
|00000b30| 74 75 72 6e 20 63 6f 6e | 74 65 6e 74 73 20 6f 66 |turn con|tents of|
|00000b40| 20 72 65 63 74 61 6e 67 | 6c 65 20 77 69 74 68 20 | rectang|le with |
|00000b50| 63 6f 72 6e 65 72 73 20 | 61 74 20 53 54 41 52 54 |corners |at START|
|00000b60| 20 61 6e 64 20 45 4e 44 | 2e 0a 56 61 6c 75 65 20 | and END|..Value |
|00000b70| 69 73 20 6c 69 73 74 20 | 6f 66 20 73 74 72 69 6e |is list |of strin|
|00000b80| 67 73 2c 20 6f 6e 65 20 | 66 6f 72 20 65 61 63 68 |gs, one |for each|
|00000b90| 20 6c 69 6e 65 20 6f 66 | 20 74 68 65 20 72 65 63 | line of| the rec|
|00000ba0| 74 61 6e 67 6c 65 2e 22 | 5d 29 0a 28 64 65 66 76 |tangle."|]).(defv|
|00000bb0| 61 72 20 6b 69 6c 6c 65 | 64 2d 72 65 63 74 61 6e |ar kille|d-rectan|
|00000bc0| 67 6c 65 20 6e 69 6c 20 | 22 5c 0a 52 65 63 74 61 |gle nil |"\.Recta|
|00000bd0| 6e 67 6c 65 20 66 6f 72 | 20 79 61 6e 6b 2d 72 65 |ngle for| yank-re|
|00000be0| 63 74 61 6e 67 6c 65 20 | 74 6f 20 69 6e 73 65 72 |ctangle |to inser|
|00000bf0| 74 2e 22 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |t.").(de|falias '|
|00000c00| 6b 69 6c 6c 2d 72 65 63 | 74 61 6e 67 6c 65 20 23 |kill-rec|tangle #|
|00000c10| 5b 28 73 74 61 72 74 20 | 65 6e 64 29 20 22 c0 09 |[(start |end) "..|
|00000c20| 5c 6e 5c 22 89 13 87 22 | 20 5b 64 65 6c 65 74 65 |\n\"..."| [delete|
|00000c30| 2d 65 78 74 72 61 63 74 | 2d 72 65 63 74 61 6e 67 |-extract|-rectang|
|00000c40| 6c 65 20 73 74 61 72 74 | 20 65 6e 64 20 6b 69 6c |le start| end kil|
|00000c50| 6c 65 64 2d 72 65 63 74 | 61 6e 67 6c 65 5d 20 33 |led-rect|angle] 3|
|00000c60| 20 22 5c 0a 44 65 6c 65 | 74 65 20 72 65 63 74 61 | "\.Dele|te recta|
|00000c70| 6e 67 6c 65 20 77 69 74 | 68 20 63 6f 72 6e 65 72 |ngle wit|h corner|
|00000c80| 73 20 61 74 20 70 6f 69 | 6e 74 20 61 6e 64 20 6d |s at poi|nt and m|
|00000c90| 61 72 6b 3b 20 73 61 76 | 65 20 61 73 20 6c 61 73 |ark; sav|e as las|
|00000ca0| 74 20 6b 69 6c 6c 65 64 | 20 6f 6e 65 2e 0a 43 61 |t killed| one..Ca|
|00000cb0| 6c 6c 69 6e 67 20 66 72 | 6f 6d 20 70 72 6f 67 72 |lling fr|om progr|
|00000cc0| 61 6d 2c 20 73 75 70 70 | 6c 79 20 74 77 6f 20 61 |am, supp|ly two a|
|00000cd0| 72 67 73 20 53 54 41 52 | 54 20 61 6e 64 20 45 4e |rgs STAR|T and EN|
|00000ce0| 44 2c 20 62 75 66 66 65 | 72 20 70 6f 73 69 74 69 |D, buffe|r positi|
|00000cf0| 6f 6e 73 2e 0a 42 75 74 | 20 69 6e 20 70 72 6f 67 |ons..But| in prog|
|00000d00| 72 61 6d 73 20 79 6f 75 | 20 6d 69 67 68 74 20 70 |rams you| might p|
|00000d10| 72 65 66 65 72 20 74 6f | 20 75 73 65 20 60 64 65 |refer to| use `de|
|00000d20| 6c 65 74 65 2d 65 78 74 | 72 61 63 74 2d 72 65 63 |lete-ext|ract-rec|
|00000d30| 74 61 6e 67 6c 65 27 2e | 22 20 22 72 22 5d 29 0a |tangle'.|" "r"]).|
|00000d40| 28 64 65 66 61 6c 69 61 | 73 20 27 79 61 6e 6b 2d |(defalia|s 'yank-|
|00000d50| 72 65 63 74 61 6e 67 6c | 65 20 23 5b 6e 69 6c 20 |rectangl|e #[nil |
|00000d60| 22 c0 09 21 87 22 20 5b | 69 6e 73 65 72 74 2d 72 |"..!." [|insert-r|
|00000d70| 65 63 74 61 6e 67 6c 65 | 20 6b 69 6c 6c 65 64 2d |ectangle| killed-|
|00000d80| 72 65 63 74 61 6e 67 6c | 65 5d 20 32 20 22 5c 0a |rectangl|e] 2 "\.|
|00000d90| 59 61 6e 6b 20 74 68 65 | 20 6c 61 73 74 20 6b 69 |Yank the| last ki|
|00000da0| 6c 6c 65 64 20 72 65 63 | 74 61 6e 67 6c 65 20 77 |lled rec|tangle w|
|00000db0| 69 74 68 20 75 70 70 65 | 72 20 6c 65 66 74 20 63 |ith uppe|r left c|
|00000dc0| 6f 72 6e 65 72 20 61 74 | 20 70 6f 69 6e 74 2e 22 |orner at| point."|
|00000dd0| 20 6e 69 6c 5d 29 0a 28 | 64 65 66 61 6c 69 61 73 | nil]).(|defalias|
|00000de0| 20 27 69 6e 73 65 72 74 | 2d 72 65 63 74 61 6e 67 | 'insert|-rectang|
|00000df0| 6c 65 20 23 5b 28 72 65 | 63 74 61 6e 67 6c 65 29 |le #[(re|ctangle)|
|00000e00| 20 22 08 69 c1 1a 1b 1c | c5 20 88 0c 85 2e 00 5c | ".i....|. .....\|
|00000e10| 6e 84 20 00 c6 79 88 6e | 84 1b 00 c7 63 88 c8 0b |n. ..y.n|....c...|
|00000e20| c1 5c 22 88 c9 12 0c 40 | 63 88 0c 41 89 14 84 0d |.\"....@|c..A....|
|00000e30| 00 c9 2b 87 22 20 5b 72 | 65 63 74 61 6e 67 6c 65 |..+." [r|ectangle|
|00000e40| 20 74 20 66 69 72 73 74 | 20 69 6e 73 65 72 74 63 | t first| insertc|
|00000e50| 6f 6c 75 6d 6e 20 6c 69 | 6e 65 73 20 70 75 73 68 |olumn li|nes push|
|00000e60| 2d 6d 61 72 6b 20 31 20 | 31 30 20 6d 6f 76 65 2d |-mark 1 |10 move-|
|00000e70| 74 6f 2d 63 6f 6c 75 6d | 6e 20 6e 69 6c 5d 20 34 |to-colum|n nil] 4|
|00000e80| 20 22 5c 0a 49 6e 73 65 | 72 74 20 74 65 78 74 20 | "\.Inse|rt text |
|00000e90| 6f 66 20 52 45 43 54 41 | 4e 47 4c 45 20 77 69 74 |of RECTA|NGLE wit|
|00000ea0| 68 20 75 70 70 65 72 20 | 6c 65 66 74 20 63 6f 72 |h upper |left cor|
|00000eb0| 6e 65 72 20 61 74 20 70 | 6f 69 6e 74 2e 0a 52 45 |ner at p|oint..RE|
|00000ec0| 43 54 41 4e 47 4c 45 27 | 73 20 66 69 72 73 74 20 |CTANGLE'|s first |
|00000ed0| 6c 69 6e 65 20 69 73 20 | 69 6e 73 65 72 74 65 64 |line is |inserted|
|00000ee0| 20 61 74 20 70 6f 69 6e | 74 2c 20 69 74 73 20 73 | at poin|t, its s|
|00000ef0| 65 63 6f 6e 64 0a 6c 69 | 6e 65 20 69 73 20 69 6e |econd.li|ne is in|
|00000f00| 73 65 72 74 65 64 20 61 | 74 20 61 20 70 6f 69 6e |serted a|t a poin|
|00000f10| 74 20 76 65 72 74 69 63 | 61 6c 6c 79 20 75 6e 64 |t vertic|ally und|
|00000f20| 65 72 20 70 6f 69 6e 74 | 2c 20 65 74 63 2e 0a 52 |er point|, etc..R|
|00000f30| 45 43 54 41 4e 47 4c 45 | 20 73 68 6f 75 6c 64 20 |ECTANGLE| should |
|00000f40| 62 65 20 61 20 6c 69 73 | 74 20 6f 66 20 73 74 72 |be a lis|t of str|
|00000f50| 69 6e 67 73 2e 0a 41 66 | 74 65 72 20 74 68 69 73 |ings..Af|ter this|
|00000f60| 20 63 6f 6d 6d 61 6e 64 | 2c 20 74 68 65 20 6d 61 | command|, the ma|
|00000f70| 72 6b 20 69 73 20 61 74 | 20 74 68 65 20 75 70 70 |rk is at| the upp|
|00000f80| 65 72 20 6c 65 66 74 20 | 63 6f 72 6e 65 72 0a 61 |er left |corner.a|
|00000f90| 6e 64 20 70 6f 69 6e 74 | 20 69 73 20 61 74 20 74 |nd point| is at t|
|00000fa0| 68 65 20 6c 6f 77 65 72 | 20 72 69 67 68 74 20 63 |he lower| right c|
|00000fb0| 6f 72 6e 65 72 2e 22 5d | 29 0a 28 64 65 66 61 6c |orner."]|).(defal|
|00000fc0| 69 61 73 20 27 6f 70 65 | 6e 2d 72 65 63 74 61 6e |ias 'ope|n-rectan|
|00000fd0| 67 6c 65 20 23 5b 28 73 | 74 61 72 74 20 65 6e 64 |gle #[(s|tart end|
|00000fe0| 29 20 22 c0 c1 5c 6e 0b | c4 24 88 5c 6e 62 87 22 |) "..\n.|.$.\nb."|
|00000ff0| 20 5b 6f 70 65 72 61 74 | 65 2d 6f 6e 2d 72 65 63 | [operat|e-on-rec|
|00001000| 74 61 6e 67 6c 65 20 6f | 70 65 6e 2d 72 65 63 74 |tangle o|pen-rect|
|00001010| 61 6e 67 6c 65 2d 6c 69 | 6e 65 20 73 74 61 72 74 |angle-li|ne start|
|00001020| 20 65 6e 64 20 6e 69 6c | 5d 20 35 20 22 5c 0a 42 | end nil|] 5 "\.B|
|00001030| 6c 61 6e 6b 20 6f 75 74 | 20 72 65 63 74 61 6e 67 |lank out| rectang|
|00001040| 6c 65 20 77 69 74 68 20 | 63 6f 72 6e 65 72 73 20 |le with |corners |
|00001050| 61 74 20 70 6f 69 6e 74 | 20 61 6e 64 20 6d 61 72 |at point| and mar|
|00001060| 6b 2c 20 73 68 69 66 74 | 69 6e 67 20 74 65 78 74 |k, shift|ing text|
|00001070| 20 72 69 67 68 74 2e 0a | 54 68 65 20 74 65 78 74 | right..|The text|
|00001080| 20 70 72 65 76 69 6f 75 | 73 6c 79 20 69 6e 20 74 | previou|sly in t|
|00001090| 68 65 20 72 65 67 69 6f | 6e 20 69 73 20 6e 6f 74 |he regio|n is not|
|000010a0| 20 6f 76 65 72 77 72 69 | 74 74 65 6e 20 62 79 20 | overwri|tten by |
|000010b0| 74 68 65 20 62 6c 61 6e | 6b 73 2c 0a 62 75 74 20 |the blan|ks,.but |
|000010c0| 69 6e 73 74 65 61 64 20 | 77 69 6e 64 73 20 75 70 |instead |winds up|
|000010d0| 20 74 6f 20 74 68 65 20 | 72 69 67 68 74 20 6f 66 | to the |right of|
|000010e0| 20 74 68 65 20 72 65 63 | 74 61 6e 67 6c 65 2e 22 | the rec|tangle."|
|000010f0| 20 22 72 22 5d 29 0a 28 | 64 65 66 61 6c 69 61 73 | "r"]).(|defalias|
|00001100| 20 28 71 75 6f 74 65 20 | 6f 70 65 6e 2d 72 65 63 | (quote |open-rec|
|00001110| 74 61 6e 67 6c 65 2d 6c | 69 6e 65 29 20 23 5b 28 |tangle-l|ine) #[(|
|00001120| 73 74 61 72 74 70 6f 73 | 20 62 65 67 65 78 74 72 |startpos| begextr|
|00001130| 61 20 65 6e 64 65 78 74 | 72 61 29 20 22 69 08 09 |a endext|ra) "i..|
|00001140| 5c 5c 5c 5c 1a 0b 62 88 | 69 1c c5 c6 77 88 5c 6e |\\\\..b.|i...w.\n|
|00001150| 69 0c 5a 5c 5c 12 29 60 | c5 0b 78 88 60 7c 88 5c |i.Z\\.)`|..x.`|.\|
|00001160| 6e 6a 29 87 22 20 5b 62 | 65 67 65 78 74 72 61 20 |nj)." [b|egextra |
|00001170| 65 6e 64 65 78 74 72 61 | 20 63 6f 6c 75 6d 6e 20 |endextra| column |
|00001180| 73 74 61 72 74 70 6f 73 | 20 6f 63 6f 6c 20 22 20 |startpos| ocol " |
|00001190| 09 22 20 6e 69 6c 5d 20 | 33 5d 29 0a 28 64 65 66 |." nil] |3]).(def|
|000011a0| 61 6c 69 61 73 20 27 73 | 74 72 69 6e 67 2d 72 65 |alias 's|tring-re|
|000011b0| 63 74 61 6e 67 6c 65 20 | 23 5b 28 73 74 61 72 74 |ctangle |#[(start|
|000011c0| 20 65 6e 64 20 73 74 72 | 69 6e 67 29 20 22 c0 c1 | end str|ing) "..|
|000011d0| 5c 6e 0b c4 24 88 5c 6e | 62 87 22 20 5b 6f 70 65 |\n..$.\n|b." [ope|
|000011e0| 72 61 74 65 2d 6f 6e 2d | 72 65 63 74 61 6e 67 6c |rate-on-|rectangl|
|000011f0| 65 20 73 74 72 69 6e 67 | 2d 72 65 63 74 61 6e 67 |e string|-rectang|
|00001200| 6c 65 2d 6c 69 6e 65 20 | 73 74 61 72 74 20 65 6e |le-line |start en|
|00001210| 64 20 6e 69 6c 5d 20 35 | 20 22 5c 0a 49 6e 73 65 |d nil] 5| "\.Inse|
|00001220| 72 74 20 53 54 52 49 4e | 47 20 6f 6e 20 65 61 63 |rt STRIN|G on eac|
|00001230| 68 20 6c 69 6e 65 20 6f | 66 20 74 68 65 20 72 65 |h line o|f the re|
|00001240| 67 69 6f 6e 2d 72 65 63 | 74 61 6e 67 6c 65 2c 20 |gion-rec|tangle, |
|00001250| 73 68 69 66 74 69 6e 67 | 20 74 65 78 74 20 72 69 |shifting| text ri|
|00001260| 67 68 74 2e 0a 54 68 65 | 20 6c 65 66 74 20 65 64 |ght..The| left ed|
|00001270| 67 65 20 6f 66 20 74 68 | 65 20 72 65 63 74 61 6e |ge of th|e rectan|
|00001280| 67 6c 65 20 73 70 65 63 | 69 66 69 65 73 20 74 68 |gle spec|ifies th|
|00001290| 65 20 63 6f 6c 75 6d 6e | 20 66 6f 72 20 69 6e 73 |e column| for ins|
|000012a0| 65 72 74 69 6f 6e 2e 0a | 54 68 69 73 20 63 6f 6d |ertion..|This com|
|000012b0| 6d 61 6e 64 20 64 6f 65 | 73 20 6e 6f 74 20 64 65 |mand doe|s not de|
|000012c0| 6c 65 74 65 20 6f 72 20 | 6f 76 65 72 77 72 69 74 |lete or |overwrit|
|000012d0| 65 20 61 6e 79 20 65 78 | 69 73 74 69 6e 67 20 74 |e any ex|isting t|
|000012e0| 65 78 74 2e 0a 0a 43 61 | 6c 6c 65 64 20 66 72 6f |ext...Ca|lled fro|
|000012f0| 6d 20 61 20 70 72 6f 67 | 72 61 6d 2c 20 74 61 6b |m a prog|ram, tak|
|00001300| 65 73 20 74 68 72 65 65 | 20 61 72 67 73 3b 20 53 |es three| args; S|
|00001310| 54 41 52 54 2c 20 45 4e | 44 20 61 6e 64 20 53 54 |TART, EN|D and ST|
|00001320| 52 49 4e 47 2e 22 20 22 | 72 5c 6e 73 53 74 72 69 |RING." "|r\nsStri|
|00001330| 6e 67 20 72 65 63 74 61 | 6e 67 6c 65 3a 20 22 5d |ng recta|ngle: "]|
|00001340| 29 0a 28 64 65 66 61 6c | 69 61 73 20 28 71 75 6f |).(defal|ias (quo|
|00001350| 74 65 20 73 74 72 69 6e | 67 2d 72 65 63 74 61 6e |te strin|g-rectan|
|00001360| 67 6c 65 2d 6c 69 6e 65 | 29 20 23 5b 28 73 74 61 |gle-line|) #[(sta|
|00001370| 72 74 70 6f 73 20 62 65 | 67 65 78 74 72 61 20 65 |rtpos be|gextra e|
|00001380| 6e 64 65 78 74 72 61 29 | 20 22 69 08 09 5c 5c 5c |ndextra)| "i..\\\|
|00001390| 5c 1a 0b 62 88 69 1c c5 | c6 77 88 5c 6e 69 0c 5a |\..b.i..|.w.\ni.Z|
|000013a0| 5c 5c 12 29 60 c5 0b 78 | 88 60 7c 88 0e 07 63 29 |\\.)`..x|.`|...c)|
|000013b0| 87 22 20 5b 62 65 67 65 | 78 74 72 61 20 65 6e 64 |." [bege|xtra end|
|000013c0| 65 78 74 72 61 20 63 6f | 6c 75 6d 6e 20 73 74 61 |extra co|lumn sta|
|000013d0| 72 74 70 6f 73 20 6f 63 | 6f 6c 20 22 20 09 22 20 |rtpos oc|ol " ." |
|000013e0| 6e 69 6c 20 73 74 72 69 | 6e 67 5d 20 33 5d 29 0a |nil stri|ng] 3]).|
|000013f0| 28 64 65 66 61 6c 69 61 | 73 20 27 63 6c 65 61 72 |(defalia|s 'clear|
|00001400| 2d 72 65 63 74 61 6e 67 | 6c 65 20 23 5b 28 73 74 |-rectang|le #[(st|
|00001410| 61 72 74 20 65 6e 64 29 | 20 22 c0 c1 5c 6e 0b c4 |art end)| "..\n..|
|00001420| 24 87 22 20 5b 6f 70 65 | 72 61 74 65 2d 6f 6e 2d |$." [ope|rate-on-|
|00001430| 72 65 63 74 61 6e 67 6c | 65 20 63 6c 65 61 72 2d |rectangl|e clear-|
|00001440| 72 65 63 74 61 6e 67 6c | 65 2d 6c 69 6e 65 20 73 |rectangl|e-line s|
|00001450| 74 61 72 74 20 65 6e 64 | 20 74 5d 20 35 20 22 5c |tart end| t] 5 "\|
|00001460| 0a 42 6c 61 6e 6b 20 6f | 75 74 20 72 65 63 74 61 |.Blank o|ut recta|
|00001470| 6e 67 6c 65 20 77 69 74 | 68 20 63 6f 72 6e 65 72 |ngle wit|h corner|
|00001480| 73 20 61 74 20 70 6f 69 | 6e 74 20 61 6e 64 20 6d |s at poi|nt and m|
|00001490| 61 72 6b 2e 0a 54 68 65 | 20 74 65 78 74 20 70 72 |ark..The| text pr|
|000014a0| 65 76 69 6f 75 73 6c 79 | 20 69 6e 20 74 68 65 20 |eviously| in the |
|000014b0| 72 65 67 69 6f 6e 20 69 | 73 20 6f 76 65 72 77 72 |region i|s overwr|
|000014c0| 69 74 74 65 6e 20 62 79 | 20 74 68 65 20 62 6c 61 |itten by| the bla|
|000014d0| 6e 6b 73 2e 0a 57 68 65 | 6e 20 63 61 6c 6c 65 64 |nks..Whe|n called|
|000014e0| 20 66 72 6f 6d 20 61 20 | 70 72 6f 67 72 61 6d 2c | from a |program,|
|000014f0| 20 72 65 71 75 69 72 65 | 73 20 74 77 6f 20 61 72 | require|s two ar|
|00001500| 67 73 20 77 68 69 63 68 | 20 73 70 65 63 69 66 79 |gs which| specify|
|00001510| 20 74 68 65 20 63 6f 72 | 6e 65 72 73 2e 22 20 22 | the cor|ners." "|
|00001520| 72 22 5d 29 0a 28 62 79 | 74 65 2d 63 6f 64 65 20 |r"]).(by|te-code |
|00001530| 22 c0 c1 c2 5c 22 88 c3 | c4 21 87 22 20 5b 64 65 |"...\"..|.!." [de|
|00001540| 66 61 6c 69 61 73 20 63 | 6c 65 61 72 2d 72 65 63 |falias c|lear-rec|
|00001550| 74 61 6e 67 6c 65 2d 6c | 69 6e 65 20 23 5b 28 73 |tangle-l|ine #[(s|
|00001560| 74 61 72 74 70 6f 73 20 | 62 65 67 65 78 74 72 61 |tartpos |begextra|
|00001570| 20 65 6e 64 65 78 74 72 | 61 29 20 22 c0 c1 77 88 | endextr|a) "..w.|
|00001580| 69 5c 6e 5c 5c 1b 60 0c | 62 88 c0 c1 78 88 60 7c |i\n\\.`.|b...x.`||
|00001590| 88 0b 6a 29 87 22 20 5b | 22 20 09 22 20 6e 69 6c |..j)." [|" ." nil|
|000015a0| 20 65 6e 64 65 78 74 72 | 61 20 63 6f 6c 75 6d 6e | endextr|a column|
|000015b0| 20 73 74 61 72 74 70 6f | 73 5d 20 33 5d 20 70 72 | startpo|s] 3] pr|
|000015c0| 6f 76 69 64 65 20 72 65 | 63 74 5d 20 33 29 0a |ovide re|ct] 3). |
+--------+-------------------------+-------------------------+--------+--------+