home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1998-05-21 | 11.8 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 |
100%
| file
| Emacs/XEmacs v20 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 35 35 3a 33 34 20 31 | 39 39 38 0a 3b 3b 3b 20 |:55:34 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 75 74 69 6c |s-20.3/l|isp/util|
|000000a0| 73 2f 61 6e 6e 6f 74 61 | 74 69 6f 6e 73 2e 65 6c |s/annota|tions.el|
|000000b0| 0a 3b 3b 3b 20 65 6d 61 | 63 73 20 76 65 72 73 69 |.;;; ema|cs versi|
|000000c0| 6f 6e 20 32 30 2e 34 20 | 22 45 6d 65 72 61 6c 64 |on 20.4 |"Emerald|
|000000d0| 22 20 58 45 6d 61 63 73 | 20 20 4c 75 63 69 64 2e |" XEmacs| Lucid.|
|000000e0| 0a 3b 3b 3b 20 62 79 74 | 65 63 6f 6d 70 20 76 65 |.;;; byt|ecomp ve|
|000000f0| 72 73 69 6f 6e 20 32 2e | 32 35 20 58 45 6d 61 63 |rsion 2.|25 XEmac|
|00000100| 73 3b 20 32 32 2d 4d 61 | 72 2d 39 36 2e 0a 3b 3b |s; 22-Ma|r-96..;;|
|00000110| 3b 20 6f 70 74 69 6d 69 | 7a 61 74 69 6f 6e 20 69 |; optimi|zation i|
|00000120| 73 20 6f 6e 2e 0a 3b 3b | 3b 20 74 68 69 73 20 66 |s on..;;|; this f|
|00000130| 69 6c 65 20 75 73 65 73 | 20 6f 70 63 6f 64 65 73 |ile uses| opcodes|
|00000140| 20 77 68 69 63 68 20 64 | 6f 20 6e 6f 74 20 65 78 | which d|o not ex|
|00000150| 69 73 74 20 69 6e 20 45 | 6d 61 63 73 20 31 39 2e |ist in E|macs 19.|
|00000160| 0a 0a 28 69 66 20 28 61 | 6e 64 20 28 62 6f 75 6e |..(if (a|nd (boun|
|00000170| 64 70 20 27 65 6d 61 63 | 73 2d 76 65 72 73 69 6f |dp 'emac|s-versio|
|00000180| 6e 29 0a 09 20 28 6f 72 | 20 28 61 6e 64 20 28 62 |n).. (or| (and (b|
|00000190| 6f 75 6e 64 70 20 27 65 | 70 6f 63 68 3a 3a 76 65 |oundp 'e|poch::ve|
|000001a0| 72 73 69 6f 6e 29 20 65 | 70 6f 63 68 3a 3a 76 65 |rsion) e|poch::ve|
|000001b0| 72 73 69 6f 6e 29 0a 09 | 20 20 20 20 20 28 73 74 |rsion)..| (st|
|000001c0| 72 69 6e 67 2d 6c 65 73 | 73 70 20 65 6d 61 63 73 |ring-les|sp emacs|
|000001d0| 2d 76 65 72 73 69 6f 6e | 20 22 32 30 22 29 29 29 |-version| "20")))|
|000001e0| 0a 20 20 20 20 28 65 72 | 72 6f 72 20 22 60 61 6e |. (er|ror "`an|
|000001f0| 6e 6f 74 61 74 69 6f 6e | 73 2e 65 6c 27 20 77 61 |notation|s.el' wa|
|00000200| 73 20 63 6f 6d 70 69 6c | 65 64 20 66 6f 72 20 45 |s compil|ed for E|
|00000210| 6d 61 63 73 20 32 30 22 | 29 29 0a 0a 28 6f 72 20 |macs 20"|))..(or |
|00000220| 28 62 6f 75 6e 64 70 20 | 27 63 75 72 72 65 6e 74 |(boundp |'current|
|00000230| 2d 6c 6f 61 64 2d 6c 69 | 73 74 29 20 28 73 65 74 |-load-li|st) (set|
|00000240| 71 20 63 75 72 72 65 6e | 74 2d 6c 6f 61 64 2d 6c |q curren|t-load-l|
|00000250| 69 73 74 20 6e 69 6c 29 | 29 0a 0a 0a 23 40 37 33 |ist nil)|)...#@73|
|00000260| 20 2a 46 75 6e 63 74 69 | 6f 6e 20 6f 72 20 66 75 | *Functi|on or fu|
|00000270| 6e 63 74 69 6f 6e 73 20 | 74 6f 20 72 75 6e 20 69 |nctions |to run i|
|00000280| 6d 6d 65 64 69 61 74 65 | 6c 79 20 61 66 74 65 72 |mmediate|ly after|
|00000290| 20 63 72 65 61 74 69 6e | 67 20 61 6e 20 61 6e 6e | creatin|g an ann|
|000002a0| 6f 74 61 74 69 6f 6e 2e | 1f 0a 28 64 65 66 76 61 |otation.|..(defva|
|000002b0| 72 20 6d 61 6b 65 2d 61 | 6e 6e 6f 74 61 74 69 6f |r make-a|nnotatio|
|000002c0| 6e 2d 68 6f 6f 6b 20 6e | 69 6c 20 28 23 24 20 2e |n-hook n|il (#$ .|
|000002d0| 20 2d 36 30 39 29 29 0a | 23 40 37 34 20 2a 46 75 | -609)).|#@74 *Fu|
|000002e0| 6e 63 74 69 6f 6e 20 6f | 72 20 66 75 6e 63 74 69 |nction o|r functi|
|000002f0| 6f 6e 73 20 74 6f 20 72 | 75 6e 20 69 6d 6d 65 64 |ons to r|un immed|
|00000300| 69 61 74 65 6c 79 20 62 | 65 66 6f 72 65 20 64 65 |iately b|efore de|
|00000310| 6c 65 74 69 6e 67 20 61 | 6e 20 61 6e 6e 6f 74 61 |leting a|n annota|
|00000320| 74 69 6f 6e 2e 1f 0a 28 | 64 65 66 76 61 72 20 62 |tion...(|defvar b|
|00000330| 65 66 6f 72 65 2d 64 65 | 6c 65 74 65 2d 61 6e 6e |efore-de|lete-ann|
|00000340| 6f 74 61 74 69 6f 6e 2d | 68 6f 6f 6b 20 6e 69 6c |otation-|hook nil|
|00000350| 20 28 23 24 20 2e 20 2d | 37 33 33 29 29 0a 23 40 | (#$ . -|733)).#@|
|00000360| 37 33 20 2a 46 75 6e 63 | 74 69 6f 6e 20 6f 72 20 |73 *Func|tion or |
|00000370| 66 75 6e 63 74 69 6f 6e | 73 20 74 6f 20 72 75 6e |function|s to run|
|00000380| 20 69 6d 6d 65 64 69 61 | 74 65 6c 79 20 61 66 74 | immedia|tely aft|
|00000390| 65 72 20 64 65 6c 65 74 | 69 6e 67 20 61 6e 20 61 |er delet|ing an a|
|000003a0| 6e 6e 6f 74 61 74 69 6f | 6e 2e 1f 0a 28 64 65 66 |nnotatio|n...(def|
|000003b0| 76 61 72 20 61 66 74 65 | 72 2d 64 65 6c 65 74 65 |var afte|r-delete|
|000003c0| 2d 61 6e 6e 6f 74 61 74 | 69 6f 6e 2d 68 6f 6f 6b |-annotat|ion-hook|
|000003d0| 20 6e 69 6c 20 28 23 24 | 20 2e 20 2d 38 36 37 29 | nil (#$| . -867)|
|000003e0| 29 0a 23 40 37 31 20 4b | 65 79 6d 61 70 20 75 73 |).#@71 K|eymap us|
|000003f0| 65 64 20 74 6f 20 61 63 | 74 69 76 61 74 65 20 61 |ed to ac|tivate a|
|00000400| 6e 6e 6f 74 61 74 69 6f | 6e 73 20 77 69 74 68 20 |nnotatio|ns with |
|00000410| 6f 6e 6c 79 20 61 6e 6e | 6f 74 61 74 69 6f 6e 20 |only ann|otation |
|00000420| 64 61 74 61 20 70 61 73 | 73 65 64 2e 1f 0a 28 64 |data pas|sed...(d|
|00000430| 65 66 76 61 72 20 61 6e | 6e 6f 74 61 74 69 6f 6e |efvar an|notation|
|00000440| 2d 6c 6f 63 61 6c 2d 6d | 61 70 2d 64 65 66 61 75 |-local-m|ap-defau|
|00000450| 6c 74 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |lt (byte|-code ".|
|00000460| 20 19 c2 09 c3 5c 22 88 | c4 09 c5 c6 23 88 c4 09 | ....\".|....#...|
|00000470| c7 c8 23 88 09 29 87 22 | 20 5b 6d 61 6b 65 2d 73 |..#..)."| [make-s|
|00000480| 70 61 72 73 65 2d 6b 65 | 79 6d 61 70 20 6d 61 70 |parse-ke|ymap map|
|00000490| 20 73 65 74 2d 6b 65 79 | 6d 61 70 2d 6e 61 6d 65 | set-key|map-name|
|000004a0| 20 61 6e 6e 6f 74 61 74 | 69 6f 6e 2d 6c 6f 63 61 | annotat|ion-loca|
|000004b0| 6c 2d 6d 61 70 20 64 65 | 66 69 6e 65 2d 6b 65 79 |l-map de|fine-key|
|000004c0| 20 62 75 74 74 6f 6e 31 | 20 61 6e 6e 6f 74 61 74 | button1| annotat|
|000004d0| 69 6f 6e 2d 61 63 74 69 | 76 61 74 65 2d 66 75 6e |ion-acti|vate-fun|
|000004e0| 63 74 69 6f 6e 2d 64 65 | 66 61 75 6c 74 20 62 75 |ction-de|fault bu|
|000004f0| 74 74 6f 6e 33 20 61 6e | 6e 6f 74 61 74 69 6f 6e |tton3 an|notation|
|00000500| 2d 70 6f 70 75 70 2d 6d | 65 6e 75 5d 20 34 29 20 |-popup-m|enu] 4) |
|00000510| 28 23 24 20 2e 20 39 39 | 39 29 29 0a 23 40 37 36 |(#$ . 99|9)).#@76|
|00000520| 20 4b 65 79 6d 61 70 20 | 75 73 65 64 20 74 6f 20 | Keymap |used to |
|00000530| 61 63 74 69 76 61 74 65 | 20 61 6e 6e 6f 74 61 74 |activate| annotat|
|00000540| 69 6f 6e 73 20 77 69 74 | 68 20 61 6e 6e 6f 74 61 |ions wit|h annota|
|00000550| 74 69 6f 6e 20 64 61 74 | 61 20 61 6e 64 20 65 76 |tion dat|a and ev|
|00000560| 65 6e 74 20 70 61 73 73 | 65 64 2e 1f 0a 28 64 65 |ent pass|ed...(de|
|00000570| 66 76 61 72 20 61 6e 6e | 6f 74 61 74 69 6f 6e 2d |fvar ann|otation-|
|00000580| 6c 6f 63 61 6c 2d 6d 61 | 70 2d 77 69 74 68 2d 65 |local-ma|p-with-e|
|00000590| 76 65 6e 74 20 28 62 79 | 74 65 2d 63 6f 64 65 20 |vent (by|te-code |
|000005a0| 22 c0 20 19 c2 09 c3 5c | 22 88 c4 09 c5 c6 23 88 |". ....\|".....#.|
|000005b0| c4 09 c7 c8 23 88 09 29 | 87 22 20 5b 6d 61 6b 65 |....#..)|." [make|
|000005c0| 2d 73 70 61 72 73 65 2d | 6b 65 79 6d 61 70 20 6d |-sparse-|keymap m|
|000005d0| 61 70 20 73 65 74 2d 6b | 65 79 6d 61 70 2d 6e 61 |ap set-k|eymap-na|
|000005e0| 6d 65 20 61 6e 6e 6f 74 | 61 74 69 6f 6e 2d 6c 6f |me annot|ation-lo|
|000005f0| 63 61 6c 2d 6d 61 70 20 | 64 65 66 69 6e 65 2d 6b |cal-map |define-k|
|00000600| 65 79 20 62 75 74 74 6f | 6e 31 20 61 6e 6e 6f 74 |ey butto|n1 annot|
|00000610| 61 74 69 6f 6e 2d 61 63 | 74 69 76 61 74 65 2d 66 |ation-ac|tivate-f|
|00000620| 75 6e 63 74 69 6f 6e 2d | 77 69 74 68 2d 65 76 65 |unction-|with-eve|
|00000630| 6e 74 20 62 75 74 74 6f | 6e 33 20 61 6e 6e 6f 74 |nt butto|n3 annot|
|00000640| 61 74 69 6f 6e 2d 70 6f | 70 75 70 2d 6d 65 6e 75 |ation-po|pup-menu|
|00000650| 5d 20 34 29 20 28 23 24 | 20 2e 20 31 33 31 33 29 |] 4) (#$| . 1313)|
|00000660| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 61 6e 6e |).(defal|ias 'ann|
|00000670| 6f 74 61 74 69 6f 6e 2d | 61 63 74 69 76 61 74 65 |otation-|activate|
|00000680| 2d 66 75 6e 63 74 69 6f | 6e 2d 64 65 66 61 75 6c |-functio|n-defaul|
|00000690| 74 20 23 5b 28 65 76 65 | 6e 74 29 20 22 c0 09 21 |t #[(eve|nt) "..!|
|000006a0| c2 c3 1c 1d 1e 06 c7 0e | 06 21 ab 8e c8 0e 06 21 |........|.!.....!|
|000006b0| 14 c9 0e 06 c7 0e 06 21 | 5c 22 88 0d ab 8e ca 09 |.......!|\"......|
|000006c0| 21 11 cb 09 21 ab 74 c3 | 89 15 ac 72 c7 0e 06 21 |!...!.t.|...r...!|
|000006d0| ab 86 c9 0e 06 0c 5c 22 | 88 0e 06 c0 09 21 61 ad |......\"|.....!a.|
|000006e0| 8f cc 0e 06 21 ad 89 cc | 0e 06 21 cd 0e 06 21 21 |....!...|..!...!!|
|000006f0| 2b 87 22 20 5b 65 76 65 | 6e 74 2d 67 6c 79 70 68 |+." [eve|nt-glyph|
|00000700| 2d 65 78 74 65 6e 74 20 | 65 76 65 6e 74 20 74 20 |-extent |event t |
|00000710| 6e 69 6c 20 75 70 2d 67 | 6c 79 70 68 20 6d 6f 75 |nil up-g|lyph mou|
|00000720| 73 65 2d 64 6f 77 6e 20 | 65 78 74 65 6e 74 20 61 |se-down |extent a|
|00000730| 6e 6e 6f 74 61 74 69 6f | 6e 2d 64 6f 77 6e 2d 67 |nnotatio|n-down-g|
|00000740| 6c 79 70 68 20 61 6e 6e | 6f 74 61 74 69 6f 6e 2d |lyph ann|otation-|
|00000750| 67 6c 79 70 68 20 73 65 | 74 2d 61 6e 6e 6f 74 61 |glyph se|t-annota|
|00000760| 74 69 6f 6e 2d 67 6c 79 | 70 68 20 6e 65 78 74 2d |tion-gly|ph next-|
|00000770| 65 76 65 6e 74 20 62 75 | 74 74 6f 6e 2d 72 65 6c |event bu|tton-rel|
|00000780| 65 61 73 65 2d 65 76 65 | 6e 74 2d 70 20 61 6e 6e |ease-eve|nt-p ann|
|00000790| 6f 74 61 74 69 6f 6e 2d | 61 63 74 69 6f 6e 20 61 |otation-|action a|
|000007a0| 6e 6e 6f 74 61 74 69 6f | 6e 2d 64 61 74 61 5d 20 |nnotatio|n-data] |
|000007b0| 35 20 6e 69 6c 20 22 65 | 22 5d 29 0a 28 64 65 66 |5 nil "e|"]).(def|
|000007c0| 61 6c 69 61 73 20 27 61 | 6e 6e 6f 74 61 74 69 6f |alias 'a|nnotatio|
|000007d0| 6e 2d 61 63 74 69 76 61 | 74 65 2d 66 75 6e 63 74 |n-activa|te-funct|
|000007e0| 69 6f 6e 2d 77 69 74 68 | 2d 65 76 65 6e 74 20 23 |ion-with|-event #|
|000007f0| 5b 28 65 76 65 6e 74 29 | 20 22 c0 09 21 c2 c3 1c |[(event)| "..!...|
|00000800| 1d 1e 06 c7 0e 06 21 ab | 8e c8 0e 06 21 14 c9 0e |......!.|....!...|
|00000810| 06 c7 0e 06 21 5c 22 88 | 0d ab 8e ca 09 21 11 cb |....!\".|.....!..|
|00000820| 09 21 ab 74 c3 89 15 ac | 72 c7 0e 06 21 ab 86 c9 |.!.t....|r...!...|
|00000830| 0e 06 0c 5c 22 88 0e 06 | c0 09 21 61 ad 90 cc 0e |...\"...|..!a....|
|00000840| 06 21 ad 8a cc 0e 06 21 | cd 0e 06 21 09 5c 22 2b |.!.....!|...!.\"+|
|00000850| 87 22 20 5b 65 76 65 6e | 74 2d 67 6c 79 70 68 2d |." [even|t-glyph-|
|00000860| 65 78 74 65 6e 74 20 65 | 76 65 6e 74 20 74 20 6e |extent e|vent t n|
|00000870| 69 6c 20 75 70 2d 67 6c | 79 70 68 20 6d 6f 75 73 |il up-gl|yph mous|
|00000880| 65 2d 64 6f 77 6e 20 65 | 78 74 65 6e 74 20 61 6e |e-down e|xtent an|
|00000890| 6e 6f 74 61 74 69 6f 6e | 2d 64 6f 77 6e 2d 67 6c |notation|-down-gl|
|000008a0| 79 70 68 20 61 6e 6e 6f | 74 61 74 69 6f 6e 2d 67 |yph anno|tation-g|
|000008b0| 6c 79 70 68 20 73 65 74 | 2d 61 6e 6e 6f 74 61 74 |lyph set|-annotat|
|000008c0| 69 6f 6e 2d 67 6c 79 70 | 68 20 6e 65 78 74 2d 65 |ion-glyp|h next-e|
|000008d0| 76 65 6e 74 20 62 75 74 | 74 6f 6e 2d 72 65 6c 65 |vent but|ton-rele|
|000008e0| 61 73 65 2d 65 76 65 6e | 74 2d 70 20 61 6e 6e 6f |ase-even|t-p anno|
|000008f0| 74 61 74 69 6f 6e 2d 61 | 63 74 69 6f 6e 20 61 6e |tation-a|ction an|
|00000900| 6e 6f 74 61 74 69 6f 6e | 2d 64 61 74 61 5d 20 35 |notation|-data] 5|
|00000910| 20 6e 69 6c 20 22 65 22 | 5d 29 0a 23 40 36 35 35 | nil "e"|]).#@655|
|00000920| 20 43 72 65 61 74 65 20 | 61 20 6d 61 72 67 69 6e | Create |a margin|
|00000930| 61 6c 20 61 6e 6e 6f 74 | 61 74 69 6f 6e 2c 20 64 |al annot|ation, d|
|00000940| 69 73 70 6c 61 79 65 64 | 20 75 73 69 6e 67 20 47 |isplayed| using G|
|00000950| 4c 59 50 48 2c 20 61 74 | 20 70 6f 73 69 74 69 6f |LYPH, at| positio|
|00000960| 6e 20 50 4f 53 2e 0a 47 | 4c 59 50 48 20 6d 61 79 |n POS..G|LYPH may|
|00000970| 20 62 65 20 65 69 74 68 | 65 72 20 61 20 67 6c 79 | be eith|er a gly|
|00000980| 70 68 20 6f 62 6a 65 63 | 74 20 6f 72 20 61 20 73 |ph objec|t or a s|
|00000990| 74 72 69 6e 67 2e 20 20 | 55 73 65 20 6c 61 79 6f |tring. |Use layo|
|000009a0| 75 74 20 70 6f 6c 69 63 | 79 0a 4c 41 59 4f 55 54 |ut polic|y.LAYOUT|
|000009b0| 20 61 6e 64 20 70 6c 61 | 63 65 20 74 68 65 20 61 | and pla|ce the a|
|000009c0| 6e 6e 6f 74 61 74 69 6f | 6e 20 69 6e 20 62 75 66 |nnotatio|n in buf|
|000009d0| 66 65 72 20 42 55 46 46 | 45 52 2e 20 20 49 66 20 |fer BUFF|ER. If |
|000009e0| 50 4f 53 20 69 73 20 6e | 69 6c 2c 20 70 6f 69 6e |POS is n|il, poin|
|000009f0| 74 20 69 73 0a 75 73 65 | 64 2e 20 20 49 66 20 4c |t is.use|d. If L|
|00000a00| 41 59 4f 55 54 20 69 73 | 20 6e 69 6c 2c 20 60 77 |AYOUT is| nil, `w|
|00000a10| 68 69 74 65 73 70 61 63 | 65 27 20 69 73 20 75 73 |hitespac|e' is us|
|00000a20| 65 64 2e 20 20 49 66 20 | 42 55 46 46 45 52 20 69 |ed. If |BUFFER i|
|00000a30| 73 20 6e 69 6c 2c 20 74 | 68 65 0a 63 75 72 72 65 |s nil, t|he.curre|
|00000a40| 6e 74 20 62 75 66 66 65 | 72 20 69 73 20 75 73 65 |nt buffe|r is use|
|00000a50| 64 2e 20 20 49 66 20 57 | 49 54 48 2d 45 56 45 4e |d. If W|ITH-EVEN|
|00000a60| 54 20 69 73 20 6e 6f 6e | 2d 6e 69 6c 2c 20 74 68 |T is non|-nil, th|
|00000a70| 65 6e 20 77 68 65 6e 20 | 61 6e 20 61 6e 6e 6f 74 |en when |an annot|
|00000a80| 61 74 69 6f 6e 0a 69 73 | 20 61 63 74 69 76 61 74 |ation.is| activat|
|00000a90| 65 64 2c 20 74 68 65 20 | 74 72 69 67 67 65 72 69 |ed, the |triggeri|
|00000aa0| 6e 67 20 65 76 65 6e 74 | 20 69 73 20 70 61 73 73 |ng event| is pass|
|00000ab0| 65 64 20 61 73 20 74 68 | 65 20 73 65 63 6f 6e 64 |ed as th|e second|
|00000ac0| 20 61 72 67 20 74 6f 20 | 74 68 65 0a 61 6e 6e 6f | arg to |the.anno|
|00000ad0| 74 61 74 69 6f 6e 20 66 | 75 6e 63 74 69 6f 6e 2e |tation f|unction.|
|00000ae0| 20 20 49 66 20 44 2d 47 | 4c 59 50 48 20 69 73 20 | If D-G|LYPH is |
|00000af0| 6e 6f 6e 2d 6e 69 6c 20 | 74 68 65 6e 20 69 74 20 |non-nil |then it |
|00000b00| 69 73 20 75 73 65 64 20 | 61 73 20 74 68 65 20 67 |is used |as the g|
|00000b10| 6c 79 70 68 20 0a 74 68 | 61 74 20 77 69 6c 6c 20 |lyph .th|at will |
|00000b20| 62 65 20 64 69 73 70 6c | 61 79 65 64 20 77 68 65 |be displ|ayed whe|
|00000b30| 6e 20 62 75 74 74 6f 6e | 31 20 69 73 20 64 6f 77 |n button|1 is dow|
|00000b40| 6e 2e 20 20 49 66 20 52 | 49 47 48 54 50 20 69 73 |n. If R|IGHTP is|
|00000b50| 20 6e 6f 6e 2d 6e 69 6c | 20 74 68 65 6e 0a 74 68 | non-nil| then.th|
|00000b60| 65 20 67 6c 79 70 68 20 | 77 69 6c 6c 20 62 65 20 |e glyph |will be |
|00000b70| 64 69 73 70 6c 61 79 65 | 64 20 6f 6e 20 74 68 65 |displaye|d on the|
|00000b80| 20 72 69 67 68 74 20 73 | 69 64 65 20 6f 66 20 74 | right s|ide of t|
|00000b90| 68 65 20 62 75 66 66 65 | 72 20 69 6e 73 74 65 61 |he buffe|r instea|
|00000ba0| 64 20 6f 66 20 74 68 65 | 0a 6c 65 66 74 2e 1f 0a |d of the|.left...|
|00000bb0| 28 64 65 66 61 6c 69 61 | 73 20 27 6d 61 6b 65 2d |(defalia|s 'make-|
|00000bc0| 61 6e 6e 6f 74 61 74 69 | 6f 6e 20 23 5b 28 67 6c |annotati|on #[(gl|
|00000bd0| 79 70 68 20 26 6f 70 74 | 69 6f 6e 61 6c 20 70 6f |yph &opt|ional po|
|00000be0| 73 20 6c 61 79 6f 75 74 | 20 62 75 66 66 65 72 20 |s layout| buffer |
|00000bf0| 77 69 74 68 2d 65 76 65 | 6e 74 20 64 2d 67 6c 79 |with-eve|nt d-gly|
|00000c00| 70 68 20 72 69 67 68 74 | 70 29 20 22 c0 19 5c 6e |ph right|p) "..\n|
|00000c10| ac 84 70 12 aa 84 c3 5c | 6e 21 12 0c ac 87 8a 5c |..p....\|n!.....\|
|00000c20| 6e 71 88 60 14 29 0d ac | 82 c6 15 0e 07 ab 8c c8 |nq.`.)..|........|
|00000c30| 0e 07 21 ac 86 c9 0e 07 | 21 16 07 0e 5c 6e ab 8c |..!.....|!...\n..|
|00000c40| c8 0e 5c 6e 21 ac 86 c9 | 0e 5c 6e 21 16 5c 6e cb |..\n!...|.\n!.\n.|
|00000c50| 0c 89 5c 6e 23 11 cc 09 | 21 88 cd 09 0c 89 23 88 |..\n#...|!.....#.|
|00000c60| 0e 0e ab 89 cf 09 0e 07 | 0d 23 88 aa 87 d0 09 0e |........|.#......|
|00000c70| 07 0d 23 88 d1 09 d2 d3 | c0 89 89 0e 07 0e 5c 6e |..#.....|......\n|
|00000c80| 0e 0e 26 06 23 88 d1 09 | d4 d5 23 88 d1 09 d6 d5 |..&.#...|..#.....|
|00000c90| 23 88 d1 09 d7 d5 23 88 | 0e 18 ab 89 d1 09 d9 0e |#.....#.|........|
|00000ca0| 1a 23 88 aa 87 d1 09 d9 | 0e 1b 23 88 dc dd 09 5c |.#......|..#....\|
|00000cb0| 22 88 09 29 87 22 20 5b | 6e 69 6c 20 6e 65 77 2d |"..)." [|nil new-|
|00000cc0| 61 6e 6e 6f 74 61 74 69 | 6f 6e 20 62 75 66 66 65 |annotati|on buffe|
|00000cd0| 72 20 67 65 74 2d 62 75 | 66 66 65 72 20 70 6f 73 |r get-bu|ffer pos|
|00000ce0| 20 6c 61 79 6f 75 74 20 | 77 68 69 74 65 73 70 61 | layout |whitespa|
|00000cf0| 63 65 20 67 6c 79 70 68 | 20 67 6c 79 70 68 70 20 |ce glyph| glyphp |
|00000d00| 6d 61 6b 65 2d 67 6c 79 | 70 68 20 64 2d 67 6c 79 |make-gly|ph d-gly|
|00000d10| 70 68 20 6d 61 6b 65 2d | 65 78 74 65 6e 74 20 64 |ph make-|extent d|
|00000d20| 65 74 61 63 68 2d 65 78 | 74 65 6e 74 20 73 65 74 |etach-ex|tent set|
|00000d30| 2d 65 78 74 65 6e 74 2d | 65 6e 64 70 6f 69 6e 74 |-extent-|endpoint|
|00000d40| 73 20 72 69 67 68 74 70 | 20 73 65 74 2d 65 78 74 |s rightp| set-ext|
|00000d50| 65 6e 74 2d 65 6e 64 2d | 67 6c 79 70 68 20 73 65 |ent-end-|glyph se|
|00000d60| 74 2d 65 78 74 65 6e 74 | 2d 62 65 67 69 6e 2d 67 |t-extent|-begin-g|
|00000d70| 6c 79 70 68 20 73 65 74 | 2d 65 78 74 65 6e 74 2d |lyph set|-extent-|
|00000d80| 70 72 6f 70 65 72 74 79 | 20 61 6e 6e 6f 74 61 74 |property| annotat|
|00000d90| 69 6f 6e 20 76 65 63 74 | 6f 72 20 65 6e 64 2d 63 |ion vect|or end-c|
|00000da0| 6c 6f 73 65 64 20 74 20 | 73 74 61 72 74 2d 6f 70 |losed t |start-op|
|00000db0| 65 6e 20 64 75 70 6c 69 | 63 61 62 6c 65 20 77 69 |en dupli|cable wi|
|00000dc0| 74 68 2d 65 76 65 6e 74 | 20 6b 65 79 6d 61 70 20 |th-event| keymap |
|00000dd0| 61 6e 6e 6f 74 61 74 69 | 6f 6e 2d 6c 6f 63 61 6c |annotati|on-local|
|00000de0| 2d 6d 61 70 2d 77 69 74 | 68 2d 65 76 65 6e 74 20 |-map-wit|h-event |
|00000df0| 61 6e 6e 6f 74 61 74 69 | 6f 6e 2d 6c 6f 63 61 6c |annotati|on-local|
|00000e00| 2d 6d 61 70 2d 64 65 66 | 61 75 6c 74 20 72 75 6e |-map-def|ault run|
|00000e10| 2d 68 6f 6f 6b 2d 77 69 | 74 68 2d 61 72 67 73 20 |-hook-wi|th-args |
|00000e20| 6d 61 6b 65 2d 61 6e 6e | 6f 74 61 74 69 6f 6e 2d |make-ann|otation-|
|00000e30| 68 6f 6f 6b 5d 20 31 30 | 20 28 23 24 20 2e 20 32 |hook] 10| (#$ . 2|
|00000e40| 33 33 37 29 5d 29 0a 28 | 62 79 74 65 2d 63 6f 64 |337)]).(|byte-cod|
|00000e50| 65 20 22 c0 c1 4d 88 c2 | c0 c1 5c 22 87 22 20 5b |e "..M..|..\"." [|
|00000e60| 6d 61 6b 65 2d 67 72 61 | 70 68 69 63 2d 61 6e 6e |make-gra|phic-ann|
|00000e70| 6f 74 61 74 69 6f 6e 20 | 6d 61 6b 65 2d 61 6e 6e |otation |make-ann|
|00000e80| 6f 74 61 74 69 6f 6e 20 | 6d 61 6b 65 2d 6f 62 73 |otation |make-obs|
|00000e90| 6f 6c 65 74 65 5d 20 33 | 29 0a 23 40 37 35 20 52 |olete] 3|).#@75 R|
|00000ea0| 65 6d 6f 76 65 20 41 4e | 4e 4f 54 41 54 49 4f 4e |emove AN|NOTATION|
|00000eb0| 20 66 72 6f 6d 20 69 74 | 73 20 62 75 66 66 65 72 | from it|s buffer|
|00000ec0| 2e 20 20 54 68 69 73 20 | 64 6f 65 73 20 6e 6f 74 |. This |does not|
|00000ed0| 20 6d 6f 64 69 66 79 20 | 74 68 65 20 62 75 66 66 | modify |the buff|
|00000ee0| 65 72 20 74 65 78 74 2e | 1f 0a 28 64 65 66 61 6c |er text.|..(defal|
|00000ef0| 69 61 73 20 27 64 65 6c | 65 74 65 2d 61 6e 6e 6f |ias 'del|ete-anno|
|00000f00| 74 61 74 69 6f 6e 20 23 | 5b 28 61 6e 6e 6f 74 61 |tation #|[(annota|
|00000f10| 74 69 6f 6e 29 20 22 c0 | 09 21 ac 85 c2 c3 09 5c |tion) ".|.!.....\|
|00000f20| 22 87 c4 c5 09 5c 22 88 | c6 09 21 88 c7 c8 21 87 |"....\".|..!...!.|
|00000f30| 22 20 5b 61 6e 6e 6f 74 | 61 74 69 6f 6e 70 20 61 |" [annot|ationp a|
|00000f40| 6e 6e 6f 74 61 74 69 6f | 6e 20 65 72 72 6f 72 20 |nnotatio|n error |
|00000f50| 22 25 73 20 69 73 20 6e | 6f 74 20 61 6e 20 61 6e |"%s is n|ot an an|
|00000f60| 6e 6f 74 61 74 69 6f 6e | 22 20 72 75 6e 2d 68 6f |notation|" run-ho|
|00000f70| 6f 6b 2d 77 69 74 68 2d | 61 72 67 73 20 62 65 66 |ok-with-|args bef|
|00000f80| 6f 72 65 2d 64 65 6c 65 | 74 65 2d 61 6e 6e 6f 74 |ore-dele|te-annot|
|00000f90| 61 74 69 6f 6e 2d 68 6f | 6f 6b 20 64 65 6c 65 74 |ation-ho|ok delet|
|00000fa0| 65 2d 65 78 74 65 6e 74 | 20 72 75 6e 2d 68 6f 6f |e-extent| run-hoo|
|00000fb0| 6b 73 20 61 66 74 65 72 | 2d 64 65 6c 65 74 65 2d |ks after|-delete-|
|00000fc0| 61 6e 6e 6f 74 61 74 69 | 6f 6e 2d 68 6f 6f 6b 5d |annotati|on-hook]|
|00000fd0| 20 33 20 28 23 24 20 2e | 20 33 37 34 33 29 5d 29 | 3 (#$ .| 3743)])|
|00000fe0| 0a 23 40 33 31 20 54 20 | 69 66 20 4f 42 4a 45 43 |.#@31 T |if OBJEC|
|00000ff0| 54 20 69 73 20 61 6e 20 | 61 6e 6e 6f 74 61 74 69 |T is an |annotati|
|00001000| 6f 6e 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |on...(de|falias '|
|00001010| 61 6e 6e 6f 74 61 74 69 | 6f 6e 70 20 23 5b 28 61 |annotati|onp #[(a|
|00001020| 6e 6e 6f 74 61 74 69 6f | 6e 29 20 22 c0 09 21 ad |nnotatio|n) "..!.|
|00001030| 86 c2 09 c1 5c 22 3f 3f | 87 22 20 5b 65 78 74 65 |....\"??|." [exte|
|00001040| 6e 74 2d 6c 69 76 65 2d | 70 20 61 6e 6e 6f 74 61 |nt-live-|p annota|
|00001050| 74 69 6f 6e 20 65 78 74 | 65 6e 74 2d 70 72 6f 70 |tion ext|ent-prop|
|00001060| 65 72 74 79 5d 20 33 20 | 28 23 24 20 2e 20 34 30 |erty] 3 |(#$ . 40|
|00001070| 37 30 29 5d 29 0a 23 40 | 36 31 20 54 20 69 66 20 |70)]).#@|61 T if |
|00001080| 74 68 65 72 65 20 69 73 | 20 65 6e 6f 75 67 68 20 |there is| enough |
|00001090| 61 76 61 69 6c 61 62 6c | 65 20 73 70 61 63 65 20 |availabl|e space |
|000010a0| 74 6f 20 64 69 73 70 6c | 61 79 20 41 4e 4e 4f 54 |to displ|ay ANNOT|
|000010b0| 41 54 49 4f 4e 2e 1f 0a | 28 64 65 66 61 6c 69 61 |ATION...|(defalia|
|000010c0| 73 20 27 61 6e 6e 6f 74 | 61 74 69 6f 6e 2d 76 69 |s 'annot|ation-vi|
|000010d0| 73 69 62 6c 65 20 23 5b | 28 61 6e 6e 6f 74 61 74 |sible #[|(annotat|
|000010e0| 69 6f 6e 29 20 22 c0 09 | 21 ac 85 c2 c3 09 5c 22 |ion) "..|!.....\"|
|000010f0| 87 c4 09 c5 5c 22 3f 87 | 22 20 5b 61 6e 6e 6f 74 |....\"?.|" [annot|
|00001100| 61 74 69 6f 6e 70 20 61 | 6e 6e 6f 74 61 74 69 6f |ationp a|nnotatio|
|00001110| 6e 20 65 72 72 6f 72 20 | 22 25 73 20 69 73 20 6e |n error |"%s is n|
|00001120| 6f 74 20 61 6e 20 61 6e | 6e 6f 74 61 74 69 6f 6e |ot an an|notation|
|00001130| 22 20 65 78 74 65 6e 74 | 2d 70 72 6f 70 65 72 74 |" extent|-propert|
|00001140| 79 20 67 6c 79 70 68 2d | 69 6e 76 69 73 69 62 6c |y glyph-|invisibl|
|00001150| 65 5d 20 33 20 28 23 24 | 20 2e 20 34 32 31 39 29 |e] 3 (#$| . 4219)|
|00001160| 5d 29 0a 23 40 31 32 30 | 20 52 65 74 75 72 6e 20 |]).#@120| Return |
|00001170| 74 68 65 20 66 69 72 73 | 74 20 61 6e 6e 6f 74 61 |the firs|t annota|
|00001180| 74 69 6f 6e 20 61 74 20 | 50 4f 53 20 69 6e 20 42 |tion at |POS in B|
|00001190| 55 46 46 45 52 2e 0a 42 | 55 46 46 45 52 20 64 65 |UFFER..B|UFFER de|
|000011a0| 66 61 75 6c 74 73 20 74 | 6f 20 74 68 65 20 63 75 |faults t|o the cu|
|000011b0| 72 72 65 6e 74 20 62 75 | 66 66 65 72 2e 20 20 50 |rrent bu|ffer. P|
|000011c0| 4f 53 20 64 65 66 61 75 | 6c 74 73 20 74 6f 20 70 |OS defau|lts to p|
|000011d0| 6f 69 6e 74 20 69 6e 20 | 42 55 46 46 45 52 2e 1f |oint in |BUFFER..|
|000011e0| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 61 6e 6e 6f |.(defali|as 'anno|
|000011f0| 74 61 74 69 6f 6e 2d 61 | 74 20 23 5b 28 26 6f 70 |tation-a|t #[(&op|
|00001200| 74 69 6f 6e 61 6c 20 70 | 6f 73 20 62 75 66 66 65 |tional p|os buffe|
|00001210| 72 29 20 22 c0 09 5c 6e | 5c 22 40 87 22 20 5b 61 |r) "..\n|\"@." [a|
|00001220| 6e 6e 6f 74 61 74 69 6f | 6e 73 2d 61 74 20 70 6f |nnotatio|ns-at po|
|00001230| 73 20 62 75 66 66 65 72 | 5d 20 33 20 28 23 24 20 |s buffer|] 3 (#$ |
|00001240| 2e 20 34 34 35 37 29 5d | 29 0a 28 6d 61 6b 65 2d |. 4457)]|).(make-|
|00001250| 6f 62 73 6f 6c 65 74 65 | 20 27 61 6e 6e 6f 74 61 |obsolete| 'annota|
|00001260| 74 69 6f 6e 2d 61 74 20 | 27 61 6e 6e 6f 74 61 74 |tion-at |'annotat|
|00001270| 69 6f 6e 73 2d 61 74 29 | 0a 23 40 31 30 39 20 52 |ions-at)|.#@109 R|
|00001280| 65 74 75 72 6e 20 74 68 | 65 20 6c 61 79 6f 75 74 |eturn th|e layout|
|00001290| 20 70 6f 6c 69 63 79 20 | 6f 66 20 61 6e 6e 6f 74 | policy |of annot|
|000012a0| 61 74 69 6f 6e 20 41 4e | 4e 4f 54 41 54 49 4f 4e |ation AN|NOTATION|
|000012b0| 2e 20 20 54 68 65 20 6c | 61 79 6f 75 74 20 70 6f |. The l|ayout po|
|000012c0| 6c 69 63 79 0a 69 73 20 | 73 65 74 20 75 73 69 6e |licy.is |set usin|
|000012d0| 67 20 60 73 65 74 2d 61 | 6e 6e 6f 74 61 74 69 6f |g `set-a|nnotatio|
|000012e0| 6e 2d 6c 61 79 6f 75 74 | 27 2e 1f 0a 28 64 65 66 |n-layout|'...(def|
|000012f0| 61 6c 69 61 73 20 27 61 | 6e 6e 6f 74 61 74 69 6f |alias 'a|nnotatio|
|00001300| 6e 2d 6c 61 79 6f 75 74 | 20 23 5b 28 61 6e 6e 6f |n-layout| #[(anno|
|00001310| 74 61 74 69 6f 6e 29 20 | 22 c0 09 21 ac 85 c2 c3 |tation) |"..!....|
|00001320| 09 5c 22 87 c4 09 21 c5 | 61 ab 84 c6 09 21 87 c7 |.\"...!.|a....!..|
|00001330| 09 21 87 22 20 5b 61 6e | 6e 6f 74 61 74 69 6f 6e |.!." [an|notation|
|00001340| 70 20 61 6e 6e 6f 74 61 | 74 69 6f 6e 20 65 72 72 |p annota|tion err|
|00001350| 6f 72 20 22 25 73 20 69 | 73 20 6e 6f 74 20 61 6e |or "%s i|s not an|
|00001360| 20 61 6e 6e 6f 74 61 74 | 69 6f 6e 22 20 61 6e 6e | annotat|ion" ann|
|00001370| 6f 74 61 74 69 6f 6e 2d | 73 69 64 65 20 72 69 67 |otation-|side rig|
|00001380| 68 74 20 65 78 74 65 6e | 74 2d 65 6e 64 2d 67 6c |ht exten|t-end-gl|
|00001390| 79 70 68 2d 6c 61 79 6f | 75 74 20 65 78 74 65 6e |yph-layo|ut exten|
|000013a0| 74 2d 62 65 67 69 6e 2d | 67 6c 79 70 68 2d 6c 61 |t-begin-|glyph-la|
|000013b0| 79 6f 75 74 5d 20 33 20 | 28 23 24 20 2e 20 34 37 |yout] 3 |(#$ . 47|
|000013c0| 33 35 29 5d 29 0a 23 40 | 31 30 33 20 52 65 74 75 |35)]).#@|103 Retu|
|000013d0| 72 6e 20 74 68 65 20 73 | 69 64 65 20 6f 66 20 74 |rn the s|ide of t|
|000013e0| 68 65 20 62 75 66 66 65 | 72 20 74 68 65 20 61 6e |he buffe|r the an|
|000013f0| 6e 6f 74 61 74 69 6f 6e | 20 69 73 20 64 69 73 70 |notation| is disp|
|00001400| 6c 61 79 65 64 20 6f 6e | 2e 0a 52 65 74 75 72 6e |layed on|..Return|
|00001410| 20 76 61 6c 75 65 20 69 | 73 20 65 69 74 68 65 72 | value i|s either|
|00001420| 20 27 6c 65 66 74 20 6f | 72 20 27 72 69 67 68 74 | 'left o|r 'right|
|00001430| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 61 6e |...(defa|lias 'an|
|00001440| 6e 6f 74 61 74 69 6f 6e | 2d 73 69 64 65 20 23 5b |notation|-side #[|
|00001450| 28 61 6e 6e 6f 74 61 74 | 69 6f 6e 29 20 22 c0 09 |(annotat|ion) "..|
|00001460| c1 5c 22 c2 48 ab 82 c3 | 87 c4 87 22 20 5b 65 78 |.\".H...|..." [ex|
|00001470| 74 65 6e 74 2d 70 72 6f | 70 65 72 74 79 20 61 6e |tent-pro|perty an|
|00001480| 6e 6f 74 61 74 69 6f 6e | 20 35 20 72 69 67 68 74 |notation| 5 right|
|00001490| 20 6c 65 66 74 5d 20 33 | 20 28 23 24 20 2e 20 35 | left] 3| (#$ . 5|
|000014a0| 30 36 38 29 5d 29 0a 23 | 40 31 31 37 20 53 65 74 |068)]).#|@117 Set|
|000014b0| 20 74 68 65 20 6c 61 79 | 6f 75 74 20 70 6f 6c 69 | the lay|out poli|
|000014c0| 63 79 20 6f 66 20 41 4e | 4e 4f 54 41 54 49 4f 4e |cy of AN|NOTATION|
|000014d0| 20 74 6f 20 4c 41 59 4f | 55 54 2e 20 20 54 68 65 | to LAYO|UT. The|
|000014e0| 20 66 75 6e 63 74 69 6f | 6e 0a 60 61 6e 6e 6f 74 | functio|n.`annot|
|000014f0| 61 74 69 6f 6e 2d 6c 61 | 79 6f 75 74 27 20 72 65 |ation-la|yout' re|
|00001500| 74 75 72 6e 73 20 74 68 | 65 20 63 75 72 72 65 6e |turns th|e curren|
|00001510| 74 20 6c 61 79 6f 75 74 | 20 70 6f 6c 69 63 79 2e |t layout| policy.|
|00001520| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 73 65 74 |..(defal|ias 'set|
|00001530| 2d 61 6e 6e 6f 74 61 74 | 69 6f 6e 2d 6c 61 79 6f |-annotat|ion-layo|
|00001540| 75 74 20 23 5b 28 61 6e | 6e 6f 74 61 74 69 6f 6e |ut #[(an|notation|
|00001550| 20 6c 61 79 6f 75 74 29 | 20 22 c0 09 21 ac 85 c2 | layout)| "..!...|
|00001560| c3 09 5c 22 87 c4 09 21 | c5 61 ab 86 c6 09 0e 07 |..\"...!|.a......|
|00001570| 5c 22 87 c8 09 0e 07 5c | 22 87 22 20 5b 61 6e 6e |\".....\|"." [ann|
|00001580| 6f 74 61 74 69 6f 6e 70 | 20 61 6e 6e 6f 74 61 74 |otationp| annotat|
|00001590| 69 6f 6e 20 65 72 72 6f | 72 20 22 25 73 20 69 73 |ion erro|r "%s is|
|000015a0| 20 6e 6f 74 20 61 6e 20 | 61 6e 6e 6f 74 61 74 69 | not an |annotati|
|000015b0| 6f 6e 22 20 61 6e 6e 6f | 74 61 74 69 6f 6e 2d 73 |on" anno|tation-s|
|000015c0| 69 64 65 20 72 69 67 68 | 74 20 73 65 74 2d 65 78 |ide righ|t set-ex|
|000015d0| 74 65 6e 74 2d 65 6e 64 | 2d 67 6c 79 70 68 2d 6c |tent-end|-glyph-l|
|000015e0| 61 79 6f 75 74 20 6c 61 | 79 6f 75 74 20 73 65 74 |ayout la|yout set|
|000015f0| 2d 65 78 74 65 6e 74 2d | 62 65 67 69 6e 2d 67 6c |-extent-|begin-gl|
|00001600| 79 70 68 2d 6c 61 79 6f | 75 74 5d 20 33 20 28 23 |yph-layo|ut] 3 (#|
|00001610| 24 20 2e 20 35 32 39 33 | 29 5d 29 0a 28 6d 61 6b |$ . 5293|)]).(mak|
|00001620| 65 2d 6f 62 73 6f 6c 65 | 74 65 20 27 61 6e 6e 6f |e-obsole|te 'anno|
|00001630| 74 61 74 69 6f 6e 2d 74 | 79 70 65 20 22 54 68 69 |tation-t|ype "Thi|
|00001640| 73 20 66 75 6e 63 74 69 | 6f 6e 20 6e 6f 20 6c 6f |s functi|on no lo|
|00001650| 6e 67 65 72 20 68 61 73 | 20 61 6e 79 20 6d 65 61 |nger has| any mea|
|00001660| 6e 69 6e 67 2e 22 29 0a | 23 40 35 38 20 52 65 74 |ning.").|#@58 Ret|
|00001670| 75 72 6e 20 74 68 65 20 | 77 69 64 74 68 20 6f 66 |urn the |width of|
|00001680| 20 74 68 65 20 61 6e 6e | 6f 74 61 74 69 6f 6e 20 | the ann|otation |
|00001690| 41 4e 4e 4f 54 41 54 49 | 4f 4e 20 69 6e 20 70 69 |ANNOTATI|ON in pi|
|000016a0| 78 65 6c 73 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |xels...(|defalias|
|000016b0| 20 27 61 6e 6e 6f 74 61 | 74 69 6f 6e 2d 77 69 64 | 'annota|tion-wid|
|000016c0| 74 68 20 23 5b 28 61 6e | 6e 6f 74 61 74 69 6f 6e |th #[(an|notation|
|000016d0| 29 20 22 c0 09 21 ac 85 | c2 c3 09 5c 22 87 c4 c5 |) "..!..|...\"...|
|000016e0| 09 21 21 87 22 20 5b 61 | 6e 6e 6f 74 61 74 69 6f |.!!." [a|nnotatio|
|000016f0| 6e 70 20 61 6e 6e 6f 74 | 61 74 69 6f 6e 20 65 72 |np annot|ation er|
|00001700| 72 6f 72 20 22 25 73 20 | 69 73 20 6e 6f 74 20 61 |ror "%s |is not a|
|00001710| 6e 20 61 6e 6e 6f 74 61 | 74 69 6f 6e 22 20 67 6c |n annota|tion" gl|
|00001720| 79 70 68 2d 77 69 64 74 | 68 20 61 6e 6e 6f 74 61 |yph-widt|h annota|
|00001730| 74 69 6f 6e 2d 67 6c 79 | 70 68 5d 20 33 20 28 23 |tion-gly|ph] 3 (#|
|00001740| 24 20 2e 20 35 37 34 31 | 29 5d 29 0a 23 40 31 36 |$ . 5741|)]).#@16|
|00001750| 36 20 49 66 20 41 4e 4e | 4f 54 41 54 49 4f 4e 20 |6 If ANN|OTATION |
|00001760| 69 73 20 6f 66 20 74 79 | 70 65 20 60 73 74 72 69 |is of ty|pe `stri|
|00001770| 6e 67 27 20 72 65 74 75 | 72 6e 20 74 68 65 20 73 |ng' retu|rn the s|
|00001780| 74 72 69 6e 67 2e 20 20 | 4f 74 68 65 72 77 69 73 |tring. |Otherwis|
|00001790| 65 2c 20 72 65 74 75 72 | 6e 0a 74 68 65 20 67 6c |e, retur|n.the gl|
|000017a0| 79 70 68 20 6f 62 6a 65 | 63 74 20 75 73 65 64 20 |yph obje|ct used |
|000017b0| 74 6f 20 64 69 73 70 6c | 61 79 20 41 4e 4e 4f 54 |to displ|ay ANNOT|
|000017c0| 41 54 49 4f 4e 2e 20 20 | 54 68 65 20 67 6c 79 70 |ATION. |The glyp|
|000017d0| 68 20 69 73 20 73 65 74 | 20 75 73 69 6e 67 0a 60 |h is set| using.`|
|000017e0| 73 65 74 2d 61 6e 6e 6f | 74 61 74 69 6f 6e 2d 67 |set-anno|tation-g|
|000017f0| 6c 79 70 68 27 2e 1f 0a | 28 64 65 66 61 6c 69 61 |lyph'...|(defalia|
|00001800| 73 20 27 61 6e 6e 6f 74 | 61 74 69 6f 6e 2d 67 6c |s 'annot|ation-gl|
|00001810| 79 70 68 20 23 5b 28 61 | 6e 6e 6f 74 61 74 69 6f |yph #[(a|nnotatio|
|00001820| 6e 29 20 22 c0 09 21 ac | 85 c2 c3 09 5c 22 87 c4 |n) "..!.|....\"..|
|00001830| 09 c1 5c 22 c5 48 87 22 | 20 5b 61 6e 6e 6f 74 61 |..\".H."| [annota|
|00001840| 74 69 6f 6e 70 20 61 6e | 6e 6f 74 61 74 69 6f 6e |tionp an|notation|
|00001850| 20 65 72 72 6f 72 20 22 | 25 73 20 69 73 20 6e 6f | error "|%s is no|
|00001860| 74 20 61 6e 20 61 6e 6e | 6f 74 61 74 69 6f 6e 22 |t an ann|otation"|
|00001870| 20 65 78 74 65 6e 74 2d | 70 72 6f 70 65 72 74 79 | extent-|property|
|00001880| 20 33 5d 20 33 20 28 23 | 24 20 2e 20 35 39 37 30 | 3] 3 (#|$ . 5970|
|00001890| 29 5d 29 0a 23 40 32 39 | 39 20 53 65 74 20 74 68 |)]).#@29|9 Set th|
|000018a0| 65 20 72 65 70 72 65 73 | 65 6e 74 61 74 69 6f 6e |e repres|entation|
|000018b0| 20 6f 66 20 41 4e 4e 4f | 54 41 54 49 4f 4e 20 74 | of ANNO|TATION t|
|000018c0| 6f 20 47 4c 59 50 48 2e | 0a 47 4c 59 50 48 20 73 |o GLYPH.|.GLYPH s|
|000018d0| 68 6f 75 6c 64 20 62 65 | 20 61 20 67 6c 79 70 68 |hould be| a glyph|
|000018e0| 20 6f 62 6a 65 63 74 2e | 20 20 49 66 20 4c 41 59 | object.| If LAY|
|000018f0| 4f 55 54 20 69 73 20 6e | 6f 6e 2d 6e 69 6c 2c 20 |OUT is n|on-nil, |
|00001900| 73 65 74 20 74 68 65 20 | 6c 61 79 6f 75 74 0a 70 |set the |layout.p|
|00001910| 6f 6c 69 63 79 20 6f 66 | 20 74 68 65 20 61 6e 6e |olicy of| the ann|
|00001920| 6f 74 61 74 69 6f 6e 20 | 74 6f 20 4c 41 59 4f 55 |otation |to LAYOU|
|00001930| 54 2e 20 20 49 66 20 53 | 49 44 45 20 69 73 20 65 |T. If S|IDE is e|
|00001940| 71 75 61 6c 20 74 6f 20 | 27 6c 65 66 74 20 6f 72 |qual to |'left or|
|00001950| 20 27 72 69 67 68 74 0a | 63 68 61 6e 67 65 20 74 | 'right.|change t|
|00001960| 68 65 20 73 69 64 65 20 | 6f 66 20 74 68 65 20 61 |he side |of the a|
|00001970| 6e 6e 6f 74 61 74 69 6f | 6e 20 74 6f 20 74 68 61 |nnotatio|n to tha|
|00001980| 74 20 76 61 6c 75 65 2e | 0a 54 68 65 20 66 75 6e |t value.|.The fun|
|00001990| 63 74 69 6f 6e 20 60 61 | 6e 6e 6f 74 61 74 69 6f |ction `a|nnotatio|
|000019a0| 6e 2d 67 6c 79 70 68 27 | 20 72 65 74 75 72 6e 73 |n-glyph'| returns|
|000019b0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 67 6c 79 | the cur|rent gly|
|000019c0| 70 68 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |ph...(de|falias '|
|000019d0| 73 65 74 2d 61 6e 6e 6f | 74 61 74 69 6f 6e 2d 67 |set-anno|tation-g|
|000019e0| 6c 79 70 68 20 23 5b 28 | 61 6e 6e 6f 74 61 74 69 |lyph #[(|annotati|
|000019f0| 6f 6e 20 67 6c 79 70 68 | 20 26 6f 70 74 69 6f 6e |on glyph| &option|
|00001a00| 61 6c 20 6c 61 79 6f 75 | 74 20 73 69 64 65 29 20 |al layou|t side) |
|00001a10| 22 c0 09 21 ac 85 c2 c3 | 09 5c 22 87 0c ac 84 c5 |"..!....|.\".....|
|00001a20| 09 21 14 0e 06 c7 61 ac | 8d 0e 06 c8 61 ac 90 c9 |.!....a.|....a...|
|00001a30| 09 21 c7 61 ab 89 ca 09 | 0e 0b 0c 23 88 aa 87 cc |.!.a....|...#....|
|00001a40| 09 0e 0b 0c 23 88 cd 09 | c1 5c 22 ce 0e 0b 49 88 |....#...|.\"...I.|
|00001a50| 0e 06 c7 61 ab 88 cd 09 | c1 5c 22 cf d0 49 88 0e |...a....|.\"..I..|
|00001a60| 06 c8 61 ab 88 cd 09 c1 | 5c 22 cf d1 49 88 d2 09 |..a.....|\"..I...|
|00001a70| 21 87 22 20 5b 61 6e 6e | 6f 74 61 74 69 6f 6e 70 |!." [ann|otationp|
|00001a80| 20 61 6e 6e 6f 74 61 74 | 69 6f 6e 20 65 72 72 6f | annotat|ion erro|
|00001a90| 72 20 22 25 73 20 69 73 | 20 6e 6f 74 20 61 6e 20 |r "%s is| not an |
|00001aa0| 61 6e 6e 6f 74 61 74 69 | 6f 6e 22 20 6c 61 79 6f |annotati|on" layo|
|00001ab0| 75 74 20 65 78 74 65 6e | 74 2d 6c 61 79 6f 75 74 |ut exten|t-layout|
|00001ac0| 20 73 69 64 65 20 72 69 | 67 68 74 20 6c 65 66 74 | side ri|ght left|
|00001ad0| 20 61 6e 6e 6f 74 61 74 | 69 6f 6e 2d 73 69 64 65 | annotat|ion-side|
|00001ae0| 20 73 65 74 2d 65 78 74 | 65 6e 74 2d 65 6e 64 2d | set-ext|ent-end-|
|00001af0| 67 6c 79 70 68 20 67 6c | 79 70 68 20 73 65 74 2d |glyph gl|yph set-|
|00001b00| 65 78 74 65 6e 74 2d 62 | 65 67 69 6e 2d 67 6c 79 |extent-b|egin-gly|
|00001b10| 70 68 20 65 78 74 65 6e | 74 2d 70 72 6f 70 65 72 |ph exten|t-proper|
|00001b20| 74 79 20 33 20 35 20 74 | 20 6e 69 6c 20 61 6e 6e |ty 3 5 t| nil ann|
|00001b30| 6f 74 61 74 69 6f 6e 2d | 67 6c 79 70 68 5d 20 34 |otation-|glyph] 4|
|00001b40| 20 28 23 24 20 2e 20 36 | 32 39 38 29 5d 29 0a 23 | (#$ . 6|298)]).#|
|00001b50| 40 31 39 35 20 49 66 20 | 41 4e 4e 4f 54 41 54 49 |@195 If |ANNOTATI|
|00001b60| 4f 4e 20 69 73 20 6f 66 | 20 74 79 70 65 20 60 73 |ON is of| type `s|
|00001b70| 74 72 69 6e 67 27 20 72 | 65 74 75 72 6e 20 74 68 |tring' r|eturn th|
|00001b80| 65 20 64 6f 77 6e 20 73 | 74 72 69 6e 67 2e 20 20 |e down s|tring. |
|00001b90| 4f 74 68 65 72 77 69 73 | 65 2c 0a 72 65 74 75 72 |Otherwis|e,.retur|
|00001ba0| 6e 20 74 68 65 20 67 6c | 79 70 68 20 6f 62 6a 65 |n the gl|yph obje|
|00001bb0| 63 74 20 6f 66 20 74 68 | 65 20 64 6f 77 6e 2d 67 |ct of th|e down-g|
|00001bc0| 6c 79 70 68 20 72 65 70 | 72 65 73 65 6e 74 69 6e |lyph rep|resentin|
|00001bd0| 67 20 41 4e 4e 4f 54 41 | 54 49 4f 4e 2e 0a 54 68 |g ANNOTA|TION..Th|
|00001be0| 65 20 64 6f 77 6e 2d 67 | 6c 79 70 68 20 69 73 20 |e down-g|lyph is |
|00001bf0| 73 65 74 20 75 73 69 6e | 67 20 60 73 65 74 2d 61 |set usin|g `set-a|
|00001c00| 6e 6e 6f 74 61 74 69 6f | 6e 2d 64 6f 77 6e 2d 67 |nnotatio|n-down-g|
|00001c10| 6c 79 70 68 27 2e 1f 0a | 28 64 65 66 61 6c 69 61 |lyph'...|(defalia|
|00001c20| 73 20 27 61 6e 6e 6f 74 | 61 74 69 6f 6e 2d 64 6f |s 'annot|ation-do|
|00001c30| 77 6e 2d 67 6c 79 70 68 | 20 23 5b 28 61 6e 6e 6f |wn-glyph| #[(anno|
|00001c40| 74 61 74 69 6f 6e 29 20 | 22 c0 09 21 ac 85 c2 c3 |tation) |"..!....|
|00001c50| 09 5c 22 87 c4 09 c1 5c | 22 c5 48 87 22 20 5b 61 |.\"....\|".H." [a|
|00001c60| 6e 6e 6f 74 61 74 69 6f | 6e 70 20 61 6e 6e 6f 74 |nnotatio|np annot|
|00001c70| 61 74 69 6f 6e 20 65 72 | 72 6f 72 20 22 25 73 20 |ation er|ror "%s |
|00001c80| 69 73 20 6e 6f 74 20 61 | 6e 20 61 6e 6e 6f 74 61 |is not a|n annota|
|00001c90| 74 69 6f 6e 22 20 65 78 | 74 65 6e 74 2d 70 72 6f |tion" ex|tent-pro|
|00001ca0| 70 65 72 74 79 20 34 5d | 20 33 20 28 23 24 20 2e |perty 4]| 3 (#$ .|
|00001cb0| 20 36 39 39 37 29 5d 29 | 0a 23 40 31 36 32 20 53 | 6997)])|.#@162 S|
|00001cc0| 65 74 20 74 68 65 20 64 | 65 70 72 65 73 73 65 64 |et the d|epressed|
|00001cd0| 20 72 65 70 72 65 73 65 | 6e 74 61 74 69 6f 6e 20 | represe|ntation |
|00001ce0| 6f 66 20 41 4e 4e 4f 54 | 41 54 49 4f 4e 20 74 6f |of ANNOT|ATION to|
|00001cf0| 20 47 4c 59 50 48 2e 20 | 20 0a 47 4c 59 50 48 20 | GLYPH. | .GLYPH |
|00001d00| 73 68 6f 75 6c 64 20 62 | 65 20 61 20 67 6c 79 70 |should b|e a glyp|
|00001d10| 68 20 6f 62 6a 65 63 74 | 2e 20 0a 54 68 65 20 66 |h object|. .The f|
|00001d20| 75 6e 63 74 69 6f 6e 20 | 60 61 6e 6e 6f 74 61 74 |unction |`annotat|
|00001d30| 69 6f 6e 2d 64 6f 77 6e | 2d 67 6c 79 70 68 27 20 |ion-down|-glyph' |
|00001d40| 72 65 74 75 72 6e 73 20 | 74 68 65 20 63 75 72 72 |returns |the curr|
|00001d50| 65 6e 74 20 64 6f 77 6e | 2d 67 6c 79 70 68 2e 1f |ent down|-glyph..|
|00001d60| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 73 65 74 2d |.(defali|as 'set-|
|00001d70| 61 6e 6e 6f 74 61 74 69 | 6f 6e 2d 64 6f 77 6e 2d |annotati|on-down-|
|00001d80| 67 6c 79 70 68 20 23 5b | 28 61 6e 6e 6f 74 61 74 |glyph #[|(annotat|
|00001d90| 69 6f 6e 20 67 6c 79 70 | 68 29 20 22 c0 09 21 ac |ion glyp|h) "..!.|
|00001da0| 85 c2 c3 09 5c 22 87 c4 | 09 c1 5c 22 c5 0e 06 49 |....\"..|..\"...I|
|00001db0| 87 22 20 5b 61 6e 6e 6f | 74 61 74 69 6f 6e 70 20 |." [anno|tationp |
|00001dc0| 61 6e 6e 6f 74 61 74 69 | 6f 6e 20 65 72 72 6f 72 |annotati|on error|
|00001dd0| 20 22 25 73 20 69 73 20 | 6e 6f 74 20 61 6e 20 61 | "%s is |not an a|
|00001de0| 6e 6e 6f 74 61 74 69 6f | 6e 22 20 65 78 74 65 6e |nnotatio|n" exten|
|00001df0| 74 2d 70 72 6f 70 65 72 | 74 79 20 34 20 67 6c 79 |t-proper|ty 4 gly|
|00001e00| 70 68 5d 20 33 20 28 23 | 24 20 2e 20 37 33 35 39 |ph] 3 (#|$ . 7359|
|00001e10| 29 5d 29 0a 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |)]).(byt|e-code "|
|00001e20| c0 c1 1a 1b c4 0b 5c 6e | 5c 22 88 c5 0b 5c 6e 5c |......\n|\"...\n\|
|00001e30| 22 88 2a c6 c7 1a 1b c4 | 0b 5c 6e 5c 22 88 c5 0b |".*.....|.\n\"...|
|00001e40| 5c 6e 5c 22 88 2a c0 87 | 22 20 5b 61 6e 6e 6f 74 |\n\".*..|" [annot|
|00001e50| 61 74 69 6f 6e 2d 67 72 | 61 70 68 69 63 20 61 6e |ation-gr|aphic an|
|00001e60| 6e 6f 74 61 74 69 6f 6e | 2d 67 6c 79 70 68 20 6e |notation|-glyph n|
|00001e70| 65 77 66 75 6e 20 6f 6c | 64 66 75 6e 20 64 65 66 |ewfun ol|dfun def|
|00001e80| 69 6e 65 2d 66 75 6e 63 | 74 69 6f 6e 20 6d 61 6b |ine-func|tion mak|
|00001e90| 65 2d 6f 62 73 6f 6c 65 | 74 65 20 73 65 74 2d 61 |e-obsole|te set-a|
|00001ea0| 6e 6e 6f 74 61 74 69 6f | 6e 2d 67 72 61 70 68 69 |nnotatio|n-graphi|
|00001eb0| 63 20 73 65 74 2d 61 6e | 6e 6f 74 61 74 69 6f 6e |c set-an|notation|
|00001ec0| 2d 67 6c 79 70 68 5d 20 | 33 29 0a 23 40 31 30 32 |-glyph] |3).#@102|
|00001ed0| 20 52 65 74 75 72 6e 20 | 74 68 65 20 64 61 74 61 | Return |the data|
|00001ee0| 20 61 73 73 6f 63 69 61 | 74 65 64 20 77 69 74 68 | associa|ted with|
|00001ef0| 20 61 6e 6e 6f 74 61 74 | 69 6f 6e 20 41 4e 4e 4f | annotat|ion ANNO|
|00001f00| 54 41 54 49 4f 4e 2e 20 | 20 54 68 65 20 64 61 74 |TATION. | The dat|
|00001f10| 61 20 69 73 0a 73 65 74 | 20 75 73 69 6e 67 20 60 |a is.set| using `|
|00001f20| 73 65 74 2d 61 6e 6e 6f | 74 61 74 69 6f 6e 2d 64 |set-anno|tation-d|
|00001f30| 61 74 61 27 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |ata'...(|defalias|
|00001f40| 20 27 61 6e 6e 6f 74 61 | 74 69 6f 6e 2d 64 61 74 | 'annota|tion-dat|
|00001f50| 61 20 23 5b 28 61 6e 6e | 6f 74 61 74 69 6f 6e 29 |a #[(ann|otation)|
|00001f60| 20 22 c0 09 21 ac 85 c2 | c3 09 5c 22 87 c4 09 c1 | "..!...|..\"....|
|00001f70| 5c 22 c5 48 87 22 20 5b | 61 6e 6e 6f 74 61 74 69 |\".H." [|annotati|
|00001f80| 6f 6e 70 20 61 6e 6e 6f | 74 61 74 69 6f 6e 20 65 |onp anno|tation e|
|00001f90| 72 72 6f 72 20 22 25 73 | 20 69 73 20 6e 6f 74 20 |rror "%s| is not |
|00001fa0| 61 6e 20 61 6e 6e 6f 74 | 61 74 69 6f 6e 22 20 65 |an annot|ation" e|
|00001fb0| 78 74 65 6e 74 2d 70 72 | 6f 70 65 72 74 79 20 30 |xtent-pr|operty 0|
|00001fc0| 5d 20 33 20 28 23 24 20 | 2e 20 37 38 38 39 29 5d |] 3 (#$ |. 7889)]|
|00001fd0| 29 0a 23 40 31 30 30 20 | 53 65 74 20 74 68 65 20 |).#@100 |Set the |
|00001fe0| 64 61 74 61 20 66 69 65 | 6c 64 20 6f 66 20 41 4e |data fie|ld of AN|
|00001ff0| 4e 4f 54 41 54 49 4f 4e | 20 74 6f 20 44 41 54 41 |NOTATION| to DATA|
|00002000| 2e 0a 54 68 65 20 66 75 | 6e 63 74 69 6f 6e 20 60 |..The fu|nction `|
|00002010| 61 6e 6e 6f 74 61 74 69 | 6f 6e 2d 64 61 74 61 27 |annotati|on-data'|
|00002020| 20 72 65 74 75 72 6e 73 | 20 74 68 65 20 63 75 72 | returns| the cur|
|00002030| 72 65 6e 74 20 64 61 74 | 61 2e 1f 0a 28 64 65 66 |rent dat|a...(def|
|00002040| 61 6c 69 61 73 20 27 73 | 65 74 2d 61 6e 6e 6f 74 |alias 's|et-annot|
|00002050| 61 74 69 6f 6e 2d 64 61 | 74 61 20 23 5b 28 61 6e |ation-da|ta #[(an|
|00002060| 6e 6f 74 61 74 69 6f 6e | 20 64 61 74 61 29 20 22 |notation| data) "|
|00002070| c0 09 21 ac 85 c2 c3 09 | 5c 22 87 c4 09 c1 5c 22 |..!.....|\"....\"|
|00002080| c5 0e 06 49 87 22 20 5b | 61 6e 6e 6f 74 61 74 69 |...I." [|annotati|
|00002090| 6f 6e 70 20 61 6e 6e 6f | 74 61 74 69 6f 6e 20 65 |onp anno|tation e|
|000020a0| 72 72 6f 72 20 22 25 73 | 20 69 73 20 6e 6f 74 20 |rror "%s| is not |
|000020b0| 61 6e 20 61 6e 6e 6f 74 | 61 74 69 6f 6e 22 20 65 |an annot|ation" e|
|000020c0| 78 74 65 6e 74 2d 70 72 | 6f 70 65 72 74 79 20 30 |xtent-pr|operty 0|
|000020d0| 20 64 61 74 61 5d 20 33 | 20 28 23 24 20 2e 20 38 | data] 3| (#$ . 8|
|000020e0| 31 35 32 29 5d 29 0a 23 | 40 31 30 38 20 52 65 74 |152)]).#|@108 Ret|
|000020f0| 75 72 6e 20 74 68 65 20 | 61 63 74 69 6f 6e 20 61 |urn the |action a|
|00002100| 73 73 6f 63 69 61 74 65 | 64 20 77 69 74 68 20 61 |ssociate|d with a|
|00002110| 6e 6e 6f 74 61 74 69 6f | 6e 20 41 4e 4e 4f 54 41 |nnotatio|n ANNOTA|
|00002120| 54 49 4f 4e 2e 20 20 54 | 68 65 20 61 63 74 69 6f |TION. T|he actio|
|00002130| 6e 0a 69 73 20 73 65 74 | 20 75 73 69 6e 67 20 60 |n.is set| using `|
|00002140| 73 65 74 2d 61 6e 6e 6f | 74 61 74 69 6f 6e 2d 61 |set-anno|tation-a|
|00002150| 63 74 69 6f 6e 27 2e 1f | 0a 28 64 65 66 61 6c 69 |ction'..|.(defali|
|00002160| 61 73 20 27 61 6e 6e 6f | 74 61 74 69 6f 6e 2d 61 |as 'anno|tation-a|
|00002170| 63 74 69 6f 6e 20 23 5b | 28 61 6e 6e 6f 74 61 74 |ction #[|(annotat|
|00002180| 69 6f 6e 29 20 22 c0 09 | 21 ac 85 c2 c3 09 5c 22 |ion) "..|!.....\"|
|00002190| 87 c4 09 c1 5c 22 c5 48 | 87 22 20 5b 61 6e 6e 6f |....\".H|." [anno|
|000021a0| 74 61 74 69 6f 6e 70 20 | 61 6e 6e 6f 74 61 74 69 |tationp |annotati|
|000021b0| 6f 6e 20 65 72 72 6f 72 | 20 22 25 73 20 69 73 20 |on error| "%s is |
|000021c0| 6e 6f 74 20 61 6e 20 61 | 6e 6e 6f 74 61 74 69 6f |not an a|nnotatio|
|000021d0| 6e 22 20 65 78 74 65 6e | 74 2d 70 72 6f 70 65 72 |n" exten|t-proper|
|000021e0| 74 79 20 31 5d 20 33 20 | 28 23 24 20 2e 20 38 34 |ty 1] 3 |(#$ . 84|
|000021f0| 32 39 29 5d 29 0a 23 40 | 31 30 38 20 53 65 74 20 |29)]).#@|108 Set |
|00002200| 74 68 65 20 61 63 74 69 | 6f 6e 20 66 69 65 6c 64 |the acti|on field|
|00002210| 20 6f 66 20 41 4e 4e 4f | 54 41 54 49 4f 4e 20 74 | of ANNO|TATION t|
|00002220| 6f 20 41 43 54 49 4f 4e | 2e 0a 54 68 65 20 66 75 |o ACTION|..The fu|
|00002230| 6e 63 74 69 6f 6e 20 60 | 61 6e 6e 6f 74 61 74 69 |nction `|annotati|
|00002240| 6f 6e 2d 61 63 74 69 6f | 6e 27 20 72 65 74 75 72 |on-actio|n' retur|
|00002250| 6e 73 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 61 |ns the c|urrent a|
|00002260| 63 74 69 6f 6e 2e 1f 0a | 28 64 65 66 61 6c 69 61 |ction...|(defalia|
|00002270| 73 20 27 73 65 74 2d 61 | 6e 6e 6f 74 61 74 69 6f |s 'set-a|nnotatio|
|00002280| 6e 2d 61 63 74 69 6f 6e | 20 23 5b 28 61 6e 6e 6f |n-action| #[(anno|
|00002290| 74 61 74 69 6f 6e 20 61 | 63 74 69 6f 6e 29 20 22 |tation a|ction) "|
|000022a0| c0 09 21 ac 85 c2 c3 09 | 5c 22 87 c4 09 c1 5c 22 |..!.....|\"....\"|
|000022b0| c5 0e 06 49 87 22 20 5b | 61 6e 6e 6f 74 61 74 69 |...I." [|annotati|
|000022c0| 6f 6e 70 20 61 6e 6e 6f | 74 61 74 69 6f 6e 20 65 |onp anno|tation e|
|000022d0| 72 72 6f 72 20 22 25 73 | 20 69 73 20 6e 6f 74 20 |rror "%s| is not |
|000022e0| 61 6e 20 61 6e 6e 6f 74 | 61 74 69 6f 6e 22 20 65 |an annot|ation" e|
|000022f0| 78 74 65 6e 74 2d 70 72 | 6f 70 65 72 74 79 20 31 |xtent-pr|operty 1|
|00002300| 20 61 63 74 69 6f 6e 5d | 20 33 20 28 23 24 20 2e | action]| 3 (#$ .|
|00002310| 20 38 37 30 30 29 5d 29 | 0a 23 40 31 30 31 20 52 | 8700)])|.#@101 R|
|00002320| 65 74 75 72 6e 20 74 68 | 65 20 66 61 63 65 20 61 |eturn th|e face a|
|00002330| 73 73 6f 63 69 61 74 65 | 64 20 77 69 74 68 20 61 |ssociate|d with a|
|00002340| 6e 6e 6f 74 61 74 69 6f | 6e 20 41 4e 4e 4f 54 41 |nnotatio|n ANNOTA|
|00002350| 54 49 4f 4e 2e 0a 54 68 | 65 20 66 61 63 65 20 69 |TION..Th|e face i|
|00002360| 73 20 73 65 74 20 75 73 | 69 6e 67 20 60 73 65 74 |s set us|ing `set|
|00002370| 2d 61 6e 6e 6f 74 61 74 | 69 6f 6e 2d 66 61 63 65 |-annotat|ion-face|
|00002380| 27 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 61 |'...(def|alias 'a|
|00002390| 6e 6e 6f 74 61 74 69 6f | 6e 2d 66 61 63 65 20 23 |nnotatio|n-face #|
|000023a0| 5b 28 61 6e 6e 6f 74 61 | 74 69 6f 6e 29 20 22 c0 |[(annota|tion) ".|
|000023b0| 09 21 ac 85 c2 c3 09 5c | 22 87 c4 09 21 87 22 20 |.!.....\|"...!." |
|000023c0| 5b 61 6e 6e 6f 74 61 74 | 69 6f 6e 70 20 61 6e 6e |[annotat|ionp ann|
|000023d0| 6f 74 61 74 69 6f 6e 20 | 65 72 72 6f 72 20 22 25 |otation |error "%|
|000023e0| 73 20 69 73 20 6e 6f 74 | 20 61 6e 20 61 6e 6e 6f |s is not| an anno|
|000023f0| 74 61 74 69 6f 6e 22 20 | 65 78 74 65 6e 74 2d 66 |tation" |extent-f|
|00002400| 61 63 65 5d 20 33 20 28 | 23 24 20 2e 20 38 39 39 |ace] 3 (|#$ . 899|
|00002410| 31 29 5d 29 0a 23 40 31 | 31 38 20 53 65 74 20 74 |1)]).#@1|18 Set t|
|00002420| 68 65 20 66 61 63 65 20 | 61 73 73 6f 63 69 61 74 |he face |associat|
|00002430| 65 64 20 77 69 74 68 20 | 61 6e 6e 6f 74 61 74 69 |ed with |annotati|
|00002440| 6f 6e 20 41 4e 4e 4f 54 | 41 54 49 4f 4e 20 74 6f |on ANNOT|ATION to|
|00002450| 20 46 41 43 45 2e 0a 54 | 68 65 20 66 75 6e 63 74 | FACE..T|he funct|
|00002460| 69 6f 6e 20 60 61 6e 6e | 6f 74 61 74 69 6f 6e 2d |ion `ann|otation-|
|00002470| 66 61 63 65 27 20 72 65 | 74 75 72 6e 73 20 74 68 |face' re|turns th|
|00002480| 65 20 63 75 72 72 65 6e | 74 20 66 61 63 65 2e 1f |e curren|t face..|
|00002490| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 73 65 74 2d |.(defali|as 'set-|
|000024a0| 61 6e 6e 6f 74 61 74 69 | 6f 6e 2d 66 61 63 65 20 |annotati|on-face |
|000024b0| 23 5b 28 61 6e 6e 6f 74 | 61 74 69 6f 6e 20 66 61 |#[(annot|ation fa|
|000024c0| 63 65 29 20 22 c0 09 21 | ac 85 c2 c3 09 5c 22 87 |ce) "..!|.....\".|
|000024d0| c4 09 0d 5c 22 87 22 20 | 5b 61 6e 6e 6f 74 61 74 |...\"." |[annotat|
|000024e0| 69 6f 6e 70 20 61 6e 6e | 6f 74 61 74 69 6f 6e 20 |ionp ann|otation |
|000024f0| 65 72 72 6f 72 20 22 25 | 73 20 69 73 20 6e 6f 74 |error "%|s is not|
|00002500| 20 61 6e 20 61 6e 6e 6f | 74 61 74 69 6f 6e 22 20 | an anno|tation" |
|00002510| 73 65 74 2d 65 78 74 65 | 6e 74 2d 66 61 63 65 20 |set-exte|nt-face |
|00002520| 66 61 63 65 5d 20 33 20 | 28 23 24 20 2e 20 39 32 |face] 3 |(#$ . 92|
|00002530| 34 33 29 5d 29 0a 23 40 | 35 32 20 52 65 6d 6f 76 |43)]).#@|52 Remov|
|00002540| 65 20 41 4e 4e 4f 54 41 | 54 49 4f 4e 27 73 20 67 |e ANNOTA|TION's g|
|00002550| 6c 79 70 68 20 73 6f 20 | 74 68 61 74 20 69 74 20 |lyph so |that it |
|00002560| 69 73 20 69 6e 76 69 73 | 69 62 6c 65 2e 1f 0a 28 |is invis|ible...(|
|00002570| 64 65 66 61 6c 69 61 73 | 20 27 68 69 64 65 2d 61 |defalias| 'hide-a|
|00002580| 6e 6e 6f 74 61 74 69 6f | 6e 20 23 5b 28 61 6e 6e |nnotatio|n #[(ann|
|00002590| 6f 74 61 74 69 6f 6e 29 | 20 22 c0 09 21 c2 61 ab |otation)| "..!.a.|
|000025a0| 85 c3 09 c4 5c 22 87 c5 | 09 c4 5c 22 87 22 20 5b |....\"..|..\"." [|
|000025b0| 61 6e 6e 6f 74 61 74 69 | 6f 6e 2d 73 69 64 65 20 |annotati|on-side |
|000025c0| 61 6e 6e 6f 74 61 74 69 | 6f 6e 20 6c 65 66 74 20 |annotati|on left |
|000025d0| 73 65 74 2d 65 78 74 65 | 6e 74 2d 62 65 67 69 6e |set-exte|nt-begin|
|000025e0| 2d 67 6c 79 70 68 20 6e | 69 6c 20 73 65 74 2d 65 |-glyph n|il set-e|
|000025f0| 78 74 65 6e 74 2d 65 6e | 64 2d 67 6c 79 70 68 5d |xtent-en|d-glyph]|
|00002600| 20 33 20 28 23 24 20 2e | 20 39 35 33 31 29 5d 29 | 3 (#$ .| 9531)])|
|00002610| 0a 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 c1 1a |.(byte-c|ode "...|
|00002620| 1b c4 0b 5c 6e 5c 22 88 | c5 0b 5c 6e 5c 22 88 2a |...\n\".|..\n\".*|
|00002630| c0 87 22 20 5b 61 6e 6e | 6f 74 61 74 69 6f 6e 2d |.." [ann|otation-|
|00002640| 68 69 64 65 20 68 69 64 | 65 2d 61 6e 6e 6f 74 61 |hide hid|e-annota|
|00002650| 74 69 6f 6e 20 6e 65 77 | 66 75 6e 20 6f 6c 64 66 |tion new|fun oldf|
|00002660| 75 6e 20 64 65 66 69 6e | 65 2d 66 75 6e 63 74 69 |un defin|e-functi|
|00002670| 6f 6e 20 6d 61 6b 65 2d | 6f 62 73 6f 6c 65 74 65 |on make-|obsolete|
|00002680| 5d 20 33 29 0a 23 40 34 | 37 20 41 64 64 20 41 4e |] 3).#@4|7 Add AN|
|00002690| 4e 4f 54 41 54 49 4f 4e | 27 73 20 67 6c 79 70 68 |NOTATION|'s glyph|
|000026a0| 20 73 6f 20 74 68 61 74 | 20 69 74 20 69 73 20 76 | so that| it is v|
|000026b0| 69 73 69 62 6c 65 2e 1f | 0a 28 64 65 66 61 6c 69 |isible..|.(defali|
|000026c0| 61 73 20 27 72 65 76 65 | 61 6c 2d 61 6e 6e 6f 74 |as 'reve|al-annot|
|000026d0| 61 74 69 6f 6e 20 23 5b | 28 61 6e 6e 6f 74 61 74 |ation #[|(annotat|
|000026e0| 69 6f 6e 29 20 22 c0 09 | 21 c2 61 ab 87 c3 09 c4 |ion) "..|!.a.....|
|000026f0| 09 21 5c 22 87 c5 09 c4 | 09 21 5c 22 87 22 20 5b |.!\"....|.!\"." [|
|00002700| 61 6e 6e 6f 74 61 74 69 | 6f 6e 2d 73 69 64 65 20 |annotati|on-side |
|00002710| 61 6e 6e 6f 74 61 74 69 | 6f 6e 20 6c 65 66 74 20 |annotati|on left |
|00002720| 73 65 74 2d 65 78 74 65 | 6e 74 2d 62 65 67 69 6e |set-exte|nt-begin|
|00002730| 2d 67 6c 79 70 68 20 61 | 6e 6e 6f 74 61 74 69 6f |-glyph a|nnotatio|
|00002740| 6e 2d 67 6c 79 70 68 20 | 73 65 74 2d 65 78 74 65 |n-glyph |set-exte|
|00002750| 6e 74 2d 65 6e 64 2d 67 | 6c 79 70 68 5d 20 34 20 |nt-end-g|lyph] 4 |
|00002760| 28 23 24 20 2e 20 39 38 | 36 36 29 5d 29 0a 28 62 |(#$ . 98|66)]).(b|
|00002770| 79 74 65 2d 63 6f 64 65 | 20 22 c0 c1 1a 1b c4 0b |yte-code| "......|
|00002780| 5c 6e 5c 22 88 c5 0b 5c | 6e 5c 22 88 2a c0 87 22 |\n\"...\|n\".*.."|
|00002790| 20 5b 61 6e 6e 6f 74 61 | 74 69 6f 6e 2d 72 65 76 | [annota|tion-rev|
|000027a0| 65 61 6c 20 72 65 76 65 | 61 6c 2d 61 6e 6e 6f 74 |eal reve|al-annot|
|000027b0| 61 74 69 6f 6e 20 6e 65 | 77 66 75 6e 20 6f 6c 64 |ation ne|wfun old|
|000027c0| 66 75 6e 20 64 65 66 69 | 6e 65 2d 66 75 6e 63 74 |fun defi|ne-funct|
|000027d0| 69 6f 6e 20 6d 61 6b 65 | 2d 6f 62 73 6f 6c 65 74 |ion make|-obsolet|
|000027e0| 65 5d 20 33 29 0a 23 40 | 36 39 20 52 65 74 75 72 |e] 3).#@|69 Retur|
|000027f0| 6e 20 61 6c 6c 20 61 6e | 6e 6f 74 61 74 69 6f 6e |n all an|notation|
|00002800| 73 20 69 6e 20 42 55 46 | 46 45 52 20 62 65 74 77 |s in BUF|FER betw|
|00002810| 65 65 6e 20 53 54 41 52 | 54 20 61 6e 64 20 45 4e |een STAR|T and EN|
|00002820| 44 20 69 6e 63 6c 75 73 | 69 76 65 6c 79 2e 1f 0a |D inclus|ively...|
|00002830| 28 64 65 66 61 6c 69 61 | 73 20 27 61 6e 6e 6f 74 |(defalia|s 'annot|
|00002840| 61 74 69 6f 6e 73 2d 69 | 6e 2d 72 65 67 69 6f 6e |ations-i|n-region|
|00002850| 20 23 5b 28 73 74 61 72 | 74 20 65 6e 64 20 62 75 | #[(star|t end bu|
|00002860| 66 66 65 72 29 20 22 8a | 08 71 88 09 65 57 ab 84 |ffer) ".|.q..eW..|
|00002870| c2 c3 21 88 0c 64 56 ab | 84 c2 c5 21 88 c6 1e 07 |..!..dV.|...!....|
|00002880| c8 c9 08 09 0c c6 ca 26 | 06 88 0e 07 2a 87 22 20 |.......&|....*." |
|00002890| 5b 62 75 66 66 65 72 20 | 73 74 61 72 74 20 65 72 |[buffer |start er|
|000028a0| 72 6f 72 20 22 3c 73 74 | 61 72 74 3e 20 6e 6f 74 |ror "<st|art> not|
|000028b0| 20 69 6e 20 72 61 6e 67 | 65 20 6f 66 20 62 75 66 | in rang|e of buf|
|000028c0| 66 65 72 22 20 65 6e 64 | 20 22 3c 65 6e 64 3e 20 |fer" end| "<end> |
|000028d0| 6e 6f 74 20 69 6e 20 72 | 61 6e 67 65 20 6f 66 20 |not in r|ange of |
|000028e0| 62 75 66 66 65 72 22 20 | 6e 69 6c 20 6e 6f 74 65 |buffer" |nil note|
|000028f0| 2d 6c 69 73 74 20 6d 61 | 70 2d 65 78 74 65 6e 74 |-list ma|p-extent|
|00002900| 73 20 23 5b 28 65 78 74 | 65 6e 74 20 64 75 6d 6d |s #[(ext|ent dumm|
|00002910| 79 29 20 22 c0 09 21 ab | 84 09 5c 6e 42 12 c3 87 |y) "..!.|..\nB...|
|00002920| 22 20 5b 61 6e 6e 6f 74 | 61 74 69 6f 6e 70 20 65 |" [annot|ationp e|
|00002930| 78 74 65 6e 74 20 6e 6f | 74 65 2d 6c 69 73 74 20 |xtent no|te-list |
|00002940| 6e 69 6c 5d 20 32 5d 20 | 74 5d 20 37 20 28 23 24 |nil] 2] |t] 7 (#$|
|00002950| 20 2e 20 31 30 32 31 39 | 29 5d 29 0a 23 40 31 32 | . 10219|)]).#@12|
|00002960| 39 20 52 65 74 75 72 6e | 20 61 20 6c 69 73 74 20 |9 Return| a list |
|00002970| 6f 66 20 61 6c 6c 20 61 | 6e 6e 6f 74 61 74 69 6f |of all a|nnotatio|
|00002980| 6e 73 20 61 74 20 50 4f | 53 20 69 6e 20 42 55 46 |ns at PO|S in BUF|
|00002990| 46 45 52 2e 0a 49 66 20 | 42 55 46 46 45 52 20 69 |FER..If |BUFFER i|
|000029a0| 73 20 6e 69 6c 2c 20 74 | 68 65 20 63 75 72 72 65 |s nil, t|he curre|
|000029b0| 6e 74 20 62 75 66 66 65 | 72 20 69 73 20 75 73 65 |nt buffe|r is use|
|000029c0| 64 2e 20 20 49 66 20 50 | 4f 53 20 69 73 20 6e 69 |d. If P|OS is ni|
|000029d0| 6c 2c 20 70 6f 69 6e 74 | 20 69 73 20 75 73 65 64 |l, point| is used|
|000029e0| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 61 6e |...(defa|lias 'an|
|000029f0| 6e 6f 74 61 74 69 6f 6e | 73 2d 61 74 20 23 5b 28 |notation|s-at #[(|
|00002a00| 26 6f 70 74 69 6f 6e 61 | 6c 20 70 6f 73 20 62 75 |&optiona|l pos bu|
|00002a10| 66 66 65 72 29 20 22 08 | ac 82 70 10 09 ac 87 8a |ffer) ".|..p.....|
|00002a20| 08 71 88 60 11 29 c2 09 | 89 08 23 87 22 20 5b 62 |.q.`.)..|..#." [b|
|00002a30| 75 66 66 65 72 20 70 6f | 73 20 61 6e 6e 6f 74 61 |uffer po|s annota|
|00002a40| 74 69 6f 6e 73 2d 69 6e | 2d 72 65 67 69 6f 6e 5d |tions-in|-region]|
|00002a50| 20 34 20 28 23 24 20 2e | 20 31 30 35 39 34 29 5d | 4 (#$ .| 10594)]|
|00002a60| 29 0a 23 40 39 31 20 52 | 65 74 75 72 6e 20 61 20 |).#@91 R|eturn a |
|00002a70| 6c 69 73 74 20 6f 66 20 | 61 6c 6c 20 61 6e 6e 6f |list of |all anno|
|00002a80| 74 61 74 69 6f 6e 73 20 | 69 6e 20 42 55 46 46 45 |tations |in BUFFE|
|00002a90| 52 2e 0a 49 66 20 42 55 | 46 46 45 52 20 69 73 20 |R..If BU|FFER is |
|00002aa0| 6e 69 6c 2c 20 74 68 65 | 20 63 75 72 72 65 6e 74 |nil, the| current|
|00002ab0| 20 62 75 66 66 65 72 20 | 69 73 20 75 73 65 64 2e | buffer |is used.|
|00002ac0| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 61 6e 6e |..(defal|ias 'ann|
|00002ad0| 6f 74 61 74 69 6f 6e 2d | 6c 69 73 74 20 23 5b 28 |otation-|list #[(|
|00002ae0| 26 6f 70 74 69 6f 6e 61 | 6c 20 62 75 66 66 65 72 |&optiona|l buffer|
|00002af0| 29 20 22 08 ac 82 70 10 | 8a 08 71 88 c1 65 64 08 |) "...p.|..q..ed.|
|00002b00| 23 29 87 22 20 5b 62 75 | 66 66 65 72 20 61 6e 6e |#)." [bu|ffer ann|
|00002b10| 6f 74 61 74 69 6f 6e 73 | 2d 69 6e 2d 72 65 67 69 |otations|-in-regi|
|00002b20| 6f 6e 5d 20 34 20 28 23 | 24 20 2e 20 31 30 38 35 |on] 4 (#|$ . 1085|
|00002b30| 35 29 5d 29 0a 23 40 34 | 38 20 52 65 74 75 72 6e |5)]).#@4|8 Return|
|00002b40| 20 61 20 6c 69 73 74 20 | 6f 66 20 61 6c 6c 20 61 | a list |of all a|
|00002b50| 6e 6e 6f 74 61 74 69 6f | 6e 73 20 69 6e 20 65 78 |nnotatio|ns in ex|
|00002b60| 69 73 74 65 6e 63 65 2e | 1f 0a 28 64 65 66 61 6c |istence.|..(defal|
|00002b70| 69 61 73 20 27 61 6c 6c | 2d 61 6e 6e 6f 74 61 74 |ias 'all|-annotat|
|00002b80| 69 6f 6e 73 20 23 5b 6e | 69 6c 20 22 c0 20 c1 1a |ions #[n|il ". ..|
|00002b90| 89 1b ab 8d 5c 6e c4 0b | 40 21 a4 12 0b 41 89 13 |....\n..|@!...A..|
|00002ba0| ac 73 5c 6e 2a 87 22 20 | 5b 62 75 66 66 65 72 2d |.s\n*." |[buffer-|
|00002bb0| 6c 69 73 74 20 6e 69 6c | 20 72 65 73 75 6c 74 20 |list nil| result |
|00002bc0| 62 20 61 6e 6e 6f 74 61 | 74 69 6f 6e 2d 6c 69 73 |b annota|tion-lis|
|00002bd0| 74 5d 20 34 20 28 23 24 | 20 2e 20 31 31 30 36 36 |t] 4 (#$| . 11066|
|00002be0| 29 5d 29 0a 23 40 39 30 | 20 50 6f 70 20 75 70 20 |)]).#@90| Pop up |
|00002bf0| 61 20 6d 65 6e 75 20 6f | 66 20 61 6e 6e 6f 74 61 |a menu o|f annota|
|00002c00| 74 69 6f 6e 73 20 63 6f | 6d 6d 61 6e 64 73 2e 0a |tions co|mmands..|
|00002c10| 50 6f 69 6e 74 20 69 73 | 20 74 65 6d 70 6f 72 61 |Point is| tempora|
|00002c20| 72 69 6c 79 20 6d 6f 76 | 65 64 20 74 6f 20 74 68 |rily mov|ed to th|
|00002c30| 65 20 63 6c 69 63 6b 20 | 70 6f 73 69 74 69 6f 6e |e click |position|
|00002c40| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 61 6e |...(defa|lias 'an|
|00002c50| 6e 6f 74 61 74 69 6f 6e | 2d 70 6f 70 75 70 2d 6d |notation|-popup-m|
|00002c60| 65 6e 75 20 23 5b 28 65 | 76 65 6e 74 29 20 22 c0 |enu #[(e|vent) ".|
|00002c70| 09 21 1a 8a c3 5c 6e 21 | 62 88 c4 5c 6e 21 ab 87 |.!...\n!|b..\n!..|
|00002c80| c5 c4 5c 6e 21 21 aa 82 | c6 20 2a 87 22 20 5b 65 |..\n!!..|. *." [e|
|00002c90| 76 65 6e 74 2d 67 6c 79 | 70 68 2d 65 78 74 65 6e |vent-gly|ph-exten|
|00002ca0| 74 20 65 76 65 6e 74 20 | 65 78 74 65 6e 74 20 65 |t event |extent e|
|00002cb0| 78 74 65 6e 74 2d 65 6e | 64 2d 70 6f 73 69 74 69 |xtent-en|d-positi|
|00002cc0| 6f 6e 20 61 6e 6e 6f 74 | 61 74 69 6f 6e 2d 6d 65 |on annot|ation-me|
|00002cd0| 6e 75 20 70 6f 70 75 70 | 2d 6d 65 6e 75 20 70 6f |nu popup|-menu po|
|00002ce0| 70 75 70 2d 6d 6f 64 65 | 2d 6d 65 6e 75 5d 20 33 |pup-mode|-menu] 3|
|00002cf0| 20 28 23 24 20 2e 20 31 | 31 32 34 31 29 20 22 65 | (#$ . 1|1241) "e|
|00002d00| 22 5d 29 0a 23 40 31 30 | 31 20 53 65 74 20 74 68 |"]).#@10|1 Set th|
|00002d10| 65 20 6d 65 6e 75 20 66 | 69 65 6c 64 20 6f 66 20 |e menu f|ield of |
|00002d20| 41 4e 4e 4f 54 41 54 49 | 4f 4e 20 74 6f 20 4d 45 |ANNOTATI|ON to ME|
|00002d30| 4e 55 2e 20 20 54 68 65 | 20 66 75 6e 63 74 69 6f |NU. The| functio|
|00002d40| 6e 0a 60 61 6e 6e 6f 74 | 61 74 69 6f 6e 2d 6d 65 |n.`annot|ation-me|
|00002d50| 6e 75 27 20 72 65 74 75 | 72 6e 73 20 74 68 65 20 |nu' retu|rns the |
|00002d60| 63 75 72 72 65 6e 74 20 | 6d 65 6e 75 2e 1f 0a 28 |current |menu...(|
|00002d70| 64 65 66 61 6c 69 61 73 | 20 27 73 65 74 2d 61 6e |defalias| 'set-an|
|00002d80| 6e 6f 74 61 74 69 6f 6e | 2d 6d 65 6e 75 20 23 5b |notation|-menu #[|
|00002d90| 28 61 6e 6e 6f 74 61 74 | 69 6f 6e 20 6d 65 6e 75 |(annotat|ion menu|
|00002da0| 29 20 22 c0 09 21 ac 85 | c2 c3 09 5c 22 87 c4 09 |) "..!..|...\"...|
|00002db0| c1 5c 22 c5 0e 06 49 87 | 22 20 5b 61 6e 6e 6f 74 |.\"...I.|" [annot|
|00002dc0| 61 74 69 6f 6e 70 20 61 | 6e 6e 6f 74 61 74 69 6f |ationp a|nnotatio|
|00002dd0| 6e 20 65 72 72 6f 72 20 | 22 25 73 20 69 73 20 6e |n error |"%s is n|
|00002de0| 6f 74 20 61 6e 20 61 6e | 6e 6f 74 61 74 69 6f 6e |ot an an|notation|
|00002df0| 22 20 65 78 74 65 6e 74 | 2d 70 72 6f 70 65 72 74 |" extent|-propert|
|00002e00| 79 20 32 20 6d 65 6e 75 | 5d 20 33 20 28 23 24 20 |y 2 menu|] 3 (#$ |
|00002e10| 2e 20 31 31 35 33 30 29 | 5d 29 0a 23 40 31 30 32 |. 11530)|]).#@102|
|00002e20| 20 52 65 74 75 72 6e 20 | 74 68 65 20 6d 65 6e 75 | Return |the menu|
|00002e30| 20 61 73 73 6f 63 69 61 | 74 65 64 20 77 69 74 68 | associa|ted with|
|00002e40| 20 61 6e 6e 6f 74 61 74 | 69 6f 6e 20 41 4e 4e 4f | annotat|ion ANNO|
|00002e50| 54 41 54 49 4f 4e 2e 20 | 20 54 68 65 20 6d 65 6e |TATION. | The men|
|00002e60| 75 0a 69 73 20 73 65 74 | 20 75 73 69 6e 67 20 60 |u.is set| using `|
|00002e70| 73 65 74 2d 61 6e 6e 6f | 74 61 74 69 6f 6e 2d 6d |set-anno|tation-m|
|00002e80| 65 6e 75 27 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |enu'...(|defalias|
|00002e90| 20 27 61 6e 6e 6f 74 61 | 74 69 6f 6e 2d 6d 65 6e | 'annota|tion-men|
|00002ea0| 75 20 23 5b 28 61 6e 6e | 6f 74 61 74 69 6f 6e 29 |u #[(ann|otation)|
|00002eb0| 20 22 c0 09 21 ac 85 c2 | c3 09 5c 22 87 c4 09 c1 | "..!...|..\"....|
|00002ec0| 5c 22 c5 48 87 22 20 5b | 61 6e 6e 6f 74 61 74 69 |\".H." [|annotati|
|00002ed0| 6f 6e 70 20 61 6e 6e 6f | 74 61 74 69 6f 6e 20 65 |onp anno|tation e|
|00002ee0| 72 72 6f 72 20 22 25 73 | 20 69 73 20 6e 6f 74 20 |rror "%s| is not |
|00002ef0| 61 6e 20 61 6e 6e 6f 74 | 61 74 69 6f 6e 22 20 65 |an annot|ation" e|
|00002f00| 78 74 65 6e 74 2d 70 72 | 6f 70 65 72 74 79 20 32 |xtent-pr|operty 2|
|00002f10| 5d 20 33 20 28 23 24 20 | 2e 20 31 31 38 30 39 29 |] 3 (#$ |. 11809)|
|00002f20| 5d 29 0a 28 70 72 6f 76 | 69 64 65 20 27 61 6e 6e |]).(prov|ide 'ann|
|00002f30| 6f 74 61 74 69 6f 6e 73 | 29 0a |otations|). |
+--------+-------------------------+-------------------------+--------+--------+