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 / saveplace.elc < prev    next >
Emacs Compiled Lisp  |  1994-04-13  |  3.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
55% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
44% TrID Summation Document Image Information Load File 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 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 57 65 64 20 | 41 70 72 20 31 33 20 31 | on Wed |Apr 13 1|
|00000040| 32 3a 32 32 3a 32 30 20 | 31 39 39 34 0a 3b 3b 3b |2:22:20 |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 73 61 76 65 70 | 6c 61 63 65 2e 65 6c 0a |sp/savep|lace.el.|
|00000080| 3b 3b 3b 20 65 6d 61 63 | 73 20 76 65 72 73 69 6f |;;; emac|s versio|
|00000090| 6e 20 31 39 2e 32 32 2e | 39 30 2e 32 2e 0a 3b 3b |n 19.22.|90.2..;;|
|000000a0| 3b 20 62 79 74 65 63 6f | 6d 70 20 76 65 72 73 69 |; byteco|mp versi|
|000000b0| 6f 6e 20 46 53 46 20 32 | 2e 31 30 0a 3b 3b 3b 20 |on FSF 2|.10.;;; |
|000000c0| 6f 70 74 69 6d 69 7a 61 | 74 69 6f 6e 20 69 73 20 |optimiza|tion is |
|000000d0| 6f 6e 2e 0a 3b 3b 3b 20 | 74 68 69 73 20 66 69 6c |on..;;; |this fil|
|000000e0| 65 20 75 73 65 73 20 6f | 70 63 6f 64 65 73 20 77 |e uses o|pcodes w|
|000000f0| 68 69 63 68 20 64 6f 20 | 6e 6f 74 20 65 78 69 73 |hich do |not exis|
|00000100| 74 20 69 6e 20 45 6d 61 | 63 73 20 31 38 2e 0a 0a |t in Ema|cs 18...|
|00000110| 28 69 66 20 28 61 6e 64 | 20 28 62 6f 75 6e 64 70 |(if (and| (boundp|
|00000120| 20 27 65 6d 61 63 73 2d | 76 65 72 73 69 6f 6e 29 | 'emacs-|version)|
|00000130| 0a 09 20 28 6f 72 20 28 | 61 6e 64 20 28 62 6f 75 |.. (or (|and (bou|
|00000140| 6e 64 70 20 27 65 70 6f | 63 68 3a 3a 76 65 72 73 |ndp 'epo|ch::vers|
|00000150| 69 6f 6e 29 20 65 70 6f | 63 68 3a 3a 76 65 72 73 |ion) epo|ch::vers|
|00000160| 69 6f 6e 29 0a 09 20 20 | 20 20 20 28 73 74 72 69 |ion).. | (stri|
|00000170| 6e 67 2d 6c 65 73 73 70 | 20 65 6d 61 63 73 2d 76 |ng-lessp| emacs-v|
|00000180| 65 72 73 69 6f 6e 20 22 | 31 39 22 29 29 29 0a 20 |ersion "|19"))). |
|00000190| 20 20 20 28 65 72 72 6f | 72 20 22 60 2f 67 64 2f | (erro|r "`/gd/|
|000001a0| 67 6e 75 2f 65 6d 61 63 | 73 2f 31 39 2e 30 2f 6c |gnu/emac|s/19.0/l|
|000001b0| 69 73 70 2f 73 61 76 65 | 70 6c 61 63 65 2e 65 6c |isp/save|place.el|
|000001c0| 27 20 77 61 73 20 63 6f | 6d 70 69 6c 65 64 20 66 |' was co|mpiled f|
|000001d0| 6f 72 20 45 6d 61 63 73 | 20 31 39 22 29 29 0a 0a |or Emacs| 19"))..|
|000001e0| 28 64 65 66 76 61 72 20 | 73 61 76 65 2d 70 6c 61 |(defvar |save-pla|
|000001f0| 63 65 2d 61 6c 69 73 74 | 20 6e 69 6c 20 22 5c 0a |ce-alist| nil "\.|
|00000200| 41 6c 69 73 74 20 6f 66 | 20 73 61 76 65 64 20 70 |Alist of| saved p|
|00000210| 6c 61 63 65 73 20 74 6f | 20 67 6f 20 62 61 63 6b |laces to| go back|
|00000220| 20 74 6f 20 77 68 65 6e | 20 72 65 76 69 73 69 74 | to when| revisit|
|00000230| 69 6e 67 20 66 69 6c 65 | 73 2e 0a 45 61 63 68 20 |ing file|s..Each |
|00000240| 65 6c 65 6d 65 6e 74 20 | 6c 6f 6f 6b 73 20 6c 69 |element |looks li|
|00000250| 6b 65 20 28 46 49 4c 45 | 4e 41 4d 45 20 2e 20 50 |ke (FILE|NAME . P|
|00000260| 4f 53 49 54 49 4f 4e 29 | 3b 0a 76 69 73 69 74 69 |OSITION)|;.visiti|
|00000270| 6e 67 20 66 69 6c 65 20 | 46 49 4c 45 4e 41 4d 45 |ng file |FILENAME|
|00000280| 20 67 6f 65 73 20 61 75 | 74 6f 6d 61 74 69 63 61 | goes au|tomatica|
|00000290| 6c 6c 79 20 74 6f 20 70 | 6f 73 69 74 69 6f 6e 20 |lly to p|osition |
|000002a0| 50 4f 53 49 54 49 4f 4e | 0a 72 61 74 68 65 72 20 |POSITION|.rather |
|000002b0| 74 68 61 6e 20 74 68 65 | 20 62 65 67 69 6e 6e 69 |than the| beginni|
|000002c0| 6e 67 20 6f 66 20 74 68 | 65 20 62 75 66 66 65 72 |ng of th|e buffer|
|000002d0| 2e 0a 54 68 69 73 20 61 | 6c 69 73 74 20 69 73 20 |..This a|list is |
|000002e0| 73 61 76 65 64 20 62 65 | 74 77 65 65 6e 20 45 6d |saved be|tween Em|
|000002f0| 61 63 73 20 73 65 73 73 | 69 6f 6e 73 2e 22 29 0a |acs sess|ions.").|
|00000300| 28 64 65 66 76 61 72 20 | 73 61 76 65 2d 70 6c 61 |(defvar |save-pla|
|00000310| 63 65 20 6e 69 6c 20 22 | 5c 0a 2a 4e 6f 6e 2d 6e |ce nil "|\.*Non-n|
|00000320| 69 6c 20 6d 65 61 6e 73 | 20 61 75 74 6f 6d 61 74 |il means| automat|
|00000330| 69 63 61 6c 6c 79 20 73 | 61 76 65 20 70 6c 61 63 |ically s|ave plac|
|00000340| 65 20 69 6e 20 65 61 63 | 68 20 66 69 6c 65 2e 0a |e in eac|h file..|
|00000350| 54 68 69 73 20 6d 65 61 | 6e 73 20 77 68 65 6e 20 |This mea|ns when |
|00000360| 79 6f 75 20 76 69 73 69 | 74 20 61 20 66 69 6c 65 |you visi|t a file|
|00000370| 2c 20 70 6f 69 6e 74 20 | 67 6f 65 73 20 74 6f 20 |, point |goes to |
|00000380| 74 68 65 20 6c 61 73 74 | 20 70 6c 61 63 65 0a 77 |the last| place.w|
|00000390| 68 65 72 65 20 69 74 20 | 77 61 73 20 77 68 65 6e |here it |was when|
|000003a0| 20 79 6f 75 20 70 72 65 | 76 69 6f 75 73 6c 79 20 | you pre|viously |
|000003b0| 76 69 73 69 74 65 64 20 | 74 68 65 20 73 61 6d 65 |visited |the same|
|000003c0| 20 66 69 6c 65 2e 0a 54 | 68 69 73 20 76 61 72 69 | file..T|his vari|
|000003d0| 61 62 6c 65 20 69 73 20 | 61 75 74 6f 6d 61 74 69 |able is |automati|
|000003e0| 63 61 6c 6c 79 20 62 75 | 66 66 65 72 2d 6c 6f 63 |cally bu|ffer-loc|
|000003f0| 61 6c 2e 0a 0a 49 66 20 | 79 6f 75 20 77 69 73 68 |al...If |you wish|
|00000400| 20 79 6f 75 72 20 70 6c | 61 63 65 20 69 6e 20 61 | your pl|ace in a|
|00000410| 6e 79 20 66 69 6c 65 20 | 74 6f 20 61 6c 77 61 79 |ny file |to alway|
|00000420| 73 20 62 65 20 61 75 74 | 6f 6d 61 74 69 63 61 6c |s be aut|omatical|
|00000430| 6c 79 20 73 61 76 65 64 | 2c 0a 73 69 6d 70 6c 79 |ly saved|,.simply|
|00000440| 20 70 75 74 20 74 68 69 | 73 20 69 6e 20 79 6f 75 | put thi|s in you|
|00000450| 72 20 60 7e 2f 2e 65 6d | 61 63 73 27 20 66 69 6c |r `~/.em|acs' fil|
|00000460| 65 3a 0a 0a 28 73 65 74 | 71 2d 64 65 66 61 75 6c |e:..(set|q-defaul|
|00000470| 74 20 73 61 76 65 2d 70 | 6c 61 63 65 20 74 29 22 |t save-p|lace t)"|
|00000480| 29 0a 28 6d 61 6b 65 2d | 76 61 72 69 61 62 6c 65 |).(make-|variable|
|00000490| 2d 62 75 66 66 65 72 2d | 6c 6f 63 61 6c 20 28 71 |-buffer-|local (q|
|000004a0| 75 6f 74 65 20 73 61 76 | 65 2d 70 6c 61 63 65 29 |uote sav|e-place)|
|000004b0| 29 0a 28 64 65 66 76 61 | 72 20 73 61 76 65 2d 70 |).(defva|r save-p|
|000004c0| 6c 61 63 65 2d 66 69 6c | 65 20 22 7e 2f 2e 65 6d |lace-fil|e "~/.em|
|000004d0| 61 63 73 2d 70 6c 61 63 | 65 73 22 20 22 5c 0a 2a |acs-plac|es" "\.*|
|000004e0| 4e 61 6d 65 20 6f 66 20 | 74 68 65 20 66 69 6c 65 |Name of |the file|
|000004f0| 20 74 68 61 74 20 72 65 | 63 6f 72 64 73 20 60 73 | that re|cords `s|
|00000500| 61 76 65 2d 70 6c 61 63 | 65 2d 61 6c 69 73 74 27 |ave-plac|e-alist'|
|00000510| 20 76 61 6c 75 65 2e 22 | 29 0a 28 64 65 66 76 61 | value."|).(defva|
|00000520| 72 20 73 61 76 65 2d 70 | 6c 61 63 65 2d 76 65 72 |r save-p|lace-ver|
|00000530| 73 69 6f 6e 2d 63 6f 6e | 74 72 6f 6c 20 28 71 75 |sion-con|trol (qu|
|00000540| 6f 74 65 20 6e 6f 73 70 | 65 63 69 61 6c 29 20 22 |ote nosp|ecial) "|
|00000550| 5c 0a 2a 43 6f 6e 74 72 | 6f 6c 73 20 77 68 65 74 |\.*Contr|ols whet|
|00000560| 68 65 72 20 74 6f 20 6d | 61 6b 65 20 6e 75 6d 62 |her to m|ake numb|
|00000570| 65 72 65 64 20 62 61 63 | 6b 75 70 73 20 6f 66 20 |ered bac|kups of |
|00000580| 6d 61 73 74 65 72 20 73 | 61 76 65 2d 70 6c 61 63 |master s|ave-plac|
|00000590| 65 20 66 69 6c 65 2e 0a | 49 74 20 63 61 6e 20 68 |e file..|It can h|
|000005a0| 61 76 65 20 66 6f 75 72 | 20 76 61 6c 75 65 73 3a |ave four| values:|
|000005b0| 20 74 2c 20 6e 69 6c 2c | 20 60 6e 65 76 65 72 27 | t, nil,| `never'|
|000005c0| 2c 20 61 6e 64 20 60 6e | 6f 73 70 65 63 69 61 6c |, and `n|ospecial|
|000005d0| 27 2e 20 20 54 68 65 20 | 66 69 72 73 74 0a 74 68 |'. The |first.th|
|000005e0| 72 65 65 20 68 61 76 65 | 20 74 68 65 20 73 61 6d |ree have| the sam|
|000005f0| 65 20 6d 65 61 6e 69 6e | 67 20 74 68 61 74 20 74 |e meanin|g that t|
|00000600| 68 65 79 20 64 6f 20 66 | 6f 72 20 74 68 65 20 76 |hey do f|or the v|
|00000610| 61 72 69 61 62 6c 65 0a | 60 76 65 72 73 69 6f 6e |ariable.|`version|
|00000620| 2d 63 6f 6e 74 72 6f 6c | 27 2c 20 61 6e 64 20 74 |-control|', and t|
|00000630| 68 65 20 66 69 6e 61 6c | 20 76 61 6c 75 65 20 60 |he final| value `|
|00000640| 6e 6f 73 70 65 63 69 61 | 6c 27 20 6d 65 61 6e 73 |nospecia|l' means|
|00000650| 20 6a 75 73 74 20 75 73 | 65 20 74 68 65 0a 76 61 | just us|e the.va|
|00000660| 6c 75 65 20 6f 66 20 60 | 76 65 72 73 69 6f 6e 2d |lue of `|version-|
|00000670| 63 6f 6e 74 72 6f 6c 27 | 2e 22 29 0a 28 64 65 66 |control'|.").(def|
|00000680| 76 61 72 20 73 61 76 65 | 2d 70 6c 61 63 65 2d 6c |var save|-place-l|
|00000690| 6f 61 64 65 64 20 6e 69 | 6c 20 22 5c 0a 4e 6f 6e |oaded ni|l "\.Non|
|000006a0| 2d 6e 69 6c 20 6d 65 61 | 6e 73 20 74 68 61 74 20 |-nil mea|ns that |
|000006b0| 74 68 65 20 60 73 61 76 | 65 2d 70 6c 61 63 65 2d |the `sav|e-place-|
|000006c0| 66 69 6c 65 27 20 68 61 | 73 20 62 65 65 6e 20 6c |file' ha|s been l|
|000006d0| 6f 61 64 65 64 2e 22 29 | 0a 28 64 65 66 61 6c 69 |oaded.")|.(defali|
|000006e0| 61 73 20 27 74 6f 67 67 | 6c 65 2d 73 61 76 65 2d |as 'togg|le-save-|
|000006f0| 70 6c 61 63 65 20 23 5b | 28 26 6f 70 74 69 6f 6e |place #[|(&option|
|00000700| 61 6c 20 70 61 72 67 29 | 20 22 08 84 5c 66 00 c1 |al parg)| "..\f..|
|00000710| c2 c3 c4 20 5c 22 21 87 | 0d 83 24 00 0e 06 83 1c |... \"!.|..$.....|
|00000720| 00 0e 06 c7 58 83 24 00 | c1 c8 21 88 c9 89 15 87 |....X.$.|..!.....|
|00000730| c1 ca 21 88 cb 89 15 87 | 22 20 5b 62 75 66 66 65 |..!.....|" [buffe|
|00000740| 72 2d 66 69 6c 65 2d 6e | 61 6d 65 20 6d 65 73 73 |r-file-n|ame mess|
|00000750| 61 67 65 20 66 6f 72 6d | 61 74 20 22 42 75 66 66 |age form|at "Buff|
|00000760| 65 72 20 5c 22 25 73 5c | 22 20 6e 6f 74 20 76 69 |er \"%s\|" not vi|
|00000770| 73 69 74 69 6e 67 20 61 | 20 66 69 6c 65 2e 22 20 |siting a| file." |
|00000780| 62 75 66 66 65 72 2d 6e | 61 6d 65 20 73 61 76 65 |buffer-n|ame save|
|00000790| 2d 70 6c 61 63 65 20 70 | 61 72 67 20 30 20 22 4e |-place p|arg 0 "N|
|000007a0| 6f 20 70 6c 61 63 65 20 | 77 69 6c 6c 20 62 65 20 |o place |will be |
|000007b0| 73 61 76 65 64 20 69 6e | 20 74 68 69 73 20 66 69 |saved in| this fi|
|000007c0| 6c 65 2e 22 20 6e 69 6c | 20 22 50 6c 61 63 65 20 |le." nil| "Place |
|000007d0| 77 69 6c 6c 20 62 65 20 | 73 61 76 65 64 2e 22 20 |will be |saved." |
|000007e0| 74 5d 20 34 20 22 5c 0a | 54 6f 67 67 6c 65 20 77 |t] 4 "\.|Toggle w|
|000007f0| 68 65 74 68 65 72 20 74 | 6f 20 73 61 76 65 20 79 |hether t|o save y|
|00000800| 6f 75 72 20 70 6c 61 63 | 65 20 69 6e 20 74 68 69 |our plac|e in thi|
|00000810| 73 20 66 69 6c 65 20 62 | 65 74 77 65 65 6e 20 73 |s file b|etween s|
|00000820| 65 73 73 69 6f 6e 73 2e | 0a 49 66 20 74 68 69 73 |essions.|.If this|
|00000830| 20 6d 6f 64 65 20 69 73 | 20 65 6e 61 62 6c 65 64 | mode is| enabled|
|00000840| 2c 20 70 6f 69 6e 74 20 | 69 73 20 72 65 63 6f 72 |, point |is recor|
|00000850| 64 65 64 20 77 68 65 6e | 20 79 6f 75 20 6b 69 6c |ded when| you kil|
|00000860| 6c 20 74 68 65 20 62 75 | 66 66 65 72 0a 6f 72 20 |l the bu|ffer.or |
|00000870| 65 78 69 74 20 45 6d 61 | 63 73 2e 20 20 56 69 73 |exit Ema|cs. Vis|
|00000880| 69 74 69 6e 67 20 74 68 | 69 73 20 66 69 6c 65 20 |iting th|is file |
|00000890| 61 67 61 69 6e 20 77 69 | 6c 6c 20 67 6f 20 74 6f |again wi|ll go to|
|000008a0| 20 74 68 61 74 20 70 6f | 73 69 74 69 6f 6e 2c 0a | that po|sition,.|
|000008b0| 65 76 65 6e 20 69 6e 20 | 61 20 6c 61 74 65 72 20 |even in |a later |
|000008c0| 45 6d 61 63 73 20 73 65 | 73 73 69 6f 6e 2e 0a 0a |Emacs se|ssion...|
|000008d0| 49 66 20 63 61 6c 6c 65 | 64 20 77 69 74 68 20 61 |If calle|d with a|
|000008e0| 20 70 72 65 66 69 78 20 | 61 72 67 2c 20 74 68 65 | prefix |arg, the|
|000008f0| 20 6d 6f 64 65 20 69 73 | 20 65 6e 61 62 6c 65 64 | mode is| enabled|
|00000900| 20 69 66 20 61 6e 64 20 | 6f 6e 6c 79 20 69 66 0a | if and |only if.|
|00000910| 74 68 65 20 61 72 67 75 | 6d 65 6e 74 20 69 73 20 |the argu|ment is |
|00000920| 70 6f 73 69 74 69 76 65 | 2e 0a 0a 54 6f 20 73 61 |positive|...To sa|
|00000930| 76 65 20 70 6c 61 63 65 | 73 20 61 75 74 6f 6d 61 |ve place|s automa|
|00000940| 74 69 63 61 6c 6c 79 20 | 69 6e 20 61 6c 6c 20 66 |tically |in all f|
|00000950| 69 6c 65 73 2c 20 70 75 | 74 20 74 68 69 73 20 69 |iles, pu|t this i|
|00000960| 6e 20 79 6f 75 72 20 60 | 2e 65 6d 61 63 73 27 20 |n your `|.emacs' |
|00000970| 66 69 6c 65 3a 0a 0a 28 | 73 65 74 71 2d 64 65 66 |file:..(|setq-def|
|00000980| 61 75 6c 74 20 73 61 76 | 65 2d 70 6c 61 63 65 20 |ault sav|e-place |
|00000990| 74 29 22 20 22 50 22 5d | 29 0a 28 62 79 74 65 2d |t)" "P"]|).(byte-|
|000009a0| 63 6f 64 65 20 22 c0 c1 | c2 5c 22 88 c0 c3 c4 5c |code "..|.\"....\|
|000009b0| 22 88 c0 c5 c6 5c 22 88 | c0 c7 c8 5c 22 88 c0 c9 |"....\".|...\"...|
|000009c0| ca 5c 22 88 c0 cb cc 5c | 22 88 cd ce c9 cf 23 88 |.\"....\|".....#.|
|000009d0| cd d0 cb 5c 22 88 cd d1 | c1 5c 22 88 d2 d3 21 87 |...\"...|.\"...!.|
|000009e0| 22 20 5b 64 65 66 61 6c | 69 61 73 20 73 61 76 65 |" [defal|ias save|
|000009f0| 2d 70 6c 61 63 65 2d 74 | 6f 2d 61 6c 69 73 74 20 |-place-t|o-alist |
|00000a00| 23 5b 6e 69 6c 20 22 08 | 84 07 00 c1 20 88 5c 6e |#[nil ".|.... .\n|
|00000a10| 85 26 00 c3 5c 6e 5c 66 | 5c 22 89 1d 83 19 00 c6 |.&..\n\f|\"......|
|00000a20| 0d 5c 66 5c 22 14 29 0e | 07 85 26 00 5c 6e 60 42 |.\f\".).|..&.\n`B|
|00000a30| 5c 66 42 89 14 87 22 20 | 5b 73 61 76 65 2d 70 6c |\fB..." |[save-pl|
|00000a40| 61 63 65 2d 6c 6f 61 64 | 65 64 20 6c 6f 61 64 2d |ace-load|ed load-|
|00000a50| 73 61 76 65 2d 70 6c 61 | 63 65 2d 61 6c 69 73 74 |save-pla|ce-alist|
|00000a60| 2d 66 72 6f 6d 2d 66 69 | 6c 65 20 62 75 66 66 65 |-from-fi|le buffe|
|00000a70| 72 2d 66 69 6c 65 2d 6e | 61 6d 65 20 61 73 73 6f |r-file-n|ame asso|
|00000a80| 63 20 73 61 76 65 2d 70 | 6c 61 63 65 2d 61 6c 69 |c save-p|lace-ali|
|00000a90| 73 74 20 63 65 6c 6c 20 | 64 65 6c 71 20 73 61 76 |st cell |delq sav|
|00000aa0| 65 2d 70 6c 61 63 65 5d | 20 34 5d 20 73 61 76 65 |e-place]| 4] save|
|00000ab0| 2d 70 6c 61 63 65 2d 61 | 6c 69 73 74 2d 74 6f 2d |-place-a|list-to-|
|00000ac0| 66 69 6c 65 20 23 5b 6e | 69 6c 20 22 c0 09 21 1a |file #[n|il "..!.|
|00000ad0| 8a c3 c4 c5 5c 6e 5c 22 | 21 88 c6 c7 21 71 88 65 |....\n\"|!...!q.e|
|00000ae0| 64 7c 88 c8 5c 6e 21 83 | 1f 00 c9 5c 6e 21 88 65 |d|..\n!.|...\n!.e|
|00000af0| 64 7c 88 65 62 88 ca 0e | 0b 70 5c 22 88 0e 5c 66 |d|.eb...|.p\"..\f|
|00000b00| 84 35 00 cd 82 4d 00 0e | 5c 66 ce 3d 83 40 00 ce |.5...M..|\f.=.@..|
|00000b10| 82 4d 00 0e 5c 66 cf 3d | 83 4c 00 0e 10 82 4d 00 |.M..\f.=|.L....M.|
|00000b20| d1 1e 10 d2 5c 6e 21 88 | d3 70 21 88 c3 c4 d4 5c |....\n!.|.p!....\|
|00000b30| 6e 5c 22 21 2b 87 22 20 | 5b 65 78 70 61 6e 64 2d |n\"!+." |[expand-|
|00000b40| 66 69 6c 65 2d 6e 61 6d | 65 20 73 61 76 65 2d 70 |file-nam|e save-p|
|00000b50| 6c 61 63 65 2d 66 69 6c | 65 20 66 69 6c 65 20 6d |lace-fil|e file m|
|00000b60| 65 73 73 61 67 65 20 66 | 6f 72 6d 61 74 20 22 53 |essage f|ormat "S|
|00000b70| 61 76 69 6e 67 20 70 6c | 61 63 65 73 20 74 6f 20 |aving pl|aces to |
|00000b80| 25 73 2e 2e 2e 22 20 67 | 65 74 2d 62 75 66 66 65 |%s..." g|et-buffe|
|00000b90| 72 2d 63 72 65 61 74 65 | 20 22 20 2a 53 61 76 65 |r-create| " *Save|
|00000ba0| 64 20 50 6c 61 63 65 73 | 2a 22 20 66 69 6c 65 2d |d Places|*" file-|
|00000bb0| 72 65 61 64 61 62 6c 65 | 2d 70 20 69 6e 73 65 72 |readable|-p inser|
|00000bc0| 74 2d 66 69 6c 65 2d 63 | 6f 6e 74 65 6e 74 73 20 |t-file-c|ontents |
|00000bd0| 70 72 69 6e 74 20 73 61 | 76 65 2d 70 6c 61 63 65 |print sa|ve-place|
|00000be0| 2d 61 6c 69 73 74 20 73 | 61 76 65 2d 70 6c 61 63 |-alist s|ave-plac|
|00000bf0| 65 2d 76 65 72 73 69 6f | 6e 2d 63 6f 6e 74 72 6f |e-versio|n-contro|
|00000c00| 6c 20 6e 69 6c 20 6e 65 | 76 65 72 20 6e 6f 73 70 |l nil ne|ver nosp|
|00000c10| 65 63 69 61 6c 20 76 65 | 72 73 69 6f 6e 2d 63 6f |ecial ve|rsion-co|
|00000c20| 6e 74 72 6f 6c 20 74 20 | 77 72 69 74 65 2d 66 69 |ntrol t |write-fi|
|00000c30| 6c 65 20 6b 69 6c 6c 2d | 62 75 66 66 65 72 20 22 |le kill-|buffer "|
|00000c40| 53 61 76 69 6e 67 20 70 | 6c 61 63 65 73 20 74 6f |Saving p|laces to|
|00000c50| 20 25 73 2e 2e 2e 20 64 | 6f 6e 65 2e 22 5d 20 34 | %s... d|one."] 4|
|00000c60| 5d 20 6c 6f 61 64 2d 73 | 61 76 65 2d 70 6c 61 63 |] load-s|ave-plac|
|00000c70| 65 2d 61 6c 69 73 74 2d | 66 72 6f 6d 2d 66 69 6c |e-alist-|from-fil|
|00000c80| 65 20 23 5b 6e 69 6c 20 | 22 08 3f 85 3f 00 c1 10 |e #[nil |".?.?...|
|00000c90| c2 0b 21 1c c5 5c 66 21 | 83 3d 00 8a c6 c7 c8 0b |..!..\f!|.=......|
|00000ca0| 5c 22 21 88 c9 ca 21 71 | 88 65 64 7c 88 cb 5c 66 |\"!...!q|.ed|..\f|
|00000cb0| 21 88 65 62 88 cc 65 64 | 7b 21 40 16 0d ce 70 21 |!.eb..ed|{!@...p!|
|00000cc0| 88 c6 c7 cf 5c 66 5c 22 | 21 88 29 29 d0 87 22 20 |....\f\"|!.)).." |
|00000cd0| 5b 73 61 76 65 2d 70 6c | 61 63 65 2d 6c 6f 61 64 |[save-pl|ace-load|
|00000ce0| 65 64 20 74 20 65 78 70 | 61 6e 64 2d 66 69 6c 65 |ed t exp|and-file|
|00000cf0| 2d 6e 61 6d 65 20 73 61 | 76 65 2d 70 6c 61 63 65 |-name sa|ve-place|
|00000d00| 2d 66 69 6c 65 20 66 69 | 6c 65 20 66 69 6c 65 2d |-file fi|le file-|
|00000d10| 72 65 61 64 61 62 6c 65 | 2d 70 20 6d 65 73 73 61 |readable|-p messa|
|00000d20| 67 65 20 66 6f 72 6d 61 | 74 20 22 4c 6f 61 64 69 |ge forma|t "Loadi|
|00000d30| 6e 67 20 70 6c 61 63 65 | 73 20 66 72 6f 6d 20 25 |ng place|s from %|
|00000d40| 73 2e 2e 2e 22 20 67 65 | 74 2d 62 75 66 66 65 72 |s..." ge|t-buffer|
|00000d50| 2d 63 72 65 61 74 65 20 | 22 20 2a 53 61 76 65 64 |-create |" *Saved|
|00000d60| 20 50 6c 61 63 65 73 2a | 22 20 69 6e 73 65 72 74 | Places*|" insert|
|00000d70| 2d 66 69 6c 65 2d 63 6f | 6e 74 65 6e 74 73 20 72 |-file-co|ntents r|
|00000d80| 65 61 64 2d 66 72 6f 6d | 2d 73 74 72 69 6e 67 20 |ead-from|-string |
|00000d90| 73 61 76 65 2d 70 6c 61 | 63 65 2d 61 6c 69 73 74 |save-pla|ce-alist|
|00000da0| 20 6b 69 6c 6c 2d 62 75 | 66 66 65 72 20 22 4c 6f | kill-bu|ffer "Lo|
|00000db0| 61 64 69 6e 67 20 70 6c | 61 63 65 73 20 66 72 6f |ading pl|aces fro|
|00000dc0| 6d 20 25 73 2e 2e 2e 20 | 64 6f 6e 65 2e 22 20 6e |m %s... |done." n|
|00000dd0| 69 6c 5d 20 34 5d 20 73 | 61 76 65 2d 70 6c 61 63 |il] 4] s|ave-plac|
|00000de0| 65 73 2d 74 6f 2d 61 6c | 69 73 74 20 23 5b 6e 69 |es-to-al|ist #[ni|
|00000df0| 6c 20 22 c0 20 19 09 85 | 1a 00 8a 09 40 71 88 5c |l ". ...|....@q.\|
|00000e00| 6e 83 13 00 c3 20 88 09 | 41 11 29 82 03 00 29 87 |n.... ..|A.)...).|
|00000e10| 22 20 5b 62 75 66 66 65 | 72 2d 6c 69 73 74 20 62 |" [buffe|r-list b|
|00000e20| 75 66 2d 6c 69 73 74 20 | 62 75 66 66 65 72 2d 66 |uf-list |buffer-f|
|00000e30| 69 6c 65 2d 6e 61 6d 65 | 20 73 61 76 65 2d 70 6c |ile-name| save-pl|
|00000e40| 61 63 65 2d 74 6f 2d 61 | 6c 69 73 74 5d 20 31 5d |ace-to-a|list] 1]|
|00000e50| 20 73 61 76 65 2d 70 6c | 61 63 65 2d 66 69 6e 64 | save-pl|ace-find|
|00000e60| 2d 66 69 6c 65 2d 68 6f | 6f 6b 20 23 5b 6e 69 6c |-file-ho|ok #[nil|
|00000e70| 20 22 08 84 07 00 c1 20 | 88 c2 0b 5c 66 5c 22 89 | "..... |...\f\".|
|00000e80| 1d 85 18 00 0d 41 62 88 | c6 89 16 07 29 87 22 20 |.....Ab.|....)." |
|00000e90| 5b 73 61 76 65 2d 70 6c | 61 63 65 2d 6c 6f 61 64 |[save-pl|ace-load|
|00000ea0| 65 64 20 6c 6f 61 64 2d | 73 61 76 65 2d 70 6c 61 |ed load-|save-pla|
|00000eb0| 63 65 2d 61 6c 69 73 74 | 2d 66 72 6f 6d 2d 66 69 |ce-alist|-from-fi|
|00000ec0| 6c 65 20 61 73 73 6f 63 | 20 62 75 66 66 65 72 2d |le assoc| buffer-|
|00000ed0| 66 69 6c 65 2d 6e 61 6d | 65 20 73 61 76 65 2d 70 |file-nam|e save-p|
|00000ee0| 6c 61 63 65 2d 61 6c 69 | 73 74 20 63 65 6c 6c 20 |lace-ali|st cell |
|00000ef0| 74 20 73 61 76 65 2d 70 | 6c 61 63 65 5d 20 34 5d |t save-p|lace] 4]|
|00000f00| 20 73 61 76 65 2d 70 6c | 61 63 65 2d 6b 69 6c 6c | save-pl|ace-kill|
|00000f10| 2d 65 6d 61 63 73 2d 68 | 6f 6f 6b 20 23 5b 6e 69 |-emacs-h|ook #[ni|
|00000f20| 6c 20 22 c0 20 88 c1 20 | 87 22 20 5b 73 61 76 65 |l ". .. |." [save|
|00000f30| 2d 70 6c 61 63 65 73 2d | 74 6f 2d 61 6c 69 73 74 |-places-|to-alist|
|00000f40| 20 73 61 76 65 2d 70 6c | 61 63 65 2d 61 6c 69 73 | save-pl|ace-alis|
|00000f50| 74 2d 74 6f 2d 66 69 6c | 65 5d 20 31 5d 20 61 64 |t-to-fil|e] 1] ad|
|00000f60| 64 2d 68 6f 6f 6b 20 66 | 69 6e 64 2d 66 69 6c 65 |d-hook f|ind-file|
|00000f70| 2d 68 6f 6f 6b 73 20 74 | 20 6b 69 6c 6c 2d 65 6d |-hooks t| kill-em|
|00000f80| 61 63 73 2d 68 6f 6f 6b | 20 6b 69 6c 6c 2d 62 75 |acs-hook| kill-bu|
|00000f90| 66 66 65 72 2d 68 6f 6f | 6b 20 70 72 6f 76 69 64 |ffer-hoo|k provid|
|00000fa0| 65 20 73 61 76 65 70 6c | 61 63 65 5d 20 34 29 0a |e savepl|ace] 4).|
+--------+-------------------------+-------------------------+--------+--------+