home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1993-07-05 | 2.7 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
1%
| dexvert
| Combustion 2 Particle Library (other/combustion2ParticleLibrary)
| ext
| Unsupported |
100%
| file
| Emacs/XEmacs v19 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
| |
100%
| xdgMime
| text/x-emacs-lisp
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 69 6d 62 40 67 65 |piled by| jimb@ge|
|00000020| 65 63 68 2e 67 6e 75 2e | 61 69 2e 6d 69 74 2e 65 |ech.gnu.|ai.mit.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 4a 75 6c 20 20 36 |du on Tu|e Jul 6|
|00000040| 20 30 30 3a 31 32 3a 31 | 36 20 31 39 39 33 0a 3b | 00:12:1|6 1993.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 67 64 |;; from |file /gd|
|00000060| 2f 67 6e 75 2f 65 6d 61 | 63 73 2f 31 39 2e 30 2f |/gnu/ema|cs/19.0/|
|00000070| 6c 69 73 70 2f 74 71 2e | 65 6c 0a 3b 3b 3b 20 65 |lisp/tq.|el.;;; e|
|00000080| 6d 61 63 73 20 76 65 72 | 73 69 6f 6e 20 31 39 2e |macs ver|sion 19.|
|00000090| 31 35 2e 31 36 2e 0a 3b | 3b 3b 20 62 79 74 65 63 |15.16..;|;; bytec|
|000000a0| 6f 6d 70 20 76 65 72 73 | 69 6f 6e 20 46 53 46 20 |omp vers|ion FSF |
|000000b0| 32 2e 31 30 0a 3b 3b 3b | 20 6f 70 74 69 6d 69 7a |2.10.;;;| optimiz|
|000000c0| 61 74 69 6f 6e 20 69 73 | 20 6f 6e 2e 0a 3b 3b 3b |ation is| on..;;;|
|000000d0| 20 74 68 69 73 20 66 69 | 6c 65 20 75 73 65 73 20 | this fi|le uses |
|000000e0| 6f 70 63 6f 64 65 73 20 | 77 68 69 63 68 20 64 6f |opcodes |which do|
|000000f0| 20 6e 6f 74 20 65 78 69 | 73 74 20 69 6e 20 45 6d | not exi|st in Em|
|00000100| 61 63 73 20 31 38 2e 0a | 0a 28 69 66 20 28 61 6e |acs 18..|.(if (an|
|00000110| 64 20 28 62 6f 75 6e 64 | 70 20 27 65 6d 61 63 73 |d (bound|p 'emacs|
|00000120| 2d 76 65 72 73 69 6f 6e | 29 0a 09 20 28 6f 72 20 |-version|).. (or |
|00000130| 28 61 6e 64 20 28 62 6f | 75 6e 64 70 20 27 65 70 |(and (bo|undp 'ep|
|00000140| 6f 63 68 3a 3a 76 65 72 | 73 69 6f 6e 29 20 65 70 |och::ver|sion) ep|
|00000150| 6f 63 68 3a 3a 76 65 72 | 73 69 6f 6e 29 0a 09 20 |och::ver|sion).. |
|00000160| 20 20 20 20 28 73 74 72 | 69 6e 67 2d 6c 65 73 73 | (str|ing-less|
|00000170| 70 20 65 6d 61 63 73 2d | 76 65 72 73 69 6f 6e 20 |p emacs-|version |
|00000180| 22 31 39 22 29 29 29 0a | 20 20 20 20 28 65 72 72 |"19"))).| (err|
|00000190| 6f 72 20 22 54 68 69 73 | 20 66 69 6c 65 20 77 61 |or "This| file wa|
|000001a0| 73 20 63 6f 6d 70 69 6c | 65 64 20 66 6f 72 20 45 |s compil|ed for E|
|000001b0| 6d 61 63 73 20 31 39 22 | 29 29 0a 0a 28 64 65 66 |macs 19"|))..(def|
|000001c0| 61 6c 69 61 73 20 27 74 | 71 2d 63 72 65 61 74 65 |alias 't|q-create|
|000001d0| 20 23 5b 28 70 72 6f 63 | 65 73 73 29 20 22 c0 09 | #[(proc|ess) "..|
|000001e0| c2 c3 c4 09 21 50 21 42 | 42 1d c6 09 c7 c8 c9 ca |....!P!B|B.......|
|000001f0| 0d 44 cb 45 45 5c 22 88 | 0d 29 87 22 20 5b 6e 69 |.D.EE\".|.)." [ni|
|00000200| 6c 20 70 72 6f 63 65 73 | 73 20 67 65 6e 65 72 61 |l proces|s genera|
|00000210| 74 65 2d 6e 65 77 2d 62 | 75 66 66 65 72 20 22 20 |te-new-b|uffer " |
|00000220| 74 71 2d 74 65 6d 70 2d | 22 20 70 72 6f 63 65 73 |tq-temp-|" proces|
|00000230| 73 2d 6e 61 6d 65 20 74 | 71 20 73 65 74 2d 70 72 |s-name t|q set-pr|
|00000240| 6f 63 65 73 73 2d 66 69 | 6c 74 65 72 20 6c 61 6d |ocess-fi|lter lam|
|00000250| 62 64 61 20 28 70 72 6f | 63 20 73 74 72 69 6e 67 |bda (pro|c string|
|00000260| 29 20 74 71 2d 66 69 6c | 74 65 72 20 71 75 6f 74 |) tq-fil|ter quot|
|00000270| 65 20 73 74 72 69 6e 67 | 5d 20 37 20 22 5c 0a 43 |e string|] 7 "\.C|
|00000280| 72 65 61 74 65 20 61 6e | 64 20 72 65 74 75 72 6e |reate an|d return|
|00000290| 20 61 20 74 72 61 6e 73 | 61 63 74 69 6f 6e 20 71 | a trans|action q|
|000002a0| 75 65 75 65 20 63 6f 6d | 6d 75 6e 69 63 61 74 69 |ueue com|municati|
|000002b0| 6e 67 20 77 69 74 68 20 | 50 52 4f 43 45 53 53 2e |ng with |PROCESS.|
|000002c0| 0a 50 52 4f 43 45 53 53 | 20 73 68 6f 75 6c 64 20 |.PROCESS| should |
|000002d0| 62 65 20 61 20 73 75 62 | 70 72 6f 63 65 73 73 20 |be a sub|process |
|000002e0| 63 61 70 61 62 6c 65 20 | 6f 66 20 73 65 6e 64 69 |capable |of sendi|
|000002f0| 6e 67 20 61 6e 64 20 72 | 65 63 65 69 76 69 6e 67 |ng and r|eceiving|
|00000300| 0a 73 74 72 65 61 6d 73 | 20 6f 66 20 62 79 74 65 |.streams| of byte|
|00000310| 73 2e 20 20 49 74 20 6d | 61 79 20 62 65 20 61 20 |s. It m|ay be a |
|00000320| 6c 6f 63 61 6c 20 70 72 | 6f 63 65 73 73 2c 20 6f |local pr|ocess, o|
|00000330| 72 20 69 74 20 6d 61 79 | 20 62 65 20 63 6f 6e 6e |r it may| be conn|
|00000340| 65 63 74 65 64 0a 74 6f | 20 61 20 74 63 70 20 73 |ected.to| a tcp s|
|00000350| 65 72 76 65 72 20 6f 6e | 20 61 6e 6f 74 68 65 72 |erver on| another|
|00000360| 20 6d 61 63 68 69 6e 65 | 2e 22 5d 29 0a 28 62 79 | machine|."]).(by|
|00000370| 74 65 2d 63 6f 64 65 20 | 22 c0 c1 c2 5c 22 88 c0 |te-code |"...\"..|
|00000380| c3 c4 5c 22 88 c0 c5 c6 | 5c 22 88 c0 c7 c8 5c 22 |..\"....|\"....\"|
|00000390| 88 c0 c9 ca 5c 22 88 c0 | cb cc 5c 22 88 c0 cd ce |....\"..|..\"....|
|000003a0| 5c 22 88 c0 cf d0 5c 22 | 88 c0 d1 d2 5c 22 87 22 |\"....\"|....\"."|
|000003b0| 20 5b 64 65 66 61 6c 69 | 61 73 20 74 71 2d 71 75 | [defali|as tq-qu|
|000003c0| 65 75 65 20 23 5b 28 74 | 71 29 20 22 08 40 87 22 |eue #[(t|q) ".@."|
|000003d0| 20 5b 74 71 5d 20 31 5d | 20 74 71 2d 70 72 6f 63 | [tq] 1]| tq-proc|
|000003e0| 65 73 73 20 23 5b 28 74 | 71 29 20 22 08 41 40 87 |ess #[(t|q) ".A@.|
|000003f0| 22 20 5b 74 71 5d 20 31 | 5d 20 74 71 2d 62 75 66 |" [tq] 1|] tq-buf|
|00000400| 66 65 72 20 23 5b 28 74 | 71 29 20 22 08 41 41 87 |fer #[(t|q) ".AA.|
|00000410| 22 20 5b 74 71 5d 20 31 | 5d 20 74 71 2d 71 75 65 |" [tq] 1|] tq-que|
|00000420| 75 65 2d 61 64 64 20 23 | 5b 28 74 71 20 72 65 20 |ue-add #|[(tq re |
|00000430| 63 6c 6f 73 75 72 65 20 | 66 6e 29 20 22 08 c1 08 |closure |fn) "...|
|00000440| 21 5c 6e 0b 0c 42 42 c5 | 42 a4 a0 88 c6 87 22 20 |!\n..BB.|B....." |
|00000450| 5b 74 71 20 74 71 2d 71 | 75 65 75 65 20 72 65 20 |[tq tq-q|ueue re |
|00000460| 63 6c 6f 73 75 72 65 20 | 66 6e 20 6e 69 6c 20 6f |closure |fn nil o|
|00000470| 6b 5d 20 35 5d 20 74 71 | 2d 71 75 65 75 65 2d 68 |k] 5] tq|-queue-h|
|00000480| 65 61 64 2d 72 65 67 65 | 78 70 20 23 5b 28 74 71 |ead-rege|xp #[(tq|
|00000490| 29 20 22 c0 09 21 40 40 | 87 22 20 5b 74 71 2d 71 |) "..!@@|." [tq-q|
|000004a0| 75 65 75 65 20 74 71 5d | 20 32 5d 20 74 71 2d 71 |ueue tq]| 2] tq-q|
|000004b0| 75 65 75 65 2d 68 65 61 | 64 2d 66 6e 20 23 5b 28 |ueue-hea|d-fn #[(|
|000004c0| 74 71 29 20 22 c0 09 21 | 40 41 41 87 22 20 5b 74 |tq) "..!|@AA." [t|
|000004d0| 71 2d 71 75 65 75 65 20 | 74 71 5d 20 32 5d 20 74 |q-queue |tq] 2] t|
|000004e0| 71 2d 71 75 65 75 65 2d | 68 65 61 64 2d 63 6c 6f |q-queue-|head-clo|
|000004f0| 73 75 72 65 20 23 5b 28 | 74 71 29 20 22 c0 09 21 |sure #[(|tq) "..!|
|00000500| 40 41 40 87 22 20 5b 74 | 71 2d 71 75 65 75 65 20 |@A@." [t|q-queue |
|00000510| 74 71 5d 20 32 5d 20 74 | 71 2d 71 75 65 75 65 2d |tq] 2] t|q-queue-|
|00000520| 65 6d 70 74 79 20 23 5b | 28 74 71 29 20 22 c0 09 |empty #[|(tq) "..|
|00000530| 21 3f 87 22 20 5b 74 71 | 2d 71 75 65 75 65 20 74 |!?." [tq|-queue t|
|00000540| 71 5d 20 32 5d 20 74 71 | 2d 71 75 65 75 65 2d 70 |q] 2] tq|-queue-p|
|00000550| 6f 70 20 23 5b 28 74 71 | 29 20 22 08 89 40 41 a0 |op #[(tq|) "..@A.|
|00000560| 88 08 40 3f 87 22 20 5b | 74 71 5d 20 32 5d 5d 20 |..@?." [|tq] 2]] |
|00000570| 33 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 74 71 |3).(defa|lias 'tq|
|00000580| 2d 65 6e 71 75 65 75 65 | 20 23 5b 28 74 71 20 71 |-enqueue| #[(tq q|
|00000590| 75 65 73 74 69 6f 6e 20 | 72 65 67 65 78 70 20 63 |uestion |regexp c|
|000005a0| 6c 6f 73 75 72 65 20 66 | 6e 29 20 22 c0 09 5c 6e |losure f|n) "..\n|
|000005b0| 0b 0c 24 88 c5 c6 09 21 | 0e 07 5c 22 87 22 20 5b |..$....!|..\"." [|
|000005c0| 74 71 2d 71 75 65 75 65 | 2d 61 64 64 20 74 71 20 |tq-queue|-add tq |
|000005d0| 72 65 67 65 78 70 20 63 | 6c 6f 73 75 72 65 20 66 |regexp c|losure f|
|000005e0| 6e 20 70 72 6f 63 65 73 | 73 2d 73 65 6e 64 2d 73 |n proces|s-send-s|
|000005f0| 74 72 69 6e 67 20 74 71 | 2d 70 72 6f 63 65 73 73 |tring tq|-process|
|00000600| 20 71 75 65 73 74 69 6f | 6e 5d 20 35 20 22 5c 0a | questio|n] 5 "\.|
|00000610| 41 64 64 20 61 20 74 72 | 61 6e 73 61 63 74 69 6f |Add a tr|ansactio|
|00000620| 6e 20 74 6f 20 74 72 61 | 6e 73 61 63 74 69 6f 6e |n to tra|nsaction|
|00000630| 20 71 75 65 75 65 20 54 | 51 2e 0a 54 68 69 73 20 | queue T|Q..This |
|00000640| 73 65 6e 64 73 20 74 68 | 65 20 73 74 72 69 6e 67 |sends th|e string|
|00000650| 20 51 55 45 53 54 49 4f | 4e 20 74 6f 20 74 68 65 | QUESTIO|N to the|
|00000660| 20 70 72 6f 63 65 73 73 | 20 74 68 61 74 20 54 51 | process| that TQ|
|00000670| 20 63 6f 6d 6d 75 6e 69 | 63 61 74 65 73 20 77 69 | communi|cates wi|
|00000680| 74 68 2e 0a 57 68 65 6e | 20 74 68 65 20 63 6f 72 |th..When| the cor|
|00000690| 72 65 73 70 6f 6e 64 69 | 6e 67 20 61 6e 73 77 65 |respondi|ng answe|
|000006a0| 72 20 63 6f 6d 65 73 20 | 62 61 63 6b 2c 20 77 65 |r comes |back, we|
|000006b0| 20 63 61 6c 6c 20 46 4e | 0a 77 69 74 68 20 74 77 | call FN|.with tw|
|000006c0| 6f 20 61 72 67 75 6d 65 | 6e 74 73 3a 20 43 4c 4f |o argume|nts: CLO|
|000006d0| 53 55 52 45 2c 20 61 6e | 64 20 74 68 65 20 61 6e |SURE, an|d the an|
|000006e0| 73 77 65 72 20 74 6f 20 | 74 68 65 20 71 75 65 73 |swer to |the ques|
|000006f0| 74 69 6f 6e 2e 0a 52 45 | 47 45 58 50 20 69 73 20 |tion..RE|GEXP is |
|00000700| 61 20 72 65 67 75 6c 61 | 72 20 65 78 70 72 65 73 |a regula|r expres|
|00000710| 73 69 6f 6e 20 74 6f 20 | 6d 61 74 63 68 20 74 68 |sion to |match th|
|00000720| 65 20 65 6e 74 69 72 65 | 20 61 6e 73 77 65 72 3b |e entire| answer;|
|00000730| 0a 74 68 61 74 27 73 20 | 68 6f 77 20 77 65 20 74 |.that's |how we t|
|00000740| 65 6c 6c 20 77 68 65 72 | 65 20 74 68 65 20 61 6e |ell wher|e the an|
|00000750| 73 77 65 72 20 65 6e 64 | 73 2e 22 5d 29 0a 28 64 |swer end|s."]).(d|
|00000760| 65 66 61 6c 69 61 73 20 | 27 74 71 2d 63 6c 6f 73 |efalias |'tq-clos|
|00000770| 65 20 23 5b 28 74 71 29 | 20 22 c0 c1 5c 6e 21 21 |e #[(tq)| "..\n!!|
|00000780| 88 c3 c4 5c 6e 21 21 87 | 22 20 5b 64 65 6c 65 74 |...\n!!.|" [delet|
|00000790| 65 2d 70 72 6f 63 65 73 | 73 20 74 71 2d 70 72 6f |e-proces|s tq-pro|
|000007a0| 63 65 73 73 20 74 71 20 | 6b 69 6c 6c 2d 62 75 66 |cess tq |kill-buf|
|000007b0| 66 65 72 20 74 71 2d 62 | 75 66 66 65 72 5d 20 33 |fer tq-b|uffer] 3|
|000007c0| 20 22 5c 0a 53 68 75 74 | 20 64 6f 77 6e 20 74 72 | "\.Shut| down tr|
|000007d0| 61 6e 73 61 63 74 69 6f | 6e 20 71 75 65 75 65 20 |ansactio|n queue |
|000007e0| 54 51 2c 20 74 65 72 6d | 69 6e 61 74 69 6e 67 20 |TQ, term|inating |
|000007f0| 74 68 65 20 70 72 6f 63 | 65 73 73 2e 22 5d 29 0a |the proc|ess."]).|
|00000800| 28 64 65 66 61 6c 69 61 | 73 20 27 74 71 2d 66 69 |(defalia|s 'tq-fi|
|00000810| 6c 74 65 72 20 23 5b 28 | 74 71 20 73 74 72 69 6e |lter #[(|tq strin|
|00000820| 67 29 20 22 c0 09 21 71 | 88 64 62 88 5c 6e 63 88 |g) "..!q|.db.\nc.|
|00000830| c3 09 21 87 22 20 5b 74 | 71 2d 62 75 66 66 65 72 |..!." [t|q-buffer|
|00000840| 20 74 71 20 73 74 72 69 | 6e 67 20 74 71 2d 70 72 | tq stri|ng tq-pr|
|00000850| 6f 63 65 73 73 2d 62 75 | 66 66 65 72 5d 20 32 20 |ocess-bu|ffer] 2 |
|00000860| 22 5c 0a 41 70 70 65 6e | 64 20 53 54 52 49 4e 47 |"\.Appen|d STRING|
|00000870| 20 74 6f 20 74 68 65 20 | 54 51 27 73 20 62 75 66 | to the |TQ's buf|
|00000880| 66 65 72 3b 20 74 68 65 | 6e 20 70 72 6f 63 65 73 |fer; the|n proces|
|00000890| 73 20 74 68 65 20 6e 65 | 77 20 64 61 74 61 2e 22 |s the ne|w data."|
|000008a0| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 74 71 |]).(defa|lias 'tq|
|000008b0| 2d 70 72 6f 63 65 73 73 | 2d 62 75 66 66 65 72 20 |-process|-buffer |
|000008c0| 23 5b 28 74 71 29 20 22 | c0 09 21 71 88 c2 20 c3 |#[(tq) "|..!q.. .|
|000008d0| 55 3f 85 5d 00 c4 09 21 | 83 35 00 c5 c6 21 1e 07 |U?.]...!|.5...!..|
|000008e0| c8 0e 07 65 64 23 88 65 | 60 7c 88 c9 0e 07 ca 5c |...ed#.e|`|.....\|
|000008f0| 22 88 cb cc cd ce 09 21 | 21 cf 51 21 29 87 65 62 |"......!|!.Q!).eb|
|00000900| 88 d0 d1 09 21 ca d2 23 | 85 5d 00 65 60 7b 1e 13 |....!..#|.].e`{..|
|00000910| 65 60 7c 88 d4 09 21 d5 | 09 21 0e 13 5c 22 88 d6 |e`|...!.|.!..\"..|
|00000920| 09 21 88 d7 09 21 29 87 | 22 20 5b 74 71 2d 62 75 |.!...!).|" [tq-bu|
|00000930| 66 66 65 72 20 74 71 20 | 62 75 66 66 65 72 2d 73 |ffer tq |buffer-s|
|00000940| 69 7a 65 20 30 20 74 71 | 2d 71 75 65 75 65 2d 65 |ize 0 tq|-queue-e|
|00000950| 6d 70 74 79 20 67 65 6e | 65 72 61 74 65 2d 6e 65 |mpty gen|erate-ne|
|00000960| 77 2d 62 75 66 66 65 72 | 20 22 2a 73 70 75 72 69 |w-buffer| "*spuri|
|00000970| 6f 75 73 2a 22 20 62 75 | 66 20 63 6f 70 79 2d 74 |ous*" bu|f copy-t|
|00000980| 6f 2d 62 75 66 66 65 72 | 20 70 6f 70 2d 74 6f 2d |o-buffer| pop-to-|
|00000990| 62 75 66 66 65 72 20 6e | 69 6c 20 65 72 72 6f 72 |buffer n|il error|
|000009a0| 20 22 53 70 75 72 69 6f | 75 73 20 63 6f 6d 6d 75 | "Spurio|us commu|
|000009b0| 6e 69 63 61 74 69 6f 6e | 20 66 72 6f 6d 20 70 72 |nication| from pr|
|000009c0| 6f 63 65 73 73 20 22 20 | 70 72 6f 63 65 73 73 2d |ocess " |process-|
|000009d0| 6e 61 6d 65 20 74 71 2d | 70 72 6f 63 65 73 73 20 |name tq-|process |
|000009e0| 22 2c 20 73 65 65 20 62 | 75 66 66 65 72 20 2a 73 |", see b|uffer *s|
|000009f0| 70 75 72 69 6f 75 73 2a | 2e 22 20 72 65 2d 73 65 |purious*|." re-se|
|00000a00| 61 72 63 68 2d 66 6f 72 | 77 61 72 64 20 74 71 2d |arch-for|ward tq-|
|00000a10| 71 75 65 75 65 2d 68 65 | 61 64 2d 72 65 67 65 78 |queue-he|ad-regex|
|00000a20| 70 20 74 20 61 6e 73 77 | 65 72 20 74 71 2d 71 75 |p t answ|er tq-qu|
|00000a30| 65 75 65 2d 68 65 61 64 | 2d 66 6e 20 74 71 2d 71 |eue-head|-fn tq-q|
|00000a40| 75 65 75 65 2d 68 65 61 | 64 2d 63 6c 6f 73 75 72 |ueue-hea|d-closur|
|00000a50| 65 20 74 71 2d 71 75 65 | 75 65 2d 70 6f 70 20 74 |e tq-que|ue-pop t|
|00000a60| 71 2d 70 72 6f 63 65 73 | 73 2d 62 75 66 66 65 72 |q-proces|s-buffer|
|00000a70| 5d 20 35 20 22 5c 0a 43 | 68 65 63 6b 20 54 51 27 |] 5 "\.C|heck TQ'|
|00000a80| 73 20 62 75 66 66 65 72 | 20 66 6f 72 20 74 68 65 |s buffer| for the|
|00000a90| 20 72 65 67 65 78 70 20 | 61 74 20 74 68 65 20 68 | regexp |at the h|
|00000aa0| 65 61 64 20 6f 66 20 74 | 68 65 20 71 75 65 75 65 |ead of t|he queue|
|00000ab0| 2e 22 5d 29 0a 28 70 72 | 6f 76 69 64 65 20 28 71 |."]).(pr|ovide (q|
|00000ac0| 75 6f 74 65 20 74 71 29 | 29 0a |uote tq)|). |
+--------+-------------------------+-------------------------+--------+--------+