home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / emacs-19.16 / lisp / uncompress.elc < prev    next >
Emacs Compiled Lisp  |  1993-07-05  |  1.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.

ConfidenceProgramDetectionMatch TypeSupport
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 35 | 30 20 31 39 39 33 0a 3b | 00:12:5|0 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 75 6e 63 | 6f 6d 70 72 65 73 73 2e |lisp/unc|ompress.|
|00000080| 65 6c 0a 3b 3b 3b 20 65 | 6d 61 63 73 20 76 65 72 |el.;;; e|macs ver|
|00000090| 73 69 6f 6e 20 31 39 2e | 31 35 2e 31 36 2e 0a 3b |sion 19.|15.16..;|
|000000a0| 3b 3b 20 62 79 74 65 63 | 6f 6d 70 20 76 65 72 73 |;; bytec|omp vers|
|000000b0| 69 6f 6e 20 46 53 46 20 | 32 2e 31 30 0a 3b 3b 3b |ion FSF |2.10.;;;|
|000000c0| 20 6f 70 74 69 6d 69 7a | 61 74 69 6f 6e 20 69 73 | optimiz|ation is|
|000000d0| 20 6f 6e 2e 0a 3b 3b 3b | 20 74 68 69 73 20 66 69 | on..;;;| this fi|
|000000e0| 6c 65 20 75 73 65 73 20 | 6f 70 63 6f 64 65 73 20 |le uses |opcodes |
|000000f0| 77 68 69 63 68 20 64 6f | 20 6e 6f 74 20 65 78 69 |which do| not exi|
|00000100| 73 74 20 69 6e 20 45 6d | 61 63 73 20 31 38 2e 0a |st in Em|acs 18..|
|00000110| 0a 28 69 66 20 28 61 6e | 64 20 28 62 6f 75 6e 64 |.(if (an|d (bound|
|00000120| 70 20 27 65 6d 61 63 73 | 2d 76 65 72 73 69 6f 6e |p 'emacs|-version|
|00000130| 29 0a 09 20 28 6f 72 20 | 28 61 6e 64 20 28 62 6f |).. (or |(and (bo|
|00000140| 75 6e 64 70 20 27 65 70 | 6f 63 68 3a 3a 76 65 72 |undp 'ep|och::ver|
|00000150| 73 69 6f 6e 29 20 65 70 | 6f 63 68 3a 3a 76 65 72 |sion) ep|och::ver|
|00000160| 73 69 6f 6e 29 0a 09 20 | 20 20 20 20 28 73 74 72 |sion).. | (str|
|00000170| 69 6e 67 2d 6c 65 73 73 | 70 20 65 6d 61 63 73 2d |ing-less|p emacs-|
|00000180| 76 65 72 73 69 6f 6e 20 | 22 31 39 22 29 29 29 0a |version |"19"))).|
|00000190| 20 20 20 20 28 65 72 72 | 6f 72 20 22 54 68 69 73 | (err|or "This|
|000001a0| 20 66 69 6c 65 20 77 61 | 73 20 63 6f 6d 70 69 6c | file wa|s compil|
|000001b0| 65 64 20 66 6f 72 20 45 | 6d 61 63 73 20 31 39 22 |ed for E|macs 19"|
|000001c0| 29 29 0a 0a 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |))..(byt|e-code "|
|000001d0| c0 c1 c2 5c 22 88 c3 c4 | 0d 5c 22 84 10 00 c6 0d |...\"...|.\".....|
|000001e0| 42 15 c0 87 22 20 5b 64 | 65 66 61 6c 69 61 73 20 |B..." [d|efalias |
|000001f0| 75 6e 63 6f 6d 70 72 65 | 73 73 2d 62 61 63 6b 75 |uncompre|ss-backu|
|00000200| 70 2d 66 69 6c 65 20 23 | 5b 6e 69 6c 20 22 08 83 |p-file #|[nil "..|
|00000210| 1a 00 09 83 1a 00 5c 6e | 84 1a 00 c3 08 21 84 1a |......\n|.....!..|
|00000220| 00 c4 c5 c6 89 89 08 25 | 88 c6 87 22 20 5b 62 75 |.......%|..." [bu|
|00000230| 66 66 65 72 2d 66 69 6c | 65 2d 6e 61 6d 65 20 6d |ffer-fil|e-name m|
|00000240| 61 6b 65 2d 62 61 63 6b | 75 70 2d 66 69 6c 65 73 |ake-back|up-files|
|00000250| 20 62 75 66 66 65 72 2d | 62 61 63 6b 65 64 2d 75 | buffer-|backed-u|
|00000260| 70 20 66 69 6c 65 2d 65 | 78 69 73 74 73 2d 70 20 |p file-e|xists-p |
|00000270| 63 61 6c 6c 2d 70 72 6f | 63 65 73 73 20 22 75 6e |call-pro|cess "un|
|00000280| 63 6f 6d 70 72 65 73 73 | 22 20 6e 69 6c 5d 20 36 |compress|" nil] 6|
|00000290| 5d 20 61 73 73 6f 63 20 | 22 5c 5c 2e 5a 24 22 20 |] assoc |"\\.Z$" |
|000002a0| 61 75 74 6f 2d 6d 6f 64 | 65 2d 61 6c 69 73 74 20 |auto-mod|e-alist |
|000002b0| 28 22 5c 5c 2e 5a 24 22 | 20 2e 20 75 6e 63 6f 6d |("\\.Z$"| . uncom|
|000002c0| 70 72 65 73 73 2d 77 68 | 69 6c 65 2d 76 69 73 69 |press-wh|ile-visi|
|000002d0| 74 69 6e 67 29 5d 20 33 | 29 0a 28 64 65 66 61 6c |ting)] 3|).(defal|
|000002e0| 69 61 73 20 27 75 6e 63 | 6f 6d 70 72 65 73 73 2d |ias 'unc|ompress-|
|000002f0| 77 68 69 6c 65 2d 76 69 | 73 69 74 69 6e 67 20 23 |while-vi|siting #|
|00000300| 5b 6e 69 6c 20 22 08 83 | 13 00 c1 c2 08 5c 22 83 |[nil "..|.....\".|
|00000310| 13 00 c3 08 c4 89 94 4f | 21 88 c5 c6 21 88 c7 1e |.......O|!...!...|
|00000320| 08 c9 65 64 ca cb 24 88 | 29 c5 cc 21 88 cd c7 21 |..ed..$.|)..!...!|
|00000330| 88 ce cf 21 88 d0 0e 0f | 3e 84 3b 00 d0 0e 0f 42 |...!....|>.;....B|
|00000340| 16 0f d1 20 87 22 20 5b | 62 75 66 66 65 72 2d 66 |... ." [|buffer-f|
|00000350| 69 6c 65 2d 6e 61 6d 65 | 20 73 74 72 69 6e 67 2d |ile-name| string-|
|00000360| 6d 61 74 63 68 20 22 5c | 5c 2e 5a 24 22 20 73 65 |match "\|\.Z$" se|
|00000370| 74 2d 76 69 73 69 74 65 | 64 2d 66 69 6c 65 2d 6e |t-visite|d-file-n|
|00000380| 61 6d 65 20 30 20 6d 65 | 73 73 61 67 65 20 22 55 |ame 0 me|ssage "U|
|00000390| 6e 63 6f 6d 70 72 65 73 | 73 69 6e 67 2e 2e 2e 22 |ncompres|sing..."|
|000003a0| 20 6e 69 6c 20 62 75 66 | 66 65 72 2d 72 65 61 64 | nil buf|fer-read|
|000003b0| 2d 6f 6e 6c 79 20 73 68 | 65 6c 6c 2d 63 6f 6d 6d |-only sh|ell-comm|
|000003c0| 61 6e 64 2d 6f 6e 2d 72 | 65 67 69 6f 6e 20 22 75 |and-on-r|egion "u|
|000003d0| 6e 63 6f 6d 70 72 65 73 | 73 22 20 74 20 22 55 6e |ncompres|s" t "Un|
|000003e0| 63 6f 6d 70 72 65 73 73 | 69 6e 67 2e 2e 2e 64 6f |compress|ing...do|
|000003f0| 6e 65 22 20 73 65 74 2d | 62 75 66 66 65 72 2d 6d |ne" set-|buffer-m|
|00000400| 6f 64 69 66 69 65 64 2d | 70 20 6d 61 6b 65 2d 6c |odified-|p make-l|
|00000410| 6f 63 61 6c 2d 76 61 72 | 69 61 62 6c 65 20 77 72 |ocal-var|iable wr|
|00000420| 69 74 65 2d 66 69 6c 65 | 2d 68 6f 6f 6b 73 20 75 |ite-file|-hooks u|
|00000430| 6e 63 6f 6d 70 72 65 73 | 73 2d 62 61 63 6b 75 70 |ncompres|s-backup|
|00000440| 2d 66 69 6c 65 20 6e 6f | 72 6d 61 6c 2d 6d 6f 64 |-file no|rmal-mod|
|00000450| 65 5d 20 35 20 22 5c 0a | 54 65 6d 70 6f 72 61 72 |e] 5 "\.|Temporar|
|00000460| 79 20 5c 22 6d 61 6a 6f | 72 20 6d 6f 64 65 5c 22 |y \"majo|r mode\"|
|00000470| 20 75 73 65 64 20 66 6f | 72 20 2e 5a 20 66 69 6c | used fo|r .Z fil|
|00000480| 65 73 2c 20 74 6f 20 75 | 6e 63 6f 6d 70 72 65 73 |es, to u|ncompres|
|00000490| 73 20 74 68 65 20 63 6f | 6e 74 65 6e 74 73 2e 0a |s the co|ntents..|
|000004a0| 49 74 20 74 68 65 6e 20 | 73 65 6c 65 63 74 73 20 |It then |selects |
|000004b0| 61 20 6d 61 6a 6f 72 20 | 6d 6f 64 65 20 66 72 6f |a major |mode fro|
|000004c0| 6d 20 74 68 65 20 75 6e | 63 6f 6d 70 72 65 73 73 |m the un|compress|
|000004d0| 65 64 20 66 69 6c 65 20 | 6e 61 6d 65 20 61 6e 64 |ed file |name and|
|000004e0| 20 63 6f 6e 74 65 6e 74 | 73 2e 22 5d 29 0a 28 62 | content|s."]).(b|
|000004f0| 79 74 65 2d 63 6f 64 65 | 20 22 c0 09 3e 84 5c 6e |yte-code| "..>.\n|
|00000500| 00 c0 09 42 11 c0 87 22 | 20 5b 66 69 6e 64 2d 63 |...B..."| [find-c|
|00000510| 6f 6d 70 72 65 73 73 65 | 64 2d 76 65 72 73 69 6f |ompresse|d-versio|
|00000520| 6e 20 66 69 6e 64 2d 66 | 69 6c 65 2d 6e 6f 74 2d |n find-f|ile-not-|
|00000530| 66 6f 75 6e 64 2d 68 6f | 6f 6b 73 5d 20 32 29 0a |found-ho|oks] 2).|
|00000540| 28 64 65 66 61 6c 69 61 | 73 20 27 66 69 6e 64 2d |(defalia|s 'find-|
|00000550| 63 6f 6d 70 72 65 73 73 | 65 64 2d 76 65 72 73 69 |compress|ed-versi|
|00000560| 6f 6e 20 23 5b 6e 69 6c | 20 22 c0 09 c2 50 21 85 |on #[nil| "...P!.|
|00000570| 18 00 09 c2 50 11 c3 09 | c4 5c 22 88 65 62 88 c5 |....P...|.\".eb..|
|00000580| 16 06 c4 87 22 20 5b 66 | 69 6c 65 2d 65 78 69 73 |...." [f|ile-exis|
|00000590| 74 73 2d 70 20 62 75 66 | 66 65 72 2d 66 69 6c 65 |ts-p buf|fer-file|
|000005a0| 2d 6e 61 6d 65 20 22 2e | 5a 22 20 69 6e 73 65 72 |-name ".|Z" inser|
|000005b0| 74 2d 66 69 6c 65 2d 63 | 6f 6e 74 65 6e 74 73 20 |t-file-c|ontents |
|000005c0| 74 20 6e 69 6c 20 65 72 | 72 6f 72 5d 20 33 20 22 |t nil er|ror] 3 "|
|000005d0| 5c 0a 48 6f 6f 6b 20 74 | 6f 20 72 65 61 64 20 61 |\.Hook t|o read a|
|000005e0| 6e 64 20 75 6e 63 6f 6d | 70 72 65 73 73 20 74 68 |nd uncom|press th|
|000005f0| 65 20 63 6f 6d 70 72 65 | 73 73 65 64 20 76 65 72 |e compre|ssed ver|
|00000600| 73 69 6f 6e 20 6f 66 20 | 61 20 66 69 6c 65 2e 22 |sion of |a file."|
|00000610| 5d 29 0a 28 70 72 6f 76 | 69 64 65 20 28 71 75 6f |]).(prov|ide (quo|
|00000620| 74 65 20 75 6e 63 6f 6d | 70 72 65 73 73 29 29 0a |te uncom|press)).|
+--------+-------------------------+-------------------------+--------+--------+