home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1993-04-01 | 7.3 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
1%
| dexvert
| Combustion 2 Particle Library (other/combustion2ParticleLibrary)
| ext
| Unsupported |
100%
| file
| Emacs/XEmacs v19 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
| |
100%
| xdgMime
| text/x-emacs-lisp
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 77 7a 40 74 68 61 |piled by| jwz@tha|
|00000020| 6c 69 64 6f 6d 69 64 65 | 20 6f 6e 20 4d 6f 6e 20 |lidomide| on Mon |
|00000030| 46 65 62 20 20 31 20 31 | 38 3a 35 36 3a 32 36 20 |Feb 1 1|8:56:26 |
|00000040| 31 39 39 33 0a 3b 3b 3b | 20 66 72 6f 6d 20 66 69 |1993.;;;| from fi|
|00000050| 6c 65 20 2f 63 61 64 69 | 6c 6c 61 63 31 2f 63 6f |le /cadi|llac1/co|
|00000060| 64 65 2f 62 75 69 6c 64 | 2f 6c 65 6d 61 63 73 2f |de/build|/lemacs/|
|00000070| 6c 69 73 70 2f 6d 6f 64 | 65 73 2f 61 62 62 72 65 |lisp/mod|es/abbre|
|00000080| 76 2e 65 6c 0a 3b 3b 3b | 20 65 6d 61 63 73 20 76 |v.el.;;;| emacs v|
|00000090| 65 72 73 69 6f 6e 20 31 | 39 2e 34 2e 31 33 20 4c |ersion 1|9.4.13 L|
|000000a0| 75 63 69 64 2e 0a 3b 3b | 3b 20 62 79 74 65 63 6f |ucid..;;|; byteco|
|000000b0| 6d 70 20 76 65 72 73 69 | 6f 6e 20 32 2e 31 30 3b |mp versi|on 2.10;|
|000000c0| 20 20 31 2d 66 65 62 2d | 39 33 2e 0a 3b 3b 3b 20 | 1-feb-|93..;;; |
|000000d0| 6f 70 74 69 6d 69 7a 61 | 74 69 6f 6e 20 69 73 20 |optimiza|tion is |
|000000e0| 6f 6e 2e 0a 3b 3b 3b 20 | 74 68 69 73 20 66 69 6c |on..;;; |this fil|
|000000f0| 65 20 75 73 65 73 20 6f | 70 63 6f 64 65 73 20 77 |e uses o|pcodes w|
|00000100| 68 69 63 68 20 64 6f 20 | 6e 6f 74 20 65 78 69 73 |hich do |not exis|
|00000110| 74 20 69 6e 20 45 6d 61 | 63 73 31 38 2e 0a 0a 28 |t in Ema|cs18...(|
|00000120| 69 66 20 28 61 6e 64 20 | 28 62 6f 75 6e 64 70 20 |if (and |(boundp |
|00000130| 27 65 6d 61 63 73 2d 76 | 65 72 73 69 6f 6e 29 0a |'emacs-v|ersion).|
|00000140| 09 20 28 6f 72 20 28 61 | 6e 64 20 28 62 6f 75 6e |. (or (a|nd (boun|
|00000150| 64 70 20 27 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |dp 'epoc|h::versi|
|00000160| 6f 6e 29 20 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |on) epoc|h::versi|
|00000170| 6f 6e 29 0a 09 20 20 20 | 20 20 28 73 74 72 69 6e |on).. | (strin|
|00000180| 67 2d 6c 65 73 73 70 20 | 65 6d 61 63 73 2d 76 65 |g-lessp |emacs-ve|
|00000190| 72 73 69 6f 6e 20 22 31 | 39 22 29 29 29 0a 20 20 |rsion "1|9"))). |
|000001a0| 20 20 28 65 72 72 6f 72 | 20 22 54 68 69 73 20 66 | (error| "This f|
|000001b0| 69 6c 65 20 77 61 73 20 | 63 6f 6d 70 69 6c 65 64 |ile was |compiled|
|000001c0| 20 66 6f 72 20 45 6d 61 | 63 73 31 39 2e 22 29 29 | for Ema|cs19."))|
|000001d0| 0a 0a 28 66 73 65 74 20 | 27 61 62 62 72 65 76 2d |..(fset |'abbrev-|
|000001e0| 6d 6f 64 65 20 23 5b 28 | 61 72 67 29 20 22 08 ac |mode #[(|arg) "..|
|000001f0| 84 09 3f aa 85 c2 08 21 | c3 56 11 c4 c5 20 21 87 |..?....!|.V... !.|
|00000200| 22 20 5b 61 72 67 20 61 | 62 62 72 65 76 2d 6d 6f |" [arg a|bbrev-mo|
|00000210| 64 65 20 70 72 65 66 69 | 78 2d 6e 75 6d 65 72 69 |de prefi|x-numeri|
|00000220| 63 2d 76 61 6c 75 65 20 | 30 20 73 65 74 2d 62 75 |c-value |0 set-bu|
|00000230| 66 66 65 72 2d 6d 6f 64 | 69 66 69 65 64 2d 70 20 |ffer-mod|ified-p |
|00000240| 62 75 66 66 65 72 2d 6d | 6f 64 69 66 69 65 64 2d |buffer-m|odified-|
|00000250| 70 5d 20 32 20 22 5c 0a | 54 6f 67 67 6c 65 20 61 |p] 2 "\.|Toggle a|
|00000260| 62 62 72 65 76 20 6d 6f | 64 65 2e 0a 57 69 74 68 |bbrev mo|de..With|
|00000270| 20 61 72 67 2c 20 74 75 | 72 6e 20 61 62 62 72 65 | arg, tu|rn abbre|
|00000280| 76 20 6d 6f 64 65 20 6f | 6e 20 69 66 66 20 61 72 |v mode o|n iff ar|
|00000290| 67 20 69 73 20 70 6f 73 | 69 74 69 76 65 2e 0a 49 |g is pos|itive..I|
|000002a0| 6e 20 61 62 62 72 65 76 | 20 6d 6f 64 65 2c 20 69 |n abbrev| mode, i|
|000002b0| 6e 73 65 72 74 69 6e 67 | 20 61 6e 20 61 62 62 72 |nserting| an abbr|
|000002c0| 65 76 69 61 74 69 6f 6e | 20 63 61 75 73 65 73 20 |eviation| causes |
|000002d0| 69 74 20 74 6f 20 65 78 | 70 61 6e 64 0a 61 6e 64 |it to ex|pand.and|
|000002e0| 20 62 65 20 72 65 70 6c | 61 63 65 64 20 62 79 20 | be repl|aced by |
|000002f0| 69 74 73 20 65 78 70 61 | 6e 73 69 6f 6e 2e 22 20 |its expa|nsion." |
|00000300| 22 50 22 5d 29 0a 28 64 | 65 66 76 61 72 20 65 64 |"P"]).(d|efvar ed|
|00000310| 69 74 2d 61 62 62 72 65 | 76 73 2d 6d 61 70 20 6e |it-abbre|vs-map n|
|00000320| 69 6c 20 22 5c 0a 4b 65 | 79 6d 61 70 20 75 73 65 |il "\.Ke|ymap use|
|00000330| 64 20 69 6e 20 65 64 69 | 74 2d 61 62 62 72 65 76 |d in edi|t-abbrev|
|00000340| 73 2e 22 29 0a 28 62 79 | 74 65 2d 63 6f 64 65 20 |s.").(by|te-code |
|00000350| 22 08 ac 8f c1 20 10 c2 | 08 c3 c4 23 88 c2 08 c5 |".... ..|...#....|
|00000360| c4 23 88 c1 87 22 20 5b | 65 64 69 74 2d 61 62 62 |.#..." [|edit-abb|
|00000370| 72 65 76 73 2d 6d 61 70 | 20 6d 61 6b 65 2d 73 70 |revs-map| make-sp|
|00000380| 61 72 73 65 2d 6b 65 79 | 6d 61 70 20 64 65 66 69 |arse-key|map defi|
|00000390| 6e 65 2d 6b 65 79 20 22 | 18 13 22 20 65 64 69 74 |ne-key "|.." edit|
|000003a0| 2d 61 62 62 72 65 76 73 | 2d 72 65 64 65 66 69 6e |-abbrevs|-redefin|
|000003b0| 65 20 22 03 03 22 5d 20 | 34 29 0a 28 66 73 65 74 |e ".."] |4).(fset|
|000003c0| 20 27 6b 69 6c 6c 2d 61 | 6c 6c 2d 61 62 62 72 65 | 'kill-a|ll-abbre|
|000003d0| 76 73 20 23 5b 6e 69 6c | 20 22 08 89 19 ad 8d c2 |vs #[nil| "......|
|000003e0| 09 40 4a 21 88 09 41 89 | 11 ac 74 c3 29 87 22 20 |.@J!..A.|..t.)." |
|000003f0| 5b 61 62 62 72 65 76 2d | 74 61 62 6c 65 2d 6e 61 |[abbrev-|table-na|
|00000400| 6d 65 2d 6c 69 73 74 20 | 74 61 62 6c 65 73 20 63 |me-list |tables c|
|00000410| 6c 65 61 72 2d 61 62 62 | 72 65 76 2d 74 61 62 6c |lear-abb|rev-tabl|
|00000420| 65 20 6e 69 6c 5d 20 33 | 20 22 5c 0a 55 6e 64 65 |e nil] 3| "\.Unde|
|00000430| 66 69 6e 65 20 61 6c 6c | 20 64 65 66 69 6e 65 64 |fine all| defined|
|00000440| 20 61 62 62 72 65 76 73 | 2e 22 20 6e 69 6c 5d 29 | abbrevs|." nil])|
|00000450| 0a 28 66 73 65 74 20 27 | 69 6e 73 65 72 74 2d 61 |.(fset '|insert-a|
|00000460| 62 62 72 65 76 73 20 23 | 5b 6e 69 6c 20 22 c0 8a |bbrevs #|[nil "..|
|00000470| 09 89 1a ab 8c c3 5c 6e | 40 c4 5c 22 88 5c 6e 41 |......\n|@.\".\nA|
|00000480| 89 12 ac 74 29 60 29 21 | 87 22 20 5b 70 75 73 68 |...t)`)!|." [push|
|00000490| 2d 6d 61 72 6b 20 61 62 | 62 72 65 76 2d 74 61 62 |-mark ab|brev-tab|
|000004a0| 6c 65 2d 6e 61 6d 65 2d | 6c 69 73 74 20 74 61 62 |le-name-|list tab|
|000004b0| 6c 65 73 20 69 6e 73 65 | 72 74 2d 61 62 62 72 65 |les inse|rt-abbre|
|000004c0| 76 2d 74 61 62 6c 65 2d | 64 65 73 63 72 69 70 74 |v-table-|descript|
|000004d0| 69 6f 6e 20 74 5d 20 35 | 20 22 5c 0a 49 6e 73 65 |ion t] 5| "\.Inse|
|000004e0| 72 74 20 61 66 74 65 72 | 20 70 6f 69 6e 74 20 61 |rt after| point a|
|000004f0| 20 64 65 73 63 72 69 70 | 74 69 6f 6e 20 6f 66 20 | descrip|tion of |
|00000500| 61 6c 6c 20 64 65 66 69 | 6e 65 64 20 61 62 62 72 |all defi|ned abbr|
|00000510| 65 76 73 2e 0a 4d 61 72 | 6b 20 69 73 20 73 65 74 |evs..Mar|k is set|
|00000520| 20 61 66 74 65 72 20 74 | 68 65 20 69 6e 73 65 72 | after t|he inser|
|00000530| 74 65 64 20 74 65 78 74 | 2e 22 20 6e 69 6c 5d 29 |ted text|." nil])|
|00000540| 0a 28 66 73 65 74 20 27 | 6c 69 73 74 2d 61 62 62 |.(fset '|list-abb|
|00000550| 72 65 76 73 20 23 5b 6e | 69 6c 20 22 c0 c1 20 21 |revs #[n|il ".. !|
|00000560| 87 22 20 5b 64 69 73 70 | 6c 61 79 2d 62 75 66 66 |." [disp|lay-buff|
|00000570| 65 72 20 70 72 65 70 61 | 72 65 2d 61 62 62 72 65 |er prepa|re-abbre|
|00000580| 76 2d 6c 69 73 74 2d 62 | 75 66 66 65 72 5d 20 32 |v-list-b|uffer] 2|
|00000590| 20 22 5c 0a 44 69 73 70 | 6c 61 79 20 61 20 6c 69 | "\.Disp|lay a li|
|000005a0| 73 74 20 6f 66 20 61 6c | 6c 20 64 65 66 69 6e 65 |st of al|l define|
|000005b0| 64 20 61 62 62 72 65 76 | 73 2e 22 20 6e 69 6c 5d |d abbrev|s." nil]|
|000005c0| 29 0a 28 66 73 65 74 20 | 27 70 72 65 70 61 72 65 |).(fset |'prepare|
|000005d0| 2d 61 62 62 72 65 76 2d | 6c 69 73 74 2d 62 75 66 |-abbrev-|list-buf|
|000005e0| 66 65 72 20 23 5b 6e 69 | 6c 20 22 8a c0 c1 21 71 |fer #[ni|l "...!q|
|000005f0| 88 c2 20 88 0b 89 1c ab | 8c c5 0c 40 c6 5c 22 88 |.. .....|...@.\".|
|00000600| 0c 41 89 14 ac 74 29 65 | 62 88 c7 c8 21 88 c9 20 |.A...t)e|b...!.. |
|00000610| 88 29 c0 c1 21 87 22 20 | 5b 67 65 74 2d 62 75 66 |.)..!." |[get-buf|
|00000620| 66 65 72 2d 63 72 65 61 | 74 65 20 22 2a 41 62 62 |fer-crea|te "*Abb|
|00000630| 72 65 76 73 2a 22 20 65 | 72 61 73 65 2d 62 75 66 |revs*" e|rase-buf|
|00000640| 66 65 72 20 61 62 62 72 | 65 76 2d 74 61 62 6c 65 |fer abbr|ev-table|
|00000650| 2d 6e 61 6d 65 2d 6c 69 | 73 74 20 74 61 62 6c 65 |-name-li|st table|
|00000660| 73 20 69 6e 73 65 72 74 | 2d 61 62 62 72 65 76 2d |s insert|-abbrev-|
|00000670| 74 61 62 6c 65 2d 64 65 | 73 63 72 69 70 74 69 6f |table-de|scriptio|
|00000680| 6e 20 74 20 73 65 74 2d | 62 75 66 66 65 72 2d 6d |n t set-|buffer-m|
|00000690| 6f 64 69 66 69 65 64 2d | 70 20 6e 69 6c 20 65 64 |odified-|p nil ed|
|000006a0| 69 74 2d 61 62 62 72 65 | 76 73 2d 6d 6f 64 65 5d |it-abbre|vs-mode]|
|000006b0| 20 34 5d 29 0a 28 66 73 | 65 74 20 27 65 64 69 74 | 4]).(fs|et 'edit|
|000006c0| 2d 61 62 62 72 65 76 73 | 2d 6d 6f 64 65 20 23 5b |-abbrevs|-mode #[|
|000006d0| 6e 69 6c 20 22 c0 11 c2 | 13 c4 0d 21 87 22 20 5b |nil "...|...!." [|
|000006e0| 65 64 69 74 2d 61 62 62 | 72 65 76 73 2d 6d 6f 64 |edit-abb|revs-mod|
|000006f0| 65 20 6d 61 6a 6f 72 2d | 6d 6f 64 65 20 22 45 64 |e major-|mode "Ed|
|00000700| 69 74 2d 41 62 62 72 65 | 76 73 22 20 6d 6f 64 65 |it-Abbre|vs" mode|
|00000710| 2d 6e 61 6d 65 20 75 73 | 65 2d 6c 6f 63 61 6c 2d |-name us|e-local-|
|00000720| 6d 61 70 20 65 64 69 74 | 2d 61 62 62 72 65 76 73 |map edit|-abbrevs|
|00000730| 2d 6d 61 70 5d 20 32 20 | 22 5c 0a 4d 61 6a 6f 72 |-map] 2 |"\.Major|
|00000740| 20 6d 6f 64 65 20 66 6f | 72 20 65 64 69 74 69 6e | mode fo|r editin|
|00000750| 67 20 74 68 65 20 6c 69 | 73 74 20 6f 66 20 61 62 |g the li|st of ab|
|00000760| 62 72 65 76 20 64 65 66 | 69 6e 69 74 69 6f 6e 73 |brev def|initions|
|00000770| 2e 0a 5c 5c 7b 65 64 69 | 74 2d 61 62 62 72 65 76 |..\\{edi|t-abbrev|
|00000780| 73 2d 6d 61 70 7d 22 20 | 6e 69 6c 5d 29 0a 28 66 |s-map}" |nil]).(f|
|00000790| 73 65 74 20 27 65 64 69 | 74 2d 61 62 62 72 65 76 |set 'edi|t-abbrev|
|000007a0| 73 20 23 5b 6e 69 6c 20 | 22 c0 c1 20 21 87 22 20 |s #[nil |".. !." |
|000007b0| 5b 73 77 69 74 63 68 2d | 74 6f 2d 62 75 66 66 65 |[switch-|to-buffe|
|000007c0| 72 20 70 72 65 70 61 72 | 65 2d 61 62 62 72 65 76 |r prepar|e-abbrev|
|000007d0| 2d 6c 69 73 74 2d 62 75 | 66 66 65 72 5d 20 32 20 |-list-bu|ffer] 2 |
|000007e0| 22 5c 0a 41 6c 74 65 72 | 20 61 62 62 72 65 76 20 |"\.Alter| abbrev |
|000007f0| 64 65 66 69 6e 69 74 69 | 6f 6e 73 20 62 79 20 65 |definiti|ons by e|
|00000800| 64 69 74 69 6e 67 20 61 | 20 6c 69 73 74 20 6f 66 |diting a| list of|
|00000810| 20 74 68 65 6d 2e 0a 53 | 65 6c 65 63 74 73 20 61 | them..S|elects a|
|00000820| 20 62 75 66 66 65 72 20 | 63 6f 6e 74 61 69 6e 69 | buffer |containi|
|00000830| 6e 67 20 61 20 6c 69 73 | 74 20 6f 66 20 61 62 62 |ng a lis|t of abb|
|00000840| 72 65 76 20 64 65 66 69 | 6e 69 74 69 6f 6e 73 2e |rev defi|nitions.|
|00000850| 0a 59 6f 75 20 63 61 6e | 20 65 64 69 74 20 74 68 |.You can| edit th|
|00000860| 65 6d 20 61 6e 64 20 74 | 79 70 65 20 43 2d 63 20 |em and t|ype C-c |
|00000870| 43 2d 63 20 74 6f 20 72 | 65 64 65 66 69 6e 65 20 |C-c to r|edefine |
|00000880| 61 62 62 72 65 76 73 0a | 61 63 63 6f 72 64 69 6e |abbrevs.|accordin|
|00000890| 67 20 74 6f 20 79 6f 75 | 72 20 65 64 69 74 69 6e |g to you|r editin|
|000008a0| 67 2e 0a 42 75 66 66 65 | 72 20 63 6f 6e 74 61 69 |g..Buffe|r contai|
|000008b0| 6e 73 20 61 20 68 65 61 | 64 65 72 20 6c 69 6e 65 |ns a hea|der line|
|000008c0| 20 66 6f 72 20 65 61 63 | 68 20 61 62 62 72 65 76 | for eac|h abbrev|
|000008d0| 20 74 61 62 6c 65 2c 0a | 20 77 68 69 63 68 20 69 | table,.| which i|
|000008e0| 73 20 74 68 65 20 61 62 | 62 72 65 76 20 74 61 62 |s the ab|brev tab|
|000008f0| 6c 65 20 6e 61 6d 65 20 | 69 6e 20 70 61 72 65 6e |le name |in paren|
|00000900| 74 68 65 73 65 73 2e 0a | 54 68 69 73 20 69 73 20 |theses..|This is |
|00000910| 66 6f 6c 6c 6f 77 65 64 | 20 62 79 20 6f 6e 65 20 |followed| by one |
|00000920| 6c 69 6e 65 20 70 65 72 | 20 61 62 62 72 65 76 20 |line per| abbrev |
|00000930| 69 6e 20 74 68 61 74 20 | 74 61 62 6c 65 3a 0a 4e |in that |table:.N|
|00000940| 41 4d 45 20 20 20 55 53 | 45 43 4f 55 4e 54 20 20 |AME US|ECOUNT |
|00000950| 20 45 58 50 41 4e 53 49 | 4f 4e 20 20 20 48 4f 4f | EXPANSI|ON HOO|
|00000960| 4b 0a 77 68 65 72 65 20 | 4e 41 4d 45 20 61 6e 64 |K.where |NAME and|
|00000970| 20 45 58 50 41 4e 53 49 | 4f 4e 20 61 72 65 20 73 | EXPANSI|ON are s|
|00000980| 74 72 69 6e 67 73 20 77 | 69 74 68 20 71 75 6f 74 |trings w|ith quot|
|00000990| 65 73 2c 0a 55 53 45 43 | 4f 55 4e 54 20 69 73 20 |es,.USEC|OUNT is |
|000009a0| 61 6e 20 69 6e 74 65 67 | 65 72 2c 20 61 6e 64 20 |an integ|er, and |
|000009b0| 48 4f 4f 4b 20 69 73 20 | 61 6e 79 20 76 61 6c 69 |HOOK is |any vali|
|000009c0| 64 20 66 75 6e 63 74 69 | 6f 6e 0a 6f 72 20 6d 61 |d functi|on.or ma|
|000009d0| 79 20 62 65 20 6f 6d 69 | 74 74 65 64 20 28 69 74 |y be omi|tted (it|
|000009e0| 20 69 73 20 75 73 75 61 | 6c 6c 79 20 6f 6d 69 74 | is usua|lly omit|
|000009f0| 74 65 64 29 2e 22 20 6e | 69 6c 5d 29 0a 28 66 73 |ted)." n|il]).(fs|
|00000a00| 65 74 20 27 65 64 69 74 | 2d 61 62 62 72 65 76 73 |et 'edit|-abbrevs|
|00000a10| 2d 72 65 64 65 66 69 6e | 65 20 23 5b 6e 69 6c 20 |-redefin|e #[nil |
|00000a20| 22 c0 c1 21 88 c2 c3 21 | 87 22 20 5b 64 65 66 69 |"..!...!|." [defi|
|00000a30| 6e 65 2d 61 62 62 72 65 | 76 73 20 74 20 73 65 74 |ne-abbre|vs t set|
|00000a40| 2d 62 75 66 66 65 72 2d | 6d 6f 64 69 66 69 65 64 |-buffer-|modified|
|00000a50| 2d 70 20 6e 69 6c 5d 20 | 32 20 22 5c 0a 52 65 64 |-p nil] |2 "\.Red|
|00000a60| 65 66 69 6e 65 20 61 62 | 62 72 65 76 73 20 61 63 |efine ab|brevs ac|
|00000a70| 63 6f 72 64 69 6e 67 20 | 74 6f 20 63 75 72 72 65 |cording |to curre|
|00000a80| 6e 74 20 62 75 66 66 65 | 72 20 63 6f 6e 74 65 6e |nt buffe|r conten|
|00000a90| 74 73 2e 22 20 6e 69 6c | 5d 29 0a 28 66 73 65 74 |ts." nil|]).(fset|
|00000aa0| 20 27 64 65 66 69 6e 65 | 2d 61 62 62 72 65 76 73 | 'define|-abbrevs|
|00000ab0| 20 23 5b 28 26 6f 70 74 | 69 6f 6e 61 6c 20 61 72 | #[(&opt|ional ar|
|00000ac0| 67 29 20 22 08 ab 83 c1 | 20 88 8a 65 62 88 6d 3f |g) "....| ..eb.m?|
|00000ad0| ad da c2 c3 c4 c5 23 ad | d3 70 1e 06 c7 0e 06 21 |......#.|.p.....!|
|00000ae0| 1e 08 c4 1e 09 ca 79 88 | ca 79 88 6c ac b4 c7 0e |......y.|.y.l....|
|00000af0| 06 21 16 0b c7 0e 06 21 | 16 0c c7 0e 06 21 16 0d |.!.....!|.....!..|
|00000b00| ce c4 78 88 6c 3f ad 84 | c7 0e 06 21 16 0f ce c4 |..x.l?..|...!....|
|00000b10| 78 88 0e 0b 0e 0d 0e 0f | 0e 0c 46 0e 09 42 16 09 |x.......|..F..B..|
|00000b20| aa 46 d0 0e 08 0e 09 5c | 22 88 2b aa 5c 22 29 87 |.F.....\|".+.\").|
|00000b30| 22 20 5b 61 72 67 20 6b | 69 6c 6c 2d 61 6c 6c 2d |" [arg k|ill-all-|
|00000b40| 61 62 62 72 65 76 73 20 | 72 65 2d 73 65 61 72 63 |abbrevs |re-searc|
|00000b50| 68 2d 66 6f 72 77 61 72 | 64 20 22 5e 28 22 20 6e |h-forwar|d "^(" n|
|00000b60| 69 6c 20 74 20 62 75 66 | 20 72 65 61 64 20 74 61 |il t buf| read ta|
|00000b70| 62 6c 65 20 61 62 62 72 | 65 76 73 20 31 20 6e 61 |ble abbr|evs 1 na|
|00000b80| 6d 65 20 63 6f 75 6e 74 | 20 65 78 70 20 22 20 09 |me count| exp " .|
|00000b90| 5c 6e 0c 22 20 68 6f 6f | 6b 20 64 65 66 69 6e 65 |\n." hoo|k define|
|00000ba0| 2d 61 62 62 72 65 76 2d | 74 61 62 6c 65 5d 20 34 |-abbrev-|table] 4|
|00000bb0| 20 22 5c 0a 44 65 66 69 | 6e 65 20 61 62 62 72 65 | "\.Defi|ne abbre|
|00000bc0| 76 73 20 61 63 63 6f 72 | 64 69 6e 67 20 74 6f 20 |vs accor|ding to |
|00000bd0| 63 75 72 72 65 6e 74 20 | 76 69 73 69 62 6c 65 20 |current |visible |
|00000be0| 62 75 66 66 65 72 20 63 | 6f 6e 74 65 6e 74 73 2e |buffer c|ontents.|
|00000bf0| 0a 53 65 65 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 |.See doc|umentati|
|00000c00| 6f 6e 20 6f 66 20 65 64 | 69 74 2d 61 62 62 72 65 |on of ed|it-abbre|
|00000c10| 76 73 20 66 6f 72 20 69 | 6e 66 6f 20 6f 6e 20 74 |vs for i|nfo on t|
|00000c20| 68 65 20 66 6f 72 6d 61 | 74 20 6f 66 20 74 68 65 |he forma|t of the|
|00000c30| 0a 74 65 78 74 20 79 6f | 75 20 6d 75 73 74 20 68 |.text yo|u must h|
|00000c40| 61 76 65 20 69 6e 20 74 | 68 65 20 62 75 66 66 65 |ave in t|he buffe|
|00000c50| 72 2e 0a 57 69 74 68 20 | 61 72 67 75 6d 65 6e 74 |r..With |argument|
|00000c60| 2c 20 65 6c 69 6d 69 6e | 61 74 65 20 61 6c 6c 20 |, elimin|ate all |
|00000c70| 61 62 62 72 65 76 20 64 | 65 66 69 6e 69 74 69 6f |abbrev d|efinitio|
|00000c80| 6e 73 20 65 78 63 65 70 | 74 0a 74 68 65 20 6f 6e |ns excep|t.the on|
|00000c90| 65 73 20 64 65 66 69 6e | 65 64 20 66 72 6f 6d 20 |es defin|ed from |
|00000ca0| 74 68 65 20 62 75 66 66 | 65 72 20 6e 6f 77 2e 22 |the buff|er now."|
|00000cb0| 20 22 50 22 5d 29 0a 28 | 66 73 65 74 20 27 72 65 | "P"]).(|fset 're|
|00000cc0| 61 64 2d 61 62 62 72 65 | 76 2d 66 69 6c 65 20 23 |ad-abbre|v-file #|
|00000cd0| 5b 28 26 6f 70 74 69 6f | 6e 61 6c 20 66 69 6c 65 |[(&optio|nal file|
|00000ce0| 20 71 75 69 65 74 6c 79 | 29 20 22 c0 09 ab 89 09 | quietly|) ".....|
|00000cf0| 47 c2 56 ab 83 09 aa 81 | 0b c4 0d 23 88 c6 16 07 |G.V.....|...#....|
|00000d00| c4 89 16 08 87 22 20 5b | 6c 6f 61 64 20 66 69 6c |....." [|load fil|
|00000d10| 65 20 30 20 61 62 62 72 | 65 76 2d 66 69 6c 65 2d |e 0 abbr|ev-file-|
|00000d20| 6e 61 6d 65 20 6e 69 6c | 20 71 75 69 65 74 6c 79 |name nil| quietly|
|00000d30| 20 74 20 73 61 76 65 2d | 61 62 62 72 65 76 73 20 | t save-|abbrevs |
|00000d40| 61 62 62 72 65 76 73 2d | 63 68 61 6e 67 65 64 5d |abbrevs-|changed]|
|00000d50| 20 34 20 22 5c 0a 52 65 | 61 64 20 61 62 62 72 65 | 4 "\.Re|ad abbre|
|00000d60| 76 20 64 65 66 69 6e 69 | 74 69 6f 6e 73 20 66 72 |v defini|tions fr|
|00000d70| 6f 6d 20 66 69 6c 65 20 | 77 72 69 74 74 65 6e 20 |om file |written |
|00000d80| 77 69 74 68 20 77 72 69 | 74 65 2d 61 62 62 72 65 |with wri|te-abbre|
|00000d90| 76 2d 66 69 6c 65 2e 0a | 54 61 6b 65 73 20 66 69 |v-file..|Takes fi|
|00000da0| 6c 65 20 6e 61 6d 65 20 | 61 73 20 61 72 67 75 6d |le name |as argum|
|00000db0| 65 6e 74 2e 0a 4f 70 74 | 69 6f 6e 61 6c 20 73 65 |ent..Opt|ional se|
|00000dc0| 63 6f 6e 64 20 61 72 67 | 75 6d 65 6e 74 20 6e 6f |cond arg|ument no|
|00000dd0| 6e 2d 6e 69 6c 20 6d 65 | 61 6e 73 20 64 6f 6e 27 |n-nil me|ans don'|
|00000de0| 74 20 70 72 69 6e 74 20 | 61 6e 79 74 68 69 6e 67 |t print |anything|
|00000df0| 2e 22 20 22 66 52 65 61 | 64 20 61 62 62 72 65 76 |." "fRea|d abbrev|
|00000e00| 20 66 69 6c 65 3a 20 22 | 5d 29 0a 28 66 73 65 74 | file: "|]).(fset|
|00000e10| 20 27 71 75 69 65 74 6c | 79 2d 72 65 61 64 2d 61 | 'quietl|y-read-a|
|00000e20| 62 62 72 65 76 2d 66 69 | 6c 65 20 23 5b 28 26 6f |bbrev-fi|le #[(&o|
|00000e30| 70 74 69 6f 6e 61 6c 20 | 66 69 6c 65 29 20 22 c0 |ptional |file) ".|
|00000e40| 09 c2 5c 22 87 22 20 5b | 72 65 61 64 2d 61 62 62 |..\"." [|read-abb|
|00000e50| 72 65 76 2d 66 69 6c 65 | 20 66 69 6c 65 20 74 5d |rev-file| file t]|
|00000e60| 20 33 20 22 5c 0a 52 65 | 61 64 20 61 62 62 72 65 | 3 "\.Re|ad abbre|
|00000e70| 76 20 64 65 66 69 6e 69 | 74 69 6f 6e 73 20 66 72 |v defini|tions fr|
|00000e80| 6f 6d 20 66 69 6c 65 20 | 77 72 69 74 74 65 6e 20 |om file |written |
|00000e90| 77 69 74 68 20 77 72 69 | 74 65 2d 61 62 62 72 65 |with wri|te-abbre|
|00000ea0| 76 2d 66 69 6c 65 2e 0a | 54 61 6b 65 73 20 66 69 |v-file..|Takes fi|
|00000eb0| 6c 65 20 6e 61 6d 65 20 | 61 73 20 61 72 67 75 6d |le name |as argum|
|00000ec0| 65 6e 74 2e 20 20 44 6f | 65 73 20 6e 6f 74 20 70 |ent. Do|es not p|
|00000ed0| 72 69 6e 74 20 61 6e 79 | 74 68 69 6e 67 2e 22 5d |rint any|thing."]|
|00000ee0| 29 0a 28 66 73 65 74 20 | 27 77 72 69 74 65 2d 61 |).(fset |'write-a|
|00000ef0| 62 62 72 65 76 2d 66 69 | 6c 65 20 23 5b 28 66 69 |bbrev-fi|le #[(fi|
|00000f00| 6c 65 29 20 22 08 ab 86 | 08 47 c1 56 ac 82 5c 6e |le) "...|.G.V..\n|
|00000f10| 10 8a c3 c4 21 71 88 c5 | 20 88 0e 06 89 1e 07 ab |....!q..| .......|
|00000f20| 8f c8 0e 07 40 c9 5c 22 | 88 0e 07 41 89 16 07 ac |....@.\"|...A....|
|00000f30| 71 29 ca cb 64 08 23 88 | c5 20 29 87 22 20 5b 66 |q)..d.#.|. )." [f|
|00000f40| 69 6c 65 20 30 20 61 62 | 62 72 65 76 2d 66 69 6c |ile 0 ab|brev-fil|
|00000f50| 65 2d 6e 61 6d 65 20 67 | 65 74 2d 62 75 66 66 65 |e-name g|et-buffe|
|00000f60| 72 2d 63 72 65 61 74 65 | 20 22 20 77 72 69 74 65 |r-create| " write|
|00000f70| 2d 61 62 62 72 65 76 2d | 66 69 6c 65 22 20 65 72 |-abbrev-|file" er|
|00000f80| 61 73 65 2d 62 75 66 66 | 65 72 20 61 62 62 72 65 |ase-buff|er abbre|
|00000f90| 76 2d 74 61 62 6c 65 2d | 6e 61 6d 65 2d 6c 69 73 |v-table-|name-lis|
|00000fa0| 74 20 74 61 62 6c 65 73 | 20 69 6e 73 65 72 74 2d |t tables| insert-|
|00000fb0| 61 62 62 72 65 76 2d 74 | 61 62 6c 65 2d 64 65 73 |abbrev-t|able-des|
|00000fc0| 63 72 69 70 74 69 6f 6e | 20 6e 69 6c 20 77 72 69 |cription| nil wri|
|00000fd0| 74 65 2d 72 65 67 69 6f | 6e 20 31 5d 20 35 20 22 |te-regio|n 1] 5 "|
|00000fe0| 5c 0a 57 72 69 74 65 20 | 61 6c 6c 20 61 62 62 72 |\.Write |all abbr|
|00000ff0| 65 76 20 64 65 66 69 6e | 69 74 69 6f 6e 73 20 74 |ev defin|itions t|
|00001000| 6f 20 66 69 6c 65 20 6f | 66 20 4c 69 73 70 20 63 |o file o|f Lisp c|
|00001010| 6f 64 65 2e 0a 54 68 65 | 20 66 69 6c 65 20 63 61 |ode..The| file ca|
|00001020| 6e 20 62 65 20 6c 6f 61 | 64 65 64 20 74 6f 20 64 |n be loa|ded to d|
|00001030| 65 66 69 6e 65 20 74 68 | 65 20 73 61 6d 65 20 61 |efine th|e same a|
|00001040| 62 62 72 65 76 73 2e 22 | 20 28 62 79 74 65 2d 63 |bbrevs."| (byte-c|
|00001050| 6f 64 65 20 22 c0 c1 c2 | c3 0c 21 21 0c 23 43 87 |ode "...|..!!.#C.|
|00001060| 22 20 5b 72 65 61 64 2d | 66 69 6c 65 2d 6e 61 6d |" [read-|file-nam|
|00001070| 65 20 22 57 72 69 74 65 | 20 61 62 62 72 65 76 20 |e "Write| abbrev |
|00001080| 66 69 6c 65 3a 20 22 20 | 66 69 6c 65 2d 6e 61 6d |file: " |file-nam|
|00001090| 65 2d 64 69 72 65 63 74 | 6f 72 79 20 65 78 70 61 |e-direct|ory expa|
|000010a0| 6e 64 2d 66 69 6c 65 2d | 6e 61 6d 65 20 61 62 62 |nd-file-|name abb|
|000010b0| 72 65 76 2d 66 69 6c 65 | 2d 6e 61 6d 65 5d 20 35 |rev-file|-name] 5|
|000010c0| 29 5d 29 0a 28 66 73 65 | 74 20 27 61 64 64 2d 6d |)]).(fse|t 'add-m|
|000010d0| 6f 64 65 2d 61 62 62 72 | 65 76 20 23 5b 28 61 72 |ode-abbr|ev #[(ar|
|000010e0| 67 29 20 22 c0 09 ab 83 | 5c 6e aa 86 0b ae 83 c4 |g) "....|\n......|
|000010f0| c5 21 c6 0e 07 23 87 22 | 20 5b 61 64 64 2d 61 62 |.!...#."| [add-ab|
|00001100| 62 72 65 76 20 6f 6e 6c | 79 2d 67 6c 6f 62 61 6c |brev onl|y-global|
|00001110| 2d 61 62 62 72 65 76 73 | 20 67 6c 6f 62 61 6c 2d |-abbrevs| global-|
|00001120| 61 62 62 72 65 76 2d 74 | 61 62 6c 65 20 6c 6f 63 |abbrev-t|able loc|
|00001130| 61 6c 2d 61 62 62 72 65 | 76 2d 74 61 62 6c 65 20 |al-abbre|v-table |
|00001140| 65 72 72 6f 72 20 22 4e | 6f 20 70 65 72 2d 6d 6f |error "N|o per-mo|
|00001150| 64 65 20 61 62 62 72 65 | 76 20 74 61 62 6c 65 2e |de abbre|v table.|
|00001160| 22 20 22 4d 6f 64 65 22 | 20 61 72 67 5d 20 34 20 |" "Mode"| arg] 4 |
|00001170| 22 5c 0a 44 65 66 69 6e | 65 20 6d 6f 64 65 2d 73 |"\.Defin|e mode-s|
|00001180| 70 65 63 69 66 69 63 20 | 61 62 62 72 65 76 20 66 |pecific |abbrev f|
|00001190| 6f 72 20 6c 61 73 74 20 | 77 6f 72 64 28 73 29 20 |or last |word(s) |
|000011a0| 62 65 66 6f 72 65 20 70 | 6f 69 6e 74 2e 0a 41 72 |before p|oint..Ar|
|000011b0| 67 75 6d 65 6e 74 20 69 | 73 20 68 6f 77 20 6d 61 |gument i|s how ma|
|000011c0| 6e 79 20 77 6f 72 64 73 | 20 62 65 66 6f 72 65 20 |ny words| before |
|000011d0| 70 6f 69 6e 74 20 66 6f | 72 6d 20 74 68 65 20 65 |point fo|rm the e|
|000011e0| 78 70 61 6e 73 69 6f 6e | 3b 0a 6f 72 20 7a 65 72 |xpansion|;.or zer|
|000011f0| 6f 20 6d 65 61 6e 73 20 | 74 68 65 20 72 65 67 69 |o means |the regi|
|00001200| 6f 6e 20 69 73 20 74 68 | 65 20 65 78 70 61 6e 73 |on is th|e expans|
|00001210| 69 6f 6e 2e 0a 41 20 6e | 65 67 61 74 69 76 65 20 |ion..A n|egative |
|00001220| 61 72 67 75 6d 65 6e 74 | 20 6d 65 61 6e 73 20 74 |argument| means t|
|00001230| 6f 20 75 6e 64 65 66 69 | 6e 65 20 74 68 65 20 73 |o undefi|ne the s|
|00001240| 70 65 63 69 66 69 65 64 | 20 61 62 62 72 65 76 2e |pecified| abbrev.|
|00001250| 0a 52 65 61 64 73 20 74 | 68 65 20 61 62 62 72 65 |.Reads t|he abbre|
|00001260| 76 69 61 74 69 6f 6e 20 | 69 6e 20 74 68 65 20 6d |viation |in the m|
|00001270| 69 6e 69 62 75 66 66 65 | 72 2e 0a 0a 44 6f 6e 27 |inibuffe|r...Don'|
|00001280| 74 20 75 73 65 20 74 68 | 69 73 20 66 75 6e 63 74 |t use th|is funct|
|00001290| 69 6f 6e 20 69 6e 20 61 | 20 4c 69 73 70 20 70 72 |ion in a| Lisp pr|
|000012a0| 6f 67 72 61 6d 3b 20 75 | 73 65 20 64 65 66 69 6e |ogram; u|se defin|
|000012b0| 65 2d 61 62 62 72 65 76 | 20 69 6e 73 74 65 61 64 |e-abbrev| instead|
|000012c0| 2e 22 20 22 70 22 5d 29 | 0a 28 66 73 65 74 20 27 |." "p"])|.(fset '|
|000012d0| 61 64 64 2d 67 6c 6f 62 | 61 6c 2d 61 62 62 72 65 |add-glob|al-abbre|
|000012e0| 76 20 23 5b 28 61 72 67 | 29 20 22 c0 09 c2 0b 23 |v #[(arg|) "....#|
|000012f0| 87 22 20 5b 61 64 64 2d | 61 62 62 72 65 76 20 67 |." [add-|abbrev g|
|00001300| 6c 6f 62 61 6c 2d 61 62 | 62 72 65 76 2d 74 61 62 |lobal-ab|brev-tab|
|00001310| 6c 65 20 22 47 6c 6f 62 | 61 6c 22 20 61 72 67 5d |le "Glob|al" arg]|
|00001320| 20 34 20 22 5c 0a 44 65 | 66 69 6e 65 20 67 6c 6f | 4 "\.De|fine glo|
|00001330| 62 61 6c 20 28 61 6c 6c | 20 6d 6f 64 65 73 29 20 |bal (all| modes) |
|00001340| 61 62 62 72 65 76 20 66 | 6f 72 20 6c 61 73 74 20 |abbrev f|or last |
|00001350| 77 6f 72 64 28 73 29 20 | 62 65 66 6f 72 65 20 70 |word(s) |before p|
|00001360| 6f 69 6e 74 2e 0a 41 72 | 67 75 6d 65 6e 74 20 69 |oint..Ar|gument i|
|00001370| 73 20 68 6f 77 20 6d 61 | 6e 79 20 77 6f 72 64 73 |s how ma|ny words|
|00001380| 20 62 65 66 6f 72 65 20 | 70 6f 69 6e 74 20 66 6f | before |point fo|
|00001390| 72 6d 20 74 68 65 20 65 | 78 70 61 6e 73 69 6f 6e |rm the e|xpansion|
|000013a0| 3b 0a 6f 72 20 7a 65 72 | 6f 20 6d 65 61 6e 73 20 |;.or zer|o means |
|000013b0| 74 68 65 20 72 65 67 69 | 6f 6e 20 69 73 20 74 68 |the regi|on is th|
|000013c0| 65 20 65 78 70 61 6e 73 | 69 6f 6e 2e 0a 41 20 6e |e expans|ion..A n|
|000013d0| 65 67 61 74 69 76 65 20 | 61 72 67 75 6d 65 6e 74 |egative |argument|
|000013e0| 20 6d 65 61 6e 73 20 74 | 6f 20 75 6e 64 65 66 69 | means t|o undefi|
|000013f0| 6e 65 20 74 68 65 20 73 | 70 65 63 69 66 69 65 64 |ne the s|pecified|
|00001400| 20 61 62 62 72 65 76 2e | 0a 52 65 61 64 73 20 74 | abbrev.|.Reads t|
|00001410| 68 65 20 61 62 62 72 65 | 76 69 61 74 69 6f 6e 20 |he abbre|viation |
|00001420| 69 6e 20 74 68 65 20 6d | 69 6e 69 62 75 66 66 65 |in the m|inibuffe|
|00001430| 72 2e 0a 0a 44 6f 6e 27 | 74 20 75 73 65 20 74 68 |r...Don'|t use th|
|00001440| 69 73 20 66 75 6e 63 74 | 69 6f 6e 20 69 6e 20 61 |is funct|ion in a|
|00001450| 20 4c 69 73 70 20 70 72 | 6f 67 72 61 6d 3b 20 75 | Lisp pr|ogram; u|
|00001460| 73 65 20 64 65 66 69 6e | 65 2d 61 62 62 72 65 76 |se defin|e-abbrev|
|00001470| 20 69 6e 73 74 65 61 64 | 2e 22 20 22 70 22 5d 29 | instead|." "p"])|
|00001480| 0a 28 66 73 65 74 20 27 | 61 64 64 2d 61 62 62 72 |.(fset '|add-abbr|
|00001490| 65 76 20 23 5b 28 74 61 | 62 6c 65 20 74 79 70 65 |ev #[(ta|ble type|
|000014a0| 20 61 72 67 29 20 22 08 | c1 59 ad 92 60 08 c1 55 | arg) ".|.Y..`..U|
|000014b0| ab 84 c2 20 aa 87 8a 08 | 5b 76 88 60 29 7b c3 1c |... ....|[v.`){..|
|000014c0| 1d c6 c7 0d ab 83 c8 aa | 81 c9 0e 5c 6e 0d 23 21 |........|...\n.#!|
|000014d0| 14 0d ab 94 cb 0c 0e 0c | 5c 22 ab 8d cd c7 ce 0c |........|\"......|
|000014e0| cb 0c 0e 0c 5c 22 23 21 | ad 87 cf 0e 0c 0c 97 0d |....\"#!|........|
|000014f0| 23 2a 87 22 20 5b 61 72 | 67 20 30 20 6d 61 72 6b |#*." [ar|g 0 mark|
|00001500| 20 6e 69 6c 20 6e 61 6d | 65 20 65 78 70 20 72 65 | nil nam|e exp re|
|00001510| 61 64 2d 73 74 72 69 6e | 67 20 66 6f 72 6d 61 74 |ad-strin|g format|
|00001520| 20 22 25 73 20 61 62 62 | 72 65 76 20 66 6f 72 20 | "%s abb|rev for |
|00001530| 5c 22 25 73 5c 22 3a 20 | 22 20 22 55 6e 64 65 66 |\"%s\": |" "Undef|
|00001540| 69 6e 65 20 25 73 20 61 | 62 62 72 65 76 3a 20 22 |ine %s a|bbrev: "|
|00001550| 20 74 79 70 65 20 61 62 | 62 72 65 76 2d 65 78 70 | type ab|brev-exp|
|00001560| 61 6e 73 69 6f 6e 20 74 | 61 62 6c 65 20 79 2d 6f |ansion t|able y-o|
|00001570| 72 2d 6e 2d 70 20 22 25 | 73 20 65 78 70 61 6e 64 |r-n-p "%|s expand|
|00001580| 73 20 74 6f 20 5c 22 25 | 73 5c 22 3b 20 72 65 64 |s to \"%|s\"; red|
|00001590| 65 66 69 6e 65 3f 20 22 | 20 64 65 66 69 6e 65 2d |efine? "| define-|
|000015a0| 61 62 62 72 65 76 5d 20 | 37 5d 29 0a 28 66 73 65 |abbrev] |7]).(fse|
|000015b0| 74 20 27 69 6e 76 65 72 | 73 65 2d 61 64 64 2d 6d |t 'inver|se-add-m|
|000015c0| 6f 64 65 2d 61 62 62 72 | 65 76 20 23 5b 28 61 72 |ode-abbr|ev #[(ar|
|000015d0| 67 29 20 22 c0 09 ab 83 | 5c 6e aa 86 0b ae 83 c4 |g) "....|\n......|
|000015e0| c5 21 c6 0e 07 23 87 22 | 20 5b 69 6e 76 65 72 73 |.!...#."| [invers|
|000015f0| 65 2d 61 64 64 2d 61 62 | 62 72 65 76 20 6f 6e 6c |e-add-ab|brev onl|
|00001600| 79 2d 67 6c 6f 62 61 6c | 2d 61 62 62 72 65 76 73 |y-global|-abbrevs|
|00001610| 20 67 6c 6f 62 61 6c 2d | 61 62 62 72 65 76 2d 74 | global-|abbrev-t|
|00001620| 61 62 6c 65 20 6c 6f 63 | 61 6c 2d 61 62 62 72 65 |able loc|al-abbre|
|00001630| 76 2d 74 61 62 6c 65 20 | 65 72 72 6f 72 20 22 4e |v-table |error "N|
|00001640| 6f 20 70 65 72 2d 6d 6f | 64 65 20 61 62 62 72 65 |o per-mo|de abbre|
|00001650| 76 20 74 61 62 6c 65 2e | 22 20 22 4d 6f 64 65 22 |v table.|" "Mode"|
|00001660| 20 61 72 67 5d 20 34 20 | 22 5c 0a 44 65 66 69 6e | arg] 4 |"\.Defin|
|00001670| 65 20 6c 61 73 74 20 77 | 6f 72 64 20 62 65 66 6f |e last w|ord befo|
|00001680| 72 65 20 70 6f 69 6e 74 | 20 61 73 20 61 20 6d 6f |re point| as a mo|
|00001690| 64 65 2d 73 70 65 63 69 | 66 69 63 20 61 62 62 72 |de-speci|fic abbr|
|000016a0| 65 76 2e 0a 57 69 74 68 | 20 61 72 67 75 6d 65 6e |ev..With| argumen|
|000016b0| 74 20 4e 2c 20 64 65 66 | 69 6e 65 73 20 74 68 65 |t N, def|ines the|
|000016c0| 20 4e 74 68 20 77 6f 72 | 64 20 62 65 66 6f 72 65 | Nth wor|d before|
|000016d0| 20 70 6f 69 6e 74 2e 0a | 52 65 61 64 73 20 74 68 | point..|Reads th|
|000016e0| 65 20 65 78 70 61 6e 73 | 69 6f 6e 20 69 6e 20 74 |e expans|ion in t|
|000016f0| 68 65 20 6d 69 6e 69 62 | 75 66 66 65 72 2e 0a 45 |he minib|uffer..E|
|00001700| 78 70 61 6e 64 73 20 74 | 68 65 20 61 62 62 72 65 |xpands t|he abbre|
|00001710| 76 69 61 74 69 6f 6e 20 | 61 66 74 65 72 20 64 65 |viation |after de|
|00001720| 66 69 6e 69 6e 67 20 69 | 74 2e 22 20 22 70 22 5d |fining i|t." "p"]|
|00001730| 29 0a 28 66 73 65 74 20 | 27 69 6e 76 65 72 73 65 |).(fset |'inverse|
|00001740| 2d 61 64 64 2d 67 6c 6f | 62 61 6c 2d 61 62 62 72 |-add-glo|bal-abbr|
|00001750| 65 76 20 23 5b 28 61 72 | 67 29 20 22 c0 09 c2 0b |ev #[(ar|g) "....|
|00001760| 23 87 22 20 5b 69 6e 76 | 65 72 73 65 2d 61 64 64 |#." [inv|erse-add|
|00001770| 2d 61 62 62 72 65 76 20 | 67 6c 6f 62 61 6c 2d 61 |-abbrev |global-a|
|00001780| 62 62 72 65 76 2d 74 61 | 62 6c 65 20 22 47 6c 6f |bbrev-ta|ble "Glo|
|00001790| 62 61 6c 22 20 61 72 67 | 5d 20 34 20 22 5c 0a 44 |bal" arg|] 4 "\.D|
|000017a0| 65 66 69 6e 65 20 6c 61 | 73 74 20 77 6f 72 64 20 |efine la|st word |
|000017b0| 62 65 66 6f 72 65 20 70 | 6f 69 6e 74 20 61 73 20 |before p|oint as |
|000017c0| 61 20 67 6c 6f 62 61 6c | 20 28 6d 6f 64 65 2d 69 |a global| (mode-i|
|000017d0| 6e 64 65 70 65 6e 64 65 | 6e 74 29 20 61 62 62 72 |ndepende|nt) abbr|
|000017e0| 65 76 2e 0a 57 69 74 68 | 20 61 72 67 75 6d 65 6e |ev..With| argumen|
|000017f0| 74 20 4e 2c 20 64 65 66 | 69 6e 65 73 20 74 68 65 |t N, def|ines the|
|00001800| 20 4e 74 68 20 77 6f 72 | 64 20 62 65 66 6f 72 65 | Nth wor|d before|
|00001810| 20 70 6f 69 6e 74 2e 0a | 52 65 61 64 73 20 74 68 | point..|Reads th|
|00001820| 65 20 65 78 70 61 6e 73 | 69 6f 6e 20 69 6e 20 74 |e expans|ion in t|
|00001830| 68 65 20 6d 69 6e 69 62 | 75 66 66 65 72 2e 0a 45 |he minib|uffer..E|
|00001840| 78 70 61 6e 64 73 20 74 | 68 65 20 61 62 62 72 65 |xpands t|he abbre|
|00001850| 76 69 61 74 69 6f 6e 20 | 61 66 74 65 72 20 64 65 |viation |after de|
|00001860| 66 69 6e 69 6e 67 20 69 | 74 2e 22 20 22 70 22 5d |fining i|t." "p"]|
|00001870| 29 0a 28 66 73 65 74 20 | 27 69 6e 76 65 72 73 65 |).(fset |'inverse|
|00001880| 2d 61 64 64 2d 61 62 62 | 72 65 76 20 23 5b 28 74 |-add-abb|rev #[(t|
|00001890| 61 62 6c 65 20 74 79 70 | 65 20 61 72 67 29 20 22 |able typ|e arg) "|
|000018a0| c0 89 89 19 1a 1b 8a 0c | 5b 76 88 60 c5 76 88 60 |........|[v.`.v.`|
|000018b0| 89 12 7b 13 29 c6 c7 c8 | 0e 09 0b 23 21 11 ca 0b |..{.)...|...#!...|
|000018c0| 0e 0b 5c 22 ab 8d cc c7 | cd 0b ca 0b 0e 0b 5c 22 |..\"....|......\"|
|000018d0| 23 21 ad 8f ce 0e 0b 0b | 97 09 23 88 8a 5c 6e 62 |#!......|..#..\nb|
|000018e0| 88 cf 20 29 2b 87 22 20 | 5b 6e 69 6c 20 65 78 70 |.. )+." |[nil exp|
|000018f0| 20 6e 61 6d 65 6c 6f 63 | 20 6e 61 6d 65 20 61 72 | nameloc| name ar|
|00001900| 67 20 31 20 72 65 61 64 | 2d 73 74 72 69 6e 67 20 |g 1 read|-string |
|00001910| 66 6f 72 6d 61 74 20 22 | 25 73 20 65 78 70 61 6e |format "|%s expan|
|00001920| 73 69 6f 6e 20 66 6f 72 | 20 5c 22 25 73 5c 22 3a |sion for| \"%s\":|
|00001930| 20 22 20 74 79 70 65 20 | 61 62 62 72 65 76 2d 65 | " type |abbrev-e|
|00001940| 78 70 61 6e 73 69 6f 6e | 20 74 61 62 6c 65 20 79 |xpansion| table y|
|00001950| 2d 6f 72 2d 6e 2d 70 20 | 22 25 73 20 65 78 70 61 |-or-n-p |"%s expa|
|00001960| 6e 64 73 20 74 6f 20 5c | 22 25 73 5c 22 3b 20 72 |nds to \|"%s\"; r|
|00001970| 65 64 65 66 69 6e 65 3f | 20 22 20 64 65 66 69 6e |edefine?| " defin|
|00001980| 65 2d 61 62 62 72 65 76 | 20 65 78 70 61 6e 64 2d |e-abbrev| expand-|
|00001990| 61 62 62 72 65 76 5d 20 | 37 5d 29 0a 28 66 73 65 |abbrev] |7]).(fse|
|000019a0| 74 20 27 61 62 62 72 65 | 76 2d 70 72 65 66 69 78 |t 'abbre|v-prefix|
|000019b0| 2d 6d 61 72 6b 20 23 5b | 28 26 6f 70 74 69 6f 6e |-mark #[|(&option|
|000019c0| 61 6c 20 61 72 67 29 20 | 22 08 ac 83 c1 20 88 c2 |al arg) |".... ..|
|000019d0| 20 13 70 14 c5 63 87 22 | 20 5b 61 72 67 20 65 78 | .p..c."| [arg ex|
|000019e0| 70 61 6e 64 2d 61 62 62 | 72 65 76 20 70 6f 69 6e |pand-abb|rev poin|
|000019f0| 74 2d 6d 61 72 6b 65 72 | 20 61 62 62 72 65 76 2d |t-marker| abbrev-|
|00001a00| 73 74 61 72 74 2d 6c 6f | 63 61 74 69 6f 6e 20 61 |start-lo|cation a|
|00001a10| 62 62 72 65 76 2d 73 74 | 61 72 74 2d 6c 6f 63 61 |bbrev-st|art-loca|
|00001a20| 74 69 6f 6e 2d 62 75 66 | 66 65 72 20 22 2d 22 5d |tion-buf|fer "-"]|
|00001a30| 20 31 20 22 5c 0a 4d 61 | 72 6b 20 63 75 72 72 65 | 1 "\.Ma|rk curre|
|00001a40| 6e 74 20 70 6f 69 6e 74 | 20 61 73 20 74 68 65 20 |nt point| as the |
|00001a50| 62 65 67 69 6e 6e 69 6e | 67 20 6f 66 20 61 6e 20 |beginnin|g of an |
|00001a60| 61 62 62 72 65 76 2e 0a | 41 62 62 72 65 76 20 74 |abbrev..|Abbrev t|
|00001a70| 6f 20 62 65 20 65 78 70 | 61 6e 64 65 64 20 73 74 |o be exp|anded st|
|00001a80| 61 72 74 73 20 68 65 72 | 65 20 72 61 74 68 65 72 |arts her|e rather|
|00001a90| 20 74 68 61 6e 20 61 74 | 0a 62 65 67 69 6e 6e 69 | than at|.beginni|
|00001aa0| 6e 67 20 6f 66 20 77 6f | 72 64 2e 20 20 54 68 69 |ng of wo|rd. Thi|
|00001ab0| 73 20 77 61 79 2c 20 79 | 6f 75 20 63 61 6e 20 65 |s way, y|ou can e|
|00001ac0| 78 70 61 6e 64 20 61 6e | 20 61 62 62 72 65 76 0a |xpand an| abbrev.|
|00001ad0| 77 69 74 68 20 61 20 70 | 72 65 66 69 78 3a 20 69 |with a p|refix: i|
|00001ae0| 6e 73 65 72 74 20 74 68 | 65 20 70 72 65 66 69 78 |nsert th|e prefix|
|00001af0| 2c 20 75 73 65 20 74 68 | 69 73 20 63 6f 6d 6d 61 |, use th|is comma|
|00001b00| 6e 64 2c 0a 74 68 65 6e | 20 69 6e 73 65 72 74 20 |nd,.then| insert |
|00001b10| 74 68 65 20 61 62 62 72 | 65 76 2e 22 20 22 50 22 |the abbr|ev." "P"|
|00001b20| 5d 29 0a 28 66 73 65 74 | 20 27 65 78 70 61 6e 64 |]).(fset| 'expand|
|00001b30| 2d 72 65 67 69 6f 6e 2d | 61 62 62 72 65 76 73 20 |-region-|abbrevs |
|00001b40| 23 5b 28 73 74 61 72 74 | 20 65 6e 64 20 26 6f 70 |#[(start| end &op|
|00001b50| 74 69 6f 6e 61 6c 20 6e | 6f 71 75 65 72 79 29 20 |tional n|oquery) |
|00001b60| 22 8a 08 62 88 64 09 5a | c2 89 1b 1c 1d 6d 3f ad |"..b.d.Z|.....m?.|
|00001b70| ab c6 76 88 60 89 14 64 | 0d 5a 58 ad 9f c7 8a c8 |..v.`..d|.ZX.....|
|00001b80| 76 88 60 29 0c 7b 89 13 | 21 ab 62 0e 09 ac 88 ca |v.`).{..|!.b.....|
|00001b90| cb cc 0b 5c 22 21 ab 56 | cd 20 88 aa 51 2c 87 22 |...\"!.V|. ..Q,."|
|00001ba0| 20 5b 73 74 61 72 74 20 | 65 6e 64 20 6e 69 6c 20 | [start |end nil |
|00001bb0| 73 74 72 69 6e 67 20 70 | 6e 74 20 6c 69 6d 20 31 |string p|nt lim 1|
|00001bc0| 20 61 62 62 72 65 76 2d | 65 78 70 61 6e 73 69 6f | abbrev-|expansio|
|00001bd0| 6e 20 2d 31 20 6e 6f 71 | 75 65 72 79 20 79 2d 6f |n -1 noq|uery y-o|
|00001be0| 72 2d 6e 2d 70 20 66 6f | 72 6d 61 74 20 22 45 78 |r-n-p fo|rmat "Ex|
|00001bf0| 70 61 6e 64 20 60 25 73 | 27 3f 20 22 20 65 78 70 |pand `%s|'? " exp|
|00001c00| 61 6e 64 2d 61 62 62 72 | 65 76 5d 20 34 20 22 5c |and-abbr|ev] 4 "\|
|00001c10| 0a 46 6f 72 20 61 62 62 | 72 65 76 20 6f 63 63 75 |.For abb|rev occu|
|00001c20| 72 72 65 6e 63 65 20 69 | 6e 20 74 68 65 20 72 65 |rrence i|n the re|
|00001c30| 67 69 6f 6e 2c 20 6f 66 | 66 65 72 20 74 6f 20 65 |gion, of|fer to e|
|00001c40| 78 70 61 6e 64 20 69 74 | 2e 0a 54 68 65 20 75 73 |xpand it|..The us|
|00001c50| 65 72 20 69 73 20 61 73 | 6b 65 64 20 74 6f 20 74 |er is as|ked to t|
|00001c60| 79 70 65 20 79 20 6f 72 | 20 6e 20 66 6f 72 20 65 |ype y or| n for e|
|00001c70| 61 63 68 20 6f 63 63 75 | 72 72 65 6e 63 65 2e 0a |ach occu|rrence..|
|00001c80| 41 20 6e 75 6d 65 72 69 | 63 20 61 72 67 75 6d 65 |A numeri|c argume|
|00001c90| 6e 74 20 6d 65 61 6e 73 | 20 64 6f 6e 27 74 20 71 |nt means| don't q|
|00001ca0| 75 65 72 79 3b 20 65 78 | 70 61 6e 64 20 61 6c 6c |uery; ex|pand all|
|00001cb0| 20 61 62 62 72 65 76 73 | 2e 0a 43 61 6c 6c 69 6e | abbrevs|..Callin|
|00001cc0| 67 20 66 72 6f 6d 20 61 | 20 70 72 6f 67 72 61 6d |g from a| program|
|00001cd0| 2c 20 61 72 67 75 6d 65 | 6e 74 73 20 61 72 65 20 |, argume|nts are |
|00001ce0| 53 54 41 52 54 20 45 4e | 44 20 26 6f 70 74 69 6f |START EN|D &optio|
|00001cf0| 6e 61 6c 20 4e 4f 51 55 | 45 52 59 2e 22 20 22 72 |nal NOQU|ERY." "r|
|00001d00| 5c 6e 50 22 5d 29 0a | |\nP"]). | |
+--------+-------------------------+-------------------------+--------+--------+