home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1995-08-29 | 2.1 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 63 74 68 6f 6d 70 40 |piled by| cthomp@|
|00000020| 77 69 6c 6c 6f 77 2e 63 | 73 2e 75 69 75 63 2e 65 |willow.c|s.uiuc.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 41 75 67 20 32 39 |du on Tu|e Aug 29|
|00000040| 20 31 34 3a 31 39 3a 34 | 38 20 31 39 39 35 0a 3b | 14:19:4|8 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 78 65 |;; from |file /xe|
|00000060| 6d 61 63 73 2f 78 65 6d | 61 63 73 2d 31 39 2e 31 |macs/xem|acs-19.1|
|00000070| 33 2d 72 65 6c 65 61 73 | 65 2f 65 64 69 74 6f 72 |3-releas|e/editor|
|00000080| 2f 6c 69 73 70 2f 70 63 | 6c 2d 63 76 73 2f 73 74 |/lisp/pc|l-cvs/st|
|00000090| 72 69 6e 67 2e 65 6c 0a | 3b 3b 3b 20 65 6d 61 63 |ring.el.|;;; emac|
|000000a0| 73 20 76 65 72 73 69 6f | 6e 20 31 39 2e 31 33 20 |s versio|n 19.13 |
|000000b0| 58 45 6d 61 63 73 20 4c | 75 63 69 64 2e 0a 3b 3b |XEmacs L|ucid..;;|
|000000c0| 3b 20 62 79 74 65 63 6f | 6d 70 20 76 65 72 73 69 |; byteco|mp versi|
|000000d0| 6f 6e 20 32 2e 32 35 3b | 20 31 2d 53 65 70 2d 39 |on 2.25;| 1-Sep-9|
|000000e0| 34 2e 0a 3b 3b 3b 20 6f | 70 74 69 6d 69 7a 61 74 |4..;;; o|ptimizat|
|000000f0| 69 6f 6e 20 69 73 20 6f | 6e 2e 0a 3b 3b 3b 20 74 |ion is o|n..;;; t|
|00000100| 68 69 73 20 66 69 6c 65 | 20 75 73 65 73 20 6f 70 |his file| uses op|
|00000110| 63 6f 64 65 73 20 77 68 | 69 63 68 20 64 6f 20 6e |codes wh|ich do n|
|00000120| 6f 74 20 65 78 69 73 74 | 20 69 6e 20 45 6d 61 63 |ot exist| in Emac|
|00000130| 73 20 31 38 2e 0a 0a 28 | 69 66 20 28 61 6e 64 20 |s 18...(|if (and |
|00000140| 28 62 6f 75 6e 64 70 20 | 27 65 6d 61 63 73 2d 76 |(boundp |'emacs-v|
|00000150| 65 72 73 69 6f 6e 29 0a | 09 20 28 6f 72 20 28 61 |ersion).|. (or (a|
|00000160| 6e 64 20 28 62 6f 75 6e | 64 70 20 27 65 70 6f 63 |nd (boun|dp 'epoc|
|00000170| 68 3a 3a 76 65 72 73 69 | 6f 6e 29 20 65 70 6f 63 |h::versi|on) epoc|
|00000180| 68 3a 3a 76 65 72 73 69 | 6f 6e 29 0a 09 20 20 20 |h::versi|on).. |
|00000190| 20 20 28 73 74 72 69 6e | 67 2d 6c 65 73 73 70 20 | (strin|g-lessp |
|000001a0| 65 6d 61 63 73 2d 76 65 | 72 73 69 6f 6e 20 22 31 |emacs-ve|rsion "1|
|000001b0| 39 22 29 29 29 0a 20 20 | 20 20 28 65 72 72 6f 72 |9"))). | (error|
|000001c0| 20 22 54 68 69 73 20 66 | 69 6c 65 20 77 61 73 20 | "This f|ile was |
|000001d0| 63 6f 6d 70 69 6c 65 64 | 20 66 6f 72 20 45 6d 61 |compiled| for Ema|
|000001e0| 63 73 20 31 39 2e 22 29 | 29 0a 0a 28 70 72 6f 76 |cs 19.")|)..(prov|
|000001f0| 69 64 65 20 27 73 74 72 | 69 6e 67 29 0a 28 66 73 |ide 'str|ing).(fs|
|00000200| 65 74 20 27 73 74 72 69 | 6e 67 2d 72 65 70 6c 61 |et 'stri|ng-repla|
|00000210| 63 65 2d 6d 61 74 63 68 | 20 23 5b 28 72 65 67 65 |ce-match| #[(rege|
|00000220| 78 70 20 73 74 72 69 6e | 67 20 6e 65 77 74 65 78 |xp strin|g newtex|
|00000230| 74 20 26 6f 70 74 69 6f | 6e 61 6c 20 6c 69 74 65 |t &optio|nal lite|
|00000240| 72 61 6c 20 67 6c 6f 62 | 61 6c 29 20 22 c0 20 19 |ral glob|al) ". .|
|00000250| c2 8e 0b ab ca c4 c5 c6 | 89 1e 07 1e 08 1e 09 1e |........|........|
|00000260| 5c 6e cb 0e 0c 0e 0d 0e | 09 23 ab a4 c5 94 16 08 |\n......|.#......|
|00000270| c5 95 16 07 0e 5c 6e 0e | 0d 0e 09 0e 08 4f 0e 0e |.....\n.|.....O..|
|00000280| ab 84 0e 0f aa 82 d0 20 | 51 16 5c 6e 0e 07 16 09 |....... |Q.\n....|
|00000290| aa 52 0e 08 ad 89 0e 5c | 6e 0e 0d 0e 09 c6 4f 50 |.R.....\|n.....OP|
|000002a0| 2c aa a2 cb 0e 0c 0e 0d | c5 23 3f 3f ad 97 0e 0d |,.......|.#??....|
|000002b0| c5 89 94 4f 0e 0e ab 84 | 0e 0f aa 82 d0 20 0e 0d |...O....|..... ..|
|000002c0| c5 95 c6 4f 51 2a 87 22 | 20 5b 6d 61 74 63 68 2d |...OQ*."| [match-|
|000002d0| 64 61 74 61 20 64 61 74 | 61 20 28 28 73 74 6f 72 |data dat|a ((stor|
|000002e0| 65 2d 6d 61 74 63 68 2d | 64 61 74 61 20 64 61 74 |e-match-|data dat|
|000002f0| 61 29 29 20 67 6c 6f 62 | 61 6c 20 22 22 20 30 20 |a)) glob|al "" 0 |
|00000300| 6e 69 6c 20 6d 61 74 63 | 68 65 6e 64 20 6d 61 74 |nil matc|hend mat|
|00000310| 63 68 62 65 67 69 6e 6e | 69 6e 67 20 73 74 61 72 |chbeginn|ing star|
|00000320| 74 20 72 65 73 75 6c 74 | 20 73 74 72 69 6e 67 2d |t result| string-|
|00000330| 6d 61 74 63 68 20 72 65 | 67 65 78 70 20 73 74 72 |match re|gexp str|
|00000340| 69 6e 67 20 6c 69 74 65 | 72 61 6c 20 6e 65 77 74 |ing lite|ral newt|
|00000350| 65 78 74 20 65 6c 69 62 | 2d 73 74 72 69 6e 67 2d |ext elib|-string-|
|00000360| 65 78 70 61 6e 64 2d 6e | 65 77 74 65 78 74 5d 20 |expand-n|ewtext] |
|00000370| 35 20 22 5c 0a 52 65 70 | 6c 61 63 65 20 66 69 72 |5 "\.Rep|lace fir|
|00000380| 73 74 20 6d 61 74 63 68 | 20 6f 66 20 52 45 47 45 |st match| of REGE|
|00000390| 58 50 20 69 6e 20 53 54 | 52 49 4e 47 20 77 69 74 |XP in ST|RING wit|
|000003a0| 68 20 4e 45 57 54 45 58 | 54 2e 0a 49 66 20 6e 6f |h NEWTEX|T..If no|
|000003b0| 20 6d 61 74 63 68 20 69 | 73 20 66 6f 75 6e 64 2c | match i|s found,|
|000003c0| 20 6e 69 6c 20 69 73 20 | 72 65 74 75 72 6e 65 64 | nil is |returned|
|000003d0| 20 69 6e 73 74 65 61 64 | 20 6f 66 20 74 68 65 20 | instead| of the |
|000003e0| 6e 65 77 20 73 74 72 69 | 6e 67 2e 0a 0a 4f 70 74 |new stri|ng...Opt|
|000003f0| 69 6f 6e 61 6c 20 61 72 | 67 20 4c 49 54 45 52 41 |ional ar|g LITERA|
|00000400| 4c 20 6e 6f 6e 2d 6e 69 | 6c 20 6d 65 61 6e 73 20 |L non-ni|l means |
|00000410| 74 6f 20 74 61 6b 65 20 | 4e 45 57 54 45 58 54 20 |to take |NEWTEXT |
|00000420| 6c 69 74 65 72 61 6c 6c | 79 2e 20 49 66 20 4c 49 |literall|y. If LI|
|00000430| 54 45 52 41 4c 20 69 73 | 20 0a 6e 69 6c 2c 20 63 |TERAL is| .nil, c|
|00000440| 68 61 72 61 63 74 65 72 | 20 60 5c 5c 27 20 69 73 |haracter| `\\' is|
|00000450| 20 74 68 65 20 73 74 61 | 72 74 20 6f 66 20 6f 6e | the sta|rt of on|
|00000460| 65 20 6f 66 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |e of the| followi|
|00000470| 6e 67 20 73 65 71 75 65 | 6e 63 65 73 3a 0a 20 20 |ng seque|nces:. |
|00000480| 5c 5c 5c 5c 20 20 20 77 | 69 6c 6c 20 62 65 20 72 |\\\\ w|ill be r|
|00000490| 65 70 6c 61 63 65 64 20 | 62 79 20 61 20 73 69 6e |eplaced |by a sin|
|000004a0| 67 6c 65 20 5c 5c 2e 0a | 20 20 5c 5c 26 20 20 20 |gle \\..| \\& |
|000004b0| 77 69 6c 6c 20 62 65 20 | 72 65 70 6c 61 63 65 64 |will be |replaced|
|000004c0| 20 62 79 20 74 68 65 20 | 74 65 78 74 20 77 68 69 | by the |text whi|
|000004d0| 63 68 20 6d 61 74 63 68 | 65 64 20 74 68 65 20 72 |ch match|ed the r|
|000004e0| 65 67 65 78 70 2e 0a 20 | 20 5c 5c 4e 20 20 20 77 |egexp.. | \\N w|
|000004f0| 68 65 72 65 20 4e 20 69 | 73 20 61 20 6e 75 6d 62 |here N i|s a numb|
|00000500| 65 72 20 61 6e 64 20 31 | 20 3c 3d 20 4e 20 3c 3d |er and 1| <= N <=|
|00000510| 20 39 2c 20 77 69 6c 6c | 20 62 65 20 72 65 70 6c | 9, will| be repl|
|00000520| 61 63 65 64 0a 20 20 20 | 20 20 20 20 62 79 20 74 |aced. | by t|
|00000530| 68 65 20 4e 74 68 20 73 | 75 62 65 78 70 72 65 73 |he Nth s|ubexpres|
|00000540| 73 69 6f 6e 20 69 6e 20 | 52 45 47 45 58 50 2e 20 |sion in |REGEXP. |
|00000550| 53 75 62 65 78 70 72 65 | 73 73 69 6f 6e 73 20 61 |Subexpre|ssions a|
|00000560| 72 65 20 67 72 6f 75 70 | 65 64 0a 20 20 20 20 20 |re group|ed. |
|00000570| 20 20 69 6e 73 69 64 65 | 20 5c 5c 28 20 5c 5c 29 | inside| \\( \\)|
|00000580| 2e 0a 0a 4f 70 74 69 6f | 6e 61 6c 20 61 72 67 20 |...Optio|nal arg |
|00000590| 47 4c 4f 42 41 4c 20 6d | 65 61 6e 73 20 74 6f 20 |GLOBAL m|eans to |
|000005a0| 72 65 70 6c 61 63 65 20 | 61 6c 6c 20 6d 61 74 63 |replace |all matc|
|000005b0| 68 65 73 20 69 6e 73 74 | 65 61 64 20 6f 66 20 6f |hes inst|ead of o|
|000005c0| 6e 6c 79 20 74 68 65 20 | 66 69 72 73 74 2e 22 5d |nly the |first."]|
|000005d0| 29 0a 28 66 73 65 74 20 | 27 65 6c 69 62 2d 73 74 |).(fset |'elib-st|
|000005e0| 72 69 6e 67 2d 65 78 70 | 61 6e 64 2d 6e 65 77 74 |ring-exp|and-newt|
|000005f0| 65 78 74 20 23 5b 6e 69 | 6c 20 22 c0 09 47 c2 1b |ext #[ni|l "..G..|
|00000600| 1c 89 1d 0c 57 ab d9 0b | 09 0d 48 89 1e 06 c7 55 |....W...|..H....U|
|00000610| ab c1 09 0d 54 89 15 48 | 89 16 06 c8 55 ab 89 0e |....T..H|....U...|
|00000620| 09 c0 94 c0 95 4f aa af | 0e 06 ca 59 ab 9f 0e 06 |.....O..|...Y....|
|00000630| cb 58 ab 99 0e 06 cc 5a | 89 1e 0d 94 ab 8b 0e 09 |.X.....Z|........|
|00000640| 0e 0d 94 0e 0d 95 4f aa | 81 c2 29 aa 8a ce 0e 06 |......O.|..).....|
|00000650| 21 aa 84 ce 0e 06 21 29 | 50 13 0d 54 89 15 aa 23 |!.....!)|P..T...#|
|00000660| 0b 2b 87 22 20 5b 30 20 | 6e 65 77 74 65 78 74 20 |.+." [0 |newtext |
|00000670| 22 22 20 65 78 70 61 6e | 64 65 64 2d 6e 65 77 74 |"" expan|ded-newt|
|00000680| 65 78 74 20 6c 65 6e 20 | 70 6f 73 20 63 20 39 32 |ext len |pos c 92|
|00000690| 20 33 38 20 73 74 72 69 | 6e 67 20 34 39 20 35 37 | 38 stri|ng 49 57|
|000006a0| 20 34 38 20 6e 20 63 68 | 61 72 2d 74 6f 2d 73 74 | 48 n ch|ar-to-st|
|000006b0| 72 69 6e 67 5d 20 35 5d | 29 0a 28 66 73 65 74 20 |ring] 5]|).(fset |
|000006c0| 27 73 74 72 69 6e 67 2d | 73 70 6c 69 74 20 23 5b |'string-|split #[|
|000006d0| 28 70 61 74 74 65 72 6e | 20 73 74 72 69 6e 67 20 |(pattern| string |
|000006e0| 26 6f 70 74 69 6f 6e 61 | 6c 20 6c 69 6d 69 74 29 |&optiona|l limit)|
|000006f0| 20 22 c0 20 19 c2 8e c3 | 0c 0d 5c 22 1e 06 0d c7 | ". ....|..\"....|
|00000700| 0e 06 4f 43 1e 08 c9 1e | 5c 6e 0e 06 ad 82 c7 95 |..OC....|\n......|
|00000710| 89 1e 0b ab b1 0e 0c a8 | ab 87 0e 5c 6e 0e 0c 57 |........|...\n..W|
|00000720| ab a5 c3 0c 0d 0e 0b 23 | ab 9d c7 94 16 06 0e 5c |.......#|.......\|
|00000730| 6e 54 16 5c 6e 0d 0e 0b | 0e 06 4f 0e 08 42 16 08 |nT.\n...|..O..B..|
|00000740| c7 95 89 16 0b 16 06 aa | 4f 0e 0c a8 ab 87 0e 5c |........|O......\|
|00000750| 6e 0e 0c 57 ab 8e 0e 0b | ab 8a 0d 0e 0b cd 4f 0e |n..W....|......O.|
|00000760| 08 42 16 08 0e 08 9f 2e | 06 87 22 20 5b 6d 61 74 |.B......|.." [mat|
|00000770| 63 68 2d 64 61 74 61 20 | 64 61 74 61 20 28 28 73 |ch-data |data ((s|
|00000780| 74 6f 72 65 2d 6d 61 74 | 63 68 2d 64 61 74 61 20 |tore-mat|ch-data |
|00000790| 64 61 74 61 29 29 20 73 | 74 72 69 6e 67 2d 6d 61 |data)) s|tring-ma|
|000007a0| 74 63 68 20 70 61 74 74 | 65 72 6e 20 73 74 72 69 |tch patt|ern stri|
|000007b0| 6e 67 20 73 74 61 72 74 | 20 30 20 72 65 73 75 6c |ng start| 0 resul|
|000007c0| 74 20 31 20 63 6f 75 6e | 74 20 65 6e 64 20 6c 69 |t 1 coun|t end li|
|000007d0| 6d 69 74 20 6e 69 6c 5d | 20 35 20 22 5c 0a 53 70 |mit nil]| 5 "\.Sp|
|000007e0| 6c 69 74 74 69 6e 67 20 | 6f 6e 20 72 65 67 65 78 |litting |on regex|
|000007f0| 70 20 50 41 54 54 45 52 | 4e 2c 20 74 75 72 6e 20 |p PATTER|N, turn |
|00000800| 73 74 72 69 6e 67 20 53 | 54 52 49 4e 47 20 69 6e |string S|TRING in|
|00000810| 74 6f 20 61 20 6c 69 73 | 74 20 6f 66 20 73 75 62 |to a lis|t of sub|
|00000820| 73 74 72 69 6e 67 73 2e | 0a 4f 70 74 69 6f 6e 61 |strings.|.Optiona|
|00000830| 6c 20 74 68 69 72 64 20 | 61 72 67 20 4c 49 4d 49 |l third |arg LIMI|
|00000840| 54 20 28 3e 3d 20 31 29 | 20 69 73 20 61 20 6c 69 |T (>= 1)| is a li|
|00000850| 6d 69 74 20 74 6f 20 74 | 68 65 20 6c 65 6e 67 74 |mit to t|he lengt|
|00000860| 68 20 6f 66 20 74 68 65 | 0a 72 65 73 75 6c 74 69 |h of the|.resulti|
|00000870| 6e 67 20 6c 69 73 74 2e | 22 5d 29 0a |ng list.|"]). |
+--------+-------------------------+-------------------------+--------+--------+