home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / lemacs-19.6 / lisp / ilisp / completer.elc < prev    next >
Emacs Compiled Lisp  |  1993-04-01  |  18.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


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

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
55% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
44% TrID Summation Document Image Information Load File default (weak)
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 34 3a 32 32 20 |Feb 1 1|8:54:22 |
|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 69 6c 69 | 73 70 2f 63 6f 6d 70 6c |lisp/ili|sp/compl|
|00000080| 65 74 65 72 2e 65 6c 0a | 3b 3b 3b 20 65 6d 61 63 |eter.el.|;;; emac|
|00000090| 73 20 76 65 72 73 69 6f | 6e 20 31 39 2e 34 2e 31 |s versio|n 19.4.1|
|000000a0| 33 20 4c 75 63 69 64 2e | 0a 3b 3b 3b 20 62 79 74 |3 Lucid.|.;;; byt|
|000000b0| 65 63 6f 6d 70 20 76 65 | 72 73 69 6f 6e 20 32 2e |ecomp ve|rsion 2.|
|000000c0| 31 30 3b 20 20 31 2d 66 | 65 62 2d 39 33 2e 0a 3b |10; 1-f|eb-93..;|
|000000d0| 3b 3b 20 6f 70 74 69 6d | 69 7a 61 74 69 6f 6e 20 |;; optim|ization |
|000000e0| 69 73 20 6f 6e 2e 0a 3b | 3b 3b 20 74 68 69 73 20 |is on..;|;; this |
|000000f0| 66 69 6c 65 20 75 73 65 | 73 20 6f 70 63 6f 64 65 |file use|s opcode|
|00000100| 73 20 77 68 69 63 68 20 | 64 6f 20 6e 6f 74 20 65 |s which |do not e|
|00000110| 78 69 73 74 20 69 6e 20 | 45 6d 61 63 73 31 38 2e |xist in |Emacs18.|
|00000120| 0a 0a 28 69 66 20 28 61 | 6e 64 20 28 62 6f 75 6e |..(if (a|nd (boun|
|00000130| 64 70 20 27 65 6d 61 63 | 73 2d 76 65 72 73 69 6f |dp 'emac|s-versio|
|00000140| 6e 29 0a 09 20 28 6f 72 | 20 28 61 6e 64 20 28 62 |n).. (or| (and (b|
|00000150| 6f 75 6e 64 70 20 27 65 | 70 6f 63 68 3a 3a 76 65 |oundp 'e|poch::ve|
|00000160| 72 73 69 6f 6e 29 20 65 | 70 6f 63 68 3a 3a 76 65 |rsion) e|poch::ve|
|00000170| 72 73 69 6f 6e 29 0a 09 | 20 20 20 20 20 28 73 74 |rsion)..| (st|
|00000180| 72 69 6e 67 2d 6c 65 73 | 73 70 20 65 6d 61 63 73 |ring-les|sp emacs|
|00000190| 2d 76 65 72 73 69 6f 6e | 20 22 31 39 22 29 29 29 |-version| "19")))|
|000001a0| 0a 20 20 20 20 28 65 72 | 72 6f 72 20 22 54 68 69 |. (er|ror "Thi|
|000001b0| 73 20 66 69 6c 65 20 77 | 61 73 20 63 6f 6d 70 69 |s file w|as compi|
|000001c0| 6c 65 64 20 66 6f 72 20 | 45 6d 61 63 73 31 39 2e |led for |Emacs19.|
|000001d0| 22 29 29 0a 0a 28 64 65 | 66 76 61 72 20 63 6f 6d |"))..(de|fvar com|
|000001e0| 70 6c 65 74 65 72 2d 6c | 6f 61 64 2d 68 6f 6f 6b |pleter-l|oad-hook|
|000001f0| 20 6e 69 6c 20 22 5c 0a | 48 6f 6f 6b 20 63 61 6c | nil "\.|Hook cal|
|00000200| 6c 65 64 20 77 68 65 6e | 20 6d 69 6e 69 62 75 66 |led when| minibuf|
|00000210| 66 65 72 20 70 61 72 74 | 69 61 6c 20 63 6f 6d 70 |fer part|ial comp|
|00000220| 6c 65 74 69 6f 6e 20 69 | 73 20 6c 6f 61 64 65 64 |letion i|s loaded|
|00000230| 2e 22 29 0a 28 64 65 66 | 76 61 72 20 63 6f 6d 70 |.").(def|var comp|
|00000240| 6c 65 74 65 72 2d 64 69 | 73 61 62 6c 65 20 6e 69 |leter-di|sable ni|
|00000250| 6c 20 22 5c 0a 2a 49 66 | 20 54 2c 20 74 75 72 6e |l "\.*If| T, turn|
|00000260| 20 6f 66 66 20 70 61 72 | 74 69 61 6c 20 63 6f 6d | off par|tial com|
|00000270| 70 6c 65 74 69 6f 6e 2e | 20 20 55 73 65 20 74 68 |pletion.| Use th|
|00000280| 65 20 63 6f 6d 6d 61 6e | 64 0a 5c 5c 5b 63 6f 6d |e comman|d.\\[com|
|00000290| 70 6c 65 74 65 72 2d 74 | 6f 67 67 6c 65 5d 20 74 |pleter-t|oggle] t|
|000002a0| 6f 20 73 65 74 20 74 68 | 69 73 2e 22 29 0a 28 64 |o set th|is.").(d|
|000002b0| 65 66 76 61 72 20 63 6f | 6d 70 6c 65 74 65 72 2d |efvar co|mpleter-|
|000002c0| 63 6f 6d 70 6c 65 74 65 | 2d 66 69 6c 65 6e 61 6d |complete|-filenam|
|000002d0| 65 73 20 74 20 22 5c 0a | 2a 49 66 20 54 2c 20 74 |es t "\.|*If T, t|
|000002e0| 68 65 6e 20 65 61 63 68 | 20 63 6f 6d 70 6f 6e 65 |hen each| compone|
|000002f0| 6e 74 20 6f 66 20 61 20 | 66 69 6c 65 6e 61 6d 65 |nt of a |filename|
|00000300| 20 77 69 6c 6c 20 62 65 | 20 63 6f 6d 70 6c 65 74 | will be| complet|
|00000310| 65 64 2c 0a 6f 74 68 65 | 72 77 69 73 65 20 6a 75 |ed,.othe|rwise ju|
|00000320| 73 74 20 74 68 65 20 66 | 69 6e 61 6c 20 63 6f 6d |st the f|inal com|
|00000330| 70 6f 6e 65 6e 74 20 77 | 69 6c 6c 20 62 65 20 63 |ponent w|ill be c|
|00000340| 6f 6d 70 6c 65 74 65 64 | 2e 22 29 0a 28 64 65 66 |ompleted|.").(def|
|00000350| 76 61 72 20 63 6f 6d 70 | 6c 65 74 65 72 2d 75 73 |var comp|leter-us|
|00000360| 65 2d 77 6f 72 64 73 20 | 74 20 22 5c 0a 2a 49 66 |e-words |t "\.*If|
|00000370| 20 54 2c 20 74 68 65 6e | 20 70 72 65 66 65 72 20 | T, then| prefer |
|00000380| 63 6f 6d 70 6c 65 74 69 | 6f 6e 73 20 77 69 74 68 |completi|ons with|
|00000390| 20 74 68 65 20 73 61 6d | 65 20 6e 75 6d 62 65 72 | the sam|e number|
|000003a0| 20 6f 66 20 77 6f 72 64 | 73 20 61 73 20 74 68 65 | of word|s as the|
|000003b0| 0a 70 61 74 74 65 72 6e | 2e 22 29 0a 28 64 65 66 |.pattern|.").(def|
|000003c0| 76 61 72 20 63 6f 6d 70 | 6c 65 74 65 72 2d 77 6f |var comp|leter-wo|
|000003d0| 72 64 73 20 22 2d 2d 2d | 2e 20 3c 22 20 22 5c 0a |rds "---|. <" "\.|
|000003e0| 2a 44 65 6c 69 6d 69 74 | 65 72 73 20 75 73 65 64 |*Delimit|ers used|
|000003f0| 20 69 6e 20 70 61 72 74 | 69 61 6c 20 63 6f 6d 70 | in part|ial comp|
|00000400| 6c 65 74 69 6f 6e 73 2e | 20 20 49 74 20 73 68 6f |letions.| It sho|
|00000410| 75 6c 64 20 62 65 20 61 | 20 73 65 74 20 6f 66 0a |uld be a| set of.|
|00000420| 63 68 61 72 61 63 74 65 | 72 73 20 73 75 69 74 61 |characte|rs suita|
|00000430| 62 6c 65 20 66 6f 72 20 | 69 6e 63 6c 75 73 69 6f |ble for |inclusio|
|00000440| 6e 20 69 6e 20 61 20 5b | 5d 20 72 65 67 75 6c 61 |n in a [|] regula|
|00000450| 72 20 65 78 70 72 65 73 | 73 69 6f 6e 2e 22 29 0a |r expres|sion.").|
|00000460| 28 64 65 66 76 61 72 20 | 63 6f 6d 70 6c 65 74 65 |(defvar |complete|
|00000470| 72 2d 61 6e 79 2d 64 65 | 6c 69 6d 69 74 65 72 20 |r-any-de|limiter |
|00000480| 6e 69 6c 20 22 5c 0a 2a | 49 66 20 61 20 63 68 61 |nil "\.*|If a cha|
|00000490| 72 61 63 74 65 72 2c 20 | 74 68 65 6e 20 61 20 64 |racter, |then a d|
|000004a0| 65 6c 69 6d 69 74 65 72 | 20 69 6e 20 74 68 65 20 |elimiter| in the |
|000004b0| 70 61 74 74 65 72 6e 20 | 74 68 61 74 20 6d 61 74 |pattern |that mat|
|000004c0| 63 68 65 73 20 74 68 65 | 0a 63 68 61 72 61 63 74 |ches the|.charact|
|000004d0| 65 72 20 77 69 6c 6c 20 | 6d 61 74 63 68 20 61 6e |er will |match an|
|000004e0| 79 20 64 65 6c 69 6d 69 | 74 65 72 20 69 6e 20 63 |y delimi|ter in c|
|000004f0| 6f 6d 70 6c 65 74 65 72 | 2d 77 6f 72 64 73 2e 22 |ompleter|-words."|
|00000500| 29 0a 28 64 65 66 76 61 | 72 20 63 6f 6d 70 6c 65 |).(defva|r comple|
|00000510| 74 65 72 2d 66 69 6c 65 | 2d 73 6b 69 70 20 22 5e |ter-file|-skip "^|
|00000520| 63 73 2f 24 5c 5c 7c 40 | 73 79 73 5c 5c 7c 2e 65 |cs/$\\|@|sys\\|.e|
|00000530| 64 75 2f 24 5c 5c 7c 2e | 67 6f 76 2f 24 5c 5c 7c |du/$\\|.|gov/$\\||
|00000540| 2e 63 6f 6d 2f 24 5c 5c | 7c 3a 2f 24 22 20 22 5c |.com/$\\||:/$" "\|
|00000550| 0a 2a 52 65 67 75 6c 61 | 72 20 65 78 70 72 65 73 |.*Regula|r expres|
|00000560| 73 69 6f 6e 20 66 6f 72 | 20 70 61 74 68 6e 61 6d |sion for| pathnam|
|00000570| 65 20 63 6f 6d 70 6f 6e | 65 6e 74 73 20 74 6f 20 |e compon|ents to |
|00000580| 6e 6f 74 20 63 6f 6d 70 | 6c 65 74 65 2e 22 29 0a |not comp|lete.").|
|00000590| 28 64 65 66 76 61 72 20 | 63 6f 6d 70 6c 65 74 65 |(defvar |complete|
|000005a0| 72 2d 65 78 61 63 74 20 | 6e 69 6c 20 22 5c 0a 2a |r-exact |nil "\.*|
|000005b0| 49 66 20 54 2c 20 74 68 | 65 6e 20 79 6f 75 20 6d |If T, th|en you m|
|000005c0| 75 73 74 20 68 61 76 65 | 20 61 6e 20 65 78 61 63 |ust have| an exac|
|000005d0| 74 20 6d 61 74 63 68 2e | 20 20 4f 74 68 65 72 77 |t match.| Otherw|
|000005e0| 69 73 65 2c 20 74 68 65 | 20 73 68 6f 72 74 65 73 |ise, the| shortes|
|000005f0| 74 0a 73 74 72 69 6e 67 | 20 74 68 61 74 20 6d 61 |t.string| that ma|
|00000600| 74 63 68 65 73 20 74 68 | 65 20 70 61 74 74 65 72 |tches th|e patter|
|00000610| 6e 20 77 69 6c 6c 20 62 | 65 20 75 73 65 64 2e 22 |n will b|e used."|
|00000620| 29 0a 28 64 65 66 76 61 | 72 20 63 6f 6d 70 6c 65 |).(defva|r comple|
|00000630| 74 65 72 2d 63 61 63 68 | 65 2d 73 69 7a 65 20 31 |ter-cach|e-size 1|
|00000640| 30 30 20 22 5c 0a 2a 53 | 69 7a 65 20 6f 66 20 63 |00 "\.*S|ize of c|
|00000650| 61 63 68 65 20 74 6f 20 | 75 73 65 20 66 6f 72 20 |ache to |use for |
|00000660| 70 61 72 74 69 61 6c 6c | 79 20 63 6f 6d 70 6c 65 |partiall|y comple|
|00000670| 74 65 64 20 70 61 74 68 | 6e 61 6d 65 73 2e 22 29 |ted path|names.")|
|00000680| 0a 28 64 65 66 76 61 72 | 20 63 6f 6d 70 6c 65 74 |.(defvar| complet|
|00000690| 65 72 2d 75 73 65 2d 63 | 61 63 68 65 20 74 20 22 |er-use-c|ache t "|
|000006a0| 5c 0a 2a 53 65 74 20 74 | 6f 20 6e 69 6c 20 74 6f |\.*Set t|o nil to|
|000006b0| 20 64 69 73 61 62 6c 65 | 20 74 68 65 20 70 61 72 | disable| the par|
|000006c0| 74 69 61 6c 6c 79 20 63 | 6f 6d 70 6c 65 74 65 64 |tially c|ompleted|
|000006d0| 20 70 61 74 68 6e 61 6d | 65 20 63 61 63 68 65 2e | pathnam|e cache.|
|000006e0| 22 29 0a 28 64 65 66 76 | 61 72 20 63 6f 6d 70 6c |").(defv|ar compl|
|000006f0| 65 74 65 72 2d 6c 61 73 | 74 2d 70 61 74 74 65 72 |eter-las|t-patter|
|00000700| 6e 20 22 22 20 22 5c 0a | 54 68 65 20 6c 61 73 74 |n "" "\.|The last|
|00000710| 20 70 61 74 74 65 72 6e | 20 65 78 70 61 6e 64 65 | pattern| expande|
|00000720| 64 2e 22 29 0a 28 64 65 | 66 76 61 72 20 63 6f 6d |d.").(de|fvar com|
|00000730| 70 6c 65 74 65 72 2d 6d | 65 73 73 61 67 65 20 6e |pleter-m|essage n|
|00000740| 69 6c 20 22 5c 0a 54 20 | 69 66 20 74 65 6d 70 6f |il "\.T |if tempo|
|00000750| 72 61 72 79 20 6d 65 73 | 73 61 67 65 20 77 61 73 |rary mes|sage was|
|00000760| 20 6a 75 73 74 20 64 69 | 73 70 6c 61 79 65 64 2e | just di|splayed.|
|00000770| 22 29 0a 28 64 65 66 76 | 61 72 20 63 6f 6d 70 6c |").(defv|ar compl|
|00000780| 65 74 65 72 2d 70 61 74 | 68 2d 63 61 63 68 65 20 |eter-pat|h-cache |
|00000790| 6e 69 6c 20 22 5c 0a 43 | 61 63 68 65 20 6f 66 20 |nil "\.C|ache of |
|000007a0| 28 70 61 74 68 20 2e 20 | 63 68 6f 69 63 65 73 29 |(path . |choices)|
|000007b0| 20 66 6f 72 20 63 6f 6d | 70 6c 65 74 65 72 2e 22 | for com|pleter."|
|000007c0| 29 0a 28 64 65 66 76 61 | 72 20 63 6f 6d 70 6c 65 |).(defva|r comple|
|000007d0| 74 65 72 2d 73 74 72 69 | 6e 67 20 6e 69 6c 20 22 |ter-stri|ng nil "|
|000007e0| 5c 0a 4c 61 73 74 20 63 | 6f 6d 70 6c 65 74 65 72 |\.Last c|ompleter|
|000007f0| 20 73 74 72 69 6e 67 2e | 22 29 0a 28 64 65 66 76 | string.|").(defv|
|00000800| 61 72 20 63 6f 6d 70 6c | 65 74 65 72 2d 74 61 62 |ar compl|eter-tab|
|00000810| 6c 65 20 6e 69 6c 20 22 | 5c 0a 4c 61 73 74 20 63 |le nil "|\.Last c|
|00000820| 6f 6d 70 6c 65 74 65 72 | 20 74 61 62 6c 65 2e 22 |ompleter| table."|
|00000830| 29 0a 28 64 65 66 76 61 | 72 20 63 6f 6d 70 6c 65 |).(defva|r comple|
|00000840| 74 65 72 2d 70 72 65 64 | 20 6e 69 6c 20 22 5c 0a |ter-pred| nil "\.|
|00000850| 4c 61 73 74 20 63 6f 6d | 70 6c 65 74 65 72 20 70 |Last com|pleter p|
|00000860| 72 65 64 2e 22 29 0a 28 | 64 65 66 76 61 72 20 63 |red.").(|defvar c|
|00000870| 6f 6d 70 6c 65 74 65 72 | 2d 6d 6f 64 65 20 6e 69 |ompleter|-mode ni|
|00000880| 6c 20 22 5c 0a 4c 61 73 | 74 20 63 6f 6d 70 6c 65 |l "\.Las|t comple|
|00000890| 74 65 72 20 6d 6f 64 65 | 2e 22 29 0a 28 64 65 66 |ter mode|.").(def|
|000008a0| 76 61 72 20 63 6f 6d 70 | 6c 65 74 65 72 2d 72 65 |var comp|leter-re|
|000008b0| 73 75 6c 74 20 6e 69 6c | 20 22 5c 0a 4c 61 73 74 |sult nil| "\.Last|
|000008c0| 20 63 6f 6d 70 6c 65 74 | 65 72 20 72 65 73 75 6c | complet|er resul|
|000008d0| 74 2e 22 29 0a 28 66 73 | 65 74 20 27 63 6f 6d 70 |t.").(fs|et 'comp|
|000008e0| 6c 65 74 65 72 2d 6d 65 | 73 73 61 67 65 20 23 5b |leter-me|ssage #[|
|000008f0| 28 6d 65 73 73 61 67 65 | 20 26 6f 70 74 69 6f 6e |(message| &option|
|00000900| 61 6c 20 70 6f 69 6e 74 | 29 20 22 08 ae 81 64 10 |al point|) "...d.|
|00000910| c1 12 8a 08 62 88 0b 63 | 88 60 29 c1 1c 1d c6 c7 |....b..c|.`).....|
|00000920| 21 88 08 0d 7c 88 c8 0e | 09 ca 5c 22 ae 8b 0e 0b |!...|...|..\"....|
|00000930| ad 87 cc 16 0b cd 89 16 | 0e 2a 87 22 20 5b 70 6f |........|.*." [po|
|00000940| 69 6e 74 20 74 20 63 6f | 6d 70 6c 65 74 65 72 2d |int t co|mpleter-|
|00000950| 6d 65 73 73 61 67 65 20 | 6d 65 73 73 61 67 65 20 |message |message |
|00000960| 69 6e 68 69 62 69 74 2d | 71 75 69 74 20 65 6e 64 |inhibit-|quit end|
|00000970| 20 73 69 74 2d 66 6f 72 | 20 32 20 73 74 72 69 6e | sit-for| 2 strin|
|00000980| 67 2d 6d 61 74 63 68 20 | 65 6d 61 63 73 2d 76 65 |g-match |emacs-ve|
|00000990| 72 73 69 6f 6e 20 22 4c | 75 63 69 64 22 20 71 75 |rsion "L|ucid" qu|
|000009a0| 69 74 2d 66 6c 61 67 20 | 6e 69 6c 20 37 20 75 6e |it-flag |nil 7 un|
|000009b0| 72 65 61 64 2d 63 6f 6d | 6d 61 6e 64 2d 63 68 61 |read-com|mand-cha|
|000009c0| 72 5d 20 33 20 22 5c 0a | 44 69 73 70 6c 61 79 20 |r] 3 "\.|Display |
|000009d0| 4d 45 53 53 41 47 45 20 | 61 74 20 6f 70 74 69 6f |MESSAGE |at optio|
|000009e0| 6e 61 6c 20 50 4f 49 4e | 54 20 66 6f 72 20 74 77 |nal POIN|T for tw|
|000009f0| 6f 20 73 65 63 6f 6e 64 | 73 2e 22 5d 29 0a 28 66 |o second|s."]).(f|
|00000a00| 73 65 74 20 27 63 6f 6d | 70 6c 65 74 65 72 2d 64 |set 'com|pleter-d|
|00000a10| 65 6c 65 74 65 72 20 23 | 5b 28 72 65 67 65 78 70 |eleter #|[(regexp|
|00000a20| 20 63 68 6f 69 63 65 73 | 20 26 6f 70 74 69 6f 6e | choices| &option|
|00000a30| 61 6c 20 6b 65 65 70 29 | 20 22 08 19 c2 1b 0c ab |al keep)| "......|
|00000a40| ae 09 ab 8e c5 0e 06 09 | 40 5c 22 ac 86 09 41 89 |........|@\"...A.|
|00000a50| 11 ac 72 09 13 0b 41 ab | c5 c5 0e 06 0b 41 40 5c |..r...A.|.....A@\|
|00000a60| 22 ab 86 0b 41 89 13 aa | 6e 0b 89 41 41 a1 88 aa |"...A...|n..AA...|
|00000a70| 65 09 ab 8e c5 0e 06 09 | 40 5c 22 ab 86 09 41 89 |e.......|@\"...A.|
|00000a80| 11 ac 72 09 13 0b 41 ab | 97 c5 0e 06 0b 41 40 5c |..r...A.|.....A@\|
|00000a90| 22 ab 88 0b 89 41 41 a1 | 88 aa 6b 0b 41 89 13 aa |"....AA.|..k.A...|
|00000aa0| 66 09 2a 87 22 20 5b 63 | 68 6f 69 63 65 73 20 63 |f.*." [c|hoices c|
|00000ab0| 68 6f 69 63 65 62 20 6e | 69 6c 20 63 68 6f 69 63 |hoiceb n|il choic|
|00000ac0| 65 70 20 6b 65 65 70 20 | 73 74 72 69 6e 67 2d 6d |ep keep |string-m|
|00000ad0| 61 74 63 68 20 72 65 67 | 65 78 70 5d 20 34 20 22 |atch reg|exp] 4 "|
|00000ae0| 5c 0a 44 65 73 74 72 75 | 63 74 69 76 65 6c 79 20 |\.Destru|ctively |
|00000af0| 72 65 6d 6f 76 65 20 73 | 74 72 69 6e 67 73 20 74 |remove s|trings t|
|00000b00| 68 61 74 20 6d 61 74 63 | 68 20 52 45 47 45 58 50 |hat matc|h REGEXP|
|00000b10| 20 69 6e 20 43 48 4f 49 | 43 45 53 20 61 6e 64 0a | in CHOI|CES and.|
|00000b20| 72 65 74 75 72 6e 20 74 | 68 65 20 6d 6f 64 69 66 |return t|he modif|
|00000b30| 69 65 64 20 6c 69 73 74 | 2e 20 20 49 66 20 6f 70 |ied list|. If op|
|00000b40| 74 69 6f 6e 61 6c 20 4b | 45 45 50 2c 20 74 68 65 |tional K|EEP, the|
|00000b50| 6e 20 6b 65 65 70 20 65 | 6e 74 72 69 65 73 20 74 |n keep e|ntries t|
|00000b60| 68 61 74 0a 6d 61 74 63 | 68 20 72 65 67 65 78 70 |hat.matc|h regexp|
|00000b70| 2e 22 5d 29 0a 28 66 73 | 65 74 20 27 63 6f 6d 70 |."]).(fs|et 'comp|
|00000b80| 6c 65 74 65 72 2d 72 65 | 67 65 78 70 20 23 5b 28 |leter-re|gexp #[(|
|00000b90| 73 74 72 69 6e 67 20 64 | 65 6c 69 6d 69 74 65 72 |string d|elimiter|
|00000ba0| 73 20 61 6e 79 29 20 22 | c0 09 c2 51 1b 0c 47 1d |s any) "|...Q..G.|
|00000bb0| c6 1e 07 c8 1e 09 0e 07 | 0d 57 ab c9 ca 0b 0c 0e |........|.W......|
|00000bc0| 07 23 ab c1 c6 94 1e 0b | c6 95 1e 0c 0c 0e 0b 0e |.#......|........|
|00000bd0| 0c 4f 1e 0d 0c 0e 0b 9c | 0e 0e 3d 1e 0f d0 d1 0e |.O......|..=.....|
|00000be0| 09 d2 0c 0e 07 0e 0b 4f | 21 0e 0f ab 83 09 aa 82 |.......O|!.......|
|00000bf0| 0e 0d 0e 0f ab 83 0b aa | 82 0e 0d 25 16 09 0e 0c |........|...%....|
|00000c00| 16 07 2c aa 31 0e 07 0d | 58 ad 8d 0e 09 d2 0c 0e |..,.1...|X.......|
|00000c10| 07 0d 4f 21 50 89 16 09 | 2c 87 22 20 5b 22 5b 22 |..O!P...|,." ["["|
|00000c20| 20 64 65 6c 69 6d 69 74 | 65 72 73 20 22 5d 22 20 | delimit|ers "]" |
|00000c30| 64 65 6c 69 6d 69 74 65 | 72 2d 72 65 67 20 73 74 |delimite|r-reg st|
|00000c40| 72 69 6e 67 20 6c 69 6d | 69 74 20 30 20 70 6f 73 |ring lim|it 0 pos|
|00000c50| 20 22 5e 22 20 72 65 67 | 65 78 70 20 73 74 72 69 | "^" reg|exp stri|
|00000c60| 6e 67 2d 6d 61 74 63 68 | 20 62 65 67 69 6e 20 65 |ng-match| begin e|
|00000c70| 6e 64 20 64 65 6c 69 6d | 69 74 65 72 20 61 6e 79 |nd delim|iter any|
|00000c80| 20 61 6e 79 70 20 66 6f | 72 6d 61 74 20 22 25 73 | anyp fo|rmat "%s|
|00000c90| 25 73 5b 5e 25 73 5d 2a | 25 73 22 20 72 65 67 65 |%s[^%s]*|%s" rege|
|00000ca0| 78 70 2d 71 75 6f 74 65 | 5d 20 37 20 22 5c 0a 43 |xp-quote|] 7 "\.C|
|00000cb0| 6f 6e 76 65 72 74 20 53 | 54 52 49 4e 47 20 69 6e |onvert S|TRING in|
|00000cc0| 74 6f 20 61 20 72 65 67 | 65 78 70 20 77 69 74 68 |to a reg|exp with|
|00000cd0| 20 77 6f 72 64 73 20 64 | 65 6c 69 6d 69 74 65 64 | words d|elimited|
|00000ce0| 20 62 79 20 63 68 61 72 | 61 63 74 65 72 73 20 69 | by char|acters i|
|00000cf0| 6e 0a 44 45 4c 49 4d 49 | 54 45 52 53 2e 20 20 41 |n.DELIMI|TERS. A|
|00000d00| 6e 79 20 64 65 6c 69 6d | 69 74 65 72 20 69 6e 20 |ny delim|iter in |
|00000d10| 53 54 52 49 4e 47 20 74 | 68 61 74 20 69 73 20 74 |STRING t|hat is t|
|00000d20| 68 65 20 73 61 6d 65 20 | 61 73 20 41 4e 59 20 77 |he same |as ANY w|
|00000d30| 69 6c 6c 0a 6d 61 74 63 | 68 20 61 6e 79 20 64 65 |ill.matc|h any de|
|00000d40| 6c 69 6d 69 74 65 72 2e | 22 5d 29 0a 28 66 73 65 |limiter.|"]).(fse|
|00000d50| 74 20 27 63 6f 6d 70 6c | 65 74 65 72 2d 77 6f 72 |t 'compl|eter-wor|
|00000d60| 64 73 20 23 5b 28 72 65 | 67 65 78 70 20 73 74 72 |ds #[(re|gexp str|
|00000d70| 69 6e 67 20 26 6f 70 74 | 69 6f 6e 61 6c 20 6c 69 |ing &opt|ional li|
|00000d80| 6d 69 74 29 20 22 08 ae | 81 c1 10 c2 c3 1c 1d c6 |mit) "..|........|
|00000d90| 0e 07 0e 08 0c 23 ab 8d | 0d 08 58 ab 88 0d 54 15 |.....#..|..X...T.|
|00000da0| c3 95 14 aa 6a 0d 2a 87 | 22 20 5b 6c 69 6d 69 74 |....j.*.|" [limit|
|00000db0| 20 31 30 30 30 20 31 20 | 30 20 70 6f 73 20 63 6f | 1000 1 |0 pos co|
|00000dc0| 75 6e 74 20 73 74 72 69 | 6e 67 2d 6d 61 74 63 68 |unt stri|ng-match|
|00000dd0| 20 72 65 67 65 78 70 20 | 73 74 72 69 6e 67 5d 20 | regexp |string] |
|00000de0| 34 20 22 5c 0a 52 65 74 | 75 72 6e 20 74 68 65 20 |4 "\.Ret|urn the |
|00000df0| 6e 75 6d 62 65 72 20 6f | 66 20 77 6f 72 64 73 20 |number o|f words |
|00000e00| 6d 61 74 63 68 69 6e 67 | 20 52 45 47 45 58 50 20 |matching| REGEXP |
|00000e10| 69 6e 20 53 54 52 49 4e | 47 20 75 70 20 74 6f 20 |in STRIN|G up to |
|00000e20| 4c 49 4d 49 54 2e 22 5d | 29 0a 28 66 73 65 74 20 |LIMIT."]|).(fset |
|00000e30| 27 63 6f 6d 70 6c 65 74 | 65 72 2d 6d 61 74 63 68 |'complet|er-match|
|00000e40| 65 73 20 23 5b 28 73 74 | 72 69 6e 67 20 63 68 6f |es #[(st|ring cho|
|00000e50| 69 63 65 73 20 64 65 6c | 69 6d 69 74 65 72 73 20 |ices del|imiters |
|00000e60| 61 6e 79 29 20 22 c0 09 | c2 51 1b c4 1d c6 1e 07 |any) "..|.Q......|
|00000e70| c4 1e 08 0e 09 47 1e 5c | 6e c4 1e 0b c4 1e 0c c4 |.....G.\|n.......|
|00000e80| 1e 0d c4 1e 0e c4 1e 0f | c4 1e 10 c4 1e 11 0d ae |........|........|
|00000e90| 81 c6 0e 5c 6e 57 ab d1 | d2 0b 0e 09 0d ad 82 0d |...\nW..|........|
|00000ea0| 54 23 ae 82 0e 5c 6e 16 | 07 0e 09 0d ae 81 c6 9c |T#...\n.|........|
|00000eb0| 0e 13 3d ab 96 0e 09 0d | ab 84 0d 54 aa 81 c6 0e |..=.....|...T....|
|00000ec0| 07 4f 89 16 0c 47 5b 16 | 0d aa 8f 0e 09 0d ae 81 |.O...G[.|........|
|00000ed0| c6 0e 07 4f 89 16 0c 47 | 16 0d 0e 0c 0e 0d 42 0e |...O...G|......B.|
|00000ee0| 08 42 16 08 0e 07 89 15 | aa 27 d4 0e 08 21 16 08 |.B......|.'...!..|
|00000ef0| c0 09 c2 51 13 0e 15 83 | 1b 01 0e 15 40 16 0e 0e |...Q....|....@...|
|00000f00| 08 16 0f c6 15 0e 0f ab | e7 0d ab e4 c4 1e 16 c4 |........|........|
|00000f10| 1e 17 0e 0f 40 89 16 11 | 41 89 16 10 c6 57 ab 8d |....@...|A....W..|
|00000f20| 0d 54 89 16 16 0e 10 5b | 5c 5c 16 17 aa 89 0d 89 |.T.....[|\\......|
|00000f30| 16 16 0e 10 5c 5c 16 17 | 0e 17 0e 0e 47 58 ad 91 |....\\..|....GX..|
|00000f40| 0e 10 c6 55 ae 8b 0e 11 | 40 0e 0e 0e 16 0e 17 4f |...U....|@......O|
|00000f50| 98 2a ab 9e d2 0b 0e 0e | 0d c6 55 ab 89 0e 10 c6 |.*......|..U.....|
|00000f60| 55 ab 83 0d aa 82 0d 54 | 23 15 0e 0f 41 89 16 0f |U......T|#...A...|
|00000f70| ac 19 0e 0f ac 87 0e 0e | 0e 0b 42 16 0b 0e 15 41 |........|..B....A|
|00000f80| 89 16 15 84 91 00 0e 0b | 2e 0c 87 22 20 5b 22 5b |........|..." ["[|
|00000f90| 22 20 64 65 6c 69 6d 69 | 74 65 72 73 20 22 5d 22 |" delimi|ters "]"|
|00000fa0| 20 72 65 67 65 78 70 20 | 6e 69 6c 20 66 72 6f 6d | regexp |nil from|
|00000fb0| 20 30 20 74 6f 20 70 61 | 74 74 65 72 6e 20 73 74 | 0 to pa|ttern st|
|00000fc0| 72 69 6e 67 20 6c 65 6e | 20 6d 61 74 63 68 65 73 |ring len| matches|
|00000fd0| 20 73 75 62 20 73 75 62 | 6c 65 6e 20 63 68 6f 69 | sub sub|len choi|
|00000fe0| 63 65 20 77 6f 72 64 20 | 77 6f 72 64 6c 65 6e 20 |ce word |wordlen |
|00000ff0| 70 61 74 20 73 74 72 69 | 6e 67 2d 6d 61 74 63 68 |pat stri|ng-match|
|00001000| 20 63 6f 6d 70 6c 65 74 | 65 72 2d 61 6e 79 2d 64 | complet|er-any-d|
|00001010| 65 6c 69 6d 69 74 65 72 | 20 72 65 76 65 72 73 65 |elimiter| reverse|
|00001020| 20 63 68 6f 69 63 65 73 | 20 62 65 67 69 6e 20 65 | choices| begin e|
|00001030| 6e 64 5d 20 36 20 22 5c | 0a 52 65 74 75 72 6e 20 |nd] 6 "\|.Return |
|00001040| 53 54 52 49 4e 47 27 73 | 20 6d 61 74 63 68 65 73 |STRING's| matches|
|00001050| 20 69 6e 20 43 48 4f 49 | 43 45 53 20 75 73 69 6e | in CHOI|CES usin|
|00001060| 67 20 44 45 4c 49 4d 49 | 54 45 52 53 20 61 6e 64 |g DELIMI|TERS and|
|00001070| 20 77 69 6c 64 63 61 72 | 64 0a 41 4e 59 20 74 6f | wildcar|d.ANY to|
|00001080| 20 73 65 67 6d 65 6e 74 | 20 74 68 65 20 73 74 72 | segment| the str|
|00001090| 69 6e 67 73 2e 22 5d 29 | 0a 28 66 73 65 74 20 27 |ings."])|.(fset '|
|000010a0| 63 6f 6d 70 6c 65 74 65 | 72 2d 63 68 6f 69 63 65 |complete|r-choice|
|000010b0| 20 23 5b 28 73 74 72 69 | 6e 67 20 63 68 6f 69 63 | #[(stri|ng choic|
|000010c0| 65 73 20 64 65 6c 69 6d | 69 74 65 72 73 20 75 73 |es delim|iters us|
|000010d0| 65 2d 77 6f 72 64 73 29 | 20 22 08 41 ac 87 08 40 |e-words)| ".A...@|
|000010e0| c1 42 86 a1 00 c2 0b c4 | 0b c5 b0 05 1e 06 0e 07 |.B......|........|
|000010f0| ad 86 c8 0e 06 0e 09 5c | 22 1e 5c 6e 08 1e 0b cc |.......\|".\n....|
|00001100| 1e 0d cc 1e 0e cc 1e 0f | d0 1e 11 0e 0b ab e7 0e |........|........|
|00001110| 0b 40 89 1e 12 47 1e 13 | 0e 0f ab a1 c8 0e 06 0e |.@...G..|........|
|00001120| 12 0e 5c 6e 23 0e 5c 6e | 55 ab c4 cc 16 0d 0e 13 |..\n#.\n|U.......|
|00001130| 0e 11 57 ab ba 0e 12 16 | 0e 0e 13 16 11 aa b0 0e |..W.....|........|
|00001140| 07 ab 9d c8 0e 06 0e 12 | 0e 5c 6e 23 0e 5c 6e 55 |........|.\n#.\nU|
|00001150| ab 90 0e 12 16 0e 0e 13 | 16 11 c1 16 0f c1 16 0d |........|........|
|00001160| aa 8f 0e 13 0e 11 57 ab | 88 0e 12 16 0e 0e 13 16 |......W.|........|
|00001170| 11 2a 0e 0b 41 89 16 0b | ac 19 0e 0e 0e 0d 2e 07 |.*..A...|........|
|00001180| 42 87 22 20 5b 63 68 6f | 69 63 65 73 20 74 20 22 |B." [cho|ices t "|
|00001190| 5b 5e 22 20 64 65 6c 69 | 6d 69 74 65 72 73 20 22 |[^" deli|miters "|
|000011a0| 5d 2a 5b 22 20 22 5d 22 | 20 72 65 67 65 78 70 20 |]*[" "]"| regexp |
|000011b0| 75 73 65 2d 77 6f 72 64 | 73 20 63 6f 6d 70 6c 65 |use-word|s comple|
|000011c0| 74 65 72 2d 77 6f 72 64 | 73 20 73 74 72 69 6e 67 |ter-word|s string|
|000011d0| 20 77 6f 72 64 73 20 63 | 68 6f 69 63 65 20 6e 69 | words c|hoice ni|
|000011e0| 6c 20 75 6e 69 71 75 65 | 2d 70 20 6d 61 74 63 68 |l unique|-p match|
|000011f0| 20 6d 61 74 63 68 2d 63 | 6f 75 6e 74 20 31 30 30 | match-c|ount 100|
|00001200| 30 20 6d 61 74 63 68 2d | 6c 65 6e 20 63 75 72 72 |0 match-|len curr|
|00001210| 65 6e 74 20 6c 65 6e 67 | 74 68 5d 20 36 20 22 5c |ent leng|th] 6 "\|
|00001220| 0a 52 65 74 75 72 6e 20 | 74 68 65 20 62 65 73 74 |.Return |the best|
|00001230| 20 6d 61 74 63 68 20 6f | 66 20 53 54 52 49 4e 47 | match o|f STRING|
|00001240| 20 69 6e 20 43 48 4f 49 | 43 45 53 20 77 69 74 68 | in CHOI|CES with|
|00001250| 20 44 45 4c 49 4d 49 54 | 45 52 53 20 62 65 74 77 | DELIMIT|ERS betw|
|00001260| 65 65 6e 0a 77 6f 72 64 | 73 20 61 6e 64 20 54 20 |een.word|s and T |
|00001270| 69 66 20 69 74 20 69 73 | 20 75 6e 69 71 75 65 2e |if it is| unique.|
|00001280| 20 20 41 20 6d 61 74 63 | 68 20 69 73 20 75 6e 69 | A matc|h is uni|
|00001290| 71 75 65 20 69 66 20 69 | 74 20 69 73 20 74 68 65 |que if i|t is the|
|000012a0| 20 6f 6e 6c 79 0a 70 6f | 73 73 69 62 69 6c 69 74 | only.po|ssibilit|
|000012b0| 79 20 6f 72 20 77 68 65 | 6e 20 55 53 45 2d 57 4f |y or whe|n USE-WO|
|000012c0| 52 44 53 20 74 68 65 20 | 6f 6e 6c 79 20 70 6f 73 |RDS the |only pos|
|000012d0| 73 69 62 69 6c 69 74 79 | 20 77 69 74 68 20 74 68 |sibility| with th|
|000012e0| 65 20 73 61 6d 65 0a 6e | 75 6d 62 65 72 20 6f 66 |e same.n|umber of|
|000012f0| 20 77 6f 72 64 73 2e 20 | 20 54 68 65 20 73 68 6f | words. | The sho|
|00001300| 72 74 65 73 74 20 73 74 | 72 69 6e 67 20 6f 66 20 |rtest st|ring of |
|00001310| 6d 75 6c 74 69 70 6c 65 | 20 70 6f 73 73 69 62 6c |multiple| possibl|
|00001320| 69 74 69 65 73 20 77 69 | 6c 6c 20 62 65 0a 74 68 |ities wi|ll be.th|
|00001330| 65 20 62 65 73 74 20 6d | 61 74 63 68 2e 22 5d 29 |e best m|atch."])|
|00001340| 0a 28 66 73 65 74 20 27 | 63 6f 6d 70 6c 65 74 65 |.(fset '|complete|
|00001350| 72 2d 72 65 67 69 6f 6e | 20 23 5b 28 64 65 6c 69 |r-region| #[(deli|
|00001360| 6d 69 74 65 72 73 29 20 | 22 8a 08 c1 78 88 60 29 |miters) |"...x.`)|
|00001370| 8a 08 c1 77 88 60 29 42 | 87 22 20 5b 64 65 6c 69 |...w.`)B|." [deli|
|00001380| 6d 69 74 65 72 73 20 6e | 69 6c 5d 20 33 20 22 5c |miters n|il] 3 "\|
|00001390| 0a 52 65 74 75 72 6e 20 | 74 68 65 20 63 6f 6d 70 |.Return |the comp|
|000013a0| 6c 65 74 69 6f 6e 20 72 | 65 67 69 6f 6e 20 62 6f |letion r|egion bo|
|000013b0| 75 6e 64 65 64 20 62 79 | 20 63 68 61 72 61 63 74 |unded by| charact|
|000013c0| 65 72 73 20 69 6e 20 44 | 45 4c 49 4d 49 54 45 52 |ers in D|ELIMITER|
|000013d0| 53 0a 66 6f 72 20 74 68 | 65 20 63 75 72 72 65 6e |S.for th|e curren|
|000013e0| 74 20 62 75 66 66 65 72 | 20 61 73 73 75 6d 69 6e |t buffer| assumin|
|000013f0| 67 20 74 68 61 74 20 70 | 6f 69 6e 74 20 69 73 20 |g that p|oint is |
|00001400| 69 6e 20 69 74 2e 22 5d | 29 0a 28 66 73 65 74 20 |in it."]|).(fset |
|00001410| 27 63 6f 6d 70 6c 65 74 | 65 72 2d 6c 61 73 74 2d |'complet|er-last-|
|00001420| 63 6f 6d 70 6f 6e 65 6e | 74 20 23 5b 28 73 74 72 |componen|t #[(str|
|00001430| 69 6e 67 29 20 22 08 47 | 53 c1 89 1a 1b 1c c5 c6 |ing) ".G|S.......|
|00001440| 08 5c 6e 23 89 13 ab 8a | 0b 0c 57 ab 85 0b 54 12 |.\n#....|..W...T.|
|00001450| aa 6d 5c 6e 2b 87 22 20 | 5b 73 74 72 69 6e 67 20 |.m\n+." |[string |
|00001460| 30 20 65 6e 64 20 6d 61 | 74 63 68 20 6c 61 73 74 |0 end ma|tch last|
|00001470| 20 73 74 72 69 6e 67 2d | 6d 61 74 63 68 20 22 2f | string-|match "/|
|00001480| 22 5d 20 34 20 22 5c 0a | 52 65 74 75 72 6e 20 74 |"] 4 "\.|Return t|
|00001490| 68 65 20 73 74 61 72 74 | 20 6f 66 20 74 68 65 20 |he start| of the |
|000014a0| 6c 61 73 74 20 66 69 6c | 65 6e 61 6d 65 20 63 6f |last fil|ename co|
|000014b0| 6d 70 6f 6e 65 6e 74 20 | 69 6e 20 53 54 52 49 4e |mponent |in STRIN|
|000014c0| 47 2e 22 5d 29 0a 28 66 | 73 65 74 20 27 63 6f 6d |G."]).(f|set 'com|
|000014d0| 70 6c 65 74 65 72 2d 6d | 61 74 63 68 2d 72 65 63 |pleter-m|atch-rec|
|000014e0| 6f 72 64 20 23 5b 28 73 | 74 72 69 6e 67 20 6d 61 |ord #[(s|tring ma|
|000014f0| 74 63 68 65 73 20 64 65 | 6c 69 6d 69 74 65 72 73 |tches de|limiters|
|00001500| 20 61 6e 79 20 64 69 72 | 20 6d 6f 64 65 29 20 22 | any dir| mode) "|
|00001510| 08 ab 88 09 c2 09 21 c3 | 4f aa 81 09 1c c5 0c 0e |......!.|O.......|
|00001520| 06 0e 07 0e 08 24 89 16 | 06 41 ab af 0e 09 3f ad |.....$..|.A....?.|
|00001530| 89 ca 0c 0e 06 0e 07 0e | 0b 24 08 cc cd ce cf 0e |........|.$......|
|00001540| 06 5c 22 5c 22 50 1e 10 | 89 1e 11 ad 85 08 0e 11 |.\"\"P..|........|
|00001550| 40 50 0e 10 0e 06 0e 11 | 41 46 2a aa 99 0e 06 ab |@P......|AF*.....|
|00001560| 90 08 0e 06 40 50 89 1e | 11 89 0e 06 d2 46 29 aa |....@P..|.....F).|
|00001570| 85 c3 89 89 89 46 29 87 | 22 20 5b 64 69 72 20 73 |.....F).|" [dir s|
|00001580| 74 72 69 6e 67 20 63 6f | 6d 70 6c 65 74 65 72 2d |tring co|mpleter-|
|00001590| 6c 61 73 74 2d 63 6f 6d | 70 6f 6e 65 6e 74 20 6e |last-com|ponent n|
|000015a0| 69 6c 20 70 61 74 74 65 | 72 6e 20 63 6f 6d 70 6c |il patte|rn compl|
|000015b0| 65 74 65 72 2d 6d 61 74 | 63 68 65 73 20 6d 61 74 |eter-mat|ches mat|
|000015c0| 63 68 65 73 20 64 65 6c | 69 6d 69 74 65 72 73 20 |ches del|imiters |
|000015d0| 61 6e 79 20 63 6f 6d 70 | 6c 65 74 65 72 2d 65 78 |any comp|leter-ex|
|000015e0| 61 63 74 20 63 6f 6d 70 | 6c 65 74 65 72 2d 63 68 |act comp|leter-ch|
|000015f0| 6f 69 63 65 20 63 6f 6d | 70 6c 65 74 65 72 2d 75 |oice com|pleter-u|
|00001600| 73 65 2d 77 6f 72 64 73 | 20 74 72 79 2d 63 6f 6d |se-words| try-com|
|00001610| 70 6c 65 74 69 6f 6e 20 | 22 22 20 6d 61 70 63 61 |pletion |"" mapca|
|00001620| 72 20 6c 69 73 74 20 6c | 63 73 20 6d 61 74 63 68 |r list l|cs match|
|00001630| 20 74 5d 20 38 20 22 5c | 0a 52 65 74 75 72 6e 20 | t] 8 "\|.Return |
|00001640| 28 6d 61 74 63 68 20 6c | 63 73 20 63 68 6f 69 63 |(match l|cs choic|
|00001650| 65 73 20 75 6e 69 71 75 | 65 29 20 66 6f 72 20 53 |es uniqu|e) for S|
|00001660| 54 52 49 4e 47 20 69 6e | 20 4d 41 54 43 48 45 53 |TRING in| MATCHES|
|00001670| 20 77 69 74 68 0a 44 45 | 4c 49 4d 49 54 45 52 53 | with.DE|LIMITERS|
|00001680| 20 6f 72 20 41 4e 59 20 | 77 69 6c 64 63 61 72 64 | or ANY |wildcard|
|00001690| 73 20 61 6e 64 20 44 49 | 52 20 69 66 20 61 20 66 |s and DI|R if a f|
|000016a0| 69 6c 65 6e 61 6d 65 20 | 77 68 65 6e 20 69 6e 20 |ilename |when in |
|000016b0| 4d 4f 44 45 2e 22 5d 29 | 0a 28 66 73 65 74 20 27 |MODE."])|.(fset '|
|000016c0| 63 6f 6d 70 6c 65 74 65 | 72 2d 65 78 74 65 6e 73 |complete|r-extens|
|000016d0| 69 6f 6e 2d 72 65 67 65 | 78 70 20 23 5b 28 65 78 |ion-rege|xp #[(ex|
|000016e0| 74 65 6e 73 69 6f 6e 73 | 29 20 22 c0 19 5c 6e ab |tensions|) "..\n.|
|000016f0| 90 09 5c 6e 40 5c 6e 41 | ad 81 c3 51 11 5c 6e 41 |..\n@\nA|...Q.\nA|
|00001700| 89 12 ac 70 09 c4 50 29 | 87 22 20 5b 22 5c 5c 28 |...p..P)|." ["\\(|
|00001710| 22 20 72 65 67 65 78 70 | 20 65 78 74 65 6e 73 69 |" regexp| extensi|
|00001720| 6f 6e 73 20 22 5c 5c 7c | 22 20 22 5c 5c 29 24 22 |ons "\\||" "\\)$"|
|00001730| 5d 20 34 20 22 5c 0a 52 | 65 74 75 72 6e 20 61 20 |] 4 "\.R|eturn a |
|00001740| 72 65 67 65 78 70 20 74 | 68 61 74 20 6d 61 74 63 |regexp t|hat matc|
|00001750| 68 65 73 20 61 6e 79 20 | 6f 66 20 45 58 54 45 4e |hes any |of EXTEN|
|00001760| 53 49 4f 4e 53 2e 22 5d | 29 0a 28 66 73 65 74 20 |SIONS."]|).(fset |
|00001770| 27 63 6f 6d 70 6c 65 74 | 65 72 2d 66 6c 75 73 68 |'complet|er-flush|
|00001780| 20 23 5b 6e 69 6c 20 22 | c0 89 11 87 22 20 5b 6e | #[nil "|...." [n|
|00001790| 69 6c 20 63 6f 6d 70 6c | 65 74 65 72 2d 70 61 74 |il compl|eter-pat|
|000017a0| 68 2d 63 61 63 68 65 5d | 20 32 20 22 5c 0a 46 6c |h-cache]| 2 "\.Fl|
|000017b0| 75 73 68 20 63 6f 6d 70 | 6c 65 74 65 72 27 73 20 |ush comp|leter's |
|000017c0| 70 61 74 68 6e 61 6d 65 | 20 63 61 63 68 65 2e 22 |pathname| cache."|
|000017d0| 20 6e 69 6c 5d 29 0a 28 | 66 73 65 74 20 27 63 6f | nil]).(|fset 'co|
|000017e0| 6d 70 6c 65 74 65 72 2d | 63 61 63 68 65 20 23 5b |mpleter-|cache #[|
|000017f0| 28 70 61 74 68 20 70 72 | 65 64 20 77 6f 72 64 73 |(path pr|ed words|
|00001800| 20 61 6e 79 20 6d 6f 64 | 65 29 20 22 c0 19 5c 6e | any mod|e) "..\n|
|00001810| 1b c4 1d c0 1e 06 0e 07 | ab b4 0b ab b1 0b 40 40 |........|......@@|
|00001820| 89 1e 08 0e 09 98 ab 97 | 09 ab 8b 09 0b 41 a1 88 |........|.....A..|
|00001830| 0b 5c 6e a1 88 0b 12 0b | 40 41 16 06 c0 13 aa 8c |.\n.....|@A......|
|00001840| 0b 41 ab 82 0b 11 0d 54 | 15 0b 41 13 29 aa 4c 0e |.A.....T|..A.).L.|
|00001850| 06 ae c2 ca 0e 09 cb 0e | 0c 0e 0d 0e 0e 0e 0f d0 |........|........|
|00001860| 26 07 89 1e 11 41 41 41 | 40 ac 88 0e 09 0e 11 40 |&....AAA|@......@|
|00001870| 98 ab 9f 0e 11 40 0e 11 | 40 47 53 9c d2 3d ab 92 |.....@..|@GS..=..|
|00001880| 0d 0e 13 59 ab 84 09 c0 | a1 88 0e 09 0e 11 42 5c |...Y....|......B\|
|00001890| 6e 42 12 0e 11 29 2c 87 | 22 20 5b 6e 69 6c 20 6c |nB...),.|" [nil l|
|000018a0| 61 73 74 20 63 6f 6d 70 | 6c 65 74 65 72 2d 70 61 |ast comp|leter-pa|
|000018b0| 74 68 2d 63 61 63 68 65 | 20 70 74 72 20 30 20 73 |th-cache| ptr 0 s|
|000018c0| 69 7a 65 20 72 65 73 75 | 6c 74 20 63 6f 6d 70 6c |ize resu|lt compl|
|000018d0| 65 74 65 72 2d 75 73 65 | 2d 63 61 63 68 65 20 63 |eter-use|-cache c|
|000018e0| 75 72 72 65 6e 74 20 70 | 61 74 68 20 63 6f 6d 70 |urrent p|ath comp|
|000018f0| 6c 65 74 65 72 20 72 65 | 61 64 2d 66 69 6c 65 2d |leter re|ad-file-|
|00001900| 6e 61 6d 65 2d 69 6e 74 | 65 72 6e 61 6c 20 70 72 |name-int|ernal pr|
|00001910| 65 64 20 77 6f 72 64 73 | 20 61 6e 79 20 6d 6f 64 |ed words| any mod|
|00001920| 65 20 74 20 63 68 6f 69 | 63 65 73 20 34 37 20 63 |e t choi|ces 47 c|
|00001930| 6f 6d 70 6c 65 74 65 72 | 2d 63 61 63 68 65 2d 73 |ompleter|-cache-s|
|00001940| 69 7a 65 5d 20 39 20 22 | 5c 0a 43 68 65 63 6b 20 |ize] 9 "|\.Check |
|00001950| 74 6f 20 73 65 65 20 69 | 66 20 50 41 54 48 20 69 |to see i|f PATH i|
|00001960| 73 20 69 6e 20 70 61 74 | 68 20 63 61 63 68 65 20 |s in pat|h cache |
|00001970| 77 69 74 68 20 50 52 45 | 44 2c 20 57 4f 52 44 53 |with PRE|D, WORDS|
|00001980| 2c 20 41 4e 59 20 61 6e | 64 0a 4d 4f 44 45 2e 22 |, ANY an|d.MODE."|
|00001990| 5d 29 0a 28 66 73 65 74 | 20 27 63 6f 6d 70 6c 65 |]).(fset| 'comple|
|000019a0| 74 65 72 2d 66 69 6c 65 | 20 23 5b 28 73 74 72 69 |ter-file| #[(stri|
|000019b0| 6e 67 20 70 72 65 64 20 | 77 6f 72 64 73 20 61 6e |ng pred |words an|
|000019c0| 79 20 6d 6f 64 65 29 20 | 22 08 19 5c 6e c3 3d ad |y mode) |"..\n.=.|
|000019d0| 83 c4 0d 21 1e 06 c7 c8 | 0d 5c 22 ab 84 c9 95 aa |...!....|.\".....|
|000019e0| 84 c7 ca 0d 5c 22 1e 0b | 0d c9 0e 0b 4f 89 1e 0c |....\"..|....O...|
|000019f0| cd 98 ad 89 ce cf 0e 0c | 21 21 89 16 0c 1e 10 0e |........|!!......|
|00001a00| 11 d2 50 1e 11 0d 47 1e | 13 d4 1e 15 d4 1e 16 d4 |..P...G.|........|
|00001a10| 89 89 89 46 1e 17 0e 0b | 83 89 01 c7 d2 0d 0e 0b |...F....|........|
|00001a20| 23 1e 18 d4 1e 19 0e 18 | ad 82 c9 95 16 16 5c 6e |#.......|......\n|
|00001a30| da 3e ab c7 0e 0b 0e 13 | 55 ab c0 db dc dd 0e 0c |.>......|U.......|
|00001a40| de 5c 22 89 1e 15 89 1e | 1f 40 e0 98 ab 86 0e 1f |.\".....|.@......|
|00001a50| 41 41 aa 9c 0e 1f 41 ab | 95 0e 1f 41 40 e0 98 ab |AA....A.|...A@...|
|00001a60| 85 0e 1f d4 a1 88 0e 1f | 41 89 16 1f aa 68 0e 15 |........|A....h..|
|00001a70| 2a 0e 11 0e 21 0e 0c 5c | 6e 26 06 aa cb 0e 0b 0e |*...!..\|n&......|
|00001a80| 06 3d ab 92 0e 0c 0d 0e | 0b d4 4f 50 89 1e 0c 89 |.=......|..OP....|
|00001a90| d4 e2 46 29 aa b2 0d 0e | 0b 0e 16 4f 1e 23 0e 16 |..F)....|...O.#..|
|00001aa0| ab 97 c7 0e 24 0e 23 5c | 22 ab 8f 0e 0c 0e 23 50 |....$.#\|".....#P|
|00001ab0| 0e 0c 0e 23 50 d4 e2 46 | aa 8e e5 0e 0c 0e 23 50 |...#P..F|......#P|
|00001ac0| 0e 26 0e 11 0e 21 5c 6e | 25 29 89 16 15 41 41 41 |.&...!\n|%)...AAA|
|00001ad0| 40 ac 92 0e 0c 0d 0e 0b | 0e 16 4f 50 0e 15 40 98 |@.......|..OP..@.|
|00001ae0| 89 16 19 ab c8 0e 15 41 | 40 1e 27 0e 15 41 41 40 |.......A|@.'..AA@|
|00001af0| 1e 28 0e 27 ad 85 c7 e9 | 0e 27 5c 22 1e 2a d4 0e |.(.'....|.'\".*..|
|00001b00| 2a ab 88 0e 27 c9 0e 2a | 4f aa 82 0e 27 0e 28 41 |*...'..*|O...'.(A|
|00001b10| ad 8c 5c 6e eb 3d ac 85 | 0e 19 3f ad 82 0e 28 d4 |..\n.=..|..?...(.|
|00001b20| 46 2b 16 17 0e 15 40 16 | 0c 0e 16 16 0b aa a9 0e |F+....@.|........|
|00001b30| 0b ec 55 ab a0 0d c9 9c | ed 55 ab 99 0d c9 0e 16 |..U.....|.U......|
|00001b40| 4f 89 16 0c 89 0e 0c 43 | e2 46 16 15 d4 16 10 0e |O......C|.F......|
|00001b50| 16 16 0b aa 83 d4 16 0b | 2a 82 4a 00 0e 15 40 ac |........|*.J...@.|
|00001b60| 84 0e 17 16 15 0e 15 40 | ab fd 5c 6e eb 3d ac f8 |.......@|..\n.=..|
|00001b70| 0e 15 41 41 41 40 ac f0 | ee 0e 2f 21 1e 30 0e 15 |..AAA@..|../!.0..|
|00001b80| 41 41 40 89 1e 31 1e 1f | d4 1e 32 d4 1e 33 0e 1f |AA@..1..|..2..3..|
|00001b90| ab af c7 0e 30 0e 1f 40 | 5c 22 ab 85 e2 16 32 aa |....0..@|\"....2.|
|00001ba0| 83 e2 16 33 0e 32 ab 92 | 0e 33 ab 8e f4 0e 30 0e |...3.2..|.3....0.|
|00001bb0| 31 5c 22 16 31 d4 89 16 | 1f aa 57 0e 1f 41 89 16 |1\".1...|..W..A..|
|00001bc0| 1f ac 51 0e 32 ab a2 0e | 33 ab 9e db 0e 16 ab 87 |..Q.2...|3.......|
|00001bd0| 0d 0e 16 d4 4f aa 81 dc | 0e 31 0e 11 0e 21 ce 0e |....O...|.1...!..|
|00001be0| 15 41 40 21 5c 6e 26 06 | 16 15 2d 0e 10 ab b0 0e |.A@!\n&.|..-.....|
|00001bf0| 15 40 0e 15 41 40 0e 10 | 47 1e 13 1e 27 89 1e 35 |.@..A@..|G...'..5|
|00001c00| ad 88 cd 0e 35 0e 13 d4 | 4f 50 0e 27 ad 88 cd 0e |....5...|OP.'....|
|00001c10| 27 0e 13 d4 4f 50 0e 15 | 41 41 42 42 16 15 2b 0e |'...OP..|AABB..+.|
|00001c20| 15 2e 5c 6e 87 22 20 5b | 63 6f 6d 70 6c 65 74 69 |..\n." [|completi|
|00001c30| 6f 6e 2d 69 67 6e 6f 72 | 65 2d 63 61 73 65 20 63 |on-ignor|e-case c|
|00001c40| 61 73 65 2d 66 6f 6c 64 | 2d 73 65 61 72 63 68 20 |ase-fold|-search |
|00001c50| 6d 6f 64 65 20 65 78 69 | 74 2d 6f 6b 20 63 6f 6d |mode exi|t-ok com|
|00001c60| 70 6c 65 74 65 72 2d 6c | 61 73 74 2d 63 6f 6d 70 |pleter-l|ast-comp|
|00001c70| 6f 6e 65 6e 74 20 73 74 | 72 69 6e 67 20 6c 61 73 |onent st|ring las|
|00001c80| 74 20 73 74 72 69 6e 67 | 2d 6d 61 74 63 68 20 22 |t string|-match "|
|00001c90| 5e 2f 5c 5c 2e 5c 5c 2e | 2f 5b 5e 2f 5d 2a 2f 22 |^/\\.\\.|/[^/]*/"|
|00001ca0| 20 30 20 22 5b 5e 7e 2f | 5d 22 20 70 6f 73 69 74 | 0 "[^~/|]" posit|
|00001cb0| 69 6f 6e 20 6e 65 77 20 | 22 7e 22 20 66 69 6c 65 |ion new |"~" file|
|00001cc0| 2d 6e 61 6d 65 2d 64 69 | 72 65 63 74 6f 72 79 20 |-name-di|rectory |
|00001cd0| 65 78 70 61 6e 64 2d 66 | 69 6c 65 2d 6e 61 6d 65 |expand-f|ile-name|
|00001ce0| 20 75 73 65 72 20 77 6f | 72 64 73 20 22 2f 22 20 | user wo|rds "/" |
|00001cf0| 6c 65 6e 20 6e 69 6c 20 | 63 68 6f 69 63 65 73 20 |len nil |choices |
|00001d00| 65 6e 64 20 6f 6c 64 2d | 63 68 6f 69 63 65 73 20 |end old-|choices |
|00001d10| 62 65 67 69 6e 20 65 78 | 61 63 74 2d 70 20 28 6e |begin ex|act-p (n|
|00001d20| 69 6c 20 68 65 6c 70 29 | 20 63 6f 6d 70 6c 65 74 |il help)| complet|
|00001d30| 65 72 2d 6d 61 74 63 68 | 2d 72 65 63 6f 72 64 20 |er-match|-record |
|00001d40| 22 22 20 61 6c 6c 2d 63 | 6f 6d 70 6c 65 74 69 6f |"" all-c|ompletio|
|00001d50| 6e 73 20 72 65 61 64 2d | 66 69 6c 65 2d 6e 61 6d |ns read-|file-nam|
|00001d60| 65 2d 69 6e 74 65 72 6e | 61 6c 20 63 68 6f 69 63 |e-intern|al choic|
|00001d70| 65 70 20 22 2e 2e 2f 22 | 20 61 6e 79 20 74 20 63 |ep "../"| any t c|
|00001d80| 6f 6d 70 6f 6e 65 6e 74 | 20 63 6f 6d 70 6c 65 74 |omponent| complet|
|00001d90| 65 72 2d 66 69 6c 65 2d | 73 6b 69 70 20 63 6f 6d |er-file-|skip com|
|00001da0| 70 6c 65 74 65 72 2d 63 | 61 63 68 65 20 70 72 65 |pleter-c|ache pre|
|00001db0| 64 20 6c 63 73 20 6d 61 | 74 63 68 65 73 20 22 2f |d lcs ma|tches "/|
|00001dc0| 24 22 20 73 6c 61 73 68 | 20 68 65 6c 70 20 31 20 |$" slash| help 1 |
|00001dd0| 31 32 36 20 63 6f 6d 70 | 6c 65 74 65 72 2d 65 78 |126 comp|leter-ex|
|00001de0| 74 65 6e 73 69 6f 6e 2d | 72 65 67 65 78 70 20 63 |tension-|regexp c|
|00001df0| 6f 6d 70 6c 65 74 69 6f | 6e 2d 69 67 6e 6f 72 65 |ompletio|n-ignore|
|00001e00| 64 2d 65 78 74 65 6e 73 | 69 6f 6e 73 20 65 78 74 |d-extens|ions ext|
|00001e10| 65 6e 73 69 6f 6e 73 20 | 63 68 6f 69 63 65 62 20 |ensions |choiceb |
|00001e20| 69 73 65 78 74 20 6e 6f | 65 78 74 20 63 6f 6d 70 |isext no|ext comp|
|00001e30| 6c 65 74 65 72 2d 64 65 | 6c 65 74 65 72 20 6d 61 |leter-de|leter ma|
|00001e40| 74 63 68 5d 20 38 20 22 | 5c 0a 52 65 74 75 72 6e |tch] 8 "|\.Return|
|00001e50| 20 28 6d 61 74 63 68 20 | 63 6f 6d 6d 6f 6e 2d 73 | (match |common-s|
|00001e60| 75 62 73 74 72 69 6e 67 | 20 6d 61 74 63 68 65 73 |ubstring| matches|
|00001e70| 20 75 6e 69 71 75 65 2d | 70 29 20 66 6f 72 20 53 | unique-|p) for S|
|00001e80| 54 52 49 4e 47 20 75 73 | 69 6e 67 0a 72 65 61 64 |TRING us|ing.read|
|00001e90| 2d 66 69 6c 65 2d 6e 61 | 6d 65 2d 69 6e 74 65 72 |-file-na|me-inter|
|00001ea0| 6e 61 6c 20 66 6f 72 20 | 63 68 6f 69 63 65 73 20 |nal for |choices |
|00001eb0| 74 68 61 74 20 70 61 73 | 73 20 50 52 45 44 20 75 |that pas|s PRED u|
|00001ec0| 73 69 6e 67 20 57 4f 52 | 44 53 20 74 6f 0a 64 65 |sing WOR|DS to.de|
|00001ed0| 6c 69 6d 69 74 20 77 6f | 72 64 73 2e 20 20 4f 70 |limit wo|rds. Op|
|00001ee0| 74 69 6f 6e 61 6c 20 41 | 4e 59 20 69 73 20 61 20 |tional A|NY is a |
|00001ef0| 64 65 6c 69 6d 69 74 65 | 72 20 74 68 61 74 20 6d |delimite|r that m|
|00001f00| 61 74 63 68 65 73 20 61 | 6e 79 20 6f 66 20 74 68 |atches a|ny of th|
|00001f10| 65 0a 64 65 6c 69 6d 69 | 74 65 72 73 20 69 6e 20 |e.delimi|ters in |
|00001f20| 57 4f 52 44 2e 20 20 49 | 66 20 6f 70 74 69 6f 6e |WORD. I|f option|
|00001f30| 61 6c 20 4d 4f 44 45 20 | 69 73 20 6e 69 6c 20 6f |al MODE |is nil o|
|00001f40| 72 20 27 68 65 6c 70 20 | 74 68 65 6e 20 70 6f 73 |r 'help |then pos|
|00001f50| 73 69 62 6c 65 0a 6d 61 | 74 63 68 65 73 20 77 69 |sible.ma|tches wi|
|00001f60| 6c 6c 20 61 6c 77 61 79 | 73 20 62 65 20 72 65 74 |ll alway|s be ret|
|00001f70| 75 72 6e 65 64 2e 22 5d | 29 0a 28 66 73 65 74 20 |urned."]|).(fset |
|00001f80| 27 63 6f 6d 70 6c 65 74 | 65 72 20 23 5b 28 73 74 |'complet|er #[(st|
|00001f90| 72 69 6e 67 20 74 61 62 | 6c 65 20 70 72 65 64 20 |ring tab|le pred |
|00001fa0| 77 6f 72 64 73 20 26 6f | 70 74 69 6f 6e 61 6c 20 |words &o|ptional |
|00001fb0| 61 6e 79 20 6d 6f 64 65 | 20 66 69 6c 65 2d 70 29 |any mode| file-p)|
|00001fc0| 20 22 08 3b ab a2 09 08 | 98 ab 9d 5c 6e 0b 3d ab | ".;....|...\n.=.|
|00001fd0| 98 0c 0d 3d ab 93 0e 06 | ac 8f 0e 07 0e 08 3d ac |...=....|......=.|
|00001fe0| 85 5c 6e c9 3e ab 83 0e | 5c 6e 87 cb 10 5c 6e 13 |.\n.>...|\n...\n.|
|00001ff0| 0c 15 0e 07 16 08 0e 0c | ab 96 0e 06 ac 92 5c 6e |........|......\n|
|00002000| cd 3d ab 8d ce 09 0c 0e | 0f 0e 10 0e 07 25 82 e9 |.=......|.....%..|
|00002010| 00 0e 06 ae 83 5c 6e cd | 3d 1e 06 0e 11 1e 12 d3 |.....\n.|=.......|
|00002020| 0e 0f d4 51 1e 15 0e 06 | ad 83 d6 09 21 89 1e 17 |...Q....|....!...|
|00002030| ad 85 09 d8 0e 17 4f 89 | 1e 19 ab 87 09 0e 17 da |......O.|........|
|00002040| 4f aa 81 09 19 db 0e 15 | 09 5c 22 ae 82 09 47 1e |O.......|.\"...G.|
|00002050| 1c 0e 06 ab a5 db dd 09 | 5c 22 ab 9f de 09 df db |........|\"......|
|00002060| e0 09 5c 22 4f 21 89 1e | 21 ab 86 0e 21 e0 50 16 |..\"O!..|!...!.P.|
|00002070| 21 0e 21 89 89 43 0e 21 | 46 29 aa b6 e2 0e 19 09 |!.!..C.!|F)......|
|00002080| d8 0e 1c 4f 50 5c 6e 0c | 23 1e 23 e4 09 0e 0f 0e |...OP\n.|#.#.....|
|00002090| 10 23 1e 25 0e 23 ab 95 | e6 09 e7 0e 25 0e 23 e8 |.#.%.#..|....%.#.|
|000020a0| 23 0e 0f 0e 10 0e 19 0e | 07 26 06 aa 85 da 89 89 |#.......|.&......|
|000020b0| 89 46 2a 2e 07 16 5c 6e | 09 10 0e 5c 6e 87 22 20 |.F*...\n|...\n." |
|000020c0| 5b 63 6f 6d 70 6c 65 74 | 65 72 2d 73 74 72 69 6e |[complet|er-strin|
|000020d0| 67 20 73 74 72 69 6e 67 | 20 74 61 62 6c 65 20 63 |g string| table c|
|000020e0| 6f 6d 70 6c 65 74 65 72 | 2d 74 61 62 6c 65 20 70 |ompleter|-table p|
|000020f0| 72 65 64 20 63 6f 6d 70 | 6c 65 74 65 72 2d 70 72 |red comp|leter-pr|
|00002100| 65 64 20 66 69 6c 65 2d | 70 20 6d 6f 64 65 20 63 |ed file-|p mode c|
|00002110| 6f 6d 70 6c 65 74 65 72 | 2d 6d 6f 64 65 20 28 72 |ompleter|-mode (r|
|00002120| 65 61 64 2d 66 69 6c 65 | 2d 6e 61 6d 65 2d 69 6e |ead-file|-name-in|
|00002130| 74 65 72 6e 61 6c 20 72 | 65 61 64 2d 64 69 72 65 |ternal r|ead-dire|
|00002140| 63 74 6f 72 79 2d 6e 61 | 6d 65 2d 69 6e 74 65 72 |ctory-na|me-inter|
|00002150| 6e 61 6c 29 20 63 6f 6d | 70 6c 65 74 65 72 2d 72 |nal) com|pleter-r|
|00002160| 65 73 75 6c 74 20 22 22 | 20 63 6f 6d 70 6c 65 74 |esult ""| complet|
|00002170| 65 72 2d 63 6f 6d 70 6c | 65 74 65 2d 66 69 6c 65 |er-compl|ete-file|
|00002180| 6e 61 6d 65 73 20 72 65 | 61 64 2d 66 69 6c 65 2d |names re|ad-file-|
|00002190| 6e 61 6d 65 2d 69 6e 74 | 65 72 6e 61 6c 20 63 6f |name-int|ernal co|
|000021a0| 6d 70 6c 65 74 65 72 2d | 66 69 6c 65 20 77 6f 72 |mpleter-|file wor|
|000021b0| 64 73 20 61 6e 79 20 63 | 6f 6d 70 6c 65 74 69 6f |ds any c|ompletio|
|000021c0| 6e 2d 69 67 6e 6f 72 65 | 2d 63 61 73 65 20 63 61 |n-ignore|-case ca|
|000021d0| 73 65 2d 66 6f 6c 64 2d | 73 65 61 72 63 68 20 22 |se-fold-|search "|
|000021e0| 5b 22 20 22 5d 22 20 70 | 61 74 74 65 72 6e 20 63 |[" "]" p|attern c|
|000021f0| 6f 6d 70 6c 65 74 65 72 | 2d 6c 61 73 74 2d 63 6f |ompleter|-last-co|
|00002200| 6d 70 6f 6e 65 6e 74 20 | 63 6f 6d 70 6f 6e 65 6e |mponent |componen|
|00002210| 74 20 30 20 64 69 72 20 | 6e 69 6c 20 73 74 72 69 |t 0 dir |nil stri|
|00002220| 6e 67 2d 6d 61 74 63 68 | 20 68 61 73 2d 77 6f 72 |ng-match| has-wor|
|00002230| 64 73 20 22 5e 5c 5c 24 | 22 20 67 65 74 65 6e 76 |ds "^\\$|" getenv|
|00002240| 20 31 20 22 2f 22 20 6d | 61 74 63 68 20 61 6c 6c | 1 "/" m|atch all|
|00002250| 2d 63 6f 6d 70 6c 65 74 | 69 6f 6e 73 20 63 68 6f |-complet|ions cho|
|00002260| 69 63 65 73 20 63 6f 6d | 70 6c 65 74 65 72 2d 72 |ices com|pleter-r|
|00002270| 65 67 65 78 70 20 72 65 | 67 65 78 70 20 63 6f 6d |egexp re|gexp com|
|00002280| 70 6c 65 74 65 72 2d 6d | 61 74 63 68 2d 72 65 63 |pleter-m|atch-rec|
|00002290| 6f 72 64 20 63 6f 6d 70 | 6c 65 74 65 72 2d 64 65 |ord comp|leter-de|
|000022a0| 6c 65 74 65 72 20 74 5d | 20 38 20 22 5c 0a 52 65 |leter t]| 8 "\.Re|
|000022b0| 74 75 72 6e 20 28 6d 61 | 74 63 68 20 63 6f 6d 6d |turn (ma|tch comm|
|000022c0| 6f 6e 2d 73 75 62 73 74 | 72 69 6e 67 20 6d 61 74 |on-subst|ring mat|
|000022d0| 63 68 65 73 20 75 6e 69 | 71 75 65 2d 70 29 20 66 |ches uni|que-p) f|
|000022e0| 6f 72 20 53 54 52 49 4e | 47 20 69 6e 0a 54 41 42 |or STRIN|G in.TAB|
|000022f0| 4c 45 20 66 6f 72 20 63 | 68 6f 69 63 65 73 20 74 |LE for c|hoices t|
|00002300| 68 61 74 20 70 61 73 73 | 20 50 52 45 44 20 75 73 |hat pass| PRED us|
|00002310| 69 6e 67 20 57 4f 52 44 | 53 20 74 6f 20 64 65 6c |ing WORD|S to del|
|00002320| 69 6d 69 74 20 77 6f 72 | 64 73 2e 20 20 49 66 20 |imit wor|ds. If |
|00002330| 74 68 65 0a 66 6c 61 67 | 20 63 6f 6d 70 6c 65 74 |the.flag| complet|
|00002340| 65 72 2d 63 6f 6d 70 6c | 65 74 65 2d 66 69 6c 65 |er-compl|ete-file|
|00002350| 6e 61 6d 65 73 20 69 73 | 20 54 20 61 6e 64 20 74 |names is| T and t|
|00002360| 68 65 20 74 61 62 6c 65 | 20 69 73 0a 72 65 61 64 |he table| is.read|
|00002370| 2d 66 69 6c 65 2d 6e 61 | 6d 65 2d 69 6e 74 65 72 |-file-na|me-inter|
|00002380| 6e 61 6c 2c 20 74 68 65 | 6e 20 66 69 6c 65 6e 61 |nal, the|n filena|
|00002390| 6d 65 20 63 6f 6d 70 6f | 6e 65 6e 74 73 20 77 69 |me compo|nents wi|
|000023a0| 6c 6c 20 62 65 20 69 6e | 64 69 76 69 64 75 61 6c |ll be in|dividual|
|000023b0| 6c 79 0a 65 78 70 61 6e | 64 65 64 2e 20 20 4f 70 |ly.expan|ded. Op|
|000023c0| 74 69 6f 6e 61 6c 20 41 | 4e 59 20 69 73 20 61 20 |tional A|NY is a |
|000023d0| 64 65 6c 69 6d 69 74 65 | 72 20 74 68 61 74 20 63 |delimite|r that c|
|000023e0| 61 6e 20 6d 61 74 63 68 | 20 61 6e 79 20 64 65 6c |an match| any del|
|000023f0| 69 6d 69 74 65 72 20 69 | 6e 0a 57 4f 52 44 53 2e |imiter i|n.WORDS.|
|00002400| 20 20 4f 70 74 69 6f 6e | 61 6c 20 4d 4f 44 45 20 | Option|al MODE |
|00002410| 69 73 20 6e 69 6c 20 66 | 6f 72 20 63 6f 6d 70 6c |is nil f|or compl|
|00002420| 65 74 65 2c 20 27 68 65 | 6c 70 20 66 6f 72 20 68 |ete, 'he|lp for h|
|00002430| 65 6c 70 20 61 6e 64 20 | 27 65 78 69 74 0a 66 6f |elp and |'exit.fo|
|00002440| 72 20 65 78 69 74 2e 22 | 5d 29 0a 28 66 73 65 74 |r exit."|]).(fset|
|00002450| 20 27 63 6f 6d 70 6c 65 | 74 65 72 2d 64 69 73 70 | 'comple|ter-disp|
|00002460| 6c 61 79 2d 63 68 6f 69 | 63 65 73 20 23 5b 28 63 |lay-choi|ces #[(c|
|00002470| 68 6f 69 63 65 73 20 26 | 6f 70 74 69 6f 6e 61 6c |hoices &|optional|
|00002480| 20 6d 61 74 63 68 20 6d | 65 73 73 61 67 65 20 65 | match m|essage e|
|00002490| 6e 64 20 64 69 73 70 6c | 61 79 29 20 22 08 ab c0 |nd displ|ay) "...|
|000024a0| c1 90 08 41 ab 9f c2 0b | ab 98 c4 1d 08 ab 8d 0b |...A....|........|
|000024b0| 08 40 21 0d 42 15 08 41 | 89 10 ac 73 0d 89 10 29 |.@!.B..A|...s...)|
|000024c0| aa 81 08 21 88 0e 06 ad | 95 8a c1 71 88 65 62 88 |...!....|...q.eb.|
|000024d0| c7 0e 06 08 41 ab 83 c8 | aa 81 c9 b1 03 29 91 87 |....A...|.....)..|
|000024e0| ca 20 88 cb 0e 0c ae 81 | cd 0e 0e 5c 22 87 22 20 |. ......|...\"." |
|000024f0| 5b 63 68 6f 69 63 65 73 | 20 22 20 2a 43 6f 6d 70 |[choices| " *Comp|
|00002500| 6c 65 74 69 6f 6e 73 2a | 22 20 64 69 73 70 6c 61 |letions*|" displa|
|00002510| 79 2d 63 6f 6d 70 6c 65 | 74 69 6f 6e 2d 6c 69 73 |y-comple|tion-lis|
|00002520| 74 20 64 69 73 70 6c 61 | 79 20 6e 69 6c 20 6e 65 |t displa|y nil ne|
|00002530| 77 20 6d 61 74 63 68 20 | 22 47 75 65 73 73 20 3d |w match |"Guess =|
|00002540| 20 22 20 22 2c 20 22 20 | 22 22 20 62 65 65 70 20 | " ", " |"" beep |
|00002550| 63 6f 6d 70 6c 65 74 65 | 72 2d 6d 65 73 73 61 67 |complete|r-messag|
|00002560| 65 20 6d 65 73 73 61 67 | 65 20 22 20 28 4e 6f 20 |e messag|e " (No |
|00002570| 63 6f 6d 70 6c 65 74 69 | 6f 6e 73 29 22 20 65 6e |completi|ons)" en|
|00002580| 64 5d 20 35 20 22 5c 0a | 44 69 73 70 6c 61 79 20 |d] 5 "\.|Display |
|00002590| 74 68 65 20 6c 69 73 74 | 20 6f 66 20 70 6f 73 73 |the list| of poss|
|000025a0| 69 62 6c 65 20 43 48 4f | 49 43 45 53 20 77 69 74 |ible CHO|ICES wit|
|000025b0| 68 20 6f 70 74 69 6f 6e | 61 6c 20 4d 41 54 43 48 |h option|al MATCH|
|000025c0| 2c 20 4d 45 53 53 41 47 | 45 2c 0a 45 4e 44 20 61 |, MESSAG|E,.END a|
|000025d0| 6e 64 20 44 49 53 50 4c | 41 59 2e 20 20 49 66 20 |nd DISPL|AY. If |
|000025e0| 4d 41 54 43 48 20 69 73 | 20 6e 6f 6e 2d 6e 69 6c |MATCH is| non-nil|
|000025f0| 2c 20 69 74 20 77 69 6c | 6c 20 62 65 20 66 6c 61 |, it wil|l be fla|
|00002600| 67 67 65 64 20 61 73 20 | 74 68 65 20 62 65 73 74 |gged as |the best|
|00002610| 0a 67 75 65 73 73 2e 20 | 20 49 66 20 74 68 65 72 |.guess. | If ther|
|00002620| 65 20 61 72 65 20 6e 6f | 20 63 68 6f 69 63 65 73 |e are no| choices|
|00002630| 2c 20 64 69 73 70 6c 61 | 79 20 4d 45 53 53 41 47 |, displa|y MESSAG|
|00002640| 45 2e 20 20 45 4e 44 20 | 69 73 20 77 68 65 72 65 |E. END |is where|
|00002650| 20 74 6f 20 70 75 74 0a | 74 65 6d 70 6f 72 61 72 | to put.|temporar|
|00002660| 79 20 6d 65 73 73 61 67 | 65 73 2e 20 20 49 66 20 |y messag|es. If |
|00002670| 44 49 53 50 4c 41 59 20 | 69 73 20 70 72 65 73 65 |DISPLAY |is prese|
|00002680| 6e 74 20 74 68 65 6e 20 | 69 74 20 77 69 6c 6c 20 |nt then |it will |
|00002690| 62 65 20 63 61 6c 6c 65 | 64 20 6f 6e 0a 65 61 63 |be calle|d on.eac|
|000026a0| 68 20 70 6f 73 73 69 62 | 6c 65 20 63 6f 6d 70 6c |h possib|le compl|
|000026b0| 65 74 69 6f 6e 20 61 6e | 64 20 73 68 6f 75 6c 64 |etion an|d should|
|000026c0| 20 72 65 74 75 72 6e 20 | 61 20 73 74 72 69 6e 67 | return |a string|
|000026d0| 2e 22 5d 29 0a 28 66 73 | 65 74 20 27 63 6f 6d 70 |."]).(fs|et 'comp|
|000026e0| 6c 65 74 65 72 2d 67 6f | 74 6f 20 23 5b 28 6d 61 |leter-go|to #[(ma|
|000026f0| 74 63 68 20 6c 63 73 20 | 63 68 6f 69 63 65 73 20 |tch lcs |choices |
|00002700| 75 6e 69 71 75 65 20 64 | 65 6c 69 6d 69 74 65 72 |unique d|elimiter|
|00002710| 73 20 77 6f 72 64 73 20 | 26 6f 70 74 69 6f 6e 61 |s words |&optiona|
|00002720| 6c 20 6d 6f 64 65 20 64 | 69 73 70 6c 61 79 29 20 |l mode d|isplay) |
|00002730| 22 c0 11 c2 0b 21 89 1c | 40 1d 0c 41 1e 06 0d 0e |"....!..|@..A....|
|00002740| 06 7b 1e 07 c8 c9 0e 07 | 5c 22 1e 5c 6e 0e 0b cc |.{......|\".\n...|
|00002750| 3d 1e 0d ce 1e 0f 0d 60 | 7b 0e 10 98 3f 1e 11 0e |=......`|{...?...|
|00002760| 12 ab b7 0e 0d ab 92 0e | 06 62 88 d3 0e 14 0e 15 |........|.b......|
|00002770| c0 0e 06 0e 16 25 82 2c | 01 0e 07 0e 15 98 ab 92 |.....%.,|........|
|00002780| 0e 5c 6e 3f 85 2c 01 0e | 06 62 88 c1 d7 0e 06 5c |.\n?.,..|.b.....\|
|00002790| 22 82 2c 01 d8 0e 15 0b | 5c 22 82 2c 01 0e 10 ab |".,.....|\".,....|
|000027a0| f9 d9 0e 1a 0e 5c 6e ad | 81 db dc 52 1e 1d de 0e |.....\n.|...R....|
|000027b0| 1d 0e 10 5c 22 1e 1a c0 | 1e 1f 0d 62 88 0e 0d ac |...\"...|...b....|
|000027c0| 96 0e 10 63 88 0e 07 0b | 70 0d 46 16 20 60 15 0e |...c....|p.F. `..|
|000027d0| 06 0e 10 47 5c 5c 16 06 | e1 0e 1d 0e 06 e2 0e 1a |...G\\..|........|
|000027e0| 24 ab a9 0e 0d ac a2 0e | 15 ab 9e c8 0e 10 0e 15 |$.......|........|
|000027f0| 5c 22 88 0e 15 e3 95 e3 | 95 54 4f 1e 24 c8 0e 1d |\"......|.TO.$...|
|00002800| 0e 24 5c 22 ab 84 0e 24 | 63 88 29 e5 75 88 0e 0d |.$\"...$|c.).u...|
|00002810| ac 8c 0e 06 60 0d 5a 5a | 16 06 0d 60 7c 88 2b 0e |....`.ZZ|...`|.+.|
|00002820| 14 ab 96 0e 0d ac 85 0e | 11 3f ad bb d3 0e 14 0e |........|.?......|
|00002830| 15 c0 0e 06 0e 16 25 aa | ae 0e 5c 6e ab 97 60 0e |......%.|..\n..`.|
|00002840| 06 55 ac 83 e6 75 88 8a | e1 db 0e 06 ce 23 29 ac |.U...u..|.....#).|
|00002850| 84 0e 06 62 88 0e 0f ad | 8f e7 20 88 c1 0e 0d ab |...b....|.. .....|
|00002860| 83 e8 aa 81 e9 0e 06 5c | 22 2e 08 87 22 20 5b 6e |.......\|"..." [n|
|00002870| 69 6c 20 63 6f 6d 70 6c | 65 74 65 72 2d 6d 65 73 |il compl|eter-mes|
|00002880| 73 61 67 65 20 63 6f 6d | 70 6c 65 74 65 72 2d 72 |sage com|pleter-r|
|00002890| 65 67 69 6f 6e 20 64 65 | 6c 69 6d 69 74 65 72 73 |egion de|limiters|
|000028a0| 20 72 65 67 69 6f 6e 20 | 73 74 61 72 74 20 65 6e | region |start en|
|000028b0| 64 20 73 74 72 69 6e 67 | 20 73 74 72 69 6e 67 2d |d string| string-|
|000028c0| 6d 61 74 63 68 20 22 5b | 5e 20 5d 2a 5c 5c 28 7e |match "[|^ ]*\\(~|
|000028d0| 5c 5c 7c 2f 5c 5c 7c 24 | 5c 5c 29 22 20 66 69 6c |\\|/\\|$|\\)" fil|
|000028e0| 65 2d 70 20 6d 6f 64 65 | 20 68 65 6c 70 20 6e 6f |e-p mode| help no|
|000028f0| 2d 69 6e 73 65 72 74 20 | 74 20 6d 65 73 73 61 67 |-insert |t messag|
|00002900| 65 20 6c 63 73 20 6e 65 | 77 20 75 6e 69 71 75 65 |e lcs ne|w unique|
|00002910| 20 63 6f 6d 70 6c 65 74 | 65 72 2d 64 69 73 70 6c | complet|er-displ|
|00002920| 61 79 2d 63 68 6f 69 63 | 65 73 20 63 68 6f 69 63 |ay-choic|es choic|
|00002930| 65 73 20 6d 61 74 63 68 | 20 64 69 73 70 6c 61 79 |es match| display|
|00002940| 20 22 20 28 53 6f 6c 65 | 20 63 6f 6d 70 6c 65 74 | " (Sole| complet|
|00002950| 69 6f 6e 29 22 20 63 6f | 6d 70 6c 65 74 65 72 2d |ion)" co|mpleter-|
|00002960| 69 6e 73 65 72 74 20 22 | 5b 22 20 77 6f 72 64 73 |insert "|[" words|
|00002970| 20 22 2f 22 20 22 5d 22 | 20 72 65 67 65 78 70 20 | "/" "]"| regexp |
|00002980| 63 6f 6d 70 6c 65 74 65 | 72 2d 77 6f 72 64 73 20 |complete|r-words |
|00002990| 70 6f 69 6e 74 20 63 6f | 6d 70 6c 65 74 65 72 2d |point co|mpleter-|
|000029a0| 6c 61 73 74 2d 70 61 74 | 74 65 72 6e 20 72 65 2d |last-pat|tern re-|
|000029b0| 73 65 61 72 63 68 2d 66 | 6f 72 77 61 72 64 20 6d |search-f|orward m|
|000029c0| 6f 76 65 20 30 20 64 65 | 6c 69 6d 69 74 65 72 20 |ove 0 de|limiter |
|000029d0| 2d 31 20 31 20 62 65 65 | 70 20 22 20 28 4e 6f 20 |-1 1 bee|p " (No |
|000029e0| 63 6f 6d 70 6c 65 74 69 | 6f 6e 73 29 22 20 22 20 |completi|ons)" " |
|000029f0| 28 4e 6f 20 6d 61 74 63 | 68 29 22 5d 20 37 20 22 |(No matc|h)"] 7 "|
|00002a00| 5c 0a 4d 41 54 43 48 20 | 69 73 20 74 68 65 20 62 |\.MATCH |is the b|
|00002a10| 65 73 74 20 6d 61 74 63 | 68 2c 20 4c 43 53 20 69 |est matc|h, LCS i|
|00002a20| 73 20 74 68 65 20 6c 6f | 6e 67 65 73 74 20 63 6f |s the lo|ngest co|
|00002a30| 6d 6d 6f 6e 20 73 75 62 | 73 74 72 69 6e 67 20 6f |mmon sub|string o|
|00002a40| 66 20 61 6c 6c 0a 6f 66 | 20 74 68 65 20 6d 61 74 |f all.of| the mat|
|00002a50| 63 68 65 73 2e 20 20 43 | 48 4f 49 43 45 53 20 69 |ches. C|HOICES i|
|00002a60| 73 20 61 20 6c 69 73 74 | 20 6f 66 20 74 68 65 20 |s a list| of the |
|00002a70| 70 6f 73 73 69 62 69 6c | 69 74 69 65 73 2c 20 55 |possibil|ities, U|
|00002a80| 4e 49 51 55 45 0a 69 6e | 64 69 63 61 74 65 73 20 |NIQUE.in|dicates |
|00002a90| 69 66 20 4d 41 54 43 48 | 20 69 73 20 75 6e 69 71 |if MATCH| is uniq|
|00002aa0| 75 65 2e 20 20 44 45 4c | 49 4d 49 54 45 52 53 20 |ue. DEL|IMITERS |
|00002ab0| 61 72 65 20 70 6f 73 73 | 69 62 6c 65 20 62 6f 75 |are poss|ible bou|
|00002ac0| 6e 64 69 6e 67 0a 63 68 | 61 72 61 63 74 65 72 73 |nding.ch|aracters|
|00002ad0| 20 66 6f 72 20 74 68 65 | 20 63 6f 6d 70 6c 65 74 | for the| complet|
|00002ae0| 69 6f 6e 20 72 65 67 69 | 6f 6e 2e 20 20 57 4f 52 |ion regi|on. WOR|
|00002af0| 44 53 20 61 72 65 20 74 | 68 65 20 63 68 61 72 61 |DS are t|he chara|
|00002b00| 63 74 65 72 73 20 74 68 | 61 74 0a 64 65 6c 69 6d |cters th|at.delim|
|00002b10| 69 74 20 74 68 65 20 77 | 6f 72 64 73 20 66 6f 72 |it the w|ords for|
|00002b20| 20 70 61 72 74 69 61 6c | 20 6d 61 74 63 68 65 73 | partial| matches|
|00002b30| 2e 20 20 52 65 70 6c 61 | 63 65 20 74 68 65 20 72 |. Repla|ce the r|
|00002b40| 65 67 69 6f 6e 20 62 6f | 75 6e 64 65 64 20 62 79 |egion bo|unded by|
|00002b50| 0a 64 65 6c 69 6d 69 74 | 65 72 73 20 77 69 74 68 |.delimit|ers with|
|00002b60| 20 74 68 65 20 6d 61 74 | 63 68 20 69 66 20 75 6e | the mat|ch if un|
|00002b70| 69 71 75 65 20 61 6e 64 | 20 74 68 65 20 6c 63 73 |ique and| the lcs|
|00002b80| 20 6f 74 68 65 72 77 69 | 73 65 20 75 6e 6c 65 73 | otherwi|se unles|
|00002b90| 73 0a 6f 70 74 69 6f 6e | 61 6c 20 4d 4f 44 45 20 |s.option|al MODE |
|00002ba0| 69 73 20 27 68 65 6c 70 | 2e 20 20 54 68 65 6e 20 |is 'help|. Then |
|00002bb0| 67 6f 20 74 6f 20 74 68 | 65 20 70 61 72 74 20 6f |go to th|e part o|
|00002bc0| 66 20 74 68 65 20 73 74 | 72 69 6e 67 20 74 68 61 |f the st|ring tha|
|00002bd0| 74 0a 64 69 73 61 6d 62 | 69 67 75 61 74 65 73 20 |t.disamb|iguates |
|00002be0| 63 68 6f 69 63 65 73 20 | 75 73 69 6e 67 20 57 4f |choices |using WO|
|00002bf0| 52 44 53 20 74 6f 20 73 | 65 70 61 72 61 74 65 20 |RDS to s|eparate |
|00002c00| 77 6f 72 64 73 20 61 6e | 64 20 64 69 73 70 6c 61 |words an|d displa|
|00002c10| 79 20 74 68 65 0a 70 6f | 73 73 69 62 69 6c 69 74 |y the.po|ssibilit|
|00002c20| 69 65 73 20 69 66 20 74 | 68 65 20 73 74 72 69 6e |ies if t|he strin|
|00002c30| 67 20 77 61 73 20 6e 6f | 74 20 65 78 74 65 6e 64 |g was no|t extend|
|00002c40| 65 64 2e 20 20 49 66 20 | 6f 70 74 69 6f 6e 61 6c |ed. If |optional|
|00002c50| 20 44 49 53 50 4c 41 59 | 20 69 73 0a 70 72 65 73 | DISPLAY| is.pres|
|00002c60| 65 6e 74 20 74 68 65 6e | 20 69 74 20 77 69 6c 6c |ent then| it will|
|00002c70| 20 62 65 20 63 61 6c 6c | 65 64 20 6f 6e 20 65 61 | be call|ed on ea|
|00002c80| 63 68 20 70 6f 73 73 69 | 62 6c 65 20 63 6f 6d 70 |ch possi|ble comp|
|00002c90| 6c 65 74 69 6f 6e 20 61 | 6e 64 20 73 68 6f 75 6c |letion a|nd shoul|
|00002ca0| 64 0a 72 65 74 75 72 6e | 20 61 20 73 74 72 69 6e |d.return| a strin|
|00002cb0| 67 2e 22 5d 29 0a 28 66 | 73 65 74 20 27 63 6f 6d |g."]).(f|set 'com|
|00002cc0| 70 6c 65 74 65 72 2d 63 | 6f 6d 70 6c 65 74 65 2d |pleter-c|omplete-|
|00002cd0| 67 6f 74 6f 20 23 5b 28 | 64 65 6c 69 6d 69 74 65 |goto #[(|delimite|
|00002ce0| 72 73 20 77 6f 72 64 73 | 20 74 61 62 6c 65 20 70 |rs words| table p|
|00002cf0| 72 65 64 20 26 6f 70 74 | 69 6f 6e 61 6c 20 6e 6f |red &opt|ional no|
|00002d00| 2d 69 6e 73 65 72 74 20 | 64 69 73 70 6c 61 79 29 |-insert |display)|
|00002d10| 20 22 c0 09 21 1a c3 c4 | c5 c6 5c 6e 40 5c 6e 41 | "..!...|..\n@\nA|
|00002d20| 7b 0e 07 0e 08 0e 09 0e | 5c 6e 0e 0b 26 06 09 0e |{.......|\n..&...|
|00002d30| 09 0e 0b 0e 0c 46 5c 22 | 5c 22 29 87 22 20 5b 63 |.....F\"|\")." [c|
|00002d40| 6f 6d 70 6c 65 74 65 72 | 2d 72 65 67 69 6f 6e 20 |ompleter|-region |
|00002d50| 64 65 6c 69 6d 69 74 65 | 72 73 20 72 65 67 69 6f |delimite|rs regio|
|00002d60| 6e 20 61 70 70 6c 79 20 | 63 6f 6d 70 6c 65 74 65 |n apply |complete|
|00002d70| 72 2d 67 6f 74 6f 20 61 | 70 70 65 6e 64 20 63 6f |r-goto a|ppend co|
|00002d80| 6d 70 6c 65 74 65 72 20 | 74 61 62 6c 65 20 70 72 |mpleter |table pr|
|00002d90| 65 64 20 77 6f 72 64 73 | 20 63 6f 6d 70 6c 65 74 |ed words| complet|
|00002da0| 65 72 2d 61 6e 79 2d 64 | 65 6c 69 6d 69 74 65 72 |er-any-d|elimiter|
|00002db0| 20 6e 6f 2d 69 6e 73 65 | 72 74 20 64 69 73 70 6c | no-inse|rt displ|
|00002dc0| 61 79 5d 20 31 30 20 22 | 5c 0a 43 6f 6d 70 6c 65 |ay] 10 "|\.Comple|
|00002dd0| 74 65 20 74 68 65 20 73 | 74 72 69 6e 67 20 62 6f |te the s|tring bo|
|00002de0| 75 6e 64 20 62 79 20 44 | 45 4c 49 4d 49 54 45 52 |und by D|ELIMITER|
|00002df0| 53 20 75 73 69 6e 67 20 | 57 4f 52 44 53 20 74 6f |S using |WORDS to|
|00002e00| 20 62 6f 75 6e 64 20 77 | 6f 72 64 73 0a 66 6f 72 | bound w|ords.for|
|00002e10| 20 70 61 72 74 69 61 6c | 20 6d 61 74 63 68 65 73 | partial| matches|
|00002e20| 20 69 6e 20 54 41 42 4c | 45 20 77 69 74 68 20 50 | in TABL|E with P|
|00002e30| 52 45 44 20 61 6e 64 20 | 74 68 65 6e 20 69 6e 73 |RED and |then ins|
|00002e40| 65 72 74 20 74 68 65 20 | 6c 6f 6e 67 65 73 74 0a |ert the |longest.|
|00002e50| 63 6f 6d 6d 6f 6e 20 73 | 75 62 73 74 72 69 6e 67 |common s|ubstring|
|00002e60| 20 75 6e 6c 65 73 73 20 | 6f 70 74 69 6f 6e 61 6c | unless |optional|
|00002e70| 20 4e 4f 2d 49 4e 53 45 | 52 54 20 61 6e 64 20 67 | NO-INSE|RT and g|
|00002e80| 6f 20 74 6f 20 74 68 65 | 20 70 6f 69 6e 74 20 6f |o to the| point o|
|00002e90| 66 0a 61 6d 62 69 67 75 | 69 74 79 2e 20 20 49 66 |f.ambigu|ity. If|
|00002ea0| 20 6f 70 74 69 6f 6e 61 | 6c 20 44 49 53 50 4c 41 | optiona|l DISPLA|
|00002eb0| 59 2c 20 69 74 20 77 69 | 6c 6c 20 62 65 20 63 61 |Y, it wi|ll be ca|
|00002ec0| 6c 6c 65 64 20 6f 6e 20 | 65 61 63 68 20 6d 61 74 |lled on |each mat|
|00002ed0| 63 68 20 77 68 65 6e 0a | 70 6f 73 73 69 62 6c 65 |ch when.|possible|
|00002ee0| 20 63 6f 6d 70 6c 65 74 | 69 6f 6e 73 20 61 72 65 | complet|ions are|
|00002ef0| 20 73 68 6f 77 6e 20 61 | 6e 64 20 73 68 6f 75 6c | shown a|nd shoul|
|00002f00| 64 20 72 65 74 75 72 6e | 20 61 20 73 74 72 69 6e |d return| a strin|
|00002f10| 67 2e 22 5d 29 0a 28 66 | 73 65 74 20 27 63 6f 6d |g."]).(f|set 'com|
|00002f20| 70 6c 65 74 65 72 2d 69 | 6e 73 65 72 74 20 23 5b |pleter-i|nsert #[|
|00002f30| 28 6d 61 74 63 68 20 64 | 65 6c 69 6d 69 74 65 72 |(match d|elimiter|
|00002f40| 73 20 26 6f 70 74 69 6f | 6e 61 6c 20 62 75 66 66 |s &optio|nal buff|
|00002f50| 65 72 20 75 6e 64 6f 29 | 20 22 c0 09 21 89 1a 40 |er undo)| "..!..@|
|00002f60| 1b 5c 6e 41 1c 0d ab 90 | 0b 0d 55 ab 86 70 0e 06 |.\nA....|..U..p..|
|00002f70| 3d ac 85 c7 c8 21 aa 93 | 0b 0c 7b 09 70 0b 46 16 |=....!..|..{.p.F.|
|00002f80| 09 0b 0c 7c 88 0b 62 88 | 0e 5c 6e 63 2b 87 22 20 |...|..b.|.\nc+." |
|00002f90| 5b 63 6f 6d 70 6c 65 74 | 65 72 2d 72 65 67 69 6f |[complet|er-regio|
|00002fa0| 6e 20 64 65 6c 69 6d 69 | 74 65 72 73 20 72 65 67 |n delimi|ters reg|
|00002fb0| 69 6f 6e 20 73 74 61 72 | 74 20 65 6e 64 20 75 6e |ion star|t end un|
|00002fc0| 64 6f 20 62 75 66 66 65 | 72 20 65 72 72 6f 72 20 |do buffe|r error |
|00002fd0| 22 4e 6f 20 70 72 65 76 | 69 6f 75 73 20 70 61 74 |"No prev|ious pat|
|00002fe0| 74 65 72 6e 22 20 63 6f | 6d 70 6c 65 74 65 72 2d |tern" co|mpleter-|
|00002ff0| 6c 61 73 74 2d 70 61 74 | 74 65 72 6e 20 6d 61 74 |last-pat|tern mat|
|00003000| 63 68 5d 20 35 20 22 5c | 0a 52 65 70 6c 61 63 65 |ch] 5 "\|.Replace|
|00003010| 20 74 68 65 20 72 65 67 | 69 6f 6e 20 62 6f 75 6e | the reg|ion boun|
|00003020| 64 65 64 20 77 69 74 68 | 20 63 68 61 72 61 63 74 |ded with| charact|
|00003030| 65 72 73 20 69 6e 20 44 | 45 4c 49 4d 49 54 45 52 |ers in D|ELIMITER|
|00003040| 53 20 62 79 20 4d 41 54 | 43 48 0a 61 6e 64 20 73 |S by MAT|CH.and s|
|00003050| 61 76 65 20 69 74 20 73 | 6f 20 74 68 61 74 20 69 |ave it s|o that i|
|00003060| 74 20 63 61 6e 20 62 65 | 20 72 65 73 74 6f 72 65 |t can be| restore|
|00003070| 64 20 62 79 20 63 6f 6d | 70 6c 65 74 65 72 2d 75 |d by com|pleter-u|
|00003080| 6e 64 6f 2e 22 5d 29 0a | 28 66 73 65 74 20 27 63 |ndo."]).|(fset 'c|
|00003090| 6f 6d 70 6c 65 74 65 72 | 2d 75 6e 64 6f 20 23 5b |ompleter|-undo #[|
|000030a0| 6e 69 6c 20 22 08 ab 85 | c1 c2 08 5c 22 87 c3 c4 |nil "...|...\"...|
|000030b0| 21 87 22 20 5b 63 6f 6d | 70 6c 65 74 65 72 2d 6c |!." [com|pleter-l|
|000030c0| 61 73 74 2d 70 61 74 74 | 65 72 6e 20 61 70 70 6c |ast-patt|ern appl|
|000030d0| 79 20 63 6f 6d 70 6c 65 | 74 65 72 2d 69 6e 73 65 |y comple|ter-inse|
|000030e0| 72 74 20 65 72 72 6f 72 | 20 22 4e 6f 20 70 72 65 |rt error| "No pre|
|000030f0| 76 69 6f 75 73 20 70 61 | 74 74 65 72 6e 22 5d 20 |vious pa|ttern"] |
|00003100| 33 20 22 5c 0a 53 77 61 | 70 20 74 68 65 20 6c 61 |3 "\.Swa|p the la|
|00003110| 73 74 20 65 78 70 61 6e | 73 69 6f 6e 20 61 6e 64 |st expan|sion and|
|00003120| 20 74 68 65 20 6c 61 73 | 74 20 6d 61 74 63 68 20 | the las|t match |
|00003130| 70 61 74 74 65 72 6e 2e | 22 20 6e 69 6c 5d 29 0a |pattern.|" nil]).|
|00003140| 28 66 73 65 74 20 27 63 | 6f 6d 70 6c 65 74 65 72 |(fset 'c|ompleter|
|00003150| 2d 6d 69 6e 69 62 75 66 | 2d 73 74 72 69 6e 67 20 |-minibuf|-string |
|00003160| 23 5b 6e 69 6c 20 22 8a | 64 62 88 08 c1 3d ab 8c |#[nil ".|db...=..|
|00003170| c2 c3 c4 c5 23 ab 85 65 | 60 54 7c 88 65 64 7b 29 |....#..e|`T|.ed{)|
|00003180| 87 22 20 5b 6d 69 6e 69 | 62 75 66 66 65 72 2d 63 |." [mini|buffer-c|
|00003190| 6f 6d 70 6c 65 74 69 6f | 6e 2d 74 61 62 6c 65 20 |ompletio|n-table |
|000031a0| 72 65 61 64 2d 66 69 6c | 65 2d 6e 61 6d 65 2d 69 |read-fil|e-name-i|
|000031b0| 6e 74 65 72 6e 61 6c 20 | 72 65 2d 73 65 61 72 63 |nternal |re-searc|
|000031c0| 68 2d 62 61 63 6b 77 61 | 72 64 20 22 2f 2f 5c 5c |h-backwa|rd "//\\|
|000031d0| 7c 2f 7e 5c 5c 7c 2e 5c | 5c 24 22 20 6e 69 6c 20 ||/~\\|.\|\$" nil |
|000031e0| 74 5d 20 34 20 22 5c 0a | 52 65 6d 6f 76 65 20 64 |t] 4 "\.|Remove d|
|000031f0| 65 61 64 20 66 69 6c 65 | 6e 61 6d 65 20 73 70 65 |ead file|name spe|
|00003200| 63 73 20 66 72 6f 6d 20 | 74 68 65 20 6d 69 6e 69 |cs from |the mini|
|00003210| 62 75 66 66 65 72 20 61 | 73 20 64 65 6c 69 6d 69 |buffer a|s delimi|
|00003220| 74 65 64 20 62 79 20 2f | 2f 0a 6f 72 20 7e 20 6f |ted by /|/.or ~ o|
|00003230| 72 20 24 20 61 6e 64 20 | 72 65 74 75 72 6e 20 74 |r $ and |return t|
|00003240| 68 65 20 72 65 73 75 6c | 74 69 6e 67 20 73 74 72 |he resul|ting str|
|00003250| 69 6e 67 2e 22 5d 29 0a | 28 66 73 65 74 20 27 63 |ing."]).|(fset 'c|
|00003260| 6f 6d 70 6c 65 74 65 72 | 2d 6d 69 6e 69 62 75 66 |ompleter|-minibuf|
|00003270| 2d 65 78 69 74 20 23 5b | 6e 69 6c 20 22 c0 11 c2 |-exit #[|nil "...|
|00003280| 20 87 22 20 5b 6e 69 6c | 20 63 6f 6d 70 6c 65 74 | ." [nil| complet|
|00003290| 65 72 2d 6c 61 73 74 2d | 70 61 74 74 65 72 6e 20 |er-last-|pattern |
|000032a0| 65 78 69 74 2d 6d 69 6e | 69 62 75 66 66 65 72 5d |exit-min|ibuffer]|
|000032b0| 20 31 20 22 5c 0a 45 78 | 69 74 20 61 6e 64 20 63 | 1 "\.Ex|it and c|
|000032c0| 6c 65 61 72 20 70 61 74 | 74 65 72 6e 2e 22 20 6e |lear pat|tern." n|
|000032d0| 69 6c 5d 29 0a 28 66 73 | 65 74 20 27 63 6f 6d 70 |il]).(fs|et 'comp|
|000032e0| 6c 65 74 65 72 2d 6e 65 | 77 2d 63 6d 64 20 23 5b |leter-ne|w-cmd #[|
|000032f0| 28 63 6d 64 29 20 22 08 | ac 94 c1 20 1a c3 c4 0d |(cmd) ".|... ....|
|00003300| c6 51 5c 6e 5c 22 3f ae | 84 c7 c8 c9 8f 29 ab 86 |.Q\n\"?.|.....)..|
|00003310| 0e 5c 6e 20 88 c7 87 cb | 87 22 20 5b 63 6f 6d 70 |.\n ....|." [comp|
|00003320| 6c 65 74 65 72 2d 64 69 | 73 61 62 6c 65 20 63 6f |leter-di|sable co|
|00003330| 6d 70 6c 65 74 65 72 2d | 6d 69 6e 69 62 75 66 2d |mpleter-|minibuf-|
|00003340| 73 74 72 69 6e 67 20 73 | 74 72 69 6e 67 20 73 74 |string s|tring st|
|00003350| 72 69 6e 67 2d 6d 61 74 | 63 68 20 22 5b 22 20 63 |ring-mat|ch "[" c|
|00003360| 6f 6d 70 6c 65 74 65 72 | 2d 77 6f 72 64 73 20 22 |ompleter|-words "|
|00003370| 2f 7e 5d 22 20 6e 69 6c | 20 28 62 79 74 65 2d 63 |/~]" nil| (byte-c|
|00003380| 6f 64 65 20 22 c0 09 5c | 6e 0b 23 1c 5c 6e c5 3d |ode "..\|n.#.\n.=|
|00003390| ab 8e 0c ad 8c 09 0c 98 | 3f ae 86 c6 0c 21 aa 81 |........|?....!..|
|000033a0| 0c 29 87 22 20 5b 74 72 | 79 2d 63 6f 6d 70 6c 65 |.)." [tr|y-comple|
|000033b0| 74 69 6f 6e 20 73 74 72 | 69 6e 67 20 6d 69 6e 69 |tion str|ing mini|
|000033c0| 62 75 66 66 65 72 2d 63 | 6f 6d 70 6c 65 74 69 6f |buffer-c|ompletio|
|000033d0| 6e 2d 74 61 62 6c 65 20 | 6d 69 6e 69 62 75 66 66 |n-table |minibuff|
|000033e0| 65 72 2d 63 6f 6d 70 6c | 65 74 69 6f 6e 2d 70 72 |er-compl|etion-pr|
|000033f0| 65 64 69 63 61 74 65 20 | 63 6f 6d 70 6c 65 74 69 |edicate |completi|
|00003400| 6f 6e 20 72 65 61 64 2d | 66 69 6c 65 2d 6e 61 6d |on read-|file-nam|
|00003410| 65 2d 69 6e 74 65 72 6e | 61 6c 20 66 69 6c 65 2d |e-intern|al file-|
|00003420| 65 78 69 73 74 73 2d 70 | 5d 20 34 29 20 28 28 65 |exists-p|] 4) ((e|
|00003430| 72 72 6f 72 29 29 20 63 | 6d 64 20 74 5d 20 34 20 |rror)) c|md t] 4 |
|00003440| 22 5c 0a 52 65 74 75 72 | 6e 20 54 20 69 66 20 77 |"\.Retur|n T if w|
|00003450| 65 20 63 61 6e 27 74 20 | 65 78 65 63 75 74 65 20 |e can't |execute |
|00003460| 74 68 65 20 6f 6c 64 20 | 6d 69 6e 69 62 75 66 66 |the old |minibuff|
|00003470| 65 72 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 43 4d |er versi|on of CM|
|00003480| 44 2e 22 5d 29 0a 28 66 | 73 65 74 20 27 63 6f 6d |D."]).(f|set 'com|
|00003490| 70 6c 65 74 65 72 2d 6d | 69 6e 69 62 75 66 20 23 |pleter-m|inibuf #|
|000034a0| 5b 28 26 6f 70 74 69 6f | 6e 61 6c 20 6d 6f 64 65 |[(&optio|nal mode|
|000034b0| 29 20 22 c0 09 3f ae 81 | 5c 6e 3f 19 c3 c4 20 0d |) "..?..|\n?... .|
|000034c0| 0e 06 0e 07 0e 08 0e 09 | 26 06 29 ca 0e 07 0e 09 |........|&.).....|
|000034d0| 45 5c 22 87 22 20 5b 61 | 70 70 65 6e 64 20 63 6f |E\"." [a|ppend co|
|000034e0| 6d 70 6c 65 74 65 72 2d | 75 73 65 2d 63 61 63 68 |mpleter-|use-cach|
|000034f0| 65 20 63 75 72 72 65 6e | 74 2d 70 72 65 66 69 78 |e curren|t-prefix|
|00003500| 2d 61 72 67 20 63 6f 6d | 70 6c 65 74 65 72 20 63 |-arg com|pleter c|
|00003510| 6f 6d 70 6c 65 74 65 72 | 2d 6d 69 6e 69 62 75 66 |ompleter|-minibuf|
|00003520| 2d 73 74 72 69 6e 67 20 | 6d 69 6e 69 62 75 66 66 |-string |minibuff|
|00003530| 65 72 2d 63 6f 6d 70 6c | 65 74 69 6f 6e 2d 74 61 |er-compl|etion-ta|
|00003540| 62 6c 65 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 63 |ble mini|buffer-c|
|00003550| 6f 6d 70 6c 65 74 69 6f | 6e 2d 70 72 65 64 69 63 |ompletio|n-predic|
|00003560| 61 74 65 20 63 6f 6d 70 | 6c 65 74 65 72 2d 77 6f |ate comp|leter-wo|
|00003570| 72 64 73 20 63 6f 6d 70 | 6c 65 74 65 72 2d 61 6e |rds comp|leter-an|
|00003580| 79 2d 64 65 6c 69 6d 69 | 74 65 72 20 6d 6f 64 65 |y-delimi|ter mode|
|00003590| 20 22 5e 22 5d 20 38 20 | 22 5c 0a 50 61 72 74 69 | "^"] 8 |"\.Parti|
|000035a0| 61 6c 20 63 6f 6d 70 6c | 65 74 69 6f 6e 20 6f 66 |al compl|etion of|
|000035b0| 20 6d 69 6e 69 62 75 66 | 66 65 72 20 65 78 70 72 | minibuf|fer expr|
|000035c0| 65 73 73 69 6f 6e 73 2e | 20 20 4f 70 74 69 6f 6e |essions.| Option|
|000035d0| 61 6c 20 4d 4f 44 45 20 | 69 73 0a 27 68 65 6c 70 |al MODE |is.'help|
|000035e0| 20 66 6f 72 20 68 65 6c | 70 20 61 6e 64 20 27 65 | for hel|p and 'e|
|000035f0| 78 69 74 20 66 6f 72 20 | 65 78 69 74 2e 0a 0a 49 |xit for |exit...I|
|00003600| 66 20 77 68 61 74 20 68 | 61 73 20 62 65 65 6e 20 |f what h|as been |
|00003610| 74 79 70 65 64 20 73 6f | 20 66 61 72 20 6d 61 74 |typed so| far mat|
|00003620| 63 68 65 73 20 61 6e 79 | 20 70 6f 73 73 69 62 69 |ches any| possibi|
|00003630| 6c 69 74 79 20 6e 6f 72 | 6d 61 6c 0a 63 6f 6d 70 |lity nor|mal.comp|
|00003640| 6c 65 74 69 6f 6e 20 77 | 69 6c 6c 20 62 65 20 64 |letion w|ill be d|
|00003650| 6f 6e 65 2e 20 20 4f 74 | 68 65 72 77 69 73 65 2c |one. Ot|herwise,|
|00003660| 20 74 68 65 20 73 74 72 | 69 6e 67 20 69 73 20 63 | the str|ing is c|
|00003670| 6f 6e 73 69 64 65 72 65 | 64 20 74 6f 20 62 65 20 |onsidere|d to be |
|00003680| 61 0a 70 61 74 74 65 72 | 6e 20 77 69 74 68 20 77 |a.patter|n with w|
|00003690| 6f 72 64 73 20 64 65 6c | 69 6d 69 74 65 64 20 62 |ords del|imited b|
|000036a0| 79 20 74 68 65 20 63 68 | 61 72 61 63 74 65 72 73 |y the ch|aracters|
|000036b0| 20 69 6e 0a 63 6f 6d 70 | 6c 65 74 65 72 2d 77 6f | in.comp|leter-wo|
|000036c0| 72 64 73 2e 20 20 49 66 | 20 63 6f 6d 70 6c 65 74 |rds. If| complet|
|000036d0| 65 72 2d 65 78 61 63 74 | 20 69 73 20 54 2c 20 74 |er-exact| is T, t|
|000036e0| 68 65 20 62 65 73 74 20 | 6d 61 74 63 68 20 77 69 |he best |match wi|
|000036f0| 6c 6c 20 62 65 0a 74 68 | 65 20 73 68 6f 72 74 65 |ll be.th|e shorte|
|00003700| 73 74 20 6f 6e 65 20 77 | 69 74 68 20 74 68 65 20 |st one w|ith the |
|00003710| 73 61 6d 65 20 6e 75 6d | 62 65 72 20 6f 66 20 77 |same num|ber of w|
|00003720| 6f 72 64 73 20 61 73 20 | 74 68 65 20 70 61 74 74 |ords as |the patt|
|00003730| 65 72 6e 20 69 66 0a 70 | 6f 73 73 69 62 6c 65 20 |ern if.p|ossible |
|00003740| 61 6e 64 20 6f 74 68 65 | 72 77 69 73 65 20 74 68 |and othe|rwise th|
|00003750| 65 20 73 68 6f 72 74 65 | 73 74 20 6d 61 74 63 68 |e shorte|st match|
|00003760| 69 6e 67 20 65 78 70 72 | 65 73 73 69 6f 6e 2e 20 |ing expr|ession. |
|00003770| 20 49 66 20 63 61 6c 6c | 65 64 0a 77 69 74 68 20 | If call|ed.with |
|00003780| 61 20 70 72 65 66 69 78 | 2c 20 63 61 63 68 69 6e |a prefix|, cachin|
|00003790| 67 20 77 69 6c 6c 20 62 | 65 20 74 65 6d 70 6f 72 |g will b|e tempor|
|000037a0| 61 72 69 6c 79 20 64 69 | 73 61 62 6c 65 64 2e 0a |arily di|sabled..|
|000037b0| 0a 45 78 61 6d 70 6c 65 | 73 3a 0a 61 2d 66 20 20 |.Example|s:.a-f |
|000037c0| 20 20 20 61 75 74 6f 2d | 66 69 6c 6c 2d 6d 6f 64 | auto-|fill-mod|
|000037d0| 65 0a 72 2d 65 20 20 20 | 20 20 72 6d 61 69 6c 2d |e.r-e | rmail-|
|000037e0| 65 78 70 75 6e 67 65 0a | 62 2d 2d 64 20 20 20 20 |expunge.|b--d |
|000037f0| 2a 62 65 67 69 6e 69 6e | 67 2d 6f 66 2d 64 65 66 |*beginin|g-of-def|
|00003800| 75 6e 20 6f 72 20 62 79 | 74 65 2d 72 65 63 6f 6d |un or by|te-recom|
|00003810| 70 69 6c 65 2d 64 69 72 | 65 63 74 6f 72 79 0a 62 |pile-dir|ectory.b|
|00003820| 79 20 20 64 20 20 20 2a | 62 79 74 65 2d 72 65 63 |y d *|byte-rec|
|00003830| 6f 6d 70 69 6c 65 2d 64 | 69 72 65 63 74 6f 72 79 |ompile-d|irectory|
|00003840| 20 69 66 20 63 6f 6d 70 | 6c 65 74 65 72 2d 61 6e | if comp|leter-an|
|00003850| 79 2d 64 65 6c 69 6d 69 | 74 65 72 20 69 73 20 5c |y-delimi|ter is \|
|00003860| 22 20 5c 22 0a 7e 2f 69 | 2e 65 20 20 20 2a 7e 2f |" \".~/i|.e *~/|
|00003870| 69 6c 69 73 70 2e 65 6c | 20 6f 72 20 7e 2f 69 6c |ilisp.el| or ~/il|
|00003880| 2d 65 6c 2e 65 6c 20 6f | 72 20 7e 2f 69 6c 69 73 |-el.el o|r ~/ilis|
|00003890| 70 2e 65 6c 63 0a 2f 75 | 2f 6d 69 2f 20 20 2f 75 |p.elc./u|/mi/ /u|
|000038a0| 73 72 2f 6d 69 73 63 2f | 22 20 6e 69 6c 5d 29 0a |sr/misc/|" nil]).|
|000038b0| 28 66 73 65 74 20 27 63 | 6f 6d 70 6c 65 74 65 72 |(fset 'c|ompleter|
|000038c0| 2d 74 6f 67 67 6c 65 20 | 23 5b 6e 69 6c 20 22 08 |-toggle |#[nil ".|
|000038d0| 3f 10 c1 08 ab 83 c2 aa | 81 c3 21 87 22 20 5b 63 |?.......|..!." [c|
|000038e0| 6f 6d 70 6c 65 74 65 72 | 2d 64 69 73 61 62 6c 65 |ompleter|-disable|
|000038f0| 20 6d 65 73 73 61 67 65 | 20 22 50 61 72 74 69 61 | message| "Partia|
|00003900| 6c 20 63 6f 6d 70 6c 65 | 74 69 6f 6e 20 4f 46 46 |l comple|tion OFF|
|00003910| 22 20 22 50 61 72 74 69 | 61 6c 20 63 6f 6d 70 6c |" "Parti|al compl|
|00003920| 65 74 69 6f 6e 20 4f 4e | 22 5d 20 32 20 22 5c 0a |etion ON|"] 2 "\.|
|00003930| 54 75 72 6e 20 70 61 72 | 74 69 61 6c 20 63 6f 6d |Turn par|tial com|
|00003940| 70 6c 65 74 69 6f 6e 20 | 6f 6e 20 6f 72 20 6f 66 |pletion |on or of|
|00003950| 66 2e 22 20 6e 69 6c 5d | 29 0a 28 64 65 66 76 61 |f." nil]|).(defva|
|00003960| 72 20 63 6f 6d 70 6c 65 | 74 65 72 2d 6f 6c 64 2d |r comple|ter-old-|
|00003970| 68 65 6c 70 20 28 6c 6f | 6f 6b 75 70 2d 6b 65 79 |help (lo|okup-key|
|00003980| 20 6d 69 6e 69 62 75 66 | 66 65 72 2d 6c 6f 63 61 | minibuf|fer-loca|
|00003990| 6c 2d 6d 75 73 74 2d 6d | 61 74 63 68 2d 6d 61 70 |l-must-m|atch-map|
|000039a0| 20 22 3f 22 29 20 22 5c | 0a 4f 6c 64 20 62 69 6e | "?") "\|.Old bin|
|000039b0| 64 69 6e 67 20 6f 66 20 | 3f 20 69 6e 20 6d 69 6e |ding of |? in min|
|000039c0| 69 62 75 66 66 65 72 20 | 63 6f 6d 70 6c 65 74 69 |ibuffer |completi|
|000039d0| 6f 6e 20 6d 61 70 2e 22 | 29 0a 28 66 73 65 74 20 |on map."|).(fset |
|000039e0| 27 63 6f 6d 70 6c 65 74 | 65 72 2d 68 65 6c 70 20 |'complet|er-help |
|000039f0| 23 5b 6e 69 6c 20 22 c0 | 09 21 ad 86 c2 c3 c4 c5 |#[nil ".|.!......|
|00003a00| 21 5c 22 87 22 20 5b 63 | 6f 6d 70 6c 65 74 65 72 |!\"." [c|ompleter|
|00003a10| 2d 6e 65 77 2d 63 6d 64 | 20 63 6f 6d 70 6c 65 74 |-new-cmd| complet|
|00003a20| 65 72 2d 6f 6c 64 2d 68 | 65 6c 70 20 61 70 70 6c |er-old-h|elp appl|
|00003a30| 79 20 63 6f 6d 70 6c 65 | 74 65 72 2d 67 6f 74 6f |y comple|ter-goto|
|00003a40| 20 63 6f 6d 70 6c 65 74 | 65 72 2d 6d 69 6e 69 62 | complet|er-minib|
|00003a50| 75 66 20 68 65 6c 70 5d | 20 34 20 22 5c 0a 50 61 |uf help]| 4 "\.Pa|
|00003a60| 72 74 69 61 6c 20 63 6f | 6d 70 6c 65 74 69 6f 6e |rtial co|mpletion|
|00003a70| 20 6d 69 6e 69 62 75 66 | 66 65 72 2d 63 6f 6d 70 | minibuf|fer-comp|
|00003a80| 6c 65 74 69 6f 6e 2d 68 | 65 6c 70 2e 20 20 0a 53 |letion-h|elp. .S|
|00003a90| 65 65 20 63 6f 6d 70 6c | 65 74 65 72 2d 6d 69 6e |ee compl|eter-min|
|00003aa0| 69 62 75 66 20 66 6f 72 | 20 6d 6f 72 65 20 69 6e |ibuf for| more in|
|00003ab0| 66 6f 72 6d 61 74 69 6f | 6e 2e 22 20 6e 69 6c 5d |formatio|n." nil]|
|00003ac0| 29 0a 28 64 65 66 76 61 | 72 20 63 6f 6d 70 6c 65 |).(defva|r comple|
|00003ad0| 74 65 72 2d 6f 6c 64 2d | 63 6f 6d 70 6c 65 74 65 |ter-old-|complete|
|00003ae0| 72 20 28 6c 6f 6f 6b 75 | 70 2d 6b 65 79 20 6d 69 |r (looku|p-key mi|
|00003af0| 6e 69 62 75 66 66 65 72 | 2d 6c 6f 63 61 6c 2d 6d |nibuffer|-local-m|
|00003b00| 75 73 74 2d 6d 61 74 63 | 68 2d 6d 61 70 20 22 09 |ust-matc|h-map ".|
|00003b10| 22 29 20 22 5c 0a 4f 6c | 64 20 62 69 6e 64 69 6e |") "\.Ol|d bindin|
|00003b20| 67 20 6f 66 20 54 41 42 | 20 69 6e 20 6d 69 6e 69 |g of TAB| in mini|
|00003b30| 62 75 66 66 65 72 20 63 | 6f 6d 70 6c 65 74 69 6f |buffer c|ompletio|
|00003b40| 6e 20 6d 61 70 2e 22 29 | 0a 28 66 73 65 74 20 27 |n map.")|.(fset '|
|00003b50| 63 6f 6d 70 6c 65 74 65 | 72 2d 63 6f 6d 70 6c 65 |complete|r-comple|
|00003b60| 74 65 20 23 5b 6e 69 6c | 20 22 c0 09 21 ad 85 c2 |te #[nil| "..!...|
|00003b70| c3 c4 20 5c 22 87 22 20 | 5b 63 6f 6d 70 6c 65 74 |.. \"." |[complet|
|00003b80| 65 72 2d 6e 65 77 2d 63 | 6d 64 20 63 6f 6d 70 6c |er-new-c|md compl|
|00003b90| 65 74 65 72 2d 6f 6c 64 | 2d 63 6f 6d 70 6c 65 74 |eter-old|-complet|
|00003ba0| 65 72 20 61 70 70 6c 79 | 20 63 6f 6d 70 6c 65 74 |er apply| complet|
|00003bb0| 65 72 2d 67 6f 74 6f 20 | 63 6f 6d 70 6c 65 74 65 |er-goto |complete|
|00003bc0| 72 2d 6d 69 6e 69 62 75 | 66 5d 20 33 20 22 5c 0a |r-minibu|f] 3 "\.|
|00003bd0| 50 61 72 74 69 61 6c 20 | 63 6f 6d 70 6c 65 74 69 |Partial |completi|
|00003be0| 6f 6e 20 6d 69 6e 69 62 | 75 66 66 65 72 2d 63 6f |on minib|uffer-co|
|00003bf0| 6d 70 6c 65 74 65 2e 0a | 53 65 65 20 63 6f 6d 70 |mplete..|See comp|
|00003c00| 6c 65 74 65 72 2d 6d 69 | 6e 69 62 75 66 20 66 6f |leter-mi|nibuf fo|
|00003c10| 72 20 6d 6f 72 65 20 69 | 6e 66 6f 72 6d 61 74 69 |r more i|nformati|
|00003c20| 6f 6e 2e 22 20 6e 69 6c | 5d 29 0a 28 64 65 66 76 |on." nil|]).(defv|
|00003c30| 61 72 20 63 6f 6d 70 6c | 65 74 65 72 2d 6f 6c 64 |ar compl|eter-old|
|00003c40| 2d 77 6f 72 64 20 28 6c | 6f 6f 6b 75 70 2d 6b 65 |-word (l|ookup-ke|
|00003c50| 79 20 6d 69 6e 69 62 75 | 66 66 65 72 2d 6c 6f 63 |y minibu|ffer-loc|
|00003c60| 61 6c 2d 6d 75 73 74 2d | 6d 61 74 63 68 2d 6d 61 |al-must-|match-ma|
|00003c70| 70 20 22 20 22 29 20 22 | 5c 0a 4f 6c 64 20 62 69 |p " ") "|\.Old bi|
|00003c80| 6e 64 69 6e 67 20 6f 66 | 20 53 50 41 43 45 20 69 |nding of| SPACE i|
|00003c90| 6e 20 6d 69 6e 69 62 75 | 66 66 65 72 20 63 6f 6d |n minibu|ffer com|
|00003ca0| 70 6c 65 74 69 6f 6e 20 | 6d 61 70 2e 22 29 0a 28 |pletion |map.").(|
|00003cb0| 66 73 65 74 20 27 63 6f | 6d 70 6c 65 74 65 72 2d |fset 'co|mpleter-|
|00003cc0| 77 6f 72 64 20 23 5b 6e | 69 6c 20 22 08 c1 3d ab |word #[n|il "..=.|
|00003cd0| 83 c1 63 87 c2 0b 21 ad | 85 c4 c5 c6 20 5c 22 87 |..c...!.|.... \".|
|00003ce0| 22 20 5b 63 6f 6d 70 6c | 65 74 65 72 2d 61 6e 79 |" [compl|eter-any|
|00003cf0| 2d 64 65 6c 69 6d 69 74 | 65 72 20 33 32 20 63 6f |-delimit|er 32 co|
|00003d00| 6d 70 6c 65 74 65 72 2d | 6e 65 77 2d 63 6d 64 20 |mpleter-|new-cmd |
|00003d10| 63 6f 6d 70 6c 65 74 65 | 72 2d 6f 6c 64 2d 77 6f |complete|r-old-wo|
|00003d20| 72 64 20 61 70 70 6c 79 | 20 63 6f 6d 70 6c 65 74 |rd apply| complet|
|00003d30| 65 72 2d 67 6f 74 6f 20 | 63 6f 6d 70 6c 65 74 65 |er-goto |complete|
|00003d40| 72 2d 6d 69 6e 69 62 75 | 66 5d 20 33 20 22 5c 0a |r-minibu|f] 3 "\.|
|00003d50| 50 61 72 74 69 61 6c 20 | 63 6f 6d 70 6c 65 74 69 |Partial |completi|
|00003d60| 6f 6e 20 6d 69 6e 69 62 | 75 66 66 65 72 2d 63 6f |on minib|uffer-co|
|00003d70| 6d 70 6c 65 74 65 2e 0a | 53 65 65 20 63 6f 6d 70 |mplete..|See comp|
|00003d80| 6c 65 74 65 72 2d 6d 69 | 6e 69 62 75 66 20 66 6f |leter-mi|nibuf fo|
|00003d90| 72 20 6d 6f 72 65 20 69 | 6e 66 6f 72 6d 61 74 69 |r more i|nformati|
|00003da0| 6f 6e 2e 22 20 6e 69 6c | 5d 29 0a 28 64 65 66 76 |on." nil|]).(defv|
|00003db0| 61 72 20 63 6f 6d 70 6c | 65 74 65 72 2d 6f 6c 64 |ar compl|eter-old|
|00003dc0| 2d 65 78 69 74 20 28 6c | 6f 6f 6b 75 70 2d 6b 65 |-exit (l|ookup-ke|
|00003dd0| 79 20 6d 69 6e 69 62 75 | 66 66 65 72 2d 6c 6f 63 |y minibu|ffer-loc|
|00003de0| 61 6c 2d 6d 75 73 74 2d | 6d 61 74 63 68 2d 6d 61 |al-must-|match-ma|
|00003df0| 70 20 22 5c 6e 22 29 20 | 22 5c 0a 4f 6c 64 20 62 |p "\n") |"\.Old b|
|00003e00| 69 6e 64 69 6e 67 20 6f | 66 20 52 45 54 20 69 6e |inding o|f RET in|
|00003e10| 20 6d 69 6e 69 62 75 66 | 66 65 72 20 63 6f 6d 70 | minibuf|fer comp|
|00003e20| 6c 65 74 69 6f 6e 20 6d | 61 70 2e 22 29 0a 28 66 |letion m|ap.").(f|
|00003e30| 73 65 74 20 27 63 6f 6d | 70 6c 65 74 65 72 2d 65 |set 'com|pleter-e|
|00003e40| 78 69 74 20 23 5b 6e 69 | 6c 20 22 c0 09 21 ad b8 |xit #[ni|l "..!..|
|00003e50| c2 c3 21 89 1c 40 1d 0c | 41 41 41 40 1e 06 c7 c8 |..!..@..|AAA@....|
|00003e60| 0c 5c 22 88 0e 06 ab 84 | c9 20 aa 9c 0d ab 92 ca |.\".....|. ......|
|00003e70| 0d cb 5c 22 88 0e 0c ab | 85 cd ce 21 aa 8b c9 20 |..\"....|...!... |
|00003e80| aa 87 0e 0d 3f ad 82 cf | 20 2b 87 22 20 5b 63 6f |....?...| +." [co|
|00003e90| 6d 70 6c 65 74 65 72 2d | 6e 65 77 2d 63 6d 64 20 |mpleter-|new-cmd |
|00003ea0| 63 6f 6d 70 6c 65 74 65 | 72 2d 6f 6c 64 2d 65 78 |complete|r-old-ex|
|00003eb0| 69 74 20 63 6f 6d 70 6c | 65 74 65 72 2d 6d 69 6e |it compl|eter-min|
|00003ec0| 69 62 75 66 20 65 78 69 | 74 20 63 6f 6d 70 6c 65 |ibuf exi|t comple|
|00003ed0| 74 69 6f 6e 73 20 6d 61 | 74 63 68 20 75 6e 69 71 |tions ma|tch uniq|
|00003ee0| 75 65 2d 70 20 61 70 70 | 6c 79 20 63 6f 6d 70 6c |ue-p app|ly compl|
|00003ef0| 65 74 65 72 2d 67 6f 74 | 6f 20 63 6f 6d 70 6c 65 |eter-got|o comple|
|00003f00| 74 65 72 2d 6d 69 6e 69 | 62 75 66 2d 65 78 69 74 |ter-mini|buf-exit|
|00003f10| 20 63 6f 6d 70 6c 65 74 | 65 72 2d 69 6e 73 65 72 | complet|er-inser|
|00003f20| 74 20 22 5e 22 20 6d 69 | 6e 69 62 75 66 66 65 72 |t "^" mi|nibuffer|
|00003f30| 2d 63 6f 6d 70 6c 65 74 | 69 6f 6e 2d 63 6f 6e 66 |-complet|ion-conf|
|00003f40| 69 72 6d 20 63 6f 6d 70 | 6c 65 74 65 72 2d 6d 65 |irm comp|leter-me|
|00003f50| 73 73 61 67 65 20 22 20 | 28 43 6f 6e 66 69 72 6d |ssage " |(Confirm|
|00003f60| 29 22 20 62 65 65 70 5d | 20 34 20 22 5c 0a 50 61 |)" beep]| 4 "\.Pa|
|00003f70| 72 74 69 61 6c 20 63 6f | 6d 70 6c 65 74 69 6f 6e |rtial co|mpletion|
|00003f80| 20 6d 69 6e 69 62 75 66 | 66 65 72 2d 63 6f 6d 70 | minibuf|fer-comp|
|00003f90| 6c 65 74 65 2d 61 6e 64 | 2d 65 78 69 74 2e 0a 53 |lete-and|-exit..S|
|00003fa0| 65 65 20 63 6f 6d 70 6c | 65 74 65 72 2d 6d 69 6e |ee compl|eter-min|
|00003fb0| 69 62 75 66 20 66 6f 72 | 20 6d 6f 72 65 20 69 6e |ibuf for| more in|
|00003fc0| 66 6f 72 6d 61 74 69 6f | 6e 2e 22 20 6e 69 6c 5d |formatio|n." nil]|
|00003fd0| 29 0a 28 66 73 65 74 20 | 27 63 6f 6d 70 6c 65 74 |).(fset |'complet|
|00003fe0| 65 72 2d 6d 61 74 63 68 | 2d 65 78 69 74 20 23 5b |er-match|-exit #[|
|00003ff0| 6e 69 6c 20 22 c0 c1 21 | 89 1a 40 89 1b ac 87 c0 |nil "..!|..@.....|
|00004000| c4 21 89 12 40 13 0b ab | 8e 65 62 88 0b 63 88 60 |.!..@...|.eb..c.`|
|00004010| 64 7c 88 c5 20 aa 84 c6 | c7 5c 6e 5c 22 2a 87 22 |d|.. ...|.\n\"*."|
|00004020| 20 5b 63 6f 6d 70 6c 65 | 74 65 72 2d 6d 69 6e 69 | [comple|ter-mini|
|00004030| 62 75 66 20 65 78 69 74 | 20 63 6f 6d 70 6c 65 74 |buf exit| complet|
|00004040| 69 6f 6e 73 20 67 75 65 | 73 73 20 65 78 69 74 2d |ions gue|ss exit-|
|00004050| 6f 6b 20 65 78 69 74 2d | 6d 69 6e 69 62 75 66 66 |ok exit-|minibuff|
|00004060| 65 72 20 61 70 70 6c 79 | 20 63 6f 6d 70 6c 65 74 |er apply| complet|
|00004070| 65 72 2d 67 6f 74 6f 5d | 20 34 20 22 5c 0a 45 78 |er-goto]| 4 "\.Ex|
|00004080| 69 74 20 74 68 65 20 6d | 69 6e 69 62 75 66 66 65 |it the m|inibuffe|
|00004090| 72 20 77 69 74 68 20 74 | 68 65 20 63 75 72 72 65 |r with t|he curre|
|000040a0| 6e 74 20 62 65 73 74 20 | 6d 61 74 63 68 2e 22 20 |nt best |match." |
|000040b0| 6e 69 6c 5d 29 0a 28 62 | 79 74 65 2d 63 6f 64 65 |nil]).(b|yte-code|
|000040c0| 20 22 c0 09 c2 c3 23 88 | c0 09 c4 c5 23 88 c0 09 | "....#.|....#...|
|000040d0| c6 c7 23 88 c0 09 c8 c9 | 23 88 c0 09 ca cb 23 88 |..#.....|#.....#.|
|000040e0| c0 09 cc cb 23 88 c0 09 | cd ce 23 88 c0 09 cf ce |....#...|..#.....|
|000040f0| 23 88 c0 0e 10 c2 c3 23 | 88 c0 0e 10 c4 c5 23 88 |#......#|......#.|
|00004100| c0 0e 10 c6 c7 23 88 c0 | 0e 10 ca d1 23 88 c0 0e |.....#..|....#...|
|00004110| 10 cc d1 23 88 c0 0e 10 | c8 c9 23 88 c0 0e 10 cd |...#....|..#.....|
|00004120| ce 23 88 c0 0e 10 cf ce | 23 87 22 20 5b 64 65 66 |.#......|#." [def|
|00004130| 69 6e 65 2d 6b 65 79 20 | 6d 69 6e 69 62 75 66 66 |ine-key |minibuff|
|00004140| 65 72 2d 6c 6f 63 61 6c | 2d 63 6f 6d 70 6c 65 74 |er-local|-complet|
|00004150| 69 6f 6e 2d 6d 61 70 20 | 22 1f 22 20 63 6f 6d 70 |ion-map |"." comp|
|00004160| 6c 65 74 65 72 2d 75 6e | 64 6f 20 22 09 22 20 63 |leter-un|do "." c|
|00004170| 6f 6d 70 6c 65 74 65 72 | 2d 63 6f 6d 70 6c 65 74 |ompleter|-complet|
|00004180| 65 20 22 20 22 20 63 6f | 6d 70 6c 65 74 65 72 2d |e " " co|mpleter-|
|00004190| 77 6f 72 64 20 22 3f 22 | 20 63 6f 6d 70 6c 65 74 |word "?"| complet|
|000041a0| 65 72 2d 68 65 6c 70 20 | 22 5c 6e 22 20 63 6f 6d |er-help |"\n" com|
|000041b0| 70 6c 65 74 65 72 2d 6d | 69 6e 69 62 75 66 2d 65 |pleter-m|inibuf-e|
|000041c0| 78 69 74 20 22 0d 22 20 | 22 8a 22 20 63 6f 6d 70 |xit "." |"." comp|
|000041d0| 6c 65 74 65 72 2d 6d 61 | 74 63 68 2d 65 78 69 74 |leter-ma|tch-exit|
|000041e0| 20 22 8d 22 20 6d 69 6e | 69 62 75 66 66 65 72 2d | "." min|ibuffer-|
|000041f0| 6c 6f 63 61 6c 2d 6d 75 | 73 74 2d 6d 61 74 63 68 |local-mu|st-match|
|00004200| 2d 6d 61 70 20 63 6f 6d | 70 6c 65 74 65 72 2d 65 |-map com|pleter-e|
|00004210| 78 69 74 5d 20 34 29 0a | 28 66 73 65 74 20 27 63 |xit] 4).|(fset 'c|
|00004220| 6f 6d 70 6c 65 74 65 72 | 2d 63 6f 6d 69 6e 74 2d |ompleter|-comint-|
|00004230| 64 79 6e 61 6d 69 63 2d | 6c 69 73 74 2d 63 6f 6d |dynamic-|list-com|
|00004240| 70 6c 65 74 69 6f 6e 73 | 20 23 5b 28 70 72 65 66 |pletions| #[(pref|
|00004250| 69 78 29 20 22 c0 09 c2 | 5c 22 87 22 20 5b 63 6f |ix) "...|\"." [co|
|00004260| 6d 70 6c 65 74 65 72 2d | 63 6f 6d 69 6e 74 2d 64 |mpleter-|comint-d|
|00004270| 79 6e 61 6d 69 63 2d 63 | 6f 6d 70 6c 65 74 65 20 |ynamic-c|omplete |
|00004280| 70 72 65 66 69 78 20 68 | 65 6c 70 5d 20 33 20 22 |prefix h|elp] 3 "|
|00004290| 5c 0a 44 69 73 70 6c 61 | 79 20 74 68 65 20 6c 69 |\.Displa|y the li|
|000042a0| 73 74 20 6f 66 20 70 6f | 73 73 69 62 6c 65 20 66 |st of po|ssible f|
|000042b0| 69 6c 65 20 6e 61 6d 65 | 20 63 6f 6d 70 6c 65 74 |ile name| complet|
|000042c0| 69 6f 6e 73 2e 20 20 57 | 69 74 68 20 61 0a 6e 65 |ions. W|ith a.ne|
|000042d0| 67 61 74 69 76 65 20 70 | 72 65 66 69 78 2c 20 75 |gative p|refix, u|
|000042e0| 6e 64 6f 20 74 68 65 20 | 6c 61 73 74 20 63 6f 6d |ndo the |last com|
|000042f0| 70 6c 65 74 69 6f 6e 2e | 22 20 22 50 22 5d 29 0a |pletion.|" "P"]).|
|00004300| 28 66 73 65 74 20 27 63 | 6f 6d 70 6c 65 74 65 72 |(fset 'c|ompleter|
|00004310| 2d 63 6f 6d 69 6e 74 2d | 64 79 6e 61 6d 69 63 2d |-comint-|dynamic-|
|00004320| 63 6f 6d 70 6c 65 74 65 | 20 23 5b 28 26 6f 70 74 |complete| #[(&opt|
|00004330| 69 6f 6e 61 6c 20 75 6e | 64 6f 20 6d 6f 64 65 29 |ional un|do mode)|
|00004340| 20 22 08 ab 83 c1 20 87 | c2 13 c4 c5 0e 06 c7 0e | ".... .|........|
|00004350| 08 0e 09 25 87 22 20 5b | 75 6e 64 6f 20 63 6f 6d |...%." [|undo com|
|00004360| 70 6c 65 74 65 72 2d 75 | 6e 64 6f 20 6e 69 6c 20 |pleter-u|ndo nil |
|00004370| 63 6f 6d 70 6c 65 74 65 | 72 2d 73 74 72 69 6e 67 |complete|r-string|
|00004380| 20 63 6f 6d 70 6c 65 74 | 65 72 2d 63 6f 6d 70 6c | complet|er-compl|
|00004390| 65 74 65 2d 67 6f 74 6f | 20 22 5e 20 09 5c 6e 5c |ete-goto| "^ .\n\|
|000043a0| 22 22 20 63 6f 6d 70 6c | 65 74 65 72 2d 77 6f 72 |"" compl|eter-wor|
|000043b0| 64 73 20 72 65 61 64 2d | 66 69 6c 65 2d 6e 61 6d |ds read-|file-nam|
|000043c0| 65 2d 69 6e 74 65 72 6e | 61 6c 20 64 65 66 61 75 |e-intern|al defau|
|000043d0| 6c 74 2d 64 69 72 65 63 | 74 6f 72 79 20 6d 6f 64 |lt-direc|tory mod|
|000043e0| 65 5d 20 36 20 22 5c 0a | 43 6f 6d 70 6c 65 74 65 |e] 6 "\.|Complete|
|000043f0| 20 74 68 65 20 70 72 65 | 76 69 6f 75 73 20 66 69 | the pre|vious fi|
|00004400| 6c 65 6e 61 6d 65 20 6f | 72 20 64 69 73 70 6c 61 |lename o|r displa|
|00004410| 79 20 70 6f 73 73 69 62 | 69 6c 69 74 69 65 73 20 |y possib|ilities |
|00004420| 69 66 20 64 6f 6e 65 0a | 74 77 69 63 65 20 69 6e |if done.|twice in|
|00004430| 20 61 20 72 6f 77 2e 20 | 20 49 66 20 63 61 6c 6c | a row. | If call|
|00004440| 65 64 20 77 69 74 68 20 | 61 20 70 72 65 66 69 78 |ed with |a prefix|
|00004450| 2c 20 75 6e 64 6f 20 74 | 68 65 20 6c 61 73 74 20 |, undo t|he last |
|00004460| 63 6f 6d 70 6c 65 74 69 | 6f 6e 2e 22 20 22 50 22 |completi|on." "P"|
|00004470| 5d 29 0a 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |]).(byte|-code ".|
|00004480| c1 4d 88 c2 c3 4d 88 c4 | c5 c6 21 ad 9c 0e 06 ad |.M...M..|..!.....|
|00004490| 98 0e 06 3a ab 90 0e 06 | 40 c7 3d ab 85 0e 06 43 |...:....|@.=....C|
|000044a0| aa 87 0e 06 aa 83 0e 06 | 43 42 16 06 c0 87 22 20 |........|CB...." |
|000044b0| 5b 63 6f 6d 69 6e 74 2d | 64 79 6e 61 6d 69 63 2d |[comint-|dynamic-|
|000044c0| 63 6f 6d 70 6c 65 74 65 | 20 63 6f 6d 70 6c 65 74 |complete| complet|
|000044d0| 65 72 2d 63 6f 6d 69 6e | 74 2d 64 79 6e 61 6d 69 |er-comin|t-dynami|
|000044e0| 63 2d 63 6f 6d 70 6c 65 | 74 65 20 63 6f 6d 69 6e |c-comple|te comin|
|000044f0| 74 2d 64 79 6e 61 6d 69 | 63 2d 6c 69 73 74 2d 63 |t-dynami|c-list-c|
|00004500| 6f 6d 70 6c 65 74 69 6f | 6e 73 20 63 6f 6d 70 6c |ompletio|ns compl|
|00004510| 65 74 65 72 2d 63 6f 6d | 69 6e 74 2d 64 79 6e 61 |eter-com|int-dyna|
|00004520| 6d 69 63 2d 6c 69 73 74 | 2d 63 6f 6d 70 6c 65 74 |mic-list|-complet|
|00004530| 69 6f 6e 73 20 23 5b 6e | 69 6c 20 22 c0 c1 4d 88 |ions #[n|il "..M.|
|00004540| c2 c3 4d 87 22 20 5b 63 | 6f 6d 69 6e 74 2d 64 79 |..M." [c|omint-dy|
|00004550| 6e 61 6d 69 63 2d 63 6f | 6d 70 6c 65 74 65 20 63 |namic-co|mplete c|
|00004560| 6f 6d 70 6c 65 74 65 72 | 2d 63 6f 6d 69 6e 74 2d |ompleter|-comint-|
|00004570| 64 79 6e 61 6d 69 63 2d | 63 6f 6d 70 6c 65 74 65 |dynamic-|complete|
|00004580| 20 63 6f 6d 69 6e 74 2d | 64 79 6e 61 6d 69 63 2d | comint-|dynamic-|
|00004590| 6c 69 73 74 2d 63 6f 6d | 70 6c 65 74 69 6f 6e 73 |list-com|pletions|
|000045a0| 20 63 6f 6d 70 6c 65 74 | 65 72 2d 63 6f 6d 69 6e | complet|er-comin|
|000045b0| 74 2d 64 79 6e 61 6d 69 | 63 2d 6c 69 73 74 2d 63 |t-dynami|c-list-c|
|000045c0| 6f 6d 70 6c 65 74 69 6f | 6e 73 5d 20 32 5d 20 62 |ompletio|ns] 2] b|
|000045d0| 6f 75 6e 64 70 20 63 6f | 6d 69 6e 74 2d 6c 6f 61 |oundp co|mint-loa|
|000045e0| 64 2d 68 6f 6f 6b 20 6c | 61 6d 62 64 61 5d 20 33 |d-hook l|ambda] 3|
|000045f0| 29 0a 28 66 73 65 74 20 | 27 6c 69 73 70 2d 63 6f |).(fset |'lisp-co|
|00004600| 6d 70 6c 65 74 65 2d 73 | 79 6d 62 6f 6c 20 23 5b |mplete-s|ymbol #[|
|00004610| 28 26 6f 70 74 69 6f 6e | 61 6c 20 6d 6f 64 65 29 |(&option|al mode)|
|00004620| 20 22 c0 09 21 c2 57 ab | 83 c3 20 87 8a c4 c5 77 | "..!.W.|.. ....w|
|00004630| 88 60 29 1e 06 8a c7 c8 | 21 88 67 7a c9 55 ab 85 |.`).....|!.gz.U..|
|00004640| c8 75 88 aa 75 60 29 89 | 1e 5c 6e 0e 06 7b 1e 0b |.u..u`).|.\n..{..|
|00004650| 0e 5c 6e 53 66 cc 3d ab | 83 cd aa 81 ce 1e 0f d0 |.\nSf.=.|........|
|00004660| 0e 0b 0e 11 0e 0f 23 89 | 1e 12 d3 3d ae f9 0e 12 |......#.|...=....|
|00004670| ac 95 d4 d5 0e 16 0e 11 | 0e 0f c5 0e 0f cd 3d 3f |........|......=?|
|00004680| ad 81 d7 26 06 aa e0 0e | 0b 0e 12 98 ac 8b 0e 5c |...&....|.......\|
|00004690| 6e 0e 06 7c 88 0e 12 63 | aa ce d8 d9 21 88 da 0e |n..|...c|....!...|
|000046a0| 0b 0e 11 0e 0f 23 1e 1b | 0e 0f cd 3d ac ad c5 1e |.....#..|...=....|
|000046b0| 1c 0e 1b ab a0 cd dd 0e | 1b 40 21 21 ab 87 0e 1b |........|.@!!....|
|000046c0| 40 de 44 aa 83 0e 1b 40 | 0e 1c 42 16 1c 0e 1b 41 |@.D....@|..B....A|
|000046d0| 89 16 1b ac 60 0e 1c 9f | 16 1b 29 df 90 e0 0e 1b |....`...|..).....|
|000046e0| 21 91 88 29 d8 e1 e2 5c | 22 2d 87 22 20 5b 70 72 |!..)...\|"-." [pr|
|000046f0| 65 66 69 78 2d 6e 75 6d | 65 72 69 63 2d 76 61 6c |efix-num|eric-val|
|00004700| 75 65 20 6d 6f 64 65 20 | 30 20 63 6f 6d 70 6c 65 |ue mode |0 comple|
|00004710| 74 65 72 2d 75 6e 64 6f | 20 22 5e 20 09 5c 6e 29 |ter-undo| "^ .\n)|
|00004720| 5d 7d 5c 22 22 20 6e 69 | 6c 20 65 6e 64 20 62 61 |]}\"" ni|l end ba|
|00004730| 63 6b 77 61 72 64 2d 73 | 65 78 70 20 31 20 33 39 |ckward-s|exp 1 39|
|00004740| 20 62 65 67 20 70 61 74 | 74 65 72 6e 20 34 30 20 | beg pat|tern 40 |
|00004750| 66 62 6f 75 6e 64 70 20 | 23 5b 28 73 79 6d 29 20 |fboundp |#[(sym) |
|00004760| 22 c0 09 21 ae 88 c2 09 | 21 ae 83 c3 09 21 87 22 |"..!....|!....!."|
|00004770| 20 5b 62 6f 75 6e 64 70 | 20 73 79 6d 20 66 62 6f | [boundp| sym fbo|
|00004780| 75 6e 64 70 20 73 79 6d | 62 6f 6c 2d 70 6c 69 73 |undp sym|bol-plis|
|00004790| 74 5d 20 32 5d 20 70 72 | 65 64 69 63 61 74 65 20 |t] 2] pr|edicate |
|000047a0| 74 72 79 2d 63 6f 6d 70 | 6c 65 74 69 6f 6e 20 6f |try-comp|letion o|
|000047b0| 62 61 72 72 61 79 20 63 | 6f 6d 70 6c 65 74 69 6f |barray c|ompletio|
|000047c0| 6e 20 74 20 63 6f 6d 70 | 6c 65 74 65 72 2d 63 6f |n t comp|leter-co|
|000047d0| 6d 70 6c 65 74 65 2d 67 | 6f 74 6f 20 22 5e 20 09 |mplete-g|oto "^ .|
|000047e0| 5c 6e 28 29 5b 5d 7b 7d | 27 60 22 20 63 6f 6d 70 |\n()[]{}|'`" comp|
|000047f0| 6c 65 74 65 72 2d 77 6f | 72 64 73 20 23 5b 28 63 |leter-wo|rds #[(c|
|00004800| 68 6f 69 63 65 29 20 22 | c0 c1 5c 6e 21 21 ab 84 |hoice) "|..\n!!..|
|00004810| 5c 6e c3 44 87 5c 6e 87 | 22 20 5b 66 62 6f 75 6e |\n.D.\n.|" [fboun|
|00004820| 64 70 20 69 6e 74 65 72 | 6e 20 63 68 6f 69 63 65 |dp inter|n choice|
|00004830| 20 22 20 3c 66 3e 22 5d | 20 33 5d 20 6d 65 73 73 | " <f>"]| 3] mess|
|00004840| 61 67 65 20 22 4d 61 6b | 69 6e 67 20 63 6f 6d 70 |age "Mak|ing comp|
|00004850| 6c 65 74 69 6f 6e 20 6c | 69 73 74 2e 2e 2e 22 20 |letion l|ist..." |
|00004860| 61 6c 6c 2d 63 6f 6d 70 | 6c 65 74 69 6f 6e 73 20 |all-comp|letions |
|00004870| 6c 69 73 74 20 6e 65 77 | 20 69 6e 74 65 72 6e 20 |list new| intern |
|00004880| 22 20 3c 66 3e 22 20 22 | 2a 48 65 6c 70 2a 22 20 |" <f>" "|*Help*" |
|00004890| 64 69 73 70 6c 61 79 2d | 63 6f 6d 70 6c 65 74 69 |display-|completi|
|000048a0| 6f 6e 2d 6c 69 73 74 20 | 22 4d 61 6b 69 6e 67 20 |on-list |"Making |
|000048b0| 63 6f 6d 70 6c 65 74 69 | 6f 6e 20 6c 69 73 74 2e |completi|on list.|
|000048c0| 2e 2e 25 73 22 20 22 64 | 6f 6e 65 22 5d 20 39 20 |..%s" "d|one"] 9 |
|000048d0| 22 5c 0a 50 65 72 66 6f | 72 6d 20 70 61 72 74 69 |"\.Perfo|rm parti|
|000048e0| 61 6c 20 63 6f 6d 70 6c | 65 74 69 6f 6e 20 6f 6e |al compl|etion on|
|000048f0| 20 4c 69 73 70 20 73 79 | 6d 62 6f 6c 20 70 72 65 | Lisp sy|mbol pre|
|00004900| 63 65 64 69 6e 67 20 70 | 6f 69 6e 74 2e 20 20 54 |ceding p|oint. T|
|00004910| 68 61 74 0a 73 79 6d 62 | 6f 6c 20 69 73 20 63 6f |hat.symb|ol is co|
|00004920| 6d 70 61 72 65 64 20 61 | 67 61 69 6e 73 74 20 74 |mpared a|gainst t|
|00004930| 68 65 20 73 79 6d 62 6f | 6c 73 20 74 68 61 74 20 |he symbo|ls that |
|00004940| 65 78 69 73 74 20 61 6e | 64 20 61 6e 79 20 61 64 |exist an|d any ad|
|00004950| 64 69 74 69 6f 6e 61 6c | 0a 63 68 61 72 61 63 74 |ditional|.charact|
|00004960| 65 72 73 20 64 65 74 65 | 72 6d 69 6e 65 64 20 62 |ers dete|rmined b|
|00004970| 79 20 77 68 61 74 20 69 | 73 20 74 68 65 72 65 20 |y what i|s there |
|00004980| 61 72 65 20 69 6e 73 65 | 72 74 65 64 2e 20 20 49 |are inse|rted. I|
|00004990| 66 20 74 68 65 20 73 79 | 6d 62 6f 6c 0a 73 74 61 |f the sy|mbol.sta|
|000049a0| 72 74 73 20 6a 75 73 74 | 20 61 66 74 65 72 20 61 |rts just| after a|
|000049b0| 6e 20 6f 70 65 6e 2d 70 | 61 72 65 6e 74 68 65 73 |n open-p|arenthes|
|000049c0| 69 73 2c 20 6f 6e 6c 79 | 20 73 79 6d 62 6f 6c 73 |is, only| symbols|
|000049d0| 20 77 69 74 68 20 66 75 | 6e 63 74 69 6f 6e 0a 64 | with fu|nction.d|
|000049e0| 65 66 69 6e 69 74 69 6f | 6e 73 20 61 72 65 20 63 |efinitio|ns are c|
|000049f0| 6f 6e 73 69 64 65 72 65 | 64 2e 20 20 4f 74 68 65 |onsidere|d. Othe|
|00004a00| 72 77 69 73 65 2c 20 61 | 6c 6c 20 73 79 6d 62 6f |rwise, a|ll symbo|
|00004a10| 6c 73 20 77 69 74 68 20 | 66 75 6e 63 74 69 6f 6e |ls with |function|
|00004a20| 0a 64 65 66 69 6e 69 74 | 69 6f 6e 73 2c 20 76 61 |.definit|ions, va|
|00004a30| 6c 75 65 73 20 6f 72 20 | 70 72 6f 70 65 72 74 69 |lues or |properti|
|00004a40| 65 73 20 61 72 65 20 63 | 6f 6e 73 69 64 65 72 65 |es are c|onsidere|
|00004a50| 64 2e 20 20 49 66 20 63 | 61 6c 6c 65 64 20 77 69 |d. If c|alled wi|
|00004a60| 74 68 20 61 0a 6e 65 67 | 61 74 69 76 65 20 70 72 |th a.neg|ative pr|
|00004a70| 65 66 69 78 2c 20 74 68 | 65 20 6c 61 73 74 20 63 |efix, th|e last c|
|00004a80| 6f 6d 70 6c 65 74 69 6f | 6e 20 77 69 6c 6c 20 62 |ompletio|n will b|
|00004a90| 65 20 75 6e 64 6f 6e 65 | 2e 22 20 22 50 22 5d 29 |e undone|." "P"])|
|00004aa0| 0a 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 c1 21 |.(byte-c|ode "..!|
|00004ab0| 88 c2 c3 21 87 22 20 5b | 70 72 6f 76 69 64 65 20 |...!." [|provide |
|00004ac0| 63 6f 6d 70 6c 65 74 65 | 72 20 72 75 6e 2d 68 6f |complete|r run-ho|
|00004ad0| 6f 6b 73 20 63 6f 6d 70 | 6c 65 74 65 72 2d 6c 6f |oks comp|leter-lo|
|00004ae0| 61 64 2d 68 6f 6f 6b 5d | 20 32 29 0a |ad-hook]| 2). |
+--------+-------------------------+-------------------------+--------+--------+