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 / saveconf.elc < prev    next >
Emacs Compiled Lisp  |  1993-04-01  |  5.3 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 35 3a 31 34 20 |Feb 1 1|9:15:14 |
|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 73 61 |lisp/pac|kages/sa|
|00000080| 76 65 63 6f 6e 66 2e 65 | 6c 0a 3b 3b 3b 20 65 6d |veconf.e|l.;;; em|
|00000090| 61 63 73 20 76 65 72 73 | 69 6f 6e 20 31 39 2e 34 |acs vers|ion 19.4|
|000000a0| 2e 31 33 20 4c 75 63 69 | 64 2e 0a 3b 3b 3b 20 62 |.13 Luci|d..;;; b|
|000000b0| 79 74 65 63 6f 6d 70 20 | 76 65 72 73 69 6f 6e 20 |ytecomp |version |
|000000c0| 32 2e 31 30 3b 20 20 31 | 2d 66 65 62 2d 39 33 2e |2.10; 1|-feb-93.|
|000000d0| 0a 3b 3b 3b 20 6f 70 74 | 69 6d 69 7a 61 74 69 6f |.;;; opt|imizatio|
|000000e0| 6e 20 69 73 20 6f 6e 2e | 0a 3b 3b 3b 20 74 68 69 |n is on.|.;;; thi|
|000000f0| 73 20 66 69 6c 65 20 75 | 73 65 73 20 6f 70 63 6f |s file u|ses opco|
|00000100| 64 65 73 20 77 68 69 63 | 68 20 64 6f 20 6e 6f 74 |des whic|h do not|
|00000110| 20 65 78 69 73 74 20 69 | 6e 20 45 6d 61 63 73 31 | exist i|n Emacs1|
|00000120| 38 2e 0a 0a 28 69 66 20 | 28 61 6e 64 20 28 62 6f |8...(if |(and (bo|
|00000130| 75 6e 64 70 20 27 65 6d | 61 63 73 2d 76 65 72 73 |undp 'em|acs-vers|
|00000140| 69 6f 6e 29 0a 09 20 28 | 6f 72 20 28 61 6e 64 20 |ion).. (|or (and |
|00000150| 28 62 6f 75 6e 64 70 20 | 27 65 70 6f 63 68 3a 3a |(boundp |'epoch::|
|00000160| 76 65 72 73 69 6f 6e 29 | 20 65 70 6f 63 68 3a 3a |version)| epoch::|
|00000170| 76 65 72 73 69 6f 6e 29 | 0a 09 20 20 20 20 20 28 |version)|.. (|
|00000180| 73 74 72 69 6e 67 2d 6c | 65 73 73 70 20 65 6d 61 |string-l|essp ema|
|00000190| 63 73 2d 76 65 72 73 69 | 6f 6e 20 22 31 39 22 29 |cs-versi|on "19")|
|000001a0| 29 29 0a 20 20 20 20 28 | 65 72 72 6f 72 20 22 54 |)). (|error "T|
|000001b0| 68 69 73 20 66 69 6c 65 | 20 77 61 73 20 63 6f 6d |his file| was com|
|000001c0| 70 69 6c 65 64 20 66 6f | 72 20 45 6d 61 63 73 31 |piled fo|r Emacs1|
|000001d0| 39 2e 22 29 29 0a 0a 28 | 70 72 6f 76 69 64 65 20 |9."))..(|provide |
|000001e0| 27 73 61 76 65 63 6f 6e | 66 29 0a 28 64 65 66 63 |'savecon|f).(defc|
|000001f0| 6f 6e 73 74 20 73 61 76 | 65 2d 63 6f 6e 74 65 78 |onst sav|e-contex|
|00000200| 74 2d 76 65 72 73 69 6f | 6e 20 22 4e 6f 72 6d 61 |t-versio|n "Norma|
|00000210| 20 4a 65 61 6e 22 20 22 | 5c 0a 41 20 75 6e 69 71 | Jean" "|\.A uniq|
|00000220| 75 65 20 73 74 72 69 6e | 67 20 77 68 69 63 68 20 |ue strin|g which |
|00000230| 69 73 20 70 6c 61 63 65 | 64 20 61 74 20 74 68 65 |is place|d at the|
|00000240| 20 62 65 67 69 6e 6e 69 | 6e 67 20 6f 66 20 65 76 | beginni|ng of ev|
|00000250| 65 72 79 20 73 61 76 65 | 64 20 63 6f 6e 74 65 78 |ery save|d contex|
|00000260| 74 0a 66 69 6c 65 2e 20 | 20 49 66 20 74 68 65 20 |t.file. | If the |
|00000270| 73 74 72 69 6e 67 20 61 | 74 20 74 68 65 20 62 65 |string a|t the be|
|00000280| 67 69 6e 6e 69 6e 67 20 | 6f 66 20 74 68 65 20 63 |ginning |of the c|
|00000290| 6f 6e 74 65 78 74 20 66 | 69 6c 65 20 64 6f 65 73 |ontext f|ile does|
|000002a0| 6e 27 74 20 6d 61 74 63 | 68 20 74 68 65 0a 76 61 |n't matc|h the.va|
|000002b0| 6c 75 65 20 6f 66 20 74 | 68 69 73 20 76 61 72 69 |lue of t|his vari|
|000002c0| 61 62 6c 65 20 74 68 65 | 20 60 72 65 63 6f 76 65 |able the| `recove|
|000002d0| 72 2d 63 6f 6e 74 65 78 | 74 27 20 63 6f 6d 6d 61 |r-contex|t' comma|
|000002e0| 6e 64 20 77 69 6c 6c 20 | 69 67 6e 6f 72 65 20 74 |nd will |ignore t|
|000002f0| 68 65 20 66 69 6c 65 27 | 73 0a 63 6f 6e 74 65 6e |he file'|s.conten|
|00000300| 74 73 2e 22 29 0a 28 64 | 65 66 76 61 72 20 61 75 |ts.").(d|efvar au|
|00000310| 74 6f 2d 73 61 76 65 2d | 61 6e 64 2d 72 65 63 6f |to-save-|and-reco|
|00000320| 76 65 72 2d 63 6f 6e 74 | 65 78 74 20 6e 69 6c 20 |ver-cont|ext nil |
|00000330| 22 5c 0a 2a 49 66 20 6e | 6f 6e 2d 6e 69 6c 20 74 |"\.*If n|on-nil t|
|00000340| 68 65 20 60 73 61 76 65 | 2d 63 6f 6e 74 65 78 74 |he `save|-context|
|00000350| 27 20 63 6f 6d 6d 61 6e | 64 20 77 69 6c 6c 20 61 |' comman|d will a|
|00000360| 6c 77 61 79 73 20 62 65 | 20 72 75 6e 20 62 65 66 |lways be| run bef|
|00000370| 6f 72 65 20 45 6d 61 63 | 73 20 69 73 0a 65 78 69 |ore Emac|s is.exi|
|00000380| 74 65 64 2e 20 20 41 6c | 73 6f 20 75 70 6f 6e 20 |ted. Al|so upon |
|00000390| 45 6d 61 63 73 20 73 74 | 61 72 74 75 70 2c 20 69 |Emacs st|artup, i|
|000003a0| 66 20 74 68 69 73 20 76 | 61 72 69 61 62 6c 65 20 |f this v|ariable |
|000003b0| 69 73 20 6e 6f 6e 2d 6e | 69 6c 20 61 6e 64 20 45 |is non-n|il and E|
|000003c0| 6d 61 63 73 20 69 73 0a | 70 61 73 73 65 64 20 6e |macs is.|passed n|
|000003d0| 6f 20 63 6f 6d 6d 61 6e | 64 20 6c 69 6e 65 20 61 |o comman|d line a|
|000003e0| 72 67 75 6d 65 6e 74 73 | 2c 20 60 72 65 63 6f 76 |rguments|, `recov|
|000003f0| 65 72 2d 63 6f 6e 74 65 | 78 74 27 20 77 69 6c 6c |er-conte|xt' will|
|00000400| 20 62 65 20 72 75 6e 2e | 22 29 0a 28 64 65 66 76 | be run.|").(defv|
|00000410| 61 72 20 73 61 76 65 2d | 62 75 66 66 65 72 2d 63 |ar save-|buffer-c|
|00000420| 6f 6e 74 65 78 74 20 6e | 69 6c 20 22 5c 0a 2a 49 |ontext n|il "\.*I|
|00000430| 66 20 6e 6f 6e 2d 6e 69 | 6c 20 74 68 65 20 60 73 |f non-ni|l the `s|
|00000440| 61 76 65 2d 63 6f 6e 74 | 65 78 74 27 20 63 6f 6d |ave-cont|ext' com|
|00000450| 6d 61 6e 64 20 77 69 6c | 6c 20 73 61 76 65 20 74 |mand wil|l save t|
|00000460| 68 65 20 63 6f 6e 74 65 | 78 74 0a 6f 66 20 62 75 |he conte|xt.of bu|
|00000470| 66 66 65 72 73 20 74 68 | 61 74 20 61 72 65 20 76 |ffers th|at are v|
|00000480| 69 73 69 74 69 6e 67 20 | 66 69 6c 65 73 2c 20 61 |isiting |files, a|
|00000490| 73 20 77 65 6c 6c 20 61 | 73 20 74 68 65 20 63 6f |s well a|s the co|
|000004a0| 6e 74 65 78 74 73 20 6f | 66 20 62 75 66 66 65 72 |ntexts o|f buffer|
|000004b0| 73 0a 74 68 61 74 20 68 | 61 76 65 20 77 69 6e 64 |s.that h|ave wind|
|000004c0| 6f 77 73 2e 22 29 0a 28 | 64 65 66 76 61 72 20 73 |ows.").(|defvar s|
|000004d0| 61 76 65 2d 63 6f 6e 74 | 65 78 74 2d 70 72 65 64 |ave-cont|ext-pred|
|000004e0| 69 63 61 74 65 20 23 5b | 28 77 29 20 22 c0 c1 5c |icate #[|(w) "..\|
|000004f0| 6e 21 21 ad 89 c3 c4 c0 | c1 5c 6e 21 21 5c 22 3f |n!!.....|.\n!!\"?|
|00000500| 87 22 20 5b 62 75 66 66 | 65 72 2d 66 69 6c 65 2d |." [buff|er-file-|
|00000510| 6e 61 6d 65 20 77 69 6e | 64 6f 77 2d 62 75 66 66 |name win|dow-buff|
|00000520| 65 72 20 77 20 73 74 72 | 69 6e 67 2d 6d 61 74 63 |er w str|ing-matc|
|00000530| 68 20 22 5e 5c 5c 28 2f | 75 73 72 5c 5c 29 3f 2f |h "^\\(/|usr\\)?/|
|00000540| 74 6d 70 2f 22 5d 20 35 | 5d 20 22 5c 0a 2a 56 61 |tmp/"] 5|] "\.*Va|
|00000550| 6c 75 65 20 69 73 20 61 | 20 70 72 65 64 69 63 61 |lue is a| predica|
|00000560| 74 65 20 66 75 6e 63 74 | 69 6f 6e 20 77 68 69 63 |te funct|ion whic|
|00000570| 68 20 64 65 74 65 72 6d | 69 6e 65 73 20 77 68 69 |h determ|ines whi|
|00000580| 63 68 20 77 69 6e 64 6f | 77 73 27 20 63 6f 6e 74 |ch windo|ws' cont|
|00000590| 65 78 74 73 0a 61 72 65 | 20 73 61 76 65 64 2e 20 |exts.are| saved. |
|000005a0| 20 57 68 65 6e 20 74 68 | 65 20 60 73 61 76 65 2d | When th|e `save-|
|000005b0| 63 6f 6e 74 65 78 74 27 | 20 63 6f 6d 6d 61 6e 64 |context'| command|
|000005c0| 20 69 73 20 69 6e 76 6f | 6b 65 64 2c 20 74 68 69 | is invo|ked, thi|
|000005d0| 73 20 66 75 6e 63 74 69 | 6f 6e 20 77 69 6c 6c 0a |s functi|on will.|
|000005e0| 62 65 20 63 61 6c 6c 65 | 64 20 6f 6e 63 65 20 66 |be calle|d once f|
|000005f0| 6f 72 20 65 61 63 68 20 | 65 78 69 73 74 69 6e 67 |or each |existing|
|00000600| 20 45 6d 61 63 73 20 77 | 69 6e 64 6f 77 2e 20 20 | Emacs w|indow. |
|00000610| 54 68 65 20 66 75 6e 63 | 74 69 6f 6e 20 73 68 6f |The func|tion sho|
|00000620| 75 6c 64 20 61 63 63 65 | 70 74 0a 6f 6e 65 20 61 |uld acce|pt.one a|
|00000630| 72 67 75 6d 65 6e 74 20 | 77 68 69 63 68 20 77 69 |rgument |which wi|
|00000640| 6c 6c 20 62 65 20 61 20 | 77 69 6e 64 6f 77 20 6f |ll be a |window o|
|00000650| 62 6a 65 63 74 2c 20 61 | 6e 64 20 73 68 6f 75 6c |bject, a|nd shoul|
|00000660| 64 20 72 65 74 75 72 6e | 20 6e 6f 6e 2d 6e 69 6c |d return| non-nil|
|00000670| 20 69 66 0a 74 68 65 20 | 77 69 6e 64 6f 77 27 73 | if.the |window's|
|00000680| 20 63 6f 6e 74 65 78 74 | 20 73 68 6f 75 6c 64 20 | context| should |
|00000690| 62 65 20 73 61 76 65 64 | 2e 22 29 0a 28 62 79 74 |be saved|.").(byt|
|000006a0| 65 2d 63 6f 64 65 20 22 | c0 c1 21 ac 85 c1 c2 4b |e-code "|..!....K|
|000006b0| 4d 88 c3 c4 c5 0e 06 c7 | 45 45 16 06 c0 87 22 20 |M.......|EE...." |
|000006c0| 5b 66 62 6f 75 6e 64 70 | 20 6a 75 73 74 2d 6b 69 |[fboundp| just-ki|
|000006d0| 6c 6c 2d 65 6d 61 63 73 | 20 6b 69 6c 6c 2d 65 6d |ll-emacs| kill-em|
|000006e0| 61 63 73 20 6c 65 74 20 | 28 28 73 74 61 72 74 69 |acs let |((starti|
|000006f0| 6e 67 2d 75 70 20 28 6e | 6f 74 20 63 6f 6d 6d 61 |ng-up (n|ot comma|
|00000700| 6e 64 2d 6c 69 6e 65 2d | 70 72 6f 63 65 73 73 65 |nd-line-|processe|
|00000710| 64 29 29 29 20 70 72 6f | 67 31 20 74 6f 70 2d 6c |d))) pro|g1 top-l|
|00000720| 65 76 65 6c 20 28 61 6e | 64 20 73 74 61 72 74 69 |evel (an|d starti|
|00000730| 6e 67 2d 75 70 20 61 75 | 74 6f 2d 73 61 76 65 2d |ng-up au|to-save-|
|00000740| 61 6e 64 2d 72 65 63 6f | 76 65 72 2d 63 6f 6e 74 |and-reco|ver-cont|
|00000750| 65 78 74 20 28 6e 75 6c | 6c 20 28 63 64 72 20 63 |ext (nul|l (cdr c|
|00000760| 6f 6d 6d 61 6e 64 2d 6c | 69 6e 65 2d 61 72 67 73 |ommand-l|ine-args|
|00000770| 29 29 20 28 72 65 63 6f | 76 65 72 2d 63 6f 6e 74 |)) (reco|ver-cont|
|00000780| 65 78 74 29 29 5d 20 35 | 29 0a 28 66 73 65 74 20 |ext))] 5|).(fset |
|00000790| 27 6b 69 6c 6c 2d 65 6d | 61 63 73 20 23 5b 28 26 |'kill-em|acs #[(&|
|000007a0| 6f 70 74 69 6f 6e 61 6c | 20 71 75 65 72 79 29 20 |optional| query) |
|000007b0| 22 08 ab 86 09 ac 83 c2 | 20 88 c3 0c 21 87 22 20 |".......| ...!." |
|000007c0| 5b 61 75 74 6f 2d 73 61 | 76 65 2d 61 6e 64 2d 72 |[auto-sa|ve-and-r|
|000007d0| 65 63 6f 76 65 72 2d 63 | 6f 6e 74 65 78 74 20 70 |ecover-c|ontext p|
|000007e0| 75 72 69 66 79 2d 66 6c | 61 67 20 73 61 76 65 2d |urify-fl|ag save-|
|000007f0| 63 6f 6e 74 65 78 74 20 | 6a 75 73 74 2d 6b 69 6c |context |just-kil|
|00000800| 6c 2d 65 6d 61 63 73 20 | 71 75 65 72 79 5d 20 32 |l-emacs |query] 2|
|00000810| 20 22 5c 0a 45 6e 64 20 | 74 68 69 73 20 45 6d 61 | "\.End |this Ema|
|00000820| 63 73 20 73 65 73 73 69 | 6f 6e 2e 0a 50 72 65 66 |cs sessi|on..Pref|
|00000830| 69 78 20 41 52 47 20 6f | 72 20 6f 70 74 69 6f 6e |ix ARG o|r option|
|00000840| 61 6c 20 66 69 72 73 74 | 20 41 52 47 20 6e 6f 6e |al first| ARG non|
|00000850| 2d 6e 69 6c 20 6d 65 61 | 6e 73 20 65 78 69 74 20 |-nil mea|ns exit |
|00000860| 77 69 74 68 20 6e 6f 20 | 71 75 65 73 74 69 6f 6e |with no |question|
|00000870| 73 20 61 73 6b 65 64 2c | 0a 65 76 65 6e 20 69 66 |s asked,|.even if|
|00000880| 20 74 68 65 72 65 20 61 | 72 65 20 75 6e 73 61 76 | there a|re unsav|
|00000890| 65 64 20 62 75 66 66 65 | 72 73 2e 20 20 49 66 20 |ed buffe|rs. If |
|000008a0| 45 6d 61 63 73 20 69 73 | 20 72 75 6e 6e 69 6e 67 |Emacs is| running|
|000008b0| 20 6e 6f 6e 2d 69 6e 74 | 65 72 61 63 74 69 76 65 | non-int|eractive|
|000008c0| 6c 79 0a 61 6e 64 20 41 | 52 47 20 69 73 20 61 6e |ly.and A|RG is an|
|000008d0| 20 69 6e 74 65 67 65 72 | 2c 20 74 68 65 6e 20 45 | integer|, then E|
|000008e0| 6d 61 63 73 20 65 78 69 | 74 73 20 77 69 74 68 20 |macs exi|ts with |
|000008f0| 41 52 47 20 61 73 20 69 | 74 73 20 65 78 69 74 20 |ARG as i|ts exit |
|00000900| 63 6f 64 65 2e 0a 0a 49 | 66 20 74 68 65 20 76 61 |code...I|f the va|
|00000910| 72 69 61 62 6c 65 20 60 | 61 75 74 6f 2d 73 61 76 |riable `|auto-sav|
|00000920| 65 2d 61 6e 64 2d 72 65 | 73 74 6f 72 65 2d 63 6f |e-and-re|store-co|
|00000930| 6e 74 65 78 74 27 20 69 | 73 20 6e 6f 6e 2d 6e 69 |ntext' i|s non-ni|
|00000940| 6c 2c 0a 74 68 65 20 66 | 75 6e 63 74 69 6f 6e 20 |l,.the f|unction |
|00000950| 73 61 76 65 2d 63 6f 6e | 74 65 78 74 20 77 69 6c |save-con|text wil|
|00000960| 6c 20 62 65 20 63 61 6c | 6c 65 64 20 66 69 72 73 |l be cal|led firs|
|00000970| 74 2e 22 20 22 50 22 5d | 29 0a 28 66 73 65 74 20 |t." "P"]|).(fset |
|00000980| 27 73 61 76 65 2d 63 6f | 6e 74 65 78 74 20 23 5b |'save-co|ntext #[|
|00000990| 6e 69 6c 20 22 c0 c1 c2 | 8f 87 22 20 5b 65 72 72 |nil "...|.." [err|
|000009a0| 6f 72 2d 64 61 74 61 20 | 28 62 79 74 65 2d 63 6f |or-data |(byte-co|
|000009b0| 64 65 20 22 c0 89 89 19 | 1a 1b c4 20 c5 c6 20 51 |de "....|... .. Q|
|000009c0| 11 c7 09 21 ac 93 c7 c4 | 20 21 ab 87 c8 c9 09 5c |...!....| !.....\|
|000009d0| 22 88 aa 86 c8 ca c4 20 | 5c 22 88 cb cc 21 89 13 |"...... |\"...!..|
|000009e0| 71 88 cd 20 88 ce c0 21 | 88 cf d0 d1 20 5c 22 88 |q.. ...!|.... \".|
|000009f0| 60 12 0e 12 ab 86 cf d3 | d4 20 5c 22 88 d5 0b 21 |`.......|. \"...!|
|00000a00| ab a9 0b 71 88 c0 16 16 | d7 63 88 5c 6e 62 88 d7 |...q....|.c.\nb..|
|00000a10| 63 88 65 62 88 d8 0e 19 | 0b 5c 22 88 da 63 88 ce |c.eb....|.\"..c..|
|00000a20| c0 21 88 db 65 64 09 c0 | dc 25 88 aa 85 dd de df |.!..ed..|.%......|
|00000a30| 8f 88 e0 0b 21 2b 87 22 | 20 5b 6e 69 6c 20 73 61 |....!+."| [nil sa|
|00000a40| 76 65 2d 66 69 6c 65 2d | 6e 61 6d 65 20 6d 61 72 |ve-file-|name mar|
|00000a50| 6b 20 63 6f 6e 74 65 78 | 74 2d 62 75 66 66 65 72 |k contex|t-buffer|
|00000a60| 20 6f 72 69 67 69 6e 61 | 6c 2d 77 6f 72 6b 69 6e | origina|l-workin|
|00000a70| 67 2d 64 69 72 65 63 74 | 6f 72 79 20 22 2e 65 6d |g-direct|ory ".em|
|00000a80| 61 63 73 5f 22 20 75 73 | 65 72 2d 6c 6f 67 69 6e |acs_" us|er-login|
|00000a90| 2d 6e 61 6d 65 20 66 69 | 6c 65 2d 77 72 69 74 61 |-name fi|le-writa|
|00000aa0| 62 6c 65 2d 70 20 65 72 | 72 6f 72 20 22 63 6f 6e |ble-p er|ror "con|
|00000ab0| 74 65 78 74 20 69 73 20 | 77 72 69 74 65 2d 70 72 |text is |write-pr|
|00000ac0| 6f 74 65 63 74 65 64 2c | 20 25 73 22 20 22 63 61 |otected,| %s" "ca|
|00000ad0| 6e 27 74 20 61 63 63 65 | 73 73 20 64 69 72 65 63 |n't acce|ss direc|
|00000ae0| 74 6f 72 79 2c 20 25 73 | 22 20 67 65 74 2d 62 75 |tory, %s|" get-bu|
|00000af0| 66 66 65 72 2d 63 72 65 | 61 74 65 20 22 20 2a 43 |ffer-cre|ate " *C|
|00000b00| 6f 6e 74 65 78 74 20 49 | 6e 66 6f 2a 22 20 65 72 |ontext I|nfo*" er|
|00000b10| 61 73 65 2d 62 75 66 66 | 65 72 20 73 65 74 2d 62 |ase-buff|er set-b|
|00000b20| 75 66 66 65 72 2d 6d 6f | 64 69 66 69 65 64 2d 70 |uffer-mo|dified-p|
|00000b30| 20 6d 61 70 63 61 72 20 | 23 5b 28 77 29 20 22 08 | mapcar |#[(w) ".|
|00000b40| 09 21 ad 99 c2 c3 c4 09 | 21 21 0d 5c 22 88 c6 c7 |.!......|!!.\"...|
|00000b50| 0d 5c 22 88 c2 c8 09 21 | 0d 5c 22 88 c6 c9 0d 5c |.\"....!|.\"....\|
|00000b60| 22 87 22 20 5b 73 61 76 | 65 2d 63 6f 6e 74 65 78 |"." [sav|e-contex|
|00000b70| 74 2d 70 72 65 64 69 63 | 61 74 65 20 77 20 70 72 |t-predic|ate w pr|
|00000b80| 69 6e 31 20 62 75 66 66 | 65 72 2d 66 69 6c 65 2d |in1 buff|er-file-|
|00000b90| 6e 61 6d 65 20 77 69 6e | 64 6f 77 2d 62 75 66 66 |name win|dow-buff|
|00000ba0| 65 72 20 63 6f 6e 74 65 | 78 74 2d 62 75 66 66 65 |er conte|xt-buffe|
|00000bb0| 72 20 70 72 69 6e 63 20 | 22 20 22 20 77 69 6e 64 |r princ |" " wind|
|00000bc0| 6f 77 2d 70 6f 69 6e 74 | 20 22 5c 6e 22 5d 20 34 |ow-point| "\n"] 4|
|00000bd0| 5d 20 77 69 6e 64 6f 77 | 2d 6c 69 73 74 20 73 61 |] window|-list sa|
|00000be0| 76 65 2d 62 75 66 66 65 | 72 2d 63 6f 6e 74 65 78 |ve-buffe|r-contex|
|00000bf0| 74 20 23 5b 28 62 29 20 | 22 08 71 88 09 ad 93 c2 |t #[(b) |".q.....|
|00000c00| 09 0b 5c 22 88 c4 c5 0b | 5c 22 88 c2 60 0b 5c 22 |..\"....|\"..`.\"|
|00000c10| 88 c4 c6 0b 5c 22 87 22 | 20 5b 62 20 62 75 66 66 |....\"."| [b buff|
|00000c20| 65 72 2d 66 69 6c 65 2d | 6e 61 6d 65 20 70 72 69 |er-file-|name pri|
|00000c30| 6e 31 20 63 6f 6e 74 65 | 78 74 2d 62 75 66 66 65 |n1 conte|xt-buffe|
|00000c40| 72 20 70 72 69 6e 63 20 | 22 20 22 20 22 5c 6e 22 |r princ |" " "\n"|
|00000c50| 5d 20 33 5d 20 62 75 66 | 66 65 72 2d 6c 69 73 74 |] 3] buf|fer-list|
|00000c60| 20 62 75 66 66 65 72 2d | 6d 6f 64 69 66 69 65 64 | buffer-|modified|
|00000c70| 2d 70 20 62 75 66 66 65 | 72 2d 6f 66 66 65 72 2d |-p buffe|r-offer-|
|00000c80| 73 61 76 65 20 22 6e 69 | 6c 5c 6e 22 20 70 72 69 |save "ni|l\n" pri|
|00000c90| 6e 31 20 73 61 76 65 2d | 63 6f 6e 74 65 78 74 2d |n1 save-|context-|
|00000ca0| 76 65 72 73 69 6f 6e 20 | 22 5c 6e 5c 6e 22 20 77 |version |"\n\n" w|
|00000cb0| 72 69 74 65 2d 72 65 67 | 69 6f 6e 20 71 75 69 65 |rite-reg|ion quie|
|00000cc0| 74 20 64 61 74 61 20 28 | 64 65 6c 65 74 65 2d 66 |t data (|delete-f|
|00000cd0| 69 6c 65 20 73 61 76 65 | 2d 66 69 6c 65 2d 6e 61 |ile save|-file-na|
|00000ce0| 6d 65 29 20 28 28 65 72 | 72 6f 72 29 29 20 6b 69 |me) ((er|ror)) ki|
|00000cf0| 6c 6c 2d 62 75 66 66 65 | 72 5d 20 37 29 20 28 28 |ll-buffe|r] 7) ((|
|00000d00| 65 72 72 6f 72 29 29 5d | 20 33 20 22 5c 0a 53 61 |error))]| 3 "\.Sa|
|00000d10| 76 65 20 63 6f 6e 74 65 | 78 74 20 6f 66 20 61 6c |ve conte|xt of al|
|00000d20| 6c 20 45 6d 61 63 73 20 | 77 69 6e 64 6f 77 73 20 |l Emacs |windows |
|00000d30| 28 66 69 6c 65 73 20 76 | 69 73 69 74 65 64 20 61 |(files v|isited a|
|00000d40| 6e 64 20 70 6f 73 69 74 | 69 6f 6e 20 6f 66 20 70 |nd posit|ion of p|
|00000d50| 6f 69 6e 74 29 2e 0a 54 | 68 65 20 69 6e 66 6f 72 |oint)..T|he infor|
|00000d60| 6d 61 74 69 6f 6e 20 67 | 6f 65 73 20 69 6e 74 6f |mation g|oes into|
|00000d70| 20 61 20 66 69 6c 65 20 | 63 61 6c 6c 65 64 20 2e | a file |called .|
|00000d80| 65 6d 61 63 73 5f 3c 75 | 73 65 72 6e 61 6d 65 3e |emacs_<u|sername>|
|00000d90| 20 69 6e 20 74 68 65 20 | 64 69 72 65 63 74 6f 72 | in the |director|
|00000da0| 79 0a 77 68 65 72 65 20 | 74 68 65 20 45 6d 61 63 |y.where |the Emac|
|00000db0| 73 20 73 65 73 73 69 6f | 6e 20 77 61 73 20 73 74 |s sessio|n was st|
|00000dc0| 61 72 74 65 64 2e 20 20 | 54 68 65 20 63 6f 6e 74 |arted. |The cont|
|00000dd0| 65 78 74 20 63 61 6e 20 | 62 65 20 72 65 63 6f 76 |ext can |be recov|
|00000de0| 65 72 65 64 20 77 69 74 | 68 20 74 68 65 0a 60 72 |ered wit|h the.`r|
|00000df0| 65 63 6f 76 65 72 2d 63 | 6f 6e 74 65 78 74 27 20 |ecover-c|ontext' |
|00000e00| 63 6f 6d 6d 61 6e 64 2c | 20 70 72 6f 76 69 64 65 |command,| provide|
|00000e10| 64 20 79 6f 75 20 61 72 | 65 20 69 6e 20 74 68 65 |d you ar|e in the|
|00000e20| 20 73 61 6d 65 20 64 69 | 72 65 63 74 6f 72 79 20 | same di|rectory |
|00000e30| 77 68 65 72 65 0a 74 68 | 65 20 63 6f 6e 74 65 78 |where.th|e contex|
|00000e40| 74 20 77 61 73 20 73 61 | 76 65 64 2e 0a 0a 49 66 |t was sa|ved...If|
|00000e50| 20 74 68 65 20 76 61 72 | 69 61 62 6c 65 20 60 73 | the var|iable `s|
|00000e60| 61 76 65 2d 62 75 66 66 | 65 72 2d 63 6f 6e 74 65 |ave-buff|er-conte|
|00000e70| 78 74 27 20 69 73 20 6e | 6f 6e 2d 6e 69 6c 2c 20 |xt' is n|on-nil, |
|00000e80| 74 68 65 20 63 6f 6e 74 | 65 78 74 20 6f 66 20 61 |the cont|ext of a|
|00000e90| 6c 6c 20 62 75 66 66 65 | 72 73 0a 76 69 73 69 74 |ll buffe|rs.visit|
|00000ea0| 69 6e 67 20 66 69 6c 65 | 73 20 77 69 6c 6c 20 62 |ing file|s will b|
|00000eb0| 65 20 73 61 76 65 64 20 | 61 73 20 77 65 6c 6c 2e |e saved |as well.|
|00000ec0| 0a 0a 57 69 6e 64 6f 77 | 20 73 69 7a 65 73 20 61 |..Window| sizes a|
|00000ed0| 6e 64 20 73 68 61 70 65 | 73 20 61 72 65 20 6e 6f |nd shape|s are no|
|00000ee0| 74 20 73 61 76 65 64 2c | 20 73 69 6e 63 65 20 74 |t saved,| since t|
|00000ef0| 68 65 73 65 20 6d 61 79 | 20 6e 6f 74 20 62 65 20 |hese may| not be |
|00000f00| 72 65 63 6f 76 65 72 61 | 62 6c 65 0a 6f 6e 20 74 |recovera|ble.on t|
|00000f10| 65 72 6d 69 6e 61 6c 73 | 20 77 69 74 68 20 61 20 |erminals| with a |
|00000f20| 64 69 66 66 65 72 65 6e | 74 20 6e 75 6d 62 65 72 |differen|t number|
|00000f30| 20 6f 66 20 72 6f 77 73 | 20 61 6e 64 20 63 6f 6c | of rows| and col|
|00000f40| 75 6d 6e 73 2e 22 20 6e | 69 6c 5d 29 0a 28 66 73 |umns." n|il]).(fs|
|00000f50| 65 74 20 27 72 65 63 6f | 76 65 72 2d 63 6f 6e 74 |et 'reco|ver-cont|
|00000f60| 65 78 74 20 23 5b 6e 69 | 6c 20 22 c0 c1 c2 8f 87 |ext #[ni|l ".....|
|00000f70| 22 20 5b 65 72 72 6f 72 | 2d 64 61 74 61 20 28 62 |" [error|-data (b|
|00000f80| 79 74 65 2d 63 6f 64 65 | 20 22 c0 89 89 19 1a 1b |yte-code| "......|
|00000f90| c4 20 c5 c6 20 51 11 c7 | 09 21 ac 85 c8 c9 09 5c |. .. Q..|.!.....\|
|00000fa0| 22 88 ca cb 21 89 12 71 | 88 cc 20 88 cd 09 c0 5c |"...!..q|.. ....\|
|00000fb0| 22 88 ce c0 21 88 cf 20 | d0 55 ab 85 c8 d1 09 5c |"...!.. |.U.....\|
|00000fc0| 22 88 d2 5c 6e 21 89 13 | 0e 13 9a ac 85 c8 d4 0b |"..\n!..|........|
|00000fd0| 5c 22 88 d2 5c 6e 21 89 | 13 ab 9b d5 d6 20 21 88 |\"..\n!.|..... !.|
|00000fe0| d7 20 ab 83 d8 20 88 d9 | da 21 88 db 0b 21 88 d2 |. ... ..|.!...!..|
|00000ff0| 5c 6e 21 62 88 aa 5e d2 | 5c 6e 21 89 13 ab 8c dc |\n!b..^.|\n!.....|
|00001000| 0b 21 71 88 d2 5c 6e 21 | 62 88 aa 6d dd de 21 88 |.!q..\n!|b..m..!.|
|00001010| df 5c 6e 21 88 2b e0 87 | 22 20 5b 6e 69 6c 20 72 |.\n!.+..|" [nil r|
|00001020| 65 63 6f 76 65 72 2d 66 | 69 6c 65 2d 6e 61 6d 65 |ecover-f|ile-name|
|00001030| 20 63 6f 6e 74 65 78 74 | 2d 62 75 66 66 65 72 20 | context|-buffer |
|00001040| 73 65 78 70 72 20 6f 72 | 69 67 69 6e 61 6c 2d 77 |sexpr or|iginal-w|
|00001050| 6f 72 6b 69 6e 67 2d 64 | 69 72 65 63 74 6f 72 79 |orking-d|irectory|
|00001060| 20 22 2e 65 6d 61 63 73 | 5f 22 20 75 73 65 72 2d | ".emacs|_" user-|
|00001070| 6c 6f 67 69 6e 2d 6e 61 | 6d 65 20 66 69 6c 65 2d |login-na|me file-|
|00001080| 72 65 61 64 61 62 6c 65 | 2d 70 20 65 72 72 6f 72 |readable|-p error|
|00001090| 20 22 63 61 6e 27 74 20 | 61 63 63 65 73 73 20 63 | "can't |access c|
|000010a0| 6f 6e 74 65 78 74 2c 20 | 25 73 22 20 67 65 74 2d |ontext, |%s" get-|
|000010b0| 62 75 66 66 65 72 2d 63 | 72 65 61 74 65 20 22 20 |buffer-c|reate " |
|000010c0| 2a 52 65 63 6f 76 65 72 | 65 64 20 43 6f 6e 74 65 |*Recover|ed Conte|
|000010d0| 78 74 2a 22 20 65 72 61 | 73 65 2d 62 75 66 66 65 |xt*" era|se-buffe|
|000010e0| 72 20 69 6e 73 65 72 74 | 2d 66 69 6c 65 2d 63 6f |r insert|-file-co|
|000010f0| 6e 74 65 6e 74 73 20 73 | 65 74 2d 62 75 66 66 65 |ntents s|et-buffe|
|00001100| 72 2d 6d 6f 64 69 66 69 | 65 64 2d 70 20 62 75 66 |r-modifi|ed-p buf|
|00001110| 66 65 72 2d 73 69 7a 65 | 20 30 20 22 63 6f 6e 74 |fer-size| 0 "cont|
|00001120| 65 78 74 20 66 69 6c 65 | 20 69 73 20 65 6d 70 74 |ext file| is empt|
|00001130| 79 2c 20 25 73 22 20 72 | 65 61 64 20 73 61 76 65 |y, %s" r|ead save|
|00001140| 2d 63 6f 6e 74 65 78 74 | 2d 76 65 72 73 69 6f 6e |-context|-version|
|00001150| 20 22 76 65 72 73 69 6f | 6e 20 73 74 72 69 6e 67 | "versio|n string|
|00001160| 20 69 6e 63 6f 72 72 65 | 63 74 2c 20 25 73 22 20 | incorre|ct, %s" |
|00001170| 73 65 6c 65 63 74 2d 77 | 69 6e 64 6f 77 20 67 65 |select-w|indow ge|
|00001180| 74 2d 6c 61 72 67 65 73 | 74 2d 77 69 6e 64 6f 77 |t-larges|t-window|
|00001190| 20 62 75 66 66 65 72 2d | 66 69 6c 65 2d 6e 61 6d | buffer-|file-nam|
|000011a0| 65 20 73 70 6c 69 74 2d | 77 69 6e 64 6f 77 20 6f |e split-|window o|
|000011b0| 74 68 65 72 2d 77 69 6e | 64 6f 77 20 31 20 66 69 |ther-win|dow 1 fi|
|000011c0| 6e 64 2d 66 69 6c 65 20 | 66 69 6e 64 2d 66 69 6c |nd-file |find-fil|
|000011d0| 65 2d 6e 6f 73 65 6c 65 | 63 74 20 62 75 72 79 2d |e-nosele|ct bury-|
|000011e0| 62 75 66 66 65 72 20 22 | 2a 73 63 72 61 74 63 68 |buffer "|*scratch|
|000011f0| 2a 22 20 6b 69 6c 6c 2d | 62 75 66 66 65 72 20 74 |*" kill-|buffer t|
|00001200| 5d 20 34 29 20 28 28 65 | 72 72 6f 72 29 29 5d 20 |] 4) ((e|rror))] |
|00001210| 33 20 22 5c 0a 52 65 63 | 6f 76 65 72 20 61 6e 20 |3 "\.Rec|over an |
|00001220| 45 6d 61 63 73 20 63 6f | 6e 74 65 78 74 20 73 61 |Emacs co|ntext sa|
|00001230| 76 65 64 20 62 79 20 60 | 73 61 76 65 2d 63 6f 6e |ved by `|save-con|
|00001240| 74 65 78 74 27 20 63 6f | 6d 6d 61 6e 64 2e 0a 46 |text' co|mmand..F|
|00001250| 69 6c 65 73 20 74 68 61 | 74 20 77 65 72 65 20 76 |iles tha|t were v|
|00001260| 69 73 69 62 6c 65 20 69 | 6e 20 77 69 6e 64 6f 77 |isible i|n window|
|00001270| 73 20 77 68 65 6e 20 74 | 68 65 20 63 6f 6e 74 65 |s when t|he conte|
|00001280| 78 74 20 77 61 73 20 73 | 61 76 65 64 20 61 72 65 |xt was s|aved are|
|00001290| 20 76 69 73 69 74 65 64 | 20 61 6e 64 0a 70 6f 69 | visited| and.poi|
|000012a0| 6e 74 20 69 73 20 73 65 | 74 20 69 6e 20 65 61 63 |nt is se|t in eac|
|000012b0| 68 20 77 69 6e 64 6f 77 | 20 74 6f 20 77 68 61 74 |h window| to what|
|000012c0| 20 69 73 20 77 61 73 20 | 77 68 65 6e 20 74 68 65 | is was |when the|
|000012d0| 20 63 6f 6e 74 65 78 74 | 20 77 61 73 20 73 61 76 | context| was sav|
|000012e0| 65 64 2e 22 20 6e 69 6c | 5d 29 0a 28 66 73 65 74 |ed." nil|]).(fset|
|000012f0| 20 27 6f 72 69 67 69 6e | 61 6c 2d 77 6f 72 6b 69 | 'origin|al-worki|
|00001300| 6e 67 2d 64 69 72 65 63 | 74 6f 72 79 20 23 5b 6e |ng-direc|tory #[n|
|00001310| 69 6c 20 22 8a c0 c1 21 | 71 88 5c 6e 29 87 22 20 |il "...!|q.\n)." |
|00001320| 5b 67 65 74 2d 62 75 66 | 66 65 72 2d 63 72 65 61 |[get-buf|fer-crea|
|00001330| 74 65 20 22 2a 73 63 72 | 61 74 63 68 2a 22 20 64 |te "*scr|atch*" d|
|00001340| 65 66 61 75 6c 74 2d 64 | 69 72 65 63 74 6f 72 79 |efault-d|irectory|
|00001350| 5d 20 32 5d 29 0a 28 66 | 73 65 74 20 27 77 69 6e |] 2]).(f|set 'win|
|00001360| 64 6f 77 2d 6c 69 73 74 | 20 23 5b 28 26 6f 70 74 |dow-list| #[(&opt|
|00001370| 69 6f 6e 61 6c 20 6d 69 | 6e 69 29 20 22 c0 c1 c2 |ional mi|ni) "...|
|00001380| 20 21 0b 5c 22 89 1c c5 | 42 89 1e 06 1e 07 c0 0c | !.\"...|B.......|
|00001390| 0b 5c 22 89 1e 08 0c 3d | ac 93 0e 07 0e 08 c5 42 |.\"....=|.......B|
|000013a0| a1 16 07 c0 0e 08 0b 5c | 22 89 16 08 aa 69 0e 06 |.......\|"....i..|
|000013b0| 2c 87 22 20 5b 6e 65 78 | 74 2d 77 69 6e 64 6f 77 |,." [nex|t-window|
|000013c0| 20 70 72 65 76 69 6f 75 | 73 2d 77 69 6e 64 6f 77 | previou|s-window|
|000013d0| 20 73 65 6c 65 63 74 65 | 64 2d 77 69 6e 64 6f 77 | selecte|d-window|
|000013e0| 20 6d 69 6e 69 20 66 69 | 72 73 74 2d 77 69 6e 64 | mini fi|rst-wind|
|000013f0| 6f 77 20 6e 69 6c 20 77 | 69 6e 64 6f 77 73 20 63 |ow nil w|indows c|
|00001400| 75 72 72 65 6e 74 2d 63 | 6f 6e 73 20 77 5d 20 34 |urrent-c|ons w] 4|
|00001410| 20 22 5c 0a 52 65 74 75 | 72 6e 73 20 61 20 6c 69 | "\.Retu|rns a li|
|00001420| 73 74 20 6f 66 20 4c 69 | 73 70 20 77 69 6e 64 6f |st of Li|sp windo|
|00001430| 77 20 6f 62 6a 65 63 74 | 73 20 66 6f 72 20 61 6c |w object|s for al|
|00001440| 6c 20 45 6d 61 63 73 20 | 77 69 6e 64 6f 77 73 2e |l Emacs |windows.|
|00001450| 0a 4f 70 74 69 6f 6e 61 | 6c 20 66 69 72 73 74 20 |.Optiona|l first |
|00001460| 61 72 67 20 4d 49 4e 49 | 42 55 46 20 74 20 6d 65 |arg MINI|BUF t me|
|00001470| 61 6e 73 20 69 6e 63 6c | 75 64 65 20 74 68 65 20 |ans incl|ude the |
|00001480| 6d 69 6e 69 62 75 66 66 | 65 72 20 77 69 6e 64 6f |minibuff|er windo|
|00001490| 77 0a 69 6e 20 74 68 65 | 20 6c 69 73 74 2c 20 65 |w.in the| list, e|
|000014a0| 76 65 6e 20 69 66 20 69 | 74 20 69 73 20 6e 6f 74 |ven if i|t is not|
|000014b0| 20 61 63 74 69 76 65 2e | 20 20 49 66 20 4d 49 4e | active.| If MIN|
|000014c0| 49 42 55 46 20 69 73 20 | 6e 65 69 74 68 65 72 20 |IBUF is |neither |
|000014d0| 74 0a 6e 6f 72 20 6e 69 | 6c 20 69 74 20 6d 65 61 |t.nor ni|l it mea|
|000014e0| 6e 73 20 74 6f 20 6e 6f | 74 20 63 6f 75 6e 74 20 |ns to no|t count |
|000014f0| 74 68 65 20 6d 69 6e 69 | 62 75 66 66 65 72 20 77 |the mini|buffer w|
|00001500| 69 6e 64 6f 77 20 65 76 | 65 6e 20 69 66 20 69 74 |indow ev|en if it|
|00001510| 20 69 73 20 61 63 74 69 | 76 65 2e 22 5d 29 0a | is acti|ve."]). |
+--------+-------------------------+-------------------------+--------+--------+