home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / emacs-19.16 / lisp / resume.elc < prev    next >
Emacs Compiled Lisp  |  1993-07-05  |  1.8 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 4d 6f | 6e 20 4a 75 6c 20 20 35 |du on Mo|n Jul 5|
|00000040| 20 32 33 3a 34 38 3a 33 | 38 20 31 39 39 33 0a 3b | 23:48:3|8 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 72 65 73 | 75 6d 65 2e 65 6c 0a 3b |lisp/res|ume.el.;|
|00000080| 3b 3b 20 65 6d 61 63 73 | 20 76 65 72 73 69 6f 6e |;; emacs| version|
|00000090| 20 31 39 2e 31 35 2e 31 | 36 2e 0a 3b 3b 3b 20 62 | 19.15.1|6..;;; 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 | 54 68 69 73 20 66 69 6c |(error "|This fil|
|000001a0| 65 20 77 61 73 20 63 6f | 6d 70 69 6c 65 64 20 66 |e was co|mpiled f|
|000001b0| 6f 72 20 45 6d 61 63 73 | 20 31 39 22 29 29 0a 0a |or Emacs| 19"))..|
|000001c0| 28 64 65 66 76 61 72 20 | 72 65 73 75 6d 65 2d 65 |(defvar |resume-e|
|000001d0| 6d 61 63 73 2d 61 72 67 | 73 2d 66 69 6c 65 20 28 |macs-arg|s-file (|
|000001e0| 65 78 70 61 6e 64 2d 66 | 69 6c 65 2d 6e 61 6d 65 |expand-f|ile-name|
|000001f0| 20 22 7e 2f 2e 65 6d 61 | 63 73 5f 61 72 67 73 22 | "~/.ema|cs_args"|
|00000200| 29 20 22 5c 0a 2a 54 68 | 69 73 20 66 69 6c 65 20 |) "\.*Th|is file |
|00000210| 69 73 20 77 68 65 72 65 | 20 61 72 67 75 6d 65 6e |is where| argumen|
|00000220| 74 73 20 61 72 65 20 70 | 6c 61 63 65 64 20 66 6f |ts are p|laced fo|
|00000230| 72 20 61 20 73 75 73 70 | 65 6e 64 65 64 20 65 6d |r a susp|ended em|
|00000240| 61 63 73 20 6a 6f 62 2e | 22 29 0a 28 64 65 66 76 |acs job.|").(defv|
|00000250| 61 72 20 72 65 73 75 6d | 65 2d 65 6d 61 63 73 2d |ar resum|e-emacs-|
|00000260| 61 72 67 73 2d 62 75 66 | 66 65 72 20 22 20 2a 43 |args-buf|fer " *C|
|00000270| 6f 6d 6d 61 6e 64 20 4c | 69 6e 65 20 41 72 67 73 |ommand L|ine Args|
|00000280| 2a 22 20 22 5c 0a 42 75 | 66 66 65 72 20 74 68 61 |*" "\.Bu|ffer tha|
|00000290| 74 20 69 73 20 75 73 65 | 64 20 62 79 20 72 65 73 |t is use|d by res|
|000002a0| 75 6d 65 2d 70 72 6f 63 | 65 73 73 2d 61 72 67 73 |ume-proc|ess-args|
|000002b0| 2e 22 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 72 |.").(def|alias 'r|
|000002c0| 65 73 75 6d 65 2d 70 72 | 6f 63 65 73 73 2d 61 72 |esume-pr|ocess-ar|
|000002d0| 67 73 20 23 5b 6e 69 6c | 20 22 70 c0 09 21 c2 89 |gs #[nil| "p..!..|
|000002e0| 1b 1c 1d 1e 06 c7 8e 0d | 71 88 c8 20 88 c2 c9 ca |........|q.. ....|
|000002f0| 8f 88 0c cb 58 83 23 00 | c2 13 82 4a 00 65 62 88 |....X.#.|...J.eb.|
|00000300| 6d 84 44 00 cc c2 77 88 | 60 1e 0d ce c2 77 88 0e |m.D...w.|`....w..|
|00000310| 0d 60 7b 0b 42 13 29 cc | c2 77 88 82 26 00 0b 9f |.`{.B.).|.w..&...|
|00000320| 13 c8 20 88 cf 70 0e 10 | 5c 22 88 0b 83 5d 00 d1 |.. ..p..|\"...]..|
|00000330| 0b 40 21 16 12 0b 41 13 | d3 0b 21 2d 87 22 20 5b |.@!...A.|..!-." [|
|00000340| 67 65 74 2d 62 75 66 66 | 65 72 2d 63 72 65 61 74 |get-buff|er-creat|
|00000350| 65 20 72 65 73 75 6d 65 | 2d 65 6d 61 63 73 2d 61 |e resume|-emacs-a|
|00000360| 72 67 73 2d 62 75 66 66 | 65 72 20 6e 69 6c 20 61 |rgs-buff|er nil a|
|00000370| 72 67 73 20 6c 65 6e 67 | 74 68 20 61 72 67 73 2d |rgs leng|th args-|
|00000380| 62 75 66 66 65 72 20 73 | 74 61 72 74 2d 62 75 66 |buffer s|tart-buf|
|00000390| 66 65 72 20 28 28 62 79 | 74 65 2d 63 6f 64 65 20 |fer ((by|te-code |
|000003a0| 22 70 08 3d 83 09 00 09 | 71 88 c2 87 22 20 5b 61 |"p.=....|q..." [a|
|000003b0| 72 67 73 2d 62 75 66 66 | 65 72 20 73 74 61 72 74 |rgs-buff|er start|
|000003c0| 2d 62 75 66 66 65 72 20 | 6e 69 6c 5d 20 32 29 29 |-buffer |nil] 2))|
|000003d0| 20 65 72 61 73 65 2d 62 | 75 66 66 65 72 20 28 62 | erase-b|uffer (b|
|000003e0| 79 74 65 2d 63 6f 64 65 | 20 22 c0 09 21 89 1a 41 |yte-code| "..!..A|
|000003f0| 40 13 29 c0 87 22 20 5b | 69 6e 73 65 72 74 2d 66 |@.).." [|insert-f|
|00000400| 69 6c 65 2d 63 6f 6e 74 | 65 6e 74 73 20 72 65 73 |ile-cont|ents res|
|00000410| 75 6d 65 2d 65 6d 61 63 | 73 2d 61 72 67 73 2d 66 |ume-emac|s-args-f|
|00000420| 69 6c 65 20 72 65 73 75 | 6c 74 20 6c 65 6e 67 74 |ile resu|lt lengt|
|00000430| 68 5d 20 33 29 20 28 28 | 66 69 6c 65 2d 65 72 72 |h] 3) ((|file-err|
|00000440| 6f 72 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |or (byte|-code ".|
|00000450| 20 88 c1 12 c0 87 22 20 | 5b 65 72 61 73 65 2d 62 | ....." |[erase-b|
|00000460| 75 66 66 65 72 20 30 20 | 6c 65 6e 67 74 68 5d 20 |uffer 0 |length] |
|00000470| 31 29 29 29 20 30 20 22 | 20 09 5c 6e 22 20 62 65 |1))) 0 "| .\n" be|
|00000480| 67 69 6e 20 22 5e 20 09 | 5c 6e 22 20 72 65 73 75 |gin "^ .|\n" resu|
|00000490| 6d 65 2d 77 72 69 74 65 | 2d 62 75 66 66 65 72 2d |me-write|-buffer-|
|000004a0| 74 6f 2d 66 69 6c 65 20 | 72 65 73 75 6d 65 2d 65 |to-file |resume-e|
|000004b0| 6d 61 63 73 2d 61 72 67 | 73 2d 66 69 6c 65 20 66 |macs-arg|s-file f|
|000004c0| 69 6c 65 2d 6e 61 6d 65 | 2d 61 73 2d 64 69 72 65 |ile-name|-as-dire|
|000004d0| 63 74 6f 72 79 20 64 65 | 66 61 75 6c 74 2d 64 69 |ctory de|fault-di|
|000004e0| 72 65 63 74 6f 72 79 20 | 63 6f 6d 6d 61 6e 64 2d |rectory |command-|
|000004f0| 6c 69 6e 65 2d 31 5d 20 | 34 20 22 5c 0a 48 61 6e |line-1] |4 "\.Han|
|00000500| 64 6c 65 72 20 66 6f 72 | 20 63 6f 6d 6d 61 6e 64 |dler for| command|
|00000510| 20 6c 69 6e 65 20 61 72 | 67 73 20 67 69 76 65 6e | line ar|gs given|
|00000520| 20 77 68 65 6e 20 45 6d | 61 63 73 20 69 73 20 72 | when Em|acs is r|
|00000530| 65 73 75 6d 65 64 2e 22 | 5d 29 0a 28 64 65 66 61 |esumed."|]).(defa|
|00000540| 6c 69 61 73 20 27 72 65 | 73 75 6d 65 2d 73 75 73 |lias 're|sume-sus|
|00000550| 70 65 6e 64 2d 68 6f 6f | 6b 20 23 5b 6e 69 6c 20 |pend-hoo|k #[nil |
|00000560| 22 8a c0 09 21 71 88 c2 | 20 88 c3 70 0c 5c 22 29 |"...!q..| ..p.\")|
|00000570| 87 22 20 5b 67 65 74 2d | 62 75 66 66 65 72 2d 63 |." [get-|buffer-c|
|00000580| 72 65 61 74 65 20 72 65 | 73 75 6d 65 2d 65 6d 61 |reate re|sume-ema|
|00000590| 63 73 2d 61 72 67 73 2d | 62 75 66 66 65 72 20 65 |cs-args-|buffer e|
|000005a0| 72 61 73 65 2d 62 75 66 | 66 65 72 20 72 65 73 75 |rase-buf|fer resu|
|000005b0| 6d 65 2d 77 72 69 74 65 | 2d 62 75 66 66 65 72 2d |me-write|-buffer-|
|000005c0| 74 6f 2d 66 69 6c 65 20 | 72 65 73 75 6d 65 2d 65 |to-file |resume-e|
|000005d0| 6d 61 63 73 2d 61 72 67 | 73 2d 66 69 6c 65 5d 20 |macs-arg|s-file] |
|000005e0| 33 20 22 5c 0a 43 6c 65 | 61 72 20 6f 75 74 20 74 |3 "\.Cle|ar out t|
|000005f0| 68 65 20 66 69 6c 65 20 | 75 73 65 64 20 66 6f 72 |he file |used for|
|00000600| 20 74 72 61 6e 73 6d 69 | 74 74 69 6e 67 20 61 72 | transmi|tting ar|
|00000610| 67 73 20 77 68 65 6e 20 | 45 6d 61 63 73 20 72 65 |gs when |Emacs re|
|00000620| 73 75 6d 65 73 2e 22 5d | 29 0a 28 64 65 66 61 6c |sumes."]|).(defal|
|00000630| 69 61 73 20 27 72 65 73 | 75 6d 65 2d 77 72 69 74 |ias 'res|ume-writ|
|00000640| 65 2d 62 75 66 66 65 72 | 2d 74 6f 2d 66 69 6c 65 |e-buffer|-to-file|
|00000650| 20 23 5b 28 62 75 66 66 | 65 72 20 66 69 6c 65 29 | #[(buff|er file)|
|00000660| 20 22 c0 09 21 84 0b 00 | c2 c3 09 5c 22 88 8a 0c | "..!...|...\"...|
|00000670| 71 88 c5 20 88 8c 7e 88 | c6 65 64 09 c7 c8 25 88 |q.. ..~.|.ed...%.|
|00000680| 29 c9 c7 21 29 87 22 20 | 5b 66 69 6c 65 2d 77 72 |)..!)." |[file-wr|
|00000690| 69 74 61 62 6c 65 2d 70 | 20 66 69 6c 65 20 65 72 |itable-p| file er|
|000006a0| 72 6f 72 20 22 4e 6f 20 | 70 65 72 6d 69 73 73 69 |ror "No |permissi|
|000006b0| 6f 6e 20 74 6f 20 77 72 | 69 74 65 20 66 69 6c 65 |on to wr|ite file|
|000006c0| 20 25 73 22 20 62 75 66 | 66 65 72 20 63 6c 65 61 | %s" buf|fer clea|
|000006d0| 72 2d 76 69 73 69 74 65 | 64 2d 66 69 6c 65 2d 6d |r-visite|d-file-m|
|000006e0| 6f 64 74 69 6d 65 20 77 | 72 69 74 65 2d 72 65 67 |odtime w|rite-reg|
|000006f0| 69 6f 6e 20 6e 69 6c 20 | 71 75 69 65 74 20 73 65 |ion nil |quiet se|
|00000700| 74 2d 62 75 66 66 65 72 | 2d 6d 6f 64 69 66 69 65 |t-buffer|-modifie|
|00000710| 64 2d 70 5d 20 36 20 22 | 5c 0a 57 72 69 74 65 73 |d-p] 6 "|\.Writes|
|00000720| 20 74 68 65 20 63 6f 6e | 74 65 6e 74 73 20 6f 66 | the con|tents of|
|00000730| 20 42 55 46 46 45 52 20 | 69 6e 74 6f 20 46 49 4c | BUFFER |into FIL|
|00000740| 45 2c 20 69 66 20 70 65 | 72 6d 69 73 73 69 6f 6e |E, if pe|rmission|
|00000750| 73 20 61 6c 6c 6f 77 2e | 22 5d 29 0a |s allow.|"]). |
+--------+-------------------------+-------------------------+--------+--------+