home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1995-08-29 | 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 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 31 3a 34 | 32 20 31 39 39 35 0a 3b | 14:11:4|2 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 61 | 63 6b 61 67 65 73 2f 63 |/lisp/pa|ckages/c|
|00000090| 6f 6d 70 61 72 65 2d 77 | 2e 65 6c 0a 3b 3b 3b 20 |ompare-w|.el.;;; |
|000000a0| 65 6d 61 63 73 20 76 65 | 72 73 69 6f 6e 20 31 39 |emacs ve|rsion 19|
|000000b0| 2e 31 33 20 58 45 6d 61 | 63 73 20 4c 75 63 69 64 |.13 XEma|cs Lucid|
|000000c0| 2e 0a 3b 3b 3b 20 62 79 | 74 65 63 6f 6d 70 20 76 |..;;; by|tecomp v|
|000000d0| 65 72 73 69 6f 6e 20 32 | 2e 32 35 3b 20 31 2d 53 |ersion 2|.25; 1-S|
|000000e0| 65 70 2d 39 34 2e 0a 3b | 3b 3b 20 6f 70 74 69 6d |ep-94..;|;; optim|
|000000f0| 69 7a 61 74 69 6f 6e 20 | 69 73 20 6f 6e 2e 0a 3b |ization |is on..;|
|00000100| 3b 3b 20 74 68 69 73 20 | 66 69 6c 65 20 75 73 65 |;; this |file use|
|00000110| 73 20 6f 70 63 6f 64 65 | 73 20 77 68 69 63 68 20 |s opcode|s which |
|00000120| 64 6f 20 6e 6f 74 20 65 | 78 69 73 74 20 69 6e 20 |do not e|xist in |
|00000130| 45 6d 61 63 73 20 31 38 | 2e 0a 0a 28 69 66 20 28 |Emacs 18|...(if (|
|00000140| 61 6e 64 20 28 62 6f 75 | 6e 64 70 20 27 65 6d 61 |and (bou|ndp 'ema|
|00000150| 63 73 2d 76 65 72 73 69 | 6f 6e 29 0a 09 20 28 6f |cs-versi|on).. (o|
|00000160| 72 20 28 61 6e 64 20 28 | 62 6f 75 6e 64 70 20 27 |r (and (|boundp '|
|00000170| 65 70 6f 63 68 3a 3a 76 | 65 72 73 69 6f 6e 29 20 |epoch::v|ersion) |
|00000180| 65 70 6f 63 68 3a 3a 76 | 65 72 73 69 6f 6e 29 0a |epoch::v|ersion).|
|00000190| 09 20 20 20 20 20 28 73 | 74 72 69 6e 67 2d 6c 65 |. (s|tring-le|
|000001a0| 73 73 70 20 65 6d 61 63 | 73 2d 76 65 72 73 69 6f |ssp emac|s-versio|
|000001b0| 6e 20 22 31 39 22 29 29 | 29 0a 20 20 20 20 28 65 |n "19"))|). (e|
|000001c0| 72 72 6f 72 20 22 54 68 | 69 73 20 66 69 6c 65 20 |rror "Th|is file |
|000001d0| 77 61 73 20 63 6f 6d 70 | 69 6c 65 64 20 66 6f 72 |was comp|iled for|
|000001e0| 20 45 6d 61 63 73 20 31 | 39 2e 22 29 29 0a 0a 28 | Emacs 1|9."))..(|
|000001f0| 70 72 6f 76 69 64 65 20 | 27 63 6f 6d 70 61 72 65 |provide |'compare|
|00000200| 2d 77 29 0a 28 64 65 66 | 76 61 72 20 63 6f 6d 70 |-w).(def|var comp|
|00000210| 61 72 65 2d 77 69 6e 64 | 6f 77 73 2d 77 68 69 74 |are-wind|ows-whit|
|00000220| 65 73 70 61 63 65 20 22 | 5b 20 09 5c 6e 5d 2b 22 |espace "|[ .\n]+"|
|00000230| 20 22 5c 0a 2a 52 65 67 | 65 78 70 20 74 68 61 74 | "\.*Reg|exp that|
|00000240| 20 64 65 66 69 6e 65 73 | 20 77 68 69 74 65 73 70 | defines| whitesp|
|00000250| 61 63 65 20 73 65 71 75 | 65 6e 63 65 73 20 66 6f |ace sequ|ences fo|
|00000260| 72 20 5c 5c 5b 63 6f 6d | 70 61 72 65 2d 77 69 6e |r \\[com|pare-win|
|00000270| 64 6f 77 73 5d 2e 0a 43 | 68 61 6e 67 65 73 20 69 |dows]..C|hanges i|
|00000280| 6e 20 77 68 69 74 65 73 | 70 61 63 65 20 61 72 65 |n whites|pace are|
|00000290| 20 6f 70 74 69 6f 6e 61 | 6c 6c 79 20 69 67 6e 6f | optiona|lly igno|
|000002a0| 72 65 64 2e 0a 0a 54 68 | 65 20 76 61 6c 75 65 20 |red...Th|e value |
|000002b0| 6f 66 20 60 63 6f 6d 70 | 61 72 65 2d 77 69 6e 64 |of `comp|are-wind|
|000002c0| 6f 77 73 2d 77 68 69 74 | 65 73 70 61 63 65 27 20 |ows-whit|espace' |
|000002d0| 6d 61 79 20 69 6e 73 74 | 65 61 64 20 62 65 20 61 |may inst|ead be a|
|000002e0| 20 66 75 6e 63 74 69 6f | 6e 3b 20 74 68 69 73 0a | functio|n; this.|
|000002f0| 66 75 6e 63 74 69 6f 6e | 20 69 73 20 63 61 6c 6c |function| is call|
|00000300| 65 64 20 69 6e 20 65 61 | 63 68 20 62 75 66 66 65 |ed in ea|ch buffe|
|00000310| 72 2c 20 77 69 74 68 20 | 70 6f 69 6e 74 20 61 74 |r, with |point at|
|00000320| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 73 63 61 | the cur|rent sca|
|00000330| 6e 6e 69 6e 67 20 70 6f | 69 6e 74 2e 0a 54 68 65 |nning po|int..The|
|00000340| 20 66 75 6e 63 74 69 6f | 6e 27 73 20 6a 6f 62 20 | functio|n's job |
|00000350| 69 73 20 74 6f 20 63 61 | 74 65 67 6f 72 69 7a 65 |is to ca|tegorize|
|00000360| 20 61 6e 79 20 77 68 69 | 74 65 73 70 61 63 65 20 | any whi|tespace |
|00000370| 61 72 6f 75 6e 64 20 28 | 69 6e 63 6c 75 64 69 6e |around (|includin|
|00000380| 67 20 62 65 66 6f 72 65 | 29 0a 70 6f 69 6e 74 3b |g before|).point;|
|00000390| 20 69 74 20 73 68 6f 75 | 6c 64 20 61 6c 73 6f 20 | it shou|ld also |
|000003a0| 61 64 76 61 6e 63 65 20 | 70 61 73 74 20 61 6e 79 |advance |past any|
|000003b0| 20 77 68 69 74 65 73 70 | 61 63 65 2e 0a 0a 54 68 | whitesp|ace...Th|
|000003c0| 65 20 66 75 6e 63 74 69 | 6f 6e 20 69 73 20 70 61 |e functi|on is pa|
|000003d0| 73 73 65 64 20 6f 6e 65 | 20 61 72 67 75 6d 65 6e |ssed one| argumen|
|000003e0| 74 2c 20 74 68 65 20 70 | 6f 69 6e 74 20 77 68 65 |t, the p|oint whe|
|000003f0| 72 65 20 63 6f 6d 70 61 | 72 65 2d 77 69 6e 64 6f |re compa|re-windo|
|00000400| 77 73 0a 77 61 73 20 6f | 72 69 67 69 6e 61 6c 6c |ws.was o|riginall|
|00000410| 79 20 63 61 6c 6c 65 64 | 3b 20 69 74 20 73 68 6f |y called|; it sho|
|00000420| 75 6c 64 20 6e 6f 74 20 | 63 6f 6e 73 69 64 65 72 |uld not |consider|
|00000430| 20 61 6e 79 20 74 65 78 | 74 20 62 65 66 6f 72 65 | any tex|t before|
|00000440| 20 74 68 61 74 20 70 6f | 69 6e 74 2e 0a 49 66 20 | that po|int..If |
|00000450| 74 68 65 20 66 75 6e 63 | 74 69 6f 6e 20 72 65 74 |the func|tion ret|
|00000460| 75 72 6e 73 20 74 68 65 | 20 73 61 6d 65 20 76 61 |urns the| same va|
|00000470| 6c 75 65 20 66 6f 72 20 | 62 6f 74 68 20 62 75 66 |lue for |both buf|
|00000480| 66 65 72 73 2c 20 74 68 | 65 6e 20 74 68 65 0a 77 |fers, th|en the.w|
|00000490| 68 69 74 65 73 70 61 63 | 65 20 69 73 20 63 6f 6e |hitespac|e is con|
|000004a0| 73 69 64 65 72 65 64 20 | 74 6f 20 6d 61 74 63 68 |sidered |to match|
|000004b0| 2c 20 61 6e 64 20 69 73 | 20 73 6b 69 70 70 65 64 |, and is| skipped|
|000004c0| 2e 22 29 0a 28 64 65 66 | 76 61 72 20 63 6f 6d 70 |.").(def|var comp|
|000004d0| 61 72 65 2d 69 67 6e 6f | 72 65 2d 63 61 73 65 20 |are-igno|re-case |
|000004e0| 6e 69 6c 20 22 5c 0a 2a | 49 66 20 74 68 65 20 76 |nil "\.*|If the v|
|000004f0| 61 6c 75 65 20 6f 66 20 | 74 68 69 73 20 76 61 72 |alue of |this var|
|00000500| 69 61 62 6c 65 20 65 76 | 61 6c 75 61 74 65 73 20 |iable ev|aluates |
|00000510| 74 6f 20 6e 6f 6e 2d 6e | 69 6c 2c 20 5c 5c 5b 63 |to non-n|il, \\[c|
|00000520| 6f 6d 70 61 72 65 2d 77 | 69 6e 64 6f 77 73 5d 0a |ompare-w|indows].|
|00000530| 69 67 6e 6f 72 65 73 20 | 63 61 73 65 20 64 69 66 |ignores |case dif|
|00000540| 66 65 72 65 6e 63 65 73 | 2e 20 20 53 6f 6d 65 20 |ferences|. Some |
|00000550| 75 73 65 66 75 6c 20 73 | 65 74 74 69 6e 67 73 3a |useful s|ettings:|
|00000560| 20 6e 69 6c 2c 20 74 20 | 6f 72 20 27 63 61 73 65 | nil, t |or 'case|
|00000570| 2d 66 6f 6c 64 2d 73 65 | 61 72 63 68 2c 0a 6d 65 |-fold-se|arch,.me|
|00000580| 61 6e 69 6e 67 20 74 6f | 20 74 72 61 63 6b 20 74 |aning to| track t|
|00000590| 68 65 20 76 61 6c 75 65 | 20 6f 66 20 74 68 65 20 |he value| of the |
|000005a0| 60 63 61 73 65 2d 66 6f | 6c 64 2d 73 65 61 72 63 |`case-fo|ld-searc|
|000005b0| 68 27 20 76 61 72 69 61 | 62 6c 65 2e 22 29 0a 28 |h' varia|ble.").(|
|000005c0| 66 73 65 74 20 27 63 6f | 6d 70 61 72 65 2d 77 69 |fset 'co|mpare-wi|
|000005d0| 6e 64 6f 77 73 20 23 5b | 28 26 6f 70 74 69 6f 6e |ndows #[|(&option|
|000005e0| 61 6c 20 69 67 6e 6f 72 | 65 2d 77 68 69 74 65 73 |al ignor|e-whites|
|000005f0| 70 61 63 65 29 20 22 60 | 89 18 19 70 1a c3 20 1c |pace) "`|...p.. .|
|00000600| c5 0c 21 89 1e 06 0c 3d | ab 85 c7 c8 21 aa 82 0e |..!....=|....!...|
|00000610| 06 2a 1e 09 ca 0e 09 21 | 1e 0b cc 0e 09 21 1e 0d |.*.....!|.....!..|
|00000620| 0e 0b 1e 0e cf 1e 10 d1 | 0e 12 21 1e 12 0e 13 ac |........|..!.....|
|00000630| 83 d4 aa 8a 0e 15 3b ab | 83 d6 aa 82 0e 15 1e 17 |......;.|........|
|00000640| 0e 10 83 09 01 d4 16 10 | 08 62 88 d8 0e 09 0e 0b |........|.b......|
|00000650| 5c 22 88 0e 17 ab d7 8a | 0e 17 09 21 ae 90 08 09 |\"......|...!....|
|00000660| 55 ab 83 d4 aa 88 08 53 | 62 88 0e 17 09 21 1e 19 |U......S|b....!..|
|00000670| 60 1e 1a 0e 0d 71 88 0e | 0b 62 88 0e 17 0e 0e 21 |`....q..|.b.....!|
|00000680| ae 94 0e 0b 0e 0e 55 ab | 83 d4 aa 8a 0e 0b 53 62 |......U.|......Sb|
|00000690| 88 0e 17 0e 0e 21 1e 1b | 60 1e 1c 0e 19 0e 1b 3d |.....!..|`......=|
|000006a0| ab 8b 0e 19 ab 87 0e 1a | 10 0e 1c 16 0b 2d 0e 12 |........|.....-..|
|000006b0| 1e 1d de 5c 6e 08 d4 0e | 0d 0e 0b d4 26 06 89 16 |...\n...|....&...|
|000006c0| 10 df 57 ab 85 0e 10 5b | 16 10 0e 10 df 55 ab 93 |..W....[|.....U..|
|000006d0| 5c 6e 71 88 64 10 8a 0e | 0d 71 88 64 29 16 0b d4 |\nq.d...|.q.d)...|
|000006e0| 16 10 aa 9b 0e 10 e0 55 | ab 85 d4 16 10 aa 90 08 |.......U|........|
|000006f0| 0e 10 e1 5c 5c 5c 5c 10 | 0e 0b 0e 10 e1 5c 5c 5c |...\\\\.|.....\\\|
|00000700| 5c 16 0b 29 82 49 00 08 | 62 88 d8 0e 09 0e 0b 5c |\..).I..|b......\|
|00000710| 22 88 60 09 55 ad 82 e2 | 20 2e 5c 6e 87 22 20 5b |".`.U...| .\n." [|
|00000720| 70 31 20 6f 70 6f 69 6e | 74 31 20 62 31 20 73 65 |p1 opoin|t1 b1 se|
|00000730| 6c 65 63 74 65 64 2d 77 | 69 6e 64 6f 77 20 77 20 |lected-w|indow w |
|00000740| 6e 65 78 74 2d 77 69 6e | 64 6f 77 20 6e 20 65 72 |next-win|dow n er|
|00000750| 72 6f 72 20 22 4e 6f 20 | 6f 74 68 65 72 20 77 69 |ror "No |other wi|
|00000760| 6e 64 6f 77 22 20 77 32 | 20 77 69 6e 64 6f 77 2d |ndow" w2| window-|
|00000770| 70 6f 69 6e 74 20 70 32 | 20 77 69 6e 64 6f 77 2d |point p2| window-|
|00000780| 62 75 66 66 65 72 20 62 | 32 20 6f 70 6f 69 6e 74 |buffer b|2 opoint|
|00000790| 32 20 74 20 73 75 63 63 | 65 73 73 20 65 76 61 6c |2 t succ|ess eval|
|000007a0| 20 63 6f 6d 70 61 72 65 | 2d 69 67 6e 6f 72 65 2d | compare|-ignore-|
|000007b0| 63 61 73 65 20 69 67 6e | 6f 72 65 2d 77 68 69 74 |case ign|ore-whit|
|000007c0| 65 73 70 61 63 65 20 6e | 69 6c 20 63 6f 6d 70 61 |espace n|il compa|
|000007d0| 72 65 2d 77 69 6e 64 6f | 77 73 2d 77 68 69 74 65 |re-windo|ws-white|
|000007e0| 73 70 61 63 65 20 23 5b | 28 73 74 61 72 74 29 20 |space #[|(start) |
|000007f0| 22 60 c0 19 1a c3 0c 21 | ab 97 5c 6e c5 95 58 ab |"`.....!|..\n..X.|
|00000800| 91 c5 95 12 c6 11 60 0e | 07 56 ab 86 c8 c9 21 88 |......`.|.V....!.|
|00000810| aa 64 09 ab 83 5c 6e 62 | 88 09 2a 87 22 20 5b 6e |.d...\nb|..*." [n|
|00000820| 69 6c 20 66 6f 75 6e 64 | 20 70 20 6c 6f 6f 6b 69 |il found| p looki|
|00000830| 6e 67 2d 61 74 20 63 6f | 6d 70 61 72 65 2d 77 69 |ng-at co|mpare-wi|
|00000840| 6e 64 6f 77 73 2d 77 68 | 69 74 65 73 70 61 63 65 |ndows-wh|itespace|
|00000850| 20 30 20 74 20 73 74 61 | 72 74 20 62 61 63 6b 77 | 0 t sta|rt backw|
|00000860| 61 72 64 2d 63 68 61 72 | 20 31 5d 20 32 5d 20 73 |ard-char| 1] 2] s|
|00000870| 6b 69 70 2d 77 68 69 74 | 65 73 70 61 63 65 20 73 |kip-whit|espace s|
|00000880| 65 74 2d 77 69 6e 64 6f | 77 2d 70 6f 69 6e 74 20 |et-windo|w-point |
|00000890| 72 65 73 75 6c 74 31 20 | 70 31 61 20 72 65 73 75 |result1 |p1a resu|
|000008a0| 6c 74 32 20 70 32 61 20 | 63 61 73 65 2d 66 6f 6c |lt2 p2a |case-fol|
|000008b0| 64 2d 73 65 61 72 63 68 | 20 63 6f 6d 70 61 72 65 |d-search| compare|
|000008c0| 2d 62 75 66 66 65 72 2d | 73 75 62 73 74 72 69 6e |-buffer-|substrin|
|000008d0| 67 73 20 30 20 31 20 2d | 31 20 62 65 65 70 5d 20 |gs 0 1 -|1 beep] |
|000008e0| 38 20 22 5c 0a 43 6f 6d | 70 61 72 65 20 74 65 78 |8 "\.Com|pare tex|
|000008f0| 74 20 69 6e 20 63 75 72 | 72 65 6e 74 20 77 69 6e |t in cur|rent win|
|00000900| 64 6f 77 20 77 69 74 68 | 20 74 65 78 74 20 69 6e |dow with| text in|
|00000910| 20 6e 65 78 74 20 77 69 | 6e 64 6f 77 2e 0a 43 6f | next wi|ndow..Co|
|00000920| 6d 70 61 72 65 73 20 74 | 68 65 20 74 65 78 74 20 |mpares t|he text |
|00000930| 73 74 61 72 74 69 6e 67 | 20 61 74 20 70 6f 69 6e |starting| at poin|
|00000940| 74 20 69 6e 20 65 61 63 | 68 20 77 69 6e 64 6f 77 |t in eac|h window|
|00000950| 2c 0a 6d 6f 76 69 6e 67 | 20 6f 76 65 72 20 74 65 |,.moving| over te|
|00000960| 78 74 20 69 6e 20 65 61 | 63 68 20 6f 6e 65 20 61 |xt in ea|ch one a|
|00000970| 73 20 66 61 72 20 61 73 | 20 74 68 65 79 20 6d 61 |s far as| they ma|
|00000980| 74 63 68 2e 0a 0a 41 20 | 70 72 65 66 69 78 20 61 |tch...A |prefix a|
|00000990| 72 67 20 6d 65 61 6e 73 | 20 69 67 6e 6f 72 65 20 |rg means| ignore |
|000009a0| 63 68 61 6e 67 65 73 20 | 69 6e 20 77 68 69 74 65 |changes |in white|
|000009b0| 73 70 61 63 65 2e 0a 54 | 68 65 20 76 61 72 69 61 |space..T|he varia|
|000009c0| 62 6c 65 20 60 63 6f 6d | 70 61 72 65 2d 77 69 6e |ble `com|pare-win|
|000009d0| 64 6f 77 73 2d 77 68 69 | 74 65 73 70 61 63 65 27 |dows-whi|tespace'|
|000009e0| 20 63 6f 6e 74 72 6f 6c | 73 20 68 6f 77 20 77 68 | control|s how wh|
|000009f0| 69 74 65 73 70 61 63 65 | 20 69 73 20 73 6b 69 70 |itespace| is skip|
|00000a00| 70 65 64 2e 0a 0a 49 66 | 20 60 63 6f 6d 70 61 72 |ped...If| `compar|
|00000a10| 65 2d 69 67 6e 6f 72 65 | 2d 63 61 73 65 27 20 69 |e-ignore|-case' i|
|00000a20| 73 20 6e 6f 6e 2d 6e 69 | 6c 2c 20 63 68 61 6e 67 |s non-ni|l, chang|
|00000a30| 65 73 20 69 6e 20 63 61 | 73 65 20 61 72 65 20 61 |es in ca|se are a|
|00000a40| 6c 73 6f 20 69 67 6e 6f | 72 65 64 2e 22 20 22 50 |lso igno|red." "P|
|00000a50| 22 5d 29 0a | |"]). | |
+--------+-------------------------+-------------------------+--------+--------+