home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / lib / emacs / site-lisp / ispell.elc < prev    next >
Emacs Compiled Lisp  |  1995-12-30  |  10.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
100% file Emacs v18 byte-compiled Lisp data default
99% file data default
100% gt2 Kopftext: '(defvar ispell-have-new-look t ' default (weak)
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/x-emacs-lisp default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0a 28 64 65 66 76 61 72 | 20 69 73 70 65 6c 6c 2d |.(defvar| ispell-|
|00000010| 68 61 76 65 2d 6e 65 77 | 2d 6c 6f 6f 6b 20 74 20 |have-new|-look t |
|00000020| 22 5c 0a 54 20 69 66 20 | 64 65 66 61 75 6c 74 20 |"\.T if |default |
|00000030| 27 6c 6f 6f 6b 27 20 70 | 72 6f 67 72 61 6d 20 68 |'look' p|rogram h|
|00000040| 61 73 20 74 68 65 20 2d | 72 20 66 6c 61 67 2e 22 |as the -|r flag."|
|00000050| 29 0a 0a 28 64 65 66 76 | 61 72 20 69 73 70 65 6c |)..(defv|ar ispel|
|00000060| 6c 2d 65 6e 61 62 6c 65 | 2d 74 65 78 2d 70 61 72 |l-enable|-tex-par|
|00000070| 73 65 72 20 6e 69 6c 20 | 22 5c 0a 54 20 74 6f 20 |ser nil |"\.T to |
|00000080| 65 6e 61 62 6c 65 20 65 | 78 70 65 72 69 6d 65 6e |enable e|xperimen|
|00000090| 74 61 6c 20 74 65 78 20 | 70 61 72 73 65 72 20 69 |tal tex |parser i|
|000000a0| 6e 20 69 73 70 65 6c 6c | 20 66 6f 72 20 74 65 78 |n ispell| for tex|
|000000b0| 20 62 75 66 66 65 72 73 | 2e 22 29 0a 0a 28 64 65 | buffers|.")..(de|
|000000c0| 66 76 61 72 20 69 73 70 | 65 6c 6c 2d 70 72 6f 63 |fvar isp|ell-proc|
|000000d0| 65 73 73 20 6e 69 6c 20 | 22 5c 0a 54 68 65 20 70 |ess nil |"\.The p|
|000000e0| 72 6f 63 65 73 73 20 72 | 75 6e 6e 69 6e 67 20 49 |rocess r|unning I|
|000000f0| 53 50 45 4c 4c 22 29 0a | 0a 28 64 65 66 76 61 72 |SPELL").|.(defvar|
|00000100| 20 69 73 70 65 6c 6c 2d | 6e 65 78 74 2d 6d 65 73 | ispell-|next-mes|
|00000110| 73 61 67 65 20 6e 69 6c | 20 22 5c 0a 41 6e 20 69 |sage nil| "\.An i|
|00000120| 6e 74 65 67 65 72 20 74 | 65 6c 6c 69 6e 67 20 77 |nteger t|elling w|
|00000130| 68 65 72 65 20 69 6e 20 | 74 68 65 20 2a 69 73 70 |here in |the *isp|
|00000140| 65 6c 6c 2a 20 62 75 66 | 66 65 72 20 77 68 65 72 |ell* buf|fer wher|
|00000150| 65 0a 74 6f 20 6c 6f 6f | 6b 20 66 6f 72 20 74 68 |e.to loo|k for th|
|00000160| 65 20 6e 65 78 74 20 6d | 65 73 73 61 67 65 20 66 |e next m|essage f|
|00000170| 72 6f 6d 20 74 68 65 20 | 49 53 50 45 4c 4c 20 70 |rom the |ISPELL p|
|00000180| 72 6f 67 72 61 6d 2e 22 | 29 0a 0a 28 64 65 66 76 |rogram."|)..(defv|
|00000190| 61 72 20 69 73 70 65 6c | 6c 2d 62 61 64 2d 77 6f |ar ispel|l-bad-wo|
|000001a0| 72 64 73 20 6e 69 6c 20 | 22 5c 0a 41 20 6c 69 73 |rds nil |"\.A lis|
|000001b0| 74 20 6f 66 20 6d 61 72 | 6b 65 72 73 20 63 6f 72 |t of mar|kers cor|
|000001c0| 72 65 73 70 6f 6e 64 69 | 6e 67 20 74 6f 20 74 68 |respondi|ng to th|
|000001d0| 65 20 6f 75 74 70 75 74 | 20 6f 66 20 74 68 65 20 |e output| of the |
|000001e0| 49 53 50 45 4c 4c 20 3a | 66 69 6c 65 20 63 6f 6d |ISPELL :|file com|
|000001f0| 6d 61 6e 64 2e 22 29 0a | 0a 28 64 65 66 76 61 72 |mand.").|.(defvar|
|00000200| 20 69 73 70 65 6c 6c 2d | 72 65 63 65 6e 74 6c 79 | ispell-|recently|
|00000210| 2d 61 63 63 65 70 74 65 | 64 20 6e 69 6c 29 0a 0a |-accepte|d nil)..|
|00000220| 28 64 65 66 76 61 72 20 | 69 73 70 65 6c 6c 2d 64 |(defvar |ispell-d|
|00000230| 75 6d 70 2d 6e 65 65 64 | 65 64 20 6e 69 6c 29 0a |ump-need|ed nil).|
|00000240| 0a 28 64 65 66 75 6e 20 | 69 73 70 65 6c 6c 2d 66 |.(defun |ispell-f|
|00000250| 6c 75 73 68 2d 62 61 64 | 2d 77 6f 72 64 73 20 6e |lush-bad|-words n|
|00000260| 69 6c 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 08 |il (byte|-code ".|
|00000270| 85 19 00 c3 08 40 21 85 | 10 00 c4 08 40 c1 5c 22 |.....@!.|....@.\"|
|00000280| 88 08 41 89 10 88 82 00 | 00 88 c1 89 12 87 22 20 |..A.....|......" |
|00000290| 5b 69 73 70 65 6c 6c 2d | 62 61 64 2d 77 6f 72 64 |[ispell-|bad-word|
|000002a0| 73 20 6e 69 6c 20 69 73 | 70 65 6c 6c 2d 72 65 63 |s nil is|pell-rec|
|000002b0| 65 6e 74 6c 79 2d 61 63 | 63 65 70 74 65 64 20 6d |ently-ac|cepted m|
|000002c0| 61 72 6b 65 72 70 20 73 | 65 74 2d 6d 61 72 6b 65 |arkerp s|et-marke|
|000002d0| 72 5d 20 35 29 29 0a 0a | 28 64 65 66 75 6e 20 6b |r] 5))..|(defun k|
|000002e0| 69 6c 6c 2d 69 73 70 65 | 6c 6c 20 6e 69 6c 20 22 |ill-ispe|ll nil "|
|000002f0| 5c 0a 4b 69 6c 6c 20 74 | 68 65 20 69 73 70 65 6c |\.Kill t|he ispel|
|00000300| 6c 20 70 72 6f 63 65 73 | 73 2e 20 20 41 6e 79 20 |l proces|s. Any |
|00000310| 63 68 61 6e 67 65 73 20 | 74 68 65 20 79 6f 75 72 |changes |the your|
|00000320| 20 70 72 69 76 61 74 65 | 20 64 69 63 74 69 6f 6e | private| diction|
|00000330| 61 79 0a 74 68 61 74 20 | 68 61 76 65 20 6e 6f 74 |ay.that |have not|
|00000340| 20 61 6c 72 65 61 64 79 | 20 62 65 65 6e 20 64 75 | already| been du|
|00000350| 6d 70 65 64 20 77 69 6c | 6c 20 62 65 20 6c 6f 73 |mped wil|l be los|
|00000360| 74 2e 22 20 28 69 6e 74 | 65 72 61 63 74 69 76 65 |t." (int|eractive|
|00000370| 29 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c1 88 |) (byte-|code "..|
|00000380| 08 85 09 00 c2 08 21 88 | c1 89 10 88 c3 20 87 22 |......!.|..... ."|
|00000390| 20 5b 69 73 70 65 6c 6c | 2d 70 72 6f 63 65 73 73 | [ispell|-process|
|000003a0| 20 6e 69 6c 20 64 65 6c | 65 74 65 2d 70 72 6f 63 | nil del|ete-proc|
|000003b0| 65 73 73 20 69 73 70 65 | 6c 6c 2d 66 6c 75 73 68 |ess ispe|ll-flush|
|000003c0| 2d 62 61 64 2d 77 6f 72 | 64 73 5d 20 33 29 29 0a |-bad-wor|ds] 3)).|
|000003d0| 0a 28 70 75 74 20 28 71 | 75 6f 74 65 20 69 73 70 |.(put (q|uote isp|
|000003e0| 65 6c 6c 2d 73 74 61 72 | 74 75 70 2d 65 72 72 6f |ell-star|tup-erro|
|000003f0| 72 29 20 28 71 75 6f 74 | 65 20 65 72 72 6f 72 2d |r) (quot|e error-|
|00000400| 63 6f 6e 64 69 74 69 6f | 6e 73 29 20 28 71 75 6f |conditio|ns) (quo|
|00000410| 74 65 20 28 69 73 70 65 | 6c 6c 2d 73 74 61 72 74 |te (ispe|ll-start|
|00000420| 75 70 2d 65 72 72 6f 72 | 20 65 72 72 6f 72 29 29 |up-error| error))|
|00000430| 29 0a 0a 28 70 75 74 20 | 28 71 75 6f 74 65 20 69 |)..(put |(quote i|
|00000440| 73 70 65 6c 6c 2d 73 74 | 61 72 74 75 70 2d 65 72 |spell-st|artup-er|
|00000450| 72 6f 72 29 20 28 71 75 | 6f 74 65 20 65 72 72 6f |ror) (qu|ote erro|
|00000460| 72 2d 6d 65 73 73 61 67 | 65 29 20 22 50 72 6f 62 |r-messag|e) "Prob|
|00000470| 6c 65 6d 20 73 74 61 72 | 74 69 6e 67 20 69 73 70 |lem star|ting isp|
|00000480| 65 6c 6c 20 2d 20 73 65 | 65 20 62 75 66 66 65 72 |ell - se|e buffer|
|00000490| 20 2a 69 73 70 65 6c 6c | 2a 22 29 0a 0a 28 64 65 | *ispell|*")..(de|
|000004a0| 66 75 6e 20 73 74 61 72 | 74 2d 69 73 70 65 6c 6c |fun star|t-ispell|
|000004b0| 20 6e 69 6c 20 22 5c 0a | 53 74 61 72 74 20 61 6e | nil "\.|Start an|
|000004c0| 20 69 73 70 65 6c 6c 20 | 73 75 62 70 72 6f 63 65 | ispell |subproce|
|000004d0| 73 73 3b 20 63 68 65 63 | 6b 20 74 68 65 20 76 65 |ss; chec|k the ve|
|000004e0| 72 73 69 6f 6e 3b 20 61 | 6e 64 20 64 69 73 70 6c |rsion; a|nd displ|
|000004f0| 61 79 20 74 68 65 20 67 | 72 65 65 74 69 6e 67 2e |ay the g|reeting.|
|00000500| 22 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c5 c6 |" (byte-|code "..|
|00000510| 21 88 c7 c8 21 18 08 85 | 0f 00 c9 08 21 29 88 ca |!...!...|....!)..|
|00000520| cb cc 8f 88 cd 09 21 88 | ce cf 09 21 21 88 d0 09 |......!.|...!!...|
|00000530| 21 88 c3 1a 8a cf 09 21 | 71 88 d1 70 21 88 64 d2 |!......!|q..p!.d.|
|00000540| 5a 89 12 88 0a 66 d3 3d | 3f 85 5c 5c 00 d4 09 21 |Z....f.=|?.\\...!|
|00000550| d5 3d 3f 85 4e 00 d6 20 | 88 d7 d8 c3 5c 22 88 d0 |.=?.N.. |....\"..|
|00000560| 09 21 88 64 d2 5a 89 12 | 88 82 36 00 88 65 62 88 |.!.d.Z..|..6..eb.|
|00000570| d9 70 21 1c 0c 40 d2 55 | 3f 85 71 00 da db 0c 40 |.p!..@.U|?.q....@|
|00000580| 5c 22 88 c5 0c 41 40 21 | 29 88 dc 65 0a 5c 22 29 |\"...A@!|)..e.\")|
|00000590| 29 87 22 20 5b 62 75 66 | 20 69 73 70 65 6c 6c 2d |)." [buf| ispell-|
|000005a0| 70 72 6f 63 65 73 73 20 | 6c 61 73 74 2d 63 68 61 |process |last-cha|
|000005b0| 72 20 6e 69 6c 20 67 72 | 65 65 74 69 6e 67 20 6d |r nil gr|eeting m|
|000005c0| 65 73 73 61 67 65 20 22 | 53 74 61 72 74 69 6e 67 |essage "|Starting|
|000005d0| 20 69 73 70 65 6c 6c 20 | 2e 2e 2e 22 20 67 65 74 | ispell |..." get|
|000005e0| 2d 62 75 66 66 65 72 20 | 22 2a 69 73 70 65 6c 6c |-buffer |"*ispell|
|000005f0| 2a 22 20 6b 69 6c 6c 2d | 62 75 66 66 65 72 20 65 |*" kill-|buffer e|
|00000600| 72 72 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c1 |rr (byte|-code ".|
|00000610| c2 c3 c2 c4 24 89 10 87 | 22 20 5b 69 73 70 65 6c |....$...|" [ispel|
|00000620| 6c 2d 70 72 6f 63 65 73 | 73 20 73 74 61 72 74 2d |l-proces|s start-|
|00000630| 70 72 6f 63 65 73 73 20 | 22 69 73 70 65 6c 6c 22 |process |"ispell"|
|00000640| 20 22 2a 69 73 70 65 6c | 6c 2a 22 20 22 2d 53 22 | "*ispel|l*" "-S"|
|00000650| 5d 20 35 29 20 28 28 66 | 69 6c 65 2d 65 72 72 6f |] 5) ((f|ile-erro|
|00000660| 72 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c1 c2 |r (byte-|code "..|
|00000670| c0 5c 22 87 22 20 5b 6e | 69 6c 20 73 69 67 6e 61 |.\"." [n|il signa|
|00000680| 6c 20 69 73 70 65 6c 6c | 2d 73 74 61 72 74 75 70 |l ispell|-startup|
|00000690| 2d 65 72 72 6f 72 5d 20 | 33 29 29 29 20 70 72 6f |-error] |3))) pro|
|000006a0| 63 65 73 73 2d 6b 69 6c | 6c 2d 77 69 74 68 6f 75 |cess-kil|l-withou|
|000006b0| 74 2d 71 75 65 72 79 20 | 62 75 66 66 65 72 2d 66 |t-query |buffer-f|
|000006c0| 6c 75 73 68 2d 75 6e 64 | 6f 20 70 72 6f 63 65 73 |lush-und|o proces|
|000006d0| 73 2d 62 75 66 66 65 72 | 20 61 63 63 65 70 74 2d |s-buffer| accept-|
|000006e0| 70 72 6f 63 65 73 73 2d | 6f 75 74 70 75 74 20 62 |process-|output b|
|000006f0| 75 72 79 2d 62 75 66 66 | 65 72 20 31 20 36 31 20 |ury-buff|er 1 61 |
|00000700| 70 72 6f 63 65 73 73 2d | 73 74 61 74 75 73 20 72 |process-|status r|
|00000710| 75 6e 20 6b 69 6c 6c 2d | 69 73 70 65 6c 6c 20 73 |un kill-|ispell s|
|00000720| 69 67 6e 61 6c 20 69 73 | 70 65 6c 6c 2d 73 74 61 |ignal is|pell-sta|
|00000730| 72 74 75 70 2d 65 72 72 | 6f 72 20 72 65 61 64 20 |rtup-err|or read |
|00000740| 65 72 72 6f 72 20 22 42 | 61 64 20 69 73 70 65 6c |error "B|ad ispel|
|00000750| 6c 20 76 65 72 73 69 6f | 6e 3a 20 77 61 6e 74 65 |l versio|n: wante|
|00000760| 64 20 31 2c 20 67 6f 74 | 20 25 64 22 20 64 65 6c |d 1, got| %d" del|
|00000770| 65 74 65 2d 72 65 67 69 | 6f 6e 5d 20 31 39 29 29 |ete-regi|on] 19))|
|00000780| 0a 0a 28 64 65 66 75 6e | 20 69 73 70 65 6c 6c 2d |..(defun| ispell-|
|00000790| 73 79 6e 63 20 28 69 6e | 74 72 29 20 22 5c 0a 4d |sync (in|tr) "\.M|
|000007a0| 61 6b 65 20 73 75 72 65 | 20 69 73 70 65 6c 6c 20 |ake sure| ispell |
|000007b0| 69 73 20 72 65 61 64 79 | 20 66 6f 72 20 61 20 63 |is ready| for a c|
|000007c0| 6f 6d 6d 61 6e 64 2e 22 | 20 28 62 79 74 65 2d 63 |ommand."| (byte-c|
|000007d0| 6f 64 65 20 22 08 3f 86 | 0b 00 c3 08 21 c4 3d 3f |ode ".?.|....!.=?|
|000007e0| 85 10 00 c5 20 88 09 85 | 18 00 c6 08 21 88 c7 1a |.... ...|....!...|
|000007f0| c8 08 21 71 88 c9 70 21 | 88 64 ca 5a 89 12 88 0a |..!q..p!|.d.Z....|
|00000800| 66 cb 3d 3f 85 3f 00 cc | 08 21 88 64 ca 5a 89 12 |f.=?.?..|.!.d.Z..|
|00000810| 88 82 2a 00 88 0a 62 29 | 87 22 20 5b 69 73 70 65 |..*...b)|." [ispe|
|00000820| 6c 6c 2d 70 72 6f 63 65 | 73 73 20 69 6e 74 72 20 |ll-proce|ss intr |
|00000830| 6c 61 73 74 2d 63 68 61 | 72 20 70 72 6f 63 65 73 |last-cha|r proces|
|00000840| 73 2d 73 74 61 74 75 73 | 20 72 75 6e 20 73 74 61 |s-status| run sta|
|00000850| 72 74 2d 69 73 70 65 6c | 6c 20 69 6e 74 65 72 72 |rt-ispel|l interr|
|00000860| 75 70 74 2d 70 72 6f 63 | 65 73 73 20 6e 69 6c 20 |upt-proc|ess nil |
|00000870| 70 72 6f 63 65 73 73 2d | 62 75 66 66 65 72 20 62 |process-|buffer b|
|00000880| 75 72 79 2d 62 75 66 66 | 65 72 20 31 20 36 31 20 |ury-buff|er 1 61 |
|00000890| 61 63 63 65 70 74 2d 70 | 72 6f 63 65 73 73 2d 6f |accept-p|rocess-o|
|000008a0| 75 74 70 75 74 5d 20 39 | 29 29 0a 0a 28 64 65 66 |utput] 9|))..(def|
|000008b0| 75 6e 20 69 73 70 65 6c | 6c 2d 63 6d 64 20 28 26 |un ispel|l-cmd (&|
|000008c0| 72 65 73 74 20 73 74 72 | 69 6e 67 73 29 20 22 5c |rest str|ings) "\|
|000008d0| 0a 53 65 6e 64 20 61 20 | 63 6f 6d 6d 61 6e 64 20 |.Send a |command |
|000008e0| 74 6f 20 69 73 70 65 6c | 6c 2e 20 20 43 68 6f 69 |to ispel|l. Choi|
|000008f0| 63 65 73 20 61 72 65 3a | 0a 0a 77 6f 72 64 09 09 |ces are:|..word..|
|00000900| 61 6e 79 20 77 6f 72 64 | 20 69 73 20 63 68 65 63 |any word| is chec|
|00000910| 6b 65 64 20 66 6f 72 20 | 73 70 65 6c 6c 69 6e 67 |ked for |spelling|
|00000920| 2e 20 20 52 65 73 75 6c | 74 20 69 73 0a 0a 09 09 |. Resul|t is....|
|00000930| 09 6e 69 6c 09 09 09 6e | 6f 74 20 66 6f 75 6e 64 |.nil...n|ot found|
|00000940| 0a 09 09 09 74 09 09 09 | 73 70 65 6c 6c 65 64 20 |....t...|spelled |
|00000950| 6f 6b 0a 09 09 09 6c 69 | 73 74 20 6f 66 20 73 74 |ok....li|st of st|
|00000960| 72 69 6e 67 73 09 09 6e | 65 61 72 20 6d 69 73 73 |rings..n|ear miss|
|00000970| 65 73 0a 0a 3a 66 69 6c | 65 20 66 69 6c 65 6e 61 |es..:fil|e filena|
|00000980| 6d 65 09 73 63 61 6e 20 | 74 68 65 20 6e 61 6d 65 |me.scan |the name|
|00000990| 64 20 66 69 6c 65 2c 20 | 61 6e 64 20 70 72 69 6e |d file, |and prin|
|000009a0| 74 20 74 68 65 20 66 69 | 6c 65 20 6f 66 66 73 65 |t the fi|le offse|
|000009b0| 74 73 20 6f 66 0a 09 09 | 61 6e 79 20 6d 69 73 73 |ts of...|any miss|
|000009c0| 70 65 6c 6c 65 64 20 77 | 6f 72 64 73 0a 0a 3a 69 |pelled w|ords..:i|
|000009d0| 6e 73 65 72 74 20 77 6f | 72 64 09 70 75 74 20 77 |nsert wo|rd.put w|
|000009e0| 6f 72 64 20 69 6e 20 70 | 72 69 76 61 74 65 20 64 |ord in p|rivate d|
|000009f0| 69 63 74 6f 6e 61 72 79 | 0a 0a 3a 61 63 63 65 70 |ictonary|..:accep|
|00000a00| 74 20 77 6f 72 64 09 64 | 6f 6e 27 74 20 63 6f 6d |t word.d|on't com|
|00000a10| 70 6c 61 69 6e 20 61 62 | 6f 75 74 20 77 6f 72 64 |plain ab|out word|
|00000a20| 20 61 6e 79 20 6d 6f 72 | 65 20 74 68 69 73 20 73 | any mor|e this s|
|00000a30| 65 73 73 69 6f 6e 0a 0a | 3a 64 75 6d 70 09 09 77 |ession..|:dump..w|
|00000a40| 72 69 74 65 20 6f 75 74 | 20 74 68 65 20 63 75 72 |rite out| the cur|
|00000a50| 72 65 6e 74 20 70 72 69 | 76 61 74 65 20 64 69 63 |rent pri|vate dic|
|00000a60| 74 69 6f 6e 61 72 79 2c | 20 69 66 20 6e 65 63 65 |tionary,| if nece|
|00000a70| 73 73 61 72 79 2e 0a 0a | 3a 72 65 6c 6f 61 64 09 |ssary...|:reload.|
|00000a80| 09 72 65 72 65 61 64 20 | 7e 2f 69 73 70 65 6c 6c |.reread |~/ispell|
|00000a90| 2e 77 6f 72 64 73 0a 0a | 3a 74 65 78 0a 3a 74 72 |.words..|:tex.:tr|
|00000aa0| 6f 66 66 0a 3a 67 65 6e | 65 72 69 63 09 73 65 74 |off.:gen|eric.set|
|00000ab0| 20 74 79 70 65 20 6f 66 | 20 70 61 72 73 65 72 20 | type of| parser |
|00000ac0| 74 6f 20 75 73 65 20 77 | 68 65 6e 20 73 63 61 6e |to use w|hen scan|
|00000ad0| 6e 69 6e 67 20 77 68 6f | 6c 65 20 66 69 6c 65 73 |ning who|le files|
|00000ae0| 0a 22 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 8a |." (byte|-code ".|
|00000af0| c5 c0 21 88 c6 09 21 71 | 88 c7 70 21 88 c8 20 88 |..!...!q|..p!.. .|
|00000b00| 65 89 12 88 0b 85 27 00 | c9 09 0b 40 5c 22 88 0b |e.....'.|...@\"..|
|00000b10| 41 89 13 88 82 15 00 88 | c9 09 ca 5c 22 88 cb 09 |A.......|...\"...|
|00000b20| 21 88 c5 c4 21 29 87 22 | 20 5b 74 20 69 73 70 65 |!...!)."| [t ispe|
|00000b30| 6c 6c 2d 70 72 6f 63 65 | 73 73 20 69 73 70 65 6c |ll-proce|ss ispel|
|00000b40| 6c 2d 6e 65 78 74 2d 6d | 65 73 73 61 67 65 20 73 |l-next-m|essage s|
|00000b50| 74 72 69 6e 67 73 20 6e | 69 6c 20 69 73 70 65 6c |trings n|il ispel|
|00000b60| 6c 2d 73 79 6e 63 20 70 | 72 6f 63 65 73 73 2d 62 |l-sync p|rocess-b|
|00000b70| 75 66 66 65 72 20 62 75 | 72 79 2d 62 75 66 66 65 |uffer bu|ry-buffe|
|00000b80| 72 20 65 72 61 73 65 2d | 62 75 66 66 65 72 20 70 |r erase-|buffer p|
|00000b90| 72 6f 63 65 73 73 2d 73 | 65 6e 64 2d 73 74 72 69 |rocess-s|end-stri|
|00000ba0| 6e 67 20 22 0a 22 20 61 | 63 63 65 70 74 2d 70 72 |ng "." a|ccept-pr|
|00000bb0| 6f 63 65 73 73 2d 6f 75 | 74 70 75 74 5d 20 39 29 |ocess-ou|tput] 9)|
|00000bc0| 29 0a 0a 28 64 65 66 75 | 6e 20 69 73 70 65 6c 6c |)..(defu|n ispell|
|00000bd0| 2d 64 75 6d 70 20 6e 69 | 6c 20 28 62 79 74 65 2d |-dump ni|l (byte-|
|00000be0| 63 6f 64 65 20 22 08 85 | 0b 00 c1 89 10 88 c2 c3 |code "..|........|
|00000bf0| 21 87 22 20 5b 69 73 70 | 65 6c 6c 2d 64 75 6d 70 |!." [isp|ell-dump|
|00000c00| 2d 6e 65 65 64 65 64 20 | 6e 69 6c 20 69 73 70 65 |-needed |nil ispe|
|00000c10| 6c 6c 2d 63 6d 64 20 22 | 3a 64 75 6d 70 22 5d 20 |ll-cmd "|:dump"] |
|00000c20| 32 29 29 0a 0a 28 64 65 | 66 75 6e 20 69 73 70 65 |2))..(de|fun ispe|
|00000c30| 6c 6c 2d 69 6e 73 65 72 | 74 20 28 77 6f 72 64 29 |ll-inser|t (word)|
|00000c40| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c5 c6 08 | (byte-c|ode "...|
|00000c50| 5c 22 88 09 85 0e 00 08 | 0a 42 89 12 88 c4 89 13 |\"......|.B......|
|00000c60| 87 22 20 5b 77 6f 72 64 | 20 69 73 70 65 6c 6c 2d |." [word| ispell-|
|00000c70| 62 61 64 2d 77 6f 72 64 | 73 20 69 73 70 65 6c 6c |bad-word|s ispell|
|00000c80| 2d 72 65 63 65 6e 74 6c | 79 2d 61 63 63 65 70 74 |-recentl|y-accept|
|00000c90| 65 64 20 69 73 70 65 6c | 6c 2d 64 75 6d 70 2d 6e |ed ispel|l-dump-n|
|00000ca0| 65 65 64 65 64 20 74 20 | 69 73 70 65 6c 6c 2d 63 |eeded t |ispell-c|
|00000cb0| 6d 64 20 22 3a 69 6e 73 | 65 72 74 20 22 5d 20 33 |md ":ins|ert "] 3|
|00000cc0| 29 29 0a 0a 28 64 65 66 | 75 6e 20 69 73 70 65 6c |))..(def|un ispel|
|00000cd0| 6c 2d 61 63 63 65 70 74 | 20 28 77 6f 72 64 29 20 |l-accept| (word) |
|00000ce0| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c3 c4 08 5c |(byte-co|de "...\|
|00000cf0| 22 88 09 85 0e 00 08 0a | 42 89 12 87 22 20 5b 77 |".......|B..." [w|
|00000d00| 6f 72 64 20 69 73 70 65 | 6c 6c 2d 62 61 64 2d 77 |ord ispe|ll-bad-w|
|00000d10| 6f 72 64 73 20 69 73 70 | 65 6c 6c 2d 72 65 63 65 |ords isp|ell-rece|
|00000d20| 6e 74 6c 79 2d 61 63 63 | 65 70 74 65 64 20 69 73 |ntly-acc|epted is|
|00000d30| 70 65 6c 6c 2d 63 6d 64 | 20 22 3a 61 63 63 65 70 |pell-cmd| ":accep|
|00000d40| 74 20 22 5d 20 33 29 29 | 0a 0a 28 64 65 66 75 6e |t "] 3))|..(defun|
|00000d50| 20 69 73 70 65 6c 6c 2d | 6e 65 78 74 2d 6d 65 73 | ispell-|next-mes|
|00000d60| 73 61 67 65 20 6e 69 6c | 20 22 5c 0a 52 65 74 75 |sage nil| "\.Retu|
|00000d70| 72 6e 20 74 68 65 20 6e | 65 78 74 20 6d 65 73 73 |rn the n|ext mess|
|00000d80| 61 67 65 20 73 65 6e 74 | 20 62 79 20 74 68 65 20 |age sent| by the |
|00000d90| 69 73 70 65 6c 6c 20 73 | 75 62 70 72 6f 63 65 73 |ispell s|ubproces|
|00000da0| 73 2e 22 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |s." (byt|e-code "|
|00000db0| 8a c2 08 21 71 88 c3 70 | 21 88 8c 09 62 88 c4 60 |...!q..p|!...b..`|
|00000dc0| c5 c6 21 88 60 5c 22 88 | 60 89 11 88 65 62 88 c7 |..!.`\".|`...eb..|
|00000dd0| 70 21 29 29 87 22 20 5b | 69 73 70 65 6c 6c 2d 70 |p!))." [|ispell-p|
|00000de0| 72 6f 63 65 73 73 20 69 | 73 70 65 6c 6c 2d 6e 65 |rocess i|spell-ne|
|00000df0| 78 74 2d 6d 65 73 73 61 | 67 65 20 70 72 6f 63 65 |xt-messa|ge proce|
|00000e00| 73 73 2d 62 75 66 66 65 | 72 20 62 75 72 79 2d 62 |ss-buffe|r bury-b|
|00000e10| 75 66 66 65 72 20 6e 61 | 72 72 6f 77 2d 74 6f 2d |uffer na|rrow-to-|
|00000e20| 72 65 67 69 6f 6e 20 66 | 6f 72 77 61 72 64 2d 73 |region f|orward-s|
|00000e30| 65 78 70 20 31 20 72 65 | 61 64 5d 20 36 29 29 0a |exp 1 re|ad] 6)).|
|00000e40| 0a 28 64 65 66 75 6e 20 | 69 73 70 65 6c 6c 2d 74 |.(defun |ispell-t|
|00000e50| 65 78 2d 62 75 66 66 65 | 72 2d 70 20 6e 69 6c 20 |ex-buffe|r-p nil |
|00000e60| 28 62 79 74 65 2d 63 6f | 64 65 20 22 08 c1 3e 87 |(byte-co|de "..>.|
|00000e70| 22 20 5b 6d 61 6a 6f 72 | 2d 6d 6f 64 65 20 28 70 |" [major|-mode (p|
|00000e80| 6c 61 69 6e 2d 54 65 58 | 2d 6d 6f 64 65 20 4c 61 |lain-TeX|-mode La|
|00000e90| 54 65 58 2d 6d 6f 64 65 | 29 5d 20 32 29 29 0a 0a |TeX-mode|)] 2))..|
|00000ea0| 28 64 65 66 75 6e 20 69 | 73 70 65 6c 6c 20 28 26 |(defun i|spell (&|
|00000eb0| 6f 70 74 69 6f 6e 61 6c | 20 62 75 66 20 73 74 61 |optional| buf sta|
|00000ec0| 72 74 20 65 6e 64 29 20 | 22 5c 0a 52 75 6e 20 69 |rt end) |"\.Run i|
|00000ed0| 73 70 65 6c 6c 20 6f 76 | 65 72 20 61 20 62 75 66 |spell ov|er a buf|
|00000ee0| 66 65 72 2e 20 20 28 41 | 63 74 75 61 6c 6c 79 20 |fer. (A|ctually |
|00000ef0| 6f 76 65 72 20 74 68 65 | 20 62 75 66 66 65 72 27 |over the| buffer'|
|00000f00| 73 20 66 69 6c 65 2e 29 | 0a 46 69 72 73 74 20 74 |s file.)|.First t|
|00000f10| 68 65 20 66 69 6c 65 20 | 69 73 20 73 63 61 6e 6e |he file |is scann|
|00000f20| 65 64 20 66 6f 72 20 6d | 69 73 73 70 65 6c 6c 65 |ed for m|isspelle|
|00000f30| 64 20 77 6f 72 64 73 2c | 20 74 68 65 6e 20 69 73 |d words,| then is|
|00000f40| 70 65 6c 6c 0a 65 6e 74 | 65 72 73 20 61 20 6c 6f |pell.ent|ers a lo|
|00000f50| 6f 70 20 77 69 74 68 20 | 74 68 65 20 66 6f 6c 6c |op with |the foll|
|00000f60| 6f 77 69 6e 67 20 63 6f | 6d 6d 61 6e 64 73 20 66 |owing co|mmands f|
|00000f70| 6f 72 20 65 76 65 72 79 | 20 6d 69 73 73 70 65 6c |or every| misspel|
|00000f80| 6c 65 64 20 77 6f 72 64 | 3a 0a 0a 44 49 47 49 54 |led word|:..DIGIT|
|00000f90| 09 4e 65 61 72 20 6d 69 | 73 73 20 73 65 6c 65 63 |.Near mi|ss selec|
|00000fa0| 74 6f 72 2e 20 20 49 66 | 20 74 68 65 20 6d 69 73 |tor. If| the mis|
|00000fb0| 73 70 65 6c 6c 65 64 20 | 77 6f 72 64 20 69 73 20 |spelled |word is |
|00000fc0| 27 63 6c 6f 73 65 27 20 | 74 6f 0a 09 73 6f 6d 65 |'close' |to..some|
|00000fd0| 20 77 6f 72 64 73 20 69 | 6e 20 74 68 65 20 64 69 | words i|n the di|
|00000fe0| 63 74 69 6f 6e 61 72 79 | 2c 20 74 68 65 79 20 61 |ctionary|, they a|
|00000ff0| 72 65 20 6f 66 66 65 72 | 65 64 20 61 73 20 6e 65 |re offer|ed as ne|
|00001000| 61 72 20 6d 69 73 73 65 | 73 2e 0a 72 09 52 65 70 |ar misse|s..r.Rep|
|00001010| 6c 61 63 65 2e 20 20 52 | 65 70 6c 61 63 65 20 74 |lace. R|eplace t|
|00001020| 68 65 20 77 6f 72 64 20 | 77 69 74 68 20 61 20 73 |he word |with a s|
|00001030| 74 72 69 6e 67 20 79 6f | 75 20 74 79 70 65 2e 20 |tring yo|u type. |
|00001040| 20 45 61 63 68 20 77 6f | 72 64 0a 09 6f 66 20 79 | Each wo|rd..of y|
|00001050| 6f 75 72 20 6e 65 77 20 | 73 74 72 69 6e 67 20 69 |our new |string i|
|00001060| 73 20 61 6c 73 6f 20 63 | 68 65 63 6b 65 64 2e 0a |s also c|hecked..|
|00001070| 69 09 49 6e 73 65 72 74 | 2e 20 20 49 6e 73 65 72 |i.Insert|. Inser|
|00001080| 74 20 74 68 69 73 20 77 | 6f 72 64 20 69 6e 20 79 |t this w|ord in y|
|00001090| 6f 75 72 20 70 72 69 76 | 61 74 65 20 64 69 63 74 |our priv|ate dict|
|000010a0| 6f 6e 61 72 79 20 28 6b | 65 70 74 20 69 6e 0a 09 |onary (k|ept in..|
|000010b0| 24 48 4f 4d 45 2f 69 73 | 70 65 6c 6c 2e 77 6f 72 |$HOME/is|pell.wor|
|000010c0| 64 73 29 0a 61 09 41 63 | 63 65 70 74 2e 20 20 41 |ds).a.Ac|cept. A|
|000010d0| 63 63 65 70 74 20 74 68 | 69 73 20 77 6f 72 64 20 |ccept th|is word |
|000010e0| 66 6f 72 20 74 68 65 20 | 72 65 73 74 20 6f 66 20 |for the |rest of |
|000010f0| 74 68 69 73 20 65 64 69 | 74 69 6e 67 20 73 65 73 |this edi|ting ses|
|00001100| 73 69 6f 6e 2c 0a 20 09 | 62 75 74 20 64 6f 6e 27 |sion,. .|but don'|
|00001110| 74 20 70 75 74 20 69 74 | 20 69 6e 20 79 6f 75 72 |t put it| in your|
|00001120| 20 70 72 69 76 61 74 65 | 20 64 69 63 74 6f 6e 61 | private| dictona|
|00001130| 72 79 2e 0a 6c 09 4c 6f | 6f 6b 75 70 2e 20 20 4c |ry..l.Lo|okup. L|
|00001140| 6f 6f 6b 20 66 6f 72 20 | 61 20 77 6f 72 64 20 69 |ook for |a word i|
|00001150| 6e 20 74 68 65 20 64 69 | 63 74 69 6f 6e 61 72 79 |n the di|ctionary|
|00001160| 20 62 79 20 66 61 73 74 | 20 62 69 6e 61 72 79 0a | by fast| binary.|
|00001170| 09 73 65 61 72 63 68 2c | 20 6f 72 20 73 65 61 72 |.search,| or sear|
|00001180| 63 68 20 66 6f 72 20 61 | 20 72 65 67 75 6c 61 72 |ch for a| regular|
|00001190| 20 65 78 70 72 65 73 73 | 69 6f 6e 20 69 6e 20 74 | express|ion in t|
|000011a0| 68 65 20 64 69 63 74 69 | 6f 6e 61 72 79 0a 09 75 |he dicti|onary..u|
|000011b0| 73 69 6e 67 20 67 72 65 | 70 2e 0a 53 50 41 43 45 |sing gre|p..SPACE|
|000011c0| 09 41 63 63 65 70 74 20 | 74 68 65 20 77 6f 72 64 |.Accept |the word|
|000011d0| 20 74 68 69 73 20 74 69 | 6d 65 2c 20 62 75 74 20 | this ti|me, but |
|000011e0| 63 6f 6d 70 6c 61 69 6e | 20 69 66 20 69 74 20 69 |complain| if it i|
|000011f0| 73 20 73 65 65 6e 20 61 | 67 61 69 6e 2e 0a 71 2c |s seen a|gain..q,|
|00001200| 20 43 2d 47 09 4c 65 61 | 76 65 20 74 68 65 20 63 | C-G.Lea|ve the c|
|00001210| 6f 6d 6d 61 6e 64 20 6c | 6f 6f 70 2e 20 20 59 6f |ommand l|oop. Yo|
|00001220| 75 20 63 61 6e 20 63 6f | 6d 65 20 62 61 63 6b 20 |u can co|me back |
|00001230| 6c 61 74 65 72 20 77 69 | 74 68 20 5c 5c 5b 69 73 |later wi|th \\[is|
|00001240| 70 65 6c 6c 2d 6e 65 78 | 74 5d 2e 22 20 28 69 6e |pell-nex|t]." (in|
|00001250| 74 65 72 61 63 74 69 76 | 65 29 20 28 62 79 74 65 |teractiv|e) (byte|
|00001260| 2d 63 6f 64 65 20 22 c6 | 88 08 3f 85 0a 00 cc 89 |-code ".|..?.....|
|00001270| 10 88 09 3f 85 13 00 cc | 89 11 88 0a 3f 85 1c 00 |...?....|....?...|
|00001280| 70 89 12 88 cd 0a 21 89 | 12 88 0a 3f 85 2b 00 ce |p.....!.|...?.+..|
|00001290| cf 21 88 8a 0a 71 88 0c | c6 1d 1b d0 8e 0b 3f 83 |.!...q..|......?.|
|000012a0| 4d 00 d1 d2 21 89 13 88 | c7 89 15 88 d3 65 64 0b |M...!...|.....ed.|
|000012b0| 23 82 5e 00 d4 0a 21 85 | 59 00 d5 d6 d7 0b 5c 22 |#.^...!.|Y.....\"|
|000012c0| 21 85 5e 00 d8 20 88 d9 | da 21 88 0e 08 85 6a 00 |!.^.. ..|.!....j.|
|000012d0| db 20 83 73 00 dc dd 21 | 82 76 00 dc de 21 88 dc |. .s...!|.v...!..|
|000012e0| d6 df 0b 08 09 24 21 29 | 2a 88 d9 e0 21 88 e1 20 |.....$!)|*...!.. |
|000012f0| 88 c6 c6 1e 0a 1e 09 e2 | e3 20 89 16 09 21 85 b8 |........|. ...!..|
|00001300| 00 09 cc 55 86 a3 00 0e | 09 09 57 85 b4 00 e4 e5 |...U....|..W.....|
|00001310| 20 0e 09 e6 5c 5c 5c 22 | 0e 0a 42 89 16 0a 88 82 | ...\\\"|..B.....|
|00001320| 8f 00 88 0e 09 0e 0a 42 | 89 16 0a 88 e7 0e 0a 21 |.......B|.......!|
|00001330| 89 16 0b 2a 29 88 e8 0e | 0b 40 21 3f 83 e0 00 c6 |...*)...|.@!?....|
|00001340| 89 16 0b 88 d9 e9 21 82 | e6 00 d9 ea 21 88 eb 20 |......!.|....!.. |
|00001350| 87 22 20 5b 73 74 61 72 | 74 20 65 6e 64 20 62 75 |." [star|t end bu|
|00001360| 66 20 66 69 6c 65 6e 61 | 6d 65 20 62 75 66 66 65 |f filena|me buffe|
|00001370| 72 2d 66 69 6c 65 2d 6e | 61 6d 65 20 64 65 6c 65 |r-file-n|ame dele|
|00001380| 74 65 2d 74 65 6d 70 20 | 6e 69 6c 20 74 20 69 73 |te-temp |nil t is|
|00001390| 70 65 6c 6c 2d 65 6e 61 | 62 6c 65 2d 74 65 78 2d |pell-ena|ble-tex-|
|000013a0| 70 61 72 73 65 72 20 70 | 6f 73 20 62 61 64 2d 77 |parser p|os bad-w|
|000013b0| 6f 72 64 73 20 69 73 70 | 65 6c 6c 2d 62 61 64 2d |ords isp|ell-bad-|
|000013c0| 77 6f 72 64 73 20 30 20 | 67 65 74 2d 62 75 66 66 |words 0 |get-buff|
|000013d0| 65 72 20 65 72 72 6f 72 | 20 22 43 61 6e 27 74 20 |er error| "Can't |
|000013e0| 66 69 6e 64 20 62 75 66 | 66 65 72 22 20 28 28 62 |find buf|fer" ((b|
|000013f0| 79 74 65 2d 63 6f 64 65 | 20 22 08 85 08 00 c1 c2 |yte-code| "......|
|00001400| c3 8f 87 22 20 5b 64 65 | 6c 65 74 65 2d 74 65 6d |..." [de|lete-tem|
|00001410| 70 20 6e 69 6c 20 28 62 | 79 74 65 2d 63 6f 64 65 |p nil (b|yte-code|
|00001420| 20 22 c1 08 21 87 22 20 | 5b 66 69 6c 65 6e 61 6d | "..!." |[filenam|
|00001430| 65 20 64 65 6c 65 74 65 | 2d 66 69 6c 65 5d 20 32 |e delete|-file] 2|
|00001440| 29 20 28 28 66 69 6c 65 | 2d 65 72 72 6f 72 20 28 |) ((file|-error (|
|00001450| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 87 22 20 5b |byte-cod|e ".." [|
|00001460| 6e 69 6c 5d 20 31 29 29 | 29 5d 20 33 29 29 20 6d |nil] 1))|)] 3)) m|
|00001470| 61 6b 65 2d 74 65 6d 70 | 2d 6e 61 6d 65 20 22 2f |ake-temp|-name "/|
|00001480| 74 6d 70 2f 69 73 70 65 | 6c 6c 22 20 77 72 69 74 |tmp/ispe|ll" writ|
|00001490| 65 2d 72 65 67 69 6f 6e | 20 62 75 66 66 65 72 2d |e-region| buffer-|
|000014a0| 6d 6f 64 69 66 69 65 64 | 2d 70 20 79 2d 6f 72 2d |modified|-p y-or-|
|000014b0| 6e 2d 70 20 66 6f 72 6d | 61 74 20 22 53 61 76 65 |n-p form|at "Save|
|000014c0| 20 66 69 6c 65 20 25 73 | 3f 20 22 20 73 61 76 65 | file %s|? " save|
|000014d0| 2d 62 75 66 66 65 72 20 | 6d 65 73 73 61 67 65 20 |-buffer |message |
|000014e0| 22 49 73 70 65 6c 6c 20 | 73 63 61 6e 6e 69 6e 67 |"Ispell |scanning|
|000014f0| 20 66 69 6c 65 2e 2e 2e | 22 20 69 73 70 65 6c 6c | file...|" ispell|
|00001500| 2d 74 65 78 2d 62 75 66 | 66 65 72 2d 70 20 69 73 |-tex-buf|fer-p is|
|00001510| 70 65 6c 6c 2d 63 6d 64 | 20 22 3a 74 65 78 22 20 |pell-cmd| ":tex" |
|00001520| 22 3a 67 65 6e 65 72 69 | 63 22 20 22 3a 66 69 6c |":generi|c" ":fil|
|00001530| 65 20 25 73 20 25 64 20 | 25 64 22 20 22 50 61 72 |e %s %d |%d" "Par|
|00001540| 73 69 6e 67 20 69 73 70 | 65 6c 6c 20 6f 75 74 70 |sing isp|ell outp|
|00001550| 75 74 20 2e 2e 2e 22 20 | 69 73 70 65 6c 6c 2d 66 |ut ..." |ispell-f|
|00001560| 6c 75 73 68 2d 62 61 64 | 2d 77 6f 72 64 73 20 6e |lush-bad|-words n|
|00001570| 75 6d 62 65 72 70 20 69 | 73 70 65 6c 6c 2d 6e 65 |umberp i|spell-ne|
|00001580| 78 74 2d 6d 65 73 73 61 | 67 65 20 73 65 74 2d 6d |xt-messa|ge set-m|
|00001590| 61 72 6b 65 72 20 6d 61 | 6b 65 2d 6d 61 72 6b 65 |arker ma|ke-marke|
|000015a0| 72 20 31 20 6e 72 65 76 | 65 72 73 65 20 6d 61 72 |r 1 nrev|erse mar|
|000015b0| 6b 65 72 70 20 22 4e 6f | 20 6d 69 73 73 70 65 6c |kerp "No| misspel|
|000015c0| 6c 69 6e 67 73 2e 22 20 | 22 49 73 70 65 6c 6c 20 |lings." |"Ispell |
|000015d0| 70 61 72 73 69 6e 67 20 | 64 6f 6e 65 2e 22 20 69 |parsing |done." i|
|000015e0| 73 70 65 6c 6c 2d 6e 65 | 78 74 5d 20 32 36 29 29 |spell-ne|xt] 26))|
|000015f0| 0a 0a 28 64 65 66 75 6e | 20 69 73 70 65 6c 6c 2d |..(defun| ispell-|
|00001600| 6e 65 78 74 20 6e 69 6c | 20 22 5c 0a 52 65 73 75 |next nil| "\.Resu|
|00001610| 6d 65 20 63 6f 6d 6d 61 | 6e 64 20 6c 6f 6f 70 20 |me comma|nd loop |
|00001620| 66 6f 72 20 6d 6f 73 74 | 20 72 65 63 65 6e 74 20 |for most| recent |
|00001630| 69 73 70 65 6c 6c 20 63 | 6f 6d 6d 61 6e 64 2e 22 |ispell c|ommand."|
|00001640| 20 28 69 6e 74 65 72 61 | 63 74 69 76 65 29 20 28 | (intera|ctive) (|
|00001650| 62 79 74 65 2d 63 6f 64 | 65 20 22 c1 88 c3 8e c4 |byte-cod|e ".....|
|00001660| c5 8d 29 88 c6 20 87 22 | 20 5b 69 73 70 65 6c 6c |..).. ."| [ispell|
|00001670| 2d 62 61 64 2d 77 6f 72 | 64 73 20 6e 69 6c 20 74 |-bad-wor|ds nil t|
|00001680| 20 28 28 62 79 74 65 2d | 63 6f 64 65 20 22 08 3f | ((byte-|code ".?|
|00001690| 83 0b 00 c3 c4 21 82 43 | 00 c5 08 40 21 83 1a 00 |.....!.C|...@!...|
|000016a0| c6 c7 c8 21 21 82 43 00 | 08 40 c1 3d 83 2b 00 c1 |...!!.C.|.@.=.+..|
|000016b0| 89 10 88 c6 c9 21 82 43 | 00 08 40 c2 3d 83 3c 00 |.....!.C|..@.=.<.|
|000016c0| c1 89 10 88 c6 ca 21 82 | 43 00 c1 89 10 88 c6 cb |......!.|C.......|
|000016d0| 21 87 22 20 5b 69 73 70 | 65 6c 6c 2d 62 61 64 2d |!." [isp|ell-bad-|
|000016e0| 77 6f 72 64 73 20 6e 69 | 6c 20 74 20 65 72 72 6f |words ni|l t erro|
|000016f0| 72 20 22 49 73 70 65 6c | 6c 20 68 61 73 20 6e 6f |r "Ispel|l has no|
|00001700| 74 20 79 65 74 20 62 65 | 65 6e 20 72 75 6e 2e 22 |t yet be|en run."|
|00001710| 20 6d 61 72 6b 65 72 70 | 20 6d 65 73 73 61 67 65 | markerp| message|
|00001720| 20 73 75 62 73 74 69 74 | 75 74 65 2d 63 6f 6d 6d | substit|ute-comm|
|00001730| 61 6e 64 2d 6b 65 79 73 | 20 22 54 79 70 65 20 5c |and-keys| "Type \|
|00001740| 5c 5b 69 73 70 65 6c 6c | 2d 6e 65 78 74 5d 20 74 |\[ispell|-next] t|
|00001750| 6f 20 63 6f 6e 74 69 6e | 75 65 2e 22 20 22 4e 6f |o contin|ue." "No|
|00001760| 20 6d 6f 72 65 20 6d 69 | 73 73 70 65 6c 6c 69 6e | more mi|sspellin|
|00001770| 67 73 20 28 62 75 74 20 | 63 68 65 63 6b 65 72 20 |gs (but |checker |
|00001780| 77 61 73 20 69 6e 74 65 | 72 72 75 70 74 65 64 2e |was inte|rrupted.|
|00001790| 29 22 20 22 49 73 70 65 | 6c 6c 20 64 6f 6e 65 2e |)" "Ispe|ll done.|
|000017a0| 22 20 22 42 61 64 20 69 | 73 70 65 6c 6c 20 69 6e |" "Bad i|spell in|
|000017b0| 74 65 72 6e 61 6c 20 6c | 69 73 74 22 5d 20 38 29 |ternal l|ist"] 8)|
|000017c0| 29 20 71 75 69 74 20 28 | 62 79 74 65 2d 63 6f 64 |) quit (|byte-cod|
|000017d0| 65 20 22 c3 8b 87 22 20 | 5b 6e 65 78 74 20 69 73 |e "..." |[next is|
|000017e0| 70 65 6c 6c 2d 62 61 64 | 2d 77 6f 72 64 73 20 6e |pell-bad|-words n|
|000017f0| 69 6c 20 28 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |il ((byt|e-code "|
|00001800| 8a c2 18 c3 09 40 89 10 | 21 85 27 00 c4 c5 08 21 |.....@..|!.'....!|
|00001810| 21 88 c6 20 88 c7 08 c8 | 5c 22 88 09 41 89 11 88 |!.. ....|\"..A...|
|00001820| c9 08 c2 5c 22 88 82 03 | 00 29 29 87 22 20 5b 6e |...\"...|.))." [n|
|00001830| 65 78 74 20 69 73 70 65 | 6c 6c 2d 62 61 64 2d 77 |ext ispe|ll-bad-w|
|00001840| 6f 72 64 73 20 6e 69 6c | 20 6d 61 72 6b 65 72 70 |ords nil| markerp|
|00001850| 20 73 77 69 74 63 68 2d | 74 6f 2d 62 75 66 66 65 | switch-|to-buffe|
|00001860| 72 20 6d 61 72 6b 65 72 | 2d 62 75 66 66 65 72 20 |r marker|-buffer |
|00001870| 70 75 73 68 2d 6d 61 72 | 6b 20 69 73 70 65 6c 6c |push-mar|k ispell|
|00001880| 2d 70 6f 69 6e 74 20 22 | 61 74 20 73 61 76 65 64 |-point "|at saved|
|00001890| 20 70 6f 73 69 74 69 6f | 6e 2e 22 20 73 65 74 2d | positio|n." set-|
|000018a0| 6d 61 72 6b 65 72 5d 20 | 39 29 29 5d 20 31 29 20 |marker] |9))] 1) |
|000018b0| 69 73 70 65 6c 6c 2d 64 | 75 6d 70 5d 20 32 29 29 |ispell-d|ump] 2))|
|000018c0| 0a 0a 28 64 65 66 75 6e | 20 69 73 70 65 6c 6c 2d |..(defun| ispell-|
|000018d0| 77 6f 72 64 20 6e 69 6c | 20 22 5c 0a 43 68 65 63 |word nil| "\.Chec|
|000018e0| 6b 20 74 68 65 20 73 70 | 65 6c 6c 69 6e 67 20 6f |k the sp|elling o|
|000018f0| 66 20 74 68 65 20 77 6f | 72 64 20 75 6e 64 65 72 |f the wo|rd under|
|00001900| 20 74 68 65 20 63 75 72 | 73 6f 72 2e 20 20 53 65 | the cur|sor. Se|
|00001910| 65 20 27 69 73 70 65 6c | 6c 27 0a 66 6f 72 20 6d |e 'ispel|l'.for m|
|00001920| 6f 72 65 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |ore docu|mentatio|
|00001930| 6e 2e 22 20 28 69 6e 74 | 65 72 61 63 74 69 76 65 |n." (int|eractive|
|00001940| 29 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 88 |) (byte-|code "..|
|00001950| c1 c2 c3 8f 87 22 20 5b | 6e 69 6c 20 65 72 72 20 |....." [|nil err |
|00001960| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 c1 8d 87 |(byte-co|de "....|
|00001970| 22 20 5b 71 75 69 74 20 | 28 62 79 74 65 2d 63 6f |" [quit |(byte-co|
|00001980| 64 65 20 22 c0 8b 88 c1 | 20 87 22 20 5b 28 28 62 |de "....| ." [((b|
|00001990| 79 74 65 2d 63 6f 64 65 | 20 22 c0 60 c1 5c 22 87 |yte-code| ".`.\".|
|000019a0| 22 20 5b 69 73 70 65 6c | 6c 2d 70 6f 69 6e 74 20 |" [ispel|l-point |
|000019b0| 22 61 74 20 70 6f 69 6e | 74 2e 22 5d 20 33 29 29 |"at poin|t."] 3))|
|000019c0| 20 69 73 70 65 6c 6c 2d | 64 75 6d 70 5d 20 32 29 | ispell-|dump] 2)|
|000019d0| 5d 20 32 29 20 28 28 69 | 73 70 65 6c 6c 2d 73 74 |] 2) ((i|spell-st|
|000019e0| 61 72 74 75 70 2d 65 72 | 72 6f 72 20 28 62 79 74 |artup-er|ror (byt|
|000019f0| 65 2d 63 6f 64 65 20 22 | c1 c2 21 85 12 00 c3 c4 |e-code "|..!.....|
|00001a00| 21 88 c5 08 c6 c7 23 88 | c7 20 87 22 20 5b 65 73 |!.....#.|. ." [es|
|00001a10| 63 2d 6d 61 70 20 79 2d | 6f 72 2d 6e 2d 70 20 22 |c-map y-|or-n-p "|
|00001a20| 50 72 6f 62 6c 65 6d 20 | 73 74 61 72 74 69 6e 67 |Problem |starting|
|00001a30| 20 69 73 70 65 6c 6c 2c | 20 75 73 65 20 6f 6c 64 | ispell,| use old|
|00001a40| 2d 73 74 79 6c 65 20 73 | 70 65 6c 6c 20 69 6e 73 |-style s|pell ins|
|00001a50| 74 65 61 64 3f 20 22 20 | 6c 6f 61 64 2d 6c 69 62 |tead? " |load-lib|
|00001a60| 72 61 72 79 20 22 73 70 | 65 6c 6c 22 20 64 65 66 |rary "sp|ell" def|
|00001a70| 69 6e 65 2d 6b 65 79 20 | 22 24 22 20 73 70 65 6c |ine-key |"$" spel|
|00001a80| 6c 2d 77 6f 72 64 5d 20 | 36 29 29 29 5d 20 33 29 |l-word] |6)))] 3)|
|00001a90| 29 0a 0a 28 64 65 66 75 | 6e 20 69 73 70 65 6c 6c |)..(defu|n ispell|
|00001aa0| 2d 72 65 67 69 6f 6e 20 | 28 73 74 61 72 74 20 26 |-region |(start &|
|00001ab0| 6f 70 74 69 6f 6e 61 6c | 20 65 6e 64 29 20 22 5c |optional| end) "\|
|00001ac0| 0a 43 68 65 63 6b 20 74 | 68 65 20 73 70 65 6c 6c |.Check t|he spell|
|00001ad0| 69 6e 67 20 66 6f 72 20 | 61 6c 6c 20 6f 66 20 74 |ing for |all of t|
|00001ae0| 68 65 20 77 6f 72 64 73 | 20 69 6e 20 74 68 65 20 |he words| in the |
|00001af0| 72 65 67 69 6f 6e 2e 22 | 20 28 69 6e 74 65 72 61 |region."| (intera|
|00001b00| 63 74 69 76 65 20 22 72 | 22 29 20 28 62 79 74 65 |ctive "r|") (byte|
|00001b10| 2d 63 6f 64 65 20 22 c2 | 88 c3 70 08 09 23 87 22 |-code ".|..p..#."|
|00001b20| 20 5b 73 74 61 72 74 20 | 65 6e 64 20 6e 69 6c 20 | [start |end nil |
|00001b30| 69 73 70 65 6c 6c 5d 20 | 34 29 29 0a 0a 28 64 65 |ispell] |4))..(de|
|00001b40| 66 75 6e 20 69 73 70 65 | 6c 6c 2d 6c 65 74 74 65 |fun ispe|ll-lette|
|00001b50| 72 70 20 28 63 29 20 28 | 62 79 74 65 2d 63 6f 64 |rp (c) (|byte-cod|
|00001b60| 65 20 22 08 85 1f 00 08 | c1 59 85 0d 00 08 c2 58 |e ".....|.Y.....X|
|00001b70| 86 1f 00 08 c3 59 85 19 | 00 08 c4 58 86 1f 00 08 |.....Y..|...X....|
|00001b80| c5 59 87 22 20 5b 63 20 | 36 35 20 39 30 20 39 37 |.Y." [c |65 90 97|
|00001b90| 20 31 32 32 20 31 32 38 | 5d 20 32 29 29 0a 0a 28 | 122 128|] 2))..(|
|00001ba0| 64 65 66 75 6e 20 69 73 | 70 65 6c 6c 2d 6c 65 74 |defun is|pell-let|
|00001bb0| 74 65 72 2d 6f 72 2d 71 | 75 6f 74 65 70 20 28 63 |ter-or-q|uotep (c|
|00001bc0| 29 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 08 85 |) (byte-|code "..|
|00001bd0| 25 00 08 c1 59 85 0d 00 | 08 c2 58 86 25 00 08 c3 |%...Y...|..X.%...|
|00001be0| 59 85 19 00 08 c4 58 86 | 25 00 08 c5 55 86 25 00 |Y.....X.|%...U.%.|
|00001bf0| 08 c6 59 87 22 20 5b 63 | 20 36 35 20 39 30 20 39 |..Y." [c| 65 90 9|
|00001c00| 37 20 31 32 32 20 33 39 | 20 31 32 38 5d 20 32 29 |7 122 39| 128] 2)|
|00001c10| 29 0a 0a 28 64 65 66 75 | 6e 20 69 73 70 65 6c 6c |)..(defu|n ispell|
|00001c20| 2d 66 69 6e 64 2d 77 6f | 72 64 2d 73 74 61 72 74 |-find-wo|rd-start|
|00001c30| 20 6e 69 6c 20 28 62 79 | 74 65 2d 63 6f 64 65 20 | nil (by|te-code |
|00001c40| 22 c0 60 66 21 3f 85 1d | 00 6f 3f 85 14 00 c0 60 |".`f!?..|.o?....`|
|00001c50| c1 5a 66 21 3f 85 1d 00 | c2 20 88 82 08 00 88 c3 |.Zf!?...|. ......|
|00001c60| 60 c1 5a 66 21 85 2d 00 | c2 20 88 82 1e 00 88 c4 |`.Zf!.-.|. ......|
|00001c70| c5 21 87 22 20 5b 69 73 | 70 65 6c 6c 2d 6c 65 74 |.!." [is|pell-let|
|00001c80| 74 65 72 70 20 31 20 62 | 61 63 6b 77 61 72 64 2d |terp 1 b|ackward-|
|00001c90| 63 68 61 72 20 69 73 70 | 65 6c 6c 2d 6c 65 74 74 |char isp|ell-lett|
|00001ca0| 65 72 2d 6f 72 2d 71 75 | 6f 74 65 70 20 73 6b 69 |er-or-qu|otep ski|
|00001cb0| 70 2d 63 68 61 72 73 2d | 66 6f 72 77 61 72 64 20 |p-chars-|forward |
|00001cc0| 22 27 22 5d 20 37 29 29 | 0a 0a 28 64 65 66 75 6e |"'"] 7))|..(defun|
|00001cd0| 20 69 73 70 65 6c 6c 2d | 66 69 6e 64 2d 77 6f 72 | ispell-|find-wor|
|00001ce0| 64 2d 65 6e 64 20 6e 69 | 6c 20 28 62 79 74 65 2d |d-end ni|l (byte-|
|00001cf0| 63 6f 64 65 20 22 c0 60 | 66 21 85 0d 00 c1 20 88 |code ".`|f!.... .|
|00001d00| 82 00 00 88 c2 c3 21 87 | 22 20 5b 69 73 70 65 6c |......!.|" [ispel|
|00001d10| 6c 2d 6c 65 74 74 65 72 | 2d 6f 72 2d 71 75 6f 74 |l-letter|-or-quot|
|00001d20| 65 70 20 66 6f 72 77 61 | 72 64 2d 63 68 61 72 20 |ep forwa|rd-char |
|00001d30| 73 6b 69 70 2d 63 68 61 | 72 73 2d 62 61 63 6b 77 |skip-cha|rs-backw|
|00001d40| 61 72 64 20 22 27 22 5d | 20 34 29 29 0a 0a 28 64 |ard "'"]| 4))..(d|
|00001d50| 65 66 75 6e 20 69 73 70 | 65 6c 6c 2d 6e 65 78 74 |efun isp|ell-next|
|00001d60| 2d 77 6f 72 64 20 6e 69 | 6c 20 28 62 79 74 65 2d |-word ni|l (byte-|
|00001d70| 63 6f 64 65 20 22 6d 3f | 85 0a 00 c0 60 66 21 3f |code "m?|....`f!?|
|00001d80| 85 13 00 c1 20 88 82 00 | 00 87 22 20 5b 69 73 70 |.... ...|.." [isp|
|00001d90| 65 6c 6c 2d 6c 65 74 74 | 65 72 70 20 66 6f 72 77 |ell-lett|erp forw|
|00001da0| 61 72 64 2d 63 68 61 72 | 5d 20 34 29 29 0a 0a 28 |ard-char|] 4))..(|
|00001db0| 64 65 66 75 6e 20 69 73 | 70 65 6c 6c 2d 70 6f 69 |defun is|pell-poi|
|00001dc0| 6e 74 20 28 73 74 61 72 | 74 20 6d 65 73 73 61 67 |nt (star|t messag|
|00001dd0| 65 29 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c9 |e) (byte|-code ".|
|00001de0| 20 c5 c5 1a 19 18 8a 0b | 62 88 ca 20 88 cb 20 89 | .......|b.. .. .|
|00001df0| 13 88 cc 20 88 cb 20 89 | 12 88 0b 0a 59 85 25 00 |... .. .|....Y.%.|
|00001e00| cd ce 0c 5c 22 88 0b 0a | 57 85 9e 00 0b 62 88 cc |...\"...|W....b..|
|00001e10| 20 88 cf 08 60 5c 22 88 | c5 89 11 88 d0 0b 08 5c | ...`\".|.......\|
|00001e20| 22 89 16 06 88 d1 0e 06 | 21 85 8a 00 0b 62 88 d2 |".......|!....b..|
|00001e30| d3 21 88 c4 d4 d5 0e 06 | 5c 22 21 88 d6 0e 06 21 |.!......|\"!....!|
|00001e40| 88 d7 20 1c 0c c7 3d 83 | 6f 00 c4 d8 0e 06 5c 22 |.. ...=.|o.....\"|
|00001e50| 82 89 00 0c 3f 86 76 00 | 0c 3a 83 85 00 d9 0e 06 |....?.v.|.:......|
|00001e60| 0b 08 0c 24 89 11 82 89 | 00 cd da 0c 5c 22 29 88 |...$....|....\").|
|00001e70| 09 3f 85 9a 00 08 62 88 | db 20 88 cf 0b 60 5c 22 |.?....b.|. ...`\"|
|00001e80| 88 82 26 00 88 dc dd 21 | 1e 08 0e 08 85 af 00 0e |..&....!|........|
|00001e90| 08 71 88 de 20 29 88 cf | 0b c5 5c 22 88 cf 0a c5 |.q.. )..|..\"....|
|00001ea0| 5c 22 88 cf 08 c5 5c 22 | 29 2b 87 22 20 5b 77 65 |\"....\"|)+." [we|
|00001eb0| 6e 64 20 72 65 73 63 61 | 6e 20 65 6e 64 20 73 74 |nd resca|n end st|
|00001ec0| 61 72 74 20 6d 65 73 73 | 61 67 65 20 6e 69 6c 20 |art mess|age nil |
|00001ed0| 77 6f 72 64 20 74 20 62 | 75 66 20 6d 61 6b 65 2d |word t b|uf make-|
|00001ee0| 6d 61 72 6b 65 72 20 69 | 73 70 65 6c 6c 2d 66 69 |marker i|spell-fi|
|00001ef0| 6e 64 2d 77 6f 72 64 2d | 73 74 61 72 74 20 70 6f |nd-word-|start po|
|00001f00| 69 6e 74 2d 6d 61 72 6b | 65 72 20 69 73 70 65 6c |int-mark|er ispel|
|00001f10| 6c 2d 66 69 6e 64 2d 77 | 6f 72 64 2d 65 6e 64 20 |l-find-w|ord-end |
|00001f20| 65 72 72 6f 72 20 22 4e | 6f 20 77 6f 72 64 20 25 |error "N|o word %|
|00001f30| 73 22 20 73 65 74 2d 6d | 61 72 6b 65 72 20 62 75 |s" set-m|arker bu|
|00001f40| 66 66 65 72 2d 73 75 62 | 73 74 72 69 6e 67 20 69 |ffer-sub|string i|
|00001f50| 73 70 65 6c 6c 2d 73 74 | 69 6c 6c 2d 62 61 64 20 |spell-st|ill-bad |
|00001f60| 73 69 74 2d 66 6f 72 20 | 30 20 66 6f 72 6d 61 74 |sit-for |0 format|
|00001f70| 20 22 49 73 70 65 6c 6c | 20 63 68 65 63 6b 69 6e | "Ispell| checkin|
|00001f80| 67 20 25 73 22 20 69 73 | 70 65 6c 6c 2d 63 6d 64 |g %s" is|pell-cmd|
|00001f90| 20 69 73 70 65 6c 6c 2d | 6e 65 78 74 2d 6d 65 73 | ispell-|next-mes|
|00001fa0| 73 61 67 65 20 22 25 73 | 3a 20 6f 6b 22 20 69 73 |sage "%s|: ok" is|
|00001fb0| 70 65 6c 6c 2d 63 6f 6d | 6d 61 6e 64 2d 6c 6f 6f |pell-com|mand-loo|
|00001fc0| 70 20 22 75 6e 6b 6e 6f | 77 6e 20 69 73 70 65 6c |p "unkno|wn ispel|
|00001fd0| 6c 20 72 65 73 70 6f 6e | 73 65 20 25 73 22 20 69 |l respon|se %s" i|
|00001fe0| 73 70 65 6c 6c 2d 6e 65 | 78 74 2d 77 6f 72 64 20 |spell-ne|xt-word |
|00001ff0| 67 65 74 2d 62 75 66 66 | 65 72 20 22 2a 69 73 70 |get-buff|er "*isp|
|00002000| 65 6c 6c 20 63 68 6f 69 | 63 65 73 2a 22 20 65 72 |ell choi|ces*" er|
|00002010| 61 73 65 2d 62 75 66 66 | 65 72 5d 20 32 37 29 29 |ase-buff|er] 27))|
|00002020| 0a 0a 28 64 65 66 75 6e | 20 69 73 70 65 6c 6c 2d |..(defun| ispell-|
|00002030| 73 74 69 6c 6c 2d 62 61 | 64 20 28 77 6f 72 64 29 |still-ba|d (word)|
|00002040| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 09 c3 c3 | (byte-c|ode "...|
|00002050| 1c 1a 18 08 85 24 00 c7 | 08 40 0d 5c 22 c8 3d 85 |.....$..|.@.\".=.|
|00002060| 1b 00 c6 89 12 88 c6 89 | 10 88 08 41 89 10 88 82 |........|...A....|
|00002070| 06 00 88 0a 2b 87 22 20 | 5b 77 6f 72 64 73 20 69 |....+." |[words i|
|00002080| 73 70 65 6c 6c 2d 72 65 | 63 65 6e 74 6c 79 2d 61 |spell-re|cently-a|
|00002090| 63 63 65 70 74 65 64 20 | 72 65 74 20 74 20 63 61 |ccepted |ret t ca|
|000020a0| 73 65 2d 66 6f 6c 64 2d | 73 65 61 72 63 68 20 77 |se-fold-|search w|
|000020b0| 6f 72 64 20 6e 69 6c 20 | 73 74 72 69 6e 67 2d 6d |ord nil |string-m|
|000020c0| 61 74 63 68 20 30 5d 20 | 34 29 29 0a 0a 28 64 65 |atch 0] |4))..(de|
|000020d0| 66 75 6e 20 69 73 70 65 | 6c 6c 2d 73 68 6f 77 2d |fun ispe|ll-show-|
|000020e0| 63 68 6f 69 63 65 73 20 | 28 77 6f 72 64 20 6d 65 |choices |(word me|
|000020f0| 73 73 61 67 65 20 66 69 | 72 73 74 2d 6c 69 6e 65 |ssage fi|rst-line|
|00002100| 29 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 cb 20 |) (byte-|code ". |
|00002110| 18 08 cc 20 3d 19 cd ce | 21 1a cf 1b d0 0a 21 89 |... =...|!.....!.|
|00002120| 13 88 d1 0a 21 88 09 85 | 2a 00 d2 8e d3 0b 21 88 |....!...|*.....!.|
|00002130| d4 d5 d6 0b 21 5a 21 29 | 88 8a 0a 71 88 d7 0a 21 |....!Z!)|...q...!|
|00002140| 88 d8 0b 65 5c 22 88 d9 | 0b 65 5c 22 88 da 20 88 |...e\"..|.e\".. .|
|00002150| db 0c dc 5c 22 88 dd 63 | 88 0d 3f 3f 85 ab 00 de |...\"..c|..??....|
|00002160| 1e 06 0e 06 df 57 85 aa | 00 de 1e 07 0e 07 df 57 |.....W..|.......W|
|00002170| 85 9a 00 e0 0e 07 df 5c | 22 0e 06 5c 5c 1e 08 0e |.......\|"..\\...|
|00002180| 08 0d 38 1e 09 0e 09 85 | 8d 00 e1 e2 0e 08 0e 09 |..8.....|........|
|00002190| 23 1e 0a 0e 0a 63 88 e3 | e4 e5 0e 0a 47 5a 5c 22 |#....c..|....GZ\"|
|000021a0| 29 2a 88 0e 07 e6 5c 5c | 89 16 07 88 82 5b 00 29 |)*....\\|.....[.)|
|000021b0| 88 dc 63 88 0e 06 e6 5c | 5c 89 16 06 88 82 51 00 |..c....\|\.....Q.|
|000021c0| 29 29 2c 87 22 20 5b 73 | 65 6c 77 69 6e 20 72 65 |)),." [s|elwin re|
|000021d0| 73 69 7a 65 20 62 75 66 | 20 77 20 66 69 72 73 74 |size buf| w first|
|000021e0| 2d 6c 69 6e 65 20 6d 65 | 73 73 61 67 65 20 69 20 |-line me|ssage i |
|000021f0| 6a 20 6e 20 63 68 6f 69 | 63 65 20 73 74 72 20 73 |j n choi|ce str s|
|00002200| 65 6c 65 63 74 65 64 2d | 77 69 6e 64 6f 77 20 6e |elected-|window n|
|00002210| 65 78 74 2d 77 69 6e 64 | 6f 77 20 67 65 74 2d 62 |ext-wind|ow get-b|
|00002220| 75 66 66 65 72 2d 63 72 | 65 61 74 65 20 22 2a 69 |uffer-cr|eate "*i|
|00002230| 73 70 65 6c 6c 20 63 68 | 6f 69 63 65 73 2a 22 20 |spell ch|oices*" |
|00002240| 6e 69 6c 20 64 69 73 70 | 6c 61 79 2d 62 75 66 66 |nil disp|lay-buff|
|00002250| 65 72 20 62 75 66 66 65 | 72 2d 66 6c 75 73 68 2d |er buffe|r-flush-|
|00002260| 75 6e 64 6f 20 28 28 62 | 79 74 65 2d 63 6f 64 65 |undo ((b|yte-code|
|00002270| 20 22 c1 08 21 87 22 20 | 5b 73 65 6c 77 69 6e 20 | "..!." |[selwin |
|00002280| 73 65 6c 65 63 74 2d 77 | 69 6e 64 6f 77 5d 20 32 |select-w|indow] 2|
|00002290| 29 29 20 73 65 6c 65 63 | 74 2d 77 69 6e 64 6f 77 |)) selec|t-window|
|000022a0| 20 65 6e 6c 61 72 67 65 | 2d 77 69 6e 64 6f 77 20 | enlarge|-window |
|000022b0| 36 20 77 69 6e 64 6f 77 | 2d 68 65 69 67 68 74 20 |6 window|-height |
|000022c0| 62 75 72 79 2d 62 75 66 | 66 65 72 20 73 65 74 2d |bury-buf|fer set-|
|000022d0| 77 69 6e 64 6f 77 2d 70 | 6f 69 6e 74 20 73 65 74 |window-p|oint set|
|000022e0| 2d 77 69 6e 64 6f 77 2d | 73 74 61 72 74 20 65 72 |-window-|start er|
|000022f0| 61 73 65 2d 62 75 66 66 | 65 72 20 69 6e 73 65 72 |ase-buff|er inser|
|00002300| 74 20 22 0a 22 20 22 53 | 50 43 20 73 6b 69 70 3b |t "." "S|PC skip;|
|00002310| 20 41 20 61 63 63 65 70 | 74 3b 20 49 20 69 6e 73 | A accep|t; I ins|
|00002320| 65 72 74 3b 20 44 49 47 | 49 54 20 73 65 6c 65 63 |ert; DIG|IT selec|
|00002330| 74 3b 20 52 20 72 65 70 | 6c 61 63 65 3b 20 4c 20 |t; R rep|lace; L |
|00002340| 6c 6f 6f 6b 75 70 3b 20 | 51 20 71 75 69 74 0a 22 |lookup; |Q quit."|
|00002350| 20 30 20 33 20 2a 20 66 | 6f 72 6d 61 74 20 22 25 | 0 3 * f|ormat "%|
|00002360| 64 20 25 73 22 20 69 6e | 73 65 72 74 2d 63 68 61 |d %s" in|sert-cha|
|00002370| 72 20 33 32 20 32 30 20 | 31 5d 20 32 31 29 29 0a |r 32 20 |1] 21)).|
|00002380| 0a 28 64 65 66 75 6e 20 | 69 73 70 65 6c 6c 2d 63 |.(defun |ispell-c|
|00002390| 6f 6d 6d 61 6e 64 2d 6c | 6f 6f 70 20 28 77 6f 72 |ommand-l|oop (wor|
|000023a0| 64 20 73 74 61 72 74 20 | 65 6e 64 20 6d 65 73 73 |d start |end mess|
|000023b0| 61 67 65 29 20 28 62 79 | 74 65 2d 63 6f 64 65 20 |age) (by|te-code |
|000023c0| 22 c1 c3 c3 1c 1a 18 0d | 3f 83 15 00 cc 0e 06 cd |".......|?.......|
|000023d0| 51 89 14 82 1c 00 ce 0e | 06 cd 51 89 14 88 08 85 |Q.......|..Q.....|
|000023e0| f0 00 cf 0e 06 0d 0c 23 | 88 c5 d0 21 88 d1 72 21 |.......#|...!..r!|
|000023f0| c3 1e 08 1e 07 0e 07 d2 | 59 85 4b 00 0e 07 d3 58 |........|Y.K....X|
|00002400| 85 4b 00 0e 07 d2 5a 0d | 38 89 16 08 83 5d 00 d4 |.K....Z.|8....]..|
|00002410| 0e 09 0e 0a 0e 08 23 88 | c3 89 10 82 eb 00 0e 07 |......#.|........|
|00002420| d5 55 83 6b 00 d6 d7 c3 | 5c 22 82 eb 00 0e 07 d8 |.U.k....|\"......|
|00002430| 55 83 78 00 c3 89 10 82 | eb 00 0e 07 d9 55 83 93 |U.x.....|.....U..|
|00002440| 00 d4 0e 09 0e 0a da db | 21 23 88 c1 89 12 88 c3 |........|!#......|
|00002450| 89 10 82 eb 00 0e 07 dc | 55 83 a5 00 dd 0e 06 21 |........|U......!|
|00002460| 88 c3 89 10 82 eb 00 0e | 07 de 55 83 b7 00 df 0e |........|..U.....|
|00002470| 06 21 88 c3 89 10 82 eb | 00 0e 07 e0 55 83 d3 00 |.!......|....U...|
|00002480| e1 0e 06 21 1e 0b 0e 0b | 40 89 14 88 0e 0b 41 89 |...!....|@.....A.|
|00002490| 15 29 82 eb 00 0e 07 e2 | 55 83 e4 00 c5 e3 21 88 |.)......|U.....!.|
|000024a0| e4 e5 21 82 eb 00 c5 e6 | 21 88 e4 e5 21 2a 88 82 |..!.....|!...!*..|
|000024b0| 1d 00 88 0a 2b 87 22 20 | 5b 66 6c 61 67 20 74 20 |....+." |[flag t |
|000024c0| 72 65 73 63 61 6e 20 6e | 69 6c 20 66 69 72 73 74 |rescan n|il first|
|000024d0| 2d 6c 69 6e 65 20 6d 65 | 73 73 61 67 65 20 77 6f |-line me|ssage wo|
|000024e0| 72 64 20 63 20 72 65 70 | 6c 61 63 65 6d 65 6e 74 |rd c rep|lacement|
|000024f0| 20 73 74 61 72 74 20 65 | 6e 64 20 76 61 6c 20 22 | start e|nd val "|
|00002500| 4e 6f 20 6e 65 61 72 20 | 6d 69 73 73 65 73 20 66 |No near |misses f|
|00002510| 6f 72 20 27 22 20 22 27 | 22 20 22 4e 65 61 72 20 |or '" "'|" "Near |
|00002520| 6d 69 73 73 65 73 20 66 | 6f 72 20 27 22 20 69 73 |misses f|or '" is|
|00002530| 70 65 6c 6c 2d 73 68 6f | 77 2d 63 68 6f 69 63 65 |pell-sho|w-choice|
|00002540| 73 20 22 49 73 70 65 6c | 6c 20 63 6f 6d 6d 61 6e |s "Ispel|l comman|
|00002550| 64 3a 20 22 20 64 6f 77 | 6e 63 61 73 65 20 34 38 |d: " dow|ncase 48|
|00002560| 20 35 37 20 69 73 70 65 | 6c 6c 2d 72 65 70 6c 61 | 57 ispe|ll-repla|
|00002570| 63 65 20 31 31 33 20 74 | 68 72 6f 77 20 71 75 69 |ce 113 t|hrow qui|
|00002580| 74 20 33 32 20 31 31 34 | 20 72 65 61 64 2d 73 74 |t 32 114| read-st|
|00002590| 72 69 6e 67 20 22 52 65 | 70 6c 61 63 65 6d 65 6e |ring "Re|placemen|
|000025a0| 74 3a 20 22 20 31 30 35 | 20 69 73 70 65 6c 6c 2d |t: " 105| ispell-|
|000025b0| 69 6e 73 65 72 74 20 39 | 37 20 69 73 70 65 6c 6c |insert 9|7 ispell|
|000025c0| 2d 61 63 63 65 70 74 20 | 31 30 38 20 69 73 70 65 |-accept |108 ispe|
|000025d0| 6c 6c 2d 64 6f 2d 6c 6f | 6f 6b 20 36 33 20 22 54 |ll-do-lo|ok 63 "T|
|000025e0| 79 70 65 20 27 43 2d 68 | 20 64 20 69 73 70 65 6c |ype 'C-h| d ispel|
|000025f0| 6c 27 20 74 6f 20 74 68 | 65 20 65 6d 61 63 73 20 |l' to th|e emacs |
|00002600| 6d 61 69 6e 20 6c 6f 6f | 70 20 66 6f 72 20 6d 6f |main loo|p for mo|
|00002610| 72 65 20 68 65 6c 70 22 | 20 73 69 74 2d 66 6f 72 |re help"| sit-for|
|00002620| 20 32 20 22 42 61 64 20 | 69 73 70 65 6c 6c 20 63 | 2 "Bad |ispell c|
|00002630| 6f 6d 6d 61 6e 64 22 5d | 20 31 36 29 29 0a 0a 28 |ommand"]| 16))..(|
|00002640| 64 65 66 75 6e 20 69 73 | 70 65 6c 6c 2d 64 6f 2d |defun is|pell-do-|
|00002650| 6c 6f 6f 6b 20 28 62 61 | 64 2d 77 6f 72 64 29 20 |look (ba|d-word) |
|00002660| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c5 c5 c5 1a |(byte-co|de "....|
|00002670| 19 18 0b 3f 83 13 00 c6 | c7 21 89 10 82 19 00 c6 |...?....|.!......|
|00002680| c8 c9 5c 22 89 10 88 ca | cb 21 89 11 88 8a 09 71 |..\"....|.!.....q|
|00002690| 88 cc 65 64 5c 22 88 0b | 83 39 00 cd ce c5 09 c5 |..ed\"..|.9......|
|000026a0| cf 08 26 06 82 40 00 cd | ce c5 09 c5 08 25 88 65 |..&..@..|.....%.e|
|000026b0| 62 88 d0 d1 21 88 cc 60 | 64 5c 22 88 65 62 88 65 |b...!..`|d\".eb.e|
|000026c0| 64 55 3f 85 6e 00 d2 20 | 88 d3 65 60 5c 22 0a 42 |dU?.n.. |..e`\".B|
|000026d0| 89 12 88 d0 20 88 cc 65 | 60 5c 22 88 82 50 00 88 |.... ..e|`\"..P..|
|000026e0| d4 09 21 88 d5 d6 08 5c | 22 d7 0a 21 42 29 2b 87 |..!....\|"..!B)+.|
|000026f0| 22 20 5b 72 65 67 65 78 | 20 62 75 66 20 77 6f 72 |" [regex| buf wor|
|00002700| 64 73 20 69 73 70 65 6c | 6c 2d 68 61 76 65 2d 6e |ds ispel|l-have-n|
|00002710| 65 77 2d 6c 6f 6f 6b 20 | 74 20 6e 69 6c 20 72 65 |ew-look |t nil re|
|00002720| 61 64 2d 73 74 72 69 6e | 67 20 22 4c 6f 6f 6b 75 |ad-strin|g "Looku|
|00002730| 70 3a 20 22 20 22 4c 6f | 6f 6b 75 70 20 28 72 65 |p: " "Lo|okup (re|
|00002740| 67 65 78 29 3a 20 22 20 | 22 5e 22 20 67 65 74 2d |gex): " |"^" get-|
|00002750| 62 75 66 66 65 72 2d 63 | 72 65 61 74 65 20 22 2a |buffer-c|reate "*|
|00002760| 69 73 70 65 6c 6c 20 6c | 6f 6f 6b 2a 22 20 64 65 |ispell l|ook*" de|
|00002770| 6c 65 74 65 2d 72 65 67 | 69 6f 6e 20 63 61 6c 6c |lete-reg|ion call|
|00002780| 2d 70 72 6f 63 65 73 73 | 20 22 6c 6f 6f 6b 22 20 |-process| "look" |
|00002790| 22 2d 72 22 20 66 6f 72 | 77 61 72 64 2d 6c 69 6e |"-r" for|ward-lin|
|000027a0| 65 20 31 30 20 65 6e 64 | 2d 6f 66 2d 6c 69 6e 65 |e 10 end|-of-line|
|000027b0| 20 62 75 66 66 65 72 2d | 73 75 62 73 74 72 69 6e | buffer-|substrin|
|000027c0| 67 20 6b 69 6c 6c 2d 62 | 75 66 66 65 72 20 66 6f |g kill-b|uffer fo|
|000027d0| 72 6d 61 74 20 22 4c 6f | 6f 6b 75 70 20 27 25 73 |rmat "Lo|okup '%s|
|000027e0| 27 22 20 72 65 76 65 72 | 73 65 5d 20 31 37 29 29 |'" rever|se] 17))|
|000027f0| 0a 0a 28 64 65 66 75 6e | 20 69 73 70 65 6c 6c 2d |..(defun| ispell-|
|00002800| 72 65 70 6c 61 63 65 20 | 28 73 74 61 72 74 20 65 |replace |(start e|
|00002810| 6e 64 20 6e 65 77 29 20 | 28 62 79 74 65 2d 63 6f |nd new) |(byte-co|
|00002820| 64 65 20 22 08 62 88 09 | 63 88 c3 60 0a 5c 22 87 |de ".b..|c..`.\".|
|00002830| 22 20 5b 73 74 61 72 74 | 20 6e 65 77 20 65 6e 64 |" [start| new end|
|00002840| 20 64 65 6c 65 74 65 2d | 72 65 67 69 6f 6e 5d 20 | delete-|region] |
|00002850| 33 29 29 0a 0a 28 64 65 | 66 75 6e 20 72 65 6c 6f |3))..(de|fun relo|
|00002860| 61 64 2d 69 73 70 65 6c | 6c 20 6e 69 6c 20 22 5c |ad-ispel|l nil "\|
|00002870| 0a 54 65 6c 6c 20 69 73 | 70 65 6c 6c 20 74 6f 20 |.Tell is|pell to |
|00002880| 72 65 2d 72 65 61 64 20 | 79 6f 75 72 20 70 72 69 |re-read |your pri|
|00002890| 76 61 74 65 20 64 69 63 | 74 69 6f 6e 61 72 79 2e |vate dic|tionary.|
|000028a0| 22 20 28 69 6e 74 65 72 | 61 63 74 69 76 65 29 20 |" (inter|active) |
|000028b0| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 88 c1 c2 |(byte-co|de "....|
|000028c0| 21 87 22 20 5b 6e 69 6c | 20 69 73 70 65 6c 6c 2d |!." [nil| ispell-|
|000028d0| 63 6d 64 20 22 3a 72 65 | 6c 6f 61 64 22 5d 20 32 |cmd ":re|load"] 2|
|000028e0| 29 29 0a 0a 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |))..(def|ine-key |
|000028f0| 65 73 63 2d 6d 61 70 20 | 22 24 22 20 28 71 75 6f |esc-map |"$" (quo|
|00002900| 74 65 20 69 73 70 65 6c | 6c 2d 77 6f 72 64 29 29 |te ispel|l-word))|
|00002910| 0a 0a 28 64 65 66 69 6e | 65 2d 6b 65 79 20 63 74 |..(defin|e-key ct|
|00002920| 6c 2d 78 2d 6d 61 70 20 | 22 24 22 20 28 71 75 6f |l-x-map |"$" (quo|
|00002930| 74 65 20 69 73 70 65 6c | 6c 2d 6e 65 78 74 29 29 |te ispel|l-next))|
|00002940| 0a 0a 28 64 65 66 75 6e | 20 62 61 74 63 68 2d 6d |..(defun| batch-m|
|00002950| 61 6b 65 2d 69 73 70 65 | 6c 6c 20 6e 69 6c 20 28 |ake-ispe|ll nil (|
|00002960| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 c1 21 87 22 |byte-cod|e "..!."|
|00002970| 20 5b 62 79 74 65 2d 63 | 6f 6d 70 69 6c 65 2d 66 | [byte-c|ompile-f|
|00002980| 69 6c 65 20 22 69 73 70 | 65 6c 6c 2e 65 6c 22 5d |ile "isp|ell.el"]|
|00002990| 20 32 29 29 0a | | 2)). | |
+--------+-------------------------+-------------------------+--------+--------+