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 / edt.elc < prev    next >
Emacs Compiled Lisp  |  1991-01-10  |  12.0 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: '(require (quote keypad)) default (weak)
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0a 28 72 65 71 75 69 72 | 65 20 28 71 75 6f 74 65 |.(requir|e (quote|
|00000010| 20 6b 65 79 70 61 64 29 | 29 0a 0a 28 64 65 66 76 | keypad)|)..(defv|
|00000020| 61 72 20 65 64 74 2d 6c | 61 73 74 2d 64 65 6c 65 |ar edt-l|ast-dele|
|00000030| 74 65 64 2d 6c 69 6e 65 | 73 20 22 22 20 22 5c 0a |ted-line|s "" "\.|
|00000040| 4c 61 73 74 20 74 65 78 | 74 20 64 65 6c 65 74 65 |Last tex|t delete|
|00000050| 64 20 62 79 20 61 6e 20 | 45 44 54 20 65 6d 75 6c |d by an |EDT emul|
|00000060| 61 74 69 6f 6e 20 6c 69 | 6e 65 2d 64 65 6c 65 74 |ation li|ne-delet|
|00000070| 65 20 63 6f 6d 6d 61 6e | 64 2e 22 29 0a 0a 28 64 |e comman|d.")..(d|
|00000080| 65 66 76 61 72 20 65 64 | 74 2d 6c 61 73 74 2d 64 |efvar ed|t-last-d|
|00000090| 65 6c 65 74 65 64 2d 77 | 6f 72 64 73 20 22 22 20 |eleted-w|ords "" |
|000000a0| 22 5c 0a 4c 61 73 74 20 | 74 65 78 74 20 64 65 6c |"\.Last |text del|
|000000b0| 65 74 65 64 20 62 79 20 | 61 6e 20 45 44 54 20 65 |eted by |an EDT e|
|000000c0| 6d 75 6c 61 74 69 6f 6e | 20 77 6f 72 64 2d 64 65 |mulation| word-de|
|000000d0| 6c 65 74 65 20 63 6f 6d | 6d 61 6e 64 2e 22 29 0a |lete com|mand.").|
|000000e0| 0a 28 64 65 66 76 61 72 | 20 65 64 74 2d 6c 61 73 |.(defvar| edt-las|
|000000f0| 74 2d 64 65 6c 65 74 65 | 64 2d 63 68 61 72 73 20 |t-delete|d-chars |
|00000100| 22 22 20 22 5c 0a 4c 61 | 73 74 20 74 65 78 74 20 |"" "\.La|st text |
|00000110| 64 65 6c 65 74 65 64 20 | 62 79 20 61 6e 20 45 44 |deleted |by an ED|
|00000120| 54 20 65 6d 75 6c 61 74 | 69 6f 6e 20 63 68 61 72 |T emulat|ion char|
|00000130| 61 63 74 65 72 2d 64 65 | 6c 65 74 65 20 63 6f 6d |acter-de|lete com|
|00000140| 6d 61 6e 64 2e 22 29 0a | 0a 28 64 65 66 75 6e 20 |mand.").|.(defun |
|00000150| 64 65 6c 65 74 65 2d 63 | 75 72 72 65 6e 74 2d 6c |delete-c|urrent-l|
|00000160| 69 6e 65 20 28 6e 75 6d | 29 20 22 5c 0a 44 65 6c |ine (num|) "\.Del|
|00000170| 65 74 65 20 6f 6e 65 20 | 6f 72 20 73 70 65 63 69 |ete one |or speci|
|00000180| 66 69 65 64 20 6e 75 6d | 62 65 72 20 6f 66 20 6c |fied num|ber of l|
|00000190| 69 6e 65 73 20 61 66 74 | 65 72 20 70 6f 69 6e 74 |ines aft|er point|
|000001a0| 2e 0a 54 68 69 73 20 69 | 6e 63 6c 75 64 65 73 20 |..This i|ncludes |
|000001b0| 74 68 65 20 6e 65 77 6c | 69 6e 65 20 63 68 61 72 |the newl|ine char|
|000001c0| 61 63 74 65 72 20 61 74 | 20 74 68 65 20 65 6e 64 |acter at| the end|
|000001d0| 20 6f 66 20 65 61 63 68 | 20 6c 69 6e 65 2e 0a 54 | of each| line..T|
|000001e0| 68 65 79 20 61 72 65 20 | 73 61 76 65 64 20 66 6f |hey are |saved fo|
|000001f0| 72 20 74 68 65 20 45 44 | 54 20 75 6e 64 65 6c 65 |r the ED|T undele|
|00000200| 74 65 2d 6c 69 6e 65 73 | 20 63 6f 6d 6d 61 6e 64 |te-lines| command|
|00000210| 2e 22 20 28 69 6e 74 65 | 72 61 63 74 69 76 65 20 |." (inte|ractive |
|00000220| 22 70 22 29 20 28 62 79 | 74 65 2d 63 6f 64 65 20 |"p") (by|te-code |
|00000230| 22 c3 88 60 18 c4 09 21 | 88 68 c5 3d 3f 85 11 00 |"..`...!|.h.=?...|
|00000240| c6 63 88 c7 08 60 5c 22 | 89 12 88 c8 08 60 5c 22 |.c...`\"|.....`\"|
|00000250| 29 87 22 20 5b 62 65 67 | 20 6e 75 6d 20 65 64 74 |)." [beg| num edt|
|00000260| 2d 6c 61 73 74 2d 64 65 | 6c 65 74 65 64 2d 6c 69 |-last-de|leted-li|
|00000270| 6e 65 73 20 6e 69 6c 20 | 66 6f 72 77 61 72 64 2d |nes nil |forward-|
|00000280| 6c 69 6e 65 20 31 30 20 | 22 0a 22 20 62 75 66 66 |line 10 |"." buff|
|00000290| 65 72 2d 73 75 62 73 74 | 72 69 6e 67 20 64 65 6c |er-subst|ring del|
|000002a0| 65 74 65 2d 72 65 67 69 | 6f 6e 5d 20 35 29 29 0a |ete-regi|on] 5)).|
|000002b0| 0a 28 64 65 66 75 6e 20 | 64 65 6c 65 74 65 2d 74 |.(defun |delete-t|
|000002c0| 6f 2d 65 6f 6c 20 28 6e | 75 6d 29 20 22 5c 0a 44 |o-eol (n|um) "\.D|
|000002d0| 65 6c 65 74 65 20 74 65 | 78 74 20 75 70 20 74 6f |elete te|xt up to|
|000002e0| 20 65 6e 64 20 6f 66 20 | 6c 69 6e 65 2e 0a 57 69 | end of |line..Wi|
|000002f0| 74 68 20 61 72 67 75 6d | 65 6e 74 2c 20 64 65 6c |th argum|ent, del|
|00000300| 65 74 65 20 75 70 20 74 | 6f 20 74 6f 20 4e 74 68 |ete up t|o to Nth|
|00000310| 20 6c 69 6e 65 2d 65 6e | 64 20 70 61 73 74 20 70 | line-en|d past p|
|00000320| 6f 69 6e 74 2e 0a 54 68 | 65 79 20 61 72 65 20 73 |oint..Th|ey are s|
|00000330| 61 76 65 64 20 66 6f 72 | 20 74 68 65 20 45 44 54 |aved for| the EDT|
|00000340| 20 75 6e 64 65 6c 65 74 | 65 2d 6c 69 6e 65 73 20 | undelet|e-lines |
|00000350| 63 6f 6d 6d 61 6e 64 2e | 22 20 28 69 6e 74 65 72 |command.|" (inter|
|00000360| 61 63 74 69 76 65 20 22 | 70 22 29 20 28 62 79 74 |active "|p") (byt|
|00000370| 65 2d 63 6f 64 65 20 22 | c3 88 60 18 c4 c5 21 88 |e-code "|..`...!.|
|00000380| c6 09 21 88 c7 08 60 5c | 22 89 12 88 c8 08 60 5c |..!...`\|".....`\|
|00000390| 22 29 87 22 20 5b 62 65 | 67 20 6e 75 6d 20 65 64 |")." [be|g num ed|
|000003a0| 74 2d 6c 61 73 74 2d 64 | 65 6c 65 74 65 64 2d 6c |t-last-d|eleted-l|
|000003b0| 69 6e 65 73 20 6e 69 6c | 20 66 6f 72 77 61 72 64 |ines nil| forward|
|000003c0| 2d 63 68 61 72 20 31 20 | 65 6e 64 2d 6f 66 2d 6c |-char 1 |end-of-l|
|000003d0| 69 6e 65 20 62 75 66 66 | 65 72 2d 73 75 62 73 74 |ine buff|er-subst|
|000003e0| 72 69 6e 67 20 64 65 6c | 65 74 65 2d 72 65 67 69 |ring del|ete-regi|
|000003f0| 6f 6e 5d 20 36 29 29 0a | 0a 28 64 65 66 75 6e 20 |on] 6)).|.(defun |
|00000400| 64 65 6c 65 74 65 2d 63 | 75 72 72 65 6e 74 2d 77 |delete-c|urrent-w|
|00000410| 6f 72 64 20 28 6e 75 6d | 29 20 22 5c 0a 44 65 6c |ord (num|) "\.Del|
|00000420| 65 74 65 20 6f 6e 65 20 | 6f 72 20 73 70 65 63 69 |ete one |or speci|
|00000430| 66 69 65 64 20 6e 75 6d | 62 65 72 20 6f 66 20 77 |fied num|ber of w|
|00000440| 6f 72 64 73 20 61 66 74 | 65 72 20 70 6f 69 6e 74 |ords aft|er point|
|00000450| 2e 0a 54 68 65 79 20 61 | 72 65 20 73 61 76 65 64 |..They a|re saved|
|00000460| 20 66 6f 72 20 74 68 65 | 20 45 44 54 20 75 6e 64 | for the| EDT und|
|00000470| 65 6c 65 74 65 2d 77 6f | 72 64 73 20 63 6f 6d 6d |elete-wo|rds comm|
|00000480| 61 6e 64 2e 22 20 28 69 | 6e 74 65 72 61 63 74 69 |and." (i|nteracti|
|00000490| 76 65 20 22 70 22 29 20 | 28 62 79 74 65 2d 63 6f |ve "p") |(byte-co|
|000004a0| 64 65 20 22 c3 88 60 18 | c4 09 21 88 c5 08 60 5c |de "..`.|..!...`\|
|000004b0| 22 89 12 88 c6 08 60 5c | 22 29 87 22 20 5b 62 65 |".....`\|")." [be|
|000004c0| 67 20 6e 75 6d 20 65 64 | 74 2d 6c 61 73 74 2d 64 |g num ed|t-last-d|
|000004d0| 65 6c 65 74 65 64 2d 77 | 6f 72 64 73 20 6e 69 6c |eleted-w|ords nil|
|000004e0| 20 66 6f 72 77 61 72 64 | 2d 77 6f 72 64 20 62 75 | forward|-word bu|
|000004f0| 66 66 65 72 2d 73 75 62 | 73 74 72 69 6e 67 20 64 |ffer-sub|string d|
|00000500| 65 6c 65 74 65 2d 72 65 | 67 69 6f 6e 5d 20 35 29 |elete-re|gion] 5)|
|00000510| 29 0a 0a 28 64 65 66 75 | 6e 20 64 65 6c 65 74 65 |)..(defu|n delete|
|00000520| 2d 70 72 65 76 69 6f 75 | 73 2d 77 6f 72 64 20 28 |-previou|s-word (|
|00000530| 6e 75 6d 29 20 22 5c 0a | 44 65 6c 65 74 65 20 6f |num) "\.|Delete o|
|00000540| 6e 65 20 6f 72 20 73 70 | 65 63 69 66 69 65 64 20 |ne or sp|ecified |
|00000550| 6e 75 6d 62 65 72 20 6f | 66 20 77 6f 72 64 73 20 |number o|f words |
|00000560| 62 65 66 6f 72 65 20 70 | 6f 69 6e 74 2e 0a 54 68 |before p|oint..Th|
|00000570| 65 79 20 61 72 65 20 73 | 61 76 65 64 20 66 6f 72 |ey are s|aved for|
|00000580| 20 74 68 65 20 45 44 54 | 20 75 6e 64 65 6c 65 74 | the EDT| undelet|
|00000590| 65 2d 77 6f 72 64 73 20 | 63 6f 6d 6d 61 6e 64 2e |e-words |command.|
|000005a0| 22 20 28 69 6e 74 65 72 | 61 63 74 69 76 65 20 22 |" (inter|active "|
|000005b0| 70 22 29 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |p") (byt|e-code "|
|000005c0| c3 88 60 18 c4 09 5b 21 | 88 c5 60 08 5c 22 89 12 |..`...[!|..`.\"..|
|000005d0| 88 c6 08 60 5c 22 29 87 | 22 20 5b 62 65 67 20 6e |...`\").|" [beg n|
|000005e0| 75 6d 20 65 64 74 2d 6c | 61 73 74 2d 64 65 6c 65 |um edt-l|ast-dele|
|000005f0| 74 65 64 2d 77 6f 72 64 | 73 20 6e 69 6c 20 66 6f |ted-word|s nil fo|
|00000600| 72 77 61 72 64 2d 77 6f | 72 64 20 62 75 66 66 65 |rward-wo|rd buffe|
|00000610| 72 2d 73 75 62 73 74 72 | 69 6e 67 20 64 65 6c 65 |r-substr|ing dele|
|00000620| 74 65 2d 72 65 67 69 6f | 6e 5d 20 35 29 29 0a 0a |te-regio|n] 5))..|
|00000630| 28 64 65 66 75 6e 20 64 | 65 6c 65 74 65 2d 63 75 |(defun d|elete-cu|
|00000640| 72 72 65 6e 74 2d 63 68 | 61 72 20 28 6e 75 6d 29 |rrent-ch|ar (num)|
|00000650| 20 22 5c 0a 44 65 6c 65 | 74 65 20 6f 6e 65 20 6f | "\.Dele|te one o|
|00000660| 72 20 73 70 65 63 69 66 | 69 65 64 20 6e 75 6d 62 |r specif|ied numb|
|00000670| 65 72 20 6f 66 20 63 68 | 61 72 61 63 74 65 72 73 |er of ch|aracters|
|00000680| 20 61 66 74 65 72 20 70 | 6f 69 6e 74 2e 0a 54 68 | after p|oint..Th|
|00000690| 65 79 20 61 72 65 20 73 | 61 76 65 64 20 66 6f 72 |ey are s|aved for|
|000006a0| 20 74 68 65 20 45 44 54 | 20 75 6e 64 65 6c 65 74 | the EDT| undelet|
|000006b0| 65 2d 63 68 61 72 73 20 | 63 6f 6d 6d 61 6e 64 2e |e-chars |command.|
|000006c0| 22 20 28 69 6e 74 65 72 | 61 63 74 69 76 65 20 22 |" (inter|active "|
|000006d0| 70 22 29 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |p") (byt|e-code "|
|000006e0| c2 88 c3 60 64 60 09 5c | 5c 5e 5c 22 89 10 88 c4 |...`d`.\|\^\"....|
|000006f0| 60 64 60 09 5c 5c 5e 5c | 22 87 22 20 5b 65 64 74 |`d`.\\^\|"." [edt|
|00000700| 2d 6c 61 73 74 2d 64 65 | 6c 65 74 65 64 2d 63 68 |-last-de|leted-ch|
|00000710| 61 72 73 20 6e 75 6d 20 | 6e 69 6c 20 62 75 66 66 |ars num |nil buff|
|00000720| 65 72 2d 73 75 62 73 74 | 72 69 6e 67 20 64 65 6c |er-subst|ring del|
|00000730| 65 74 65 2d 72 65 67 69 | 6f 6e 5d 20 36 29 29 0a |ete-regi|on] 6)).|
|00000740| 0a 28 64 65 66 75 6e 20 | 64 65 6c 65 74 65 2d 70 |.(defun |delete-p|
|00000750| 72 65 76 69 6f 75 73 2d | 63 68 61 72 20 28 6e 75 |revious-|char (nu|
|00000760| 6d 29 20 22 5c 0a 44 65 | 6c 65 74 65 20 6f 6e 65 |m) "\.De|lete one|
|00000770| 20 6f 72 20 73 70 65 63 | 69 66 69 65 64 20 6e 75 | or spec|ified nu|
|00000780| 6d 62 65 72 20 6f 66 20 | 63 68 61 72 61 63 74 65 |mber of |characte|
|00000790| 72 73 20 62 65 66 6f 72 | 65 20 70 6f 69 6e 74 2e |rs befor|e point.|
|000007a0| 0a 54 68 65 79 20 61 72 | 65 20 73 61 76 65 64 20 |.They ar|e saved |
|000007b0| 66 6f 72 20 74 68 65 20 | 45 44 54 20 75 6e 64 65 |for the |EDT unde|
|000007c0| 6c 65 74 65 2d 63 68 61 | 72 73 20 63 6f 6d 6d 61 |lete-cha|rs comma|
|000007d0| 6e 64 2e 22 20 28 69 6e | 74 65 72 61 63 74 69 76 |nd." (in|teractiv|
|000007e0| 65 20 22 70 22 29 20 28 | 62 79 74 65 2d 63 6f 64 |e "p") (|byte-cod|
|000007f0| 65 20 22 c2 88 c3 65 60 | 09 5a 5d 60 5c 22 89 10 |e "...e`|.Z]`\"..|
|00000800| 88 c4 65 60 09 5a 5d 60 | 5c 22 87 22 20 5b 65 64 |..e`.Z]`|\"." [ed|
|00000810| 74 2d 6c 61 73 74 2d 64 | 65 6c 65 74 65 64 2d 63 |t-last-d|eleted-c|
|00000820| 68 61 72 73 20 6e 75 6d | 20 6e 69 6c 20 62 75 66 |hars num| nil buf|
|00000830| 66 65 72 2d 73 75 62 73 | 74 72 69 6e 67 20 64 65 |fer-subs|tring de|
|00000840| 6c 65 74 65 2d 72 65 67 | 69 6f 6e 5d 20 35 29 29 |lete-reg|ion] 5))|
|00000850| 0a 0a 28 64 65 66 75 6e | 20 75 6e 64 65 6c 65 74 |..(defun| undelet|
|00000860| 65 2d 6c 69 6e 65 73 20 | 6e 69 6c 20 22 5c 0a 59 |e-lines |nil "\.Y|
|00000870| 61 6e 6b 20 6c 69 6e 65 | 73 20 64 65 6c 65 74 65 |ank line|s delete|
|00000880| 64 20 62 79 20 6c 61 73 | 74 20 45 44 54 20 6c 69 |d by las|t EDT li|
|00000890| 6e 65 2d 64 65 6c 65 74 | 69 6f 6e 20 63 6f 6d 6d |ne-delet|ion comm|
|000008a0| 61 6e 64 2e 22 20 28 69 | 6e 74 65 72 61 63 74 69 |and." (i|nteracti|
|000008b0| 76 65 29 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |ve) (byt|e-code "|
|000008c0| c1 88 08 63 87 22 20 5b | 65 64 74 2d 6c 61 73 74 |...c." [|edt-last|
|000008d0| 2d 64 65 6c 65 74 65 64 | 2d 6c 69 6e 65 73 20 6e |-deleted|-lines n|
|000008e0| 69 6c 5d 20 31 29 29 0a | 0a 28 64 65 66 75 6e 20 |il] 1)).|.(defun |
|000008f0| 75 6e 64 65 6c 65 74 65 | 2d 77 6f 72 64 73 20 6e |undelete|-words n|
|00000900| 69 6c 20 22 5c 0a 59 61 | 6e 6b 20 77 6f 72 64 73 |il "\.Ya|nk words|
|00000910| 20 64 65 6c 65 74 65 64 | 20 62 79 20 6c 61 73 74 | deleted| by last|
|00000920| 20 45 44 54 20 77 6f 72 | 64 2d 64 65 6c 65 74 69 | EDT wor|d-deleti|
|00000930| 6f 6e 20 63 6f 6d 6d 61 | 6e 64 2e 22 20 28 69 6e |on comma|nd." (in|
|00000940| 74 65 72 61 63 74 69 76 | 65 29 20 28 62 79 74 65 |teractiv|e) (byte|
|00000950| 2d 63 6f 64 65 20 22 c1 | 88 08 63 87 22 20 5b 65 |-code ".|..c." [e|
|00000960| 64 74 2d 6c 61 73 74 2d | 64 65 6c 65 74 65 64 2d |dt-last-|deleted-|
|00000970| 77 6f 72 64 73 20 6e 69 | 6c 5d 20 31 29 29 0a 0a |words ni|l] 1))..|
|00000980| 28 64 65 66 75 6e 20 75 | 6e 64 65 6c 65 74 65 2d |(defun u|ndelete-|
|00000990| 63 68 61 72 73 20 6e 69 | 6c 20 22 5c 0a 59 61 6e |chars ni|l "\.Yan|
|000009a0| 6b 20 63 68 61 72 61 63 | 74 65 72 73 20 64 65 6c |k charac|ters del|
|000009b0| 65 74 65 64 20 62 79 20 | 6c 61 73 74 20 45 44 54 |eted by |last EDT|
|000009c0| 20 63 68 61 72 61 63 74 | 65 72 2d 64 65 6c 65 74 | charact|er-delet|
|000009d0| 69 6f 6e 20 63 6f 6d 6d | 61 6e 64 2e 22 20 28 69 |ion comm|and." (i|
|000009e0| 6e 74 65 72 61 63 74 69 | 76 65 29 20 28 62 79 74 |nteracti|ve) (byt|
|000009f0| 65 2d 63 6f 64 65 20 22 | c1 88 08 63 87 22 20 5b |e-code "|...c." [|
|00000a00| 65 64 74 2d 6c 61 73 74 | 2d 64 65 6c 65 74 65 64 |edt-last|-deleted|
|00000a10| 2d 63 68 61 72 73 20 6e | 69 6c 5d 20 31 29 29 0a |-chars n|il] 1)).|
|00000a20| 0a 28 64 65 66 75 6e 20 | 6e 65 78 74 2d 65 6e 64 |.(defun |next-end|
|00000a30| 2d 6f 66 2d 6c 69 6e 65 | 20 28 6e 75 6d 29 20 22 |-of-line| (num) "|
|00000a40| 5c 0a 4d 6f 76 65 20 74 | 6f 20 65 6e 64 20 6f 66 |\.Move t|o end of|
|00000a50| 20 6c 69 6e 65 3b 20 69 | 66 20 61 74 20 65 6e 64 | line; i|f at end|
|00000a60| 2c 20 6d 6f 76 65 20 74 | 6f 20 65 6e 64 20 6f 66 |, move t|o end of|
|00000a70| 20 6e 65 78 74 20 6c 69 | 6e 65 2e 0a 41 63 63 65 | next li|ne..Acce|
|00000a80| 70 74 73 20 61 20 70 72 | 65 66 69 78 20 61 72 67 |pts a pr|efix arg|
|00000a90| 75 6d 65 6e 74 20 66 6f | 72 20 74 68 65 20 6e 75 |ument fo|r the nu|
|00000aa0| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 74 6f |mber of |lines to|
|00000ab0| 20 6d 6f 76 65 2e 22 20 | 28 69 6e 74 65 72 61 63 | move." |(interac|
|00000ac0| 74 69 76 65 20 22 70 22 | 29 20 28 62 79 74 65 2d |tive "p"|) (byte-|
|00000ad0| 63 6f 64 65 20 22 c1 88 | c2 20 88 c3 08 21 87 22 |code "..|. ...!."|
|00000ae0| 20 5b 6e 75 6d 20 6e 69 | 6c 20 66 6f 72 77 61 72 | [num ni|l forwar|
|00000af0| 64 2d 63 68 61 72 20 65 | 6e 64 2d 6f 66 2d 6c 69 |d-char e|nd-of-li|
|00000b00| 6e 65 5d 20 33 29 29 0a | 0a 28 64 65 66 75 6e 20 |ne] 3)).|.(defun |
|00000b10| 70 72 65 76 69 6f 75 73 | 2d 65 6e 64 2d 6f 66 2d |previous|-end-of-|
|00000b20| 6c 69 6e 65 20 28 6e 75 | 6d 29 20 22 5c 0a 4d 6f |line (nu|m) "\.Mo|
|00000b30| 76 65 20 45 4f 4c 20 75 | 70 77 61 72 64 2e 0a 41 |ve EOL u|pward..A|
|00000b40| 63 63 65 70 74 73 20 61 | 20 70 72 65 66 69 78 20 |ccepts a| prefix |
|00000b50| 61 72 67 75 6d 65 6e 74 | 20 66 6f 72 20 74 68 65 |argument| for the|
|00000b60| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00000b70| 20 74 6f 20 6d 6f 76 65 | 2e 22 20 28 69 6e 74 65 | to move|." (inte|
|00000b80| 72 61 63 74 69 76 65 20 | 22 70 22 29 20 28 62 79 |ractive |"p") (by|
|00000b90| 74 65 2d 63 6f 64 65 20 | 22 c1 88 c2 c3 08 5a 21 |te-code |".....Z!|
|00000ba0| 87 22 20 5b 6e 75 6d 20 | 6e 69 6c 20 65 6e 64 2d |." [num |nil end-|
|00000bb0| 6f 66 2d 6c 69 6e 65 20 | 31 5d 20 33 29 29 0a 0a |of-line |1] 3))..|
|00000bc0| 28 64 65 66 75 6e 20 66 | 6f 72 77 61 72 64 2d 74 |(defun f|orward-t|
|00000bd0| 6f 2d 77 6f 72 64 20 28 | 6e 75 6d 29 20 22 5c 0a |o-word (|num) "\.|
|00000be0| 4d 6f 76 65 20 74 6f 20 | 6e 65 78 74 20 77 6f 72 |Move to |next wor|
|00000bf0| 64 2d 62 65 67 69 6e 6e | 69 6e 67 2c 20 6f 72 20 |d-beginn|ing, or |
|00000c00| 74 6f 20 4e 74 68 20 66 | 6f 6c 6c 6f 77 69 6e 67 |to Nth f|ollowing|
|00000c10| 20 77 6f 72 64 2d 62 65 | 67 69 6e 6e 69 6e 67 2e | word-be|ginning.|
|00000c20| 22 20 28 69 6e 74 65 72 | 61 63 74 69 76 65 20 22 |" (inter|active "|
|00000c30| 70 22 29 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |p") (byt|e-code "|
|00000c40| c1 88 c2 08 54 21 88 c2 | c3 21 87 22 20 5b 6e 75 |....T!..|.!." [nu|
|00000c50| 6d 20 6e 69 6c 20 66 6f | 72 77 61 72 64 2d 77 6f |m nil fo|rward-wo|
|00000c60| 72 64 20 2d 31 5d 20 33 | 29 29 0a 0a 28 64 65 66 |rd -1] 3|))..(def|
|00000c70| 75 6e 20 62 61 63 6b 77 | 61 72 64 2d 74 6f 2d 77 |un backw|ard-to-w|
|00000c80| 6f 72 64 20 28 6e 75 6d | 29 20 22 5c 0a 4d 6f 76 |ord (num|) "\.Mov|
|00000c90| 65 20 62 61 63 6b 20 74 | 6f 20 77 6f 72 64 2d 65 |e back t|o word-e|
|00000ca0| 6e 64 2c 20 6f 72 20 74 | 6f 20 4e 74 68 20 77 6f |nd, or t|o Nth wo|
|00000cb0| 72 64 2d 65 6e 64 20 73 | 65 65 6e 2e 22 20 28 69 |rd-end s|een." (i|
|00000cc0| 6e 74 65 72 61 63 74 69 | 76 65 20 22 70 22 29 20 |nteracti|ve "p") |
|00000cd0| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c1 88 c2 08 |(byte-co|de "....|
|00000ce0| 54 5b 21 88 c2 c3 21 87 | 22 20 5b 6e 75 6d 20 6e |T[!...!.|" [num n|
|00000cf0| 69 6c 20 66 6f 72 77 61 | 72 64 2d 77 6f 72 64 20 |il forwa|rd-word |
|00000d00| 31 5d 20 33 29 29 0a 0a | 28 64 65 66 75 6e 20 62 |1] 3))..|(defun b|
|00000d10| 61 63 6b 77 61 72 64 2d | 6c 69 6e 65 20 28 6e 75 |ackward-|line (nu|
|00000d20| 6d 29 20 22 5c 0a 4d 6f | 76 65 20 70 6f 69 6e 74 |m) "\.Mo|ve point|
|00000d30| 20 74 6f 20 73 74 61 72 | 74 20 6f 66 20 70 72 65 | to star|t of pre|
|00000d40| 76 69 6f 75 73 20 6c 69 | 6e 65 2e 0a 50 72 65 66 |vious li|ne..Pref|
|00000d50| 69 78 20 61 72 67 75 6d | 65 6e 74 20 73 65 72 76 |ix argum|ent serv|
|00000d60| 65 73 20 61 73 20 72 65 | 70 65 61 74 2d 63 6f 75 |es as re|peat-cou|
|00000d70| 6e 74 2e 22 20 28 69 6e | 74 65 72 61 63 74 69 76 |nt." (in|teractiv|
|00000d80| 65 20 22 70 22 29 20 28 | 62 79 74 65 2d 63 6f 64 |e "p") (|byte-cod|
|00000d90| 65 20 22 c1 88 c2 08 5b | 21 87 22 20 5b 6e 75 6d |e "....[|!." [num|
|00000da0| 20 6e 69 6c 20 66 6f 72 | 77 61 72 64 2d 6c 69 6e | nil for|ward-lin|
|00000db0| 65 5d 20 32 29 29 0a 0a | 28 64 65 66 75 6e 20 73 |e] 2))..|(defun s|
|00000dc0| 63 72 6f 6c 6c 2d 77 69 | 6e 64 6f 77 2d 64 6f 77 |croll-wi|ndow-dow|
|00000dd0| 6e 20 28 6e 75 6d 29 20 | 22 5c 0a 53 63 72 6f 6c |n (num) |"\.Scrol|
|00000de0| 6c 20 74 68 65 20 64 69 | 73 70 6c 61 79 20 64 6f |l the di|splay do|
|00000df0| 77 6e 20 61 20 77 69 6e | 64 6f 77 2d 66 75 6c 6c |wn a win|dow-full|
|00000e00| 2e 0a 41 63 63 65 70 74 | 73 20 61 20 70 72 65 66 |..Accept|s a pref|
|00000e10| 69 78 20 61 72 67 75 6d | 65 6e 74 20 66 6f 72 20 |ix argum|ent for |
|00000e20| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 77 69 |the numb|er of wi|
|00000e30| 6e 64 6f 77 2d 66 75 6c | 6c 73 20 74 6f 20 73 63 |ndow-ful|ls to sc|
|00000e40| 72 6f 6c 6c 2e 22 20 28 | 69 6e 74 65 72 61 63 74 |roll." (|interact|
|00000e50| 69 76 65 20 22 70 22 29 | 20 28 62 79 74 65 2d 63 |ive "p")| (byte-c|
|00000e60| 6f 64 65 20 22 c1 88 c2 | c3 c4 20 08 5c 22 c5 5a |ode "...|.. .\".Z|
|00000e70| 21 87 22 20 5b 6e 75 6d | 20 6e 69 6c 20 73 63 72 |!." [num| nil scr|
|00000e80| 6f 6c 6c 2d 64 6f 77 6e | 20 2a 20 77 69 6e 64 6f |oll-down| * windo|
|00000e90| 77 2d 68 65 69 67 68 74 | 20 32 5d 20 35 29 29 0a |w-height| 2] 5)).|
|00000ea0| 0a 28 64 65 66 75 6e 20 | 73 63 72 6f 6c 6c 2d 77 |.(defun |scroll-w|
|00000eb0| 69 6e 64 6f 77 2d 75 70 | 20 28 6e 75 6d 29 20 22 |indow-up| (num) "|
|00000ec0| 5c 0a 53 63 72 6f 6c 6c | 20 74 68 65 20 64 69 73 |\.Scroll| the dis|
|00000ed0| 70 6c 61 79 20 75 70 20 | 61 20 77 69 6e 64 6f 77 |play up |a window|
|00000ee0| 2d 66 75 6c 6c 2e 0a 41 | 63 63 65 70 74 73 20 61 |-full..A|ccepts a|
|00000ef0| 20 70 72 65 66 69 78 20 | 61 72 67 75 6d 65 6e 74 | prefix |argument|
|00000f00| 20 66 6f 72 20 74 68 65 | 20 6e 75 6d 62 65 72 20 | for the| number |
|00000f10| 6f 66 20 77 69 6e 64 6f | 77 2d 66 75 6c 6c 73 20 |of windo|w-fulls |
|00000f20| 74 6f 20 73 63 72 6f 6c | 6c 2e 22 20 28 69 6e 74 |to scrol|l." (int|
|00000f30| 65 72 61 63 74 69 76 65 | 20 22 70 22 29 20 28 62 |eractive| "p") (b|
|00000f40| 79 74 65 2d 63 6f 64 65 | 20 22 c1 88 c2 c3 c4 20 |yte-code| "..... |
|00000f50| 08 5c 22 c5 5a 21 87 22 | 20 5b 6e 75 6d 20 6e 69 |.\".Z!."| [num ni|
|00000f60| 6c 20 73 63 72 6f 6c 6c | 2d 75 70 20 2a 20 77 69 |l scroll|-up * wi|
|00000f70| 6e 64 6f 77 2d 68 65 69 | 67 68 74 20 32 5d 20 35 |ndow-hei|ght 2] 5|
|00000f80| 29 29 0a 0a 28 64 65 66 | 75 6e 20 6e 65 78 74 2d |))..(def|un next-|
|00000f90| 70 61 72 61 67 72 61 70 | 68 20 28 6e 75 6d 29 20 |paragrap|h (num) |
|00000fa0| 22 5c 0a 4d 6f 76 65 20 | 74 6f 20 62 65 67 69 6e |"\.Move |to begin|
|00000fb0| 6e 69 6e 67 20 6f 66 20 | 74 68 65 20 6e 65 78 74 |ning of |the next|
|00000fc0| 20 69 6e 64 65 6e 74 65 | 64 20 70 61 72 61 67 72 | indente|d paragr|
|00000fd0| 61 70 68 2e 0a 41 63 63 | 65 70 74 73 20 61 20 70 |aph..Acc|epts a p|
|00000fe0| 72 65 66 69 78 20 61 72 | 67 75 6d 65 6e 74 20 66 |refix ar|gument f|
|00000ff0| 6f 72 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |or the n|umber of|
|00001000| 20 70 61 72 61 67 72 61 | 70 68 73 2e 22 20 28 69 | paragra|phs." (i|
|00001010| 6e 74 65 72 61 63 74 69 | 76 65 20 22 70 22 29 20 |nteracti|ve "p") |
|00001020| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c1 88 08 c2 |(byte-co|de "....|
|00001030| 56 85 23 00 c3 c4 21 88 | c5 20 88 c6 c4 21 88 6c |V.#...!.|. ...!.l|
|00001040| 85 1a 00 c3 c4 21 88 08 | 53 89 10 88 82 02 00 87 |.....!..|S.......|
|00001050| 22 20 5b 6e 75 6d 20 6e | 69 6c 20 30 20 6e 65 78 |" [num n|il 0 nex|
|00001060| 74 2d 6c 69 6e 65 20 31 | 20 66 6f 72 77 61 72 64 |t-line 1| forward|
|00001070| 2d 70 61 72 61 67 72 61 | 70 68 20 70 72 65 76 69 |-paragra|ph previ|
|00001080| 6f 75 73 2d 6c 69 6e 65 | 5d 20 37 29 29 0a 0a 28 |ous-line|] 7))..(|
|00001090| 64 65 66 75 6e 20 70 72 | 65 76 69 6f 75 73 2d 70 |defun pr|evious-p|
|000010a0| 61 72 61 67 72 61 70 68 | 20 28 6e 75 6d 29 20 22 |aragraph| (num) "|
|000010b0| 5c 0a 4d 6f 76 65 20 74 | 6f 20 62 65 67 69 6e 6e |\.Move t|o beginn|
|000010c0| 69 6e 67 20 6f 66 20 70 | 72 65 76 69 6f 75 73 20 |ing of p|revious |
|000010d0| 69 6e 64 65 6e 74 65 64 | 20 70 61 72 61 67 72 61 |indented| paragra|
|000010e0| 70 68 2e 0a 41 63 63 65 | 70 74 73 20 61 20 70 72 |ph..Acce|pts a pr|
|000010f0| 65 66 69 78 20 61 72 67 | 75 6d 65 6e 74 20 66 6f |efix arg|ument fo|
|00001100| 72 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |r the nu|mber of |
|00001110| 70 61 72 61 67 72 61 70 | 68 73 2e 22 20 28 69 6e |paragrap|hs." (in|
|00001120| 74 65 72 61 63 74 69 76 | 65 20 22 70 22 29 20 28 |teractiv|e "p") (|
|00001130| 62 79 74 65 2d 63 6f 64 | 65 20 22 c1 88 08 c2 56 |byte-cod|e "....V|
|00001140| 85 1f 00 c3 20 88 c4 c5 | 21 88 6c 85 16 00 c6 c5 |.... ...|!.l.....|
|00001150| 21 88 08 53 89 10 88 82 | 02 00 87 22 20 5b 6e 75 |!..S....|..." [nu|
|00001160| 6d 20 6e 69 6c 20 30 20 | 62 61 63 6b 77 61 72 64 |m nil 0 |backward|
|00001170| 2d 70 61 72 61 67 72 61 | 70 68 20 70 72 65 76 69 |-paragra|ph previ|
|00001180| 6f 75 73 2d 6c 69 6e 65 | 20 31 20 6e 65 78 74 2d |ous-line| 1 next-|
|00001190| 6c 69 6e 65 5d 20 36 29 | 29 0a 0a 28 64 65 66 75 |line] 6)|)..(defu|
|000011a0| 6e 20 6d 6f 76 65 2d 74 | 6f 2d 62 65 67 69 6e 6e |n move-t|o-beginn|
|000011b0| 69 6e 67 20 6e 69 6c 20 | 22 5c 0a 4d 6f 76 65 20 |ing nil |"\.Move |
|000011c0| 63 75 72 73 6f 72 20 74 | 6f 20 74 68 65 20 62 65 |cursor t|o the be|
|000011d0| 67 69 6e 6e 69 6e 67 20 | 6f 66 20 62 75 66 66 65 |ginning |of buffe|
|000011e0| 72 2c 20 62 75 74 20 64 | 6f 6e 27 74 20 73 65 74 |r, but d|on't set|
|000011f0| 20 74 68 65 20 6d 61 72 | 6b 2e 22 20 28 69 6e 74 | the mar|k." (int|
|00001200| 65 72 61 63 74 69 76 65 | 29 20 28 62 79 74 65 2d |eractive|) (byte-|
|00001210| 63 6f 64 65 20 22 c0 88 | 65 62 87 22 20 5b 6e 69 |code "..|eb." [ni|
|00001220| 6c 5d 20 31 29 29 0a 0a | 28 64 65 66 75 6e 20 6d |l] 1))..|(defun m|
|00001230| 6f 76 65 2d 74 6f 2d 65 | 6e 64 20 6e 69 6c 20 22 |ove-to-e|nd nil "|
|00001240| 5c 0a 4d 6f 76 65 20 63 | 75 72 73 6f 72 20 74 6f |\.Move c|ursor to|
|00001250| 20 74 68 65 20 65 6e 64 | 20 6f 66 20 62 75 66 66 | the end| of buff|
|00001260| 65 72 2c 20 62 75 74 20 | 64 6f 6e 27 74 20 73 65 |er, but |don't se|
|00001270| 74 20 74 68 65 20 6d 61 | 72 6b 2e 22 20 28 69 6e |t the ma|rk." (in|
|00001280| 74 65 72 61 63 74 69 76 | 65 29 20 28 62 79 74 65 |teractiv|e) (byte|
|00001290| 2d 63 6f 64 65 20 22 c0 | 88 64 62 87 22 20 5b 6e |-code ".|.db." [n|
|000012a0| 69 6c 5d 20 31 29 29 0a | 0a 28 64 65 66 75 6e 20 |il] 1)).|.(defun |
|000012b0| 67 6f 74 6f 2d 70 65 72 | 63 65 6e 74 20 28 70 65 |goto-per|cent (pe|
|000012c0| 72 63 29 20 22 5c 0a 4d | 6f 76 65 20 70 6f 69 6e |rc) "\.M|ove poin|
|000012d0| 74 20 74 6f 20 41 52 47 | 20 70 65 72 63 65 6e 74 |t to ARG| percent|
|000012e0| 61 67 65 20 6f 66 20 74 | 68 65 20 62 75 66 66 65 |age of t|he buffe|
|000012f0| 72 2e 22 20 28 69 6e 74 | 65 72 61 63 74 69 76 65 |r." (int|eractive|
|00001300| 20 22 4e 47 6f 74 6f 2d | 70 65 72 63 65 6e 74 61 | "NGoto-|percenta|
|00001310| 67 65 3a 20 22 29 20 28 | 62 79 74 65 2d 63 6f 64 |ge: ") (|byte-cod|
|00001320| 65 20 22 c1 88 08 c2 56 | 86 0b 00 08 c3 57 83 15 |e "....V|.....W..|
|00001330| 00 c4 c5 08 5c 22 82 1d | 00 c6 c7 64 08 5c 22 c2 |....\"..|...d.\".|
|00001340| 5c 22 62 87 22 20 5b 70 | 65 72 63 20 6e 69 6c 20 |\"b." [p|erc nil |
|00001350| 31 30 30 20 30 20 65 72 | 72 6f 72 20 22 50 65 72 |100 0 er|ror "Per|
|00001360| 63 65 6e 74 61 67 65 20 | 25 64 20 6f 75 74 20 6f |centage |%d out o|
|00001370| 66 20 72 61 6e 67 65 20 | 30 20 3c 20 70 65 72 63 |f range |0 < perc|
|00001380| 65 6e 74 20 3c 20 31 30 | 30 22 20 2f 20 2a 5d 20 |ent < 10|0" / *] |
|00001390| 35 29 29 0a 0a 28 64 65 | 66 75 6e 20 75 70 64 61 |5))..(de|fun upda|
|000013a0| 74 65 2d 6d 6f 64 65 2d | 6c 69 6e 65 20 6e 69 6c |te-mode-|line nil|
|000013b0| 20 22 5c 0a 4d 61 6b 65 | 20 73 75 72 65 20 6d 6f | "\.Make| sure mo|
|000013c0| 64 65 2d 6c 69 6e 65 20 | 69 6e 20 74 68 65 20 63 |de-line |in the c|
|000013d0| 75 72 72 65 6e 74 20 62 | 75 66 66 65 72 20 72 65 |urrent b|uffer re|
|000013e0| 66 6c 65 63 74 73 20 61 | 6c 6c 20 63 68 61 6e 67 |flects a|ll chang|
|000013f0| 65 73 2e 22 20 28 62 79 | 74 65 2d 63 6f 64 65 20 |es." (by|te-code |
|00001400| 22 c0 c1 20 21 88 c2 c3 | 21 87 22 20 5b 73 65 74 |".. !...|!." [set|
|00001410| 2d 62 75 66 66 65 72 2d | 6d 6f 64 69 66 69 65 64 |-buffer-|modified|
|00001420| 2d 70 20 62 75 66 66 65 | 72 2d 6d 6f 64 69 66 69 |-p buffe|r-modifi|
|00001430| 65 64 2d 70 20 73 69 74 | 2d 66 6f 72 20 30 5d 20 |ed-p sit|-for 0] |
|00001440| 34 29 29 0a 0a 28 64 65 | 66 75 6e 20 61 64 76 61 |4))..(de|fun adva|
|00001450| 6e 63 65 2d 64 69 72 65 | 63 74 69 6f 6e 20 6e 69 |nce-dire|ction ni|
|00001460| 6c 20 22 5c 0a 53 65 74 | 20 45 44 54 20 41 64 76 |l "\.Set| EDT Adv|
|00001470| 61 6e 63 65 20 6d 6f 64 | 65 20 73 6f 20 6b 65 79 |ance mod|e so key|
|00001480| 70 61 64 20 63 6f 6d 6d | 61 6e 64 73 20 6d 6f 76 |pad comm|ands mov|
|00001490| 65 20 66 6f 72 77 61 72 | 64 2e 22 20 28 69 6e 74 |e forwar|d." (int|
|000014a0| 65 72 61 63 74 69 76 65 | 29 20 28 62 79 74 65 2d |eractive|) (byte-|
|000014b0| 63 6f 64 65 20 22 c2 88 | c3 89 10 88 c4 09 c5 c6 |code "..|........|
|000014c0| 23 88 c4 09 c7 c8 23 88 | c4 09 c9 ca 23 88 c4 09 |#.....#.|....#...|
|000014d0| cb cc 23 88 c4 09 cd ce | 23 88 c4 09 cf d0 23 88 |..#.....|#.....#.|
|000014e0| c4 09 d1 d2 23 88 d3 20 | 87 22 20 5b 65 64 74 2d |....#.. |." [edt-|
|000014f0| 64 69 72 65 63 74 69 6f | 6e 2d 73 74 72 69 6e 67 |directio|n-string|
|00001500| 20 66 75 6e 63 74 69 6f | 6e 2d 6b 65 79 6d 61 70 | functio|n-keymap|
|00001510| 20 6e 69 6c 20 22 20 41 | 44 56 41 4e 43 45 22 20 | nil " A|DVANCE" |
|00001520| 64 65 66 69 6e 65 2d 6b | 65 79 20 22 03 22 20 69 |define-k|ey "." i|
|00001530| 73 65 61 72 63 68 2d 66 | 6f 72 77 61 72 64 20 22 |search-f|orward "|
|00001540| 38 22 20 73 63 72 6f 6c | 6c 2d 77 69 6e 64 6f 77 |8" scrol|l-window|
|00001550| 2d 75 70 20 22 37 22 20 | 6e 65 78 74 2d 70 61 72 |-up "7" |next-par|
|00001560| 61 67 72 61 70 68 20 22 | 31 22 20 66 6f 72 77 61 |agraph "|1" forwa|
|00001570| 72 64 2d 74 6f 2d 77 6f | 72 64 20 22 32 22 20 6e |rd-to-wo|rd "2" n|
|00001580| 65 78 74 2d 65 6e 64 2d | 6f 66 2d 6c 69 6e 65 20 |ext-end-|of-line |
|00001590| 22 33 22 20 66 6f 72 77 | 61 72 64 2d 63 68 61 72 |"3" forw|ard-char|
|000015a0| 20 22 30 22 20 66 6f 72 | 77 61 72 64 2d 6c 69 6e | "0" for|ward-lin|
|000015b0| 65 20 75 70 64 61 74 65 | 2d 6d 6f 64 65 2d 6c 69 |e update|-mode-li|
|000015c0| 6e 65 5d 20 31 30 29 29 | 0a 0a 28 64 65 66 75 6e |ne] 10))|..(defun|
|000015d0| 20 62 61 63 6b 75 70 2d | 64 69 72 65 63 74 69 6f | backup-|directio|
|000015e0| 6e 20 6e 69 6c 20 22 5c | 0a 53 65 74 20 45 44 54 |n nil "\|.Set EDT|
|000015f0| 20 42 61 63 6b 75 70 20 | 6d 6f 64 65 20 73 6f 20 | Backup |mode so |
|00001600| 6b 65 79 70 61 64 20 63 | 6f 6d 6d 61 6e 64 73 20 |keypad c|ommands |
|00001610| 6d 6f 76 65 20 62 61 63 | 6b 77 61 72 64 2e 22 20 |move bac|kward." |
|00001620| 28 69 6e 74 65 72 61 63 | 74 69 76 65 29 20 28 62 |(interac|tive) (b|
|00001630| 79 74 65 2d 63 6f 64 65 | 20 22 c2 88 c3 89 10 88 |yte-code| "......|
|00001640| c4 09 c5 c6 23 88 c4 09 | c7 c8 23 88 c4 09 c9 ca |....#...|..#.....|
|00001650| 23 88 c4 09 cb cc 23 88 | c4 09 cd ce 23 88 c4 09 |#.....#.|....#...|
|00001660| cf d0 23 88 c4 09 d1 d2 | 23 88 d3 20 87 22 20 5b |..#.....|#.. ." [|
|00001670| 65 64 74 2d 64 69 72 65 | 63 74 69 6f 6e 2d 73 74 |edt-dire|ction-st|
|00001680| 72 69 6e 67 20 66 75 6e | 63 74 69 6f 6e 2d 6b 65 |ring fun|ction-ke|
|00001690| 79 6d 61 70 20 6e 69 6c | 20 22 20 42 41 43 4b 55 |ymap nil| " BACKU|
|000016a0| 50 22 20 64 65 66 69 6e | 65 2d 6b 65 79 20 22 03 |P" defin|e-key ".|
|000016b0| 22 20 69 73 65 61 72 63 | 68 2d 62 61 63 6b 77 61 |" isearc|h-backwa|
|000016c0| 72 64 20 22 38 22 20 73 | 63 72 6f 6c 6c 2d 77 69 |rd "8" s|croll-wi|
|000016d0| 6e 64 6f 77 2d 64 6f 77 | 6e 20 22 37 22 20 70 72 |ndow-dow|n "7" pr|
|000016e0| 65 76 69 6f 75 73 2d 70 | 61 72 61 67 72 61 70 68 |evious-p|aragraph|
|000016f0| 20 22 31 22 20 62 61 63 | 6b 77 61 72 64 2d 74 6f | "1" bac|kward-to|
|00001700| 2d 77 6f 72 64 20 22 32 | 22 20 70 72 65 76 69 6f |-word "2|" previo|
|00001710| 75 73 2d 65 6e 64 2d 6f | 66 2d 6c 69 6e 65 20 22 |us-end-o|f-line "|
|00001720| 33 22 20 62 61 63 6b 77 | 61 72 64 2d 63 68 61 72 |3" backw|ard-char|
|00001730| 20 22 30 22 20 62 61 63 | 6b 77 61 72 64 2d 6c 69 | "0" bac|kward-li|
|00001740| 6e 65 20 75 70 64 61 74 | 65 2d 6d 6f 64 65 2d 6c |ne updat|e-mode-l|
|00001750| 69 6e 65 5d 20 31 30 29 | 29 0a 0a 28 64 65 66 75 |ine] 10)|)..(defu|
|00001760| 6e 20 62 65 67 69 6e 6e | 69 6e 67 2d 6f 66 2d 77 |n beginn|ing-of-w|
|00001770| 69 6e 64 6f 77 20 6e 69 | 6c 20 22 5c 0a 48 6f 6d |indow ni|l "\.Hom|
|00001780| 65 20 63 75 72 73 6f 72 | 20 74 6f 20 74 6f 70 20 |e cursor| to top |
|00001790| 6f 66 20 77 69 6e 64 6f | 77 2e 22 20 28 69 6e 74 |of windo|w." (int|
|000017a0| 65 72 61 63 74 69 76 65 | 29 20 28 62 79 74 65 2d |eractive|) (byte-|
|000017b0| 63 6f 64 65 20 22 c0 88 | c1 c2 21 87 22 20 5b 6e |code "..|..!." [n|
|000017c0| 69 6c 20 6d 6f 76 65 2d | 74 6f 2d 77 69 6e 64 6f |il move-|to-windo|
|000017d0| 77 2d 6c 69 6e 65 20 30 | 5d 20 32 29 29 0a 0a 28 |w-line 0|] 2))..(|
|000017e0| 64 65 66 75 6e 20 6c 69 | 6e 65 2d 74 6f 2d 62 6f |defun li|ne-to-bo|
|000017f0| 74 74 6f 6d 2d 6f 66 2d | 77 69 6e 64 6f 77 20 6e |ttom-of-|window n|
|00001800| 69 6c 20 22 5c 0a 4d 6f | 76 65 20 74 68 65 20 63 |il "\.Mo|ve the c|
|00001810| 75 72 72 65 6e 74 20 6c | 69 6e 65 20 74 6f 20 74 |urrent l|ine to t|
|00001820| 68 65 20 74 6f 70 20 6f | 66 20 74 68 65 20 77 69 |he top o|f the wi|
|00001830| 6e 64 6f 77 2e 22 20 28 | 69 6e 74 65 72 61 63 74 |ndow." (|interact|
|00001840| 69 76 65 29 20 28 62 79 | 74 65 2d 63 6f 64 65 20 |ive) (by|te-code |
|00001850| 22 c0 88 c1 c2 21 87 22 | 20 5b 6e 69 6c 20 72 65 |"....!."| [nil re|
|00001860| 63 65 6e 74 65 72 20 2d | 31 5d 20 32 29 29 0a 0a |center -|1] 2))..|
|00001870| 28 64 65 66 75 6e 20 6c | 69 6e 65 2d 74 6f 2d 74 |(defun l|ine-to-t|
|00001880| 6f 70 2d 6f 66 2d 77 69 | 6e 64 6f 77 20 6e 69 6c |op-of-wi|ndow nil|
|00001890| 20 22 5c 0a 4d 6f 76 65 | 20 74 68 65 20 63 75 72 | "\.Move| the cur|
|000018a0| 72 65 6e 74 20 6c 69 6e | 65 20 74 6f 20 74 68 65 |rent lin|e to the|
|000018b0| 20 74 6f 70 20 6f 66 20 | 74 68 65 20 77 69 6e 64 | top of |the wind|
|000018c0| 6f 77 2e 22 20 28 69 6e | 74 65 72 61 63 74 69 76 |ow." (in|teractiv|
|000018d0| 65 29 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |e) (byte|-code ".|
|000018e0| 88 c1 c2 21 87 22 20 5b | 6e 69 6c 20 72 65 63 65 |...!." [|nil rece|
|000018f0| 6e 74 65 72 20 30 5d 20 | 32 29 29 0a 0a 28 64 65 |nter 0] |2))..(de|
|00001900| 66 75 6e 20 63 61 73 65 | 2d 66 6c 69 70 2d 63 68 |fun case|-flip-ch|
|00001910| 61 72 61 63 74 65 72 20 | 28 6e 75 6d 29 20 22 5c |aracter |(num) "\|
|00001920| 0a 43 68 61 6e 67 65 20 | 74 68 65 20 63 61 73 65 |.Change |the case|
|00001930| 20 6f 66 20 74 68 65 20 | 63 68 61 72 61 63 74 65 | of the |characte|
|00001940| 72 20 75 6e 64 65 72 20 | 74 68 65 20 63 75 72 73 |r under |the curs|
|00001950| 6f 72 2e 0a 41 63 63 65 | 70 74 73 20 61 20 70 72 |or..Acce|pts a pr|
|00001960| 65 66 69 78 20 61 72 67 | 75 6d 65 6e 74 20 6f 66 |efix arg|ument of|
|00001970| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 63 | the num|ber of c|
|00001980| 68 61 72 61 63 74 65 72 | 73 20 74 6f 20 69 6e 76 |haracter|s to inv|
|00001990| 65 72 74 2e 22 20 28 69 | 6e 74 65 72 61 63 74 69 |ert." (i|nteracti|
|000019a0| 76 65 20 22 70 22 29 20 | 28 62 79 74 65 2d 63 6f |ve "p") |(byte-co|
|000019b0| 64 65 20 22 c1 88 08 c2 | 56 85 25 00 c3 c4 67 58 |de "....|V.%...gX|
|000019c0| 83 13 00 c5 82 14 00 c6 | 60 60 54 23 88 c7 c8 21 |........|``T#...!|
|000019d0| 88 08 53 89 10 88 82 02 | 00 87 22 20 5b 6e 75 6d |..S.....|.." [num|
|000019e0| 20 6e 69 6c 20 30 20 66 | 75 6e 63 61 6c 6c 20 39 | nil 0 f|uncall 9|
|000019f0| 37 20 75 70 63 61 73 65 | 2d 72 65 67 69 6f 6e 20 |7 upcase|-region |
|00001a00| 64 6f 77 6e 63 61 73 65 | 2d 72 65 67 69 6f 6e 20 |downcase|-region |
|00001a10| 66 6f 72 77 61 72 64 2d | 63 68 61 72 20 31 5d 20 |forward-|char 1] |
|00001a20| 35 29 29 0a 0a 28 64 65 | 66 75 6e 20 69 6e 64 65 |5))..(de|fun inde|
|00001a30| 6e 74 2d 6f 72 2d 66 69 | 6c 6c 2d 72 65 67 69 6f |nt-or-fi|ll-regio|
|00001a40| 6e 20 6e 69 6c 20 22 5c | 0a 46 69 6c 6c 20 72 65 |n nil "\|.Fill re|
|00001a50| 67 69 6f 6e 20 69 6e 20 | 74 65 78 74 20 6d 6f 64 |gion in |text mod|
|00001a60| 65 73 2c 20 69 6e 64 65 | 6e 74 20 72 65 67 69 6f |es, inde|nt regio|
|00001a70| 6e 20 69 6e 20 70 72 6f | 67 72 61 6d 6d 69 6e 67 |n in pro|gramming|
|00001a80| 20 6c 61 6e 67 75 61 67 | 65 20 6d 6f 64 65 73 2e | languag|e modes.|
|00001a90| 22 20 28 69 6e 74 65 72 | 61 63 74 69 76 65 29 20 |" (inter|active) |
|00001aa0| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c1 88 c2 08 |(byte-co|de "....|
|00001ab0| c3 5c 22 83 12 00 c4 60 | c5 20 c1 23 82 17 00 c6 |.\"....`|. .#....|
|00001ac0| 60 c5 20 5c 22 87 22 20 | 5b 70 61 72 61 67 72 61 |`. \"." |[paragra|
|00001ad0| 70 68 2d 73 74 61 72 74 | 20 6e 69 6c 20 73 74 72 |ph-start| nil str|
|00001ae0| 69 6e 67 3d 20 22 5e 24 | 5c 5c 7c 5e 0c 22 20 69 |ing= "^$|\\|^." i|
|00001af0| 6e 64 65 6e 74 2d 72 65 | 67 69 6f 6e 20 6d 61 72 |ndent-re|gion mar|
|00001b00| 6b 20 66 69 6c 6c 2d 72 | 65 67 69 6f 6e 5d 20 37 |k fill-r|egion] 7|
|00001b10| 29 29 0a 0a 28 64 65 66 | 75 6e 20 6d 61 72 6b 2d |))..(def|un mark-|
|00001b20| 73 65 63 74 69 6f 6e 2d | 77 69 73 65 6c 79 20 6e |section-|wisely n|
|00001b30| 69 6c 20 22 5c 0a 4d 61 | 72 6b 20 74 68 65 20 73 |il "\.Ma|rk the s|
|00001b40| 65 63 74 69 6f 6e 20 69 | 6e 20 61 20 6d 61 6e 6e |ection i|n a mann|
|00001b50| 65 72 20 63 6f 6e 73 69 | 73 74 65 6e 74 20 77 69 |er consi|stent wi|
|00001b60| 74 68 20 74 68 65 20 6d | 61 6a 6f 72 2d 6d 6f 64 |th the m|ajor-mod|
|00001b70| 65 2e 0a 55 73 65 73 20 | 6d 61 72 6b 2d 64 65 66 |e..Uses |mark-def|
|00001b80| 75 6e 20 66 6f 72 20 65 | 6d 61 63 73 2d 6c 69 73 |un for e|macs-lis|
|00001b90| 70 2c 20 6c 69 73 70 2c | 0a 6d 61 72 6b 2d 63 2d |p, lisp,|.mark-c-|
|00001ba0| 66 75 6e 63 74 69 6f 6e | 20 66 6f 72 20 43 2c 0a |function| for C,.|
|00001bb0| 61 6e 64 20 6d 61 72 6b | 2d 70 61 72 61 67 72 61 |and mark|-paragra|
|00001bc0| 70 68 20 66 6f 72 20 6f | 74 68 65 72 20 6d 6f 64 |ph for o|ther mod|
|00001bd0| 65 73 2e 22 20 28 69 6e | 74 65 72 61 63 74 69 76 |es." (in|teractiv|
|00001be0| 65 29 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c2 |e) (byte|-code ".|
|00001bf0| 88 08 c3 3d 83 0d 00 c4 | 20 82 25 00 08 c5 3d 83 |...=....| .%...=.|
|00001c00| 18 00 c4 20 82 25 00 08 | c6 3d 83 23 00 c7 20 82 |... .%..|.=.#.. .|
|00001c10| 25 00 c8 20 87 22 20 5b | 6d 61 6a 6f 72 2d 6d 6f |%.. ." [|major-mo|
|00001c20| 64 65 20 74 20 6e 69 6c | 20 65 6d 61 63 73 2d 6c |de t nil| emacs-l|
|00001c30| 69 73 70 2d 6d 6f 64 65 | 20 6d 61 72 6b 2d 64 65 |isp-mode| mark-de|
|00001c40| 66 75 6e 20 6c 69 73 70 | 2d 6d 6f 64 65 20 63 2d |fun lisp|-mode c-|
|00001c50| 6d 6f 64 65 20 6d 61 72 | 6b 2d 63 2d 66 75 6e 63 |mode mar|k-c-func|
|00001c60| 74 69 6f 6e 20 6d 61 72 | 6b 2d 70 61 72 61 67 72 |tion mar|k-paragr|
|00001c70| 61 70 68 5d 20 35 29 29 | 0a 0a 28 64 65 66 75 6e |aph] 5))|..(defun|
|00001c80| 20 65 64 74 2d 65 6d 75 | 6c 61 74 69 6f 6e 2d 6f | edt-emu|lation-o|
|00001c90| 6e 20 6e 69 6c 20 22 5c | 0a 42 65 67 69 6e 20 65 |n nil "\|.Begin e|
|00001ca0| 6d 75 6c 61 74 69 6e 67 | 20 44 45 43 27 73 20 45 |mulating| DEC's E|
|00001cb0| 44 54 20 65 64 69 74 6f | 72 2e 0a 43 65 72 74 61 |DT edito|r..Certa|
|00001cc0| 69 6e 20 6b 65 79 73 20 | 61 72 65 20 72 65 62 6f |in keys |are rebo|
|00001cd0| 75 6e 64 3b 20 69 6e 63 | 6c 75 64 69 6e 67 20 6e |und; inc|luding n|
|00001ce0| 65 61 72 6c 79 20 61 6c | 6c 20 6b 65 79 70 61 64 |early al|l keypad|
|00001cf0| 20 6b 65 79 73 2e 0a 55 | 73 65 20 5c 5c 5b 65 64 | keys..U|se \\[ed|
|00001d00| 74 2d 65 6d 75 6c 61 74 | 69 6f 6e 2d 6f 66 66 5d |t-emulat|ion-off]|
|00001d10| 20 74 6f 20 75 6e 64 6f | 20 61 6c 6c 20 72 65 62 | to undo| all reb|
|00001d20| 69 6e 64 69 6e 67 73 20 | 65 78 63 65 70 74 20 74 |indings |except t|
|00001d30| 68 65 20 6b 65 79 70 61 | 64 20 6b 65 79 73 2e 0a |he keypa|d keys..|
|00001d40| 4e 6f 74 65 20 74 68 61 | 74 20 74 68 69 73 20 66 |Note tha|t this f|
|00001d50| 75 6e 63 74 69 6f 6e 20 | 64 6f 65 73 20 6e 6f 74 |unction |does not|
|00001d60| 20 77 6f 72 6b 20 69 66 | 20 63 61 6c 6c 65 64 20 | work if| called |
|00001d70| 64 69 72 65 63 74 6c 79 | 20 66 72 6f 6d 20 74 68 |directly| from th|
|00001d80| 65 20 2e 65 6d 61 63 73 | 20 66 69 6c 65 2e 0a 49 |e .emacs| file..I|
|00001d90| 6e 73 74 65 61 64 2c 20 | 74 68 65 20 2e 65 6d 61 |nstead, |the .ema|
|00001da0| 63 73 20 66 69 6c 65 20 | 73 68 6f 75 6c 64 20 64 |cs file |should d|
|00001db0| 6f 20 28 73 65 74 71 20 | 74 65 72 6d 2d 73 65 74 |o (setq |term-set|
|00001dc0| 75 70 2d 68 6f 6f 6b 20 | 27 65 64 74 2d 65 6d 75 |up-hook |'edt-emu|
|00001dd0| 6c 61 74 69 6f 6e 2d 6f | 6e 29 0a 54 68 65 6e 20 |lation-o|n).Then |
|00001de0| 74 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 77 69 |this fun|ction wi|
|00001df0| 6c 6c 20 62 65 20 63 61 | 6c 6c 65 64 20 61 74 20 |ll be ca|lled at |
|00001e00| 74 68 65 20 74 69 6d 65 | 20 77 68 65 6e 20 69 74 |the time| when it|
|00001e10| 20 77 69 6c 6c 20 77 6f | 72 6b 2e 22 20 28 69 6e | will wo|rk." (in|
|00001e20| 74 65 72 61 63 74 69 76 | 65 29 20 28 62 79 74 65 |teractiv|e) (byte|
|00001e30| 2d 63 6f 64 65 20 22 c8 | 88 c9 20 88 ca 20 88 cb |-code ".|.. .. ..|
|00001e40| 09 cc 5c 22 89 10 88 cd | cc ce 5c 22 88 cb 09 cf |..\"....|..\"....|
|00001e50| 5c 22 89 12 88 cd cf d0 | 5c 22 88 cb 0c cf 5c 22 |\"......|\"....\"|
|00001e60| 89 13 88 d1 0c cf d0 23 | 88 d1 0d cf d0 23 88 cb |.......#|.....#..|
|00001e70| 09 d2 5c 22 89 16 06 88 | cd d2 d3 5c 22 88 d1 0e |..\"....|...\"...|
|00001e80| 07 d4 d5 23 87 22 20 5b | 65 64 74 2d 6d 6f 64 65 |...#." [|edt-mode|
|00001e90| 2d 6f 6c 64 2d 63 2d 5c | 5c 20 67 6c 6f 62 61 6c |-old-c-\|\ global|
|00001ea0| 2d 6d 61 70 20 65 64 74 | 2d 6d 6f 64 65 2d 6f 6c |-map edt|-mode-ol|
|00001eb0| 64 2d 64 65 6c 65 74 65 | 20 65 64 74 2d 6d 6f 64 |d-delete| edt-mod|
|00001ec0| 65 2d 6f 6c 64 2d 6c 69 | 73 70 2d 64 65 6c 65 74 |e-old-li|sp-delet|
|00001ed0| 65 20 65 6d 61 63 73 2d | 6c 69 73 70 2d 6d 6f 64 |e emacs-|lisp-mod|
|00001ee0| 65 2d 6d 61 70 20 6c 69 | 73 70 2d 6d 6f 64 65 2d |e-map li|sp-mode-|
|00001ef0| 6d 61 70 20 65 64 74 2d | 6d 6f 64 65 2d 6f 6c 64 |map edt-|mode-old|
|00001f00| 2d 6c 69 6e 65 66 65 65 | 64 20 65 73 63 2d 6d 61 |-linefee|d esc-ma|
|00001f10| 70 20 6e 69 6c 20 61 64 | 76 61 6e 63 65 2d 64 69 |p nil ad|vance-di|
|00001f20| 72 65 63 74 69 6f 6e 20 | 65 64 74 2d 62 69 6e 64 |rection |edt-bind|
|00001f30| 2d 67 6f 6c 64 2d 6b 65 | 79 70 61 64 20 6c 6f 6f |-gold-ke|ypad loo|
|00001f40| 6b 75 70 2d 6b 65 79 20 | 22 1c 22 20 67 6c 6f 62 |kup-key |"." glob|
|00001f50| 61 6c 2d 73 65 74 2d 6b | 65 79 20 71 75 6f 74 65 |al-set-k|ey quote|
|00001f60| 64 2d 69 6e 73 65 72 74 | 20 22 7f 22 20 64 65 6c |d-insert| "." del|
|00001f70| 65 74 65 2d 70 72 65 76 | 69 6f 75 73 2d 63 68 61 |ete-prev|ious-cha|
|00001f80| 72 20 64 65 66 69 6e 65 | 2d 6b 65 79 20 22 0a 22 |r define|-key "."|
|00001f90| 20 64 65 6c 65 74 65 2d | 70 72 65 76 69 6f 75 73 | delete-|previous|
|00001fa0| 2d 77 6f 72 64 20 22 3f | 22 20 61 70 72 6f 70 6f |-word "?|" apropo|
|00001fb0| 73 5d 20 31 35 29 29 0a | 0a 28 64 65 66 75 6e 20 |s] 15)).|.(defun |
|00001fc0| 65 64 74 2d 65 6d 75 6c | 61 74 69 6f 6e 2d 6f 66 |edt-emul|ation-of|
|00001fd0| 66 20 6e 69 6c 20 22 5c | 0a 52 65 74 75 72 6e 20 |f nil "\|.Return |
|00001fe0| 66 72 6f 6d 20 45 44 54 | 20 65 6d 75 6c 61 74 69 |from EDT| emulati|
|00001ff0| 6f 6e 20 74 6f 20 6e 6f | 72 6d 61 6c 20 45 6d 61 |on to no|rmal Ema|
|00002000| 63 73 20 6b 65 79 20 62 | 69 6e 64 69 6e 67 73 2e |cs key b|indings.|
|00002010| 0a 54 68 65 20 6b 65 79 | 73 20 72 65 64 65 66 69 |.The key|s redefi|
|00002020| 6e 65 64 20 62 79 20 5c | 5c 5b 65 64 74 2d 65 6d |ned by \|\[edt-em|
|00002030| 75 6c 61 74 69 6f 6e 2d | 6f 6e 5d 20 61 72 65 20 |ulation-|on] are |
|00002040| 67 69 76 65 6e 20 74 68 | 65 69 72 20 6f 6c 64 20 |given th|eir old |
|00002050| 64 65 66 69 6e 69 74 69 | 6f 6e 73 2e 22 20 28 69 |definiti|ons." (i|
|00002060| 6e 74 65 72 61 63 74 69 | 76 65 29 20 28 62 79 74 |nteracti|ve) (byt|
|00002070| 65 2d 63 6f 64 65 20 22 | c1 88 c1 89 10 88 c8 c9 |e-code "|........|
|00002080| 0a 5c 22 88 c8 ca 0b 5c | 22 88 cb 0c ca 0d 23 88 |.\"....\|".....#.|
|00002090| cb 0e 06 ca 0d 23 88 c8 | cc 0e 07 5c 22 87 22 20 |.....#..|...\"." |
|000020a0| 5b 65 64 74 2d 64 69 72 | 65 63 74 69 6f 6e 2d 73 |[edt-dir|ection-s|
|000020b0| 74 72 69 6e 67 20 6e 69 | 6c 20 65 64 74 2d 6d 6f |tring ni|l edt-mo|
|000020c0| 64 65 2d 6f 6c 64 2d 63 | 2d 5c 5c 20 65 64 74 2d |de-old-c|-\\ edt-|
|000020d0| 6d 6f 64 65 2d 6f 6c 64 | 2d 64 65 6c 65 74 65 20 |mode-old|-delete |
|000020e0| 65 6d 61 63 73 2d 6c 69 | 73 70 2d 6d 6f 64 65 2d |emacs-li|sp-mode-|
|000020f0| 6d 61 70 20 65 64 74 2d | 6d 6f 64 65 2d 6f 6c 64 |map edt-|mode-old|
|00002100| 2d 6c 69 73 70 2d 64 65 | 6c 65 74 65 20 6c 69 73 |-lisp-de|lete lis|
|00002110| 70 2d 6d 6f 64 65 2d 6d | 61 70 20 65 64 74 2d 6d |p-mode-m|ap edt-m|
|00002120| 6f 64 65 2d 6f 6c 64 2d | 6c 69 6e 65 66 65 65 64 |ode-old-|linefeed|
|00002130| 20 67 6c 6f 62 61 6c 2d | 73 65 74 2d 6b 65 79 20 | global-|set-key |
|00002140| 22 1c 22 20 22 7f 22 20 | 64 65 66 69 6e 65 2d 6b |"." "." |define-k|
|00002150| 65 79 20 22 0a 22 5d 20 | 37 29 29 0a 0a 28 64 65 |ey "."] |7))..(de|
|00002160| 66 69 6e 65 2d 6b 65 79 | 20 66 75 6e 63 74 69 6f |fine-key| functio|
|00002170| 6e 2d 6b 65 79 6d 61 70 | 20 22 75 22 20 28 71 75 |n-keymap| "u" (qu|
|00002180| 6f 74 65 20 70 72 65 76 | 69 6f 75 73 2d 6c 69 6e |ote prev|ious-lin|
|00002190| 65 29 29 0a 0a 28 64 65 | 66 69 6e 65 2d 6b 65 79 |e))..(de|fine-key|
|000021a0| 20 66 75 6e 63 74 69 6f | 6e 2d 6b 65 79 6d 61 70 | functio|n-keymap|
|000021b0| 20 22 64 22 20 28 71 75 | 6f 74 65 20 6e 65 78 74 | "d" (qu|ote next|
|000021c0| 2d 6c 69 6e 65 29 29 0a | 0a 28 64 65 66 69 6e 65 |-line)).|.(define|
|000021d0| 2d 6b 65 79 20 66 75 6e | 63 74 69 6f 6e 2d 6b 65 |-key fun|ction-ke|
|000021e0| 79 6d 61 70 20 22 6c 22 | 20 28 71 75 6f 74 65 20 |ymap "l"| (quote |
|000021f0| 62 61 63 6b 77 61 72 64 | 2d 63 68 61 72 29 29 0a |backward|-char)).|
|00002200| 0a 28 64 65 66 69 6e 65 | 2d 6b 65 79 20 66 75 6e |.(define|-key fun|
|00002210| 63 74 69 6f 6e 2d 6b 65 | 79 6d 61 70 20 22 72 22 |ction-ke|ymap "r"|
|00002220| 20 28 71 75 6f 74 65 20 | 66 6f 72 77 61 72 64 2d | (quote |forward-|
|00002230| 63 68 61 72 29 29 0a 0a | 28 64 65 66 69 6e 65 2d |char))..|(define-|
|00002240| 6b 65 79 20 66 75 6e 63 | 74 69 6f 6e 2d 6b 65 79 |key func|tion-key|
|00002250| 6d 61 70 20 22 68 22 20 | 28 71 75 6f 74 65 20 62 |map "h" |(quote b|
|00002260| 65 67 69 6e 6e 69 6e 67 | 2d 6f 66 2d 77 69 6e 64 |eginning|-of-wind|
|00002270| 6f 77 29 29 0a 0a 28 64 | 65 66 69 6e 65 2d 6b 65 |ow))..(d|efine-ke|
|00002280| 79 20 66 75 6e 63 74 69 | 6f 6e 2d 6b 65 79 6d 61 |y functi|on-keyma|
|00002290| 70 20 22 02 22 20 28 71 | 75 6f 74 65 20 64 65 73 |p "." (q|uote des|
|000022a0| 63 72 69 62 65 2d 6b 65 | 79 29 29 0a 0a 28 64 65 |cribe-ke|y))..(de|
|000022b0| 66 69 6e 65 2d 6b 65 79 | 20 66 75 6e 63 74 69 6f |fine-key| functio|
|000022c0| 6e 2d 6b 65 79 6d 61 70 | 20 22 04 22 20 28 71 75 |n-keymap| "." (qu|
|000022d0| 6f 74 65 20 64 65 6c 65 | 74 65 2d 63 75 72 72 65 |ote dele|te-curre|
|000022e0| 6e 74 2d 6c 69 6e 65 29 | 29 0a 0a 28 64 65 66 69 |nt-line)|)..(defi|
|000022f0| 6e 65 2d 6b 65 79 20 66 | 75 6e 63 74 69 6f 6e 2d |ne-key f|unction-|
|00002300| 6b 65 79 6d 61 70 20 22 | 39 22 20 28 71 75 6f 74 |keymap "|9" (quot|
|00002310| 65 20 61 70 70 65 6e 64 | 2d 74 6f 2d 62 75 66 66 |e append|-to-buff|
|00002320| 65 72 29 29 0a 0a 28 64 | 65 66 69 6e 65 2d 6b 65 |er))..(d|efine-ke|
|00002330| 79 20 66 75 6e 63 74 69 | 6f 6e 2d 6b 65 79 6d 61 |y functi|on-keyma|
|00002340| 70 20 22 2d 22 20 28 71 | 75 6f 74 65 20 64 65 6c |p "-" (q|uote del|
|00002350| 65 74 65 2d 63 75 72 72 | 65 6e 74 2d 77 6f 72 64 |ete-curr|ent-word|
|00002360| 29 29 0a 0a 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |))..(def|ine-key |
|00002370| 66 75 6e 63 74 69 6f 6e | 2d 6b 65 79 6d 61 70 20 |function|-keymap |
|00002380| 22 34 22 20 28 71 75 6f | 74 65 20 61 64 76 61 6e |"4" (quo|te advan|
|00002390| 63 65 2d 64 69 72 65 63 | 74 69 6f 6e 29 29 0a 0a |ce-direc|tion))..|
|000023a0| 28 64 65 66 69 6e 65 2d | 6b 65 79 20 66 75 6e 63 |(define-|key func|
|000023b0| 74 69 6f 6e 2d 6b 65 79 | 6d 61 70 20 22 35 22 20 |tion-key|map "5" |
|000023c0| 28 71 75 6f 74 65 20 62 | 61 63 6b 75 70 2d 64 69 |(quote b|ackup-di|
|000023d0| 72 65 63 74 69 6f 6e 29 | 29 0a 0a 28 64 65 66 69 |rection)|)..(defi|
|000023e0| 6e 65 2d 6b 65 79 20 66 | 75 6e 63 74 69 6f 6e 2d |ne-key f|unction-|
|000023f0| 6b 65 79 6d 61 70 20 22 | 36 22 20 28 71 75 6f 74 |keymap "|6" (quot|
|00002400| 65 20 6b 69 6c 6c 2d 72 | 65 67 69 6f 6e 29 29 0a |e kill-r|egion)).|
|00002410| 0a 28 64 65 66 69 6e 65 | 2d 6b 65 79 20 66 75 6e |.(define|-key fun|
|00002420| 63 74 69 6f 6e 2d 6b 65 | 79 6d 61 70 20 22 2c 22 |ction-ke|ymap ","|
|00002430| 20 28 71 75 6f 74 65 20 | 64 65 6c 65 74 65 2d 63 | (quote |delete-c|
|00002440| 75 72 72 65 6e 74 2d 63 | 68 61 72 29 29 0a 0a 28 |urrent-c|har))..(|
|00002450| 64 65 66 69 6e 65 2d 6b | 65 79 20 66 75 6e 63 74 |define-k|ey funct|
|00002460| 69 6f 6e 2d 6b 65 79 6d | 61 70 20 22 2e 22 20 28 |ion-keym|ap "." (|
|00002470| 71 75 6f 74 65 20 73 65 | 74 2d 6d 61 72 6b 2d 63 |quote se|t-mark-c|
|00002480| 6f 6d 6d 61 6e 64 29 29 | 0a 0a 28 64 65 66 69 6e |ommand))|..(defin|
|00002490| 65 2d 6b 65 79 20 66 75 | 6e 63 74 69 6f 6e 2d 6b |e-key fu|nction-k|
|000024a0| 65 79 6d 61 70 20 22 65 | 22 20 28 71 75 6f 74 65 |eymap "e|" (quote|
|000024b0| 20 6f 74 68 65 72 2d 77 | 69 6e 64 6f 77 29 29 0a | other-w|indow)).|
|000024c0| 0a 28 64 65 66 69 6e 65 | 2d 6b 65 79 20 66 75 6e |.(define|-key fun|
|000024d0| 63 74 69 6f 6e 2d 6b 65 | 79 6d 61 70 20 22 01 22 |ction-ke|ymap "."|
|000024e0| 20 28 71 75 6f 74 65 20 | 47 4f 4c 44 2d 70 72 65 | (quote |GOLD-pre|
|000024f0| 66 69 78 29 29 0a 0a 28 | 73 65 74 71 20 47 4f 4c |fix))..(|setq GOL|
|00002500| 44 2d 6d 61 70 20 28 6d | 61 6b 65 2d 6b 65 79 6d |D-map (m|ake-keym|
|00002510| 61 70 29 29 0a 0a 28 66 | 73 65 74 20 28 71 75 6f |ap))..(f|set (quo|
|00002520| 74 65 20 47 4f 4c 44 2d | 70 72 65 66 69 78 29 20 |te GOLD-|prefix) |
|00002530| 47 4f 4c 44 2d 6d 61 70 | 29 0a 0a 28 64 65 66 76 |GOLD-map|)..(defv|
|00002540| 61 72 20 47 4f 4c 44 2d | 6d 61 70 20 6e 69 6c 20 |ar GOLD-|map nil |
|00002550| 22 5c 0a 47 4f 4c 44 2d | 6d 61 70 20 6d 61 70 73 |"\.GOLD-|map maps|
|00002560| 20 74 68 65 20 66 75 6e | 63 74 69 6f 6e 20 6b 65 | the fun|ction ke|
|00002570| 79 73 20 6f 6e 20 74 68 | 65 20 56 54 31 30 30 20 |ys on th|e VT100 |
|00002580| 6b 65 79 62 6f 61 72 64 | 20 70 72 65 63 65 65 64 |keyboard| preceed|
|00002590| 65 64 0a 62 79 20 74 68 | 65 20 50 46 31 20 6b 65 |ed.by th|e PF1 ke|
|000025a0| 79 2e 20 20 47 4f 4c 44 | 20 69 73 20 74 68 65 20 |y. GOLD| is the |
|000025b0| 41 53 43 49 49 20 74 68 | 65 20 37 2d 62 69 74 20 |ASCII th|e 7-bit |
|000025c0| 65 73 63 61 70 65 20 73 | 65 71 75 65 6e 63 65 20 |escape s|equence |
|000025d0| 3c 45 53 43 3e 4f 50 2e | 22 29 0a 0a 28 64 65 66 |<ESC>OP.|")..(def|
|000025e0| 75 6e 20 64 65 66 69 6e | 65 2d 6b 65 79 70 61 64 |un defin|e-keypad|
|000025f0| 2d 6b 65 79 20 28 6b 65 | 79 6d 61 70 20 66 75 6e |-key (ke|ymap fun|
|00002600| 63 74 69 6f 6e 2d 6b 65 | 79 6d 61 70 2d 73 6c 6f |ction-ke|ymap-slo|
|00002610| 74 20 64 65 66 69 6e 69 | 74 69 6f 6e 29 20 28 62 |t defini|tion) (b|
|00002620| 79 74 65 2d 63 6f 64 65 | 20 22 c0 09 21 18 08 85 |yte-code| "..!...|
|00002630| 0d 00 c4 0a 08 0b 23 29 | 87 22 20 5b 66 75 6e 63 |......#)|." [func|
|00002640| 74 69 6f 6e 2d 6b 65 79 | 2d 73 65 71 75 65 6e 63 |tion-key|-sequenc|
|00002650| 65 20 66 75 6e 63 74 69 | 6f 6e 2d 6b 65 79 6d 61 |e functi|on-keyma|
|00002660| 70 2d 73 6c 6f 74 20 6b | 65 79 6d 61 70 20 64 65 |p-slot k|eymap de|
|00002670| 66 69 6e 69 74 69 6f 6e | 20 64 65 66 69 6e 65 2d |finition| define-|
|00002680| 6b 65 79 5d 20 35 29 29 | 0a 0a 28 64 65 66 69 6e |key] 5))|..(defin|
|00002690| 65 2d 6b 65 79 20 47 4f | 4c 44 2d 6d 61 70 20 22 |e-key GO|LD-map "|
|000026a0| 07 22 20 28 71 75 6f 74 | 65 20 6b 65 79 62 6f 61 |." (quot|e keyboa|
|000026b0| 72 64 2d 71 75 69 74 29 | 29 0a 0a 28 64 65 66 69 |rd-quit)|)..(defi|
|000026c0| 6e 65 2d 6b 65 79 20 47 | 4f 4c 44 2d 6d 61 70 20 |ne-key G|OLD-map |
|000026d0| 22 7f 22 20 28 71 75 6f | 74 65 20 64 65 6c 65 74 |"." (quo|te delet|
|000026e0| 65 2d 77 69 6e 64 6f 77 | 29 29 0a 0a 28 64 65 66 |e-window|))..(def|
|000026f0| 69 6e 65 2d 6b 65 79 20 | 47 4f 4c 44 2d 6d 61 70 |ine-key |GOLD-map|
|00002700| 20 22 08 22 20 28 71 75 | 6f 74 65 20 64 65 6c 65 | "." (qu|ote dele|
|00002710| 74 65 2d 6f 74 68 65 72 | 2d 77 69 6e 64 6f 77 73 |te-other|-windows|
|00002720| 29 29 0a 0a 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |))..(def|ine-key |
|00002730| 47 4f 4c 44 2d 6d 61 70 | 20 22 0d 22 20 28 71 75 |GOLD-map| "." (qu|
|00002740| 6f 74 65 20 6e 65 77 6c | 69 6e 65 2d 61 6e 64 2d |ote newl|ine-and-|
|00002750| 69 6e 64 65 6e 74 29 29 | 0a 0a 28 64 65 66 69 6e |indent))|..(defin|
|00002760| 65 2d 6b 65 79 20 47 4f | 4c 44 2d 6d 61 70 20 22 |e-key GO|LD-map "|
|00002770| 20 22 20 28 71 75 6f 74 | 65 20 75 6e 64 6f 29 29 | " (quot|e undo))|
|00002780| 0a 0a 28 64 65 66 69 6e | 65 2d 6b 65 79 20 47 4f |..(defin|e-key GO|
|00002790| 4c 44 2d 6d 61 70 20 22 | 25 22 20 28 71 75 6f 74 |LD-map "|%" (quot|
|000027a0| 65 20 67 6f 74 6f 2d 70 | 65 72 63 65 6e 74 29 29 |e goto-p|ercent))|
|000027b0| 0a 0a 28 64 65 66 69 6e | 65 2d 6b 65 79 20 47 4f |..(defin|e-key GO|
|000027c0| 4c 44 2d 6d 61 70 20 22 | 3d 22 20 28 71 75 6f 74 |LD-map "|=" (quot|
|000027d0| 65 20 67 6f 74 6f 2d 6c | 69 6e 65 29 29 0a 0a 28 |e goto-l|ine))..(|
|000027e0| 64 65 66 69 6e 65 2d 6b | 65 79 20 47 4f 4c 44 2d |define-k|ey GOLD-|
|000027f0| 6d 61 70 20 22 60 22 20 | 28 71 75 6f 74 65 20 77 |map "`" |(quote w|
|00002800| 68 61 74 2d 6c 69 6e 65 | 29 29 0a 0a 28 64 65 66 |hat-line|))..(def|
|00002810| 69 6e 65 2d 6b 65 79 20 | 47 4f 4c 44 2d 6d 61 70 |ine-key |GOLD-map|
|00002820| 20 22 1c 22 20 28 71 75 | 6f 74 65 20 73 70 6c 69 | "." (qu|ote spli|
|00002830| 74 2d 77 69 6e 64 6f 77 | 2d 76 65 72 74 69 63 61 |t-window|-vertica|
|00002840| 6c 6c 79 29 29 0a 0a 28 | 64 65 66 69 6e 65 2d 6b |lly))..(|define-k|
|00002850| 65 79 20 47 4f 4c 44 2d | 6d 61 70 20 22 62 22 20 |ey GOLD-|map "b" |
|00002860| 28 71 75 6f 74 65 20 62 | 75 66 66 65 72 2d 6d 65 |(quote b|uffer-me|
|00002870| 6e 75 29 29 0a 0a 28 64 | 65 66 69 6e 65 2d 6b 65 |nu))..(d|efine-ke|
|00002880| 79 20 47 4f 4c 44 2d 6d | 61 70 20 22 42 22 20 28 |y GOLD-m|ap "B" (|
|00002890| 71 75 6f 74 65 20 62 75 | 66 66 65 72 2d 6d 65 6e |quote bu|ffer-men|
|000028a0| 75 29 29 0a 0a 28 64 65 | 66 69 6e 65 2d 6b 65 79 |u))..(de|fine-key|
|000028b0| 20 47 4f 4c 44 2d 6d 61 | 70 20 22 64 22 20 28 71 | GOLD-ma|p "d" (q|
|000028c0| 75 6f 74 65 20 64 65 6c | 65 74 65 2d 77 69 6e 64 |uote del|ete-wind|
|000028d0| 6f 77 29 29 0a 0a 28 64 | 65 66 69 6e 65 2d 6b 65 |ow))..(d|efine-ke|
|000028e0| 79 20 47 4f 4c 44 2d 6d | 61 70 20 22 44 22 20 28 |y GOLD-m|ap "D" (|
|000028f0| 71 75 6f 74 65 20 64 65 | 6c 65 74 65 2d 77 69 6e |quote de|lete-win|
|00002900| 64 6f 77 29 29 0a 0a 28 | 64 65 66 69 6e 65 2d 6b |dow))..(|define-k|
|00002910| 65 79 20 47 4f 4c 44 2d | 6d 61 70 20 22 65 22 20 |ey GOLD-|map "e" |
|00002920| 28 71 75 6f 74 65 20 63 | 6f 6d 70 69 6c 65 29 29 |(quote c|ompile))|
|00002930| 0a 0a 28 64 65 66 69 6e | 65 2d 6b 65 79 20 47 4f |..(defin|e-key GO|
|00002940| 4c 44 2d 6d 61 70 20 22 | 45 22 20 28 71 75 6f 74 |LD-map "|E" (quot|
|00002950| 65 20 63 6f 6d 70 69 6c | 65 29 29 0a 0a 28 64 65 |e compil|e))..(de|
|00002960| 66 69 6e 65 2d 6b 65 79 | 20 47 4f 4c 44 2d 6d 61 |fine-key| GOLD-ma|
|00002970| 70 20 22 69 22 20 28 71 | 75 6f 74 65 20 69 6e 73 |p "i" (q|uote ins|
|00002980| 65 72 74 2d 66 69 6c 65 | 29 29 0a 0a 28 64 65 66 |ert-file|))..(def|
|00002990| 69 6e 65 2d 6b 65 79 20 | 47 4f 4c 44 2d 6d 61 70 |ine-key |GOLD-map|
|000029a0| 20 22 49 22 20 28 71 75 | 6f 74 65 20 69 6e 73 65 | "I" (qu|ote inse|
|000029b0| 72 74 2d 66 69 6c 65 29 | 29 0a 0a 28 64 65 66 69 |rt-file)|)..(defi|
|000029c0| 6e 65 2d 6b 65 79 20 47 | 4f 4c 44 2d 6d 61 70 20 |ne-key G|OLD-map |
|000029d0| 22 6c 22 20 28 71 75 6f | 74 65 20 67 6f 74 6f 2d |"l" (quo|te goto-|
|000029e0| 6c 69 6e 65 29 29 0a 0a | 28 64 65 66 69 6e 65 2d |line))..|(define-|
|000029f0| 6b 65 79 20 47 4f 4c 44 | 2d 6d 61 70 20 22 4c 22 |key GOLD|-map "L"|
|00002a00| 20 28 71 75 6f 74 65 20 | 67 6f 74 6f 2d 6c 69 6e | (quote |goto-lin|
|00002a10| 65 29 29 0a 0a 28 64 65 | 66 69 6e 65 2d 6b 65 79 |e))..(de|fine-key|
|00002a20| 20 47 4f 4c 44 2d 6d 61 | 70 20 22 6d 22 20 28 71 | GOLD-ma|p "m" (q|
|00002a30| 75 6f 74 65 20 73 61 76 | 65 2d 73 6f 6d 65 2d 62 |uote sav|e-some-b|
|00002a40| 75 66 66 65 72 73 29 29 | 0a 0a 28 64 65 66 69 6e |uffers))|..(defin|
|00002a50| 65 2d 6b 65 79 20 47 4f | 4c 44 2d 6d 61 70 20 22 |e-key GO|LD-map "|
|00002a60| 4d 22 20 28 71 75 6f 74 | 65 20 73 61 76 65 2d 73 |M" (quot|e save-s|
|00002a70| 6f 6d 65 2d 62 75 66 66 | 65 72 73 29 29 0a 0a 28 |ome-buff|ers))..(|
|00002a80| 64 65 66 69 6e 65 2d 6b | 65 79 20 47 4f 4c 44 2d |define-k|ey GOLD-|
|00002a90| 6d 61 70 20 22 6e 22 20 | 28 71 75 6f 74 65 20 6e |map "n" |(quote n|
|00002aa0| 65 78 74 2d 65 72 72 6f | 72 29 29 0a 0a 28 64 65 |ext-erro|r))..(de|
|00002ab0| 66 69 6e 65 2d 6b 65 79 | 20 47 4f 4c 44 2d 6d 61 |fine-key| GOLD-ma|
|00002ac0| 70 20 22 4e 22 20 28 71 | 75 6f 74 65 20 6e 65 78 |p "N" (q|uote nex|
|00002ad0| 74 2d 65 72 72 6f 72 29 | 29 0a 0a 28 64 65 66 69 |t-error)|)..(defi|
|00002ae0| 6e 65 2d 6b 65 79 20 47 | 4f 4c 44 2d 6d 61 70 20 |ne-key G|OLD-map |
|00002af0| 22 6f 22 20 28 71 75 6f | 74 65 20 73 77 69 74 63 |"o" (quo|te switc|
|00002b00| 68 2d 74 6f 2d 62 75 66 | 66 65 72 2d 6f 74 68 65 |h-to-buf|fer-othe|
|00002b10| 72 2d 77 69 6e 64 6f 77 | 29 29 0a 0a 28 64 65 66 |r-window|))..(def|
|00002b20| 69 6e 65 2d 6b 65 79 20 | 47 4f 4c 44 2d 6d 61 70 |ine-key |GOLD-map|
|00002b30| 20 22 4f 22 20 28 71 75 | 6f 74 65 20 73 77 69 74 | "O" (qu|ote swit|
|00002b40| 63 68 2d 74 6f 2d 62 75 | 66 66 65 72 2d 6f 74 68 |ch-to-bu|ffer-oth|
|00002b50| 65 72 2d 77 69 6e 64 6f | 77 29 29 0a 0a 28 64 65 |er-windo|w))..(de|
|00002b60| 66 69 6e 65 2d 6b 65 79 | 20 47 4f 4c 44 2d 6d 61 |fine-key| GOLD-ma|
|00002b70| 70 20 22 72 22 20 28 71 | 75 6f 74 65 20 72 65 76 |p "r" (q|uote rev|
|00002b80| 65 72 74 2d 66 69 6c 65 | 29 29 0a 0a 28 64 65 66 |ert-file|))..(def|
|00002b90| 69 6e 65 2d 6b 65 79 20 | 47 4f 4c 44 2d 6d 61 70 |ine-key |GOLD-map|
|00002ba0| 20 22 72 22 20 28 71 75 | 6f 74 65 20 72 65 76 65 | "r" (qu|ote reve|
|00002bb0| 72 74 2d 66 69 6c 65 29 | 29 0a 0a 28 64 65 66 69 |rt-file)|)..(defi|
|00002bc0| 6e 65 2d 6b 65 79 20 47 | 4f 4c 44 2d 6d 61 70 20 |ne-key G|OLD-map |
|00002bd0| 22 73 22 20 28 71 75 6f | 74 65 20 73 61 76 65 2d |"s" (quo|te save-|
|00002be0| 62 75 66 66 65 72 29 29 | 0a 0a 28 64 65 66 69 6e |buffer))|..(defin|
|00002bf0| 65 2d 6b 65 79 20 47 4f | 4c 44 2d 6d 61 70 20 22 |e-key GO|LD-map "|
|00002c00| 53 22 20 28 71 75 6f 74 | 65 20 73 61 76 65 2d 62 |S" (quot|e save-b|
|00002c10| 75 66 66 65 72 29 29 0a | 0a 28 64 65 66 69 6e 65 |uffer)).|.(define|
|00002c20| 2d 6b 65 79 20 47 4f 4c | 44 2d 6d 61 70 20 22 76 |-key GOL|D-map "v|
|00002c30| 22 20 28 71 75 6f 74 65 | 20 66 69 6e 64 2d 66 69 |" (quote| find-fi|
|00002c40| 6c 65 2d 6f 74 68 65 72 | 2d 77 69 6e 64 6f 77 29 |le-other|-window)|
|00002c50| 29 0a 0a 28 64 65 66 69 | 6e 65 2d 6b 65 79 20 47 |)..(defi|ne-key G|
|00002c60| 4f 4c 44 2d 6d 61 70 20 | 22 56 22 20 28 71 75 6f |OLD-map |"V" (quo|
|00002c70| 74 65 20 66 69 6e 64 2d | 66 69 6c 65 2d 6f 74 68 |te find-|file-oth|
|00002c80| 65 72 2d 77 69 6e 64 6f | 77 29 29 0a 0a 28 64 65 |er-windo|w))..(de|
|00002c90| 66 69 6e 65 2d 6b 65 79 | 20 47 4f 4c 44 2d 6d 61 |fine-key| GOLD-ma|
|00002ca0| 70 20 22 77 22 20 28 71 | 75 6f 74 65 20 77 72 69 |p "w" (q|uote wri|
|00002cb0| 74 65 2d 66 69 6c 65 29 | 29 0a 0a 28 64 65 66 69 |te-file)|)..(defi|
|00002cc0| 6e 65 2d 6b 65 79 20 47 | 4f 4c 44 2d 6d 61 70 20 |ne-key G|OLD-map |
|00002cd0| 22 77 22 20 28 71 75 6f | 74 65 20 77 72 69 74 65 |"w" (quo|te write|
|00002ce0| 2d 66 69 6c 65 29 29 0a | 0a 28 64 65 66 75 6e 20 |-file)).|.(defun |
|00002cf0| 65 64 74 2d 62 69 6e 64 | 2d 67 6f 6c 64 2d 6b 65 |edt-bind|-gold-ke|
|00002d00| 79 70 61 64 20 6e 69 6c | 20 28 62 79 74 65 2d 63 |ypad nil| (byte-c|
|00002d10| 6f 64 65 20 22 c1 08 c2 | c3 23 88 c1 08 c4 c5 23 |ode "...|.#.....#|
|00002d20| 88 c1 08 c6 c7 23 88 c1 | 08 c8 c9 23 88 c1 08 ca |.....#..|...#....|
|00002d30| cb 23 88 c1 08 cc cd 23 | 88 c1 08 ce cf 23 88 c1 |.#.....#|.....#..|
|00002d40| 08 d0 d1 23 88 c1 08 d2 | d3 23 88 c1 08 d4 d5 23 |...#....|.#.....#|
|00002d50| 88 c1 08 d6 d7 23 88 c1 | 08 d8 d9 23 88 c1 08 da |.....#..|...#....|
|00002d60| db 23 88 c1 08 dc dd 23 | 88 c1 08 de df 23 88 c1 |.#.....#|.....#..|
|00002d70| 08 e0 e1 23 88 c1 08 e2 | e3 23 88 c1 08 e4 e5 23 |...#....|.#.....#|
|00002d80| 88 c1 08 e6 e7 23 88 c1 | 08 e8 e9 23 88 c1 08 ea |.....#..|...#....|
|00002d90| eb 23 88 c1 08 ec ed 23 | 87 22 20 5b 47 4f 4c 44 |.#.....#|." [GOLD|
|00002da0| 2d 6d 61 70 20 64 65 66 | 69 6e 65 2d 6b 65 79 70 |-map def|ine-keyp|
|00002db0| 61 64 2d 6b 65 79 20 31 | 31 37 20 6c 69 6e 65 2d |ad-key 1|17 line-|
|00002dc0| 74 6f 2d 74 6f 70 2d 6f | 66 2d 77 69 6e 64 6f 77 |to-top-o|f-window|
|00002dd0| 20 31 30 30 20 6c 69 6e | 65 2d 74 6f 2d 62 6f 74 | 100 lin|e-to-bot|
|00002de0| 74 6f 6d 2d 6f 66 2d 77 | 69 6e 64 6f 77 20 31 30 |tom-of-w|indow 10|
|00002df0| 38 20 62 61 63 6b 77 61 | 72 64 2d 73 65 6e 74 65 |8 backwa|rd-sente|
|00002e00| 6e 63 65 20 31 31 34 20 | 66 6f 72 77 61 72 64 2d |nce 114 |forward-|
|00002e10| 73 65 6e 74 65 6e 63 65 | 20 31 20 6d 61 72 6b 2d |sentence| 1 mark-|
|00002e20| 73 65 63 74 69 6f 6e 2d | 77 69 73 65 6c 79 20 32 |section-|wisely 2|
|00002e30| 20 64 65 73 63 72 69 62 | 65 2d 66 75 6e 63 74 69 | describ|e-functi|
|00002e40| 6f 6e 20 33 20 6f 63 63 | 75 72 20 34 20 75 6e 64 |on 3 occ|ur 4 und|
|00002e50| 65 6c 65 74 65 2d 6c 69 | 6e 65 73 20 34 38 20 6f |elete-li|nes 48 o|
|00002e60| 70 65 6e 2d 6c 69 6e 65 | 20 34 39 20 63 61 73 65 |pen-line| 49 case|
|00002e70| 2d 66 6c 69 70 2d 63 68 | 61 72 61 63 74 65 72 20 |-flip-ch|aracter |
|00002e80| 35 30 20 64 65 6c 65 74 | 65 2d 74 6f 2d 65 6f 6c |50 delet|e-to-eol|
|00002e90| 20 35 31 20 63 6f 70 79 | 2d 72 65 67 69 6f 6e 2d | 51 copy|-region-|
|00002ea0| 61 73 2d 6b 69 6c 6c 20 | 35 32 20 6d 6f 76 65 2d |as-kill |52 move-|
|00002eb0| 74 6f 2d 65 6e 64 20 35 | 33 20 6d 6f 76 65 2d 74 |to-end 5|3 move-t|
|00002ec0| 6f 2d 62 65 67 69 6e 6e | 69 6e 67 20 35 34 20 79 |o-beginn|ing 54 y|
|00002ed0| 61 6e 6b 20 35 35 20 65 | 78 65 63 75 74 65 2d 65 |ank 55 e|xecute-e|
|00002ee0| 78 74 65 6e 64 65 64 2d | 63 6f 6d 6d 61 6e 64 20 |xtended-|command |
|00002ef0| 35 36 20 69 6e 64 65 6e | 74 2d 6f 72 2d 66 69 6c |56 inden|t-or-fil|
|00002f00| 6c 2d 72 65 67 69 6f 6e | 20 35 37 20 72 65 70 6c |l-region| 57 repl|
|00002f10| 61 63 65 2d 72 65 67 65 | 78 70 20 34 35 20 75 6e |ace-rege|xp 45 un|
|00002f20| 64 65 6c 65 74 65 2d 77 | 6f 72 64 73 20 34 34 20 |delete-w|ords 44 |
|00002f30| 75 6e 64 65 6c 65 74 65 | 2d 63 68 61 72 73 20 34 |undelete|-chars 4|
|00002f40| 36 20 72 65 64 72 61 77 | 2d 64 69 73 70 6c 61 79 |6 redraw|-display|
|00002f50| 20 31 30 31 20 73 68 65 | 6c 6c 2d 63 6f 6d 6d 61 | 101 she|ll-comma|
|00002f60| 6e 64 5d 20 32 35 29 29 | 0a 0a 28 6f 72 20 28 61 |nd] 25))|..(or (a|
|00002f70| 73 73 71 20 28 71 75 6f | 74 65 20 65 64 74 2d 64 |ssq (quo|te edt-d|
|00002f80| 69 72 65 63 74 69 6f 6e | 2d 73 74 72 69 6e 67 29 |irection|-string)|
|00002f90| 20 6d 69 6e 6f 72 2d 6d | 6f 64 65 2d 61 6c 69 73 | minor-m|ode-alis|
|00002fa0| 74 29 20 28 73 65 74 71 | 20 6d 69 6e 6f 72 2d 6d |t) (setq| minor-m|
|00002fb0| 6f 64 65 2d 61 6c 69 73 | 74 20 28 63 6f 6e 73 20 |ode-alis|t (cons |
|00002fc0| 28 71 75 6f 74 65 20 28 | 65 64 74 2d 64 69 72 65 |(quote (|edt-dire|
|00002fd0| 63 74 69 6f 6e 2d 73 74 | 72 69 6e 67 20 65 64 74 |ction-st|ring edt|
|00002fe0| 2d 64 69 72 65 63 74 69 | 6f 6e 2d 73 74 72 69 6e |-directi|on-strin|
|00002ff0| 67 29 29 20 6d 69 6e 6f | 72 2d 6d 6f 64 65 2d 61 |g)) mino|r-mode-a|
|00003000| 6c 69 73 74 29 29 29 0a | |list))).| |
+--------+-------------------------+-------------------------+--------+--------+