home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1993-04-01 | 7.5 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
1%
| dexvert
| Combustion 2 Particle Library (other/combustion2ParticleLibrary)
| ext
| Unsupported |
100%
| file
| Emacs/XEmacs v19 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
| |
100%
| xdgMime
| text/x-emacs-lisp
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 6c 7a 40 61 73 68 |piled by| jlz@ash|
|00000020| 77 65 64 6e 65 73 64 61 | 79 20 6f 6e 20 4d 6f 6e |wednesda|y on Mon|
|00000030| 20 4d 61 72 20 31 35 20 | 30 30 3a 31 34 3a 31 34 | Mar 15 |00:14:14|
|00000040| 20 31 39 39 33 0a 3b 3b | 3b 20 66 72 6f 6d 20 66 | 1993.;;|; from f|
|00000050| 69 6c 65 20 2f 63 61 64 | 69 6c 6c 61 63 2d 61 77 |ile /cad|illac-aw|
|00000060| 32 2f 74 65 73 74 62 69 | 6e 2d 62 75 69 6c 64 73 |2/testbi|n-builds|
|00000070| 2f 6c 65 6d 61 63 73 2f | 6c 69 73 70 2f 65 6e 65 |/lemacs/|lisp/ene|
|00000080| 72 67 69 7a 65 2f 65 6e | 65 72 67 69 7a 65 2d 61 |rgize/en|ergize-a|
|00000090| 64 76 69 73 65 2e 65 6c | 0a 3b 3b 3b 20 65 6d 61 |dvise.el|.;;; ema|
|000000a0| 63 73 20 76 65 72 73 69 | 6f 6e 20 31 39 2e 36 20 |cs versi|on 19.6 |
|000000b0| 28 62 65 74 61 32 29 20 | 4c 75 63 69 64 2e 0a 3b |(beta2) |Lucid..;|
|000000c0| 3b 3b 20 62 79 74 65 63 | 6f 6d 70 20 76 65 72 73 |;; bytec|omp vers|
|000000d0| 69 6f 6e 20 32 2e 31 30 | 3b 20 31 36 2d 66 65 62 |ion 2.10|; 16-feb|
|000000e0| 2d 39 33 2e 0a 3b 3b 3b | 20 6f 70 74 69 6d 69 7a |-93..;;;| optimiz|
|000000f0| 61 74 69 6f 6e 20 69 73 | 20 6f 6e 2e 0a 3b 3b 3b |ation is| on..;;;|
|00000100| 20 74 68 69 73 20 66 69 | 6c 65 20 75 73 65 73 20 | this fi|le uses |
|00000110| 6f 70 63 6f 64 65 73 20 | 77 68 69 63 68 20 64 6f |opcodes |which do|
|00000120| 20 6e 6f 74 20 65 78 69 | 73 74 20 69 6e 20 45 6d | not exi|st in Em|
|00000130| 61 63 73 31 38 2e 0a 0a | 28 69 66 20 28 61 6e 64 |acs18...|(if (and|
|00000140| 20 28 62 6f 75 6e 64 70 | 20 27 65 6d 61 63 73 2d | (boundp| 'emacs-|
|00000150| 76 65 72 73 69 6f 6e 29 | 0a 09 20 28 6f 72 20 28 |version)|.. (or (|
|00000160| 61 6e 64 20 28 62 6f 75 | 6e 64 70 20 27 65 70 6f |and (bou|ndp 'epo|
|00000170| 63 68 3a 3a 76 65 72 73 | 69 6f 6e 29 20 65 70 6f |ch::vers|ion) epo|
|00000180| 63 68 3a 3a 76 65 72 73 | 69 6f 6e 29 0a 09 20 20 |ch::vers|ion).. |
|00000190| 20 20 20 28 73 74 72 69 | 6e 67 2d 6c 65 73 73 70 | (stri|ng-lessp|
|000001a0| 20 65 6d 61 63 73 2d 76 | 65 72 73 69 6f 6e 20 22 | emacs-v|ersion "|
|000001b0| 31 39 22 29 29 29 0a 20 | 20 20 20 28 65 72 72 6f |19"))). | (erro|
|000001c0| 72 20 22 54 68 69 73 20 | 66 69 6c 65 20 77 61 73 |r "This |file was|
|000001d0| 20 63 6f 6d 70 69 6c 65 | 64 20 66 6f 72 20 45 6d | compile|d for Em|
|000001e0| 61 63 73 31 39 2e 22 29 | 29 0a 0a 28 62 79 74 65 |acs19.")|)..(byte|
|000001f0| 2d 63 6f 64 65 20 22 c0 | c1 21 ac 85 c1 c2 4b 4d |-code ".|.!....KM|
|00000200| 88 c0 87 22 20 5b 66 62 | 6f 75 6e 64 70 20 65 6e |..." [fb|oundp en|
|00000210| 65 72 67 69 7a 65 2d 6f | 72 69 67 2d 73 65 74 2d |ergize-o|rig-set-|
|00000220| 76 69 73 69 74 65 64 2d | 66 69 6c 65 2d 6e 61 6d |visited-|file-nam|
|00000230| 65 20 73 65 74 2d 76 69 | 73 69 74 65 64 2d 66 69 |e set-vi|sited-fi|
|00000240| 6c 65 2d 6e 61 6d 65 5d | 20 32 29 0a 28 66 73 65 |le-name]| 2).(fse|
|00000250| 74 20 27 73 65 74 2d 76 | 69 73 69 74 65 64 2d 66 |t 'set-v|isited-f|
|00000260| 69 6c 65 2d 6e 61 6d 65 | 20 23 5b 28 66 69 6c 65 |ile-name| #[(file|
|00000270| 6e 61 6d 65 29 20 22 c0 | 09 21 87 22 20 5b 65 6e |name) ".|.!." [en|
|00000280| 65 72 67 69 7a 65 2d 73 | 65 74 2d 76 69 73 69 74 |ergize-s|et-visit|
|00000290| 65 64 2d 66 69 6c 65 2d | 6e 61 6d 65 20 66 69 6c |ed-file-|name fil|
|000002a0| 65 6e 61 6d 65 5d 20 32 | 20 22 5c 0a 43 68 61 6e |ename] 2| "\.Chan|
|000002b0| 67 65 20 6e 61 6d 65 20 | 6f 66 20 66 69 6c 65 20 |ge name |of file |
|000002c0| 76 69 73 69 74 65 64 20 | 69 6e 20 63 75 72 72 65 |visited |in curre|
|000002d0| 6e 74 20 62 75 66 66 65 | 72 20 74 6f 20 46 49 4c |nt buffe|r to FIL|
|000002e0| 45 4e 41 4d 45 2e 0a 54 | 68 65 20 6e 65 78 74 20 |ENAME..T|he next |
|000002f0| 74 69 6d 65 20 74 68 65 | 20 62 75 66 66 65 72 20 |time the| buffer |
|00000300| 69 73 20 73 61 76 65 64 | 20 69 74 20 77 69 6c 6c |is saved| it will|
|00000310| 20 67 6f 20 69 6e 20 74 | 68 65 20 6e 65 77 6c 79 | go in t|he newly|
|00000320| 20 73 70 65 63 69 66 69 | 65 64 20 66 69 6c 65 2e | specifi|ed file.|
|00000330| 0a 6e 69 6c 20 6f 72 20 | 65 6d 70 74 79 20 73 74 |.nil or |empty st|
|00000340| 72 69 6e 67 20 61 73 20 | 61 72 67 75 6d 65 6e 74 |ring as |argument|
|00000350| 20 6d 65 61 6e 73 20 6d | 61 6b 65 20 62 75 66 66 | means m|ake buff|
|00000360| 65 72 20 6e 6f 74 20 62 | 65 20 76 69 73 69 74 69 |er not b|e visiti|
|00000370| 6e 67 20 61 6e 79 20 66 | 69 6c 65 2e 0a 52 65 6d |ng any f|ile..Rem|
|00000380| 65 6d 62 65 72 20 74 6f | 20 64 65 6c 65 74 65 20 |ember to| delete |
|00000390| 74 68 65 20 69 6e 69 74 | 69 61 6c 20 63 6f 6e 74 |the init|ial cont|
|000003a0| 65 6e 74 73 20 6f 66 20 | 74 68 65 20 6d 69 6e 69 |ents of |the mini|
|000003b0| 62 75 66 66 65 72 0a 69 | 66 20 79 6f 75 20 77 69 |buffer.i|f you wi|
|000003c0| 73 68 20 74 6f 20 70 61 | 73 73 20 61 6e 20 65 6d |sh to pa|ss an em|
|000003d0| 70 74 79 20 73 74 72 69 | 6e 67 20 61 73 20 74 68 |pty stri|ng as th|
|000003e0| 65 20 61 72 67 75 6d 65 | 6e 74 2e 0a 0a 54 68 69 |e argume|nt...Thi|
|000003f0| 73 20 69 73 20 69 6c 6c | 65 67 61 6c 20 66 6f 72 |s is ill|egal for|
|00000400| 20 45 6e 65 72 67 69 7a | 65 20 62 75 66 66 65 72 | Energiz|e buffer|
|00000410| 73 2e 22 20 22 46 53 65 | 74 20 76 69 73 69 74 65 |s." "FSe|t visite|
|00000420| 64 20 66 69 6c 65 20 6e | 61 6d 65 3a 20 22 5d 29 |d file n|ame: "])|
|00000430| 0a 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 c1 21 |.(byte-c|ode "..!|
|00000440| ac 85 c1 c2 4b 4d 88 c0 | 87 22 20 5b 66 62 6f 75 |....KM..|." [fbou|
|00000450| 6e 64 70 20 65 6e 65 72 | 67 69 7a 65 2d 6f 72 69 |ndp ener|gize-ori|
|00000460| 67 2d 66 69 6e 64 2d 66 | 69 6c 65 2d 6e 6f 73 65 |g-find-f|ile-nose|
|00000470| 6c 65 63 74 20 66 69 6e | 64 2d 66 69 6c 65 2d 6e |lect fin|d-file-n|
|00000480| 6f 73 65 6c 65 63 74 5d | 20 32 29 0a 28 66 73 65 |oselect]| 2).(fse|
|00000490| 74 20 27 66 69 6e 64 2d | 66 69 6c 65 2d 6e 6f 73 |t 'find-|file-nos|
|000004a0| 65 6c 65 63 74 20 23 5b | 28 66 69 6c 65 6e 61 6d |elect #[|(filenam|
|000004b0| 65 20 26 6f 70 74 69 6f | 6e 61 6c 20 6e 6f 77 61 |e &optio|nal nowa|
|000004c0| 72 6e 29 20 22 c0 09 5c | 6e 5c 22 87 22 20 5b 65 |rn) "..\|n\"." [e|
|000004d0| 6e 65 72 67 69 7a 65 2d | 66 69 6e 64 2d 66 69 6c |nergize-|find-fil|
|000004e0| 65 2d 6e 6f 73 65 6c 65 | 63 74 20 66 69 6c 65 6e |e-nosele|ct filen|
|000004f0| 61 6d 65 20 6e 6f 77 61 | 72 6e 5d 20 33 20 22 5c |ame nowa|rn] 3 "\|
|00000500| 0a 52 65 61 64 20 66 69 | 6c 65 20 46 49 4c 45 4e |.Read fi|le FILEN|
|00000510| 41 4d 45 20 69 6e 74 6f | 20 61 20 62 75 66 66 65 |AME into| a buffe|
|00000520| 72 20 61 6e 64 20 72 65 | 74 75 72 6e 20 74 68 65 |r and re|turn the|
|00000530| 20 62 75 66 66 65 72 2e | 0a 49 66 20 61 20 62 75 | buffer.|.If a bu|
|00000540| 66 66 65 72 20 65 78 69 | 73 74 73 20 76 69 73 69 |ffer exi|sts visi|
|00000550| 74 69 6e 67 20 46 49 4c | 45 4e 41 4d 45 2c 20 72 |ting FIL|ENAME, r|
|00000560| 65 74 75 72 6e 20 74 68 | 61 74 20 6f 6e 65 2c 20 |eturn th|at one, |
|00000570| 62 75 74 0a 76 65 72 69 | 66 79 20 74 68 61 74 20 |but.veri|fy that |
|00000580| 74 68 65 20 66 69 6c 65 | 20 68 61 73 20 6e 6f 74 |the file| has not|
|00000590| 20 63 68 61 6e 67 65 64 | 20 73 69 6e 63 65 20 76 | changed| since v|
|000005a0| 69 73 69 74 65 64 20 6f | 72 20 73 61 76 65 64 2e |isited o|r saved.|
|000005b0| 0a 54 68 65 20 62 75 66 | 66 65 72 20 69 73 20 6e |.The buf|fer is n|
|000005c0| 6f 74 20 73 65 6c 65 63 | 74 65 64 2c 20 6a 75 73 |ot selec|ted, jus|
|000005d0| 74 20 72 65 74 75 72 6e | 65 64 20 74 6f 20 74 68 |t return|ed to th|
|000005e0| 65 20 63 61 6c 6c 65 72 | 2e 0a 0a 57 68 65 6e 20 |e caller|...When |
|000005f0| 63 6f 6e 6e 65 63 74 65 | 64 20 74 6f 20 45 6e 65 |connecte|d to Ene|
|00000600| 72 67 69 7a 65 2c 20 69 | 66 20 74 68 65 20 76 69 |rgize, i|f the vi|
|00000610| 73 69 74 65 64 20 66 69 | 6c 65 20 69 73 20 6f 6e |sited fi|le is on|
|00000620| 65 20 74 68 61 74 0a 45 | 6e 65 72 67 69 7a 65 20 |e that.E|nergize |
|00000630| 6b 6e 6f 77 73 20 61 62 | 6f 75 74 2c 20 69 74 20 |knows ab|out, it |
|00000640| 77 69 6c 6c 20 62 65 20 | 63 6f 72 72 65 63 74 6c |will be |correctl|
|00000650| 79 20 61 6e 6e 6f 74 61 | 74 65 64 2e 22 5d 29 0a |y annota|ted."]).|
|00000660| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 c1 21 ac |(byte-co|de "..!.|
|00000670| 85 c1 c2 4b 4d 88 c0 87 | 22 20 5b 66 62 6f 75 6e |...KM...|" [fboun|
|00000680| 64 70 20 65 6e 65 72 67 | 69 7a 65 2d 6f 72 69 67 |dp energ|ize-orig|
|00000690| 2d 77 72 69 74 65 2d 66 | 69 6c 65 20 77 72 69 74 |-write-f|ile writ|
|000006a0| 65 2d 66 69 6c 65 5d 20 | 32 29 0a 28 66 73 65 74 |e-file] |2).(fset|
|000006b0| 20 27 77 72 69 74 65 2d | 66 69 6c 65 20 23 5b 28 | 'write-|file #[(|
|000006c0| 66 69 6c 65 6e 61 6d 65 | 29 20 22 c0 09 21 87 22 |filename|) "..!."|
|000006d0| 20 5b 65 6e 65 72 67 69 | 7a 65 2d 77 72 69 74 65 | [energi|ze-write|
|000006e0| 2d 66 69 6c 65 20 66 69 | 6c 65 6e 61 6d 65 5d 20 |-file fi|lename] |
|000006f0| 32 20 22 5c 0a 57 72 69 | 74 65 20 63 75 72 72 65 |2 "\.Wri|te curre|
|00000700| 6e 74 20 62 75 66 66 65 | 72 20 69 6e 74 6f 20 66 |nt buffe|r into f|
|00000710| 69 6c 65 20 46 49 4c 45 | 4e 41 4d 45 2e 0a 4d 61 |ile FILE|NAME..Ma|
|00000720| 6b 65 73 20 62 75 66 66 | 65 72 20 76 69 73 69 74 |kes buff|er visit|
|00000730| 20 74 68 61 74 20 66 69 | 6c 65 2c 20 61 6e 64 20 | that fi|le, and |
|00000740| 6d 61 72 6b 73 20 69 74 | 20 6e 6f 74 20 6d 6f 64 |marks it| not mod|
|00000750| 69 66 69 65 64 2e 0a 0a | 57 68 65 6e 20 65 78 65 |ified...|When exe|
|00000760| 63 75 74 65 64 20 6f 6e | 20 61 6e 20 45 6e 65 72 |cuted on| an Ener|
|00000770| 67 69 7a 65 20 62 75 66 | 66 65 72 2c 20 74 68 69 |gize buf|fer, thi|
|00000780| 73 20 77 69 6c 6c 20 63 | 61 75 73 65 20 61 6c 6c |s will c|ause all|
|00000790| 20 0a 61 6e 6e 6f 74 61 | 74 69 6f 6e 73 20 74 6f | .annota|tions to|
|000007a0| 20 62 65 20 6c 6f 73 74 | 20 28 74 68 61 74 20 69 | be lost| (that i|
|000007b0| 73 2c 20 74 68 65 20 62 | 75 66 66 65 72 20 77 69 |s, the b|uffer wi|
|000007c0| 6c 6c 20 62 65 63 6f 6d | 65 20 61 20 6e 6f 72 6d |ll becom|e a norm|
|000007d0| 61 6c 0a 62 75 66 66 65 | 72 2c 20 6e 6f 74 20 6f |al.buffe|r, not o|
|000007e0| 6e 65 20 74 68 61 74 20 | 74 68 65 20 45 6e 65 72 |ne that |the Ener|
|000007f0| 67 69 7a 65 20 73 65 72 | 76 65 72 20 6b 6e 6f 77 |gize ser|ver know|
|00000800| 73 20 61 62 6f 75 74 2e | 29 22 20 28 62 79 74 65 |s about.|)" (byte|
|00000810| 2d 63 6f 64 65 20 22 08 | ab 89 c1 c2 c3 89 89 89 |-code ".|........|
|00000820| 25 aa 8c c1 c2 c4 c5 20 | 9e 41 c3 89 c6 20 25 43 |%...... |.A... %C|
|00000830| 87 22 20 5b 62 75 66 66 | 65 72 2d 66 69 6c 65 2d |." [buff|er-file-|
|00000840| 6e 61 6d 65 20 72 65 61 | 64 2d 66 69 6c 65 2d 6e |name rea|d-file-n|
|00000850| 61 6d 65 20 22 57 72 69 | 74 65 20 66 69 6c 65 3a |ame "Wri|te file:|
|00000860| 20 22 20 6e 69 6c 20 64 | 65 66 61 75 6c 74 2d 64 | " nil d|efault-d|
|00000870| 69 72 65 63 74 6f 72 79 | 20 62 75 66 66 65 72 2d |irectory| buffer-|
|00000880| 6c 6f 63 61 6c 2d 76 61 | 72 69 61 62 6c 65 73 20 |local-va|riables |
|00000890| 62 75 66 66 65 72 2d 6e | 61 6d 65 5d 20 36 29 5d |buffer-n|ame] 6)]|
|000008a0| 29 0a 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 c1 |).(byte-|code "..|
|000008b0| 21 ac 85 c1 c2 4b 4d 88 | c0 87 22 20 5b 66 62 6f |!....KM.|.." [fbo|
|000008c0| 75 6e 64 70 20 65 6e 65 | 72 67 69 7a 65 2d 6f 72 |undp ene|rgize-or|
|000008d0| 69 67 2d 6e 6f 72 6d 61 | 6c 2d 6d 6f 64 65 20 6e |ig-norma|l-mode n|
|000008e0| 6f 72 6d 61 6c 2d 6d 6f | 64 65 5d 20 32 29 0a 28 |ormal-mo|de] 2).(|
|000008f0| 66 73 65 74 20 27 6e 6f | 72 6d 61 6c 2d 6d 6f 64 |fset 'no|rmal-mod|
|00000900| 65 20 23 5b 28 26 6f 70 | 74 69 6f 6e 61 6c 20 66 |e #[(&op|tional f|
|00000910| 69 6e 64 2d 66 69 6c 65 | 29 20 22 c0 09 21 87 22 |ind-file|) "..!."|
|00000920| 20 5b 65 6e 65 72 67 69 | 7a 65 2d 6e 6f 72 6d 61 | [energi|ze-norma|
|00000930| 6c 2d 6d 6f 64 65 20 66 | 69 6e 64 2d 66 69 6c 65 |l-mode f|ind-file|
|00000940| 5d 20 32 20 22 5c 0a 43 | 68 6f 6f 73 65 20 74 68 |] 2 "\.C|hoose th|
|00000950| 65 20 6d 61 6a 6f 72 20 | 6d 6f 64 65 20 66 6f 72 |e major |mode for|
|00000960| 20 74 68 69 73 20 62 75 | 66 66 65 72 20 61 75 74 | this bu|ffer aut|
|00000970| 6f 6d 61 74 69 63 61 6c | 6c 79 2e 0a 41 6c 73 6f |omatical|ly..Also|
|00000980| 20 73 65 74 73 20 75 70 | 20 61 6e 79 20 73 70 65 | sets up| any spe|
|00000990| 63 69 66 69 65 64 20 6c | 6f 63 61 6c 20 76 61 72 |cified l|ocal var|
|000009a0| 69 61 62 6c 65 73 20 6f | 66 20 74 68 65 20 66 69 |iables o|f the fi|
|000009b0| 6c 65 2e 0a 55 73 65 73 | 20 74 68 65 20 76 69 73 |le..Uses| the vis|
|000009c0| 69 74 65 64 20 66 69 6c | 65 20 6e 61 6d 65 2c 20 |ited fil|e name, |
|000009d0| 74 68 65 20 2d 2a 2d 20 | 6c 69 6e 65 2c 20 61 6e |the -*- |line, an|
|000009e0| 64 20 74 68 65 20 6c 6f | 63 61 6c 20 76 61 72 69 |d the lo|cal vari|
|000009f0| 61 62 6c 65 73 20 73 70 | 65 63 2e 0a 0a 54 68 69 |ables sp|ec...Thi|
|00000a00| 73 20 66 75 6e 63 74 69 | 6f 6e 20 69 73 20 63 61 |s functi|on is ca|
|00000a10| 6c 6c 65 64 20 61 75 74 | 6f 6d 61 74 69 63 61 6c |lled aut|omatical|
|00000a20| 6c 79 20 66 72 6f 6d 20 | 60 66 69 6e 64 2d 66 69 |ly from |`find-fi|
|00000a30| 6c 65 27 2e 20 20 49 6e | 20 74 68 61 74 20 63 61 |le'. In| that ca|
|00000a40| 73 65 2c 0a 77 65 20 6d | 61 79 20 73 65 74 20 75 |se,.we m|ay set u|
|00000a50| 70 20 73 70 65 63 69 66 | 69 65 64 20 6c 6f 63 61 |p specif|ied loca|
|00000a60| 6c 20 76 61 72 69 61 62 | 6c 65 73 20 64 65 70 65 |l variab|les depe|
|00000a70| 6e 64 69 6e 67 20 6f 6e | 20 74 68 65 20 76 61 6c |nding on| the val|
|00000a80| 75 65 20 6f 66 0a 60 65 | 6e 61 62 6c 65 2d 6c 6f |ue of.`e|nable-lo|
|00000a90| 63 61 6c 2d 76 61 72 69 | 61 62 6c 65 73 27 3a 20 |cal-vari|ables': |
|00000aa0| 69 66 20 69 74 20 69 73 | 20 74 2c 20 77 65 20 64 |if it is| t, we d|
|00000ab0| 6f 3b 20 69 66 20 69 74 | 20 69 73 20 6e 69 6c 2c |o; if it| is nil,|
|00000ac0| 20 77 65 20 64 6f 6e 27 | 74 3b 0a 6f 74 68 65 72 | we don'|t;.other|
|00000ad0| 77 69 73 65 2c 20 77 65 | 20 71 75 65 72 79 2e 20 |wise, we| query. |
|00000ae0| 20 60 65 6e 61 62 6c 65 | 2d 6c 6f 63 61 6c 2d 76 | `enable|-local-v|
|00000af0| 61 72 69 61 62 6c 65 73 | 27 20 69 73 20 69 67 6e |ariables|' is ign|
|00000b00| 6f 72 65 64 20 69 66 20 | 79 6f 75 0a 72 75 6e 20 |ored if |you.run |
|00000b10| 60 6e 6f 72 6d 61 6c 2d | 6d 6f 64 65 27 20 65 78 |`normal-|mode' ex|
|00000b20| 70 6c 69 63 69 74 6c 79 | 2e 0a 0a 49 66 20 74 68 |plicitly|...If th|
|00000b30| 69 73 20 69 73 20 61 6e | 20 45 6e 65 72 67 69 7a |is is an| Energiz|
|00000b40| 65 20 62 75 66 66 65 72 | 2c 20 74 68 65 6e 20 74 |e buffer|, then t|
|00000b50| 68 65 20 45 6e 65 72 67 | 69 7a 65 20 6d 6f 64 65 |he Energ|ize mode|
|00000b60| 73 20 61 72 65 20 74 75 | 72 6e 65 64 20 6f 6e 20 |s are tu|rned on |
|00000b70| 61 73 20 77 65 6c 6c 2e | 22 20 6e 69 6c 5d 29 0a |as well.|" nil]).|
|00000b80| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 c1 21 ac |(byte-co|de "..!.|
|00000b90| 85 c1 c2 4b 4d 88 c0 87 | 22 20 5b 66 62 6f 75 6e |...KM...|" [fboun|
|00000ba0| 64 70 20 65 6e 65 72 67 | 69 7a 65 2d 6f 72 69 67 |dp energ|ize-orig|
|00000bb0| 2d 61 73 6b 2d 75 73 65 | 72 2d 61 62 6f 75 74 2d |-ask-use|r-about-|
|00000bc0| 6c 6f 63 6b 20 61 73 6b | 2d 75 73 65 72 2d 61 62 |lock ask|-user-ab|
|00000bd0| 6f 75 74 2d 6c 6f 63 6b | 5d 20 32 29 0a 28 66 73 |out-lock|] 2).(fs|
|00000be0| 65 74 20 27 61 73 6b 2d | 75 73 65 72 2d 61 62 6f |et 'ask-|user-abo|
|00000bf0| 75 74 2d 6c 6f 63 6b 20 | 23 5b 28 66 6e 20 6f 70 |ut-lock |#[(fn op|
|00000c00| 70 6f 6e 65 6e 74 29 20 | 22 c0 09 5c 6e 5c 22 87 |ponent) |"..\n\".|
|00000c10| 22 20 5b 65 6e 65 72 67 | 69 7a 65 2d 61 73 6b 2d |" [energ|ize-ask-|
|00000c20| 75 73 65 72 2d 61 62 6f | 75 74 2d 6c 6f 63 6b 20 |user-abo|ut-lock |
|00000c30| 66 6e 20 6f 70 70 6f 6e | 65 6e 74 5d 20 33 20 22 |fn oppon|ent] 3 "|
|00000c40| 5c 0a 41 73 6b 20 75 73 | 65 72 20 77 68 61 74 20 |\.Ask us|er what |
|00000c50| 74 6f 20 64 6f 20 77 68 | 65 6e 20 68 65 20 77 61 |to do wh|en he wa|
|00000c60| 6e 74 73 20 74 6f 20 65 | 64 69 74 20 46 49 4c 45 |nts to e|dit FILE|
|00000c70| 20 62 75 74 20 69 74 20 | 69 73 20 6c 6f 63 6b 65 | but it |is locke|
|00000c80| 64 20 62 79 20 55 53 45 | 52 2e 0a 54 68 69 73 20 |d by USE|R..This |
|00000c90| 66 75 6e 63 74 69 6f 6e | 20 68 61 73 20 61 20 63 |function| has a c|
|00000ca0| 68 6f 69 63 65 20 6f 66 | 20 74 68 72 65 65 20 74 |hoice of| three t|
|00000cb0| 68 69 6e 67 73 20 74 6f | 20 64 6f 3a 0a 20 20 64 |hings to| do:. d|
|00000cc0| 6f 20 28 73 69 67 6e 61 | 6c 20 27 62 75 66 66 65 |o (signa|l 'buffe|
|00000cd0| 72 2d 66 69 6c 65 2d 6c | 6f 63 6b 65 64 20 28 6c |r-file-l|ocked (l|
|00000ce0| 69 73 74 20 46 49 4c 45 | 20 55 53 45 52 29 29 0a |ist FILE| USER)).|
|00000cf0| 20 20 20 20 74 6f 20 72 | 65 66 72 61 69 6e 20 66 | to r|efrain f|
|00000d00| 72 6f 6d 20 65 64 69 74 | 69 6e 67 20 74 68 65 20 |rom edit|ing the |
|00000d10| 66 69 6c 65 0a 20 20 72 | 65 74 75 72 6e 20 74 20 |file. r|eturn t |
|00000d20| 28 67 72 61 62 20 74 68 | 65 20 6c 6f 63 6b 20 6f |(grab th|e lock o|
|00000d30| 6e 20 74 68 65 20 66 69 | 6c 65 29 0a 20 20 72 65 |n the fi|le). re|
|00000d40| 74 75 72 6e 20 6e 69 6c | 20 28 65 64 69 74 20 74 |turn nil| (edit t|
|00000d50| 68 65 20 66 69 6c 65 20 | 65 76 65 6e 20 74 68 6f |he file |even tho|
|00000d60| 75 67 68 20 69 74 20 69 | 73 20 6c 6f 63 6b 65 64 |ugh it i|s locked|
|00000d70| 29 2e 0a 59 6f 75 20 63 | 61 6e 20 72 65 77 72 69 |)..You c|an rewri|
|00000d80| 74 65 20 69 74 20 74 6f | 20 75 73 65 20 61 6e 79 |te it to| use any|
|00000d90| 20 63 72 69 74 65 72 69 | 6f 6e 20 79 6f 75 20 6c | criteri|on you l|
|00000da0| 69 6b 65 20 74 6f 20 63 | 68 6f 6f 73 65 20 77 68 |ike to c|hoose wh|
|00000db0| 69 63 68 20 6f 6e 65 20 | 74 6f 20 64 6f 2e 0a 0a |ich one |to do...|
|00000dc0| 45 6e 65 72 67 69 7a 65 | 20 62 75 66 66 65 72 73 |Energize| buffers|
|00000dd0| 20 64 6f 20 74 68 69 73 | 20 62 79 20 61 73 6b 69 | do this| by aski|
|00000de0| 6e 67 20 74 68 65 20 73 | 65 72 76 65 72 2e 22 5d |ng the s|erver."]|
|00000df0| 29 0a 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 c1 |).(byte-|code "..|
|00000e00| 21 ac 85 c1 c2 4b 4d 88 | c0 87 22 20 5b 66 62 6f |!....KM.|.." [fbo|
|00000e10| 75 6e 64 70 20 65 6e 65 | 72 67 69 7a 65 2d 6f 72 |undp ene|rgize-or|
|00000e20| 69 67 2d 6e 65 78 74 2d | 65 72 72 6f 72 20 6e 65 |ig-next-|error ne|
|00000e30| 78 74 2d 65 72 72 6f 72 | 5d 20 32 29 0a 28 66 73 |xt-error|] 2).(fs|
|00000e40| 65 74 20 27 6e 65 78 74 | 2d 65 72 72 6f 72 20 23 |et 'next|-error #|
|00000e50| 5b 28 26 6f 70 74 69 6f | 6e 61 6c 20 61 72 67 70 |[(&optio|nal argp|
|00000e60| 29 20 22 c0 09 21 87 22 | 20 5b 65 6e 65 72 67 69 |) "..!."| [energi|
|00000e70| 7a 65 2d 6e 65 78 74 2d | 65 72 72 6f 72 20 61 72 |ze-next-|error ar|
|00000e80| 67 70 5d 20 32 20 22 5c | 0a 56 69 73 69 74 20 6e |gp] 2 "\|.Visit n|
|00000e90| 65 78 74 20 63 6f 6d 70 | 69 6c 61 74 69 6f 6e 20 |ext comp|ilation |
|00000ea0| 65 72 72 6f 72 20 6d 65 | 73 73 61 67 65 20 61 6e |error me|ssage an|
|00000eb0| 64 20 63 6f 72 72 65 73 | 70 6f 6e 64 69 6e 67 20 |d corres|ponding |
|00000ec0| 73 6f 75 72 63 65 20 63 | 6f 64 65 2e 0a 54 68 69 |source c|ode..Thi|
|00000ed0| 73 20 6f 70 65 72 61 74 | 65 73 20 6f 6e 20 74 68 |s operat|es on th|
|00000ee0| 65 20 6f 75 74 70 75 74 | 20 66 72 6f 6d 20 74 68 |e output| from th|
|00000ef0| 65 20 4d 2d 78 20 63 6f | 6d 70 69 6c 65 20 63 6f |e M-x co|mpile co|
|00000f00| 6d 6d 61 6e 64 2e 0a 49 | 66 20 61 6c 6c 20 70 72 |mmand..I|f all pr|
|00000f10| 65 70 61 72 73 65 64 20 | 65 72 72 6f 72 20 6d 65 |eparsed |error me|
|00000f20| 73 73 61 67 65 73 20 68 | 61 76 65 20 62 65 65 6e |ssages h|ave been|
|00000f30| 20 70 72 6f 63 65 73 73 | 65 64 2c 0a 74 68 65 20 | process|ed,.the |
|00000f40| 65 72 72 6f 72 20 6d 65 | 73 73 61 67 65 20 62 75 |error me|ssage bu|
|00000f50| 66 66 65 72 20 69 73 20 | 63 68 65 63 6b 65 64 20 |ffer is |checked |
|00000f60| 66 6f 72 20 6e 65 77 20 | 6f 6e 65 73 2e 0a 0a 41 |for new |ones...A|
|00000f70| 20 70 72 65 66 69 78 20 | 61 72 67 20 73 70 65 63 | prefix |arg spec|
|00000f80| 69 66 69 65 73 20 68 6f | 77 20 6d 61 6e 79 20 65 |ifies ho|w many e|
|00000f90| 72 72 6f 72 20 6d 65 73 | 73 61 67 65 73 20 74 6f |rror mes|sages to|
|00000fa0| 20 6d 6f 76 65 3b 0a 6e | 65 67 61 74 69 76 65 20 | move;.n|egative |
|00000fb0| 6d 65 61 6e 73 20 6d 6f | 76 65 20 62 61 63 6b 20 |means mo|ve back |
|00000fc0| 74 6f 20 70 72 65 76 69 | 6f 75 73 20 65 72 72 6f |to previ|ous erro|
|00000fd0| 72 20 6d 65 73 73 61 67 | 65 73 2e 0a 4a 75 73 74 |r messag|es..Just|
|00000fe0| 20 43 2d 75 20 61 73 20 | 61 20 70 72 65 66 69 78 | C-u as |a prefix|
|00000ff0| 20 6d 65 61 6e 73 20 72 | 65 70 61 72 73 65 20 74 | means r|eparse t|
|00001000| 68 65 20 65 72 72 6f 72 | 20 6d 65 73 73 61 67 65 |he error| message|
|00001010| 20 62 75 66 66 65 72 0a | 61 6e 64 20 73 74 61 72 | buffer.|and star|
|00001020| 74 20 61 74 20 74 68 65 | 20 66 69 72 73 74 20 65 |t at the| first e|
|00001030| 72 72 6f 72 2e 0a 0a 43 | 2d 78 20 60 20 6e 6f 72 |rror...C|-x ` nor|
|00001040| 6d 61 6c 6c 79 20 61 70 | 70 6c 69 65 73 20 74 6f |mally ap|plies to|
|00001050| 20 74 68 65 20 6d 6f 73 | 74 20 72 65 63 65 6e 74 | the mos|t recent|
|00001060| 20 63 6f 6d 70 69 6c 61 | 74 69 6f 6e 20 73 74 61 | compila|tion sta|
|00001070| 72 74 65 64 2c 0a 62 75 | 74 20 61 73 20 6c 6f 6e |rted,.bu|t as lon|
|00001080| 67 20 61 73 20 79 6f 75 | 20 61 72 65 20 69 6e 20 |g as you| are in |
|00001090| 74 68 65 20 6d 69 64 64 | 6c 65 20 6f 66 20 70 61 |the midd|le of pa|
|000010a0| 72 73 69 6e 67 20 65 72 | 72 6f 72 73 20 66 72 6f |rsing er|rors fro|
|000010b0| 6d 20 6f 6e 65 20 63 6f | 6d 70 69 6c 61 74 69 6f |m one co|mpilatio|
|000010c0| 6e 0a 6f 75 74 70 75 74 | 20 62 75 66 66 65 72 2c |n.output| buffer,|
|000010d0| 20 79 6f 75 20 73 74 61 | 79 20 77 69 74 68 20 74 | you sta|y with t|
|000010e0| 68 61 74 20 63 6f 6d 70 | 69 6c 61 74 69 6f 6e 20 |hat comp|ilation |
|000010f0| 6f 75 74 70 75 74 20 62 | 75 66 66 65 72 2e 0a 0a |output b|uffer...|
|00001100| 55 73 65 20 43 2d 78 20 | 60 20 69 6e 20 61 20 63 |Use C-x |` in a c|
|00001110| 6f 6d 70 69 6c 61 74 69 | 6f 6e 20 6f 75 74 70 75 |ompilati|on outpu|
|00001120| 74 20 62 75 66 66 65 72 | 20 74 6f 20 73 77 69 74 |t buffer| to swit|
|00001130| 63 68 20 74 6f 0a 70 72 | 6f 63 65 73 73 69 6e 67 |ch to.pr|ocessing|
|00001140| 20 65 72 72 6f 72 73 20 | 66 72 6f 6d 20 74 68 61 | errors |from tha|
|00001150| 74 20 63 6f 6d 70 69 6c | 61 74 69 6f 6e 2e 0a 0a |t compil|ation...|
|00001160| 53 65 65 20 76 61 72 69 | 61 62 6c 65 73 20 60 63 |See vari|ables `c|
|00001170| 6f 6d 70 69 6c 61 74 69 | 6f 6e 2d 70 61 72 73 65 |ompilati|on-parse|
|00001180| 2d 65 72 72 6f 72 73 2d | 68 6f 6f 6b 27 20 61 6e |-errors-|hook' an|
|00001190| 64 20 60 63 6f 6d 70 69 | 6c 61 74 69 6f 6e 2d 65 |d `compi|lation-e|
|000011a0| 72 72 6f 72 2d 72 65 67 | 65 78 70 27 0a 66 6f 72 |rror-reg|exp'.for|
|000011b0| 20 63 75 73 74 6f 6d 69 | 7a 61 74 69 6f 6e 20 69 | customi|zation i|
|000011c0| 64 65 61 73 2e 20 20 57 | 68 65 6e 20 77 65 20 72 |deas. W|hen we r|
|000011d0| 65 74 75 72 6e 2c 20 60 | 63 6f 6d 70 69 6c 61 74 |eturn, `|compilat|
|000011e0| 69 6f 6e 2d 6c 61 73 74 | 2d 65 72 72 6f 72 27 0a |ion-last|-error'.|
|000011f0| 70 6f 69 6e 74 73 20 74 | 6f 20 74 68 65 20 65 72 |points t|o the er|
|00001200| 72 6f 72 20 6d 65 73 73 | 61 67 65 20 61 6e 64 20 |ror mess|age and |
|00001210| 74 68 65 20 65 72 72 6f | 6e 65 6f 75 73 20 63 6f |the erro|neous co|
|00001220| 64 65 2e 0a 0a 49 66 20 | 74 68 65 20 63 75 72 72 |de...If |the curr|
|00001230| 65 6e 74 20 62 75 66 66 | 65 72 20 69 73 20 61 20 |ent buff|er is a |
|00001240| 45 6e 65 72 67 69 7a 65 | 20 62 75 66 66 65 72 2c |Energize| buffer,|
|00001250| 20 74 68 65 20 73 65 72 | 76 65 72 20 69 73 20 63 | the ser|ver is c|
|00001260| 6f 6e 73 75 6c 74 65 64 | 2e 0a 49 6e 20 74 68 69 |onsulted|..In thi|
|00001270| 73 20 63 61 73 65 2c 20 | 61 20 70 72 65 66 69 78 |s case, |a prefix|
|00001280| 20 61 72 67 75 6d 65 6e | 74 20 6d 65 61 6e 73 20 | argumen|t means |
|00001290| 60 60 70 72 65 76 69 6f | 75 73 20 65 72 72 6f 72 |``previo|us error|
|000012a0| 27 27 2e 20 20 4f 74 68 | 65 72 77 69 73 65 2c 0a |''. Oth|erwise,.|
|000012b0| 75 73 65 20 74 68 65 20 | 6f 72 69 67 69 6e 61 6c |use the |original|
|000012c0| 20 64 65 66 69 6e 69 74 | 69 6f 6e 20 6f 66 20 6e | definit|ion of n|
|000012d0| 65 78 74 2d 65 72 72 6f | 72 2e 22 20 22 50 22 5d |ext-erro|r." "P"]|
|000012e0| 29 0a 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 c1 |).(byte-|code "..|
|000012f0| 21 ac 85 c1 c2 4b 4d 88 | c0 87 22 20 5b 66 62 6f |!....KM.|.." [fbo|
|00001300| 75 6e 64 70 20 65 6e 65 | 72 67 69 7a 65 2d 6f 72 |undp ene|rgize-or|
|00001310| 69 67 2d 67 64 62 2d 62 | 72 65 61 6b 20 67 64 62 |ig-gdb-b|reak gdb|
|00001320| 2d 62 72 65 61 6b 5d 20 | 32 29 0a 28 66 73 65 74 |-break] |2).(fset|
|00001330| 20 27 67 64 62 2d 62 72 | 65 61 6b 20 23 5b 28 74 | 'gdb-br|eak #[(t|
|00001340| 65 6d 70 29 20 22 c0 09 | 21 87 22 20 5b 65 6e 65 |emp) "..|!." [ene|
|00001350| 72 67 69 7a 65 2d 67 64 | 62 2d 62 72 65 61 6b 20 |rgize-gd|b-break |
|00001360| 74 65 6d 70 5d 20 32 20 | 22 5c 0a 53 65 74 20 47 |temp] 2 |"\.Set G|
|00001370| 44 42 20 62 72 65 61 6b | 70 6f 69 6e 74 20 61 74 |DB break|point at|
|00001380| 20 74 68 69 73 20 73 6f | 75 72 63 65 20 6c 69 6e | this so|urce lin|
|00001390| 65 2e 20 20 57 69 74 68 | 20 41 52 47 20 73 65 74 |e. With| ARG set|
|000013a0| 20 74 65 6d 70 6f 72 61 | 72 79 20 62 72 65 61 6b | tempora|ry break|
|000013b0| 70 6f 69 6e 74 2e 0a 0a | 49 66 20 74 68 65 20 63 |point...|If the c|
|000013c0| 75 72 72 65 6e 74 20 62 | 75 66 66 65 72 20 69 73 |urrent b|uffer is|
|000013d0| 20 61 20 45 6e 65 72 67 | 69 7a 65 20 62 75 66 66 | a Energ|ize buff|
|000013e0| 65 72 2c 20 74 68 65 6e | 20 74 68 69 73 20 77 6f |er, then| this wo|
|000013f0| 72 6b 73 20 62 79 20 74 | 61 6c 6b 69 6e 67 20 0a |rks by t|alking .|
|00001400| 74 6f 20 74 68 65 20 73 | 65 72 76 65 72 2e 22 20 |to the s|erver." |
|00001410| 22 50 22 5d 29 0a 28 62 | 79 74 65 2d 63 6f 64 65 |"P"]).(b|yte-code|
|00001420| 20 22 c0 c1 21 ac 85 c1 | c2 4b 4d 88 c0 87 22 20 | "..!...|.KM..." |
|00001430| 5b 66 62 6f 75 6e 64 70 | 20 65 6e 65 72 67 69 7a |[fboundp| energiz|
|00001440| 65 2d 6f 72 69 67 2d 67 | 64 62 2d 73 74 65 70 20 |e-orig-g|db-step |
|00001450| 67 64 62 2d 73 74 65 70 | 5d 20 32 29 0a 28 66 73 |gdb-step|] 2).(fs|
|00001460| 65 74 20 27 67 64 62 2d | 73 74 65 70 20 23 5b 28 |et 'gdb-|step #[(|
|00001470| 61 72 67 29 20 22 c0 09 | 21 87 22 20 5b 65 6e 65 |arg) "..|!." [ene|
|00001480| 72 67 69 7a 65 2d 67 64 | 62 2d 73 74 65 70 20 61 |rgize-gd|b-step a|
|00001490| 72 67 5d 20 32 20 22 5c | 0a 53 74 65 70 20 6f 6e |rg] 2 "\|.Step on|
|000014a0| 65 20 73 6f 75 72 63 65 | 20 6c 69 6e 65 20 77 69 |e source| line wi|
|000014b0| 74 68 20 64 69 73 70 6c | 61 79 0a 0a 49 66 20 74 |th displ|ay..If t|
|000014c0| 68 65 20 63 75 72 72 65 | 6e 74 20 62 75 66 66 65 |he curre|nt buffe|
|000014d0| 72 20 69 73 20 61 20 45 | 6e 65 72 67 69 7a 65 20 |r is a E|nergize |
|000014e0| 62 75 66 66 65 72 2c 20 | 74 68 65 6e 20 74 68 69 |buffer, |then thi|
|000014f0| 73 20 77 6f 72 6b 73 20 | 62 79 20 74 61 6c 6b 69 |s works |by talki|
|00001500| 6e 67 20 74 6f 0a 74 68 | 65 20 73 65 72 76 65 72 |ng to.th|e server|
|00001510| 2e 22 20 22 70 22 5d 29 | 0a 28 62 79 74 65 2d 63 |." "p"])|.(byte-c|
|00001520| 6f 64 65 20 22 c0 c1 21 | ac 85 c1 c2 4b 4d 88 c0 |ode "..!|....KM..|
|00001530| 87 22 20 5b 66 62 6f 75 | 6e 64 70 20 65 6e 65 72 |." [fbou|ndp ener|
|00001540| 67 69 7a 65 2d 6f 72 69 | 67 2d 67 64 62 2d 73 74 |gize-ori|g-gdb-st|
|00001550| 65 70 69 20 67 64 62 2d | 73 74 65 70 69 5d 20 32 |epi gdb-|stepi] 2|
|00001560| 29 0a 28 66 73 65 74 20 | 27 67 64 62 2d 73 74 65 |).(fset |'gdb-ste|
|00001570| 70 69 20 23 5b 28 61 72 | 67 29 20 22 c0 09 21 87 |pi #[(ar|g) "..!.|
|00001580| 22 20 5b 65 6e 65 72 67 | 69 7a 65 2d 67 64 62 2d |" [energ|ize-gdb-|
|00001590| 73 74 65 70 69 20 61 72 | 67 5d 20 32 20 22 5c 0a |stepi ar|g] 2 "\.|
|000015a0| 53 74 65 70 20 6f 6e 65 | 20 69 6e 73 74 72 75 63 |Step one| instruc|
|000015b0| 74 69 6f 6e 20 77 69 74 | 68 20 64 69 73 70 6c 61 |tion wit|h displa|
|000015c0| 79 0a 0a 49 66 20 74 68 | 65 20 63 75 72 72 65 6e |y..If th|e curren|
|000015d0| 74 20 62 75 66 66 65 72 | 20 69 73 20 61 20 45 6e |t buffer| is a En|
|000015e0| 65 72 67 69 7a 65 20 62 | 75 66 66 65 72 2c 20 74 |ergize b|uffer, t|
|000015f0| 68 65 6e 20 74 68 69 73 | 20 77 6f 72 6b 73 20 62 |hen this| works b|
|00001600| 79 20 74 61 6c 6b 69 6e | 67 20 74 6f 0a 74 68 65 |y talkin|g to.the|
|00001610| 20 73 65 72 76 65 72 2e | 22 20 22 70 22 5d 29 0a | server.|" "p"]).|
|00001620| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 c1 21 ac |(byte-co|de "..!.|
|00001630| 85 c1 c2 4b 4d 88 c0 87 | 22 20 5b 66 62 6f 75 6e |...KM...|" [fboun|
|00001640| 64 70 20 65 6e 65 72 67 | 69 7a 65 2d 6f 72 69 67 |dp energ|ize-orig|
|00001650| 2d 63 6f 6d 69 6e 74 2d | 6d 61 72 6b 20 63 6f 6d |-comint-|mark com|
|00001660| 69 6e 74 2d 6d 61 72 6b | 5d 20 32 29 0a 28 66 73 |int-mark|] 2).(fs|
|00001670| 65 74 20 27 63 6f 6d 69 | 6e 74 2d 6d 61 72 6b 20 |et 'comi|nt-mark |
|00001680| 23 5b 6e 69 6c 20 22 c0 | 20 87 22 20 5b 65 6e 65 |#[nil ".| ." [ene|
|00001690| 72 67 69 7a 65 2d 63 6f | 6d 69 6e 74 2d 6d 61 72 |rgize-co|mint-mar|
|000016a0| 6b 5d 20 31 20 22 5c 0a | 52 65 74 75 72 6e 73 20 |k] 1 "\.|Returns |
|000016b0| 74 68 65 20 70 72 6f 63 | 65 73 73 2d 6d 61 72 6b |the proc|ess-mark|
|000016c0| 20 6f 66 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 | of the |current |
|000016d0| 62 75 66 66 65 72 2e 0a | 0a 54 68 69 73 20 66 75 |buffer..|.This fu|
|000016e0| 6e 63 74 69 6f 6e 20 68 | 61 73 20 62 65 65 6e 20 |nction h|as been |
|000016f0| 61 75 67 75 6d 65 6e 74 | 65 64 20 74 6f 20 77 6f |augument|ed to wo|
|00001700| 72 6b 20 77 69 74 68 20 | 45 6e 65 72 67 69 7a 65 |rk with |Energize|
|00001710| 20 64 65 62 75 67 67 65 | 72 20 62 75 66 66 65 72 | debugge|r buffer|
|00001720| 73 2e 22 5d 29 0a 28 62 | 79 74 65 2d 63 6f 64 65 |s."]).(b|yte-code|
|00001730| 20 22 c0 c1 21 ac 85 c1 | c2 4b 4d 88 c0 87 22 20 | "..!...|.KM..." |
|00001740| 5b 66 62 6f 75 6e 64 70 | 20 65 6e 65 72 67 69 7a |[fboundp| energiz|
|00001750| 65 2d 6f 72 69 67 2d 63 | 6f 6d 69 6e 74 2d 73 65 |e-orig-c|omint-se|
|00001760| 6e 64 2d 69 6e 70 75 74 | 20 63 6f 6d 69 6e 74 2d |nd-input| comint-|
|00001770| 73 65 6e 64 2d 69 6e 70 | 75 74 5d 20 32 29 0a 28 |send-inp|ut] 2).(|
|00001780| 66 73 65 74 20 27 63 6f | 6d 69 6e 74 2d 73 65 6e |fset 'co|mint-sen|
|00001790| 64 2d 69 6e 70 75 74 20 | 23 5b 6e 69 6c 20 22 c0 |d-input |#[nil ".|
|000017a0| 20 87 22 20 5b 65 6e 65 | 72 67 69 7a 65 2d 63 6f | ." [ene|rgize-co|
|000017b0| 6d 69 6e 74 2d 73 65 6e | 64 2d 69 6e 70 75 74 5d |mint-sen|d-input]|
|000017c0| 20 31 20 22 5c 0a 53 65 | 6e 64 20 69 6e 70 75 74 | 1 "\.Se|nd input|
|000017d0| 20 74 6f 20 70 72 6f 63 | 65 73 73 2e 20 20 41 66 | to proc|ess. Af|
|000017e0| 74 65 72 20 74 68 65 20 | 70 72 6f 63 65 73 73 20 |ter the |process |
|000017f0| 6f 75 74 70 75 74 20 6d | 61 72 6b 2c 20 73 65 6e |output m|ark, sen|
|00001800| 64 73 20 61 6c 6c 20 74 | 65 78 74 0a 66 72 6f 6d |ds all t|ext.from|
|00001810| 20 74 68 65 20 70 72 6f | 63 65 73 73 20 6d 61 72 | the pro|cess mar|
|00001820| 6b 20 74 6f 20 70 6f 69 | 6e 74 20 61 73 20 69 6e |k to poi|nt as in|
|00001830| 70 75 74 20 74 6f 20 74 | 68 65 20 70 72 6f 63 65 |put to t|he proce|
|00001840| 73 73 2e 20 20 42 65 66 | 6f 72 65 20 74 68 65 0a |ss. Bef|ore the.|
|00001850| 70 72 6f 63 65 73 73 20 | 6f 75 74 70 75 74 20 6d |process |output m|
|00001860| 61 72 6b 2c 20 63 61 6c | 6c 73 20 76 61 6c 75 65 |ark, cal|ls value|
|00001870| 20 6f 66 20 76 61 72 69 | 61 62 6c 65 20 63 6f 6d | of vari|able com|
|00001880| 69 6e 74 2d 67 65 74 2d | 6f 6c 64 2d 69 6e 70 75 |int-get-|old-inpu|
|00001890| 74 20 74 6f 20 72 65 74 | 72 69 65 76 65 0a 6f 6c |t to ret|rieve.ol|
|000018a0| 64 20 69 6e 70 75 74 2c | 20 63 6f 70 69 65 73 20 |d input,| copies |
|000018b0| 69 74 20 74 6f 20 74 68 | 65 20 65 6e 64 20 6f 66 |it to th|e end of|
|000018c0| 20 74 68 65 20 62 75 66 | 66 65 72 2c 20 61 6e 64 | the buf|fer, and|
|000018d0| 20 73 65 6e 64 73 20 69 | 74 2e 20 20 41 20 74 65 | sends i|t. A te|
|000018e0| 72 6d 69 6e 61 6c 0a 6e | 65 77 6c 69 6e 65 20 69 |rminal.n|ewline i|
|000018f0| 73 20 61 6c 73 6f 20 69 | 6e 73 65 72 74 65 64 20 |s also i|nserted |
|00001900| 69 6e 74 6f 20 74 68 65 | 20 62 75 66 66 65 72 20 |into the| buffer |
|00001910| 61 6e 64 20 73 65 6e 74 | 20 74 6f 20 74 68 65 20 |and sent| to the |
|00001920| 70 72 6f 63 65 73 73 2e | 20 20 49 6e 20 65 69 74 |process.| In eit|
|00001930| 68 65 72 0a 63 61 73 65 | 2c 20 76 61 6c 75 65 20 |her.case|, value |
|00001940| 6f 66 20 76 61 72 69 61 | 62 6c 65 20 63 6f 6d 69 |of varia|ble comi|
|00001950| 6e 74 2d 69 6e 70 75 74 | 2d 73 65 6e 74 69 6e 65 |nt-input|-sentine|
|00001960| 6c 20 69 73 20 63 61 6c | 6c 65 64 20 6f 6e 20 74 |l is cal|led on t|
|00001970| 68 65 20 69 6e 70 75 74 | 20 62 65 66 6f 72 65 0a |he input| before.|
|00001980| 73 65 6e 64 69 6e 67 20 | 69 74 2e 20 20 54 68 65 |sending |it. The|
|00001990| 20 69 6e 70 75 74 20 69 | 73 20 65 6e 74 65 72 65 | input i|s entere|
|000019a0| 64 20 69 6e 74 6f 20 74 | 68 65 20 69 6e 70 75 74 |d into t|he input|
|000019b0| 20 68 69 73 74 6f 72 79 | 20 72 69 6e 67 2c 20 69 | history| ring, i|
|000019c0| 66 20 76 61 6c 75 65 20 | 6f 66 0a 76 61 72 69 61 |f value |of.varia|
|000019d0| 62 6c 65 20 63 6f 6d 69 | 6e 74 2d 69 6e 70 75 74 |ble comi|nt-input|
|000019e0| 2d 66 69 6c 74 65 72 20 | 72 65 74 75 72 6e 73 20 |-filter |returns |
|000019f0| 6e 6f 6e 2d 6e 69 6c 20 | 77 68 65 6e 20 63 61 6c |non-nil |when cal|
|00001a00| 6c 65 64 20 6f 6e 20 74 | 68 65 20 69 6e 70 75 74 |led on t|he input|
|00001a10| 2e 0a 0a 49 66 20 76 61 | 72 69 61 62 6c 65 20 63 |...If va|riable c|
|00001a20| 6f 6d 69 6e 74 2d 65 6f | 6c 2d 6f 6e 2d 73 65 6e |omint-eo|l-on-sen|
|00001a30| 64 20 69 73 20 6e 6f 6e | 2d 6e 69 6c 2c 20 74 68 |d is non|-nil, th|
|00001a40| 65 6e 20 70 6f 69 6e 74 | 20 69 73 20 6d 6f 76 65 |en point| is move|
|00001a50| 64 20 74 6f 20 74 68 65 | 20 65 6e 64 20 6f 66 0a |d to the| end of.|
|00001a60| 6c 69 6e 65 20 62 65 66 | 6f 72 65 20 73 65 6e 64 |line bef|ore send|
|00001a70| 69 6e 67 20 74 68 65 20 | 69 6e 70 75 74 2e 0a 0a |ing the |input...|
|00001a80| 63 6f 6d 69 6e 74 2d 67 | 65 74 2d 6f 6c 64 2d 69 |comint-g|et-old-i|
|00001a90| 6e 70 75 74 2c 20 63 6f | 6d 69 6e 74 2d 69 6e 70 |nput, co|mint-inp|
|00001aa0| 75 74 2d 73 65 6e 74 69 | 6e 65 6c 2c 20 61 6e 64 |ut-senti|nel, and|
|00001ab0| 20 63 6f 6d 69 6e 74 2d | 69 6e 70 75 74 2d 66 69 | comint-|input-fi|
|00001ac0| 6c 74 65 72 20 61 72 65 | 20 63 68 6f 73 65 6e 0a |lter are| chosen.|
|00001ad0| 61 63 63 6f 72 64 69 6e | 67 20 74 6f 20 74 68 65 |accordin|g to the|
|00001ae0| 20 63 6f 6d 6d 61 6e 64 | 20 69 6e 74 65 72 70 72 | command| interpr|
|00001af0| 65 74 65 72 20 72 75 6e | 6e 69 6e 67 20 69 6e 20 |eter run|ning in |
|00001b00| 74 68 65 20 62 75 66 66 | 65 72 2e 20 45 2e 67 2e |the buff|er. E.g.|
|00001b10| 2c 0a 49 66 20 74 68 65 | 20 69 6e 74 65 72 70 72 |,.If the| interpr|
|00001b20| 65 74 65 72 20 69 73 20 | 74 68 65 20 63 73 68 2c |eter is |the csh,|
|00001b30| 0a 20 20 20 20 63 6f 6d | 69 6e 74 2d 67 65 74 2d |. com|int-get-|
|00001b40| 6f 6c 64 2d 69 6e 70 75 | 74 20 69 73 20 74 68 65 |old-inpu|t is the|
|00001b50| 20 64 65 66 61 75 6c 74 | 3a 20 74 61 6b 65 20 74 | default|: take t|
|00001b60| 68 65 20 63 75 72 72 65 | 6e 74 20 6c 69 6e 65 2c |he curre|nt line,|
|00001b70| 20 64 69 73 63 61 72 64 | 20 61 6e 79 0a 20 20 20 | discard| any. |
|00001b80| 20 20 20 20 20 69 6e 69 | 74 69 61 6c 20 73 74 72 | ini|tial str|
|00001b90| 69 6e 67 20 6d 61 74 63 | 68 69 6e 67 20 72 65 67 |ing matc|hing reg|
|00001ba0| 65 78 70 20 63 6f 6d 69 | 6e 74 2d 70 72 6f 6d 70 |exp comi|nt-promp|
|00001bb0| 74 2d 72 65 67 65 78 70 | 2e 0a 20 20 20 20 63 6f |t-regexp|.. co|
|00001bc0| 6d 69 6e 74 2d 69 6e 70 | 75 74 2d 73 65 6e 74 69 |mint-inp|ut-senti|
|00001bd0| 6e 65 6c 20 6d 6f 6e 69 | 74 6f 72 73 20 69 6e 70 |nel moni|tors inp|
|00001be0| 75 74 20 66 6f 72 20 5c | 22 63 64 5c 22 2c 20 5c |ut for \|"cd\", \|
|00001bf0| 22 70 75 73 68 64 5c 22 | 2c 20 61 6e 64 20 5c 22 |"pushd\"|, and \"|
|00001c00| 70 6f 70 64 5c 22 20 0a | 20 20 20 20 20 20 20 20 |popd\" .| |
|00001c10| 63 6f 6d 6d 61 6e 64 73 | 2e 20 57 68 65 6e 20 69 |commands|. When i|
|00001c20| 74 20 73 65 65 73 20 6f | 6e 65 2c 20 69 74 20 63 |t sees o|ne, it c|
|00001c30| 64 27 73 20 74 68 65 20 | 62 75 66 66 65 72 2e 0a |d's the |buffer..|
|00001c40| 20 20 20 20 63 6f 6d 69 | 6e 74 2d 69 6e 70 75 74 | comi|nt-input|
|00001c50| 2d 66 69 6c 74 65 72 20 | 69 73 20 74 68 65 20 64 |-filter |is the d|
|00001c60| 65 66 61 75 6c 74 3a 20 | 72 65 74 75 72 6e 73 20 |efault: |returns |
|00001c70| 54 20 69 66 20 74 68 65 | 20 69 6e 70 75 74 20 69 |T if the| input i|
|00001c80| 73 6e 27 74 20 61 6c 6c | 20 77 68 69 74 65 0a 09 |sn't all| white..|
|00001c90| 73 70 61 63 65 2e 0a 0a | 49 66 20 74 68 65 20 63 |space...|If the c|
|00001ca0| 6f 6d 69 6e 74 20 69 73 | 20 4c 75 63 69 64 20 43 |omint is| Lucid C|
|00001cb0| 6f 6d 6d 6f 6e 20 4c 69 | 73 70 2c 20 0a 20 20 20 |ommon Li|sp, . |
|00001cc0| 20 63 6f 6d 69 6e 74 2d | 67 65 74 2d 6f 6c 64 2d | comint-|get-old-|
|00001cd0| 69 6e 70 75 74 20 73 6e | 61 72 66 73 20 74 68 65 |input sn|arfs the|
|00001ce0| 20 73 65 78 70 20 65 6e | 64 69 6e 67 20 61 74 20 | sexp en|ding at |
|00001cf0| 70 6f 69 6e 74 2e 0a 20 | 20 20 20 63 6f 6d 69 6e |point.. | comin|
|00001d00| 74 2d 69 6e 70 75 74 2d | 73 65 6e 74 69 6e 65 6c |t-input-|sentinel|
|00001d10| 20 64 6f 65 73 20 6e 6f | 74 68 69 6e 67 2e 0a 20 | does no|thing.. |
|00001d20| 20 20 20 63 6f 6d 69 6e | 74 2d 69 6e 70 75 74 2d | comin|t-input-|
|00001d30| 66 69 6c 74 65 72 20 72 | 65 74 75 72 6e 73 20 4e |filter r|eturns N|
|00001d40| 49 4c 20 69 66 20 74 68 | 65 20 69 6e 70 75 74 20 |IL if th|e input |
|00001d50| 6d 61 74 63 68 65 73 20 | 69 6e 70 75 74 2d 66 69 |matches |input-fi|
|00001d60| 6c 74 65 72 2d 72 65 67 | 65 78 70 2c 0a 20 20 20 |lter-reg|exp,. |
|00001d70| 20 20 20 20 20 77 68 69 | 63 68 20 6d 61 74 63 68 | whi|ch match|
|00001d80| 65 73 20 28 31 29 20 61 | 6c 6c 20 77 68 69 74 65 |es (1) a|ll white|
|00001d90| 73 70 61 63 65 20 28 32 | 29 20 3a 61 2c 20 3a 63 |space (2|) :a, :c|
|00001da0| 2c 20 65 74 63 2e 0a 0a | 53 69 6d 69 6c 61 72 6c |, etc...|Similarl|
|00001db0| 79 20 66 6f 72 20 53 6f | 61 72 2c 20 53 63 68 65 |y for So|ar, Sche|
|00001dc0| 6d 65 2c 20 65 74 63 2e | 2e 0a 0a 54 68 69 73 20 |me, etc.|...This |
|00001dd0| 66 75 6e 63 74 69 6f 6e | 20 68 61 73 20 62 65 65 |function| has bee|
|00001de0| 6e 20 61 75 67 75 6d 65 | 6e 74 65 64 20 74 6f 20 |n augume|nted to |
|00001df0| 77 6f 72 6b 20 77 69 74 | 68 20 45 6e 65 72 67 69 |work wit|h Energi|
|00001e00| 7a 65 20 64 65 62 75 67 | 67 65 72 20 62 75 66 66 |ze debug|ger buff|
|00001e10| 65 72 73 2e 22 20 6e 69 | 6c 5d 29 0a |ers." ni|l]). |
+--------+-------------------------+-------------------------+--------+--------+