home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / lisp / hyperbole / kotl / kprop-xe.elc < prev    next >
Emacs Compiled Lisp  |  1995-08-29  |  2.0 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 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 35 31 3a 31 | 30 20 31 39 39 35 0a 3b | 14:51:1|0 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 65 78 |;; from |file /ex|
|00000060| 70 6f 72 74 2f 77 69 6c | 6c 6f 77 33 2f 78 65 6d |port/wil|low3/xem|
|00000070| 61 63 73 2d 31 39 2e 31 | 33 2d 72 65 6c 65 61 73 |acs-19.1|3-releas|
|00000080| 65 2f 65 64 69 74 6f 72 | 2f 6c 69 73 70 2f 68 79 |e/editor|/lisp/hy|
|00000090| 70 65 72 62 6f 6c 65 2f | 6b 6f 74 6c 2f 6b 70 72 |perbole/|kotl/kpr|
|000000a0| 6f 70 2d 78 65 2e 65 6c | 0a 3b 3b 3b 20 65 6d 61 |op-xe.el|.;;; ema|
|000000b0| 63 73 20 76 65 72 73 69 | 6f 6e 20 31 39 2e 31 33 |cs versi|on 19.13|
|000000c0| 20 58 45 6d 61 63 73 20 | 4c 75 63 69 64 2e 0a 3b | XEmacs |Lucid..;|
|000000d0| 3b 3b 20 62 79 74 65 63 | 6f 6d 70 20 76 65 72 73 |;; bytec|omp vers|
|000000e0| 69 6f 6e 20 32 2e 32 35 | 3b 20 31 2d 53 65 70 2d |ion 2.25|; 1-Sep-|
|000000f0| 39 34 2e 0a 3b 3b 3b 20 | 6f 70 74 69 6d 69 7a 61 |94..;;; |optimiza|
|00000100| 74 69 6f 6e 20 69 73 20 | 6f 6e 2e 0a 3b 3b 3b 20 |tion is |on..;;; |
|00000110| 74 68 69 73 20 66 69 6c | 65 20 75 73 65 73 20 6f |this fil|e uses o|
|00000120| 70 63 6f 64 65 73 20 77 | 68 69 63 68 20 64 6f 20 |pcodes w|hich do |
|00000130| 6e 6f 74 20 65 78 69 73 | 74 20 69 6e 20 45 6d 61 |not exis|t in Ema|
|00000140| 63 73 20 31 38 2e 0a 0a | 28 69 66 20 28 61 6e 64 |cs 18...|(if (and|
|00000150| 20 28 62 6f 75 6e 64 70 | 20 27 65 6d 61 63 73 2d | (boundp| 'emacs-|
|00000160| 76 65 72 73 69 6f 6e 29 | 0a 09 20 28 6f 72 20 28 |version)|.. (or (|
|00000170| 61 6e 64 20 28 62 6f 75 | 6e 64 70 20 27 65 70 6f |and (bou|ndp 'epo|
|00000180| 63 68 3a 3a 76 65 72 73 | 69 6f 6e 29 20 65 70 6f |ch::vers|ion) epo|
|00000190| 63 68 3a 3a 76 65 72 73 | 69 6f 6e 29 0a 09 20 20 |ch::vers|ion).. |
|000001a0| 20 20 20 28 73 74 72 69 | 6e 67 2d 6c 65 73 73 70 | (stri|ng-lessp|
|000001b0| 20 65 6d 61 63 73 2d 76 | 65 72 73 69 6f 6e 20 22 | emacs-v|ersion "|
|000001c0| 31 39 22 29 29 29 0a 20 | 20 20 20 28 65 72 72 6f |19"))). | (erro|
|000001d0| 72 20 22 54 68 69 73 20 | 66 69 6c 65 20 77 61 73 |r "This |file was|
|000001e0| 20 63 6f 6d 70 69 6c 65 | 64 20 66 6f 72 20 45 6d | compile|d for Em|
|000001f0| 61 63 73 20 31 39 2e 22 | 29 29 0a 0a 28 62 79 74 |acs 19."|))..(byt|
|00000200| 65 2d 63 6f 64 65 20 22 | c0 c1 21 88 c2 c3 4d 88 |e-code "|..!...M.|
|00000210| 0c ab 91 0d c6 59 ac 86 | 0e 07 c8 56 ab 86 c9 ca |.....Y..|...V....|
|00000220| 4d 88 aa 84 c9 cb 4d 88 | cc cd 4d 88 ce cf 4d 88 |M.....M.|..M...M.|
|00000230| d0 d1 4d 87 22 20 5b 72 | 65 71 75 69 72 65 20 68 |..M." [r|equire h|
|00000240| 76 65 72 73 69 6f 6e 20 | 6b 70 72 6f 70 65 72 74 |version |kpropert|
|00000250| 79 3a 67 65 74 20 67 65 | 74 2d 74 65 78 74 2d 70 |y:get ge|t-text-p|
|00000260| 72 6f 70 65 72 74 79 20 | 68 79 70 65 72 62 3a 78 |roperty |hyperb:x|
|00000270| 65 6d 61 63 73 2d 70 20 | 65 6d 61 63 73 2d 6d 69 |emacs-p |emacs-mi|
|00000280| 6e 6f 72 2d 76 65 72 73 | 69 6f 6e 20 31 32 20 65 |nor-vers|ion 12 e|
|00000290| 6d 61 63 73 2d 6d 61 6a | 6f 72 2d 76 65 72 73 69 |macs-maj|or-versi|
|000002a0| 6f 6e 20 31 39 20 6b 70 | 72 6f 70 65 72 74 79 3a |on 19 kp|roperty:|
|000002b0| 6d 61 70 20 23 5b 28 66 | 75 6e 63 74 69 6f 6e 20 |map #[(f|unction |
|000002c0| 70 72 6f 70 65 72 74 79 | 20 26 6f 70 74 69 6f 6e |property| &option|
|000002d0| 61 6c 20 76 61 6c 75 65 | 29 20 22 c0 19 c2 c3 c0 |al value|) ".....|
|000002e0| 89 89 89 89 0c 0d 26 08 | 88 09 9f 29 87 22 20 5b |......&.|...)." [|
|000002f0| 6e 69 6c 20 72 65 73 75 | 6c 74 20 6d 61 70 2d 65 |nil resu|lt map-e|
|00000300| 78 74 65 6e 74 73 20 23 | 5b 28 65 78 74 65 6e 74 |xtents #|[(extent|
|00000310| 20 75 6e 75 73 65 64 29 | 20 22 08 09 21 5c 6e 42 | unused)| "..!\nB|
|00000320| 12 c3 87 22 20 5b 66 75 | 6e 63 74 69 6f 6e 20 65 |..." [fu|nction e|
|00000330| 78 74 65 6e 74 20 72 65 | 73 75 6c 74 20 6e 69 6c |xtent re|sult nil|
|00000340| 5d 20 32 5d 20 70 72 6f | 70 65 72 74 79 20 76 61 |] 2] pro|perty va|
|00000350| 6c 75 65 5d 20 39 20 22 | 41 70 70 6c 79 20 46 55 |lue] 9 "|Apply FU|
|00000360| 4e 43 54 49 4f 4e 20 74 | 6f 20 65 61 63 68 20 50 |NCTION t|o each P|
|00000370| 52 4f 50 45 52 54 59 20 | 60 65 71 27 20 74 6f 20 |ROPERTY |`eq' to |
|00000380| 56 41 4c 55 45 20 69 6e | 20 74 68 65 20 63 75 72 |VALUE in| the cur|
|00000390| 72 65 6e 74 20 62 75 66 | 66 65 72 2e 22 5d 20 23 |rent buf|fer."] #|
|000003a0| 5b 28 66 75 6e 63 74 69 | 6f 6e 20 70 72 6f 70 65 |[(functi|on prope|
|000003b0| 72 74 79 20 26 6f 70 74 | 69 6f 6e 61 6c 20 76 61 |rty &opt|ional va|
|000003c0| 6c 75 65 29 20 22 c0 19 | c2 c3 21 88 09 9f 29 87 |lue) "..|..!...).|
|000003d0| 22 20 5b 6e 69 6c 20 72 | 65 73 75 6c 74 20 6d 61 |" [nil r|esult ma|
|000003e0| 70 2d 65 78 74 65 6e 74 | 73 20 23 5b 28 65 78 74 |p-extent|s #[(ext|
|000003f0| 65 6e 74 20 75 6e 75 73 | 65 64 29 20 22 c0 09 5c |ent unus|ed) "..\|
|00000400| 6e 5c 22 0b 3d ab 86 0c | 09 21 0d 42 15 c6 87 22 |n\".=...|.!.B..."|
|00000410| 20 5b 65 78 74 65 6e 74 | 2d 70 72 6f 70 65 72 74 | [extent|-propert|
|00000420| 79 20 65 78 74 65 6e 74 | 20 70 72 6f 70 65 72 74 |y extent| propert|
|00000430| 79 20 76 61 6c 75 65 20 | 66 75 6e 63 74 69 6f 6e |y value |function|
|00000440| 20 72 65 73 75 6c 74 20 | 6e 69 6c 5d 20 33 5d 5d | result |nil] 3]]|
|00000450| 20 32 20 22 41 70 70 6c | 79 20 46 55 4e 43 54 49 | 2 "Appl|y FUNCTI|
|00000460| 4f 4e 20 74 6f 20 65 61 | 63 68 20 50 52 4f 50 45 |ON to ea|ch PROPE|
|00000470| 52 54 59 20 60 65 71 27 | 20 74 6f 20 56 41 4c 55 |RTY `eq'| to VALU|
|00000480| 45 20 69 6e 20 74 68 65 | 20 63 75 72 72 65 6e 74 |E in the| current|
|00000490| 20 62 75 66 66 65 72 2e | 22 5d 20 6b 70 72 6f 70 | buffer.|"] kprop|
|000004a0| 65 72 74 79 3a 6e 65 78 | 74 2d 73 69 6e 67 6c 65 |erty:nex|t-single|
|000004b0| 2d 63 68 61 6e 67 65 20 | 6e 65 78 74 2d 73 69 6e |-change |next-sin|
|000004c0| 67 6c 65 2d 70 72 6f 70 | 65 72 74 79 2d 63 68 61 |gle-prop|erty-cha|
|000004d0| 6e 67 65 20 6b 70 72 6f | 70 65 72 74 79 3a 70 72 |nge kpro|perty:pr|
|000004e0| 65 76 69 6f 75 73 2d 73 | 69 6e 67 6c 65 2d 63 68 |evious-s|ingle-ch|
|000004f0| 61 6e 67 65 20 70 72 65 | 76 69 6f 75 73 2d 73 69 |ange pre|vious-si|
|00000500| 6e 67 6c 65 2d 70 72 6f | 70 65 72 74 79 2d 63 68 |ngle-pro|perty-ch|
|00000510| 61 6e 67 65 20 6b 70 72 | 6f 70 65 72 74 79 3a 70 |ange kpr|operty:p|
|00000520| 72 6f 70 65 72 74 69 65 | 73 20 74 65 78 74 2d 70 |ropertie|s text-p|
|00000530| 72 6f 70 65 72 74 69 65 | 73 2d 61 74 5d 20 32 29 |ropertie|s-at] 2)|
|00000540| 0a 28 66 73 65 74 20 27 | 6b 70 72 6f 70 65 72 74 |.(fset '|kpropert|
|00000550| 79 3a 70 75 74 20 23 5b | 28 73 74 61 72 74 20 65 |y:put #[|(start e|
|00000560| 6e 64 20 70 72 6f 70 20 | 76 61 6c 75 65 20 26 6f |nd prop |value &o|
|00000570| 70 74 69 6f 6e 61 6c 20 | 6f 62 6a 65 63 74 29 20 |ptional |object) |
|00000580| 22 c0 09 5c 6e 0b 23 89 | 1c ac 8b c5 c6 09 5c 6e |"..\n.#.|......\n|
|00000590| 0e 07 0e 08 25 aa a1 c9 | 0c 0e 07 0e 08 23 88 c9 |....%...|.....#..|
|000005a0| 0c ca cb 23 88 c9 0c cc | cb 23 88 c9 0c cd cb 23 |...#....|.#.....#|
|000005b0| 88 c9 0c ce cb 23 88 0c | 29 87 22 20 5b 6d 61 6b |.....#..|)." [mak|
|000005c0| 65 2d 65 78 74 65 6e 74 | 20 73 74 61 72 74 20 65 |e-extent| start e|
|000005d0| 6e 64 20 6f 62 6a 65 63 | 74 20 65 78 74 65 6e 74 |nd objec|t extent|
|000005e0| 20 65 72 72 6f 72 20 22 | 28 6b 70 72 6f 70 65 72 | error "|(kproper|
|000005f0| 74 79 3a 70 75 74 29 3a | 20 4e 6f 20 65 78 74 65 |ty:put):| No exte|
|00000600| 6e 74 20 61 74 20 25 64 | 2d 25 64 20 74 6f 20 70 |nt at %d|-%d to p|
|00000610| 75 74 20 25 73 3d 25 73 | 22 20 70 72 6f 70 20 76 |ut %s=%s|" prop v|
|00000620| 61 6c 75 65 20 73 65 74 | 2d 65 78 74 65 6e 74 2d |alue set|-extent-|
|00000630| 70 72 6f 70 65 72 74 79 | 20 74 65 78 74 2d 70 72 |property| text-pr|
|00000640| 6f 70 20 74 20 64 75 70 | 6c 69 63 61 62 6c 65 20 |op t dup|licable |
|00000650| 73 74 61 72 74 2d 6f 70 | 65 6e 20 65 6e 64 2d 6f |start-op|en end-o|
|00000660| 70 65 6e 5d 20 37 20 22 | 5c 0a 53 65 74 20 6f 6e |pen] 7 "|\.Set on|
|00000670| 65 20 70 72 6f 70 65 72 | 74 79 20 6f 66 20 74 68 |e proper|ty of th|
|00000680| 65 20 74 65 78 74 20 66 | 72 6f 6d 20 53 54 41 52 |e text f|rom STAR|
|00000690| 54 20 74 6f 20 45 4e 44 | 2e 0a 54 68 65 20 74 68 |T to END|..The th|
|000006a0| 69 72 64 20 61 6e 64 20 | 66 6f 75 72 74 68 20 61 |ird and |fourth a|
|000006b0| 72 67 75 6d 65 6e 74 73 | 20 50 52 4f 50 20 61 6e |rguments| PROP an|
|000006c0| 64 20 56 41 4c 55 45 20 | 73 70 65 63 69 66 79 20 |d VALUE |specify |
|000006d0| 74 68 65 20 70 72 6f 70 | 65 72 74 79 20 74 6f 20 |the prop|erty to |
|000006e0| 61 64 64 2e 0a 54 68 65 | 20 6f 70 74 69 6f 6e 61 |add..The| optiona|
|000006f0| 6c 20 66 69 66 74 68 20 | 61 72 67 75 6d 65 6e 74 |l fifth |argument|
|00000700| 2c 20 4f 42 4a 45 43 54 | 2c 20 69 73 20 74 68 65 |, OBJECT|, is the|
|00000710| 20 73 74 72 69 6e 67 20 | 6f 72 20 62 75 66 66 65 | string |or buffe|
|00000720| 72 20 63 6f 6e 74 61 69 | 6e 69 6e 67 20 74 68 65 |r contai|ning the|
|00000730| 0a 74 65 78 74 2e 22 5d | 29 0a 28 66 73 65 74 20 |.text."]|).(fset |
|00000740| 27 6b 70 72 6f 70 65 72 | 74 79 3a 72 65 6d 6f 76 |'kproper|ty:remov|
|00000750| 65 20 27 72 65 6d 6f 76 | 65 2d 74 65 78 74 2d 70 |e 'remov|e-text-p|
|00000760| 72 6f 70 65 72 74 69 65 | 73 29 0a 28 66 73 65 74 |ropertie|s).(fset|
|00000770| 20 27 6b 70 72 6f 70 65 | 72 74 79 3a 73 65 74 20 | 'kprope|rty:set |
|00000780| 23 5b 28 70 72 6f 70 65 | 72 74 79 20 76 61 6c 75 |#[(prope|rty valu|
|00000790| 65 29 20 22 c0 60 60 c1 | 5c 5c 64 5e 5c 6e 0b 24 |e) ".``.|\\d^\n.$|
|000007a0| 87 22 20 5b 6b 70 72 6f | 70 65 72 74 79 3a 70 75 |." [kpro|perty:pu|
|000007b0| 74 20 32 20 70 72 6f 70 | 65 72 74 79 20 76 61 6c |t 2 prop|erty val|
|000007c0| 75 65 5d 20 35 20 22 5c | 0a 53 65 74 20 50 52 4f |ue] 5 "\|.Set PRO|
|000007d0| 50 45 52 54 59 20 6f 66 | 20 63 68 61 72 61 63 74 |PERTY of| charact|
|000007e0| 65 72 20 61 74 20 70 6f | 69 6e 74 20 74 6f 20 56 |er at po|int to V|
|000007f0| 41 4c 55 45 2e 22 5d 29 | 0a |ALUE."])|. |
+--------+-------------------------+-------------------------+--------+--------+