home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / lemacs-19.6 / lisp / packages / uncompress.elc < prev    next >
Emacs Compiled Lisp  |  1993-04-01  |  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 77 7a 40 74 68 61 |piled by| jwz@tha|
|00000020| 6c 69 64 6f 6d 69 64 65 | 20 6f 6e 20 4d 6f 6e 20 |lidomide| on Mon |
|00000030| 46 65 62 20 20 31 20 31 | 39 3a 31 38 3a 30 34 20 |Feb 1 1|9:18:04 |
|00000040| 31 39 39 33 0a 3b 3b 3b | 20 66 72 6f 6d 20 66 69 |1993.;;;| from fi|
|00000050| 6c 65 20 2f 63 61 64 69 | 6c 6c 61 63 31 2f 63 6f |le /cadi|llac1/co|
|00000060| 64 65 2f 62 75 69 6c 64 | 2f 6c 65 6d 61 63 73 2f |de/build|/lemacs/|
|00000070| 6c 69 73 70 2f 70 61 63 | 6b 61 67 65 73 2f 75 6e |lisp/pac|kages/un|
|00000080| 63 6f 6d 70 72 65 73 73 | 2e 65 6c 0a 3b 3b 3b 20 |compress|.el.;;; |
|00000090| 65 6d 61 63 73 20 76 65 | 72 73 69 6f 6e 20 31 39 |emacs ve|rsion 19|
|000000a0| 2e 34 2e 31 33 20 4c 75 | 63 69 64 2e 0a 3b 3b 3b |.4.13 Lu|cid..;;;|
|000000b0| 20 62 79 74 65 63 6f 6d | 70 20 76 65 72 73 69 6f | bytecom|p versio|
|000000c0| 6e 20 32 2e 31 30 3b 20 | 20 31 2d 66 65 62 2d 39 |n 2.10; | 1-feb-9|
|000000d0| 33 2e 0a 3b 3b 3b 20 6f | 70 74 69 6d 69 7a 61 74 |3..;;; o|ptimizat|
|000000e0| 69 6f 6e 20 69 73 20 6f | 6e 2e 0a 3b 3b 3b 20 74 |ion is o|n..;;; t|
|000000f0| 68 69 73 20 66 69 6c 65 | 20 75 73 65 73 20 6f 70 |his file| uses op|
|00000100| 63 6f 64 65 73 20 77 68 | 69 63 68 20 64 6f 20 6e |codes wh|ich do n|
|00000110| 6f 74 20 65 78 69 73 74 | 20 69 6e 20 45 6d 61 63 |ot exist| in Emac|
|00000120| 73 31 38 2e 0a 0a 28 69 | 66 20 28 61 6e 64 20 28 |s18...(i|f (and (|
|00000130| 62 6f 75 6e 64 70 20 27 | 65 6d 61 63 73 2d 76 65 |boundp '|emacs-ve|
|00000140| 72 73 69 6f 6e 29 0a 09 | 20 28 6f 72 20 28 61 6e |rsion)..| (or (an|
|00000150| 64 20 28 62 6f 75 6e 64 | 70 20 27 65 70 6f 63 68 |d (bound|p 'epoch|
|00000160| 3a 3a 76 65 72 73 69 6f | 6e 29 20 65 70 6f 63 68 |::versio|n) epoch|
|00000170| 3a 3a 76 65 72 73 69 6f | 6e 29 0a 09 20 20 20 20 |::versio|n).. |
|00000180| 20 28 73 74 72 69 6e 67 | 2d 6c 65 73 73 70 20 65 | (string|-lessp e|
|00000190| 6d 61 63 73 2d 76 65 72 | 73 69 6f 6e 20 22 31 39 |macs-ver|sion "19|
|000001a0| 22 29 29 29 0a 20 20 20 | 20 28 65 72 72 6f 72 20 |"))). | (error |
|000001b0| 22 54 68 69 73 20 66 69 | 6c 65 20 77 61 73 20 63 |"This fi|le was c|
|000001c0| 6f 6d 70 69 6c 65 64 20 | 66 6f 72 20 45 6d 61 63 |ompiled |for Emac|
|000001d0| 73 31 39 2e 22 29 29 0a | 0a 28 62 79 74 65 2d 63 |s19.")).|.(byte-c|
|000001e0| 6f 64 65 20 22 c0 c1 4d | 88 c2 c3 0c 5c 22 ac 84 |ode "..M|....\"..|
|000001f0| c5 0c 42 14 c0 87 22 20 | 5b 75 6e 63 6f 6d 70 72 |..B..." |[uncompr|
|00000200| 65 73 73 2d 62 61 63 6b | 75 70 2d 66 69 6c 65 20 |ess-back|up-file |
|00000210| 23 5b 6e 69 6c 20 22 08 | ab 93 09 ab 90 5c 6e ac |#[nil ".|.....\n.|
|00000220| 8d c3 08 21 ac 88 c4 c5 | c6 89 89 08 25 88 c6 87 |...!....|....%...|
|00000230| 22 20 5b 62 75 66 66 65 | 72 2d 66 69 6c 65 2d 6e |" [buffe|r-file-n|
|00000240| 61 6d 65 20 6d 61 6b 65 | 2d 62 61 63 6b 75 70 2d |ame make|-backup-|
|00000250| 66 69 6c 65 73 20 62 75 | 66 66 65 72 2d 62 61 63 |files bu|ffer-bac|
|00000260| 6b 65 64 2d 75 70 20 66 | 69 6c 65 2d 65 78 69 73 |ked-up f|ile-exis|
|00000270| 74 73 2d 70 20 63 61 6c | 6c 2d 70 72 6f 63 65 73 |ts-p cal|l-proces|
|00000280| 73 20 22 75 6e 63 6f 6d | 70 72 65 73 73 22 20 6e |s "uncom|press" n|
|00000290| 69 6c 5d 20 36 5d 20 61 | 73 73 6f 63 20 22 5c 5c |il] 6] a|ssoc "\\|
|000002a0| 2e 5a 24 22 20 61 75 74 | 6f 2d 6d 6f 64 65 2d 61 |.Z$" aut|o-mode-a|
|000002b0| 6c 69 73 74 20 28 22 5c | 5c 2e 5a 24 22 20 2e 20 |list ("\|\.Z$" . |
|000002c0| 75 6e 63 6f 6d 70 72 65 | 73 73 2d 77 68 69 6c 65 |uncompre|ss-while|
|000002d0| 2d 76 69 73 69 74 69 6e | 67 29 5d 20 33 29 0a 28 |-visitin|g)] 3).(|
|000002e0| 66 73 65 74 20 27 75 6e | 63 6f 6d 70 72 65 73 73 |fset 'un|compress|
|000002f0| 2d 77 68 69 6c 65 2d 76 | 69 73 69 74 69 6e 67 20 |-while-v|isiting |
|00000300| 23 5b 6e 69 6c 20 22 08 | ab 8e c1 c2 08 5c 22 ab |#[nil ".|.....\".|
|00000310| 88 c3 08 c4 89 94 4f 21 | 88 c5 c6 21 88 c7 1e 08 |......O!|...!....|
|00000320| c9 65 64 ca cb 24 88 29 | c5 cc 21 88 cd c7 21 88 |.ed..$.)|..!...!.|
|00000330| ce cf 21 88 d0 0e 0f 3e | ac 86 d0 0e 0f 42 16 0f |..!....>|.....B..|
|00000340| d1 20 87 22 20 5b 62 75 | 66 66 65 72 2d 66 69 6c |. ." [bu|ffer-fil|
|00000350| 65 2d 6e 61 6d 65 20 73 | 74 72 69 6e 67 2d 6d 61 |e-name s|tring-ma|
|00000360| 74 63 68 20 22 5c 5c 2e | 5a 24 22 20 73 65 74 2d |tch "\\.|Z$" set-|
|00000370| 76 69 73 69 74 65 64 2d | 66 69 6c 65 2d 6e 61 6d |visited-|file-nam|
|00000380| 65 20 30 20 6d 65 73 73 | 61 67 65 20 22 55 6e 63 |e 0 mess|age "Unc|
|00000390| 6f 6d 70 72 65 73 73 69 | 6e 67 2e 2e 2e 22 20 6e |ompressi|ng..." n|
|000003a0| 69 6c 20 62 75 66 66 65 | 72 2d 72 65 61 64 2d 6f |il buffe|r-read-o|
|000003b0| 6e 6c 79 20 73 68 65 6c | 6c 2d 63 6f 6d 6d 61 6e |nly shel|l-comman|
|000003c0| 64 2d 6f 6e 2d 72 65 67 | 69 6f 6e 20 22 75 6e 63 |d-on-reg|ion "unc|
|000003d0| 6f 6d 70 72 65 73 73 22 | 20 74 20 22 55 6e 63 6f |ompress"| t "Unco|
|000003e0| 6d 70 72 65 73 73 69 6e | 67 2e 2e 2e 64 6f 6e 65 |mpressin|g...done|
|000003f0| 22 20 73 65 74 2d 62 75 | 66 66 65 72 2d 6d 6f 64 |" set-bu|ffer-mod|
|00000400| 69 66 69 65 64 2d 70 20 | 6d 61 6b 65 2d 6c 6f 63 |ified-p |make-loc|
|00000410| 61 6c 2d 76 61 72 69 61 | 62 6c 65 20 77 72 69 74 |al-varia|ble writ|
|00000420| 65 2d 66 69 6c 65 2d 68 | 6f 6f 6b 73 20 75 6e 63 |e-file-h|ooks unc|
|00000430| 6f 6d 70 72 65 73 73 2d | 62 61 63 6b 75 70 2d 66 |ompress-|backup-f|
|00000440| 69 6c 65 20 6e 6f 72 6d | 61 6c 2d 6d 6f 64 65 5d |ile norm|al-mode]|
|00000450| 20 35 20 22 5c 0a 54 65 | 6d 70 6f 72 61 72 79 20 | 5 "\.Te|mporary |
|00000460| 5c 22 6d 61 6a 6f 72 20 | 6d 6f 64 65 5c 22 20 75 |\"major |mode\" u|
|00000470| 73 65 64 20 66 6f 72 20 | 2e 5a 20 66 69 6c 65 73 |sed for |.Z files|
|00000480| 2c 20 74 6f 20 75 6e 63 | 6f 6d 70 72 65 73 73 20 |, to unc|ompress |
|00000490| 74 68 65 20 63 6f 6e 74 | 65 6e 74 73 2e 0a 49 74 |the cont|ents..It|
|000004a0| 20 74 68 65 6e 20 73 65 | 6c 65 63 74 73 20 61 20 | then se|lects a |
|000004b0| 6d 61 6a 6f 72 20 6d 6f | 64 65 20 66 72 6f 6d 20 |major mo|de from |
|000004c0| 74 68 65 20 75 6e 63 6f | 6d 70 72 65 73 73 65 64 |the unco|mpressed|
|000004d0| 20 66 69 6c 65 20 6e 61 | 6d 65 20 61 6e 64 20 63 | file na|me and c|
|000004e0| 6f 6e 74 65 6e 74 73 2e | 22 5d 29 0a 28 62 79 74 |ontents.|"]).(byt|
|000004f0| 65 2d 63 6f 64 65 20 22 | c0 09 3e ac 84 c0 09 42 |e-code "|..>....B|
|00000500| 11 c0 87 22 20 5b 66 69 | 6e 64 2d 63 6f 6d 70 72 |..." [fi|nd-compr|
|00000510| 65 73 73 65 64 2d 76 65 | 72 73 69 6f 6e 20 66 69 |essed-ve|rsion fi|
|00000520| 6e 64 2d 66 69 6c 65 2d | 6e 6f 74 2d 66 6f 75 6e |nd-file-|not-foun|
|00000530| 64 2d 68 6f 6f 6b 73 5d | 20 32 29 0a 28 66 73 65 |d-hooks]| 2).(fse|
|00000540| 74 20 27 66 69 6e 64 2d | 63 6f 6d 70 72 65 73 73 |t 'find-|compress|
|00000550| 65 64 2d 76 65 72 73 69 | 6f 6e 20 23 5b 6e 69 6c |ed-versi|on #[nil|
|00000560| 20 22 c0 09 c2 50 21 ad | 90 09 c2 50 11 c3 09 c4 | "...P!.|...P....|
|00000570| 5c 22 88 65 62 88 c5 16 | 06 c4 87 22 20 5b 66 69 |\".eb...|..." [fi|
|00000580| 6c 65 2d 65 78 69 73 74 | 73 2d 70 20 62 75 66 66 |le-exist|s-p buff|
|00000590| 65 72 2d 66 69 6c 65 2d | 6e 61 6d 65 20 22 2e 5a |er-file-|name ".Z|
|000005a0| 22 20 69 6e 73 65 72 74 | 2d 66 69 6c 65 2d 63 6f |" insert|-file-co|
|000005b0| 6e 74 65 6e 74 73 20 74 | 20 6e 69 6c 20 65 72 72 |ntents t| nil err|
|000005c0| 6f 72 5d 20 33 20 22 5c | 0a 48 6f 6f 6b 20 74 6f |or] 3 "\|.Hook to|
|000005d0| 20 72 65 61 64 20 61 6e | 64 20 75 6e 63 6f 6d 70 | read an|d uncomp|
|000005e0| 72 65 73 73 20 74 68 65 | 20 63 6f 6d 70 72 65 73 |ress the| compres|
|000005f0| 73 65 64 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 61 |sed vers|ion of a|
|00000600| 20 66 69 6c 65 2e 22 5d | 29 0a | file."]|). |
+--------+-------------------------+-------------------------+--------+--------+