home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 6 / FreshFish_September1994.bin / bbs / gnu / emacs-18.59-src.lha / GNU / src / amiga / emacs-18.59 / lisp / picture.elc < prev    next >
Emacs Compiled Lisp  |  1992-10-23  |  19.2 KB

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

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

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs v18 byte-compiled Lisp data default
99% file data default
100% gt2 Kopftext: '(provide (quote picture)) default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0a 28 70 72 6f 76 69 64 | 65 20 28 71 75 6f 74 65 |.(provid|e (quote|
|00000010| 20 70 69 63 74 75 72 65 | 29 29 0a 0a 28 64 65 66 | picture|))..(def|
|00000020| 75 6e 20 6d 6f 76 65 2d | 74 6f 2d 63 6f 6c 75 6d |un move-|to-colum|
|00000030| 6e 2d 66 6f 72 63 65 20 | 28 63 6f 6c 75 6d 6e 29 |n-force |(column)|
|00000040| 20 22 5c 0a 4d 6f 76 65 | 20 74 6f 20 63 6f 6c 75 | "\.Move| to colu|
|00000050| 6d 6e 20 43 4f 4c 55 4d | 4e 20 69 6e 20 63 75 72 |mn COLUM|N in cur|
|00000060| 72 65 6e 74 20 6c 69 6e | 65 2e 0a 44 69 66 66 65 |rent lin|e..Diffe|
|00000070| 72 73 20 66 72 6f 6d 20 | 6d 6f 76 65 2d 74 6f 2d |rs from |move-to-|
|00000080| 63 6f 6c 75 6d 6e 20 69 | 6e 20 74 68 61 74 20 69 |column i|n that i|
|00000090| 74 20 63 72 65 61 74 65 | 73 20 6f 72 20 6d 6f 64 |t create|s or mod|
|000000a0| 69 66 69 65 73 20 77 68 | 69 74 65 73 70 61 63 65 |ifies wh|itespace|
|000000b0| 0a 69 66 20 6e 65 63 65 | 73 73 61 72 79 20 74 6f |.if nece|ssary to|
|000000c0| 20 61 74 74 61 69 6e 20 | 65 78 61 63 74 6c 79 20 | attain |exactly |
|000000d0| 74 68 65 20 73 70 65 63 | 69 66 69 65 64 20 63 6f |the spec|ified co|
|000000e0| 6c 75 6d 6e 2e 22 20 28 | 62 79 74 65 2d 63 6f 64 |lumn." (|byte-cod|
|000000f0| 65 20 22 c3 08 21 88 69 | 19 09 08 57 83 11 00 08 |e "..!.i|...W....|
|00000100| 6a 82 2b 00 c4 09 08 5c | 22 85 1b 00 68 c5 55 85 |j.+....\|"...h.U.|
|00000110| 2b 00 c6 1a c7 c8 21 88 | 09 6a 88 c3 08 21 29 29 |+.....!.|.j...!))|
|00000120| 87 22 20 5b 63 6f 6c 75 | 6d 6e 20 63 6f 6c 20 69 |." [colu|mn col i|
|00000130| 6e 64 65 6e 74 2d 74 61 | 62 73 2d 6d 6f 64 65 20 |ndent-ta|bs-mode |
|00000140| 6d 6f 76 65 2d 74 6f 2d | 63 6f 6c 75 6d 6e 20 2f |move-to-|column /|
|00000150| 3d 20 39 20 6e 69 6c 20 | 64 65 6c 65 74 65 2d 63 |= 9 nil |delete-c|
|00000160| 68 61 72 20 2d 31 5d 20 | 35 29 29 0a 0a 28 64 65 |har -1] |5))..(de|
|00000170| 66 75 6e 20 70 69 63 74 | 75 72 65 2d 65 6e 64 2d |fun pict|ure-end-|
|00000180| 6f 66 2d 6c 69 6e 65 20 | 28 26 6f 70 74 69 6f 6e |of-line |(&option|
|00000190| 61 6c 20 61 72 67 29 20 | 22 5c 0a 50 6f 73 69 74 |al arg) |"\.Posit|
|000001a0| 69 6f 6e 20 70 6f 69 6e | 74 20 61 66 74 65 72 20 |ion poin|t after |
|000001b0| 6c 61 73 74 20 6e 6f 6e | 2d 62 6c 61 6e 6b 20 63 |last non|-blank c|
|000001c0| 68 61 72 61 63 74 65 72 | 20 6f 6e 20 63 75 72 72 |haracter| on curr|
|000001d0| 65 6e 74 20 6c 69 6e 65 | 2e 0a 57 69 74 68 20 41 |ent line|..With A|
|000001e0| 52 47 20 6e 6f 74 20 6e | 69 6c 2c 20 6d 6f 76 65 |RG not n|il, move|
|000001f0| 20 66 6f 72 77 61 72 64 | 20 41 52 47 20 2d 20 31 | forward| ARG - 1|
|00000200| 20 6c 69 6e 65 73 20 66 | 69 72 73 74 2e 0a 49 66 | lines f|irst..If|
|00000210| 20 73 63 61 6e 20 72 65 | 61 63 68 65 73 20 65 6e | scan re|aches en|
|00000220| 64 20 6f 66 20 62 75 66 | 66 65 72 2c 20 73 74 6f |d of buf|fer, sto|
|00000230| 70 20 74 68 65 72 65 20 | 77 69 74 68 6f 75 74 20 |p there |without |
|00000240| 65 72 72 6f 72 2e 22 20 | 28 69 6e 74 65 72 61 63 |error." |(interac|
|00000250| 74 69 76 65 20 22 50 22 | 29 20 28 62 79 74 65 2d |tive "P"|) (byte-|
|00000260| 63 6f 64 65 20 22 c1 88 | 08 85 0c 00 c2 c3 08 21 |code "..|.......!|
|00000270| 53 21 88 c4 20 88 c5 c6 | 60 c7 20 88 5c 22 87 22 |S!.. ...|`. .\"."|
|00000280| 20 5b 61 72 67 20 6e 69 | 6c 20 66 6f 72 77 61 72 | [arg ni|l forwar|
|00000290| 64 2d 6c 69 6e 65 20 70 | 72 65 66 69 78 2d 6e 75 |d-line p|refix-nu|
|000002a0| 6d 65 72 69 63 2d 76 61 | 6c 75 65 20 62 65 67 69 |meric-va|lue begi|
|000002b0| 6e 6e 69 6e 67 2d 6f 66 | 2d 6c 69 6e 65 20 73 6b |nning-of|-line sk|
|000002c0| 69 70 2d 63 68 61 72 73 | 2d 62 61 63 6b 77 61 72 |ip-chars|-backwar|
|000002d0| 64 20 22 20 09 22 20 65 | 6e 64 2d 6f 66 2d 6c 69 |d " ." e|nd-of-li|
|000002e0| 6e 65 5d 20 38 29 29 0a | 0a 28 64 65 66 75 6e 20 |ne] 8)).|.(defun |
|000002f0| 70 69 63 74 75 72 65 2d | 66 6f 72 77 61 72 64 2d |picture-|forward-|
|00000300| 63 6f 6c 75 6d 6e 20 28 | 61 72 67 29 20 22 5c 0a |column (|arg) "\.|
|00000310| 4d 6f 76 65 20 63 75 72 | 73 6f 72 20 72 69 67 68 |Move cur|sor righ|
|00000320| 74 2c 20 6d 61 6b 69 6e | 67 20 77 68 69 74 65 73 |t, makin|g whites|
|00000330| 70 61 63 65 20 69 66 20 | 6e 65 63 65 73 73 61 72 |pace if |necessar|
|00000340| 79 2e 0a 57 69 74 68 20 | 61 72 67 75 6d 65 6e 74 |y..With |argument|
|00000350| 2c 20 6d 6f 76 65 20 74 | 68 61 74 20 6d 61 6e 79 |, move t|hat many|
|00000360| 20 63 6f 6c 75 6d 6e 73 | 2e 22 20 28 69 6e 74 65 | columns|." (inte|
|00000370| 72 61 63 74 69 76 65 20 | 22 70 22 29 20 28 62 79 |ractive |"p") (by|
|00000380| 74 65 2d 63 6f 64 65 20 | 22 c1 88 c2 69 08 5c 5c |te-code |"...i.\\|
|00000390| 21 87 22 20 5b 61 72 67 | 20 6e 69 6c 20 6d 6f 76 |!." [arg| nil mov|
|000003a0| 65 2d 74 6f 2d 63 6f 6c | 75 6d 6e 2d 66 6f 72 63 |e-to-col|umn-forc|
|000003b0| 65 5d 20 33 29 29 0a 0a | 28 64 65 66 75 6e 20 70 |e] 3))..|(defun p|
|000003c0| 69 63 74 75 72 65 2d 62 | 61 63 6b 77 61 72 64 2d |icture-b|ackward-|
|000003d0| 63 6f 6c 75 6d 6e 20 28 | 61 72 67 29 20 22 5c 0a |column (|arg) "\.|
|000003e0| 4d 6f 76 65 20 63 75 72 | 73 6f 72 20 6c 65 66 74 |Move cur|sor left|
|000003f0| 2c 20 6d 61 6b 69 6e 67 | 20 77 68 69 74 65 73 70 |, making| whitesp|
|00000400| 61 63 65 20 69 66 20 6e | 65 63 65 73 73 61 72 79 |ace if n|ecessary|
|00000410| 2e 0a 57 69 74 68 20 61 | 72 67 75 6d 65 6e 74 2c |..With a|rgument,|
|00000420| 20 6d 6f 76 65 20 74 68 | 61 74 20 6d 61 6e 79 20 | move th|at many |
|00000430| 63 6f 6c 75 6d 6e 73 2e | 22 20 28 69 6e 74 65 72 |columns.|" (inter|
|00000440| 61 63 74 69 76 65 20 22 | 70 22 29 20 28 62 79 74 |active "|p") (byt|
|00000450| 65 2d 63 6f 64 65 20 22 | c1 88 c2 69 08 5a 21 87 |e-code "|...i.Z!.|
|00000460| 22 20 5b 61 72 67 20 6e | 69 6c 20 6d 6f 76 65 2d |" [arg n|il move-|
|00000470| 74 6f 2d 63 6f 6c 75 6d | 6e 2d 66 6f 72 63 65 5d |to-colum|n-force]|
|00000480| 20 33 29 29 0a 0a 28 64 | 65 66 75 6e 20 70 69 63 | 3))..(d|efun pic|
|00000490| 74 75 72 65 2d 6d 6f 76 | 65 2d 64 6f 77 6e 20 28 |ture-mov|e-down (|
|000004a0| 61 72 67 29 20 22 5c 0a | 4d 6f 76 65 20 76 65 72 |arg) "\.|Move ver|
|000004b0| 74 69 63 61 6c 6c 79 20 | 64 6f 77 6e 2c 20 6d 61 |tically |down, ma|
|000004c0| 6b 69 6e 67 20 77 68 69 | 74 65 73 70 61 63 65 20 |king whi|tespace |
|000004d0| 69 66 20 6e 65 63 65 73 | 73 61 72 79 2e 0a 57 69 |if neces|sary..Wi|
|000004e0| 74 68 20 61 72 67 75 6d | 65 6e 74 2c 20 6d 6f 76 |th argum|ent, mov|
|000004f0| 65 20 74 68 61 74 20 6d | 61 6e 79 20 6c 69 6e 65 |e that m|any line|
|00000500| 73 2e 22 20 28 69 6e 74 | 65 72 61 63 74 69 76 65 |s." (int|eractive|
|00000510| 20 22 70 22 29 20 28 62 | 79 74 65 2d 63 6f 64 65 | "p") (b|yte-code|
|00000520| 20 22 c2 88 69 18 c3 09 | 21 88 c4 08 21 29 87 22 | "..i...|!...!)."|
|00000530| 20 5b 63 6f 6c 20 61 72 | 67 20 6e 69 6c 20 70 69 | [col ar|g nil pi|
|00000540| 63 74 75 72 65 2d 6e 65 | 77 6c 69 6e 65 20 6d 6f |cture-ne|wline mo|
|00000550| 76 65 2d 74 6f 2d 63 6f | 6c 75 6d 6e 2d 66 6f 72 |ve-to-co|lumn-for|
|00000560| 63 65 5d 20 33 29 29 0a | 0a 28 64 65 66 63 6f 6e |ce] 3)).|.(defcon|
|00000570| 73 74 20 70 69 63 74 75 | 72 65 2d 76 65 72 74 69 |st pictu|re-verti|
|00000580| 63 61 6c 2d 73 74 65 70 | 20 30 20 22 5c 0a 41 6d |cal-step| 0 "\.Am|
|00000590| 6f 75 6e 74 20 74 6f 20 | 6d 6f 76 65 20 76 65 72 |ount to |move ver|
|000005a0| 74 69 63 61 6c 6c 79 20 | 61 66 74 65 72 20 74 65 |tically |after te|
|000005b0| 78 74 20 63 68 61 72 61 | 63 74 65 72 20 69 6e 20 |xt chara|cter in |
|000005c0| 50 69 63 74 75 72 65 20 | 6d 6f 64 65 2e 22 29 0a |Picture |mode.").|
|000005d0| 0a 28 64 65 66 63 6f 6e | 73 74 20 70 69 63 74 75 |.(defcon|st pictu|
|000005e0| 72 65 2d 68 6f 72 69 7a | 6f 6e 74 61 6c 2d 73 74 |re-horiz|ontal-st|
|000005f0| 65 70 20 31 20 22 5c 0a | 41 6d 6f 75 6e 74 20 74 |ep 1 "\.|Amount t|
|00000600| 6f 20 6d 6f 76 65 20 68 | 6f 72 69 7a 6f 6e 74 61 |o move h|orizonta|
|00000610| 6c 6c 79 20 61 66 74 65 | 72 20 74 65 78 74 20 63 |lly afte|r text c|
|00000620| 68 61 72 61 63 74 65 72 | 20 69 6e 20 50 69 63 74 |haracter| in Pict|
|00000630| 75 72 65 20 6d 6f 64 65 | 2e 22 29 0a 0a 28 64 65 |ure mode|.")..(de|
|00000640| 66 75 6e 20 70 69 63 74 | 75 72 65 2d 6d 6f 76 65 |fun pict|ure-move|
|00000650| 2d 75 70 20 28 61 72 67 | 29 20 22 5c 0a 4d 6f 76 |-up (arg|) "\.Mov|
|00000660| 65 20 76 65 72 74 69 63 | 61 6c 6c 79 20 75 70 2c |e vertic|ally up,|
|00000670| 20 6d 61 6b 69 6e 67 20 | 77 68 69 74 65 73 70 61 | making |whitespa|
|00000680| 63 65 20 69 66 20 6e 65 | 63 65 73 73 61 72 79 2e |ce if ne|cessary.|
|00000690| 0a 57 69 74 68 20 61 72 | 67 75 6d 65 6e 74 2c 20 |.With ar|gument, |
|000006a0| 6d 6f 76 65 20 74 68 61 | 74 20 6d 61 6e 79 20 6c |move tha|t many l|
|000006b0| 69 6e 65 73 2e 22 20 28 | 69 6e 74 65 72 61 63 74 |ines." (|interact|
|000006c0| 69 76 65 20 22 70 22 29 | 20 28 62 79 74 65 2d 63 |ive "p")| (byte-c|
|000006d0| 6f 64 65 20 22 c1 88 c2 | 08 5b 21 87 22 20 5b 61 |ode "...|.[!." [a|
|000006e0| 72 67 20 6e 69 6c 20 70 | 69 63 74 75 72 65 2d 6d |rg nil p|icture-m|
|000006f0| 6f 76 65 2d 64 6f 77 6e | 5d 20 32 29 29 0a 0a 28 |ove-down|] 2))..(|
|00000700| 64 65 66 75 6e 20 70 69 | 63 74 75 72 65 2d 6d 6f |defun pi|cture-mo|
|00000710| 76 65 6d 65 6e 74 2d 72 | 69 67 68 74 20 6e 69 6c |vement-r|ight nil|
|00000720| 20 22 5c 0a 4d 6f 76 65 | 20 72 69 67 68 74 20 61 | "\.Move| right a|
|00000730| 66 74 65 72 20 73 65 6c | 66 2d 69 6e 73 65 72 74 |fter sel|f-insert|
|00000740| 69 6e 67 20 63 68 61 72 | 61 63 74 65 72 20 69 6e |ing char|acter in|
|00000750| 20 50 69 63 74 75 72 65 | 20 6d 6f 64 65 2e 22 20 | Picture| mode." |
|00000760| 28 69 6e 74 65 72 61 63 | 74 69 76 65 29 20 28 62 |(interac|tive) (b|
|00000770| 79 74 65 2d 63 6f 64 65 | 20 22 c0 88 c1 c2 c3 5c |yte-code| ".....\|
|00000780| 22 87 22 20 5b 6e 69 6c | 20 70 69 63 74 75 72 65 |"." [nil| picture|
|00000790| 2d 73 65 74 2d 6d 6f 74 | 69 6f 6e 20 30 20 31 5d |-set-mot|ion 0 1]|
|000007a0| 20 33 29 29 0a 0a 28 64 | 65 66 75 6e 20 70 69 63 | 3))..(d|efun pic|
|000007b0| 74 75 72 65 2d 6d 6f 76 | 65 6d 65 6e 74 2d 6c 65 |ture-mov|ement-le|
|000007c0| 66 74 20 6e 69 6c 20 22 | 5c 0a 4d 6f 76 65 20 6c |ft nil "|\.Move l|
|000007d0| 65 66 74 20 61 66 74 65 | 72 20 73 65 6c 66 2d 69 |eft afte|r self-i|
|000007e0| 6e 73 65 72 74 69 6e 67 | 20 63 68 61 72 61 63 74 |nserting| charact|
|000007f0| 65 72 20 69 6e 20 50 69 | 63 74 75 72 65 20 6d 6f |er in Pi|cture mo|
|00000800| 64 65 2e 22 20 28 69 6e | 74 65 72 61 63 74 69 76 |de." (in|teractiv|
|00000810| 65 29 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |e) (byte|-code ".|
|00000820| 88 c1 c2 c3 5c 22 87 22 | 20 5b 6e 69 6c 20 70 69 |....\"."| [nil pi|
|00000830| 63 74 75 72 65 2d 73 65 | 74 2d 6d 6f 74 69 6f 6e |cture-se|t-motion|
|00000840| 20 30 20 2d 31 5d 20 33 | 29 29 0a 0a 28 64 65 66 | 0 -1] 3|))..(def|
|00000850| 75 6e 20 70 69 63 74 75 | 72 65 2d 6d 6f 76 65 6d |un pictu|re-movem|
|00000860| 65 6e 74 2d 75 70 20 6e | 69 6c 20 22 5c 0a 4d 6f |ent-up n|il "\.Mo|
|00000870| 76 65 20 75 70 20 61 66 | 74 65 72 20 73 65 6c 66 |ve up af|ter self|
|00000880| 2d 69 6e 73 65 72 74 69 | 6e 67 20 63 68 61 72 61 |-inserti|ng chara|
|00000890| 63 74 65 72 20 69 6e 20 | 50 69 63 74 75 72 65 20 |cter in |Picture |
|000008a0| 6d 6f 64 65 2e 22 20 28 | 69 6e 74 65 72 61 63 74 |mode." (|interact|
|000008b0| 69 76 65 29 20 28 62 79 | 74 65 2d 63 6f 64 65 20 |ive) (by|te-code |
|000008c0| 22 c0 88 c1 c2 c3 5c 22 | 87 22 20 5b 6e 69 6c 20 |".....\"|." [nil |
|000008d0| 70 69 63 74 75 72 65 2d | 73 65 74 2d 6d 6f 74 69 |picture-|set-moti|
|000008e0| 6f 6e 20 2d 31 20 30 5d | 20 33 29 29 0a 0a 28 64 |on -1 0]| 3))..(d|
|000008f0| 65 66 75 6e 20 70 69 63 | 74 75 72 65 2d 6d 6f 76 |efun pic|ture-mov|
|00000900| 65 6d 65 6e 74 2d 64 6f | 77 6e 20 6e 69 6c 20 22 |ement-do|wn nil "|
|00000910| 5c 0a 4d 6f 76 65 20 64 | 6f 77 6e 20 61 66 74 65 |\.Move d|own afte|
|00000920| 72 20 73 65 6c 66 2d 69 | 6e 73 65 72 74 69 6e 67 |r self-i|nserting|
|00000930| 20 63 68 61 72 61 63 74 | 65 72 20 69 6e 20 50 69 | charact|er in Pi|
|00000940| 63 74 75 72 65 20 6d 6f | 64 65 2e 22 20 28 69 6e |cture mo|de." (in|
|00000950| 74 65 72 61 63 74 69 76 | 65 29 20 28 62 79 74 65 |teractiv|e) (byte|
|00000960| 2d 63 6f 64 65 20 22 c0 | 88 c1 c2 c3 5c 22 87 22 |-code ".|....\"."|
|00000970| 20 5b 6e 69 6c 20 70 69 | 63 74 75 72 65 2d 73 65 | [nil pi|cture-se|
|00000980| 74 2d 6d 6f 74 69 6f 6e | 20 31 20 30 5d 20 33 29 |t-motion| 1 0] 3)|
|00000990| 29 0a 0a 28 64 65 66 75 | 6e 20 70 69 63 74 75 72 |)..(defu|n pictur|
|000009a0| 65 2d 6d 6f 76 65 6d 65 | 6e 74 2d 6e 77 20 6e 69 |e-moveme|nt-nw ni|
|000009b0| 6c 20 22 5c 0a 4d 6f 76 | 65 20 75 70 20 61 6e 64 |l "\.Mov|e up and|
|000009c0| 20 6c 65 66 74 20 61 66 | 74 65 72 20 73 65 6c 66 | left af|ter self|
|000009d0| 2d 69 6e 73 65 72 74 69 | 6e 67 20 63 68 61 72 61 |-inserti|ng chara|
|000009e0| 63 74 65 72 20 69 6e 20 | 50 69 63 74 75 72 65 20 |cter in |Picture |
|000009f0| 6d 6f 64 65 2e 22 20 28 | 69 6e 74 65 72 61 63 74 |mode." (|interact|
|00000a00| 69 76 65 29 20 28 62 79 | 74 65 2d 63 6f 64 65 20 |ive) (by|te-code |
|00000a10| 22 c0 88 c1 c2 c2 5c 22 | 87 22 20 5b 6e 69 6c 20 |".....\"|." [nil |
|00000a20| 70 69 63 74 75 72 65 2d | 73 65 74 2d 6d 6f 74 69 |picture-|set-moti|
|00000a30| 6f 6e 20 2d 31 5d 20 33 | 29 29 0a 0a 28 64 65 66 |on -1] 3|))..(def|
|00000a40| 75 6e 20 70 69 63 74 75 | 72 65 2d 6d 6f 76 65 6d |un pictu|re-movem|
|00000a50| 65 6e 74 2d 6e 65 20 6e | 69 6c 20 22 5c 0a 4d 6f |ent-ne n|il "\.Mo|
|00000a60| 76 65 20 75 70 20 61 6e | 64 20 72 69 67 68 74 20 |ve up an|d right |
|00000a70| 61 66 74 65 72 20 73 65 | 6c 66 2d 69 6e 73 65 72 |after se|lf-inser|
|00000a80| 74 69 6e 67 20 63 68 61 | 72 61 63 74 65 72 20 69 |ting cha|racter i|
|00000a90| 6e 20 50 69 63 74 75 72 | 65 20 6d 6f 64 65 2e 22 |n Pictur|e mode."|
|00000aa0| 20 28 69 6e 74 65 72 61 | 63 74 69 76 65 29 20 28 | (intera|ctive) (|
|00000ab0| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 88 c1 c2 c3 |byte-cod|e ".....|
|00000ac0| 5c 22 87 22 20 5b 6e 69 | 6c 20 70 69 63 74 75 72 |\"." [ni|l pictur|
|00000ad0| 65 2d 73 65 74 2d 6d 6f | 74 69 6f 6e 20 2d 31 20 |e-set-mo|tion -1 |
|00000ae0| 31 5d 20 33 29 29 0a 0a | 28 64 65 66 75 6e 20 70 |1] 3))..|(defun p|
|00000af0| 69 63 74 75 72 65 2d 6d | 6f 76 65 6d 65 6e 74 2d |icture-m|ovement-|
|00000b00| 73 77 20 6e 69 6c 20 22 | 5c 0a 4d 6f 76 65 20 64 |sw nil "|\.Move d|
|00000b10| 6f 77 6e 20 61 6e 64 20 | 6c 65 66 74 20 61 66 74 |own and |left aft|
|00000b20| 65 72 20 73 65 6c 66 2d | 69 6e 73 65 72 74 69 6e |er self-|insertin|
|00000b30| 67 20 63 68 61 72 61 63 | 74 65 72 20 69 6e 20 50 |g charac|ter in P|
|00000b40| 69 63 74 75 72 65 20 6d | 6f 64 65 2e 22 20 28 69 |icture m|ode." (i|
|00000b50| 6e 74 65 72 61 63 74 69 | 76 65 29 20 28 62 79 74 |nteracti|ve) (byt|
|00000b60| 65 2d 63 6f 64 65 20 22 | c0 88 c1 c2 c3 5c 22 87 |e-code "|.....\".|
|00000b70| 22 20 5b 6e 69 6c 20 70 | 69 63 74 75 72 65 2d 73 |" [nil p|icture-s|
|00000b80| 65 74 2d 6d 6f 74 69 6f | 6e 20 31 20 2d 31 5d 20 |et-motio|n 1 -1] |
|00000b90| 33 29 29 0a 0a 28 64 65 | 66 75 6e 20 70 69 63 74 |3))..(de|fun pict|
|00000ba0| 75 72 65 2d 6d 6f 76 65 | 6d 65 6e 74 2d 73 65 20 |ure-move|ment-se |
|00000bb0| 6e 69 6c 20 22 5c 0a 4d | 6f 76 65 20 64 6f 77 6e |nil "\.M|ove down|
|00000bc0| 20 61 6e 64 20 72 69 67 | 68 74 20 61 66 74 65 72 | and rig|ht after|
|00000bd0| 20 73 65 6c 66 2d 69 6e | 73 65 72 74 69 6e 67 20 | self-in|serting |
|00000be0| 63 68 61 72 61 63 74 65 | 72 20 69 6e 20 50 69 63 |characte|r in Pic|
|00000bf0| 74 75 72 65 20 6d 6f 64 | 65 2e 22 20 28 69 6e 74 |ture mod|e." (int|
|00000c00| 65 72 61 63 74 69 76 65 | 29 20 28 62 79 74 65 2d |eractive|) (byte-|
|00000c10| 63 6f 64 65 20 22 c0 88 | c1 c2 c2 5c 22 87 22 20 |code "..|...\"." |
|00000c20| 5b 6e 69 6c 20 70 69 63 | 74 75 72 65 2d 73 65 74 |[nil pic|ture-set|
|00000c30| 2d 6d 6f 74 69 6f 6e 20 | 31 5d 20 33 29 29 0a 0a |-motion |1] 3))..|
|00000c40| 28 64 65 66 75 6e 20 70 | 69 63 74 75 72 65 2d 73 |(defun p|icture-s|
|00000c50| 65 74 2d 6d 6f 74 69 6f | 6e 20 28 76 65 72 74 20 |et-motio|n (vert |
|00000c60| 68 6f 72 69 7a 29 20 22 | 5c 0a 53 65 74 20 56 45 |horiz) "|\.Set VE|
|00000c70| 52 54 49 43 41 4c 20 61 | 6e 64 20 48 4f 52 49 5a |RTICAL a|nd HORIZ|
|00000c80| 4f 4e 54 41 4c 20 69 6e | 63 72 65 6d 65 6e 74 73 |ONTAL in|crements|
|00000c90| 20 66 6f 72 20 6d 6f 76 | 65 6d 65 6e 74 20 69 6e | for mov|ement in|
|00000ca0| 20 50 69 63 74 75 72 65 | 20 6d 6f 64 65 2e 0a 54 | Picture| mode..T|
|00000cb0| 68 65 20 6d 6f 64 65 20 | 6c 69 6e 65 20 69 73 20 |he mode |line is |
|00000cc0| 75 70 64 61 74 65 64 20 | 74 6f 20 72 65 66 6c 65 |updated |to refle|
|00000cd0| 63 74 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 64 |ct the c|urrent d|
|00000ce0| 69 72 65 63 74 69 6f 6e | 2e 22 20 28 62 79 74 65 |irection|." (byte|
|00000cf0| 2d 63 6f 64 65 20 22 09 | 10 0b 89 12 88 c5 c6 c7 |-code ".|........|
|00000d00| c8 c9 ca 0b cb 5c 22 cc | cd ca 09 cb 5c 22 54 5c |.....\".|....\"T\|
|00000d10| 22 23 ce 5c 22 40 5c 22 | 89 14 88 cf d0 20 21 88 |"#.\"@\"|..... !.|
|00000d20| d1 d2 21 87 22 20 5b 70 | 69 63 74 75 72 65 2d 76 |..!." [p|icture-v|
|00000d30| 65 72 74 69 63 61 6c 2d | 73 74 65 70 20 76 65 72 |ertical-|step ver|
|00000d40| 74 20 70 69 63 74 75 72 | 65 2d 68 6f 72 69 7a 6f |t pictur|e-horizo|
|00000d50| 6e 74 61 6c 2d 73 74 65 | 70 20 68 6f 72 69 7a 20 |ntal-ste|p horiz |
|00000d60| 6d 6f 64 65 2d 6e 61 6d | 65 20 66 6f 72 6d 61 74 |mode-nam|e format|
|00000d70| 20 22 50 69 63 74 75 72 | 65 3a 25 73 22 20 6e 74 | "Pictur|e:%s" nt|
|00000d80| 68 63 64 72 20 2b 20 31 | 20 25 20 32 20 2a 20 33 |hcdr + 1| % 2 * 3|
|00000d90| 20 28 6e 77 20 75 70 20 | 6e 65 20 6c 65 66 74 20 | (nw up |ne left |
|00000da0| 6e 6f 6e 65 20 72 69 67 | 68 74 20 73 77 20 64 6f |none rig|ht sw do|
|00000db0| 77 6e 20 73 65 29 20 73 | 65 74 2d 62 75 66 66 65 |wn se) s|et-buffe|
|00000dc0| 72 2d 6d 6f 64 69 66 69 | 65 64 2d 70 20 62 75 66 |r-modifi|ed-p buf|
|00000dd0| 66 65 72 2d 6d 6f 64 69 | 66 69 65 64 2d 70 20 6d |fer-modi|fied-p m|
|00000de0| 65 73 73 61 67 65 20 22 | 22 5d 20 31 32 29 29 0a |essage "|"] 12)).|
|00000df0| 0a 28 64 65 66 75 6e 20 | 70 69 63 74 75 72 65 2d |.(defun |picture-|
|00000e00| 6d 6f 76 65 20 6e 69 6c | 20 22 5c 0a 4d 6f 76 65 |move nil| "\.Move|
|00000e10| 20 69 6e 20 64 69 72 65 | 63 74 69 6f 6e 20 6f 66 | in dire|ction of|
|00000e20| 20 20 70 69 63 74 75 72 | 65 2d 76 65 72 74 69 63 | pictur|e-vertic|
|00000e30| 61 6c 2d 73 74 65 70 20 | 20 61 6e 64 20 20 70 69 |al-step | and pi|
|00000e40| 63 74 75 72 65 2d 68 6f | 72 69 7a 6f 6e 74 61 6c |cture-ho|rizontal|
|00000e50| 2d 73 74 65 70 2e 22 20 | 28 62 79 74 65 2d 63 6f |-step." |(byte-co|
|00000e60| 64 65 20 22 c2 08 21 88 | c3 09 21 87 22 20 5b 70 |de "..!.|..!." [p|
|00000e70| 69 63 74 75 72 65 2d 76 | 65 72 74 69 63 61 6c 2d |icture-v|ertical-|
|00000e80| 73 74 65 70 20 70 69 63 | 74 75 72 65 2d 68 6f 72 |step pic|ture-hor|
|00000e90| 69 7a 6f 6e 74 61 6c 2d | 73 74 65 70 20 70 69 63 |izontal-|step pic|
|00000ea0| 74 75 72 65 2d 6d 6f 76 | 65 2d 64 6f 77 6e 20 70 |ture-mov|e-down p|
|00000eb0| 69 63 74 75 72 65 2d 66 | 6f 72 77 61 72 64 2d 63 |icture-f|orward-c|
|00000ec0| 6f 6c 75 6d 6e 5d 20 33 | 29 29 0a 0a 28 64 65 66 |olumn] 3|))..(def|
|00000ed0| 75 6e 20 70 69 63 74 75 | 72 65 2d 6d 6f 74 69 6f |un pictu|re-motio|
|00000ee0| 6e 20 28 61 72 67 29 20 | 22 5c 0a 4d 6f 76 65 20 |n (arg) |"\.Move |
|00000ef0| 70 6f 69 6e 74 20 69 6e | 20 64 69 72 65 63 74 69 |point in| directi|
|00000f00| 6f 6e 20 6f 66 20 63 75 | 72 72 65 6e 74 20 70 69 |on of cu|rrent pi|
|00000f10| 63 74 75 72 65 20 6d 6f | 74 69 6f 6e 20 69 6e 20 |cture mo|tion in |
|00000f20| 50 69 63 74 75 72 65 20 | 6d 6f 64 65 2e 0a 57 69 |Picture |mode..Wi|
|00000f30| 74 68 20 41 52 47 20 64 | 6f 20 69 74 20 74 68 61 |th ARG d|o it tha|
|00000f40| 74 20 6d 61 6e 79 20 74 | 69 6d 65 73 2e 20 20 55 |t many t|imes. U|
|00000f50| 73 65 66 75 6c 20 66 6f | 72 20 64 65 6c 69 6e 65 |seful fo|r deline|
|00000f60| 61 74 69 6e 67 20 72 65 | 63 74 61 6e 67 6c 65 73 |ating re|ctangles|
|00000f70| 20 69 6e 0a 63 6f 6e 6a | 75 6e 63 74 69 6f 6e 20 | in.conj|unction |
|00000f80| 77 69 74 68 20 64 69 61 | 67 6f 6e 61 6c 20 70 69 |with dia|gonal pi|
|00000f90| 63 74 75 72 65 20 6d 6f | 74 69 6f 6e 2e 0a 44 6f |cture mo|tion..Do|
|00000fa0| 20 5c 5c 5b 63 6f 6d 6d | 61 6e 64 2d 61 70 72 6f | \\[comm|and-apro|
|00000fb0| 70 6f 73 5d 20 20 70 69 | 63 74 75 72 65 2d 6d 6f |pos] pi|cture-mo|
|00000fc0| 76 65 6d 65 6e 74 20 20 | 74 6f 20 73 65 65 20 63 |vement |to see c|
|00000fd0| 6f 6d 6d 61 6e 64 73 20 | 77 68 69 63 68 20 63 6f |ommands |which co|
|00000fe0| 6e 74 72 6f 6c 20 6d 6f | 74 69 6f 6e 2e 22 20 28 |ntrol mo|tion." (|
|00000ff0| 69 6e 74 65 72 61 63 74 | 69 76 65 20 22 70 22 29 |interact|ive "p")|
|00001000| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c3 88 c4 | (byte-c|ode "...|
|00001010| c5 08 09 5c 22 21 88 c6 | c5 08 0a 5c 22 21 87 22 |...\"!..|...\"!."|
|00001020| 20 5b 61 72 67 20 70 69 | 63 74 75 72 65 2d 76 65 | [arg pi|cture-ve|
|00001030| 72 74 69 63 61 6c 2d 73 | 74 65 70 20 70 69 63 74 |rtical-s|tep pict|
|00001040| 75 72 65 2d 68 6f 72 69 | 7a 6f 6e 74 61 6c 2d 73 |ure-hori|zontal-s|
|00001050| 74 65 70 20 6e 69 6c 20 | 70 69 63 74 75 72 65 2d |tep nil |picture-|
|00001060| 6d 6f 76 65 2d 64 6f 77 | 6e 20 2a 20 70 69 63 74 |move-dow|n * pict|
|00001070| 75 72 65 2d 66 6f 72 77 | 61 72 64 2d 63 6f 6c 75 |ure-forw|ard-colu|
|00001080| 6d 6e 5d 20 36 29 29 0a | 0a 28 64 65 66 75 6e 20 |mn] 6)).|.(defun |
|00001090| 70 69 63 74 75 72 65 2d | 6d 6f 74 69 6f 6e 2d 72 |picture-|motion-r|
|000010a0| 65 76 65 72 73 65 20 28 | 61 72 67 29 20 22 5c 0a |everse (|arg) "\.|
|000010b0| 4d 6f 76 65 20 70 6f 69 | 6e 74 20 69 6e 20 64 69 |Move poi|nt in di|
|000010c0| 72 65 63 74 69 6f 6e 20 | 6f 70 70 6f 73 69 74 65 |rection |opposite|
|000010d0| 20 6f 66 20 63 75 72 72 | 65 6e 74 20 70 69 63 74 | of curr|ent pict|
|000010e0| 75 72 65 20 6d 6f 74 69 | 6f 6e 20 69 6e 20 50 69 |ure moti|on in Pi|
|000010f0| 63 74 75 72 65 20 6d 6f | 64 65 2e 0a 57 69 74 68 |cture mo|de..With|
|00001100| 20 41 52 47 20 64 6f 20 | 69 74 20 74 68 61 74 20 | ARG do |it that |
|00001110| 6d 61 6e 79 20 74 69 6d | 65 73 2e 20 20 55 73 65 |many tim|es. Use|
|00001120| 66 75 6c 20 66 6f 72 20 | 64 65 6c 69 6e 65 61 74 |ful for |delineat|
|00001130| 69 6e 67 20 72 65 63 74 | 61 6e 67 6c 65 73 20 69 |ing rect|angles i|
|00001140| 6e 0a 63 6f 6e 6a 75 6e | 63 74 69 6f 6e 20 77 69 |n.conjun|ction wi|
|00001150| 74 68 20 64 69 61 67 6f | 6e 61 6c 20 70 69 63 74 |th diago|nal pict|
|00001160| 75 72 65 20 6d 6f 74 69 | 6f 6e 2e 0a 44 6f 20 5c |ure moti|on..Do \|
|00001170| 5c 5b 63 6f 6d 6d 61 6e | 64 2d 61 70 72 6f 70 6f |\[comman|d-apropo|
|00001180| 73 5d 20 20 70 69 63 74 | 75 72 65 2d 6d 6f 76 65 |s] pict|ure-move|
|00001190| 6d 65 6e 74 20 20 74 6f | 20 73 65 65 20 63 6f 6d |ment to| see com|
|000011a0| 6d 61 6e 64 73 20 77 68 | 69 63 68 20 63 6f 6e 74 |mands wh|ich cont|
|000011b0| 72 6f 6c 20 6d 6f 74 69 | 6f 6e 2e 22 20 28 69 6e |rol moti|on." (in|
|000011c0| 74 65 72 61 63 74 69 76 | 65 20 22 70 22 29 20 28 |teractiv|e "p") (|
|000011d0| 62 79 74 65 2d 63 6f 64 | 65 20 22 c1 88 c2 08 5b |byte-cod|e "....[|
|000011e0| 21 87 22 20 5b 61 72 67 | 20 6e 69 6c 20 70 69 63 |!." [arg| nil pic|
|000011f0| 74 75 72 65 2d 6d 6f 74 | 69 6f 6e 5d 20 32 29 29 |ture-mot|ion] 2))|
|00001200| 0a 0a 28 64 65 66 75 6e | 20 70 69 63 74 75 72 65 |..(defun| picture|
|00001210| 2d 73 65 6c 66 2d 69 6e | 73 65 72 74 20 28 61 72 |-self-in|sert (ar|
|00001220| 67 29 20 22 5c 0a 49 6e | 73 65 72 74 20 74 68 69 |g) "\.In|sert thi|
|00001230| 73 20 63 68 61 72 61 63 | 74 65 72 20 69 6e 20 70 |s charac|ter in p|
|00001240| 6c 61 63 65 20 6f 66 20 | 63 68 61 72 61 63 74 65 |lace of |characte|
|00001250| 72 20 70 72 65 76 69 6f | 75 73 6c 79 20 61 74 20 |r previo|usly at |
|00001260| 74 68 65 20 63 75 72 73 | 6f 72 2e 0a 54 68 65 20 |the curs|or..The |
|00001270| 63 75 72 73 6f 72 20 74 | 68 65 6e 20 6d 6f 76 65 |cursor t|hen move|
|00001280| 73 20 69 6e 20 74 68 65 | 20 64 69 72 65 63 74 69 |s in the| directi|
|00001290| 6f 6e 20 79 6f 75 20 70 | 72 65 76 69 6f 75 73 6c |on you p|reviousl|
|000012a0| 79 20 73 70 65 63 69 66 | 69 65 64 0a 77 69 74 68 |y specif|ied.with|
|000012b0| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 73 20 70 69 | the com|mands pi|
|000012c0| 63 74 75 72 65 2d 6d 6f | 76 65 6d 65 6e 74 2d 72 |cture-mo|vement-r|
|000012d0| 69 67 68 74 2c 20 70 69 | 63 74 75 72 65 2d 6d 6f |ight, pi|cture-mo|
|000012e0| 76 65 6d 65 6e 74 2d 75 | 70 2c 20 65 74 63 2e 0a |vement-u|p, etc..|
|000012f0| 44 6f 20 5c 5c 5b 63 6f | 6d 6d 61 6e 64 2d 61 70 |Do \\[co|mmand-ap|
|00001300| 72 6f 70 6f 73 5d 20 20 | 70 69 63 74 75 72 65 2d |ropos] |picture-|
|00001310| 6d 6f 76 65 6d 65 6e 74 | 20 20 74 6f 20 73 65 65 |movement| to see|
|00001320| 20 74 68 6f 73 65 20 63 | 6f 6d 6d 61 6e 64 73 2e | those c|ommands.|
|00001330| 22 20 28 69 6e 74 65 72 | 61 63 74 69 76 65 20 22 |" (inter|active "|
|00001340| 70 22 29 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |p") (byt|e-code "|
|00001350| c2 88 08 c3 56 85 23 00 | 08 53 89 10 88 c4 69 54 |....V.#.|.S....iT|
|00001360| 21 88 c5 c6 21 88 09 63 | 88 c7 c6 21 88 c8 20 88 |!...!..c|...!.. .|
|00001370| 82 02 00 87 22 20 5b 61 | 72 67 20 6c 61 73 74 2d |...." [a|rg last-|
|00001380| 69 6e 70 75 74 2d 63 68 | 61 72 20 6e 69 6c 20 30 |input-ch|ar nil 0|
|00001390| 20 6d 6f 76 65 2d 74 6f | 2d 63 6f 6c 75 6d 6e 2d | move-to|-column-|
|000013a0| 66 6f 72 63 65 20 64 65 | 6c 65 74 65 2d 63 68 61 |force de|lete-cha|
|000013b0| 72 20 2d 31 20 66 6f 72 | 77 61 72 64 2d 63 68 61 |r -1 for|ward-cha|
|000013c0| 72 20 70 69 63 74 75 72 | 65 2d 6d 6f 76 65 5d 20 |r pictur|e-move] |
|000013d0| 36 29 29 0a 0a 28 64 65 | 66 75 6e 20 70 69 63 74 |6))..(de|fun pict|
|000013e0| 75 72 65 2d 63 6c 65 61 | 72 2d 63 6f 6c 75 6d 6e |ure-clea|r-column|
|000013f0| 20 28 61 72 67 29 20 22 | 5c 0a 43 6c 65 61 72 20 | (arg) "|\.Clear |
|00001400| 6f 75 74 20 41 52 47 20 | 63 6f 6c 75 6d 6e 73 20 |out ARG |columns |
|00001410| 61 66 74 65 72 20 70 6f | 69 6e 74 20 77 69 74 68 |after po|int with|
|00001420| 6f 75 74 20 6d 6f 76 69 | 6e 67 2e 22 20 28 69 6e |out movi|ng." (in|
|00001430| 74 65 72 61 63 74 69 76 | 65 20 22 70 22 29 20 28 |teractiv|e "p") (|
|00001440| 62 79 74 65 2d 63 6f 64 | 65 20 22 c4 88 60 18 69 |byte-cod|e "..`.i|
|00001450| 19 09 0b 5c 5c 1a c5 0a | 21 88 c6 08 60 5c 22 88 |...\\...|!...`\".|
|00001460| 8a 0a 09 5d 6a 29 2b 87 | 22 20 5b 6f 70 6f 69 6e |...]j)+.|" [opoin|
|00001470| 74 20 6f 72 69 67 69 6e | 61 6c 2d 63 6f 6c 20 74 |t origin|al-col t|
|00001480| 61 72 67 65 74 2d 63 6f | 6c 20 61 72 67 20 6e 69 |arget-co|l arg ni|
|00001490| 6c 20 6d 6f 76 65 2d 74 | 6f 2d 63 6f 6c 75 6d 6e |l move-t|o-column|
|000014a0| 2d 66 6f 72 63 65 20 64 | 65 6c 65 74 65 2d 72 65 |-force d|elete-re|
|000014b0| 67 69 6f 6e 5d 20 34 29 | 29 0a 0a 28 64 65 66 75 |gion] 4)|)..(defu|
|000014c0| 6e 20 70 69 63 74 75 72 | 65 2d 62 61 63 6b 77 61 |n pictur|e-backwa|
|000014d0| 72 64 2d 63 6c 65 61 72 | 2d 63 6f 6c 75 6d 6e 20 |rd-clear|-column |
|000014e0| 28 61 72 67 29 20 22 5c | 0a 43 6c 65 61 72 20 6f |(arg) "\|.Clear o|
|000014f0| 75 74 20 41 52 47 20 63 | 6f 6c 75 6d 6e 73 20 62 |ut ARG c|olumns b|
|00001500| 65 66 6f 72 65 20 70 6f | 69 6e 74 2c 20 6d 6f 76 |efore po|int, mov|
|00001510| 69 6e 67 20 62 61 63 6b | 20 6f 76 65 72 20 74 68 |ing back| over th|
|00001520| 65 6d 2e 22 20 28 69 6e | 74 65 72 61 63 74 69 76 |em." (in|teractiv|
|00001530| 65 20 22 70 22 29 20 28 | 62 79 74 65 2d 63 6f 64 |e "p") (|byte-cod|
|00001540| 65 20 22 c1 88 c2 08 5b | 21 87 22 20 5b 61 72 67 |e "....[|!." [arg|
|00001550| 20 6e 69 6c 20 70 69 63 | 74 75 72 65 2d 63 6c 65 | nil pic|ture-cle|
|00001560| 61 72 2d 63 6f 6c 75 6d | 6e 5d 20 32 29 29 0a 0a |ar-colum|n] 2))..|
|00001570| 28 64 65 66 75 6e 20 70 | 69 63 74 75 72 65 2d 63 |(defun p|icture-c|
|00001580| 6c 65 61 72 2d 6c 69 6e | 65 20 28 61 72 67 29 20 |lear-lin|e (arg) |
|00001590| 22 5c 0a 43 6c 65 61 72 | 20 6f 75 74 20 72 65 73 |"\.Clear| out res|
|000015a0| 74 20 6f 66 20 6c 69 6e | 65 3b 20 69 66 20 61 74 |t of lin|e; if at|
|000015b0| 20 65 6e 64 20 6f 66 20 | 6c 69 6e 65 2c 20 61 64 | end of |line, ad|
|000015c0| 76 61 6e 63 65 20 74 6f | 20 6e 65 78 74 20 6c 69 |vance to| next li|
|000015d0| 6e 65 2e 0a 43 6c 65 61 | 72 65 64 2d 6f 75 74 20 |ne..Clea|red-out |
|000015e0| 6c 69 6e 65 20 74 65 78 | 74 20 67 6f 65 73 20 69 |line tex|t goes i|
|000015f0| 6e 74 6f 20 74 68 65 20 | 6b 69 6c 6c 20 72 69 6e |nto the |kill rin|
|00001600| 67 2c 20 61 73 20 64 6f | 0a 6e 65 77 6c 69 6e 65 |g, as do|.newline|
|00001610| 73 20 74 68 61 74 20 61 | 72 65 20 61 64 76 61 6e |s that a|re advan|
|00001620| 63 65 64 20 6f 76 65 72 | 2e 0a 57 69 74 68 20 61 |ced over|..With a|
|00001630| 72 67 75 6d 65 6e 74 2c | 20 63 6c 65 61 72 20 6f |rgument,| clear o|
|00001640| 75 74 20 28 61 6e 64 20 | 73 61 76 65 20 69 6e 20 |ut (and |save in |
|00001650| 6b 69 6c 6c 20 72 69 6e | 67 29 20 74 68 61 74 20 |kill rin|g) that |
|00001660| 6d 61 6e 79 20 6c 69 6e | 65 73 2e 22 20 28 69 6e |many lin|es." (in|
|00001670| 74 65 72 61 63 74 69 76 | 65 20 22 50 22 29 20 28 |teractiv|e "P") (|
|00001680| 62 79 74 65 2d 63 6f 64 | 65 20 22 c1 88 08 83 21 |byte-cod|e "....!|
|00001690| 00 c2 08 21 89 10 88 c3 | 08 21 88 c4 08 c5 56 83 |...!....|.!....V.|
|000016a0| 1b 00 08 82 1d 00 08 5b | 21 82 39 00 c6 c7 21 83 |.......[|!.9...!.|
|000016b0| 32 00 c8 60 c9 ca 21 88 | 60 5c 22 82 39 00 cb 60 |2..`..!.|`\".9..`|
|000016c0| cc 20 88 60 5c 22 87 22 | 20 5b 61 72 67 20 6e 69 |. .`\"."| [arg ni|
|000016d0| 6c 20 70 72 65 66 69 78 | 2d 6e 75 6d 65 72 69 63 |l prefix|-numeric|
|000016e0| 2d 76 61 6c 75 65 20 6b | 69 6c 6c 2d 6c 69 6e 65 |-value k|ill-line|
|000016f0| 20 6e 65 77 6c 69 6e 65 | 20 30 20 6c 6f 6f 6b 69 | newline| 0 looki|
|00001700| 6e 67 2d 61 74 20 22 5b | 20 09 5d 2a 24 22 20 6b |ng-at "[| .]*$" k|
|00001710| 69 6c 6c 2d 72 69 6e 67 | 2d 73 61 76 65 20 66 6f |ill-ring|-save fo|
|00001720| 72 77 61 72 64 2d 6c 69 | 6e 65 20 31 20 6b 69 6c |rward-li|ne 1 kil|
|00001730| 6c 2d 72 65 67 69 6f 6e | 20 65 6e 64 2d 6f 66 2d |l-region| end-of-|
|00001740| 6c 69 6e 65 5d 20 31 30 | 29 29 0a 0a 28 64 65 66 |line] 10|))..(def|
|00001750| 75 6e 20 70 69 63 74 75 | 72 65 2d 6e 65 77 6c 69 |un pictu|re-newli|
|00001760| 6e 65 20 28 61 72 67 29 | 20 22 5c 0a 4d 6f 76 65 |ne (arg)| "\.Move|
|00001770| 20 74 6f 20 74 68 65 20 | 62 65 67 69 6e 6e 69 6e | to the |beginnin|
|00001780| 67 20 6f 66 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |g of the| followi|
|00001790| 6e 67 20 6c 69 6e 65 2e | 0a 57 69 74 68 20 61 72 |ng line.|.With ar|
|000017a0| 67 75 6d 65 6e 74 2c 20 | 6d 6f 76 65 73 20 74 68 |gument, |moves th|
|000017b0| 61 74 20 6d 61 6e 79 20 | 6c 69 6e 65 73 20 28 75 |at many |lines (u|
|000017c0| 70 2c 20 69 66 20 6e 65 | 67 61 74 69 76 65 20 61 |p, if ne|gative a|
|000017d0| 72 67 75 6d 65 6e 74 29 | 3b 0a 61 6c 77 61 79 73 |rgument)|;.always|
|000017e0| 20 6d 6f 76 65 73 20 74 | 6f 20 74 68 65 20 62 65 | moves t|o the be|
|000017f0| 67 69 6e 6e 69 6e 67 20 | 6f 66 20 61 20 6c 69 6e |ginning |of a lin|
|00001800| 65 2e 22 20 28 69 6e 74 | 65 72 61 63 74 69 76 65 |e." (int|eractive|
|00001810| 20 22 70 22 29 20 28 62 | 79 74 65 2d 63 6f 64 65 | "p") (b|yte-code|
|00001820| 20 22 c1 88 08 c2 57 83 | 0e 00 c3 08 21 82 2c 00 | "....W.|....!.,.|
|00001830| 08 c2 56 85 2c 00 c4 20 | 88 6d 83 20 00 c5 20 82 |..V.,.. |.m. .. .|
|00001840| 23 00 c6 c7 21 88 08 53 | 89 10 88 82 0e 00 87 22 |#...!..S|......."|
|00001850| 20 5b 61 72 67 20 6e 69 | 6c 20 30 20 66 6f 72 77 | [arg ni|l 0 forw|
|00001860| 61 72 64 2d 6c 69 6e 65 | 20 65 6e 64 2d 6f 66 2d |ard-line| end-of-|
|00001870| 6c 69 6e 65 20 6e 65 77 | 6c 69 6e 65 20 66 6f 72 |line new|line for|
|00001880| 77 61 72 64 2d 63 68 61 | 72 20 31 5d 20 37 29 29 |ward-cha|r 1] 7))|
|00001890| 0a 0a 28 64 65 66 75 6e | 20 70 69 63 74 75 72 65 |..(defun| picture|
|000018a0| 2d 6f 70 65 6e 2d 6c 69 | 6e 65 20 28 61 72 67 29 |-open-li|ne (arg)|
|000018b0| 20 22 5c 0a 49 6e 73 65 | 72 74 20 61 6e 20 65 6d | "\.Inse|rt an em|
|000018c0| 70 74 79 20 6c 69 6e 65 | 20 61 66 74 65 72 20 74 |pty line| after t|
|000018d0| 68 65 20 63 75 72 72 65 | 6e 74 20 6c 69 6e 65 2e |he curre|nt line.|
|000018e0| 0a 57 69 74 68 20 70 6f | 73 69 74 69 76 65 20 61 |.With po|sitive a|
|000018f0| 72 67 75 6d 65 6e 74 20 | 69 6e 73 65 72 74 20 74 |rgument |insert t|
|00001900| 68 61 74 20 6d 61 6e 79 | 20 6c 69 6e 65 73 2e 22 |hat many| lines."|
|00001910| 20 28 69 6e 74 65 72 61 | 63 74 69 76 65 20 22 70 | (intera|ctive "p|
|00001920| 22 29 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c1 |") (byte|-code ".|
|00001930| 88 8a c2 20 88 c3 08 21 | 29 87 22 20 5b 61 72 67 |... ...!|)." [arg|
|00001940| 20 6e 69 6c 20 65 6e 64 | 2d 6f 66 2d 6c 69 6e 65 | nil end|-of-line|
|00001950| 20 6f 70 65 6e 2d 6c 69 | 6e 65 5d 20 33 29 29 0a | open-li|ne] 3)).|
|00001960| 0a 28 64 65 66 75 6e 20 | 70 69 63 74 75 72 65 2d |.(defun |picture-|
|00001970| 64 75 70 6c 69 63 61 74 | 65 2d 6c 69 6e 65 20 6e |duplicat|e-line n|
|00001980| 69 6c 20 22 5c 0a 49 6e | 73 65 72 74 20 61 20 64 |il "\.In|sert a d|
|00001990| 75 70 6c 69 63 61 74 65 | 20 6f 66 20 74 68 65 20 |uplicate| of the |
|000019a0| 63 75 72 72 65 6e 74 20 | 6c 69 6e 65 2c 20 62 65 |current |line, be|
|000019b0| 6c 6f 77 20 69 74 2e 22 | 20 28 69 6e 74 65 72 61 |low it."| (intera|
|000019c0| 63 74 69 76 65 29 20 28 | 62 79 74 65 2d 63 6f 64 |ctive) (|byte-cod|
|000019d0| 65 20 22 c1 88 8a c2 c3 | 20 88 60 c4 c5 21 88 60 |e ".....| .`..!.`|
|000019e0| 5c 22 18 c6 c7 21 88 08 | 63 29 29 87 22 20 5b 63 |\"...!..|c))." [c|
|000019f0| 6f 6e 74 65 6e 74 73 20 | 6e 69 6c 20 62 75 66 66 |ontents |nil buff|
|00001a00| 65 72 2d 73 75 62 73 74 | 72 69 6e 67 20 62 65 67 |er-subst|ring beg|
|00001a10| 69 6e 6e 69 6e 67 2d 6f | 66 2d 6c 69 6e 65 20 70 |inning-o|f-line p|
|00001a20| 69 63 74 75 72 65 2d 6e | 65 77 6c 69 6e 65 20 31 |icture-n|ewline 1|
|00001a30| 20 66 6f 72 77 61 72 64 | 2d 6c 69 6e 65 20 2d 31 | forward|-line -1|
|00001a40| 5d 20 35 29 29 0a 0a 28 | 64 65 66 76 61 72 20 70 |] 5))..(|defvar p|
|00001a50| 69 63 74 75 72 65 2d 74 | 61 62 2d 63 68 61 72 73 |icture-t|ab-chars|
|00001a60| 20 22 21 2d 7e 22 20 22 | 5c 0a 2a 41 20 63 68 61 | "!-~" "|\.*A cha|
|00001a70| 72 61 63 74 65 72 20 73 | 65 74 20 77 68 69 63 68 |racter s|et which|
|00001a80| 20 63 6f 6e 74 72 6f 6c | 73 20 62 65 68 61 76 69 | control|s behavi|
|00001a90| 6f 72 20 6f 66 20 63 6f | 6d 6d 61 6e 64 73 0a 5c |or of co|mmands.\|
|00001aa0| 5c 5b 70 69 63 74 75 72 | 65 2d 73 65 74 2d 74 61 |\[pictur|e-set-ta|
|00001ab0| 62 2d 73 74 6f 70 73 5d | 20 61 6e 64 20 5c 5c 5b |b-stops]| and \\[|
|00001ac0| 70 69 63 74 75 72 65 2d | 74 61 62 2d 73 65 61 72 |picture-|tab-sear|
|00001ad0| 63 68 5d 2e 20 20 49 74 | 20 69 73 20 4e 4f 54 20 |ch]. It| is NOT |
|00001ae0| 61 0a 72 65 67 75 6c 61 | 72 20 65 78 70 72 65 73 |a.regula|r expres|
|00001af0| 73 69 6f 6e 2c 20 61 6e | 79 20 72 65 67 65 78 70 |sion, an|y regexp|
|00001b00| 20 73 70 65 63 69 61 6c | 20 63 68 61 72 61 63 74 | special| charact|
|00001b10| 65 72 73 20 77 69 6c 6c | 20 62 65 20 71 75 6f 74 |ers will| be quot|
|00001b20| 65 64 2e 0a 49 74 20 64 | 65 66 69 6e 65 73 20 61 |ed..It d|efines a|
|00001b30| 20 73 65 74 20 6f 66 20 | 5c 22 69 6e 74 65 72 65 | set of |\"intere|
|00001b40| 73 74 69 6e 67 20 63 68 | 61 72 61 63 74 65 72 73 |sting ch|aracters|
|00001b50| 5c 22 20 74 6f 20 6c 6f | 6f 6b 20 66 6f 72 20 77 |\" to lo|ok for w|
|00001b60| 68 65 6e 20 73 65 74 74 | 69 6e 67 0a 28 6f 72 20 |hen sett|ing.(or |
|00001b70| 73 65 61 72 63 68 69 6e | 67 20 66 6f 72 29 20 74 |searchin|g for) t|
|00001b80| 61 62 20 73 74 6f 70 73 | 2c 20 69 6e 69 74 69 61 |ab stops|, initia|
|00001b90| 6c 6c 79 20 5c 22 21 2d | 7e 5c 22 20 28 61 6c 6c |lly \"!-|~\" (all|
|00001ba0| 20 70 72 69 6e 74 69 6e | 67 20 63 68 61 72 61 63 | printin|g charac|
|00001bb0| 74 65 72 73 29 2e 0a 46 | 6f 72 20 65 78 61 6d 70 |ters)..F|or examp|
|00001bc0| 6c 65 2c 20 73 75 70 70 | 6f 73 65 20 74 68 61 74 |le, supp|ose that|
|00001bd0| 20 79 6f 75 20 61 72 65 | 20 65 64 69 74 69 6e 67 | you are| editing|
|00001be0| 20 61 20 74 61 62 6c 65 | 20 77 68 69 63 68 20 69 | a table| which i|
|00001bf0| 73 20 66 6f 72 6d 61 74 | 74 65 64 20 74 68 75 73 |s format|ted thus|
|00001c00| 3a 0a 7c 20 66 6f 6f 09 | 09 7c 20 62 61 72 20 2b |:.| foo.|.| bar +|
|00001c10| 20 62 61 7a 20 7c 20 32 | 33 20 20 2a 0a 7c 20 62 | baz | 2|3 *.| b|
|00001c20| 75 62 62 6c 65 73 09 7c | 20 61 6e 64 20 2b 20 65 |ubbles.|| and + e|
|00001c30| 74 63 20 7c 20 39 37 20 | 20 2a 0a 61 6e 64 20 74 |tc | 97 | *.and t|
|00001c40| 68 61 74 20 70 69 63 74 | 75 72 65 2d 74 61 62 2d |hat pict|ure-tab-|
|00001c50| 63 68 61 72 73 20 69 73 | 20 5c 22 7c 2b 2a 5c 22 |chars is| \"|+*\"|
|00001c60| 2e 20 20 54 68 65 6e 20 | 69 6e 76 6f 6b 69 6e 67 |. Then |invoking|
|00001c70| 0a 5c 5c 5b 70 69 63 74 | 75 72 65 2d 73 65 74 2d |.\\[pict|ure-set-|
|00001c80| 74 61 62 2d 73 74 6f 70 | 73 5d 20 6f 6e 20 65 69 |tab-stop|s] on ei|
|00001c90| 74 68 65 72 20 6f 66 20 | 74 68 65 20 70 72 65 76 |ther of |the prev|
|00001ca0| 69 6f 75 73 20 6c 69 6e | 65 73 20 77 6f 75 6c 64 |ious lin|es would|
|00001cb0| 20 72 65 73 75 6c 74 0a | 69 6e 20 74 68 65 20 66 | result.|in the f|
|00001cc0| 6f 6c 6c 6f 77 69 6e 67 | 20 74 61 62 20 73 74 6f |ollowing| tab sto|
|00001cd0| 70 73 0a 09 09 3a 20 20 | 20 20 20 3a 20 20 20 20 |ps...: | : |
|00001ce0| 20 3a 20 20 20 20 20 3a | 0a 41 6e 6f 74 68 65 72 | : :|.Another|
|00001cf0| 20 65 78 61 6d 70 6c 65 | 20 2d 20 5c 22 41 2d 5a | example| - \"A-Z|
|00001d00| 61 2d 7a 30 2d 39 5c 22 | 20 77 6f 75 6c 64 20 70 |a-z0-9\"| would p|
|00001d10| 72 6f 64 75 63 65 20 74 | 68 65 20 74 61 62 20 73 |roduce t|he tab s|
|00001d20| 74 6f 70 73 0a 20 20 3a | 09 09 20 20 3a 09 3a 20 |tops. :|.. :.: |
|00001d30| 20 20 20 20 3a 0a 0a 4e | 6f 74 65 20 74 68 61 74 | :..N|ote that|
|00001d40| 20 69 66 20 79 6f 75 20 | 77 61 6e 74 20 74 68 65 | if you |want the|
|00001d50| 20 63 68 61 72 61 63 74 | 65 72 20 60 2d 27 20 74 | charact|er `-' t|
|00001d60| 6f 20 62 65 20 69 6e 20 | 74 68 65 20 73 65 74 2c |o be in |the set,|
|00001d70| 20 69 74 20 6d 75 73 74 | 20 62 65 0a 69 6e 63 6c | it must| be.incl|
|00001d80| 75 64 65 64 20 69 6e 20 | 61 20 72 61 6e 67 65 20 |uded in |a range |
|00001d90| 6f 72 20 65 6c 73 65 20 | 61 70 70 65 61 72 20 69 |or else |appear i|
|00001da0| 6e 20 61 20 63 6f 6e 74 | 65 78 74 20 77 68 65 72 |n a cont|ext wher|
|00001db0| 65 20 69 74 20 63 61 6e | 6e 6f 74 20 62 65 0a 74 |e it can|not be.t|
|00001dc0| 61 6b 65 6e 20 66 6f 72 | 20 69 6e 64 69 63 61 74 |aken for| indicat|
|00001dd0| 69 6e 67 20 61 20 72 61 | 6e 67 65 20 28 65 2e 67 |ing a ra|nge (e.g|
|00001de0| 2e 20 5c 22 2d 41 2d 5a | 5c 22 20 64 65 63 6c 61 |. \"-A-Z|\" decla|
|00001df0| 72 65 73 20 74 68 65 20 | 73 65 74 20 74 6f 20 62 |res the |set to b|
|00001e00| 65 20 74 68 65 0a 6c 65 | 74 74 65 72 73 20 60 41 |e the.le|tters `A|
|00001e10| 27 20 74 68 72 6f 75 67 | 68 20 60 5a 27 20 61 6e |' throug|h `Z' an|
|00001e20| 64 20 74 68 65 20 63 68 | 61 72 61 63 74 65 72 20 |d the ch|aracter |
|00001e30| 60 2d 27 29 2e 20 20 49 | 66 20 79 6f 75 20 77 61 |`-'). I|f you wa|
|00001e40| 6e 74 20 74 68 65 0a 63 | 68 61 72 61 63 74 65 72 |nt the.c|haracter|
|00001e50| 20 60 5c 5c 27 20 69 6e | 20 74 68 65 20 73 65 74 | `\\' in| the set|
|00001e60| 20 69 74 20 6d 75 73 74 | 20 62 65 20 70 72 65 63 | it must| be prec|
|00001e70| 65 64 65 64 20 62 79 20 | 69 74 73 65 6c 66 3a 20 |eded by |itself: |
|00001e80| 5c 22 5c 5c 5c 5c 5c 22 | 2e 0a 0a 54 68 65 20 63 |\"\\\\\"|...The c|
|00001e90| 6f 6d 6d 61 6e 64 20 5c | 5c 5b 70 69 63 74 75 72 |ommand \|\[pictur|
|00001ea0| 65 2d 74 61 62 2d 73 65 | 61 72 63 68 5d 20 69 73 |e-tab-se|arch] is|
|00001eb0| 20 64 65 66 69 6e 65 64 | 20 74 6f 20 6d 6f 76 65 | defined| to move|
|00001ec0| 20 62 65 6e 65 61 74 68 | 20 28 6f 72 20 74 6f 29 | beneath| (or to)|
|00001ed0| 20 61 0a 63 68 61 72 61 | 63 74 65 72 20 62 65 6c | a.chara|cter bel|
|00001ee0| 6f 6e 67 69 6e 67 20 74 | 6f 20 74 68 69 73 20 73 |onging t|o this s|
|00001ef0| 65 74 20 69 6e 64 65 70 | 65 6e 64 65 6e 74 20 6f |et indep|endent o|
|00001f00| 66 20 74 68 65 20 74 61 | 62 20 73 74 6f 70 73 20 |f the ta|b stops |
|00001f10| 6c 69 73 74 2e 22 29 0a | 0a 28 64 65 66 75 6e 20 |list.").|.(defun |
|00001f20| 70 69 63 74 75 72 65 2d | 73 65 74 2d 74 61 62 2d |picture-|set-tab-|
|00001f30| 73 74 6f 70 73 20 28 26 | 6f 70 74 69 6f 6e 61 6c |stops (&|optional|
|00001f40| 20 61 72 67 29 20 22 5c | 0a 53 65 74 20 76 61 6c | arg) "\|.Set val|
|00001f50| 75 65 20 6f 66 20 20 74 | 61 62 2d 73 74 6f 70 2d |ue of t|ab-stop-|
|00001f60| 6c 69 73 74 20 20 61 63 | 63 6f 72 64 69 6e 67 20 |list ac|cording |
|00001f70| 74 6f 20 63 6f 6e 74 65 | 78 74 20 6f 66 20 74 68 |to conte|xt of th|
|00001f80| 69 73 20 6c 69 6e 65 2e | 0a 54 68 69 73 20 63 6f |is line.|.This co|
|00001f90| 6e 74 72 6f 6c 73 20 74 | 68 65 20 62 65 68 61 76 |ntrols t|he behav|
|00001fa0| 69 6f 72 20 6f 66 20 5c | 5c 5b 70 69 63 74 75 72 |ior of \|\[pictur|
|00001fb0| 65 2d 74 61 62 5d 2e 20 | 20 41 20 74 61 62 20 73 |e-tab]. | A tab s|
|00001fc0| 74 6f 70 0a 69 73 20 73 | 65 74 20 61 74 20 65 76 |top.is s|et at ev|
|00001fd0| 65 72 79 20 63 6f 6c 75 | 6d 6e 20 6f 63 63 75 70 |ery colu|mn occup|
|00001fe0| 69 65 64 20 62 79 20 61 | 6e 20 5c 22 69 6e 74 65 |ied by a|n \"inte|
|00001ff0| 72 65 73 74 69 6e 67 20 | 63 68 61 72 61 63 74 65 |resting |characte|
|00002000| 72 5c 22 20 74 68 61 74 | 20 69 73 0a 70 72 65 63 |r\" that| is.prec|
|00002010| 65 64 65 64 20 62 79 20 | 77 68 69 74 65 73 70 61 |eded by |whitespa|
|00002020| 63 65 2e 20 20 49 6e 74 | 65 72 65 73 74 69 6e 67 |ce. Int|eresting|
|00002030| 20 63 68 61 72 61 63 74 | 65 72 73 20 61 72 65 20 | charact|ers are |
|00002040| 64 65 66 69 6e 65 64 20 | 62 79 20 74 68 65 0a 76 |defined |by the.v|
|00002050| 61 72 69 61 62 6c 65 20 | 20 70 69 63 74 75 72 65 |ariable | picture|
|00002060| 2d 74 61 62 2d 63 68 61 | 72 73 2c 20 20 73 65 65 |-tab-cha|rs, see|
|00002070| 20 69 74 73 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 | its doc|umentati|
|00002080| 6f 6e 20 66 6f 72 20 61 | 6e 20 65 78 61 6d 70 6c |on for a|n exampl|
|00002090| 65 0a 6f 66 20 75 73 61 | 67 65 2e 20 20 57 69 74 |e.of usa|ge. Wit|
|000020a0| 68 20 41 52 47 2c 20 6a | 75 73 74 20 28 72 65 29 |h ARG, j|ust (re)|
|000020b0| 73 65 74 20 20 74 61 62 | 2d 73 74 6f 70 2d 6c 69 |set tab|-stop-li|
|000020c0| 73 74 20 20 74 6f 20 69 | 74 73 20 64 65 66 61 75 |st to i|ts defau|
|000020d0| 6c 74 20 76 61 6c 75 65 | 2e 0a 54 68 65 20 74 61 |lt value|..The ta|
|000020e0| 62 20 73 74 6f 70 73 20 | 63 6f 6d 70 75 74 65 64 |b stops |computed|
|000020f0| 20 61 72 65 20 64 69 73 | 70 6c 61 79 65 64 20 69 | are dis|played i|
|00002100| 6e 20 74 68 65 20 6d 69 | 6e 69 62 75 66 66 65 72 |n the mi|nibuffer|
|00002110| 20 77 69 74 68 20 60 3a | 27 20 61 74 0a 65 61 63 | with `:|' at.eac|
|00002120| 68 20 73 74 6f 70 2e 22 | 20 28 69 6e 74 65 72 61 |h stop."| (intera|
|00002130| 63 74 69 76 65 20 22 50 | 22 29 20 28 62 79 74 65 |ctive "P|") (byte|
|00002140| 2d 63 6f 64 65 20 22 c8 | 88 8a c8 18 09 83 11 00 |-code ".|........|
|00002150| c9 c6 21 89 10 82 43 00 | ca cb 0b 21 cc 51 1a cd |..!...C.|...!.Q..|
|00002160| 20 88 60 1c ce 20 88 cf | 0a 0c c5 23 85 35 00 d0 | .`.. ..|...#.5..|
|00002170| d1 21 88 69 08 42 89 10 | 88 82 20 00 88 08 3f 85 |.!.i.B..|.. ...?.|
|00002180| 41 00 d2 d3 cb 0b 21 5c | 22 29 29 88 08 89 16 06 |A.....!\|")).....|
|00002190| 88 d4 08 47 53 08 38 54 | d5 5c 22 1e 07 08 85 67 |...GS.8T|.\"....g|
|000021a0| 00 0e 07 08 40 d6 49 88 | 08 41 89 10 88 82 54 00 |....@.I.|.A....T.|
|000021b0| 88 d7 0e 07 21 29 29 29 | 87 22 20 5b 74 61 62 73 |....!)))|." [tabs|
|000021c0| 20 61 72 67 20 72 65 67 | 65 78 70 20 70 69 63 74 | arg reg|exp pict|
|000021d0| 75 72 65 2d 74 61 62 2d | 63 68 61 72 73 20 62 6f |ure-tab-|chars bo|
|000021e0| 6c 20 74 20 74 61 62 2d | 73 74 6f 70 2d 6c 69 73 |l t tab-|stop-lis|
|000021f0| 74 20 62 6c 75 72 62 20 | 6e 69 6c 20 64 65 66 61 |t blurb |nil defa|
|00002200| 75 6c 74 2d 76 61 6c 75 | 65 20 22 5b 20 09 5d 2b |ult-valu|e "[ .]+|
|00002210| 5b 22 20 72 65 67 65 78 | 70 2d 71 75 6f 74 65 20 |[" regex|p-quote |
|00002220| 22 5d 22 20 62 65 67 69 | 6e 6e 69 6e 67 2d 6f 66 |"]" begi|nning-of|
|00002230| 2d 6c 69 6e 65 20 65 6e | 64 2d 6f 66 2d 6c 69 6e |-line en|d-of-lin|
|00002240| 65 20 72 65 2d 73 65 61 | 72 63 68 2d 62 61 63 6b |e re-sea|rch-back|
|00002250| 77 61 72 64 20 73 6b 69 | 70 2d 63 68 61 72 73 2d |ward ski|p-chars-|
|00002260| 66 6f 72 77 61 72 64 20 | 22 20 09 22 20 65 72 72 |forward |" ." err|
|00002270| 6f 72 20 22 4e 6f 20 63 | 68 61 72 61 63 74 65 72 |or "No c|haracter|
|00002280| 73 20 69 6e 20 73 65 74 | 20 25 73 20 6f 6e 20 74 |s in set| %s on t|
|00002290| 68 69 73 20 6c 69 6e 65 | 2e 22 20 6d 61 6b 65 2d |his line|." make-|
|000022a0| 73 74 72 69 6e 67 20 33 | 32 20 35 38 20 6d 65 73 |string 3|2 58 mes|
|000022b0| 73 61 67 65 5d 20 31 33 | 29 29 0a 0a 28 64 65 66 |sage] 13|))..(def|
|000022c0| 75 6e 20 70 69 63 74 75 | 72 65 2d 74 61 62 2d 73 |un pictu|re-tab-s|
|000022d0| 65 61 72 63 68 20 28 26 | 6f 70 74 69 6f 6e 61 6c |earch (&|optional|
|000022e0| 20 61 72 67 29 20 22 5c | 0a 4d 6f 76 65 20 74 6f | arg) "\|.Move to|
|000022f0| 20 63 6f 6c 75 6d 6e 20 | 62 65 6e 65 61 74 68 20 | column |beneath |
|00002300| 6e 65 78 74 20 69 6e 74 | 65 72 65 73 74 69 6e 67 |next int|eresting|
|00002310| 20 63 68 61 72 20 69 6e | 20 70 72 65 76 69 6f 75 | char in| previou|
|00002320| 73 20 6c 69 6e 65 2e 0a | 57 69 74 68 20 41 52 47 |s line..|With ARG|
|00002330| 20 6d 6f 76 65 20 74 6f | 20 63 6f 6c 75 6d 6e 20 | move to| column |
|00002340| 6f 63 63 75 70 69 65 64 | 20 62 79 20 6e 65 78 74 |occupied| by next|
|00002350| 20 69 6e 74 65 72 65 73 | 74 69 6e 67 20 63 68 61 | interes|ting cha|
|00002360| 72 61 63 74 65 72 20 69 | 6e 20 74 68 69 73 0a 6c |racter i|n this.l|
|00002370| 69 6e 65 2e 20 20 54 68 | 65 20 63 68 61 72 61 63 |ine. Th|e charac|
|00002380| 74 65 72 20 6d 75 73 74 | 20 62 65 20 70 72 65 63 |ter must| be prec|
|00002390| 65 64 65 64 20 62 79 20 | 77 68 69 74 65 73 70 61 |eded by |whitespa|
|000023a0| 63 65 2e 0a 5c 22 69 6e | 74 65 72 65 73 74 69 6e |ce..\"in|terestin|
|000023b0| 67 20 63 68 61 72 61 63 | 74 65 72 73 5c 22 20 61 |g charac|ters\" a|
|000023c0| 72 65 20 64 65 66 69 6e | 65 64 20 62 79 20 76 61 |re defin|ed by va|
|000023d0| 72 69 61 62 6c 65 20 20 | 70 69 63 74 75 72 65 2d |riable |picture-|
|000023e0| 74 61 62 2d 63 68 61 72 | 73 2e 0a 49 66 20 6e 6f |tab-char|s..If no|
|000023f0| 20 73 75 63 68 20 63 68 | 61 72 61 63 74 65 72 20 | such ch|aracter |
|00002400| 69 73 20 66 6f 75 6e 64 | 2c 20 6d 6f 76 65 20 74 |is found|, move t|
|00002410| 6f 20 62 65 67 69 6e 6e | 69 6e 67 20 6f 66 20 6c |o beginn|ing of l|
|00002420| 69 6e 65 2e 22 20 28 69 | 6e 74 65 72 61 63 74 69 |ine." (i|nteracti|
|00002430| 76 65 20 22 50 22 29 20 | 28 62 79 74 65 2d 63 6f |ve "P") |(byte-co|
|00002440| 64 65 20 22 c3 88 69 18 | 8a 09 3f 85 18 00 c4 20 |de "..i.|..?.... |
|00002450| 88 c5 c6 c7 0a 21 50 65 | 5c 22 88 6f 3f 85 1e 00 |.....!Pe|\".o?...|
|00002460| c8 08 21 88 c9 ca c7 0a | 21 cb 51 8a cc 20 88 60 |..!.....|!.Q.. .`|
|00002470| 29 cd 23 83 38 00 69 53 | 89 10 82 3b 00 c3 89 10 |).#.8.iS|...;....|
|00002480| 29 88 08 83 47 00 ce 08 | 21 82 49 00 c4 20 29 87 |)...G...|!.I.. ).|
|00002490| 22 20 5b 74 61 72 67 65 | 74 20 61 72 67 20 70 69 |" [targe|t arg pi|
|000024a0| 63 74 75 72 65 2d 74 61 | 62 2d 63 68 61 72 73 20 |cture-ta|b-chars |
|000024b0| 6e 69 6c 20 62 65 67 69 | 6e 6e 69 6e 67 2d 6f 66 |nil begi|nning-of|
|000024c0| 2d 6c 69 6e 65 20 73 6b | 69 70 2d 63 68 61 72 73 |-line sk|ip-chars|
|000024d0| 2d 62 61 63 6b 77 61 72 | 64 20 22 5e 22 20 72 65 |-backwar|d "^" re|
|000024e0| 67 65 78 70 2d 71 75 6f | 74 65 20 6d 6f 76 65 2d |gexp-quo|te move-|
|000024f0| 74 6f 2d 63 6f 6c 75 6d | 6e 20 72 65 2d 73 65 61 |to-colum|n re-sea|
|00002500| 72 63 68 2d 66 6f 72 77 | 61 72 64 20 22 5b 20 09 |rch-forw|ard "[ .|
|00002510| 5d 2b 5b 22 20 22 5d 22 | 20 65 6e 64 2d 6f 66 2d |]+[" "]"| end-of-|
|00002520| 6c 69 6e 65 20 6d 6f 76 | 65 20 6d 6f 76 65 2d 74 |line mov|e move-t|
|00002530| 6f 2d 63 6f 6c 75 6d 6e | 2d 66 6f 72 63 65 5d 20 |o-column|-force] |
|00002540| 31 30 29 29 0a 0a 28 64 | 65 66 75 6e 20 70 69 63 |10))..(d|efun pic|
|00002550| 74 75 72 65 2d 74 61 62 | 20 28 26 6f 70 74 69 6f |ture-tab| (&optio|
|00002560| 6e 61 6c 20 61 72 67 29 | 20 22 5c 0a 54 61 62 20 |nal arg)| "\.Tab |
|00002570| 74 72 61 6e 73 70 61 72 | 65 6e 74 6c 79 20 28 6d |transpar|ently (m|
|00002580| 6f 76 65 29 20 74 6f 20 | 6e 65 78 74 20 74 61 62 |ove) to |next tab|
|00002590| 20 73 74 6f 70 2e 0a 57 | 69 74 68 20 41 52 47 20 | stop..W|ith ARG |
|000025a0| 6f 76 65 72 77 72 69 74 | 65 20 74 68 65 20 74 72 |overwrit|e the tr|
|000025b0| 61 76 65 72 73 65 64 20 | 74 65 78 74 20 77 69 74 |aversed |text wit|
|000025c0| 68 20 73 70 61 63 65 73 | 2e 20 20 54 68 65 20 74 |h spaces|. The t|
|000025d0| 61 62 20 73 74 6f 70 0a | 6c 69 73 74 20 63 61 6e |ab stop.|list can|
|000025e0| 20 62 65 20 63 68 61 6e | 67 65 64 20 62 79 20 5c | be chan|ged by \|
|000025f0| 5c 5b 70 69 63 74 75 72 | 65 2d 73 65 74 2d 74 61 |\[pictur|e-set-ta|
|00002600| 62 2d 73 74 6f 70 73 5d | 20 61 6e 64 20 5c 5c 5b |b-stops]| and \\[|
|00002610| 65 64 69 74 2d 74 61 62 | 2d 73 74 6f 70 73 5d 2e |edit-tab|-stops].|
|00002620| 0a 53 65 65 20 61 6c 73 | 6f 20 64 6f 63 75 6d 65 |.See als|o docume|
|00002630| 6e 74 61 74 69 6f 6e 20 | 66 6f 72 20 76 61 72 69 |ntation |for vari|
|00002640| 61 62 6c 65 20 20 70 69 | 63 74 75 72 65 2d 74 61 |able pi|cture-ta|
|00002650| 62 2d 63 68 61 72 73 2e | 22 20 28 69 6e 74 65 72 |b-chars.|" (inter|
|00002660| 61 63 74 69 76 65 20 22 | 50 22 29 20 28 62 79 74 |active "|P") (byt|
|00002670| 65 2d 63 6f 64 65 20 22 | c4 88 60 18 c5 20 88 69 |e-code "|..`.. .i|
|00002680| c6 08 60 5c 22 88 19 c7 | 09 21 88 0a 85 20 00 c4 |..`\"...|.!... ..|
|00002690| 1b c6 08 60 5c 22 88 09 | 6a 29 2a 87 22 20 5b 6f |...`\"..|j)*." [o|
|000026a0| 70 6f 69 6e 74 20 74 61 | 72 67 65 74 20 61 72 67 |point ta|rget arg|
|000026b0| 20 69 6e 64 65 6e 74 2d | 74 61 62 73 2d 6d 6f 64 | indent-|tabs-mod|
|000026c0| 65 20 6e 69 6c 20 74 61 | 62 2d 74 6f 2d 74 61 62 |e nil ta|b-to-tab|
|000026d0| 2d 73 74 6f 70 20 64 65 | 6c 65 74 65 2d 72 65 67 |-stop de|lete-reg|
|000026e0| 69 6f 6e 20 6d 6f 76 65 | 2d 74 6f 2d 63 6f 6c 75 |ion move|-to-colu|
|000026f0| 6d 6e 2d 66 6f 72 63 65 | 5d 20 36 29 29 0a 0a 28 |mn-force|] 6))..(|
|00002700| 64 65 66 63 6f 6e 73 74 | 20 70 69 63 74 75 72 65 |defconst| picture|
|00002710| 2d 6b 69 6c 6c 65 64 2d | 72 65 63 74 61 6e 67 6c |-killed-|rectangl|
|00002720| 65 20 6e 69 6c 20 22 5c | 0a 52 65 63 74 61 6e 67 |e nil "\|.Rectang|
|00002730| 6c 65 20 6b 69 6c 6c 65 | 64 20 6f 72 20 63 6f 70 |le kille|d or cop|
|00002740| 69 65 64 20 62 79 20 5c | 5c 5b 70 69 63 74 75 72 |ied by \|\[pictur|
|00002750| 65 2d 63 6c 65 61 72 2d | 72 65 63 74 61 6e 67 6c |e-clear-|rectangl|
|00002760| 65 5d 20 69 6e 20 50 69 | 63 74 75 72 65 20 6d 6f |e] in Pi|cture mo|
|00002770| 64 65 2e 0a 54 68 65 20 | 63 6f 6e 74 65 6e 74 73 |de..The |contents|
|00002780| 20 63 61 6e 20 62 65 20 | 72 65 74 72 69 65 76 65 | can be |retrieve|
|00002790| 64 20 62 79 20 5c 5c 5b | 70 69 63 74 75 72 65 2d |d by \\[|picture-|
|000027a0| 79 61 6e 6b 2d 72 65 63 | 74 61 6e 67 6c 65 5d 22 |yank-rec|tangle]"|
|000027b0| 29 0a 0a 28 64 65 66 75 | 6e 20 70 69 63 74 75 72 |)..(defu|n pictur|
|000027c0| 65 2d 63 6c 65 61 72 2d | 72 65 63 74 61 6e 67 6c |e-clear-|rectangl|
|000027d0| 65 20 28 73 74 61 72 74 | 20 65 6e 64 20 26 6f 70 |e (start| end &op|
|000027e0| 74 69 6f 6e 61 6c 20 6b | 69 6c 6c 70 29 20 22 5c |tional k|illp) "\|
|000027f0| 0a 43 6c 65 61 72 20 61 | 6e 64 20 73 61 76 65 20 |.Clear a|nd save |
|00002800| 72 65 63 74 61 6e 67 6c | 65 20 64 65 6c 69 6e 65 |rectangl|e deline|
|00002810| 61 74 65 64 20 62 79 20 | 70 6f 69 6e 74 20 61 6e |ated by |point an|
|00002820| 64 20 6d 61 72 6b 2e 0a | 54 68 65 20 72 65 63 74 |d mark..|The rect|
|00002830| 61 6e 67 6c 65 20 69 73 | 20 73 61 76 65 64 20 66 |angle is| saved f|
|00002840| 6f 72 20 79 61 6e 6b 69 | 6e 67 20 62 79 20 5c 5c |or yanki|ng by \\|
|00002850| 5b 70 69 63 74 75 72 65 | 2d 79 61 6e 6b 2d 72 65 |[picture|-yank-re|
|00002860| 63 74 61 6e 67 6c 65 5d | 20 61 6e 64 20 72 65 70 |ctangle]| and rep|
|00002870| 6c 61 63 65 64 0a 77 69 | 74 68 20 77 68 69 74 65 |laced.wi|th white|
|00002880| 73 70 61 63 65 2e 20 20 | 54 68 65 20 70 72 65 76 |space. |The prev|
|00002890| 69 6f 75 73 6c 79 20 73 | 61 76 65 64 20 72 65 63 |iously s|aved rec|
|000028a0| 74 61 6e 67 6c 65 2c 20 | 69 66 20 61 6e 79 2c 20 |tangle, |if any, |
|000028b0| 69 73 20 6c 6f 73 74 2e | 0a 57 69 74 68 20 70 72 |is lost.|.With pr|
|000028c0| 65 66 69 78 20 61 72 67 | 75 6d 65 6e 74 2c 20 74 |efix arg|ument, t|
|000028d0| 68 65 20 72 65 63 74 61 | 6e 67 6c 65 20 69 73 20 |he recta|ngle is |
|000028e0| 61 63 74 75 61 6c 6c 79 | 20 6b 69 6c 6c 65 64 2c |actually| killed,|
|000028f0| 20 73 68 69 66 74 69 6e | 67 20 72 65 6d 61 69 6e | shiftin|g remain|
|00002900| 69 6e 67 0a 74 65 78 74 | 2e 22 20 28 69 6e 74 65 |ing.text|." (inte|
|00002910| 72 61 63 74 69 76 65 20 | 22 72 0a 50 22 29 20 28 |ractive |"r.P") (|
|00002920| 62 79 74 65 2d 63 6f 64 | 65 20 22 c4 88 c5 09 0a |byte-cod|e ".....|
|00002930| 0b 23 89 10 87 22 20 5b | 70 69 63 74 75 72 65 2d |.#..." [|picture-|
|00002940| 6b 69 6c 6c 65 64 2d 72 | 65 63 74 61 6e 67 6c 65 |killed-r|ectangle|
|00002950| 20 73 74 61 72 74 20 65 | 6e 64 20 6b 69 6c 6c 70 | start e|nd killp|
|00002960| 20 6e 69 6c 20 70 69 63 | 74 75 72 65 2d 73 6e 61 | nil pic|ture-sna|
|00002970| 72 66 2d 72 65 63 74 61 | 6e 67 6c 65 5d 20 34 29 |rf-recta|ngle] 4)|
|00002980| 29 0a 0a 28 64 65 66 75 | 6e 20 70 69 63 74 75 72 |)..(defu|n pictur|
|00002990| 65 2d 63 6c 65 61 72 2d | 72 65 63 74 61 6e 67 6c |e-clear-|rectangl|
|000029a0| 65 2d 74 6f 2d 72 65 67 | 69 73 74 65 72 20 28 73 |e-to-reg|ister (s|
|000029b0| 74 61 72 74 20 65 6e 64 | 20 72 65 67 69 73 74 65 |tart end| registe|
|000029c0| 72 20 26 6f 70 74 69 6f | 6e 61 6c 20 6b 69 6c 6c |r &optio|nal kill|
|000029d0| 70 29 20 22 5c 0a 43 6c | 65 61 72 20 72 65 63 74 |p) "\.Cl|ear rect|
|000029e0| 61 6e 67 6c 65 20 64 65 | 6c 69 6e 65 61 74 65 64 |angle de|lineated|
|000029f0| 20 62 79 20 70 6f 69 6e | 74 20 61 6e 64 20 6d 61 | by poin|t and ma|
|00002a00| 72 6b 20 69 6e 74 6f 20 | 52 45 47 49 53 54 45 52 |rk into |REGISTER|
|00002a10| 2e 0a 54 68 65 20 72 65 | 63 74 61 6e 67 6c 65 20 |..The re|ctangle |
|00002a20| 69 73 20 73 61 76 65 64 | 20 69 6e 20 52 45 47 49 |is saved| in REGI|
|00002a30| 53 54 45 52 20 61 6e 64 | 20 72 65 70 6c 61 63 65 |STER and| replace|
|00002a40| 64 20 77 69 74 68 20 77 | 68 69 74 65 73 70 61 63 |d with w|hitespac|
|00002a50| 65 2e 0a 57 69 74 68 20 | 70 72 65 66 69 78 20 61 |e..With |prefix a|
|00002a60| 72 67 75 6d 65 6e 74 2c | 20 74 68 65 20 72 65 63 |rgument,| the rec|
|00002a70| 74 61 6e 67 6c 65 20 69 | 73 20 61 63 74 75 61 6c |tangle i|s actual|
|00002a80| 6c 79 20 6b 69 6c 6c 65 | 64 2c 20 73 68 69 66 74 |ly kille|d, shift|
|00002a90| 69 6e 67 20 72 65 6d 61 | 69 6e 69 6e 67 0a 74 65 |ing rema|ining.te|
|00002aa0| 78 74 2e 22 20 28 69 6e | 74 65 72 61 63 74 69 76 |xt." (in|teractiv|
|00002ab0| 65 20 22 72 0a 63 52 65 | 63 74 61 6e 67 6c 65 20 |e "r.cRe|ctangle |
|00002ac0| 74 6f 20 72 65 67 69 73 | 74 65 72 3a 20 0a 50 22 |to regis|ter: .P"|
|00002ad0| 29 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c4 88 |) (byte-|code "..|
|00002ae0| c5 08 c6 09 0a 0b 23 5c | 22 87 22 20 5b 72 65 67 |......#\|"." [reg|
|00002af0| 69 73 74 65 72 20 73 74 | 61 72 74 20 65 6e 64 20 |ister st|art end |
|00002b00| 6b 69 6c 6c 70 20 6e 69 | 6c 20 73 65 74 2d 72 65 |killp ni|l set-re|
|00002b10| 67 69 73 74 65 72 20 70 | 69 63 74 75 72 65 2d 73 |gister p|icture-s|
|00002b20| 6e 61 72 66 2d 72 65 63 | 74 61 6e 67 6c 65 5d 20 |narf-rec|tangle] |
|00002b30| 36 29 29 0a 0a 28 64 65 | 66 75 6e 20 70 69 63 74 |6))..(de|fun pict|
|00002b40| 75 72 65 2d 73 6e 61 72 | 66 2d 72 65 63 74 61 6e |ure-snar|f-rectan|
|00002b50| 67 6c 65 20 28 73 74 61 | 72 74 20 65 6e 64 20 26 |gle (sta|rt end &|
|00002b60| 6f 70 74 69 6f 6e 61 6c | 20 6b 69 6c 6c 70 29 20 |optional| killp) |
|00002b70| 28 62 79 74 65 2d 63 6f | 64 65 20 22 69 c2 c2 c2 |(byte-co|de "i...|
|00002b80| 1c 1b 19 18 8a 8a c9 20 | 89 14 62 88 69 89 13 29 |....... |..b.i..)|
|00002b90| 88 0d 83 5c 22 00 ca 0e | 06 0e 07 5c 22 82 30 00 |...\"...|...\".0.|
|00002ba0| cb 0e 06 0e 07 5c 22 cc | 0e 06 0e 07 c8 23 88 29 |.....\".|.....#.)|
|00002bb0| cd 08 21 88 ce cf 20 8a | 0c 62 88 cd 0b 21 88 60 |..!... .|.b...!.`|
|00002bc0| 29 5c 22 88 2c 87 22 20 | 5b 63 6f 6c 75 6d 6e 20 |)\".,." |[column |
|00002bd0| 69 6e 64 65 6e 74 2d 74 | 61 62 73 2d 6d 6f 64 65 |indent-t|abs-mode|
|00002be0| 20 6e 69 6c 20 6d 61 72 | 6b 70 6f 73 20 6f 6c 64 | nil mar|kpos old|
|00002bf0| 6d 61 72 6b 20 6b 69 6c | 6c 70 20 73 74 61 72 74 |mark kil|lp start|
|00002c00| 20 65 6e 64 20 74 20 6d | 61 72 6b 20 64 65 6c 65 | end t m|ark dele|
|00002c10| 74 65 2d 65 78 74 72 61 | 63 74 2d 72 65 63 74 61 |te-extra|ct-recta|
|00002c20| 6e 67 6c 65 20 65 78 74 | 72 61 63 74 2d 72 65 63 |ngle ext|ract-rec|
|00002c30| 74 61 6e 67 6c 65 20 63 | 6c 65 61 72 2d 72 65 63 |tangle c|lear-rec|
|00002c40| 74 61 6e 67 6c 65 20 6d | 6f 76 65 2d 74 6f 2d 63 |tangle m|ove-to-c|
|00002c50| 6f 6c 75 6d 6e 2d 66 6f | 72 63 65 20 73 65 74 2d |olumn-fo|rce set-|
|00002c60| 6d 61 72 6b 65 72 20 6d | 61 72 6b 2d 6d 61 72 6b |marker m|ark-mark|
|00002c70| 65 72 5d 20 31 31 29 29 | 0a 0a 28 64 65 66 75 6e |er] 11))|..(defun|
|00002c80| 20 70 69 63 74 75 72 65 | 2d 79 61 6e 6b 2d 72 65 | picture|-yank-re|
|00002c90| 63 74 61 6e 67 6c 65 20 | 28 26 6f 70 74 69 6f 6e |ctangle |(&option|
|00002ca0| 61 6c 20 69 6e 73 65 72 | 74 70 29 20 22 5c 0a 4f |al inser|tp) "\.O|
|00002cb0| 76 65 72 6c 61 79 20 72 | 65 63 74 61 6e 67 6c 65 |verlay r|ectangle|
|00002cc0| 20 73 61 76 65 64 20 62 | 79 20 5c 5c 5b 70 69 63 | saved b|y \\[pic|
|00002cd0| 74 75 72 65 2d 63 6c 65 | 61 72 2d 72 65 63 74 61 |ture-cle|ar-recta|
|00002ce0| 6e 67 6c 65 5d 0a 54 68 | 65 20 72 65 63 74 61 6e |ngle].Th|e rectan|
|00002cf0| 67 6c 65 20 69 73 20 70 | 6f 73 69 74 69 6f 6e 65 |gle is p|ositione|
|00002d00| 64 20 77 69 74 68 20 75 | 70 70 65 72 20 6c 65 66 |d with u|pper lef|
|00002d10| 74 20 63 6f 72 6e 65 72 | 20 61 74 20 70 6f 69 6e |t corner| at poin|
|00002d20| 74 2c 20 6f 76 65 72 77 | 72 69 74 69 6e 67 0a 65 |t, overw|riting.e|
|00002d30| 78 69 73 74 69 6e 67 20 | 74 65 78 74 2e 20 20 57 |xisting |text. W|
|00002d40| 69 74 68 20 70 72 65 66 | 69 78 20 61 72 67 75 6d |ith pref|ix argum|
|00002d50| 65 6e 74 2c 20 74 68 65 | 20 72 65 63 74 61 6e 67 |ent, the| rectang|
|00002d60| 6c 65 20 69 73 20 69 6e | 73 65 72 74 65 64 20 69 |le is in|serted i|
|00002d70| 6e 73 74 65 61 64 2c 0a | 73 68 69 66 74 69 6e 67 |nstead,.|shifting|
|00002d80| 20 65 78 69 73 74 69 6e | 67 20 74 65 78 74 2e 20 | existin|g text. |
|00002d90| 20 4c 65 61 76 65 73 20 | 6d 61 72 6b 20 61 74 20 | Leaves |mark at |
|00002da0| 6f 6e 65 20 63 6f 72 6e | 65 72 20 6f 66 20 72 65 |one corn|er of re|
|00002db0| 63 74 61 6e 67 6c 65 20 | 61 6e 64 0a 70 6f 69 6e |ctangle |and.poin|
|00002dc0| 74 20 61 74 20 74 68 65 | 20 6f 74 68 65 72 20 28 |t at the| other (|
|00002dd0| 64 69 61 67 6f 6e 61 6c | 6c 79 20 6f 70 70 6f 73 |diagonal|ly oppos|
|00002de0| 65 64 29 20 63 6f 72 6e | 65 72 2e 22 20 28 69 6e |ed) corn|er." (in|
|00002df0| 74 65 72 61 63 74 69 76 | 65 20 22 50 22 29 20 28 |teractiv|e "P") (|
|00002e00| 62 79 74 65 2d 63 6f 64 | 65 20 22 c2 88 08 3a 3f |byte-cod|e "...:?|
|00002e10| 83 0e 00 c3 c4 21 82 12 | 00 c5 08 09 5c 22 87 22 |.....!..|....\"."|
|00002e20| 20 5b 70 69 63 74 75 72 | 65 2d 6b 69 6c 6c 65 64 | [pictur|e-killed|
|00002e30| 2d 72 65 63 74 61 6e 67 | 6c 65 20 69 6e 73 65 72 |-rectang|le inser|
|00002e40| 74 70 20 6e 69 6c 20 65 | 72 72 6f 72 20 22 4e 6f |tp nil e|rror "No|
|00002e50| 20 72 65 63 74 61 6e 67 | 6c 65 20 73 61 76 65 64 | rectang|le saved|
|00002e60| 2e 22 20 70 69 63 74 75 | 72 65 2d 69 6e 73 65 72 |." pictu|re-inser|
|00002e70| 74 2d 72 65 63 74 61 6e | 67 6c 65 5d 20 34 29 29 |t-rectan|gle] 4))|
|00002e80| 0a 0a 28 64 65 66 75 6e | 20 70 69 63 74 75 72 65 |..(defun| picture|
|00002e90| 2d 79 61 6e 6b 2d 72 65 | 63 74 61 6e 67 6c 65 2d |-yank-re|ctangle-|
|00002ea0| 66 72 6f 6d 2d 72 65 67 | 69 73 74 65 72 20 28 72 |from-reg|ister (r|
|00002eb0| 65 67 69 73 74 65 72 20 | 26 6f 70 74 69 6f 6e 61 |egister |&optiona|
|00002ec0| 6c 20 69 6e 73 65 72 74 | 70 29 20 22 5c 0a 4f 76 |l insert|p) "\.Ov|
|00002ed0| 65 72 6c 61 79 20 72 65 | 63 74 61 6e 67 6c 65 20 |erlay re|ctangle |
|00002ee0| 73 61 76 65 64 20 69 6e | 20 52 45 47 49 53 54 45 |saved in| REGISTE|
|00002ef0| 52 2e 0a 54 68 65 20 72 | 65 63 74 61 6e 67 6c 65 |R..The r|ectangle|
|00002f00| 20 69 73 20 70 6f 73 69 | 74 69 6f 6e 65 64 20 77 | is posi|tioned w|
|00002f10| 69 74 68 20 75 70 70 65 | 72 20 6c 65 66 74 20 63 |ith uppe|r left c|
|00002f20| 6f 72 6e 65 72 20 61 74 | 20 70 6f 69 6e 74 2c 20 |orner at| point, |
|00002f30| 6f 76 65 72 77 72 69 74 | 69 6e 67 0a 65 78 69 73 |overwrit|ing.exis|
|00002f40| 74 69 6e 67 20 74 65 78 | 74 2e 20 20 57 69 74 68 |ting tex|t. With|
|00002f50| 20 70 72 65 66 69 78 20 | 61 72 67 75 6d 65 6e 74 | prefix |argument|
|00002f60| 2c 20 74 68 65 20 72 65 | 63 74 61 6e 67 6c 65 20 |, the re|ctangle |
|00002f70| 69 73 0a 69 6e 73 65 72 | 74 65 64 20 69 6e 73 74 |is.inser|ted inst|
|00002f80| 65 61 64 2c 20 73 68 69 | 66 74 69 6e 67 20 65 78 |ead, shi|fting ex|
|00002f90| 69 73 74 69 6e 67 20 74 | 65 78 74 2e 20 20 4c 65 |isting t|ext. Le|
|00002fa0| 61 76 65 73 20 6d 61 72 | 6b 20 61 74 20 6f 6e 65 |aves mar|k at one|
|00002fb0| 20 63 6f 72 6e 65 72 0a | 6f 66 20 72 65 63 74 61 | corner.|of recta|
|00002fc0| 6e 67 6c 65 20 61 6e 64 | 20 70 6f 69 6e 74 20 61 |ngle and| point a|
|00002fd0| 74 20 74 68 65 20 6f 74 | 68 65 72 20 28 64 69 61 |t the ot|her (dia|
|00002fe0| 67 6f 6e 61 6c 6c 79 20 | 6f 70 70 6f 73 65 64 29 |gonally |opposed)|
|00002ff0| 20 63 6f 72 6e 65 72 2e | 22 20 28 69 6e 74 65 72 | corner.|" (inter|
|00003000| 61 63 74 69 76 65 20 22 | 63 52 65 63 74 61 6e 67 |active "|cRectang|
|00003010| 6c 65 20 66 72 6f 6d 20 | 72 65 67 69 73 74 65 72 |le from |register|
|00003020| 3a 20 0a 50 22 29 20 28 | 62 79 74 65 2d 63 6f 64 |: .P") (|byte-cod|
|00003030| 65 20 22 c3 88 c4 09 21 | 18 08 3a 3f 83 13 00 c5 |e "....!|..:?....|
|00003040| c6 09 5c 22 82 17 00 c7 | 08 0a 5c 22 29 87 22 20 |..\"....|..\")." |
|00003050| 5b 72 65 63 74 61 6e 67 | 6c 65 20 72 65 67 69 73 |[rectang|le regis|
|00003060| 74 65 72 20 69 6e 73 65 | 72 74 70 20 6e 69 6c 20 |ter inse|rtp nil |
|00003070| 67 65 74 2d 72 65 67 69 | 73 74 65 72 20 65 72 72 |get-regi|ster err|
|00003080| 6f 72 20 22 52 65 67 69 | 73 74 65 72 20 25 63 20 |or "Regi|ster %c |
|00003090| 64 6f 65 73 20 6e 6f 74 | 20 63 6f 6e 74 61 69 6e |does not| contain|
|000030a0| 20 61 20 72 65 63 74 61 | 6e 67 6c 65 2e 22 20 70 | a recta|ngle." p|
|000030b0| 69 63 74 75 72 65 2d 69 | 6e 73 65 72 74 2d 72 65 |icture-i|nsert-re|
|000030c0| 63 74 61 6e 67 6c 65 5d | 20 35 29 29 0a 0a 28 64 |ctangle]| 5))..(d|
|000030d0| 65 66 75 6e 20 70 69 63 | 74 75 72 65 2d 69 6e 73 |efun pic|ture-ins|
|000030e0| 65 72 74 2d 72 65 63 74 | 61 6e 67 6c 65 20 28 72 |ert-rect|angle (r|
|000030f0| 65 63 74 61 6e 67 6c 65 | 20 26 6f 70 74 69 6f 6e |ectangle| &option|
|00003100| 61 6c 20 69 6e 73 65 72 | 74 70 29 20 22 5c 0a 4f |al inser|tp) "\.O|
|00003110| 76 65 72 6c 61 79 20 52 | 45 43 54 41 4e 47 4c 45 |verlay R|ECTANGLE|
|00003120| 20 77 69 74 68 20 75 70 | 70 65 72 20 6c 65 66 74 | with up|per left|
|00003130| 20 63 6f 72 6e 65 72 20 | 61 74 20 70 6f 69 6e 74 | corner |at point|
|00003140| 2e 0a 4f 70 74 69 6f 6e | 61 6c 20 61 72 67 75 6d |..Option|al argum|
|00003150| 65 6e 74 20 49 4e 53 45 | 52 54 50 2c 20 69 66 20 |ent INSE|RTP, if |
|00003160| 6e 6f 6e 2d 6e 69 6c 20 | 63 61 75 73 65 73 20 52 |non-nil |causes R|
|00003170| 45 43 54 41 4e 47 4c 45 | 20 74 6f 20 62 65 20 69 |ECTANGLE| to be i|
|00003180| 6e 73 65 72 74 65 64 2e | 0a 4c 65 61 76 65 73 20 |nserted.|.Leaves |
|00003190| 74 68 65 20 72 65 67 69 | 6f 6e 20 73 75 72 72 6f |the regi|on surro|
|000031a0| 75 6e 64 69 6e 67 20 74 | 68 65 20 72 65 63 74 61 |unding t|he recta|
|000031b0| 6e 67 6c 65 2e 22 20 28 | 62 79 74 65 2d 63 6f 64 |ngle." (|byte-cod|
|000031c0| 65 20 22 c1 18 0a 3f 85 | 19 00 8a c4 60 c5 0b 40 |e "...?.|....`..@|
|000031d0| 47 21 88 c6 0b 47 53 21 | 88 60 5c 22 29 88 c7 20 |G!...GS!|.`\").. |
|000031e0| 88 c8 0b 21 29 87 22 20 | 5b 69 6e 64 65 6e 74 2d |...!)." |[indent-|
|000031f0| 74 61 62 73 2d 6d 6f 64 | 65 20 6e 69 6c 20 69 6e |tabs-mod|e nil in|
|00003200| 73 65 72 74 70 20 72 65 | 63 74 61 6e 67 6c 65 20 |sertp re|ctangle |
|00003210| 64 65 6c 65 74 65 2d 72 | 65 63 74 61 6e 67 6c 65 |delete-r|ectangle|
|00003220| 20 70 69 63 74 75 72 65 | 2d 66 6f 72 77 61 72 64 | picture|-forward|
|00003230| 2d 63 6f 6c 75 6d 6e 20 | 70 69 63 74 75 72 65 2d |-column |picture-|
|00003240| 6d 6f 76 65 2d 64 6f 77 | 6e 20 70 75 73 68 2d 6d |move-dow|n push-m|
|00003250| 61 72 6b 20 69 6e 73 65 | 72 74 2d 72 65 63 74 61 |ark inse|rt-recta|
|00003260| 6e 67 6c 65 5d 20 36 29 | 29 0a 0a 28 64 65 66 63 |ngle] 6)|)..(defc|
|00003270| 6f 6e 73 74 20 70 69 63 | 74 75 72 65 2d 6d 6f 64 |onst pic|ture-mod|
|00003280| 65 2d 6d 61 70 20 6e 69 | 6c 29 0a 0a 28 69 66 20 |e-map ni|l)..(if |
|00003290| 28 6e 6f 74 20 70 69 63 | 74 75 72 65 2d 6d 6f 64 |(not pic|ture-mod|
|000032a0| 65 2d 6d 61 70 29 20 28 | 6c 65 74 20 28 28 69 20 |e-map) (|let ((i |
|000032b0| 33 32 29 29 20 28 73 65 | 74 71 20 70 69 63 74 75 |32)) (se|tq pictu|
|000032c0| 72 65 2d 6d 6f 64 65 2d | 6d 61 70 20 28 6d 61 6b |re-mode-|map (mak|
|000032d0| 65 2d 6b 65 79 6d 61 70 | 29 29 20 28 77 68 69 6c |e-keymap|)) (whil|
|000032e0| 65 20 28 3c 20 69 20 31 | 32 37 29 20 28 61 73 65 |e (< i 1|27) (ase|
|000032f0| 74 20 70 69 63 74 75 72 | 65 2d 6d 6f 64 65 2d 6d |t pictur|e-mode-m|
|00003300| 61 70 20 69 20 28 71 75 | 6f 74 65 20 70 69 63 74 |ap i (qu|ote pict|
|00003310| 75 72 65 2d 73 65 6c 66 | 2d 69 6e 73 65 72 74 29 |ure-self|-insert)|
|00003320| 29 20 28 73 65 74 71 20 | 69 20 28 31 2b 20 69 29 |) (setq |i (1+ i)|
|00003330| 29 29 20 28 64 65 66 69 | 6e 65 2d 6b 65 79 20 70 |)) (defi|ne-key p|
|00003340| 69 63 74 75 72 65 2d 6d | 6f 64 65 2d 6d 61 70 20 |icture-m|ode-map |
|00003350| 22 06 22 20 28 71 75 6f | 74 65 20 70 69 63 74 75 |"." (quo|te pictu|
|00003360| 72 65 2d 66 6f 72 77 61 | 72 64 2d 63 6f 6c 75 6d |re-forwa|rd-colum|
|00003370| 6e 29 29 20 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |n)) (def|ine-key |
|00003380| 70 69 63 74 75 72 65 2d | 6d 6f 64 65 2d 6d 61 70 |picture-|mode-map|
|00003390| 20 22 02 22 20 28 71 75 | 6f 74 65 20 70 69 63 74 | "." (qu|ote pict|
|000033a0| 75 72 65 2d 62 61 63 6b | 77 61 72 64 2d 63 6f 6c |ure-back|ward-col|
|000033b0| 75 6d 6e 29 29 20 28 64 | 65 66 69 6e 65 2d 6b 65 |umn)) (d|efine-ke|
|000033c0| 79 20 70 69 63 74 75 72 | 65 2d 6d 6f 64 65 2d 6d |y pictur|e-mode-m|
|000033d0| 61 70 20 22 04 22 20 28 | 71 75 6f 74 65 20 70 69 |ap "." (|quote pi|
|000033e0| 63 74 75 72 65 2d 63 6c | 65 61 72 2d 63 6f 6c 75 |cture-cl|ear-colu|
|000033f0| 6d 6e 29 29 20 28 64 65 | 66 69 6e 65 2d 6b 65 79 |mn)) (de|fine-key|
|00003400| 20 70 69 63 74 75 72 65 | 2d 6d 6f 64 65 2d 6d 61 | picture|-mode-ma|
|00003410| 70 20 22 03 04 22 20 28 | 71 75 6f 74 65 20 64 65 |p ".." (|quote de|
|00003420| 6c 65 74 65 2d 63 68 61 | 72 29 29 20 28 64 65 66 |lete-cha|r)) (def|
|00003430| 69 6e 65 2d 6b 65 79 20 | 70 69 63 74 75 72 65 2d |ine-key |picture-|
|00003440| 6d 6f 64 65 2d 6d 61 70 | 20 22 7f 22 20 28 71 75 |mode-map| "." (qu|
|00003450| 6f 74 65 20 70 69 63 74 | 75 72 65 2d 62 61 63 6b |ote pict|ure-back|
|00003460| 77 61 72 64 2d 63 6c 65 | 61 72 2d 63 6f 6c 75 6d |ward-cle|ar-colum|
|00003470| 6e 29 29 20 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |n)) (def|ine-key |
|00003480| 70 69 63 74 75 72 65 2d | 6d 6f 64 65 2d 6d 61 70 |picture-|mode-map|
|00003490| 20 22 0b 22 20 28 71 75 | 6f 74 65 20 70 69 63 74 | "." (qu|ote pict|
|000034a0| 75 72 65 2d 63 6c 65 61 | 72 2d 6c 69 6e 65 29 29 |ure-clea|r-line))|
|000034b0| 20 28 64 65 66 69 6e 65 | 2d 6b 65 79 20 70 69 63 | (define|-key pic|
|000034c0| 74 75 72 65 2d 6d 6f 64 | 65 2d 6d 61 70 20 22 0f |ture-mod|e-map ".|
|000034d0| 22 20 28 71 75 6f 74 65 | 20 70 69 63 74 75 72 65 |" (quote| picture|
|000034e0| 2d 6f 70 65 6e 2d 6c 69 | 6e 65 29 29 20 28 64 65 |-open-li|ne)) (de|
|000034f0| 66 69 6e 65 2d 6b 65 79 | 20 70 69 63 74 75 72 65 |fine-key| picture|
|00003500| 2d 6d 6f 64 65 2d 6d 61 | 70 20 22 0d 22 20 28 71 |-mode-ma|p "." (q|
|00003510| 75 6f 74 65 20 70 69 63 | 74 75 72 65 2d 6e 65 77 |uote pic|ture-new|
|00003520| 6c 69 6e 65 29 29 20 28 | 64 65 66 69 6e 65 2d 6b |line)) (|define-k|
|00003530| 65 79 20 70 69 63 74 75 | 72 65 2d 6d 6f 64 65 2d |ey pictu|re-mode-|
|00003540| 6d 61 70 20 22 0a 22 20 | 28 71 75 6f 74 65 20 70 |map "." |(quote p|
|00003550| 69 63 74 75 72 65 2d 64 | 75 70 6c 69 63 61 74 65 |icture-d|uplicate|
|00003560| 2d 6c 69 6e 65 29 29 20 | 28 64 65 66 69 6e 65 2d |-line)) |(define-|
|00003570| 6b 65 79 20 70 69 63 74 | 75 72 65 2d 6d 6f 64 65 |key pict|ure-mode|
|00003580| 2d 6d 61 70 20 22 0e 22 | 20 28 71 75 6f 74 65 20 |-map "."| (quote |
|00003590| 70 69 63 74 75 72 65 2d | 6d 6f 76 65 2d 64 6f 77 |picture-|move-dow|
|000035a0| 6e 29 29 20 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |n)) (def|ine-key |
|000035b0| 70 69 63 74 75 72 65 2d | 6d 6f 64 65 2d 6d 61 70 |picture-|mode-map|
|000035c0| 20 22 10 22 20 28 71 75 | 6f 74 65 20 70 69 63 74 | "." (qu|ote pict|
|000035d0| 75 72 65 2d 6d 6f 76 65 | 2d 75 70 29 29 20 28 64 |ure-move|-up)) (d|
|000035e0| 65 66 69 6e 65 2d 6b 65 | 79 20 70 69 63 74 75 72 |efine-ke|y pictur|
|000035f0| 65 2d 6d 6f 64 65 2d 6d | 61 70 20 22 05 22 20 28 |e-mode-m|ap "." (|
|00003600| 71 75 6f 74 65 20 70 69 | 63 74 75 72 65 2d 65 6e |quote pi|cture-en|
|00003610| 64 2d 6f 66 2d 6c 69 6e | 65 29 29 20 28 64 65 66 |d-of-lin|e)) (def|
|00003620| 69 6e 65 2d 6b 65 79 20 | 70 69 63 74 75 72 65 2d |ine-key |picture-|
|00003630| 6d 6f 64 65 2d 6d 61 70 | 20 22 1b 09 22 20 28 71 |mode-map| ".." (q|
|00003640| 75 6f 74 65 20 70 69 63 | 74 75 72 65 2d 74 6f 67 |uote pic|ture-tog|
|00003650| 67 6c 65 2d 74 61 62 2d | 73 74 61 74 65 29 29 20 |gle-tab-|state)) |
|00003660| 28 64 65 66 69 6e 65 2d | 6b 65 79 20 70 69 63 74 |(define-|key pict|
|00003670| 75 72 65 2d 6d 6f 64 65 | 2d 6d 61 70 20 22 09 22 |ure-mode|-map "."|
|00003680| 20 28 71 75 6f 74 65 20 | 70 69 63 74 75 72 65 2d | (quote |picture-|
|00003690| 74 61 62 29 29 20 28 64 | 65 66 69 6e 65 2d 6b 65 |tab)) (d|efine-ke|
|000036a0| 79 20 70 69 63 74 75 72 | 65 2d 6d 6f 64 65 2d 6d |y pictur|e-mode-m|
|000036b0| 61 70 20 22 1b 09 22 20 | 28 71 75 6f 74 65 20 70 |ap ".." |(quote p|
|000036c0| 69 63 74 75 72 65 2d 74 | 61 62 2d 73 65 61 72 63 |icture-t|ab-searc|
|000036d0| 68 29 29 20 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |h)) (def|ine-key |
|000036e0| 70 69 63 74 75 72 65 2d | 6d 6f 64 65 2d 6d 61 70 |picture-|mode-map|
|000036f0| 20 22 03 09 22 20 28 71 | 75 6f 74 65 20 70 69 63 | ".." (q|uote pic|
|00003700| 74 75 72 65 2d 73 65 74 | 2d 74 61 62 2d 73 74 6f |ture-set|-tab-sto|
|00003710| 70 73 29 29 20 28 64 65 | 66 69 6e 65 2d 6b 65 79 |ps)) (de|fine-key|
|00003720| 20 70 69 63 74 75 72 65 | 2d 6d 6f 64 65 2d 6d 61 | picture|-mode-ma|
|00003730| 70 20 22 03 0b 22 20 28 | 71 75 6f 74 65 20 70 69 |p ".." (|quote pi|
|00003740| 63 74 75 72 65 2d 63 6c | 65 61 72 2d 72 65 63 74 |cture-cl|ear-rect|
|00003750| 61 6e 67 6c 65 29 29 20 | 28 64 65 66 69 6e 65 2d |angle)) |(define-|
|00003760| 6b 65 79 20 70 69 63 74 | 75 72 65 2d 6d 6f 64 65 |key pict|ure-mode|
|00003770| 2d 6d 61 70 20 22 03 17 | 22 20 28 71 75 6f 74 65 |-map "..|" (quote|
|00003780| 20 70 69 63 74 75 72 65 | 2d 63 6c 65 61 72 2d 72 | picture|-clear-r|
|00003790| 65 63 74 61 6e 67 6c 65 | 2d 74 6f 2d 72 65 67 69 |ectangle|-to-regi|
|000037a0| 73 74 65 72 29 29 20 28 | 64 65 66 69 6e 65 2d 6b |ster)) (|define-k|
|000037b0| 65 79 20 70 69 63 74 75 | 72 65 2d 6d 6f 64 65 2d |ey pictu|re-mode-|
|000037c0| 6d 61 70 20 22 03 19 22 | 20 28 71 75 6f 74 65 20 |map ".."| (quote |
|000037d0| 70 69 63 74 75 72 65 2d | 79 61 6e 6b 2d 72 65 63 |picture-|yank-rec|
|000037e0| 74 61 6e 67 6c 65 29 29 | 20 28 64 65 66 69 6e 65 |tangle))| (define|
|000037f0| 2d 6b 65 79 20 70 69 63 | 74 75 72 65 2d 6d 6f 64 |-key pic|ture-mod|
|00003800| 65 2d 6d 61 70 20 22 03 | 18 22 20 28 71 75 6f 74 |e-map ".|." (quot|
|00003810| 65 20 70 69 63 74 75 72 | 65 2d 79 61 6e 6b 2d 72 |e pictur|e-yank-r|
|00003820| 65 63 74 61 6e 67 6c 65 | 2d 66 72 6f 6d 2d 72 65 |ectangle|-from-re|
|00003830| 67 69 73 74 65 72 29 29 | 20 28 64 65 66 69 6e 65 |gister))| (define|
|00003840| 2d 6b 65 79 20 70 69 63 | 74 75 72 65 2d 6d 6f 64 |-key pic|ture-mod|
|00003850| 65 2d 6d 61 70 20 22 03 | 03 22 20 28 71 75 6f 74 |e-map ".|." (quot|
|00003860| 65 20 70 69 63 74 75 72 | 65 2d 6d 6f 64 65 2d 65 |e pictur|e-mode-e|
|00003870| 78 69 74 29 29 20 28 64 | 65 66 69 6e 65 2d 6b 65 |xit)) (d|efine-ke|
|00003880| 79 20 70 69 63 74 75 72 | 65 2d 6d 6f 64 65 2d 6d |y pictur|e-mode-m|
|00003890| 61 70 20 22 03 06 22 20 | 28 71 75 6f 74 65 20 70 |ap ".." |(quote p|
|000038a0| 69 63 74 75 72 65 2d 6d | 6f 74 69 6f 6e 29 29 20 |icture-m|otion)) |
|000038b0| 28 64 65 66 69 6e 65 2d | 6b 65 79 20 70 69 63 74 |(define-|key pict|
|000038c0| 75 72 65 2d 6d 6f 64 65 | 2d 6d 61 70 20 22 03 02 |ure-mode|-map "..|
|000038d0| 22 20 28 71 75 6f 74 65 | 20 70 69 63 74 75 72 65 |" (quote| picture|
|000038e0| 2d 6d 6f 74 69 6f 6e 2d | 72 65 76 65 72 73 65 29 |-motion-|reverse)|
|000038f0| 29 20 28 64 65 66 69 6e | 65 2d 6b 65 79 20 70 69 |) (defin|e-key pi|
|00003900| 63 74 75 72 65 2d 6d 6f | 64 65 2d 6d 61 70 20 22 |cture-mo|de-map "|
|00003910| 03 3c 22 20 28 71 75 6f | 74 65 20 70 69 63 74 75 |.<" (quo|te pictu|
|00003920| 72 65 2d 6d 6f 76 65 6d | 65 6e 74 2d 6c 65 66 74 |re-movem|ent-left|
|00003930| 29 29 20 28 64 65 66 69 | 6e 65 2d 6b 65 79 20 70 |)) (defi|ne-key p|
|00003940| 69 63 74 75 72 65 2d 6d | 6f 64 65 2d 6d 61 70 20 |icture-m|ode-map |
|00003950| 22 03 3e 22 20 28 71 75 | 6f 74 65 20 70 69 63 74 |".>" (qu|ote pict|
|00003960| 75 72 65 2d 6d 6f 76 65 | 6d 65 6e 74 2d 72 69 67 |ure-move|ment-rig|
|00003970| 68 74 29 29 20 28 64 65 | 66 69 6e 65 2d 6b 65 79 |ht)) (de|fine-key|
|00003980| 20 70 69 63 74 75 72 65 | 2d 6d 6f 64 65 2d 6d 61 | picture|-mode-ma|
|00003990| 70 20 22 03 5e 22 20 28 | 71 75 6f 74 65 20 70 69 |p ".^" (|quote pi|
|000039a0| 63 74 75 72 65 2d 6d 6f | 76 65 6d 65 6e 74 2d 75 |cture-mo|vement-u|
|000039b0| 70 29 29 20 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |p)) (def|ine-key |
|000039c0| 70 69 63 74 75 72 65 2d | 6d 6f 64 65 2d 6d 61 70 |picture-|mode-map|
|000039d0| 20 22 03 2e 22 20 28 71 | 75 6f 74 65 20 70 69 63 | ".." (q|uote pic|
|000039e0| 74 75 72 65 2d 6d 6f 76 | 65 6d 65 6e 74 2d 64 6f |ture-mov|ement-do|
|000039f0| 77 6e 29 29 20 28 64 65 | 66 69 6e 65 2d 6b 65 79 |wn)) (de|fine-key|
|00003a00| 20 70 69 63 74 75 72 65 | 2d 6d 6f 64 65 2d 6d 61 | picture|-mode-ma|
|00003a10| 70 20 22 03 60 22 20 28 | 71 75 6f 74 65 20 70 69 |p ".`" (|quote pi|
|00003a20| 63 74 75 72 65 2d 6d 6f | 76 65 6d 65 6e 74 2d 6e |cture-mo|vement-n|
|00003a30| 77 29 29 20 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |w)) (def|ine-key |
|00003a40| 70 69 63 74 75 72 65 2d | 6d 6f 64 65 2d 6d 61 70 |picture-|mode-map|
|00003a50| 20 22 03 27 22 20 28 71 | 75 6f 74 65 20 70 69 63 | ".'" (q|uote pic|
|00003a60| 74 75 72 65 2d 6d 6f 76 | 65 6d 65 6e 74 2d 6e 65 |ture-mov|ement-ne|
|00003a70| 29 29 20 28 64 65 66 69 | 6e 65 2d 6b 65 79 20 70 |)) (defi|ne-key p|
|00003a80| 69 63 74 75 72 65 2d 6d | 6f 64 65 2d 6d 61 70 20 |icture-m|ode-map |
|00003a90| 22 03 2f 22 20 28 71 75 | 6f 74 65 20 70 69 63 74 |"./" (qu|ote pict|
|00003aa0| 75 72 65 2d 6d 6f 76 65 | 6d 65 6e 74 2d 73 77 29 |ure-move|ment-sw)|
|00003ab0| 29 20 28 64 65 66 69 6e | 65 2d 6b 65 79 20 70 69 |) (defin|e-key pi|
|00003ac0| 63 74 75 72 65 2d 6d 6f | 64 65 2d 6d 61 70 20 22 |cture-mo|de-map "|
|00003ad0| 03 5c 5c 22 20 28 71 75 | 6f 74 65 20 70 69 63 74 |.\\" (qu|ote pict|
|00003ae0| 75 72 65 2d 6d 6f 76 65 | 6d 65 6e 74 2d 73 65 29 |ure-move|ment-se)|
|00003af0| 29 29 29 0a 0a 28 64 65 | 66 76 61 72 20 65 64 69 |)))..(de|fvar edi|
|00003b00| 74 2d 70 69 63 74 75 72 | 65 2d 68 6f 6f 6b 20 6e |t-pictur|e-hook n|
|00003b10| 69 6c 20 22 5c 0a 49 66 | 20 6e 6f 6e 2d 6e 69 6c |il "\.If| non-nil|
|00003b20| 2c 20 69 74 27 73 20 76 | 61 6c 75 65 20 69 73 20 |, it's v|alue is |
|00003b30| 63 61 6c 6c 65 64 20 6f | 6e 20 65 6e 74 72 79 20 |called o|n entry |
|00003b40| 74 6f 20 50 69 63 74 75 | 72 65 20 6d 6f 64 65 2e |to Pictu|re mode.|
|00003b50| 0a 50 69 63 74 75 72 65 | 20 6d 6f 64 65 20 69 73 |.Picture| mode is|
|00003b60| 20 69 6e 76 6f 6b 65 64 | 20 62 79 20 74 68 65 20 | invoked| by the |
|00003b70| 63 6f 6d 6d 61 6e 64 20 | 5c 5c 5b 65 64 69 74 2d |command |\\[edit-|
|00003b80| 70 69 63 74 75 72 65 5d | 2e 22 29 0a 0a 28 64 65 |picture]|.")..(de|
|00003b90| 66 75 6e 20 65 64 69 74 | 2d 70 69 63 74 75 72 65 |fun edit|-picture|
|00003ba0| 20 6e 69 6c 20 22 5c 0a | 53 77 69 74 63 68 20 74 | nil "\.|Switch t|
|00003bb0| 6f 20 50 69 63 74 75 72 | 65 20 6d 6f 64 65 2c 20 |o Pictur|e mode, |
|00003bc0| 69 6e 20 77 68 69 63 68 | 20 61 20 71 75 61 72 74 |in which| a quart|
|00003bd0| 65 72 2d 70 6c 61 6e 65 | 20 73 63 72 65 65 6e 20 |er-plane| screen |
|00003be0| 6d 6f 64 65 6c 20 69 73 | 20 75 73 65 64 2e 0a 50 |model is| used..P|
|00003bf0| 72 69 6e 74 69 6e 67 20 | 63 68 61 72 61 63 74 65 |rinting |characte|
|00003c00| 72 73 20 72 65 70 6c 61 | 63 65 20 69 6e 73 74 65 |rs repla|ce inste|
|00003c10| 61 64 20 6f 66 20 69 6e | 73 65 72 74 69 6e 67 20 |ad of in|serting |
|00003c20| 74 68 65 6d 73 65 6c 76 | 65 73 20 77 69 74 68 20 |themselv|es with |
|00003c30| 6d 6f 74 69 6f 6e 0a 61 | 66 74 65 72 77 61 72 64 |motion.a|fterward|
|00003c40| 73 20 73 65 74 74 61 62 | 6c 65 20 62 79 20 74 68 |s settab|le by th|
|00003c50| 65 73 65 20 63 6f 6d 6d | 61 6e 64 73 3a 0a 20 20 |ese comm|ands:. |
|00003c60| 43 2d 63 20 3c 09 20 20 | 4d 6f 76 65 20 6c 65 66 |C-c <. |Move lef|
|00003c70| 74 20 61 66 74 65 72 20 | 69 6e 73 65 72 74 69 6f |t after |insertio|
|00003c80| 6e 2e 0a 20 20 43 2d 63 | 20 3e 09 20 20 4d 6f 76 |n.. C-c| >. Mov|
|00003c90| 65 20 72 69 67 68 74 20 | 61 66 74 65 72 20 69 6e |e right |after in|
|00003ca0| 73 65 72 74 69 6f 6e 2e | 0a 20 20 43 2d 63 20 5e |sertion.|. C-c ^|
|00003cb0| 09 20 20 4d 6f 76 65 20 | 75 70 20 61 66 74 65 72 |. Move |up after|
|00003cc0| 20 69 6e 73 65 72 74 69 | 6f 6e 2e 0a 20 20 43 2d | inserti|on.. C-|
|00003cd0| 63 20 2e 09 20 20 4d 6f | 76 65 20 64 6f 77 6e 20 |c .. Mo|ve down |
|00003ce0| 61 66 74 65 72 20 69 6e | 73 65 72 74 69 6f 6e 2e |after in|sertion.|
|00003cf0| 0a 20 20 43 2d 63 20 60 | 09 20 20 4d 6f 76 65 20 |. C-c `|. Move |
|00003d00| 6e 6f 72 74 68 77 65 73 | 74 20 28 6e 77 29 20 61 |northwes|t (nw) a|
|00003d10| 66 74 65 72 20 69 6e 73 | 65 72 74 69 6f 6e 2e 0a |fter ins|ertion..|
|00003d20| 20 20 43 2d 63 20 27 09 | 20 20 4d 6f 76 65 20 6e | C-c '.| Move n|
|00003d30| 6f 72 74 68 65 61 73 74 | 20 28 6e 65 29 20 61 66 |ortheast| (ne) af|
|00003d40| 74 65 72 20 69 6e 73 65 | 72 74 69 6f 6e 2e 0a 20 |ter inse|rtion.. |
|00003d50| 20 43 2d 63 20 2f 09 20 | 20 4d 6f 76 65 20 73 6f | C-c /. | Move so|
|00003d60| 75 74 68 77 65 73 74 20 | 28 73 77 29 20 61 66 74 |uthwest |(sw) aft|
|00003d70| 65 72 20 69 6e 73 65 72 | 74 69 6f 6e 2e 0a 20 20 |er inser|tion.. |
|00003d80| 43 2d 63 20 5c 5c 20 20 | 20 4d 6f 76 65 20 73 6f |C-c \\ | Move so|
|00003d90| 75 74 68 65 61 73 74 20 | 28 73 65 29 20 61 66 74 |utheast |(se) aft|
|00003da0| 65 72 20 69 6e 73 65 72 | 74 69 6f 6e 2e 0a 54 68 |er inser|tion..Th|
|00003db0| 65 20 63 75 72 72 65 6e | 74 20 64 69 72 65 63 74 |e curren|t direct|
|00003dc0| 69 6f 6e 20 69 73 20 64 | 69 73 70 6c 61 79 65 64 |ion is d|isplayed|
|00003dd0| 20 69 6e 20 74 68 65 20 | 6d 6f 64 65 20 6c 69 6e | in the |mode lin|
|00003de0| 65 2e 20 20 54 68 65 20 | 69 6e 69 74 69 61 6c 0a |e. The |initial.|
|00003df0| 64 69 72 65 63 74 69 6f | 6e 20 69 73 20 72 69 67 |directio|n is rig|
|00003e00| 68 74 2e 20 20 57 68 69 | 74 65 73 70 61 63 65 20 |ht. Whi|tespace |
|00003e10| 69 73 20 69 6e 73 65 72 | 74 65 64 20 61 6e 64 20 |is inser|ted and |
|00003e20| 74 61 62 73 20 61 72 65 | 20 63 68 61 6e 67 65 64 |tabs are| changed|
|00003e30| 20 74 6f 0a 73 70 61 63 | 65 73 20 77 68 65 6e 20 | to.spac|es when |
|00003e40| 72 65 71 75 69 72 65 64 | 20 62 79 20 6d 6f 76 65 |required| by move|
|00003e50| 6d 65 6e 74 2e 20 20 59 | 6f 75 20 63 61 6e 20 6d |ment. Y|ou can m|
|00003e60| 6f 76 65 20 61 72 6f 75 | 6e 64 20 69 6e 20 74 68 |ove arou|nd in th|
|00003e70| 65 20 62 75 66 66 65 72 | 0a 77 69 74 68 20 74 68 |e buffer|.with th|
|00003e80| 65 73 65 20 63 6f 6d 6d | 61 6e 64 73 3a 0a 20 20 |ese comm|ands:. |
|00003e90| 43 2d 70 09 20 20 4d 6f | 76 65 20 76 65 72 74 69 |C-p. Mo|ve verti|
|00003ea0| 63 61 6c 6c 79 20 74 6f | 20 53 41 4d 45 20 63 6f |cally to| SAME co|
|00003eb0| 6c 75 6d 6e 20 69 6e 20 | 70 72 65 76 69 6f 75 73 |lumn in |previous|
|00003ec0| 20 6c 69 6e 65 2e 0a 20 | 20 43 2d 6e 09 20 20 4d | line.. | C-n. M|
|00003ed0| 6f 76 65 20 76 65 72 74 | 69 63 61 6c 6c 79 20 74 |ove vert|ically t|
|00003ee0| 6f 20 53 41 4d 45 20 63 | 6f 6c 75 6d 6e 20 69 6e |o SAME c|olumn in|
|00003ef0| 20 6e 65 78 74 20 6c 69 | 6e 65 2e 0a 20 20 43 2d | next li|ne.. C-|
|00003f00| 65 09 20 20 4d 6f 76 65 | 20 74 6f 20 63 6f 6c 75 |e. Move| to colu|
|00003f10| 6d 6e 20 66 6f 6c 6c 6f | 77 69 6e 67 20 6c 61 73 |mn follo|wing las|
|00003f20| 74 20 6e 6f 6e 2d 77 68 | 69 74 65 73 70 61 63 65 |t non-wh|itespace|
|00003f30| 20 63 68 61 72 61 63 74 | 65 72 2e 0a 20 20 43 2d | charact|er.. C-|
|00003f40| 66 09 20 20 4d 6f 76 65 | 20 72 69 67 68 74 20 69 |f. Move| right i|
|00003f50| 6e 73 65 72 74 69 6e 67 | 20 73 70 61 63 65 73 20 |nserting| spaces |
|00003f60| 69 66 20 72 65 71 75 69 | 72 65 64 2e 0a 20 20 43 |if requi|red.. C|
|00003f70| 2d 62 09 20 20 4d 6f 76 | 65 20 6c 65 66 74 20 63 |-b. Mov|e left c|
|00003f80| 68 61 6e 67 69 6e 67 20 | 74 61 62 73 20 74 6f 20 |hanging |tabs to |
|00003f90| 73 70 61 63 65 73 20 69 | 66 20 72 65 71 75 69 72 |spaces i|f requir|
|00003fa0| 65 64 2e 0a 20 20 43 2d | 63 20 43 2d 66 20 4d 6f |ed.. C-|c C-f Mo|
|00003fb0| 76 65 20 69 6e 20 64 69 | 72 65 63 74 69 6f 6e 20 |ve in di|rection |
|00003fc0| 6f 66 20 63 75 72 72 65 | 6e 74 20 70 69 63 74 75 |of curre|nt pictu|
|00003fd0| 72 65 20 6d 6f 74 69 6f | 6e 2e 0a 20 20 43 2d 63 |re motio|n.. C-c|
|00003fe0| 20 43 2d 62 20 4d 6f 76 | 65 20 69 6e 20 6f 70 70 | C-b Mov|e in opp|
|00003ff0| 6f 73 69 74 65 20 64 69 | 72 65 63 74 69 6f 6e 20 |osite di|rection |
|00004000| 6f 66 20 63 75 72 72 65 | 6e 74 20 70 69 63 74 75 |of curre|nt pictu|
|00004010| 72 65 20 6d 6f 74 69 6f | 6e 2e 0a 20 20 52 65 74 |re motio|n.. Ret|
|00004020| 75 72 6e 20 20 4d 6f 76 | 65 20 74 6f 20 62 65 67 |urn Mov|e to beg|
|00004030| 69 6e 6e 69 6e 67 20 6f | 66 20 6e 65 78 74 20 6c |inning o|f next l|
|00004040| 69 6e 65 2e 0a 59 6f 75 | 20 63 61 6e 20 65 64 69 |ine..You| can edi|
|00004050| 74 20 74 61 62 75 6c 61 | 72 20 74 65 78 74 20 77 |t tabula|r text w|
|00004060| 69 74 68 20 74 68 65 73 | 65 20 63 6f 6d 6d 61 6e |ith thes|e comman|
|00004070| 64 73 3a 0a 20 20 4d 2d | 54 61 62 09 20 20 4d 6f |ds:. M-|Tab. Mo|
|00004080| 76 65 20 74 6f 20 63 6f | 6c 75 6d 6e 20 62 65 6e |ve to co|lumn ben|
|00004090| 65 61 74 68 20 28 6f 72 | 20 61 74 29 20 6e 65 78 |eath (or| at) nex|
|000040a0| 74 20 69 6e 74 65 72 65 | 73 74 69 6e 67 20 63 68 |t intere|sting ch|
|000040b0| 61 72 61 63 74 65 72 2e | 0a 09 20 20 20 20 60 49 |aracter.|.. `I|
|000040c0| 6e 64 65 6e 74 73 27 20 | 72 65 6c 61 74 69 76 65 |ndents' |relative|
|000040d0| 20 74 6f 20 61 20 70 72 | 65 76 69 6f 75 73 20 6c | to a pr|evious l|
|000040e0| 69 6e 65 2e 0a 20 20 54 | 61 62 09 20 20 4d 6f 76 |ine.. T|ab. Mov|
|000040f0| 65 20 74 6f 20 6e 65 78 | 74 20 73 74 6f 70 20 69 |e to nex|t stop i|
|00004100| 6e 20 74 61 62 20 73 74 | 6f 70 20 6c 69 73 74 2e |n tab st|op list.|
|00004110| 0a 20 20 43 2d 63 20 54 | 61 62 20 53 65 74 20 74 |. C-c T|ab Set t|
|00004120| 61 62 20 73 74 6f 70 73 | 20 61 63 63 6f 72 64 69 |ab stops| accordi|
|00004130| 6e 67 20 74 6f 20 63 6f | 6e 74 65 78 74 20 6f 66 |ng to co|ntext of|
|00004140| 20 74 68 69 73 20 6c 69 | 6e 65 2e 0a 09 20 20 20 | this li|ne... |
|00004150| 20 57 69 74 68 20 41 52 | 47 20 72 65 73 65 74 73 | With AR|G resets|
|00004160| 20 74 61 62 20 73 74 6f | 70 73 20 74 6f 20 64 65 | tab sto|ps to de|
|00004170| 66 61 75 6c 74 20 28 67 | 6c 6f 62 61 6c 29 20 76 |fault (g|lobal) v|
|00004180| 61 6c 75 65 2e 0a 09 20 | 20 20 20 53 65 65 20 61 |alue... | See a|
|00004190| 6c 73 6f 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |lso docu|mentatio|
|000041a0| 6e 20 6f 66 20 76 61 72 | 69 61 62 6c 65 09 70 69 |n of var|iable.pi|
|000041b0| 63 74 75 72 65 2d 74 61 | 62 2d 63 68 61 72 73 0a |cture-ta|b-chars.|
|000041c0| 09 20 20 20 20 77 68 69 | 63 68 20 64 65 66 69 6e |. whi|ch defin|
|000041d0| 65 73 20 5c 22 69 6e 74 | 65 72 65 73 74 69 6e 67 |es \"int|eresting|
|000041e0| 20 63 68 61 72 61 63 74 | 65 72 5c 22 2e 20 20 59 | charact|er\". Y|
|000041f0| 6f 75 20 63 61 6e 20 6d | 61 6e 75 61 6c 6c 79 0a |ou can m|anually.|
|00004200| 09 20 20 20 20 63 68 61 | 6e 67 65 20 74 68 65 20 |. cha|nge the |
|00004210| 74 61 62 20 73 74 6f 70 | 20 6c 69 73 74 20 77 69 |tab stop| list wi|
|00004220| 74 68 20 63 6f 6d 6d 61 | 6e 64 20 5c 5c 5b 65 64 |th comma|nd \\[ed|
|00004230| 69 74 2d 74 61 62 2d 73 | 74 6f 70 73 5d 2e 0a 59 |it-tab-s|tops]..Y|
|00004240| 6f 75 20 63 61 6e 20 6d | 61 6e 69 70 75 6c 61 74 |ou can m|anipulat|
|00004250| 65 20 74 65 78 74 20 77 | 69 74 68 20 74 68 65 73 |e text w|ith thes|
|00004260| 65 20 63 6f 6d 6d 61 6e | 64 73 3a 0a 20 20 43 2d |e comman|ds:. C-|
|00004270| 64 09 20 20 43 6c 65 61 | 72 20 28 72 65 70 6c 61 |d. Clea|r (repla|
|00004280| 63 65 29 20 41 52 47 20 | 63 6f 6c 75 6d 6e 73 20 |ce) ARG |columns |
|00004290| 61 66 74 65 72 20 70 6f | 69 6e 74 20 77 69 74 68 |after po|int with|
|000042a0| 6f 75 74 20 6d 6f 76 69 | 6e 67 2e 0a 20 20 43 2d |out movi|ng.. C-|
|000042b0| 63 20 43 2d 64 20 44 65 | 6c 65 74 65 20 63 68 61 |c C-d De|lete cha|
|000042c0| 72 20 61 74 20 70 6f 69 | 6e 74 20 2d 20 74 68 65 |r at poi|nt - the|
|000042d0| 20 63 6f 6d 6d 61 6e 64 | 20 6e 6f 72 6d 61 6c 6c | command| normall|
|000042e0| 79 20 61 73 73 69 67 6e | 65 64 20 74 6f 20 43 2d |y assign|ed to C-|
|000042f0| 64 2e 0a 20 20 44 65 6c | 65 74 65 20 20 43 6c 65 |d.. Del|ete Cle|
|00004300| 61 72 20 28 72 65 70 6c | 61 63 65 29 20 41 52 47 |ar (repl|ace) ARG|
|00004310| 20 63 6f 6c 75 6d 6e 73 | 20 62 65 66 6f 72 65 20 | columns| before |
|00004320| 70 6f 69 6e 74 2c 20 6d | 6f 76 69 6e 67 20 62 61 |point, m|oving ba|
|00004330| 63 6b 20 6f 76 65 72 20 | 74 68 65 6d 2e 0a 20 20 |ck over |them.. |
|00004340| 43 2d 6b 09 20 20 43 6c | 65 61 72 20 41 52 47 20 |C-k. Cl|ear ARG |
|00004350| 6c 69 6e 65 73 2c 20 61 | 64 76 61 6e 63 69 6e 67 |lines, a|dvancing|
|00004360| 20 6f 76 65 72 20 74 68 | 65 6d 2e 09 20 54 68 65 | over th|em.. The|
|00004370| 20 63 6c 65 61 72 65 64 | 0a 09 20 20 20 20 74 65 | cleared|.. te|
|00004380| 78 74 20 69 73 20 73 61 | 76 65 64 20 69 6e 20 74 |xt is sa|ved in t|
|00004390| 68 65 20 6b 69 6c 6c 20 | 72 69 6e 67 2e 0a 20 20 |he kill |ring.. |
|000043a0| 43 2d 6f 09 20 20 4f 70 | 65 6e 20 62 6c 61 6e 6b |C-o. Op|en blank|
|000043b0| 20 6c 69 6e 65 28 73 29 | 20 62 65 6e 65 61 74 68 | line(s)| beneath|
|000043c0| 20 63 75 72 72 65 6e 74 | 20 6c 69 6e 65 2e 0a 59 | current| line..Y|
|000043d0| 6f 75 20 63 61 6e 20 6d | 61 6e 69 70 75 6c 61 74 |ou can m|anipulat|
|000043e0| 65 20 72 65 63 74 61 6e | 67 6c 65 73 20 77 69 74 |e rectan|gles wit|
|000043f0| 68 20 74 68 65 73 65 20 | 63 6f 6d 6d 61 6e 64 73 |h these |commands|
|00004400| 3a 0a 20 20 43 2d 63 20 | 43 2d 6b 20 43 6c 65 61 |:. C-c |C-k Clea|
|00004410| 72 20 28 6f 72 20 6b 69 | 6c 6c 29 20 61 20 72 65 |r (or ki|ll) a re|
|00004420| 63 74 61 6e 67 6c 65 20 | 61 6e 64 20 73 61 76 65 |ctangle |and save|
|00004430| 20 69 74 2e 0a 20 20 43 | 2d 63 20 43 2d 77 20 4c | it.. C|-c C-w L|
|00004440| 69 6b 65 20 43 2d 63 20 | 43 2d 6b 20 65 78 63 65 |ike C-c |C-k exce|
|00004450| 70 74 20 72 65 63 74 61 | 6e 67 6c 65 20 69 73 20 |pt recta|ngle is |
|00004460| 73 61 76 65 64 20 69 6e | 20 6e 61 6d 65 64 20 72 |saved in| named r|
|00004470| 65 67 69 73 74 65 72 2e | 0a 20 20 43 2d 63 20 43 |egister.|. C-c C|
|00004480| 2d 79 20 4f 76 65 72 6c | 61 79 20 28 6f 72 20 69 |-y Overl|ay (or i|
|00004490| 6e 73 65 72 74 29 20 63 | 75 72 72 65 6e 74 6c 79 |nsert) c|urrently|
|000044a0| 20 73 61 76 65 64 20 72 | 65 63 74 61 6e 67 6c 65 | saved r|ectangle|
|000044b0| 20 61 74 20 70 6f 69 6e | 74 2e 0a 20 20 43 2d 63 | at poin|t.. C-c|
|000044c0| 20 43 2d 78 20 4c 69 6b | 65 20 43 2d 63 20 43 2d | C-x Lik|e C-c C-|
|000044d0| 79 20 65 78 63 65 70 74 | 20 72 65 63 74 61 6e 67 |y except| rectang|
|000044e0| 6c 65 20 69 73 20 74 61 | 6b 65 6e 20 66 72 6f 6d |le is ta|ken from|
|000044f0| 20 6e 61 6d 65 64 20 72 | 65 67 69 73 74 65 72 2e | named r|egister.|
|00004500| 0a 20 20 5c 5c 5b 63 6f | 70 79 2d 72 65 63 74 61 |. \\[co|py-recta|
|00004510| 6e 67 6c 65 2d 74 6f 2d | 72 65 67 69 73 74 65 72 |ngle-to-|register|
|00004520| 5d 20 20 20 43 6f 70 69 | 65 73 20 61 20 72 65 63 |] Copi|es a rec|
|00004530| 74 61 6e 67 6c 65 20 74 | 6f 20 61 20 72 65 67 69 |tangle t|o a regi|
|00004540| 73 74 65 72 2e 0a 20 20 | 5c 5c 5b 61 64 76 65 72 |ster.. |\\[adver|
|00004550| 74 69 73 65 64 2d 75 6e | 64 6f 5d 20 20 20 43 61 |tised-un|do] Ca|
|00004560| 6e 20 75 6e 64 6f 20 65 | 66 66 65 63 74 73 20 6f |n undo e|ffects o|
|00004570| 66 20 72 65 63 74 61 6e | 67 6c 65 20 6f 76 65 72 |f rectan|gle over|
|00004580| 6c 61 79 20 63 6f 6d 6d | 61 6e 64 73 0a 09 20 20 |lay comm|ands.. |
|00004590| 20 20 63 6f 6d 6d 61 6e | 64 73 20 69 66 20 69 6e | comman|ds if in|
|000045a0| 76 6f 6b 65 64 20 73 6f | 6f 6e 20 65 6e 6f 75 67 |voked so|on enoug|
|000045b0| 68 2e 0a 59 6f 75 20 63 | 61 6e 20 72 65 74 75 72 |h..You c|an retur|
|000045c0| 6e 20 74 6f 20 74 68 65 | 20 70 72 65 76 69 6f 75 |n to the| previou|
|000045d0| 73 20 6d 6f 64 65 20 77 | 69 74 68 3a 0a 20 20 43 |s mode w|ith:. C|
|000045e0| 2d 63 20 43 2d 63 20 57 | 68 69 63 68 20 61 6c 73 |-c C-c W|hich als|
|000045f0| 6f 20 73 74 72 69 70 73 | 20 74 72 61 69 6c 69 6e |o strips| trailin|
|00004600| 67 20 77 68 69 74 65 73 | 70 61 63 65 20 66 72 6f |g whites|pace fro|
|00004610| 6d 20 65 76 65 72 79 20 | 6c 69 6e 65 2e 0a 09 20 |m every |line... |
|00004620| 20 20 20 53 74 72 69 70 | 70 69 6e 67 20 69 73 20 | Strip|ping is |
|00004630| 73 75 70 70 72 65 73 73 | 65 64 20 62 79 20 73 75 |suppress|ed by su|
|00004640| 70 70 6c 79 69 6e 67 20 | 61 6e 20 61 72 67 75 6d |pplying |an argum|
|00004650| 65 6e 74 2e 0a 0a 45 6e | 74 72 79 20 74 6f 20 74 |ent...En|try to t|
|00004660| 68 69 73 20 6d 6f 64 65 | 20 63 61 6c 6c 73 20 74 |his mode| calls t|
|00004670| 68 65 20 76 61 6c 75 65 | 20 6f 66 20 20 65 64 69 |he value| of edi|
|00004680| 74 2d 70 69 63 74 75 72 | 65 2d 68 6f 6f 6b 20 20 |t-pictur|e-hook |
|00004690| 69 66 20 6e 6f 6e 2d 6e | 69 6c 2e 0a 0a 4e 6f 74 |if non-n|il...Not|
|000046a0| 65 20 74 68 61 74 20 50 | 69 63 74 75 72 65 20 6d |e that P|icture m|
|000046b0| 6f 64 65 20 63 6f 6d 6d | 61 6e 64 73 20 77 69 6c |ode comm|ands wil|
|000046c0| 6c 20 77 6f 72 6b 20 6f | 75 74 73 69 64 65 20 6f |l work o|utside o|
|000046d0| 66 20 50 69 63 74 75 72 | 65 20 6d 6f 64 65 2c 20 |f Pictur|e mode, |
|000046e0| 62 75 74 0a 74 68 65 79 | 20 61 72 65 20 6e 6f 74 |but.they| are not|
|000046f0| 20 64 65 66 61 75 6c 74 | 6c 79 20 61 73 73 69 67 | default|ly assig|
|00004700| 6e 65 64 20 74 6f 20 6b | 65 79 73 2e 22 20 28 69 |ned to k|eys." (i|
|00004710| 6e 74 65 72 61 63 74 69 | 76 65 29 20 28 62 79 74 |nteracti|ve) (byt|
|00004720| 65 2d 63 6f 64 65 20 22 | c7 88 08 ca 3d 83 0e 00 |e-code "|....=...|
|00004730| cb cc 21 82 66 00 cd c1 | 21 88 ce 20 89 11 88 cf |..!.f...|!.. ....|
|00004740| 0a 21 88 cd c3 21 88 0c | 89 13 88 cd c5 21 88 08 |.!...!..|.....!..|
|00004750| 89 15 88 ca 89 10 88 cd | c6 21 88 c7 89 16 06 88 |........|.!......|
|00004760| cd c8 21 88 d0 c8 21 89 | 16 08 88 cd c9 21 88 d0 |..!...!.|.....!..|
|00004770| c9 21 89 16 09 88 cd d1 | 21 88 cd d2 21 88 d3 d4 |.!......|!...!...|
|00004780| d5 5c 22 88 d6 d7 d8 5c | 22 88 d9 da db 21 0b 5c |.\"....\|"....!.\|
|00004790| 22 87 22 20 5b 6d 61 6a | 6f 72 2d 6d 6f 64 65 20 |"." [maj|or-mode |
|000047a0| 70 69 63 74 75 72 65 2d | 6d 6f 64 65 2d 6f 6c 64 |picture-|mode-old|
|000047b0| 2d 6c 6f 63 61 6c 2d 6d | 61 70 20 70 69 63 74 75 |-local-m|ap pictu|
|000047c0| 72 65 2d 6d 6f 64 65 2d | 6d 61 70 20 70 69 63 74 |re-mode-|map pict|
|000047d0| 75 72 65 2d 6d 6f 64 65 | 2d 6f 6c 64 2d 6d 6f 64 |ure-mode|-old-mod|
|000047e0| 65 2d 6e 61 6d 65 20 6d | 6f 64 65 2d 6e 61 6d 65 |e-name m|ode-name|
|000047f0| 20 70 69 63 74 75 72 65 | 2d 6d 6f 64 65 2d 6f 6c | picture|-mode-ol|
|00004800| 64 2d 6d 61 6a 6f 72 2d | 6d 6f 64 65 20 70 69 63 |d-major-|mode pic|
|00004810| 74 75 72 65 2d 6b 69 6c | 6c 65 64 2d 72 65 63 74 |ture-kil|led-rect|
|00004820| 61 6e 67 6c 65 20 6e 69 | 6c 20 74 61 62 2d 73 74 |angle ni|l tab-st|
|00004830| 6f 70 2d 6c 69 73 74 20 | 70 69 63 74 75 72 65 2d |op-list |picture-|
|00004840| 74 61 62 2d 63 68 61 72 | 73 20 65 64 69 74 2d 70 |tab-char|s edit-p|
|00004850| 69 63 74 75 72 65 20 65 | 72 72 6f 72 20 22 59 6f |icture e|rror "Yo|
|00004860| 75 20 61 72 65 20 61 6c | 72 65 61 64 79 20 65 64 |u are al|ready ed|
|00004870| 69 74 69 6e 67 20 61 20 | 50 69 63 74 75 72 65 2e |iting a |Picture.|
|00004880| 22 20 6d 61 6b 65 2d 6c | 6f 63 61 6c 2d 76 61 72 |" make-l|ocal-var|
|00004890| 69 61 62 6c 65 20 63 75 | 72 72 65 6e 74 2d 6c 6f |iable cu|rrent-lo|
|000048a0| 63 61 6c 2d 6d 61 70 20 | 75 73 65 2d 6c 6f 63 61 |cal-map |use-loca|
|000048b0| 6c 2d 6d 61 70 20 64 65 | 66 61 75 6c 74 2d 76 61 |l-map de|fault-va|
|000048c0| 6c 75 65 20 70 69 63 74 | 75 72 65 2d 76 65 72 74 |lue pict|ure-vert|
|000048d0| 69 63 61 6c 2d 73 74 65 | 70 20 70 69 63 74 75 72 |ical-ste|p pictur|
|000048e0| 65 2d 68 6f 72 69 7a 6f | 6e 74 61 6c 2d 73 74 65 |e-horizo|ntal-ste|
|000048f0| 70 20 70 69 63 74 75 72 | 65 2d 73 65 74 2d 6d 6f |p pictur|e-set-mo|
|00004900| 74 69 6f 6e 20 30 20 31 | 20 72 75 6e 2d 68 6f 6f |tion 0 1| run-hoo|
|00004910| 6b 73 20 65 64 69 74 2d | 70 69 63 74 75 72 65 2d |ks edit-|picture-|
|00004920| 68 6f 6f 6b 20 70 69 63 | 74 75 72 65 2d 6d 6f 64 |hook pic|ture-mod|
|00004930| 65 2d 68 6f 6f 6b 20 6d | 65 73 73 61 67 65 20 73 |e-hook m|essage s|
|00004940| 75 62 73 74 69 74 75 74 | 65 2d 63 6f 6d 6d 61 6e |ubstitut|e-comman|
|00004950| 64 2d 6b 65 79 73 20 22 | 54 79 70 65 20 5c 5c 5b |d-keys "|Type \\[|
|00004960| 70 69 63 74 75 72 65 2d | 6d 6f 64 65 2d 65 78 69 |picture-|mode-exi|
|00004970| 74 5d 20 69 6e 20 74 68 | 69 73 20 62 75 66 66 65 |t] in th|is buffe|
|00004980| 72 20 74 6f 20 72 65 74 | 75 72 6e 20 69 74 20 74 |r to ret|urn it t|
|00004990| 6f 20 25 73 20 6d 6f 64 | 65 2e 22 5d 20 31 39 29 |o %s mod|e."] 19)|
|000049a0| 29 0a 0a 28 66 73 65 74 | 20 28 71 75 6f 74 65 20 |)..(fset| (quote |
|000049b0| 70 69 63 74 75 72 65 2d | 6d 6f 64 65 29 20 28 71 |picture-|mode) (q|
|000049c0| 75 6f 74 65 20 65 64 69 | 74 2d 70 69 63 74 75 72 |uote edi|t-pictur|
|000049d0| 65 29 29 0a 0a 28 64 65 | 66 75 6e 20 70 69 63 74 |e))..(de|fun pict|
|000049e0| 75 72 65 2d 6d 6f 64 65 | 2d 65 78 69 74 20 28 26 |ure-mode|-exit (&|
|000049f0| 6f 70 74 69 6f 6e 61 6c | 20 6e 6f 73 74 72 69 70 |optional| nostrip|
|00004a00| 29 20 22 5c 0a 55 6e 64 | 6f 20 65 64 69 74 2d 70 |) "\.Und|o edit-p|
|00004a10| 69 63 74 75 72 65 20 61 | 6e 64 20 72 65 74 75 72 |icture a|nd retur|
|00004a20| 6e 20 74 6f 20 70 72 65 | 76 69 6f 75 73 20 6d 61 |n to pre|vious ma|
|00004a30| 6a 6f 72 20 6d 6f 64 65 | 2e 0a 57 69 74 68 20 6e |jor mode|..With n|
|00004a40| 6f 20 61 72 67 75 6d 65 | 6e 74 20 73 74 72 69 70 |o argume|nt strip|
|00004a50| 73 20 77 68 69 74 65 73 | 70 61 63 65 20 66 72 6f |s whites|pace fro|
|00004a60| 6d 20 65 6e 64 20 6f 66 | 20 65 76 65 72 79 20 6c |m end of| every l|
|00004a70| 69 6e 65 20 69 6e 20 50 | 69 63 74 75 72 65 20 62 |ine in P|icture b|
|00004a80| 75 66 66 65 72 0a 20 20 | 6f 74 68 65 72 77 69 73 |uffer. |otherwis|
|00004a90| 65 20 6a 75 73 74 20 72 | 65 74 75 72 6e 20 74 6f |e just r|eturn to|
|00004aa0| 20 70 72 65 76 69 6f 75 | 73 20 6d 6f 64 65 2e 22 | previou|s mode."|
|00004ab0| 20 28 69 6e 74 65 72 61 | 63 74 69 76 65 20 22 50 | (intera|ctive "P|
|00004ac0| 22 29 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c6 |") (byte|-code ".|
|00004ad0| 88 08 c7 3d 3f 83 0f 00 | c8 c9 21 82 2b 00 09 3f |...=?...|..!.+..?|
|00004ae0| 85 16 00 ca 20 88 0b 89 | 12 88 cb 0c 21 88 0d 89 |.... ...|....!...|
|00004af0| 10 88 cc cd 21 88 ce cf | 20 21 87 22 20 5b 6d 61 |....!...| !." [ma|
|00004b00| 6a 6f 72 2d 6d 6f 64 65 | 20 6e 6f 73 74 72 69 70 |jor-mode| nostrip|
|00004b10| 20 6d 6f 64 65 2d 6e 61 | 6d 65 20 70 69 63 74 75 | mode-na|me pictu|
|00004b20| 72 65 2d 6d 6f 64 65 2d | 6f 6c 64 2d 6d 6f 64 65 |re-mode-|old-mode|
|00004b30| 2d 6e 61 6d 65 20 70 69 | 63 74 75 72 65 2d 6d 6f |-name pi|cture-mo|
|00004b40| 64 65 2d 6f 6c 64 2d 6c | 6f 63 61 6c 2d 6d 61 70 |de-old-l|ocal-map|
|00004b50| 20 70 69 63 74 75 72 65 | 2d 6d 6f 64 65 2d 6f 6c | picture|-mode-ol|
|00004b60| 64 2d 6d 61 6a 6f 72 2d | 6d 6f 64 65 20 6e 69 6c |d-major-|mode nil|
|00004b70| 20 65 64 69 74 2d 70 69 | 63 74 75 72 65 20 65 72 | edit-pi|cture er|
|00004b80| 72 6f 72 20 22 59 6f 75 | 20 61 72 65 6e 27 74 20 |ror "You| aren't |
|00004b90| 65 64 69 74 69 6e 67 20 | 61 20 50 69 63 74 75 72 |editing |a Pictur|
|00004ba0| 65 2e 22 20 70 69 63 74 | 75 72 65 2d 63 6c 65 61 |e." pict|ure-clea|
|00004bb0| 6e 20 75 73 65 2d 6c 6f | 63 61 6c 2d 6d 61 70 20 |n use-lo|cal-map |
|00004bc0| 6b 69 6c 6c 2d 6c 6f 63 | 61 6c 2d 76 61 72 69 61 |kill-loc|al-varia|
|00004bd0| 62 6c 65 20 74 61 62 2d | 73 74 6f 70 2d 6c 69 73 |ble tab-|stop-lis|
|00004be0| 74 20 73 65 74 2d 62 75 | 66 66 65 72 2d 6d 6f 64 |t set-bu|ffer-mod|
|00004bf0| 69 66 69 65 64 2d 70 20 | 62 75 66 66 65 72 2d 6d |ified-p |buffer-m|
|00004c00| 6f 64 69 66 69 65 64 2d | 70 5d 20 37 29 29 0a 0a |odified-|p] 7))..|
|00004c10| 28 64 65 66 75 6e 20 70 | 69 63 74 75 72 65 2d 63 |(defun p|icture-c|
|00004c20| 6c 65 61 6e 20 6e 69 6c | 20 22 5c 0a 45 6c 69 6d |lean nil| "\.Elim|
|00004c30| 69 6e 61 74 65 20 77 68 | 69 74 65 73 70 61 63 65 |inate wh|itespace|
|00004c40| 20 61 74 20 65 6e 64 73 | 20 6f 66 20 6c 69 6e 65 | at ends| of line|
|00004c50| 73 2e 22 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |s." (byt|e-code "|
|00004c60| 8a 65 62 88 c2 c3 c0 c1 | 23 85 16 00 c4 c5 c6 21 |.eb.....|#......!|
|00004c70| 60 5c 22 88 82 04 00 29 | 87 22 20 5b 6e 69 6c 20 |`\"....)|." [nil |
|00004c80| 74 20 72 65 2d 73 65 61 | 72 63 68 2d 66 6f 72 77 |t re-sea|rch-forw|
|00004c90| 61 72 64 20 22 5b 20 09 | 5d 5b 20 09 5d 2a 24 22 |ard "[ .|][ .]*$"|
|00004ca0| 20 64 65 6c 65 74 65 2d | 72 65 67 69 6f 6e 20 6d | delete-|region m|
|00004cb0| 61 74 63 68 2d 62 65 67 | 69 6e 6e 69 6e 67 20 30 |atch-beg|inning 0|
|00004cc0| 5d 20 36 29 29 0a | |] 6)). | |
+--------+-------------------------+-------------------------+--------+--------+