home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / source / a2.0bemacs-src.lha / Emacs-19.25 / lisp / resume.elc < prev    next >
Emacs Compiled Lisp  |  1994-05-07  |  1.9 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
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



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 6b 77 7a 68 40 68 61 |piled by| kwzh@ha|
|00000020| 6c 2e 67 6e 75 2e 61 69 | 2e 6d 69 74 2e 65 64 75 |l.gnu.ai|.mit.edu|
|00000030| 20 6f 6e 20 46 72 69 20 | 4d 61 79 20 20 36 20 32 | on Fri |May 6 2|
|00000040| 32 3a 31 38 3a 31 36 20 | 31 39 39 34 0a 3b 3b 3b |2:18:16 |1994.;;;|
|00000050| 20 66 72 6f 6d 20 66 69 | 6c 65 20 2f 67 64 2f 67 | from fi|le /gd/g|
|00000060| 6e 75 2f 65 6d 61 63 73 | 2f 31 39 2e 30 2f 6c 69 |nu/emacs|/19.0/li|
|00000070| 73 70 2f 72 65 73 75 6d | 65 2e 65 6c 0a 3b 3b 3b |sp/resum|e.el.;;;|
|00000080| 20 65 6d 61 63 73 20 76 | 65 72 73 69 6f 6e 20 31 | emacs v|ersion 1|
|00000090| 39 2e 32 32 2e 39 33 2e | 31 2e 0a 3b 3b 3b 20 62 |9.22.93.|1..;;; b|
|000000a0| 79 74 65 63 6f 6d 70 20 | 76 65 72 73 69 6f 6e 20 |ytecomp |version |
|000000b0| 46 53 46 20 32 2e 31 30 | 0a 3b 3b 3b 20 6f 70 74 |FSF 2.10|.;;; opt|
|000000c0| 69 6d 69 7a 61 74 69 6f | 6e 20 69 73 20 6f 6e 2e |imizatio|n is on.|
|000000d0| 0a 3b 3b 3b 20 74 68 69 | 73 20 66 69 6c 65 20 75 |.;;; thi|s file u|
|000000e0| 73 65 73 20 6f 70 63 6f | 64 65 73 20 77 68 69 63 |ses opco|des whic|
|000000f0| 68 20 64 6f 20 6e 6f 74 | 20 65 78 69 73 74 20 69 |h do not| exist i|
|00000100| 6e 20 45 6d 61 63 73 20 | 31 38 2e 0a 0a 28 69 66 |n Emacs |18...(if|
|00000110| 20 28 61 6e 64 20 28 62 | 6f 75 6e 64 70 20 27 65 | (and (b|oundp 'e|
|00000120| 6d 61 63 73 2d 76 65 72 | 73 69 6f 6e 29 0a 09 20 |macs-ver|sion).. |
|00000130| 28 6f 72 20 28 61 6e 64 | 20 28 62 6f 75 6e 64 70 |(or (and| (boundp|
|00000140| 20 27 65 70 6f 63 68 3a | 3a 76 65 72 73 69 6f 6e | 'epoch:|:version|
|00000150| 29 20 65 70 6f 63 68 3a | 3a 76 65 72 73 69 6f 6e |) epoch:|:version|
|00000160| 29 0a 09 20 20 20 20 20 | 28 73 74 72 69 6e 67 2d |).. |(string-|
|00000170| 6c 65 73 73 70 20 65 6d | 61 63 73 2d 76 65 72 73 |lessp em|acs-vers|
|00000180| 69 6f 6e 20 22 31 39 22 | 29 29 29 0a 20 20 20 20 |ion "19"|))). |
|00000190| 28 65 72 72 6f 72 20 22 | 60 2f 67 64 2f 67 6e 75 |(error "|`/gd/gnu|
|000001a0| 2f 65 6d 61 63 73 2f 31 | 39 2e 30 2f 6c 69 73 70 |/emacs/1|9.0/lisp|
|000001b0| 2f 72 65 73 75 6d 65 2e | 65 6c 27 20 77 61 73 20 |/resume.|el' was |
|000001c0| 63 6f 6d 70 69 6c 65 64 | 20 66 6f 72 20 45 6d 61 |compiled| for Ema|
|000001d0| 63 73 20 31 39 22 29 29 | 0a 0a 28 64 65 66 76 61 |cs 19"))|..(defva|
|000001e0| 72 20 72 65 73 75 6d 65 | 2d 65 6d 61 63 73 2d 61 |r resume|-emacs-a|
|000001f0| 72 67 73 2d 66 69 6c 65 | 20 28 65 78 70 61 6e 64 |rgs-file| (expand|
|00000200| 2d 66 69 6c 65 2d 6e 61 | 6d 65 20 22 7e 2f 2e 65 |-file-na|me "~/.e|
|00000210| 6d 61 63 73 5f 61 72 67 | 73 22 29 20 22 5c 0a 2a |macs_arg|s") "\.*|
|00000220| 54 68 69 73 20 66 69 6c | 65 20 69 73 20 77 68 65 |This fil|e is whe|
|00000230| 72 65 20 61 72 67 75 6d | 65 6e 74 73 20 61 72 65 |re argum|ents are|
|00000240| 20 70 6c 61 63 65 64 20 | 66 6f 72 20 61 20 73 75 | placed |for a su|
|00000250| 73 70 65 6e 64 65 64 20 | 65 6d 61 63 73 20 6a 6f |spended |emacs jo|
|00000260| 62 2e 22 29 0a 28 64 65 | 66 76 61 72 20 72 65 73 |b.").(de|fvar res|
|00000270| 75 6d 65 2d 65 6d 61 63 | 73 2d 61 72 67 73 2d 62 |ume-emac|s-args-b|
|00000280| 75 66 66 65 72 20 22 20 | 2a 43 6f 6d 6d 61 6e 64 |uffer " |*Command|
|00000290| 20 4c 69 6e 65 20 41 72 | 67 73 2a 22 20 22 5c 0a | Line Ar|gs*" "\.|
|000002a0| 42 75 66 66 65 72 20 74 | 68 61 74 20 69 73 20 75 |Buffer t|hat is u|
|000002b0| 73 65 64 20 62 79 20 72 | 65 73 75 6d 65 2d 70 72 |sed by r|esume-pr|
|000002c0| 6f 63 65 73 73 2d 61 72 | 67 73 2e 22 29 0a 28 64 |ocess-ar|gs.").(d|
|000002d0| 65 66 61 6c 69 61 73 20 | 27 72 65 73 75 6d 65 2d |efalias |'resume-|
|000002e0| 70 72 6f 63 65 73 73 2d | 61 72 67 73 20 23 5b 6e |process-|args #[n|
|000002f0| 69 6c 20 22 70 c0 09 21 | c2 89 0b 1c 1d 1e 06 1e |il "p..!|........|
|00000300| 07 1e 08 c9 8e 0e 07 71 | 88 ca 20 88 c2 cb cc 8f |.......q|.. .....|
|00000310| 88 0e 06 cd 58 83 29 00 | c2 15 82 50 00 65 62 88 |....X.).|...P.eb.|
|00000320| 6d 84 4a 00 ce c2 77 88 | 60 1e 0f d0 c2 77 88 0e |m.J...w.|`....w..|
|00000330| 0f 60 7b 0d 42 15 29 ce | c2 77 88 82 2c 00 0d 9f |.`{.B.).|.w..,...|
|00000340| 15 ca 20 88 d1 70 0e 12 | 5c 22 88 0d 83 62 00 d3 |.. ..p..|\"...b..|
|00000350| 0d 40 21 14 0d 41 15 d4 | 0d 21 2e 06 87 22 20 5b |.@!..A..|.!..." [|
|00000360| 67 65 74 2d 62 75 66 66 | 65 72 2d 63 72 65 61 74 |get-buff|er-creat|
|00000370| 65 20 72 65 73 75 6d 65 | 2d 65 6d 61 63 73 2d 61 |e resume|-emacs-a|
|00000380| 72 67 73 2d 62 75 66 66 | 65 72 20 6e 69 6c 20 64 |rgs-buff|er nil d|
|00000390| 65 66 61 75 6c 74 2d 64 | 69 72 65 63 74 6f 72 79 |efault-d|irectory|
|000003a0| 20 63 6f 6d 6d 61 6e 64 | 2d 6c 69 6e 65 2d 64 65 | command|-line-de|
|000003b0| 66 61 75 6c 74 2d 64 69 | 72 65 63 74 6f 72 79 20 |fault-di|rectory |
|000003c0| 61 72 67 73 20 6c 65 6e | 67 74 68 20 61 72 67 73 |args len|gth args|
|000003d0| 2d 62 75 66 66 65 72 20 | 73 74 61 72 74 2d 62 75 |-buffer |start-bu|
|000003e0| 66 66 65 72 20 28 28 62 | 79 74 65 2d 63 6f 64 65 |ffer ((b|yte-code|
|000003f0| 20 22 70 08 3d 83 09 00 | 09 71 88 c2 87 22 20 5b | "p.=...|.q..." [|
|00000400| 61 72 67 73 2d 62 75 66 | 66 65 72 20 73 74 61 72 |args-buf|fer star|
|00000410| 74 2d 62 75 66 66 65 72 | 20 6e 69 6c 5d 20 32 29 |t-buffer| nil] 2)|
|00000420| 29 20 65 72 61 73 65 2d | 62 75 66 66 65 72 20 28 |) erase-|buffer (|
|00000430| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 09 21 89 1a |byte-cod|e "..!..|
|00000440| 41 40 13 29 c0 87 22 20 | 5b 69 6e 73 65 72 74 2d |A@.).." |[insert-|
|00000450| 66 69 6c 65 2d 63 6f 6e | 74 65 6e 74 73 20 72 65 |file-con|tents re|
|00000460| 73 75 6d 65 2d 65 6d 61 | 63 73 2d 61 72 67 73 2d |sume-ema|cs-args-|
|00000470| 66 69 6c 65 20 72 65 73 | 75 6c 74 20 6c 65 6e 67 |file res|ult leng|
|00000480| 74 68 5d 20 33 29 20 28 | 28 66 69 6c 65 2d 65 72 |th] 3) (|(file-er|
|00000490| 72 6f 72 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |ror (byt|e-code "|
|000004a0| c0 20 88 c1 12 c0 87 22 | 20 5b 65 72 61 73 65 2d |. ....."| [erase-|
|000004b0| 62 75 66 66 65 72 20 30 | 20 6c 65 6e 67 74 68 5d |buffer 0| length]|
|000004c0| 20 31 29 29 29 20 30 20 | 22 20 09 5c 6e 22 20 62 | 1))) 0 |" .\n" b|
|000004d0| 65 67 69 6e 20 22 5e 20 | 09 5c 6e 22 20 72 65 73 |egin "^ |.\n" res|
|000004e0| 75 6d 65 2d 77 72 69 74 | 65 2d 62 75 66 66 65 72 |ume-writ|e-buffer|
|000004f0| 2d 74 6f 2d 66 69 6c 65 | 20 72 65 73 75 6d 65 2d |-to-file| resume-|
|00000500| 65 6d 61 63 73 2d 61 72 | 67 73 2d 66 69 6c 65 20 |emacs-ar|gs-file |
|00000510| 66 69 6c 65 2d 6e 61 6d | 65 2d 61 73 2d 64 69 72 |file-nam|e-as-dir|
|00000520| 65 63 74 6f 72 79 20 63 | 6f 6d 6d 61 6e 64 2d 6c |ectory c|ommand-l|
|00000530| 69 6e 65 2d 31 5d 20 35 | 20 22 5c 0a 48 61 6e 64 |ine-1] 5| "\.Hand|
|00000540| 6c 65 72 20 66 6f 72 20 | 63 6f 6d 6d 61 6e 64 20 |ler for |command |
|00000550| 6c 69 6e 65 20 61 72 67 | 73 20 67 69 76 65 6e 20 |line arg|s given |
|00000560| 77 68 65 6e 20 45 6d 61 | 63 73 20 69 73 20 72 65 |when Ema|cs is re|
|00000570| 73 75 6d 65 64 2e 22 5d | 29 0a 28 64 65 66 61 6c |sumed."]|).(defal|
|00000580| 69 61 73 20 27 72 65 73 | 75 6d 65 2d 73 75 73 70 |ias 'res|ume-susp|
|00000590| 65 6e 64 2d 68 6f 6f 6b | 20 23 5b 6e 69 6c 20 22 |end-hook| #[nil "|
|000005a0| 8a c0 09 21 71 88 c2 20 | 88 c3 70 5c 66 5c 22 29 |...!q.. |..p\f\")|
|000005b0| 87 22 20 5b 67 65 74 2d | 62 75 66 66 65 72 2d 63 |." [get-|buffer-c|
|000005c0| 72 65 61 74 65 20 72 65 | 73 75 6d 65 2d 65 6d 61 |reate re|sume-ema|
|000005d0| 63 73 2d 61 72 67 73 2d | 62 75 66 66 65 72 20 65 |cs-args-|buffer e|
|000005e0| 72 61 73 65 2d 62 75 66 | 66 65 72 20 72 65 73 75 |rase-buf|fer resu|
|000005f0| 6d 65 2d 77 72 69 74 65 | 2d 62 75 66 66 65 72 2d |me-write|-buffer-|
|00000600| 74 6f 2d 66 69 6c 65 20 | 72 65 73 75 6d 65 2d 65 |to-file |resume-e|
|00000610| 6d 61 63 73 2d 61 72 67 | 73 2d 66 69 6c 65 5d 20 |macs-arg|s-file] |
|00000620| 33 20 22 5c 0a 43 6c 65 | 61 72 20 6f 75 74 20 74 |3 "\.Cle|ar out t|
|00000630| 68 65 20 66 69 6c 65 20 | 75 73 65 64 20 66 6f 72 |he file |used for|
|00000640| 20 74 72 61 6e 73 6d 69 | 74 74 69 6e 67 20 61 72 | transmi|tting ar|
|00000650| 67 73 20 77 68 65 6e 20 | 45 6d 61 63 73 20 72 65 |gs when |Emacs re|
|00000660| 73 75 6d 65 73 2e 22 5d | 29 0a 28 64 65 66 61 6c |sumes."]|).(defal|
|00000670| 69 61 73 20 27 72 65 73 | 75 6d 65 2d 77 72 69 74 |ias 'res|ume-writ|
|00000680| 65 2d 62 75 66 66 65 72 | 2d 74 6f 2d 66 69 6c 65 |e-buffer|-to-file|
|00000690| 20 23 5b 28 62 75 66 66 | 65 72 20 66 69 6c 65 29 | #[(buff|er file)|
|000006a0| 20 22 c0 09 21 84 0b 00 | c2 c3 09 5c 22 88 8a 5c | "..!...|...\"..\|
|000006b0| 66 71 88 c5 20 88 8c 7e | 88 c6 65 64 09 c7 c8 25 |fq.. ..~|..ed...%|
|000006c0| 88 29 c9 c7 21 29 87 22 | 20 5b 66 69 6c 65 2d 77 |.)..!)."| [file-w|
|000006d0| 72 69 74 61 62 6c 65 2d | 70 20 66 69 6c 65 20 65 |ritable-|p file e|
|000006e0| 72 72 6f 72 20 22 4e 6f | 20 70 65 72 6d 69 73 73 |rror "No| permiss|
|000006f0| 69 6f 6e 20 74 6f 20 77 | 72 69 74 65 20 66 69 6c |ion to w|rite fil|
|00000700| 65 20 25 73 22 20 62 75 | 66 66 65 72 20 63 6c 65 |e %s" bu|ffer cle|
|00000710| 61 72 2d 76 69 73 69 74 | 65 64 2d 66 69 6c 65 2d |ar-visit|ed-file-|
|00000720| 6d 6f 64 74 69 6d 65 20 | 77 72 69 74 65 2d 72 65 |modtime |write-re|
|00000730| 67 69 6f 6e 20 6e 69 6c | 20 71 75 69 65 74 20 73 |gion nil| quiet s|
|00000740| 65 74 2d 62 75 66 66 65 | 72 2d 6d 6f 64 69 66 69 |et-buffe|r-modifi|
|00000750| 65 64 2d 70 5d 20 36 20 | 22 5c 0a 57 72 69 74 65 |ed-p] 6 |"\.Write|
|00000760| 73 20 74 68 65 20 63 6f | 6e 74 65 6e 74 73 20 6f |s the co|ntents o|
|00000770| 66 20 42 55 46 46 45 52 | 20 69 6e 74 6f 20 46 49 |f BUFFER| into FI|
|00000780| 4c 45 2c 20 69 66 20 70 | 65 72 6d 69 73 73 69 6f |LE, if p|ermissio|
|00000790| 6e 73 20 61 6c 6c 6f 77 | 2e 22 5d 29 0a 28 70 72 |ns allow|."]).(pr|
|000007a0| 6f 76 69 64 65 20 28 71 | 75 6f 74 65 20 72 65 73 |ovide (q|uote res|
|000007b0| 75 6d 65 29 29 0a | |ume)). | |
+--------+-------------------------+-------------------------+--------+--------+