home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1993-04-01 | 2.6 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.
Confidence | Program | Detection | Match Type | Support
|
---|
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 33 32 3a 30 35 20 |Feb 1 1|9:32:05 |
|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 76 6d 73 | 2f 76 6d 73 2d 70 61 74 |lisp/vms|/vms-pat|
|00000080| 63 68 2e 65 6c 0a 3b 3b | 3b 20 65 6d 61 63 73 20 |ch.el.;;|; emacs |
|00000090| 76 65 72 73 69 6f 6e 20 | 31 39 2e 34 2e 31 33 20 |version |19.4.13 |
|000000a0| 4c 75 63 69 64 2e 0a 3b | 3b 3b 20 62 79 74 65 63 |Lucid..;|;; bytec|
|000000b0| 6f 6d 70 20 76 65 72 73 | 69 6f 6e 20 32 2e 31 30 |omp vers|ion 2.10|
|000000c0| 3b 20 20 31 2d 66 65 62 | 2d 39 33 2e 0a 3b 3b 3b |; 1-feb|-93..;;;|
|000000d0| 20 6f 70 74 69 6d 69 7a | 61 74 69 6f 6e 20 69 73 | optimiz|ation is|
|000000e0| 20 6f 6e 2e 0a 3b 3b 3b | 20 74 68 69 73 20 66 69 | on..;;;| this fi|
|000000f0| 6c 65 20 75 73 65 73 20 | 6f 70 63 6f 64 65 73 20 |le uses |opcodes |
|00000100| 77 68 69 63 68 20 64 6f | 20 6e 6f 74 20 65 78 69 |which do| not exi|
|00000110| 73 74 20 69 6e 20 45 6d | 61 63 73 31 38 2e 0a 0a |st in Em|acs18...|
|00000120| 28 69 66 20 28 61 6e 64 | 20 28 62 6f 75 6e 64 70 |(if (and| (boundp|
|00000130| 20 27 65 6d 61 63 73 2d | 76 65 72 73 69 6f 6e 29 | 'emacs-|version)|
|00000140| 0a 09 20 28 6f 72 20 28 | 61 6e 64 20 28 62 6f 75 |.. (or (|and (bou|
|00000150| 6e 64 70 20 27 65 70 6f | 63 68 3a 3a 76 65 72 73 |ndp 'epo|ch::vers|
|00000160| 69 6f 6e 29 20 65 70 6f | 63 68 3a 3a 76 65 72 73 |ion) epo|ch::vers|
|00000170| 69 6f 6e 29 0a 09 20 20 | 20 20 20 28 73 74 72 69 |ion).. | (stri|
|00000180| 6e 67 2d 6c 65 73 73 70 | 20 65 6d 61 63 73 2d 76 |ng-lessp| emacs-v|
|00000190| 65 72 73 69 6f 6e 20 22 | 31 39 22 29 29 29 0a 20 |ersion "|19"))). |
|000001a0| 20 20 20 28 65 72 72 6f | 72 20 22 54 68 69 73 20 | (erro|r "This |
|000001b0| 66 69 6c 65 20 77 61 73 | 20 63 6f 6d 70 69 6c 65 |file was| compile|
|000001c0| 64 20 66 6f 72 20 45 6d | 61 63 73 31 39 2e 22 29 |d for Em|acs19.")|
|000001d0| 29 0a 0a 28 66 73 65 74 | 20 27 63 72 65 61 74 65 |)..(fset| 'create|
|000001e0| 2d 66 69 6c 65 2d 62 75 | 66 66 65 72 20 23 5b 28 |-file-bu|ffer #[(|
|000001f0| 66 69 6c 65 6e 61 6d 65 | 29 20 22 c0 c1 5c 6e 21 |filename|) "..\n!|
|00000200| 97 21 87 22 20 5b 67 65 | 6e 65 72 61 74 65 2d 6e |.!." [ge|nerate-n|
|00000210| 65 77 2d 62 75 66 66 65 | 72 20 66 69 6c 65 2d 6e |ew-buffe|r file-n|
|00000220| 61 6d 65 2d 6e 6f 6e 64 | 69 72 65 63 74 6f 72 79 |ame-nond|irectory|
|00000230| 20 66 69 6c 65 6e 61 6d | 65 5d 20 33 20 22 5c 0a | filenam|e] 3 "\.|
|00000240| 43 72 65 61 74 65 20 61 | 20 73 75 69 74 61 62 6c |Create a| suitabl|
|00000250| 79 20 6e 61 6d 65 64 20 | 62 75 66 66 65 72 20 66 |y named |buffer f|
|00000260| 6f 72 20 76 69 73 69 74 | 69 6e 67 20 46 49 4c 45 |or visit|ing FILE|
|00000270| 4e 41 4d 45 2c 20 61 6e | 64 20 72 65 74 75 72 6e |NAME, an|d return|
|00000280| 20 69 74 2e 0a 46 49 4c | 45 4e 41 4d 45 20 28 73 | it..FIL|ENAME (s|
|00000290| 61 6e 73 20 64 69 72 65 | 63 74 6f 72 79 29 20 69 |ans dire|ctory) i|
|000002a0| 73 20 75 73 65 64 20 75 | 6e 63 68 61 6e 67 65 64 |s used u|nchanged|
|000002b0| 20 69 66 20 74 68 61 74 | 20 6e 61 6d 65 20 69 73 | if that| name is|
|000002c0| 20 66 72 65 65 3b 0a 6f | 74 68 65 72 77 69 73 65 | free;.o|therwise|
|000002d0| 20 61 20 73 74 72 69 6e | 67 20 3c 32 3e 20 6f 72 | a strin|g <2> or|
|000002e0| 20 3c 33 3e 20 6f 72 20 | 2e 2e 2e 20 69 73 20 61 | <3> or |... is a|
|000002f0| 70 70 65 6e 64 65 64 20 | 74 6f 20 67 65 74 20 61 |ppended |to get a|
|00000300| 6e 20 75 6e 75 73 65 64 | 20 6e 61 6d 65 2e 22 5d |n unused| name."]|
|00000310| 29 0a 28 66 73 65 74 20 | 27 6d 61 6b 65 2d 6c 65 |).(fset |'make-le|
|00000320| 67 61 6c 2d 66 69 6c 65 | 2d 6e 61 6d 65 20 23 5b |gal-file|-name #[|
|00000330| 28 66 6e 29 20 22 c0 09 | 21 11 c2 c3 09 47 c2 1c |(fn) "..|!....G..|
|00000340| 1d 1e 06 1e 07 0e 06 0d | 57 ab dc 09 0e 06 48 89 |........|W.....H.|
|00000350| 14 c8 3d ab 91 0e 07 ab | 88 09 0e 06 c9 49 88 aa |..=.....|.....I..|
|00000360| be ca 16 07 aa b9 0c cb | 59 ab 85 0c cc 58 ac af |........|Y....X..|
|00000370| 0c cd 59 ab 85 0c ce 58 | ac a5 0c cf 59 ab 85 0c |..Y....X|....Y...|
|00000380| d0 58 ac 9b 0c d1 3d ac | 96 0c c9 3d ac 91 0c d2 |.X....=.|...=....|
|00000390| 3d ab 86 0e 06 c3 56 ac | 86 09 0e 06 c9 49 88 0e |=.....V.|.....I..|
|000003a0| 06 54 89 16 06 aa 20 2c | 09 87 22 20 5b 63 6f 70 |.T.... ,|.." [cop|
|000003b0| 79 2d 73 65 71 75 65 6e | 63 65 20 66 6e 20 6e 69 |y-sequen|ce fn ni|
|000003c0| 6c 20 30 20 63 68 72 20 | 6c 65 6e 20 69 6e 64 78 |l 0 chr |len indx|
|000003d0| 20 64 6f 74 20 34 36 20 | 39 35 20 74 20 39 37 20 | dot 46 |95 t 97 |
|000003e0| 31 32 32 20 36 35 20 39 | 30 20 34 38 20 35 37 20 |122 65 9|0 48 57 |
|000003f0| 33 36 20 34 35 5d 20 35 | 5d 29 0a 28 66 73 65 74 |36 45] 5|]).(fset|
|00000400| 20 27 6d 61 6b 65 2d 61 | 75 74 6f 2d 73 61 76 65 | 'make-a|uto-save|
|00000410| 2d 66 69 6c 65 2d 6e 61 | 6d 65 20 23 5b 6e 69 6c |-file-na|me #[nil|
|00000420| 20 22 08 ab 8a c1 08 21 | c2 c3 08 21 c4 52 87 c5 | ".....!|...!.R..|
|00000430| c6 c7 c8 20 21 c4 51 21 | 87 22 20 5b 62 75 66 66 |... !.Q!|." [buff|
|00000440| 65 72 2d 66 69 6c 65 2d | 6e 61 6d 65 20 66 69 6c |er-file-|name fil|
|00000450| 65 2d 6e 61 6d 65 2d 64 | 69 72 65 63 74 6f 72 79 |e-name-d|irectory|
|00000460| 20 22 5f 24 22 20 66 69 | 6c 65 2d 6e 61 6d 65 2d | "_$" fi|le-name-|
|00000470| 6e 6f 6e 64 69 72 65 63 | 74 6f 72 79 20 22 24 22 |nondirec|tory "$"|
|00000480| 20 65 78 70 61 6e 64 2d | 66 69 6c 65 2d 6e 61 6d | expand-|file-nam|
|00000490| 65 20 22 5f 24 5f 22 20 | 6d 61 6b 65 2d 6c 65 67 |e "_$_" |make-leg|
|000004a0| 61 6c 2d 66 69 6c 65 2d | 6e 61 6d 65 20 62 75 66 |al-file-|name buf|
|000004b0| 66 65 72 2d 6e 61 6d 65 | 5d 20 34 20 22 5c 0a 52 |fer-name|] 4 "\.R|
|000004c0| 65 74 75 72 6e 20 66 69 | 6c 65 20 6e 61 6d 65 20 |eturn fi|le name |
|000004d0| 74 6f 20 75 73 65 20 66 | 6f 72 20 61 75 74 6f 2d |to use f|or auto-|
|000004e0| 73 61 76 65 73 20 6f 66 | 20 63 75 72 72 65 6e 74 |saves of| current|
|000004f0| 20 62 75 66 66 65 72 2e | 0a 44 6f 65 73 20 6e 6f | buffer.|.Does no|
|00000500| 74 20 63 6f 6e 73 69 64 | 65 72 20 61 75 74 6f 2d |t consid|er auto-|
|00000510| 73 61 76 65 2d 76 69 73 | 69 74 65 64 2d 66 69 6c |save-vis|ited-fil|
|00000520| 65 2d 6e 61 6d 65 3b 20 | 74 68 61 74 20 69 73 20 |e-name; |that is |
|00000530| 63 68 65 63 6b 65 64 0a | 62 65 66 6f 72 65 20 63 |checked.|before c|
|00000540| 61 6c 6c 69 6e 67 20 74 | 68 69 73 20 66 75 6e 63 |alling t|his func|
|00000550| 74 69 6f 6e 2e 0a 54 68 | 69 73 20 69 73 20 61 20 |tion..Th|is is a |
|00000560| 73 65 70 61 72 61 74 65 | 20 66 75 6e 63 74 69 6f |separate| functio|
|00000570| 6e 20 73 6f 20 79 6f 75 | 72 20 2e 65 6d 61 63 73 |n so you|r .emacs|
|00000580| 20 66 69 6c 65 20 6f 72 | 20 73 69 74 65 2d 69 6e | file or| site-in|
|00000590| 69 74 2e 65 6c 20 63 61 | 6e 20 72 65 64 65 66 69 |it.el ca|n redefi|
|000005a0| 6e 65 20 69 74 2e 0a 53 | 65 65 20 61 6c 73 6f 20 |ne it..S|ee also |
|000005b0| 61 75 74 6f 2d 73 61 76 | 65 2d 66 69 6c 65 2d 6e |auto-sav|e-file-n|
|000005c0| 61 6d 65 2d 70 2e 22 5d | 29 0a 28 66 73 65 74 20 |ame-p."]|).(fset |
|000005d0| 27 61 75 74 6f 2d 73 61 | 76 65 2d 66 69 6c 65 2d |'auto-sa|ve-file-|
|000005e0| 6e 61 6d 65 2d 70 20 23 | 5b 28 66 69 6c 65 6e 61 |name-p #|[(filena|
|000005f0| 6d 65 29 20 22 c0 c1 5c | 6e 5c 22 87 22 20 5b 73 |me) "..\|n\"." [s|
|00000600| 74 72 69 6e 67 2d 6d 61 | 74 63 68 20 22 5e 5f 5c |tring-ma|tch "^_\|
|00000610| 5c 24 2e 2a 5c 5c 24 22 | 20 66 69 6c 65 6e 61 6d |\$.*\\$"| filenam|
|00000620| 65 5d 20 33 20 22 5c 0a | 52 65 74 75 72 6e 20 74 |e] 3 "\.|Return t|
|00000630| 20 69 66 20 46 49 4c 45 | 4e 41 4d 45 20 63 61 6e | if FILE|NAME can|
|00000640| 20 62 65 20 79 69 65 6c | 64 65 64 20 62 79 20 6d | be yiel|ded by m|
|00000650| 61 6b 65 2d 61 75 74 6f | 2d 73 61 76 65 2d 66 69 |ake-auto|-save-fi|
|00000660| 6c 65 2d 6e 61 6d 65 2e | 0a 46 49 4c 45 4e 41 4d |le-name.|.FILENAM|
|00000670| 45 20 73 68 6f 75 6c 64 | 20 6c 61 63 6b 20 73 6c |E should| lack sl|
|00000680| 61 73 68 65 73 2e 0a 54 | 68 69 73 20 69 73 20 61 |ashes..T|his is a|
|00000690| 20 73 65 70 61 72 61 74 | 65 20 66 75 6e 63 74 69 | separat|e functi|
|000006a0| 6f 6e 20 73 6f 20 79 6f | 75 72 20 2e 65 6d 61 63 |on so yo|ur .emac|
|000006b0| 73 20 66 69 6c 65 20 6f | 72 20 73 69 74 65 2d 69 |s file o|r site-i|
|000006c0| 6e 69 74 2e 65 6c 20 63 | 61 6e 20 72 65 64 65 66 |nit.el c|an redef|
|000006d0| 69 6e 65 20 69 74 2e 22 | 5d 29 0a 28 66 73 65 74 |ine it."|]).(fset|
|000006e0| 20 27 76 6d 73 2d 73 75 | 73 70 65 6e 64 2d 72 65 | 'vms-su|spend-re|
|000006f0| 73 75 6d 65 2d 68 6f 6f | 6b 20 23 5b 6e 69 6c 20 |sume-hoo|k #[nil |
|00000700| 22 c0 c1 c2 5c 22 89 1b | ad 83 c4 0b 21 29 87 22 |"...\"..|....!)."|
|00000710| 20 5b 76 6d 73 2d 73 79 | 73 74 65 6d 2d 69 6e 66 | [vms-sy|stem-inf|
|00000720| 6f 20 22 4c 4f 47 49 43 | 41 4c 22 20 22 45 4d 41 |o "LOGIC|AL" "EMA|
|00000730| 43 53 5f 46 49 4c 45 5f | 4e 41 4d 45 22 20 66 69 |CS_FILE_|NAME" fi|
|00000740| 6c 65 20 66 69 6e 64 2d | 66 69 6c 65 5d 20 34 20 |le find-|file] 4 |
|00000750| 22 5c 0a 57 68 65 6e 20 | 72 65 73 75 6d 69 6e 67 |"\.When |resuming|
|00000760| 20 73 75 73 70 65 6e 64 | 65 64 20 45 6d 61 63 73 | suspend|ed Emacs|
|00000770| 2c 20 63 68 65 63 6b 20 | 66 6f 72 20 66 69 6c 65 |, check |for file|
|00000780| 20 74 6f 20 62 65 20 66 | 6f 75 6e 64 2e 0a 49 66 | to be f|ound..If|
|00000790| 20 74 68 65 20 6c 6f 67 | 69 63 61 6c 20 6e 61 6d | the log|ical nam|
|000007a0| 65 20 60 45 4d 41 43 53 | 5f 46 49 4c 45 5f 4e 41 |e `EMACS|_FILE_NA|
|000007b0| 4d 45 27 20 69 73 20 64 | 65 66 69 6e 65 64 2c 20 |ME' is d|efined, |
|000007c0| 60 66 69 6e 64 2d 66 69 | 6c 65 27 20 74 68 61 74 |`find-fi|le' that|
|000007d0| 20 66 69 6c 65 2e 22 5d | 29 0a 28 62 79 74 65 2d | file."]|).(byte-|
|000007e0| 63 6f 64 65 20 22 c0 11 | c0 87 22 20 5b 76 6d 73 |code "..|.." [vms|
|000007f0| 2d 73 75 73 70 65 6e 64 | 2d 72 65 73 75 6d 65 2d |-suspend|-resume-|
|00000800| 68 6f 6f 6b 20 73 75 73 | 70 65 6e 64 2d 72 65 73 |hook sus|pend-res|
|00000810| 75 6d 65 2d 68 6f 6f 6b | 5d 20 31 29 0a 28 66 73 |ume-hook|] 1).(fs|
|00000820| 65 74 20 27 76 6d 73 2d | 73 75 73 70 65 6e 64 2d |et 'vms-|suspend-|
|00000830| 68 6f 6f 6b 20 23 5b 6e | 69 6c 20 22 c0 c1 c2 5c |hook #[n|il "...\|
|00000840| 22 ab 84 c3 c4 21 88 c5 | 87 22 20 5b 76 6d 73 2d |"....!..|." [vms-|
|00000850| 73 79 73 74 65 6d 2d 69 | 6e 66 6f 20 22 4c 4f 47 |system-i|nfo "LOG|
|00000860| 49 43 41 4c 22 20 22 44 | 4f 4e 54 5f 53 55 53 50 |ICAL" "D|ONT_SUSP|
|00000870| 45 4e 44 5f 45 4d 41 43 | 53 22 20 65 72 72 6f 72 |END_EMAC|S" error|
|00000880| 20 22 43 61 6e 27 74 20 | 73 75 73 70 65 6e 64 20 | "Can't |suspend |
|00000890| 74 68 69 73 20 65 6d 61 | 63 73 22 20 6e 69 6c 5d |this ema|cs" nil]|
|000008a0| 20 33 20 22 5c 0a 44 6f | 6e 27 74 20 61 6c 6c 6f | 3 "\.Do|n't allo|
|000008b0| 77 20 73 75 73 70 65 6e | 64 69 6e 67 20 69 66 20 |w suspen|ding if |
|000008c0| 6c 6f 67 69 63 61 6c 20 | 6e 61 6d 65 20 60 44 4f |logical |name `DO|
|000008d0| 4e 54 5f 53 55 53 50 45 | 4e 44 5f 45 4d 41 43 53 |NT_SUSPE|ND_EMACS|
|000008e0| 27 20 69 73 20 64 65 66 | 69 6e 65 64 2e 22 5d 29 |' is def|ined."])|
|000008f0| 0a 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 11 c2 |.(byte-c|ode "...|
|00000900| c3 4d 88 c4 15 c0 87 22 | 20 5b 76 6d 73 2d 73 75 |.M....."| [vms-su|
|00000910| 73 70 65 6e 64 2d 68 6f | 6f 6b 20 73 75 73 70 65 |spend-ho|ok suspe|
|00000920| 6e 64 2d 68 6f 6f 6b 20 | 76 6d 73 2d 72 65 61 64 |nd-hook |vms-read|
|00000930| 2d 64 69 72 65 63 74 6f | 72 79 20 23 5b 28 64 69 |-directo|ry #[(di|
|00000940| 72 6e 61 6d 65 20 73 77 | 69 74 63 68 65 73 20 62 |rname sw|itches b|
|00000950| 75 66 66 65 72 29 20 22 | 8a 08 71 88 c1 c2 0b c4 |uffer) "|..q.....|
|00000960| 0d 52 08 5c 22 88 65 62 | 88 c6 c7 21 ab 88 c8 75 |.R.\".eb|...!...u|
|00000970| 88 c9 20 88 aa 73 65 62 | 29 87 22 20 5b 62 75 66 |.. ..seb|)." [buf|
|00000980| 66 65 72 20 73 75 62 70 | 72 6f 63 65 73 73 2d 63 |fer subp|rocess-c|
|00000990| 6f 6d 6d 61 6e 64 2d 74 | 6f 2d 62 75 66 66 65 72 |ommand-t|o-buffer|
|000009a0| 20 22 44 49 52 45 43 54 | 4f 52 59 20 22 20 73 77 | "DIRECT|ORY " sw|
|000009b0| 69 74 63 68 65 73 20 22 | 20 22 20 64 69 72 6e 61 |itches "| " dirna|
|000009c0| 6d 65 20 73 65 61 72 63 | 68 2d 66 6f 72 77 61 72 |me searc|h-forwar|
|000009d0| 64 20 22 20 5c 6e 22 20 | 2d 31 20 64 65 6c 65 74 |d " \n" |-1 delet|
|000009e0| 65 2d 68 6f 72 69 7a 6f | 6e 74 61 6c 2d 73 70 61 |e-horizo|ntal-spa|
|000009f0| 63 65 5d 20 35 5d 20 22 | 2f 53 49 5a 45 2f 44 41 |ce] 5] "|/SIZE/DA|
|00000a00| 54 45 2f 4f 57 4e 45 52 | 2f 57 49 44 54 48 3d 28 |TE/OWNER|/WIDTH=(|
|00000a10| 46 49 4c 45 4e 41 4d 45 | 3d 33 32 2c 53 49 5a 45 |FILENAME|=32,SIZE|
|00000a20| 3d 35 29 22 20 64 69 72 | 65 64 2d 6c 69 73 74 69 |=5)" dir|ed-listi|
|00000a30| 6e 67 2d 73 77 69 74 63 | 68 65 73 5d 20 32 29 0a |ng-switc|hes] 2).|
+--------+-------------------------+-------------------------+--------+--------+