home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1993-04-01 | 26.4 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
1%
| dexvert
| Combustion 2 Particle Library (other/combustion2ParticleLibrary)
| ext
| Unsupported |
100%
| file
| Emacs/XEmacs v19 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
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 6c 7a 40 61 73 68 |piled by| jlz@ash|
|00000020| 77 65 64 6e 65 73 64 61 | 79 20 6f 6e 20 4d 6f 6e |wednesda|y on Mon|
|00000030| 20 4d 61 72 20 31 35 20 | 30 30 3a 31 35 3a 31 35 | Mar 15 |00:15:15|
|00000040| 20 31 39 39 33 0a 3b 3b | 3b 20 66 72 6f 6d 20 66 | 1993.;;|; from f|
|00000050| 69 6c 65 20 2f 63 61 64 | 69 6c 6c 61 63 2d 61 77 |ile /cad|illac-aw|
|00000060| 32 2f 74 65 73 74 62 69 | 6e 2d 62 75 69 6c 64 73 |2/testbi|n-builds|
|00000070| 2f 6c 65 6d 61 63 73 2f | 6c 69 73 70 2f 70 72 69 |/lemacs/|lisp/pri|
|00000080| 6d 2f 6d 69 6e 69 62 75 | 66 2e 65 6c 0a 3b 3b 3b |m/minibu|f.el.;;;|
|00000090| 20 65 6d 61 63 73 20 76 | 65 72 73 69 6f 6e 20 31 | emacs v|ersion 1|
|000000a0| 39 2e 36 20 28 62 65 74 | 61 32 29 20 4c 75 63 69 |9.6 (bet|a2) Luci|
|000000b0| 64 2e 0a 3b 3b 3b 20 62 | 79 74 65 63 6f 6d 70 20 |d..;;; b|ytecomp |
|000000c0| 76 65 72 73 69 6f 6e 20 | 32 2e 31 30 3b 20 31 36 |version |2.10; 16|
|000000d0| 2d 66 65 62 2d 39 33 2e | 0a 3b 3b 3b 20 6f 70 74 |-feb-93.|.;;; opt|
|000000e0| 69 6d 69 7a 61 74 69 6f | 6e 20 69 73 20 6f 6e 2e |imizatio|n is on.|
|000000f0| 0a 3b 3b 3b 20 74 68 69 | 73 20 66 69 6c 65 20 75 |.;;; thi|s file u|
|00000100| 73 65 73 20 6f 70 63 6f | 64 65 73 20 77 68 69 63 |ses opco|des whic|
|00000110| 68 20 64 6f 20 6e 6f 74 | 20 65 78 69 73 74 20 69 |h do not| exist i|
|00000120| 6e 20 45 6d 61 63 73 31 | 38 2e 0a 0a 28 69 66 20 |n Emacs1|8...(if |
|00000130| 28 61 6e 64 20 28 62 6f | 75 6e 64 70 20 27 65 6d |(and (bo|undp 'em|
|00000140| 61 63 73 2d 76 65 72 73 | 69 6f 6e 29 0a 09 20 28 |acs-vers|ion).. (|
|00000150| 6f 72 20 28 61 6e 64 20 | 28 62 6f 75 6e 64 70 20 |or (and |(boundp |
|00000160| 27 65 70 6f 63 68 3a 3a | 76 65 72 73 69 6f 6e 29 |'epoch::|version)|
|00000170| 20 65 70 6f 63 68 3a 3a | 76 65 72 73 69 6f 6e 29 | epoch::|version)|
|00000180| 0a 09 20 20 20 20 20 28 | 73 74 72 69 6e 67 2d 6c |.. (|string-l|
|00000190| 65 73 73 70 20 65 6d 61 | 63 73 2d 76 65 72 73 69 |essp ema|cs-versi|
|000001a0| 6f 6e 20 22 31 39 22 29 | 29 29 0a 20 20 20 20 28 |on "19")|)). (|
|000001b0| 65 72 72 6f 72 20 22 54 | 68 69 73 20 66 69 6c 65 |error "T|his file|
|000001c0| 20 77 61 73 20 63 6f 6d | 70 69 6c 65 64 20 66 6f | was com|piled fo|
|000001d0| 72 20 45 6d 61 63 73 31 | 39 2e 22 29 29 0a 0a 28 |r Emacs1|9."))..(|
|000001e0| 64 65 66 76 61 72 20 69 | 6e 73 65 72 74 2d 64 65 |defvar i|nsert-de|
|000001f0| 66 61 75 6c 74 2d 64 69 | 72 65 63 74 6f 72 79 20 |fault-di|rectory |
|00000200| 74 20 22 5c 0a 2a 4e 6f | 6e 2d 6e 69 6c 20 6d 65 |t "\.*No|n-nil me|
|00000210| 61 6e 73 20 77 68 65 6e | 20 72 65 61 64 69 6e 67 |ans when| reading|
|00000220| 20 61 20 66 69 6c 65 6e | 61 6d 65 20 73 74 61 72 | a filen|ame star|
|00000230| 74 20 77 69 74 68 20 64 | 65 66 61 75 6c 74 20 64 |t with d|efault d|
|00000240| 69 72 20 69 6e 20 6d 69 | 6e 69 62 75 66 66 65 72 |ir in mi|nibuffer|
|00000250| 2e 22 29 0a 28 64 65 66 | 76 61 72 20 6d 69 6e 69 |.").(def|var mini|
|00000260| 62 75 66 66 65 72 2d 63 | 6f 6d 70 6c 65 74 69 6f |buffer-c|ompletio|
|00000270| 6e 2d 74 61 62 6c 65 20 | 6e 69 6c 20 22 5c 0a 41 |n-table |nil "\.A|
|00000280| 6c 69 73 74 20 6f 72 20 | 6f 62 61 72 72 61 79 20 |list or |obarray |
|00000290| 75 73 65 64 20 66 6f 72 | 20 63 6f 6d 70 6c 65 74 |used for| complet|
|000002a0| 69 6f 6e 20 69 6e 20 74 | 68 65 20 6d 69 6e 69 62 |ion in t|he minib|
|000002b0| 75 66 66 65 72 2e 0a 54 | 68 69 73 20 62 65 63 6f |uffer..T|his beco|
|000002c0| 6d 65 73 20 74 68 65 20 | 41 4c 49 53 54 20 61 72 |mes the |ALIST ar|
|000002d0| 67 75 6d 65 6e 74 20 74 | 6f 20 60 74 72 79 2d 63 |gument t|o `try-c|
|000002e0| 6f 6d 70 6c 65 74 69 6f | 6e 27 20 61 6e 64 20 60 |ompletio|n' and `|
|000002f0| 61 6c 6c 2d 63 6f 6d 70 | 6c 65 74 69 6f 6e 73 27 |all-comp|letions'|
|00000300| 2e 0a 0a 54 68 65 20 76 | 61 6c 75 65 20 6d 61 79 |...The v|alue may|
|00000310| 20 61 6c 74 65 72 6e 61 | 74 69 76 65 6c 79 20 62 | alterna|tively b|
|00000320| 65 20 61 20 66 75 6e 63 | 74 69 6f 6e 2c 20 77 68 |e a func|tion, wh|
|00000330| 69 63 68 20 69 73 20 67 | 69 76 65 6e 20 74 68 72 |ich is g|iven thr|
|00000340| 65 65 20 61 72 67 75 6d | 65 6e 74 73 3a 0a 20 20 |ee argum|ents:. |
|00000350| 53 54 52 49 4e 47 2c 20 | 74 68 65 20 63 75 72 72 |STRING, |the curr|
|00000360| 65 6e 74 20 62 75 66 66 | 65 72 20 63 6f 6e 74 65 |ent buff|er conte|
|00000370| 6e 74 73 3b 0a 20 20 50 | 52 45 44 49 43 41 54 45 |nts;. P|REDICATE|
|00000380| 2c 20 74 68 65 20 70 72 | 65 64 69 63 61 74 65 20 |, the pr|edicate |
|00000390| 66 6f 72 20 66 69 6c 74 | 65 72 69 6e 67 20 70 6f |for filt|ering po|
|000003a0| 73 73 69 62 6c 65 20 6d | 61 74 63 68 65 73 3b 0a |ssible m|atches;.|
|000003b0| 20 20 43 4f 44 45 2c 20 | 77 68 69 63 68 20 73 61 | CODE, |which sa|
|000003c0| 79 73 20 77 68 61 74 20 | 6b 69 6e 64 20 6f 66 20 |ys what |kind of |
|000003d0| 74 68 69 6e 67 73 20 74 | 6f 20 64 6f 2e 0a 43 4f |things t|o do..CO|
|000003e0| 44 45 20 63 61 6e 20 62 | 65 20 6e 69 6c 2c 20 74 |DE can b|e nil, t|
|000003f0| 20 6f 72 20 60 6c 61 6d | 62 64 61 27 2e 0a 6e 69 | or `lam|bda'..ni|
|00000400| 6c 20 6d 65 61 6e 73 20 | 74 6f 20 72 65 74 75 72 |l means |to retur|
|00000410| 6e 20 74 68 65 20 62 65 | 73 74 20 63 6f 6d 70 6c |n the be|st compl|
|00000420| 65 74 69 6f 6e 20 6f 66 | 20 53 54 52 49 4e 47 2c |etion of| STRING,|
|00000430| 20 6e 69 6c 20 69 66 20 | 74 68 65 72 65 20 69 73 | nil if |there is|
|00000440| 20 6e 6f 6e 65 2c 0a 20 | 20 6f 72 20 74 20 69 66 | none,. | or t if|
|00000450| 20 69 74 20 69 73 20 77 | 61 73 20 61 6c 72 65 61 | it is w|as alrea|
|00000460| 64 79 20 61 20 75 6e 69 | 71 75 65 20 63 6f 6d 70 |dy a uni|que comp|
|00000470| 6c 65 74 69 6f 6e 2e 0a | 74 20 6d 65 61 6e 73 20 |letion..|t means |
|00000480| 74 6f 20 72 65 74 75 72 | 6e 20 61 20 6c 69 73 74 |to retur|n a list|
|00000490| 20 6f 66 20 61 6c 6c 20 | 70 6f 73 73 69 62 6c 65 | of all |possible|
|000004a0| 20 63 6f 6d 70 6c 65 74 | 69 6f 6e 73 20 6f 66 20 | complet|ions of |
|000004b0| 53 54 52 49 4e 47 2e 0a | 60 6c 61 6d 62 64 61 27 |STRING..|`lambda'|
|000004c0| 20 6d 65 61 6e 73 20 74 | 6f 20 72 65 74 75 72 6e | means t|o return|
|000004d0| 20 74 20 69 66 20 53 54 | 52 49 4e 47 20 69 73 20 | t if ST|RING is |
|000004e0| 61 20 76 61 6c 69 64 20 | 63 6f 6d 70 6c 65 74 69 |a valid |completi|
|000004f0| 6f 6e 20 61 73 20 69 74 | 20 73 74 61 6e 64 73 2e |on as it| stands.|
|00000500| 22 29 0a 28 64 65 66 76 | 61 72 20 6d 69 6e 69 62 |").(defv|ar minib|
|00000510| 75 66 66 65 72 2d 63 6f | 6d 70 6c 65 74 69 6f 6e |uffer-co|mpletion|
|00000520| 2d 70 72 65 64 69 63 61 | 74 65 20 6e 69 6c 20 22 |-predica|te nil "|
|00000530| 5c 0a 57 69 74 68 69 6e | 20 63 61 6c 6c 20 74 6f |\.Within| call to|
|00000540| 20 60 63 6f 6d 70 6c 65 | 74 69 6e 67 2d 72 65 61 | `comple|ting-rea|
|00000550| 64 27 2c 20 74 68 69 73 | 20 68 6f 6c 64 73 20 74 |d', this| holds t|
|00000560| 68 65 20 50 52 45 44 49 | 43 41 54 45 20 61 72 67 |he PREDI|CATE arg|
|00000570| 75 6d 65 6e 74 2e 22 29 | 0a 28 64 65 66 76 61 72 |ument.")|.(defvar|
|00000580| 20 6d 69 6e 69 62 75 66 | 66 65 72 2d 63 6f 6d 70 | minibuf|fer-comp|
|00000590| 6c 65 74 69 6f 6e 2d 63 | 6f 6e 66 69 72 6d 20 6e |letion-c|onfirm n|
|000005a0| 69 6c 20 22 5c 0a 4e 6f | 6e 2d 6e 69 6c 20 3d 3e |il "\.No|n-nil =>|
|000005b0| 20 64 65 6d 61 6e 64 20 | 63 6f 6e 66 69 72 6d 61 | demand |confirma|
|000005c0| 74 69 6f 6e 20 6f 66 20 | 63 6f 6d 70 6c 65 74 69 |tion of |completi|
|000005d0| 6f 6e 20 62 65 66 6f 72 | 65 20 65 78 69 74 69 6e |on befor|e exitin|
|000005e0| 67 20 6d 69 6e 69 62 75 | 66 66 65 72 2e 22 29 0a |g minibu|ffer.").|
|000005f0| 28 64 65 66 76 61 72 20 | 6d 69 6e 69 62 75 66 66 |(defvar |minibuff|
|00000600| 65 72 2d 63 6f 6e 66 69 | 72 6d 2d 69 6e 63 6f 6d |er-confi|rm-incom|
|00000610| 70 6c 65 74 65 20 6e 69 | 6c 20 22 5c 0a 49 66 20 |plete ni|l "\.If |
|00000620| 74 72 75 65 2c 20 74 68 | 65 6e 20 69 6e 20 63 6f |true, th|en in co|
|00000630| 6e 74 65 78 74 73 20 77 | 68 65 72 65 20 63 6f 6d |ntexts w|here com|
|00000640| 70 6c 65 74 69 6e 67 2d | 72 65 61 64 20 61 6c 6c |pleting-|read all|
|00000650| 6f 77 73 20 61 6e 73 77 | 65 72 73 20 77 68 69 63 |ows answ|ers whic|
|00000660| 68 0a 61 72 65 20 6e 6f | 74 20 76 61 6c 69 64 20 |h.are no|t valid |
|00000670| 63 6f 6d 70 6c 65 74 69 | 6f 6e 73 2c 20 61 6e 20 |completi|ons, an |
|00000680| 65 78 74 72 61 20 52 45 | 54 20 6d 75 73 74 20 62 |extra RE|T must b|
|00000690| 65 20 74 79 70 65 64 20 | 74 6f 20 63 6f 6e 66 69 |e typed |to confi|
|000006a0| 72 6d 20 74 68 65 0a 72 | 65 73 70 6f 6e 73 65 2e |rm the.r|esponse.|
|000006b0| 20 20 54 68 69 73 20 69 | 73 20 68 65 6c 70 66 75 | This i|s helpfu|
|000006c0| 6c 20 66 6f 72 20 63 61 | 74 63 68 69 6e 67 20 74 |l for ca|tching t|
|000006d0| 79 70 6f 73 2c 20 65 74 | 63 2e 22 29 0a 28 64 65 |ypos, et|c.").(de|
|000006e0| 66 76 61 72 20 63 6f 6d | 70 6c 65 74 69 6f 6e 2d |fvar com|pletion-|
|000006f0| 61 75 74 6f 2d 68 65 6c | 70 20 74 20 22 5c 0a 2a |auto-hel|p t "\.*|
|00000700| 4e 6f 6e 2d 6e 69 6c 20 | 6d 65 61 6e 73 20 61 75 |Non-nil |means au|
|00000710| 74 6f 6d 61 74 69 63 61 | 6c 6c 79 20 70 72 6f 76 |tomatica|lly prov|
|00000720| 69 64 65 20 68 65 6c 70 | 20 66 6f 72 20 69 6e 76 |ide help| for inv|
|00000730| 61 6c 69 64 20 63 6f 6d | 70 6c 65 74 69 6f 6e 20 |alid com|pletion |
|00000740| 69 6e 70 75 74 2e 22 29 | 0a 28 64 65 66 76 61 72 |input.")|.(defvar|
|00000750| 20 65 6e 61 62 6c 65 2d | 72 65 63 75 72 73 69 76 | enable-|recursiv|
|00000760| 65 2d 6d 69 6e 69 62 75 | 66 66 65 72 73 20 6e 69 |e-minibu|ffers ni|
|00000770| 6c 20 22 5c 0a 2a 4e 6f | 6e 2d 6e 69 6c 20 6d 65 |l "\.*No|n-nil me|
|00000780| 61 6e 73 20 74 6f 20 61 | 6c 6c 6f 77 20 6d 69 6e |ans to a|llow min|
|00000790| 69 62 75 66 66 65 72 20 | 63 6f 6d 6d 61 6e 64 73 |ibuffer |commands|
|000007a0| 20 77 68 69 6c 65 20 69 | 6e 20 74 68 65 20 6d 69 | while i|n the mi|
|000007b0| 6e 69 62 75 66 66 65 72 | 2e 0a 4d 6f 72 65 20 70 |nibuffer|..More p|
|000007c0| 72 65 63 69 73 65 6c 79 | 2c 20 74 68 69 73 20 76 |recisely|, this v|
|000007d0| 61 72 69 61 62 6c 65 20 | 6d 61 6b 65 73 20 61 20 |ariable |makes a |
|000007e0| 64 69 66 66 65 72 65 6e | 63 65 20 77 68 65 6e 20 |differen|ce when |
|000007f0| 74 68 65 20 6d 69 6e 69 | 62 75 66 66 65 72 20 77 |the mini|buffer w|
|00000800| 69 6e 64 6f 77 0a 69 73 | 20 74 68 65 20 73 65 6c |indow.is| the sel|
|00000810| 65 63 74 65 64 20 77 69 | 6e 64 6f 77 2e 20 20 49 |ected wi|ndow. I|
|00000820| 66 20 79 6f 75 20 61 72 | 65 20 69 6e 20 73 6f 6d |f you ar|e in som|
|00000830| 65 20 6f 74 68 65 72 20 | 77 69 6e 64 6f 77 2c 20 |e other |window, |
|00000840| 6d 69 6e 69 62 75 66 66 | 65 72 20 63 6f 6d 6d 61 |minibuff|er comma|
|00000850| 6e 64 73 0a 61 72 65 20 | 61 6c 6c 6f 77 65 64 20 |nds.are |allowed |
|00000860| 65 76 65 6e 20 69 66 20 | 61 20 6d 69 6e 69 62 75 |even if |a minibu|
|00000870| 66 66 65 72 20 69 73 20 | 61 63 74 69 76 65 2e 22 |ffer is |active."|
|00000880| 29 0a 28 64 65 66 76 61 | 72 20 6d 69 6e 69 62 75 |).(defva|r minibu|
|00000890| 66 66 65 72 2d 68 65 6c | 70 2d 66 6f 72 6d 20 6e |ffer-hel|p-form n|
|000008a0| 69 6c 20 22 5c 0a 56 61 | 6c 75 65 20 74 68 61 74 |il "\.Va|lue that|
|000008b0| 20 60 68 65 6c 70 2d 66 | 6f 72 6d 27 20 74 61 6b | `help-f|orm' tak|
|000008c0| 65 73 20 6f 6e 20 69 6e | 73 69 64 65 20 74 68 65 |es on in|side the|
|000008d0| 20 6d 69 6e 69 62 75 66 | 66 65 72 2e 22 29 0a 28 | minibuf|fer.").(|
|000008e0| 64 65 66 76 61 72 20 6d | 69 6e 69 62 75 66 66 65 |defvar m|inibuffe|
|000008f0| 72 2d 6c 6f 63 61 6c 2d | 6d 61 70 20 28 62 79 74 |r-local-|map (byt|
|00000900| 65 2d 63 6f 64 65 20 22 | c0 20 19 c2 09 c3 5c 22 |e-code "|. ....\"|
|00000910| 88 09 29 87 22 20 5b 6d | 61 6b 65 2d 73 70 61 72 |..)." [m|ake-spar|
|00000920| 73 65 2d 6b 65 79 6d 61 | 70 20 6d 61 70 20 73 65 |se-keyma|p map se|
|00000930| 74 2d 6b 65 79 6d 61 70 | 2d 6e 61 6d 65 20 6d 69 |t-keymap|-name mi|
|00000940| 6e 69 62 75 66 66 65 72 | 2d 6c 6f 63 61 6c 2d 6d |nibuffer|-local-m|
|00000950| 61 70 5d 20 33 29 20 22 | 5c 0a 44 65 66 61 75 6c |ap] 3) "|\.Defaul|
|00000960| 74 20 6b 65 79 6d 61 70 | 20 74 6f 20 75 73 65 20 |t keymap| to use |
|00000970| 77 68 65 6e 20 72 65 61 | 64 69 6e 67 20 66 72 6f |when rea|ding fro|
|00000980| 6d 20 74 68 65 20 6d 69 | 6e 69 62 75 66 66 65 72 |m the mi|nibuffer|
|00000990| 2e 22 29 0a 28 64 65 66 | 76 61 72 20 6d 69 6e 69 |.").(def|var mini|
|000009a0| 62 75 66 66 65 72 2d 6c | 6f 63 61 6c 2d 63 6f 6d |buffer-l|ocal-com|
|000009b0| 70 6c 65 74 69 6f 6e 2d | 6d 61 70 20 28 62 79 74 |pletion-|map (byt|
|000009c0| 65 2d 63 6f 64 65 20 22 | c0 20 19 c2 09 c3 5c 22 |e-code "|. ....\"|
|000009d0| 88 c4 09 0d 5c 22 88 09 | 29 87 22 20 5b 6d 61 6b |....\"..|)." [mak|
|000009e0| 65 2d 73 70 61 72 73 65 | 2d 6b 65 79 6d 61 70 20 |e-sparse|-keymap |
|000009f0| 6d 61 70 20 73 65 74 2d | 6b 65 79 6d 61 70 2d 6e |map set-|keymap-n|
|00000a00| 61 6d 65 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 6c |ame mini|buffer-l|
|00000a10| 6f 63 61 6c 2d 63 6f 6d | 70 6c 65 74 69 6f 6e 2d |ocal-com|pletion-|
|00000a20| 6d 61 70 20 73 65 74 2d | 6b 65 79 6d 61 70 2d 70 |map set-|keymap-p|
|00000a30| 61 72 65 6e 74 20 6d 69 | 6e 69 62 75 66 66 65 72 |arent mi|nibuffer|
|00000a40| 2d 6c 6f 63 61 6c 2d 6d | 61 70 5d 20 33 29 20 22 |-local-m|ap] 3) "|
|00000a50| 5c 0a 4c 6f 63 61 6c 20 | 6b 65 79 6d 61 70 20 66 |\.Local |keymap f|
|00000a60| 6f 72 20 6d 69 6e 69 62 | 75 66 66 65 72 20 69 6e |or minib|uffer in|
|00000a70| 70 75 74 20 77 69 74 68 | 20 63 6f 6d 70 6c 65 74 |put with| complet|
|00000a80| 69 6f 6e 2e 22 29 0a 28 | 64 65 66 76 61 72 20 6d |ion.").(|defvar m|
|00000a90| 69 6e 69 62 75 66 66 65 | 72 2d 6c 6f 63 61 6c 2d |inibuffe|r-local-|
|00000aa0| 6d 75 73 74 2d 6d 61 74 | 63 68 2d 6d 61 70 20 28 |must-mat|ch-map (|
|00000ab0| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 20 19 c2 09 |byte-cod|e ". ...|
|00000ac0| c3 5c 22 88 c4 09 0d 5c | 22 88 09 29 87 22 20 5b |.\"....\|"..)." [|
|00000ad0| 6d 61 6b 65 2d 73 70 61 | 72 73 65 2d 6b 65 79 6d |make-spa|rse-keym|
|00000ae0| 61 70 20 6d 61 70 20 73 | 65 74 2d 6b 65 79 6d 61 |ap map s|et-keyma|
|00000af0| 70 2d 6e 61 6d 65 20 6d | 69 6e 69 62 75 66 66 65 |p-name m|inibuffe|
|00000b00| 72 2d 6d 75 73 74 2d 6d | 61 74 63 68 2d 6d 61 70 |r-must-m|atch-map|
|00000b10| 20 73 65 74 2d 6b 65 79 | 6d 61 70 2d 70 61 72 65 | set-key|map-pare|
|00000b20| 6e 74 20 6d 69 6e 69 62 | 75 66 66 65 72 2d 6c 6f |nt minib|uffer-lo|
|00000b30| 63 61 6c 2d 63 6f 6d 70 | 6c 65 74 69 6f 6e 2d 6d |cal-comp|letion-m|
|00000b40| 61 70 5d 20 33 29 20 22 | 5c 0a 4c 6f 63 61 6c 20 |ap] 3) "|\.Local |
|00000b50| 6b 65 79 6d 61 70 20 66 | 6f 72 20 6d 69 6e 69 62 |keymap f|or minib|
|00000b60| 75 66 66 65 72 20 69 6e | 70 75 74 20 77 69 74 68 |uffer in|put with|
|00000b70| 20 63 6f 6d 70 6c 65 74 | 69 6f 6e 2c 20 66 6f 72 | complet|ion, for|
|00000b80| 20 65 78 61 63 74 20 6d | 61 74 63 68 2e 22 29 0a | exact m|atch.").|
|00000b90| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 09 c2 c3 |(byte-co|de "....|
|00000ba0| 23 88 c0 09 c4 c5 23 88 | c0 09 c6 c5 23 88 c0 0e |#.....#.|....#...|
|00000bb0| 07 c8 c9 23 88 c0 0e 07 | ca cb 23 88 c0 0e 07 cc |...#....|..#.....|
|00000bc0| cd 23 88 c0 0e 0e c4 cf | 23 88 c0 0e 0e c6 cf 23 |.#......|#......#|
|00000bd0| 88 c0 09 d0 d1 23 88 c0 | 09 d2 d3 23 88 c0 09 d4 |.....#..|...#....|
|00000be0| d1 23 88 c0 09 d5 d3 23 | 88 c0 09 d6 d7 23 88 c0 |.#.....#|.....#..|
|00000bf0| 09 d8 d9 23 87 22 20 5b | 64 65 66 69 6e 65 2d 6b |...#." [|define-k|
|00000c00| 65 79 20 6d 69 6e 69 62 | 75 66 66 65 72 2d 6c 6f |ey minib|uffer-lo|
|00000c10| 63 61 6c 2d 6d 61 70 20 | 22 07 22 20 61 62 6f 72 |cal-map |"." abor|
|00000c20| 74 2d 72 65 63 75 72 73 | 69 76 65 2d 65 64 69 74 |t-recurs|ive-edit|
|00000c30| 20 22 0d 22 20 65 78 69 | 74 2d 6d 69 6e 69 62 75 | "." exi|t-minibu|
|00000c40| 66 66 65 72 20 22 5c 6e | 22 20 6d 69 6e 69 62 75 |ffer "\n|" minibu|
|00000c50| 66 66 65 72 2d 6c 6f 63 | 61 6c 2d 63 6f 6d 70 6c |ffer-loc|al-compl|
|00000c60| 65 74 69 6f 6e 2d 6d 61 | 70 20 22 09 22 20 6d 69 |etion-ma|p "." mi|
|00000c70| 6e 69 62 75 66 66 65 72 | 2d 63 6f 6d 70 6c 65 74 |nibuffer|-complet|
|00000c80| 65 20 22 20 22 20 6d 69 | 6e 69 62 75 66 66 65 72 |e " " mi|nibuffer|
|00000c90| 2d 63 6f 6d 70 6c 65 74 | 65 2d 77 6f 72 64 20 22 |-complet|e-word "|
|00000ca0| 3f 22 20 6d 69 6e 69 62 | 75 66 66 65 72 2d 63 6f |?" minib|uffer-co|
|00000cb0| 6d 70 6c 65 74 69 6f 6e | 2d 68 65 6c 70 20 6d 69 |mpletion|-help mi|
|00000cc0| 6e 69 62 75 66 66 65 72 | 2d 6c 6f 63 61 6c 2d 6d |nibuffer|-local-m|
|00000cd0| 75 73 74 2d 6d 61 74 63 | 68 2d 6d 61 70 20 6d 69 |ust-matc|h-map mi|
|00000ce0| 6e 69 62 75 66 66 65 72 | 2d 63 6f 6d 70 6c 65 74 |nibuffer|-complet|
|00000cf0| 65 2d 61 6e 64 2d 65 78 | 69 74 20 22 ee 22 20 6e |e-and-ex|it "." n|
|00000d00| 65 78 74 2d 68 69 73 74 | 6f 72 79 2d 65 6c 65 6d |ext-hist|ory-elem|
|00000d10| 65 6e 74 20 22 f0 22 20 | 70 72 65 76 69 6f 75 73 |ent "." |previous|
|00000d20| 2d 68 69 73 74 6f 72 79 | 2d 65 6c 65 6d 65 6e 74 |-history|-element|
|00000d30| 20 5b 6e 65 78 74 5d 20 | 5b 70 72 69 6f 72 5d 20 | [next] |[prior] |
|00000d40| 22 f2 22 20 70 72 65 76 | 69 6f 75 73 2d 6d 61 74 |"." prev|ious-mat|
|00000d50| 63 68 69 6e 67 2d 68 69 | 73 74 6f 72 79 2d 65 6c |ching-hi|story-el|
|00000d60| 65 6d 65 6e 74 20 22 f3 | 22 20 6e 65 78 74 2d 6d |ement ".|" next-m|
|00000d70| 61 74 63 68 69 6e 67 2d | 68 69 73 74 6f 72 79 2d |atching-|history-|
|00000d80| 65 6c 65 6d 65 6e 74 5d | 20 34 29 0a 28 64 65 66 |element]| 4).(def|
|00000d90| 76 61 72 20 72 65 61 64 | 2d 65 78 70 72 65 73 73 |var read|-express|
|00000da0| 69 6f 6e 2d 6d 61 70 20 | 28 62 79 74 65 2d 63 6f |ion-map |(byte-co|
|00000db0| 64 65 20 22 c0 20 19 c2 | 09 0b 5c 22 88 c4 09 c5 |de ". ..|..\"....|
|00000dc0| 5c 22 88 09 29 87 22 20 | 5b 6d 61 6b 65 2d 73 70 |\"..)." |[make-sp|
|00000dd0| 61 72 73 65 2d 6b 65 79 | 6d 61 70 20 6d 61 70 20 |arse-key|map map |
|00000de0| 73 65 74 2d 6b 65 79 6d | 61 70 2d 70 61 72 65 6e |set-keym|ap-paren|
|00000df0| 74 20 6d 69 6e 69 62 75 | 66 66 65 72 2d 6c 6f 63 |t minibu|ffer-loc|
|00000e00| 61 6c 2d 6d 61 70 20 73 | 65 74 2d 6b 65 79 6d 61 |al-map s|et-keyma|
|00000e10| 70 2d 6e 61 6d 65 20 72 | 65 61 64 2d 65 78 70 72 |p-name r|ead-expr|
|00000e20| 65 73 73 69 6f 6e 2d 6d | 61 70 5d 20 33 29 20 22 |ession-m|ap] 3) "|
|00000e30| 5c 0a 4d 69 6e 69 62 75 | 66 66 65 72 20 6b 65 79 |\.Minibu|ffer key|
|00000e40| 6d 61 70 20 75 73 65 64 | 20 66 6f 72 20 72 65 61 |map used| for rea|
|00000e50| 64 69 6e 67 20 4c 69 73 | 70 20 65 78 70 72 65 73 |ding Lis|p expres|
|00000e60| 73 69 6f 6e 73 2e 22 29 | 0a 28 64 65 66 69 6e 65 |sions.")|.(define|
|00000e70| 2d 6b 65 79 20 72 65 61 | 64 2d 65 78 70 72 65 73 |-key rea|d-expres|
|00000e80| 73 69 6f 6e 2d 6d 61 70 | 20 22 89 22 20 27 6c 69 |sion-map| "." 'li|
|00000e90| 73 70 2d 63 6f 6d 70 6c | 65 74 65 2d 73 79 6d 62 |sp-compl|ete-symb|
|00000ea0| 6f 6c 29 0a 28 64 65 66 | 76 61 72 20 72 65 61 64 |ol).(def|var read|
|00000eb0| 2d 73 68 65 6c 6c 2d 63 | 6f 6d 6d 61 6e 64 2d 6d |-shell-c|ommand-m|
|00000ec0| 61 70 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |ap (byte|-code ".|
|00000ed0| 20 19 c2 09 0b 5c 22 88 | c4 09 c5 5c 22 88 c6 09 | ....\".|...\"...|
|00000ee0| c7 c8 23 88 c6 09 c9 c8 | 23 88 c6 09 ca cb 23 88 |..#.....|#.....#.|
|00000ef0| 09 29 87 22 20 5b 6d 61 | 6b 65 2d 73 70 61 72 73 |.)." [ma|ke-spars|
|00000f00| 65 2d 6b 65 79 6d 61 70 | 20 6d 61 70 20 73 65 74 |e-keymap| map set|
|00000f10| 2d 6b 65 79 6d 61 70 2d | 70 61 72 65 6e 74 20 6d |-keymap-|parent m|
|00000f20| 69 6e 69 62 75 66 66 65 | 72 2d 6c 6f 63 61 6c 2d |inibuffe|r-local-|
|00000f30| 6d 61 70 20 73 65 74 2d | 6b 65 79 6d 61 70 2d 6e |map set-|keymap-n|
|00000f40| 61 6d 65 20 72 65 61 64 | 2d 73 68 65 6c 6c 2d 63 |ame read|-shell-c|
|00000f50| 6f 6d 6d 61 6e 64 2d 6d | 61 70 20 64 65 66 69 6e |ommand-m|ap defin|
|00000f60| 65 2d 6b 65 79 20 22 09 | 22 20 63 6f 6d 69 6e 74 |e-key ".|" comint|
|00000f70| 2d 64 79 6e 61 6d 69 63 | 2d 63 6f 6d 70 6c 65 74 |-dynamic|-complet|
|00000f80| 65 20 22 89 22 20 22 bf | 22 20 63 6f 6d 69 6e 74 |e "." ".|" comint|
|00000f90| 2d 64 79 6e 61 6d 69 63 | 2d 6c 69 73 74 2d 63 6f |-dynamic|-list-co|
|00000fa0| 6d 70 6c 65 74 69 6f 6e | 73 5d 20 34 29 20 22 5c |mpletion|s] 4) "\|
|00000fb0| 0a 4d 69 6e 69 62 75 66 | 66 65 72 20 6b 65 79 6d |.Minibuf|fer keym|
|00000fc0| 61 70 20 75 73 65 64 20 | 62 79 20 73 68 65 6c 6c |ap used |by shell|
|00000fd0| 2d 63 6f 6d 6d 61 6e 64 | 20 61 6e 64 20 72 65 6c |-command| and rel|
|00000fe0| 61 74 65 64 20 63 6f 6d | 6d 61 6e 64 73 2e 22 29 |ated com|mands.")|
|00000ff0| 0a 28 66 73 65 74 20 27 | 72 65 73 65 74 2d 62 75 |.(fset '|reset-bu|
|00001000| 66 66 65 72 20 23 5b 28 | 62 75 66 66 65 72 29 20 |ffer #[(|buffer) |
|00001010| 22 8a 08 71 88 c1 20 88 | c2 13 c4 20 88 c2 15 c2 |"..q.. .|... ....|
|00001020| 16 06 c7 c2 21 88 c2 16 | 08 c2 16 09 ca 08 c2 5c |....!...|.......\|
|00001030| 22 88 08 29 87 22 20 5b | 62 75 66 66 65 72 20 6b |"..)." [|buffer k|
|00001040| 69 6c 6c 2d 61 6c 6c 2d | 6c 6f 63 61 6c 2d 76 61 |ill-all-|local-va|
|00001050| 72 69 61 62 6c 65 73 20 | 6e 69 6c 20 62 75 66 66 |riables |nil buff|
|00001060| 65 72 2d 72 65 61 64 2d | 6f 6e 6c 79 20 65 72 61 |er-read-|only era|
|00001070| 73 65 2d 62 75 66 66 65 | 72 20 62 75 66 66 65 72 |se-buffe|r buffer|
|00001080| 2d 66 69 6c 65 2d 6e 61 | 6d 65 20 62 75 66 66 65 |-file-na|me buffe|
|00001090| 72 2d 66 69 6c 65 2d 74 | 72 75 65 6e 61 6d 65 20 |r-file-t|ruename |
|000010a0| 73 65 74 2d 62 75 66 66 | 65 72 2d 6d 6f 64 69 66 |set-buff|er-modif|
|000010b0| 69 65 64 2d 70 20 62 75 | 66 66 65 72 2d 62 61 63 |ied-p bu|ffer-bac|
|000010c0| 6b 65 64 2d 75 70 20 62 | 75 66 66 65 72 2d 61 75 |ked-up b|uffer-au|
|000010d0| 74 6f 2d 73 61 76 65 2d | 66 69 6c 65 2d 6e 61 6d |to-save-|file-nam|
|000010e0| 65 20 73 65 74 2d 62 75 | 66 66 65 72 2d 64 65 64 |e set-bu|ffer-ded|
|000010f0| 69 63 61 74 65 64 2d 73 | 63 72 65 65 6e 5d 20 33 |icated-s|creen] 3|
|00001100| 5d 29 0a 28 66 73 65 74 | 20 27 72 65 61 64 2d 66 |]).(fset| 'read-f|
|00001110| 72 6f 6d 2d 6d 69 6e 69 | 62 75 66 66 65 72 20 23 |rom-mini|buffer #|
|00001120| 5b 28 70 72 6f 6d 70 74 | 20 26 6f 70 74 69 6f 6e |[(prompt| &option|
|00001130| 61 6c 20 69 6e 69 74 69 | 61 6c 2d 63 6f 6e 74 65 |al initi|al-conte|
|00001140| 6e 74 73 20 6b 65 79 6d | 61 70 20 72 65 61 64 70 |nts keym|ap readp|
|00001150| 20 68 69 73 74 6f 72 79 | 29 20 22 08 ac 91 c1 20 | history|) ".... |
|00001160| c2 56 ab 8b c3 20 c4 20 | 3d ab 84 c5 c6 21 88 0e |.V... . |=....!..|
|00001170| 07 ab a1 0e 07 39 ab 8e | c8 0e 07 21 ac 96 c5 c9 |.....9..|...!....|
|00001180| 0e 07 5c 22 88 aa 8e c8 | 0e 07 40 21 ac 87 c5 c9 |..\"....|..@!....|
|00001190| 0e 07 40 5c 22 88 ca 20 | ab 86 cb cc 0e 0d 5c 22 |..@\".. |......\"|
|000011a0| 88 0e 0e 1e 0f c3 20 1e | 10 c4 20 1e 11 c1 20 c2 |...... .|.. ... .|
|000011b0| 3d ab 86 d2 0e 11 21 aa | 87 d3 d4 d5 c1 20 5c 22 |=.....!.|..... \"|
|000011c0| 21 1e 16 d7 8b 2c 87 22 | 20 5b 65 6e 61 62 6c 65 |!....,."| [enable|
|000011d0| 2d 72 65 63 75 72 73 69 | 76 65 2d 6d 69 6e 69 62 |-recursi|ve-minib|
|000011e0| 75 66 66 65 72 73 20 6d | 69 6e 69 62 75 66 66 65 |uffers m|inibuffe|
|000011f0| 72 2d 64 65 70 74 68 20 | 30 20 73 65 6c 65 63 74 |r-depth |0 select|
|00001200| 65 64 2d 77 69 6e 64 6f | 77 20 6d 69 6e 69 62 75 |ed-windo|w minibu|
|00001210| 66 66 65 72 2d 77 69 6e | 64 6f 77 20 65 72 72 6f |ffer-win|dow erro|
|00001220| 72 20 22 43 6f 6d 6d 61 | 6e 64 20 61 74 74 65 6d |r "Comma|nd attem|
|00001230| 70 74 65 64 20 74 6f 20 | 75 73 65 20 6d 69 6e 69 |pted to |use mini|
|00001240| 62 75 66 66 65 72 20 77 | 68 69 6c 65 20 69 6e 20 |buffer w|hile in |
|00001250| 6d 69 6e 69 62 75 66 66 | 65 72 22 20 68 69 73 74 |minibuff|er" hist|
|00001260| 6f 72 79 20 62 6f 75 6e | 64 70 20 22 48 69 73 74 |ory boun|dp "Hist|
|00001270| 6f 72 79 20 6c 69 73 74 | 20 25 53 20 69 73 20 75 |ory list| %S is u|
|00001280| 6e 62 6f 75 6e 64 22 20 | 6e 6f 6e 69 6e 74 65 72 |nbound" |noninter|
|00001290| 61 63 74 69 76 65 20 6d | 65 73 73 61 67 65 20 22 |active m|essage "|
|000012a0| 25 73 22 20 70 72 6f 6d | 70 74 20 64 65 66 61 75 |%s" prom|pt defau|
|000012b0| 6c 74 2d 64 69 72 65 63 | 74 6f 72 79 20 64 69 72 |lt-direc|tory dir|
|000012c0| 20 6f 77 69 6e 64 6f 77 | 20 77 69 6e 64 6f 77 20 | owindow| window |
|000012d0| 77 69 6e 64 6f 77 2d 62 | 75 66 66 65 72 20 67 65 |window-b|uffer ge|
|000012e0| 74 2d 62 75 66 66 65 72 | 2d 63 72 65 61 74 65 20 |t-buffer|-create |
|000012f0| 66 6f 72 6d 61 74 20 22 | 20 2a 4d 69 6e 69 62 75 |format "| *Minibu|
|00001300| 66 2d 25 64 22 20 62 75 | 66 66 65 72 20 28 28 62 |f-%d" bu|ffer ((b|
|00001310| 79 74 65 2d 63 6f 64 65 | 20 22 08 71 88 c1 08 21 |yte-code| ".q...!|
|00001320| 88 5c 6e 13 c4 c5 21 88 | c6 15 c4 c7 21 88 c8 16 |.\n...!.|....!...|
|00001330| 07 c9 0e 5c 6e 08 5c 22 | 88 cb 0e 5c 6e 21 88 cc |...\n.\"|...\n!..|
|00001340| 0e 5c 6e cd 5c 22 88 ce | 20 88 cf 08 21 88 d0 d1 |.\n.\"..| ...!...|
|00001350| 21 88 0e 12 ab 95 0e 12 | 3a ab 8c 0e 12 40 63 88 |!.......|:....@c.|
|00001360| 0e 12 41 62 88 aa 84 0e | 12 63 88 d3 0e 14 ae 82 |..Ab....|.c......|
|00001370| 0e 15 21 88 70 0e 16 0e | 17 0e 18 ac 83 d9 aa 8c |..!.p...|........|
|00001380| 0e 18 3a ab 85 0e 18 40 | aa 82 0e 18 0e 18 3a ab |..:....@|......:.|
|00001390| 85 0e 18 41 aa 81 cd 0e | 1a 1e 1b 1e 1c 1e 1d 1e |...A....|........|
|000013a0| 1e 1e 16 1e 1f e0 8e e1 | e2 8d c6 3d ab 86 e3 e4 |........|...=....|
|000013b0| d1 5c 22 aa c1 08 71 88 | e5 20 0e 1d 4a 1e 26 1e |.\"...q.|. ..J.&.|
|000013c0| 27 0e 26 c6 3d ac a1 0e | 27 ab 9d 0e 27 0e 26 40 |'.&.=...|'...'.&@|
|000013d0| 9a ac 95 0e 27 3b ab 87 | 0e 27 47 e8 57 ac 89 0e |....';..|.'G.W...|
|000013e0| 1d 0e 27 0e 26 42 4c 88 | 0e 29 ab 87 ea 0e 27 21 |..'.&BL.|.)....'!|
|000013f0| 40 aa 82 0e 27 2a 2e 07 | 87 22 20 5b 62 75 66 66 |@...'*..|." [buff|
|00001400| 65 72 20 72 65 73 65 74 | 2d 62 75 66 66 65 72 20 |er reset|-buffer |
|00001410| 64 69 72 20 64 65 66 61 | 75 6c 74 2d 64 69 72 65 |dir defa|ult-dire|
|00001420| 63 74 6f 72 79 20 6d 61 | 6b 65 2d 6c 6f 63 61 6c |ctory ma|ke-local|
|00001430| 2d 76 61 72 69 61 62 6c | 65 20 70 72 69 6e 74 2d |-variabl|e print-|
|00001440| 65 73 63 61 70 65 2d 6e | 65 77 6c 69 6e 65 73 20 |escape-n|ewlines |
|00001450| 74 20 6d 6f 64 65 2d 6d | 6f 74 69 6f 6e 2d 68 6f |t mode-m|otion-ho|
|00001460| 6f 6b 20 6d 69 6e 69 62 | 75 66 2d 6d 6f 75 73 65 |ok minib|uf-mouse|
|00001470| 2d 74 72 61 63 6b 65 72 | 20 73 65 74 2d 77 69 6e |-tracker| set-win|
|00001480| 64 6f 77 2d 62 75 66 66 | 65 72 20 77 69 6e 64 6f |dow-buff|er windo|
|00001490| 77 20 73 65 6c 65 63 74 | 2d 77 69 6e 64 6f 77 20 |w select|-window |
|000014a0| 73 65 74 2d 77 69 6e 64 | 6f 77 2d 68 73 63 72 6f |set-wind|ow-hscro|
|000014b0| 6c 6c 20 30 20 65 72 61 | 73 65 2d 62 75 66 66 65 |ll 0 era|se-buffe|
|000014c0| 72 20 62 75 66 66 65 72 | 2d 65 6e 61 62 6c 65 2d |r buffer|-enable-|
|000014d0| 75 6e 64 6f 20 6d 65 73 | 73 61 67 65 20 6e 69 6c |undo mes|sage nil|
|000014e0| 20 69 6e 69 74 69 61 6c | 2d 63 6f 6e 74 65 6e 74 | initial|-content|
|000014f0| 73 20 75 73 65 2d 6c 6f | 63 61 6c 2d 6d 61 70 20 |s use-lo|cal-map |
|00001500| 6b 65 79 6d 61 70 20 6d | 69 6e 69 62 75 66 66 65 |keymap m|inibuffe|
|00001510| 72 2d 6c 6f 63 61 6c 2d | 6d 61 70 20 63 75 72 72 |r-local-|map curr|
|00001520| 65 6e 74 2d 70 72 65 66 | 69 78 2d 61 72 67 20 6d |ent-pref|ix-arg m|
|00001530| 69 6e 69 62 75 66 66 65 | 72 2d 68 65 6c 70 2d 66 |inibuffe|r-help-f|
|00001540| 6f 72 6d 20 68 69 73 74 | 6f 72 79 20 6d 69 6e 69 |orm hist|ory mini|
|00001550| 62 75 66 66 65 72 2d 68 | 69 73 74 6f 72 79 20 6f |buffer-h|istory o|
|00001560| 77 69 6e 64 6f 77 20 6d | 69 6e 69 62 75 66 66 65 |window m|inibuffe|
|00001570| 72 2d 73 63 72 6f 6c 6c | 2d 77 69 6e 64 6f 77 20 |r-scroll|-window |
|00001580| 6d 69 6e 69 62 75 66 66 | 65 72 2d 68 69 73 74 6f |minibuff|er-histo|
|00001590| 72 79 2d 70 6f 73 69 74 | 69 6f 6e 20 6d 69 6e 69 |ry-posit|ion mini|
|000015a0| 62 75 66 66 65 72 2d 68 | 69 73 74 6f 72 79 2d 76 |buffer-h|istory-v|
|000015b0| 61 72 69 61 62 6c 65 20 | 68 65 6c 70 2d 66 6f 72 |ariable |help-for|
|000015c0| 6d 20 6d 6f 75 73 65 2d | 67 72 61 62 62 65 64 2d |m mouse-|grabbed-|
|000015d0| 62 75 66 66 65 72 20 28 | 28 62 79 74 65 2d 63 6f |buffer (|(byte-co|
|000015e0| 64 65 20 22 08 71 88 c1 | 08 21 88 c2 13 c4 20 87 |de ".q..|.!.... .|
|000015f0| 22 20 5b 62 75 66 66 65 | 72 20 62 75 66 66 65 72 |" [buffe|r buffer|
|00001600| 2d 64 69 73 61 62 6c 65 | 2d 75 6e 64 6f 20 6e 69 |-disable|-undo ni|
|00001610| 6c 20 62 75 66 66 65 72 | 2d 72 65 61 64 2d 6f 6e |l buffer|-read-on|
|00001620| 6c 79 20 65 72 61 73 65 | 2d 62 75 66 66 65 72 5d |ly erase|-buffer]|
|00001630| 20 32 29 29 20 65 78 69 | 74 20 28 62 79 74 65 2d | 2)) exi|t (byte-|
|00001640| 63 6f 64 65 20 22 c0 20 | c1 20 56 ab 8a c2 89 1b |code ". |. V.....|
|00001650| 1c c5 0e 06 21 2a 87 c5 | 0e 06 21 87 22 20 5b 72 |....!*..|..!." [r|
|00001660| 65 63 75 72 73 69 6f 6e | 2d 64 65 70 74 68 20 6d |ecursion|-depth m|
|00001670| 69 6e 69 62 75 66 66 65 | 72 2d 64 65 70 74 68 20 |inibuffe|r-depth |
|00001680| 74 20 73 74 61 6e 64 61 | 72 64 2d 69 6e 70 75 74 |t standa|rd-input|
|00001690| 20 73 74 61 6e 64 61 72 | 64 2d 6f 75 74 70 75 74 | standar|d-output|
|000016a0| 20 72 65 61 64 2d 6d 69 | 6e 69 62 75 66 66 65 72 | read-mi|nibuffer|
|000016b0| 2d 69 6e 74 65 72 6e 61 | 6c 20 70 72 6f 6d 70 74 |-interna|l prompt|
|000016c0| 5d 20 32 29 20 73 69 67 | 6e 61 6c 20 71 75 69 74 |] 2) sig|nal quit|
|000016d0| 20 62 75 66 66 65 72 2d | 73 74 72 69 6e 67 20 6c | buffer-|string l|
|000016e0| 69 73 74 20 76 61 6c 20 | 33 20 72 65 61 64 70 20 |ist val |3 readp |
|000016f0| 72 65 61 64 2d 66 72 6f | 6d 2d 73 74 72 69 6e 67 |read-fro|m-string|
|00001700| 5d 20 36 29 29 5d 20 34 | 20 22 5c 0a 52 65 61 64 |] 6))] 4| "\.Read|
|00001710| 20 61 20 73 74 72 69 6e | 67 20 66 72 6f 6d 20 74 | a strin|g from t|
|00001720| 68 65 20 6d 69 6e 69 62 | 75 66 66 65 72 2c 20 70 |he minib|uffer, p|
|00001730| 72 6f 6d 70 74 69 6e 67 | 20 77 69 74 68 20 73 74 |rompting| with st|
|00001740| 72 69 6e 67 20 50 52 4f | 4d 50 54 2e 0a 49 66 20 |ring PRO|MPT..If |
|00001750| 6f 70 74 69 6f 6e 61 6c | 20 73 65 63 6f 6e 64 20 |optional| second |
|00001760| 61 72 67 20 49 4e 49 54 | 49 41 4c 2d 43 4f 4e 54 |arg INIT|IAL-CONT|
|00001770| 45 4e 54 53 20 69 73 20 | 6e 6f 6e 2d 6e 69 6c 2c |ENTS is |non-nil,|
|00001780| 20 69 74 20 69 73 20 61 | 20 73 74 72 69 6e 67 0a | it is a| string.|
|00001790| 20 20 74 6f 20 62 65 20 | 69 6e 73 65 72 74 65 64 | to be |inserted|
|000017a0| 20 69 6e 74 6f 20 74 68 | 65 20 6d 69 6e 69 62 75 | into th|e minibu|
|000017b0| 66 66 65 72 20 62 65 66 | 6f 72 65 20 72 65 61 64 |ffer bef|ore read|
|000017c0| 69 6e 67 20 69 6e 70 75 | 74 2e 0a 20 20 49 66 20 |ing inpu|t.. If |
|000017d0| 49 4e 49 54 49 41 4c 2d | 43 4f 4e 54 45 4e 54 53 |INITIAL-|CONTENTS|
|000017e0| 20 69 73 20 28 53 54 52 | 49 4e 47 20 2e 20 50 4f | is (STR|ING . PO|
|000017f0| 53 49 54 49 4f 4e 29 2c | 20 74 68 65 20 69 6e 69 |SITION),| the ini|
|00001800| 74 69 61 6c 20 69 6e 70 | 75 74 0a 20 20 69 73 20 |tial inp|ut. is |
|00001810| 53 54 52 49 4e 47 2c 20 | 62 75 74 20 70 6f 69 6e |STRING, |but poin|
|00001820| 74 20 69 73 20 70 6c 61 | 63 65 64 20 50 4f 53 49 |t is pla|ced POSI|
|00001830| 54 49 4f 4e 20 63 68 61 | 72 61 63 74 65 72 73 20 |TION cha|racters |
|00001840| 69 6e 74 6f 20 74 68 65 | 20 73 74 72 69 6e 67 2e |into the| string.|
|00001850| 0a 54 68 69 72 64 20 61 | 72 67 20 4b 45 59 4d 41 |.Third a|rg KEYMA|
|00001860| 50 20 69 73 20 61 20 6b | 65 79 6d 61 70 20 74 6f |P is a k|eymap to|
|00001870| 20 75 73 65 20 77 68 69 | 6c 73 74 20 72 65 61 64 | use whi|lst read|
|00001880| 69 6e 67 3b 0a 20 20 69 | 66 20 6f 6d 69 74 74 65 |ing;. i|f omitte|
|00001890| 64 20 6f 72 20 6e 69 6c | 2c 20 74 68 65 20 64 65 |d or nil|, the de|
|000018a0| 66 61 75 6c 74 20 69 73 | 20 60 6d 69 6e 69 62 75 |fault is| `minibu|
|000018b0| 66 66 65 72 2d 6c 6f 63 | 61 6c 2d 6d 61 70 27 2e |ffer-loc|al-map'.|
|000018c0| 0a 49 66 20 66 6f 75 72 | 74 68 20 61 72 67 20 52 |.If four|th arg R|
|000018d0| 45 41 44 20 69 73 20 6e | 6f 6e 2d 6e 69 6c 2c 20 |EAD is n|on-nil, |
|000018e0| 74 68 65 6e 20 69 6e 74 | 65 72 70 72 65 74 20 74 |then int|erpret t|
|000018f0| 68 65 20 72 65 73 75 6c | 74 20 61 73 20 61 20 6c |he resul|t as a l|
|00001900| 69 73 70 20 6f 62 6a 65 | 63 74 0a 20 20 61 6e 64 |isp obje|ct. and|
|00001910| 20 72 65 74 75 72 6e 20 | 74 68 61 74 20 6f 62 6a | return |that obj|
|00001920| 65 63 74 3a 0a 20 20 69 | 6e 20 6f 74 68 65 72 20 |ect:. i|n other |
|00001930| 77 6f 72 64 73 2c 20 64 | 6f 20 60 28 63 61 72 20 |words, d|o `(car |
|00001940| 28 72 65 61 64 2d 66 72 | 6f 6d 2d 73 74 72 69 6e |(read-fr|om-strin|
|00001950| 67 20 49 4e 50 55 54 2d | 53 54 52 49 4e 47 29 29 |g INPUT-|STRING))|
|00001960| 27 0a 46 69 66 74 68 20 | 61 72 67 20 48 49 53 54 |'.Fifth |arg HIST|
|00001970| 4f 52 59 2c 20 69 66 20 | 6e 6f 6e 2d 6e 69 6c 2c |ORY, if |non-nil,|
|00001980| 20 73 70 65 63 69 66 69 | 65 73 20 61 20 68 69 73 | specifi|es a his|
|00001990| 74 6f 72 79 20 6c 69 73 | 74 0a 20 20 61 6e 64 20 |tory lis|t. and |
|000019a0| 6f 70 74 69 6f 6e 61 6c | 6c 79 20 74 68 65 20 69 |optional|ly the i|
|000019b0| 6e 69 74 69 61 6c 20 70 | 6f 73 69 74 69 6f 6e 20 |nitial p|osition |
|000019c0| 69 6e 20 74 68 65 20 6c | 69 73 74 2e 0a 20 20 49 |in the l|ist.. I|
|000019d0| 74 20 63 61 6e 20 62 65 | 20 61 20 73 79 6d 62 6f |t can be| a symbo|
|000019e0| 6c 2c 20 77 68 69 63 68 | 20 69 73 20 74 68 65 20 |l, which| is the |
|000019f0| 68 69 73 74 6f 72 79 20 | 6c 69 73 74 20 76 61 72 |history |list var|
|00001a00| 69 61 62 6c 65 20 74 6f | 20 75 73 65 2c 0a 20 20 |iable to| use,. |
|00001a10| 6f 72 20 69 74 20 63 61 | 6e 20 62 65 20 61 20 63 |or it ca|n be a c|
|00001a20| 6f 6e 73 20 63 65 6c 6c | 20 28 48 49 53 54 56 41 |ons cell| (HISTVA|
|00001a30| 52 20 2e 20 48 49 53 54 | 50 4f 53 29 2e 0a 20 20 |R . HIST|POS).. |
|00001a40| 49 6e 20 74 68 61 74 20 | 63 61 73 65 2c 20 48 49 |In that |case, HI|
|00001a50| 53 54 56 41 52 20 69 73 | 20 74 68 65 20 68 69 73 |STVAR is| the his|
|00001a60| 74 6f 72 79 20 6c 69 73 | 74 20 76 61 72 69 61 62 |tory lis|t variab|
|00001a70| 6c 65 20 74 6f 20 75 73 | 65 2c 0a 20 20 61 6e 64 |le to us|e,. and|
|00001a80| 20 48 49 53 54 50 4f 53 | 20 69 73 20 74 68 65 20 | HISTPOS| is the |
|00001a90| 69 6e 69 74 69 61 6c 20 | 70 6f 73 69 74 69 6f 6e |initial |position|
|00001aa0| 20 28 74 68 65 20 70 6f | 73 69 74 69 6f 6e 20 69 | (the po|sition i|
|00001ab0| 6e 20 74 68 65 20 6c 69 | 73 74 0a 20 20 77 68 69 |n the li|st. whi|
|00001ac0| 63 68 20 49 4e 49 54 49 | 41 4c 2d 43 4f 4e 54 45 |ch INITI|AL-CONTE|
|00001ad0| 4e 54 53 20 63 6f 72 72 | 65 73 70 6f 6e 64 73 20 |NTS corr|esponds |
|00001ae0| 74 6f 29 2e 0a 20 20 49 | 66 20 48 49 53 54 4f 52 |to).. I|f HISTOR|
|00001af0| 59 20 69 73 20 60 74 27 | 2c 20 6e 6f 20 68 69 73 |Y is `t'|, no his|
|00001b00| 74 6f 72 79 20 77 69 6c | 6c 20 62 65 20 72 65 63 |tory wil|l be rec|
|00001b10| 6f 72 64 65 64 2e 0a 20 | 20 50 6f 73 69 74 69 6f |orded.. | Positio|
|00001b20| 6e 73 20 61 72 65 20 63 | 6f 75 6e 74 65 64 20 73 |ns are c|ounted s|
|00001b30| 74 61 72 74 69 6e 67 20 | 66 72 6f 6d 20 31 20 61 |tarting |from 1 a|
|00001b40| 74 20 74 68 65 20 62 65 | 67 69 6e 6e 69 6e 67 20 |t the be|ginning |
|00001b50| 6f 66 20 74 68 65 20 6c | 69 73 74 2e 22 5d 29 0a |of the l|ist."]).|
|00001b60| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 c1 4d 88 |(byte-co|de "..M.|
|00001b70| c2 c3 4d 88 c4 c5 4d 88 | c6 c7 4d 87 22 20 5b 74 |..M...M.|..M." [t|
|00001b80| 65 6d 70 2d 6d 69 6e 69 | 62 75 66 66 65 72 2d 6d |emp-mini|buffer-m|
|00001b90| 65 73 73 61 67 65 20 23 | 5b 28 6d 29 20 22 64 18 |essage #|[(m) "d.|
|00001ba0| 8a 64 62 88 c1 c2 21 88 | 0b 63 88 29 c4 1d c6 c7 |.db...!.|.c.)....|
|00001bb0| 21 88 08 64 7c 88 0e 08 | ad 8f 0e 09 3f ad 8a ca |!..d|...|....?...|
|00001bc0| 0e 0b 21 16 09 c2 89 16 | 08 2a 87 22 20 5b 73 61 |..!.....|.*." [sa|
|00001bd0| 76 65 6d 61 78 20 6d 65 | 73 73 61 67 65 20 6e 69 |vemax me|ssage ni|
|00001be0| 6c 20 6d 20 74 20 69 6e | 68 69 62 69 74 2d 71 75 |l m t in|hibit-qu|
|00001bf0| 69 74 20 73 69 74 2d 66 | 6f 72 20 32 20 71 75 69 |it sit-f|or 2 qui|
|00001c00| 74 2d 66 6c 61 67 20 75 | 6e 72 65 61 64 2d 63 6f |t-flag u|nread-co|
|00001c10| 6d 6d 61 6e 64 2d 65 76 | 65 6e 74 20 63 68 61 72 |mmand-ev|ent char|
|00001c20| 61 63 74 65 72 2d 74 6f | 2d 65 76 65 6e 74 20 69 |acter-to|-event i|
|00001c30| 6e 74 65 72 72 75 70 74 | 2d 63 68 61 72 5d 20 32 |nterrupt|-char] 2|
|00001c40| 5d 20 65 78 61 63 74 2d | 6d 69 6e 69 62 75 66 66 |] exact-|minibuff|
|00001c50| 65 72 2d 63 6f 6d 70 6c | 65 74 69 6f 6e 2d 70 20 |er-compl|etion-p |
|00001c60| 23 5b 28 62 75 66 66 65 | 72 2d 73 74 72 69 6e 67 |#[(buffe|r-string|
|00001c70| 29 20 22 08 ac 82 c1 87 | c2 08 21 ab 9f c3 0c 08 |) ".....|..!.....|
|00001c80| 5c 22 89 1d ac 8a 0c c6 | 98 ad 90 c7 c8 8d ad 8b |\"......|........|
|00001c90| 0e 09 ab 86 0e 09 0d 21 | aa 81 ca 29 87 08 3a ab |.......!|...)..:.|
|00001ca0| c9 08 40 39 ac c4 0e 0b | ac 85 cc 0c 08 5c 22 87 |..@9....|.....\".|
|00001cb0| 0c 96 08 c1 1d 1e 0d 1e | 0e 0e 0d ab a8 0e 0d 40 |........|.......@|
|00001cc0| 40 89 15 0c 9a ac 8d 0d | 0e 0e 9a ac 87 0d 96 0e |@.......|........|
|00001cd0| 0e 9a ab 89 cf 16 0e c1 | 89 16 0d aa 5e 0e 0d 41 |........|....^..A|
|00001ce0| 89 16 0d ac 58 0e 0e 2b | cf 3d 87 08 0c 0e 09 d0 |....X..+|.=......|
|00001cf0| 23 87 22 20 5b 6d 69 6e | 69 62 75 66 66 65 72 2d |#." [min|ibuffer-|
|00001d00| 63 6f 6d 70 6c 65 74 69 | 6f 6e 2d 74 61 62 6c 65 |completi|on-table|
|00001d10| 20 6e 69 6c 20 76 65 63 | 74 6f 72 70 20 69 6e 74 | nil vec|torp int|
|00001d20| 65 72 6e 2d 73 6f 66 74 | 20 62 75 66 66 65 72 2d |ern-soft| buffer-|
|00001d30| 73 74 72 69 6e 67 20 74 | 65 6d 20 22 6e 69 6c 22 |string t|em "nil"|
|00001d40| 20 66 6f 75 6e 64 20 28 | 62 79 74 65 2d 63 6f 64 | found (|byte-cod|
|00001d50| 65 20 22 c0 c1 5c 6e 5c | 22 88 c3 87 22 20 5b 6d |e "..\n\|"..." [m|
|00001d60| 61 70 61 74 6f 6d 73 20 | 23 5b 28 73 29 20 22 c0 |apatoms |#[(s) ".|
|00001d70| 09 21 5c 6e 98 ad 84 c3 | c4 c5 5c 22 87 22 20 5b |.!\n....|..\"." [|
|00001d80| 73 79 6d 62 6f 6c 2d 6e | 61 6d 65 20 73 20 62 75 |symbol-n|ame s bu|
|00001d90| 66 66 65 72 2d 73 74 72 | 69 6e 67 20 74 68 72 6f |ffer-str|ing thro|
|00001da0| 77 20 66 6f 75 6e 64 20 | 74 5d 20 33 5d 20 6d 69 |w found |t] 3] mi|
|00001db0| 6e 69 62 75 66 66 65 72 | 2d 63 6f 6d 70 6c 65 74 |nibuffer|-complet|
|00001dc0| 69 6f 6e 2d 74 61 62 6c | 65 20 6e 69 6c 5d 20 33 |ion-tabl|e nil] 3|
|00001dd0| 29 20 6d 69 6e 69 62 75 | 66 66 65 72 2d 63 6f 6d |) minibu|ffer-com|
|00001de0| 70 6c 65 74 69 6f 6e 2d | 70 72 65 64 69 63 61 74 |pletion-|predicat|
|00001df0| 65 20 74 20 63 6f 6d 70 | 6c 65 74 69 6f 6e 2d 69 |e t comp|letion-i|
|00001e00| 67 6e 6f 72 65 2d 63 61 | 73 65 20 61 73 73 6f 63 |gnore-ca|se assoc|
|00001e10| 20 74 61 69 6c 20 73 20 | 77 69 6e 20 6c 61 6d 62 | tail s |win lamb|
|00001e20| 64 61 5d 20 35 5d 20 6d | 69 6e 69 62 75 66 66 65 |da] 5] m|inibuffe|
|00001e30| 72 2d 64 6f 2d 63 6f 6d | 70 6c 65 74 69 6f 6e 2d |r-do-com|pletion-|
|00001e40| 31 20 23 5b 28 62 75 66 | 66 65 72 2d 73 74 72 69 |1 #[(buf|fer-stri|
|00001e50| 6e 67 20 63 6f 6d 70 6c | 65 74 69 6f 6e 29 20 22 |ng compl|etion) "|
|00001e60| 08 ac 82 c1 87 08 c2 3d | ab 82 c3 87 08 0c 98 3f |.......=|.......?|
|00001e70| 89 1d ab 88 c6 20 88 08 | 63 88 08 14 c7 0c 21 ab |..... ..|c.....!.|
|00001e80| 89 0d ab 83 c8 aa 8a c9 | aa 87 0d ab 83 ca aa 81 |........|........|
|00001e90| cb 29 87 22 20 5b 63 6f | 6d 70 6c 65 74 69 6f 6e |.)." [co|mpletion|
|00001ea0| 20 6e 6f 6e 65 20 74 20 | 75 6e 69 71 75 65 20 62 | none t |unique b|
|00001eb0| 75 66 66 65 72 2d 73 74 | 72 69 6e 67 20 63 6f 6d |uffer-st|ring com|
|00001ec0| 70 6c 65 74 65 64 70 20 | 65 72 61 73 65 2d 62 75 |pletedp |erase-bu|
|00001ed0| 66 66 65 72 20 65 78 61 | 63 74 2d 6d 69 6e 69 62 |ffer exa|ct-minib|
|00001ee0| 75 66 66 65 72 2d 63 6f | 6d 70 6c 65 74 69 6f 6e |uffer-co|mpletion|
|00001ef0| 2d 70 20 63 6f 6d 70 6c | 65 74 65 64 2d 65 78 61 |-p compl|eted-exa|
|00001f00| 63 74 20 65 78 61 63 74 | 20 63 6f 6d 70 6c 65 74 |ct exact| complet|
|00001f10| 65 64 20 75 6e 63 6f 6d | 70 6c 65 74 65 64 5d 20 |ed uncom|pleted] |
|00001f20| 33 5d 20 6d 69 6e 69 62 | 75 66 66 65 72 2d 64 6f |3] minib|uffer-do|
|00001f30| 2d 63 6f 6d 70 6c 65 74 | 69 6f 6e 20 23 5b 28 62 |-complet|ion #[(b|
|00001f40| 75 66 66 65 72 2d 73 74 | 72 69 6e 67 29 20 22 c0 |uffer-st|ring) ".|
|00001f50| 09 5c 6e 0b 23 1c c5 09 | 0c 5c 22 1e 06 0e 07 1e |.\n.#...|.\".....|
|00001f60| 08 c9 16 07 0e 06 ca 3d | ab 8b cb c9 cc 5c 22 88 |.......=|.....\".|
|00001f70| cd ce 21 88 aa ba 0e 06 | cf 3d ac b4 0c 09 98 ac |..!.....|.=......|
|00001f80| 88 d0 20 88 0c 63 88 0c | 11 0e 06 d1 3d ab 8e 0c |.. ..c..|....=...|
|00001f90| 16 07 09 0e 08 9a ab 98 | d2 20 88 aa 93 0e 06 d3 |........|. ......|
|00001fa0| 3d ab 8d 0e 14 ab 85 d2 | 20 88 aa 84 cd d5 21 88 |=.......| .....!.|
|00001fb0| 0e 06 2b 87 22 20 5b 74 | 72 79 2d 63 6f 6d 70 6c |..+." [t|ry-compl|
|00001fc0| 65 74 69 6f 6e 20 62 75 | 66 66 65 72 2d 73 74 72 |etion bu|ffer-str|
|00001fd0| 69 6e 67 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 63 |ing mini|buffer-c|
|00001fe0| 6f 6d 70 6c 65 74 69 6f | 6e 2d 74 61 62 6c 65 20 |ompletio|n-table |
|00001ff0| 6d 69 6e 69 62 75 66 66 | 65 72 2d 63 6f 6d 70 6c |minibuff|er-compl|
|00002000| 65 74 69 6f 6e 2d 70 72 | 65 64 69 63 61 74 65 20 |etion-pr|edicate |
|00002010| 63 6f 6d 70 6c 65 74 69 | 6f 6e 20 6d 69 6e 69 62 |completi|on minib|
|00002020| 75 66 66 65 72 2d 64 6f | 2d 63 6f 6d 70 6c 65 74 |uffer-do|-complet|
|00002030| 69 6f 6e 2d 31 20 73 74 | 61 74 75 73 20 6c 61 73 |ion-1 st|atus las|
|00002040| 74 2d 65 78 61 63 74 2d | 63 6f 6d 70 6c 65 74 69 |t-exact-|completi|
|00002050| 6f 6e 20 6c 61 73 74 20 | 6e 69 6c 20 6e 6f 6e 65 |on last |nil none|
|00002060| 20 64 69 6e 67 20 6e 6f | 2d 63 6f 6d 70 6c 65 74 | ding no|-complet|
|00002070| 69 6f 6e 20 74 65 6d 70 | 2d 6d 69 6e 69 62 75 66 |ion temp|-minibuf|
|00002080| 66 65 72 2d 6d 65 73 73 | 61 67 65 20 22 20 5b 4e |fer-mess|age " [N|
|00002090| 6f 20 6d 61 74 63 68 5d | 22 20 75 6e 69 71 75 65 |o match]|" unique|
|000020a0| 20 65 72 61 73 65 2d 62 | 75 66 66 65 72 20 65 78 | erase-b|uffer ex|
|000020b0| 61 63 74 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 63 |act mini|buffer-c|
|000020c0| 6f 6d 70 6c 65 74 69 6f | 6e 2d 68 65 6c 70 20 75 |ompletio|n-help u|
|000020d0| 6e 63 6f 6d 70 6c 65 74 | 65 64 20 63 6f 6d 70 6c |ncomplet|ed compl|
|000020e0| 65 74 69 6f 6e 2d 61 75 | 74 6f 2d 68 65 6c 70 20 |etion-au|to-help |
|000020f0| 22 20 5b 4e 65 78 74 20 | 63 68 61 72 20 6e 6f 74 |" [Next |char not|
|00002100| 20 75 6e 69 71 75 65 5d | 22 5d 20 34 5d 5d 20 32 | unique]|"] 4]] 2|
|00002110| 29 0a 28 66 73 65 74 20 | 27 63 6f 6d 70 6c 65 74 |).(fset |'complet|
|00002120| 69 6e 67 2d 72 65 61 64 | 20 23 5b 28 70 72 6f 6d |ing-read| #[(prom|
|00002130| 70 74 20 74 61 62 6c 65 | 20 26 6f 70 74 69 6f 6e |pt table| &option|
|00002140| 61 6c 20 70 72 65 64 69 | 63 61 74 65 20 72 65 71 |al predi|cate req|
|00002150| 75 69 72 65 2d 6d 61 74 | 63 68 20 69 6e 69 74 69 |uire-mat|ch initi|
|00002160| 61 6c 2d 63 6f 6e 74 65 | 6e 74 73 20 68 69 73 74 |al-conte|nts hist|
|00002170| 6f 72 79 29 20 22 08 09 | 5c 6e c3 3d 3f ad 81 c3 |ory) "..|\n.=?...|
|00002180| c4 1d 1e 06 1e 07 1e 08 | c9 0e 5c 6e 0e 0b 5c 6e |........|..\n..\n|
|00002190| ac 84 0e 0c aa 82 0e 0d | c4 0e 0e 25 2c 87 22 20 |........|...%,." |
|000021a0| 5b 74 61 62 6c 65 20 70 | 72 65 64 69 63 61 74 65 |[table p|redicate|
|000021b0| 20 72 65 71 75 69 72 65 | 2d 6d 61 74 63 68 20 74 | require|-match t|
|000021c0| 20 6e 69 6c 20 6c 61 73 | 74 2d 65 78 61 63 74 2d | nil las|t-exact-|
|000021d0| 63 6f 6d 70 6c 65 74 69 | 6f 6e 20 6d 69 6e 69 62 |completi|on minib|
|000021e0| 75 66 66 65 72 2d 63 6f | 6d 70 6c 65 74 69 6f 6e |uffer-co|mpletion|
|000021f0| 2d 63 6f 6e 66 69 72 6d | 20 6d 69 6e 69 62 75 66 |-confirm| minibuf|
|00002200| 66 65 72 2d 63 6f 6d 70 | 6c 65 74 69 6f 6e 2d 70 |fer-comp|letion-p|
|00002210| 72 65 64 69 63 61 74 65 | 20 6d 69 6e 69 62 75 66 |redicate| minibuf|
|00002220| 66 65 72 2d 63 6f 6d 70 | 6c 65 74 69 6f 6e 2d 74 |fer-comp|letion-t|
|00002230| 61 62 6c 65 20 72 65 61 | 64 2d 66 72 6f 6d 2d 6d |able rea|d-from-m|
|00002240| 69 6e 69 62 75 66 66 65 | 72 20 70 72 6f 6d 70 74 |inibuffe|r prompt|
|00002250| 20 69 6e 69 74 69 61 6c | 2d 63 6f 6e 74 65 6e 74 | initial|-content|
|00002260| 73 20 6d 69 6e 69 62 75 | 66 66 65 72 2d 6c 6f 63 |s minibu|ffer-loc|
|00002270| 61 6c 2d 63 6f 6d 70 6c | 65 74 69 6f 6e 2d 6d 61 |al-compl|etion-ma|
|00002280| 70 20 6d 69 6e 69 62 75 | 66 66 65 72 2d 6c 6f 63 |p minibu|ffer-loc|
|00002290| 61 6c 2d 6d 75 73 74 2d | 6d 61 74 63 68 2d 6d 61 |al-must-|match-ma|
|000022a0| 70 20 68 69 73 74 6f 72 | 79 5d 20 36 20 22 5c 0a |p histor|y] 6 "\.|
|000022b0| 52 65 61 64 20 61 20 73 | 74 72 69 6e 67 20 69 6e |Read a s|tring in|
|000022c0| 20 74 68 65 20 6d 69 6e | 69 62 75 66 66 65 72 2c | the min|ibuffer,|
|000022d0| 20 77 69 74 68 20 63 6f | 6d 70 6c 65 74 69 6f 6e | with co|mpletion|
|000022e0| 2e 0a 41 72 67 73 3a 20 | 50 52 4f 4d 50 54 2c 20 |..Args: |PROMPT, |
|000022f0| 54 41 42 4c 45 2c 20 50 | 52 45 44 49 43 41 54 45 |TABLE, P|REDICATE|
|00002300| 2c 20 52 45 51 55 49 52 | 45 2d 4d 41 54 43 48 2c |, REQUIR|E-MATCH,|
|00002310| 20 49 4e 49 54 49 41 4c | 2d 43 4f 4e 54 45 4e 54 | INITIAL|-CONTENT|
|00002320| 53 2c 20 48 49 53 54 4f | 52 59 2e 0a 50 52 4f 4d |S, HISTO|RY..PROM|
|00002330| 50 54 20 69 73 20 61 20 | 73 74 72 69 6e 67 20 74 |PT is a |string t|
|00002340| 6f 20 70 72 6f 6d 70 74 | 20 77 69 74 68 3b 20 6e |o prompt| with; n|
|00002350| 6f 72 6d 61 6c 6c 79 20 | 69 74 20 65 6e 64 73 20 |ormally |it ends |
|00002360| 69 6e 20 61 20 63 6f 6c | 6f 6e 20 61 6e 64 20 61 |in a col|on and a|
|00002370| 20 73 70 61 63 65 2e 0a | 54 41 42 4c 45 20 69 73 | space..|TABLE is|
|00002380| 20 61 6e 20 61 6c 69 73 | 74 20 77 68 6f 73 65 20 | an alis|t whose |
|00002390| 65 6c 65 6d 65 6e 74 73 | 27 20 63 61 72 73 20 61 |elements|' cars a|
|000023a0| 72 65 20 73 74 72 69 6e | 67 73 2c 20 6f 72 20 61 |re strin|gs, or a|
|000023b0| 6e 20 6f 62 61 72 72 61 | 79 2e 0a 50 52 45 44 49 |n obarra|y..PREDI|
|000023c0| 43 41 54 45 20 6c 69 6d | 69 74 73 20 63 6f 6d 70 |CATE lim|its comp|
|000023d0| 6c 65 74 69 6f 6e 20 74 | 6f 20 61 20 73 75 62 73 |letion t|o a subs|
|000023e0| 65 74 20 6f 66 20 54 41 | 42 4c 45 2e 0a 53 65 65 |et of TA|BLE..See|
|000023f0| 20 60 74 72 79 2d 63 6f | 6d 70 6c 65 74 69 6f 6e | `try-co|mpletion|
|00002400| 27 20 66 6f 72 20 6d 6f | 72 65 20 64 65 74 61 69 |' for mo|re detai|
|00002410| 6c 73 20 6f 6e 20 63 6f | 6d 70 6c 65 74 69 6f 6e |ls on co|mpletion|
|00002420| 2c 20 54 41 42 4c 45 2c | 20 61 6e 64 20 50 52 45 |, TABLE,| and PRE|
|00002430| 44 49 43 41 54 45 2e 0a | 49 66 20 52 45 51 55 49 |DICATE..|If REQUI|
|00002440| 52 45 2d 4d 41 54 43 48 | 20 69 73 20 6e 6f 6e 2d |RE-MATCH| is non-|
|00002450| 6e 69 6c 2c 20 74 68 65 | 20 75 73 65 72 20 69 73 |nil, the| user is|
|00002460| 20 6e 6f 74 20 61 6c 6c | 6f 77 65 64 20 74 6f 20 | not all|owed to |
|00002470| 65 78 69 74 20 75 6e 6c | 65 73 73 0a 20 74 68 65 |exit unl|ess. the|
|00002480| 20 69 6e 70 75 74 20 69 | 73 20 28 6f 72 20 63 6f | input i|s (or co|
|00002490| 6d 70 6c 65 74 65 73 20 | 74 6f 29 20 61 6e 20 65 |mpletes |to) an e|
|000024a0| 6c 65 6d 65 6e 74 20 6f | 66 20 54 41 42 4c 45 2e |lement o|f TABLE.|
|000024b0| 0a 20 49 66 20 69 74 20 | 69 73 20 61 6c 73 6f 20 |. If it |is also |
|000024c0| 6e 6f 74 20 74 2c 20 52 | 65 74 75 72 6e 20 64 6f |not t, R|eturn do|
|000024d0| 65 73 20 6e 6f 74 20 65 | 78 69 74 20 69 66 20 69 |es not e|xit if i|
|000024e0| 74 20 64 6f 65 73 20 6e | 6f 6e 2d 6e 75 6c 6c 20 |t does n|on-null |
|000024f0| 63 6f 6d 70 6c 65 74 69 | 6f 6e 2e 0a 49 66 20 49 |completi|on..If I|
|00002500| 4e 49 54 49 41 4c 2d 43 | 4f 4e 54 45 4e 54 53 20 |NITIAL-C|ONTENTS |
|00002510| 69 73 20 6e 6f 6e 2d 6e | 69 6c 2c 20 69 6e 73 65 |is non-n|il, inse|
|00002520| 72 74 20 69 74 20 69 6e | 20 74 68 65 20 6d 69 6e |rt it in| the min|
|00002530| 69 62 75 66 66 65 72 20 | 69 6e 69 74 69 61 6c 6c |ibuffer |initiall|
|00002540| 79 2e 0a 20 20 49 66 20 | 69 74 20 69 73 20 28 53 |y.. If |it is (S|
|00002550| 54 52 49 4e 47 20 2e 20 | 50 4f 53 49 54 49 4f 4e |TRING . |POSITION|
|00002560| 29 2c 20 74 68 65 20 69 | 6e 69 74 69 61 6c 20 69 |), the i|nitial i|
|00002570| 6e 70 75 74 0a 20 20 69 | 73 20 53 54 52 49 4e 47 |nput. i|s STRING|
|00002580| 2c 20 62 75 74 20 70 6f | 69 6e 74 20 69 73 20 70 |, but po|int is p|
|00002590| 6c 61 63 65 64 20 50 4f | 53 49 54 49 4f 4e 20 63 |laced PO|SITION c|
|000025a0| 68 61 72 61 63 74 65 72 | 73 20 69 6e 74 6f 20 74 |haracter|s into t|
|000025b0| 68 65 20 73 74 72 69 6e | 67 2e 0a 48 49 53 54 4f |he strin|g..HISTO|
|000025c0| 52 59 2c 20 69 66 20 6e | 6f 6e 2d 6e 69 6c 2c 20 |RY, if n|on-nil, |
|000025d0| 73 70 65 63 69 66 69 65 | 73 20 61 20 68 69 73 74 |specifie|s a hist|
|000025e0| 6f 72 79 20 6c 69 73 74 | 0a 20 20 61 6e 64 20 6f |ory list|. and o|
|000025f0| 70 74 69 6f 6e 61 6c 6c | 79 20 74 68 65 20 69 6e |ptionall|y the in|
|00002600| 69 74 69 61 6c 20 70 6f | 73 69 74 69 6f 6e 20 69 |itial po|sition i|
|00002610| 6e 20 74 68 65 20 6c 69 | 73 74 2e 0a 20 20 49 74 |n the li|st.. It|
|00002620| 20 63 61 6e 20 62 65 20 | 61 20 73 79 6d 62 6f 6c | can be |a symbol|
|00002630| 2c 20 77 68 69 63 68 20 | 69 73 20 74 68 65 20 68 |, which |is the h|
|00002640| 69 73 74 6f 72 79 20 6c | 69 73 74 20 76 61 72 69 |istory l|ist vari|
|00002650| 61 62 6c 65 20 74 6f 20 | 75 73 65 2c 0a 20 20 6f |able to |use,. o|
|00002660| 72 20 69 74 20 63 61 6e | 20 62 65 20 61 20 63 6f |r it can| be a co|
|00002670| 6e 73 20 63 65 6c 6c 20 | 28 48 49 53 54 56 41 52 |ns cell |(HISTVAR|
|00002680| 20 2e 20 48 49 53 54 50 | 4f 53 29 2e 0a 20 20 49 | . HISTP|OS).. I|
|00002690| 6e 20 74 68 61 74 20 63 | 61 73 65 2c 20 48 49 53 |n that c|ase, HIS|
|000026a0| 54 56 41 52 20 69 73 20 | 74 68 65 20 68 69 73 74 |TVAR is |the hist|
|000026b0| 6f 72 79 20 6c 69 73 74 | 20 76 61 72 69 61 62 6c |ory list| variabl|
|000026c0| 65 20 74 6f 20 75 73 65 | 2c 0a 20 20 61 6e 64 20 |e to use|,. and |
|000026d0| 48 49 53 54 50 4f 53 20 | 69 73 20 74 68 65 20 69 |HISTPOS |is the i|
|000026e0| 6e 69 74 69 61 6c 20 70 | 6f 73 69 74 69 6f 6e 20 |nitial p|osition |
|000026f0| 28 74 68 65 20 70 6f 73 | 69 74 69 6f 6e 20 69 6e |(the pos|ition in|
|00002700| 20 74 68 65 20 6c 69 73 | 74 0a 20 20 77 68 69 63 | the lis|t. whic|
|00002710| 68 20 49 4e 49 54 49 41 | 4c 2d 43 4f 4e 54 45 4e |h INITIA|L-CONTEN|
|00002720| 54 53 20 63 6f 72 72 65 | 73 70 6f 6e 64 73 20 74 |TS corre|sponds t|
|00002730| 6f 29 2e 0a 20 20 49 66 | 20 48 49 53 54 4f 52 59 |o).. If| HISTORY|
|00002740| 20 69 73 20 60 74 27 2c | 20 6e 6f 20 68 69 73 74 | is `t',| no hist|
|00002750| 6f 72 79 20 77 69 6c 6c | 20 62 65 20 72 65 63 6f |ory will| be reco|
|00002760| 72 64 65 64 2e 0a 20 20 | 50 6f 73 69 74 69 6f 6e |rded.. |Position|
|00002770| 73 20 61 72 65 20 63 6f | 75 6e 74 65 64 20 73 74 |s are co|unted st|
|00002780| 61 72 74 69 6e 67 20 66 | 72 6f 6d 20 31 20 61 74 |arting f|rom 1 at|
|00002790| 20 74 68 65 20 62 65 67 | 69 6e 6e 69 6e 67 20 6f | the beg|inning o|
|000027a0| 66 20 74 68 65 20 6c 69 | 73 74 2e 0a 43 6f 6d 70 |f the li|st..Comp|
|000027b0| 6c 65 74 69 6f 6e 20 69 | 67 6e 6f 72 65 73 20 63 |letion i|gnores c|
|000027c0| 61 73 65 20 69 66 20 74 | 68 65 20 61 6d 62 69 65 |ase if t|he ambie|
|000027d0| 6e 74 20 76 61 6c 75 65 | 20 6f 66 0a 20 20 60 63 |nt value| of. `c|
|000027e0| 6f 6d 70 6c 65 74 69 6f | 6e 2d 69 67 6e 6f 72 65 |ompletio|n-ignore|
|000027f0| 2d 63 61 73 65 27 20 69 | 73 20 6e 6f 6e 2d 6e 69 |-case' i|s non-ni|
|00002800| 6c 2e 22 5d 29 0a 28 66 | 73 65 74 20 27 6d 69 6e |l."]).(f|set 'min|
|00002810| 69 62 75 66 66 65 72 2d | 63 6f 6d 70 6c 65 74 65 |ibuffer-|complete|
|00002820| 20 23 5b 6e 69 6c 20 22 | c0 c1 20 21 89 1a c3 3d | #[nil "|.. !...=|
|00002830| 3f ad 95 5c 6e c4 3d ab | 86 c5 c6 21 88 aa 89 5c |?..\n.=.|...!...\|
|00002840| 6e c7 3d ab 84 c5 c8 21 | 88 c9 29 87 22 20 5b 6d |n.=....!|..)." [m|
|00002850| 69 6e 69 62 75 66 66 65 | 72 2d 64 6f 2d 63 6f 6d |inibuffe|r-do-com|
|00002860| 70 6c 65 74 69 6f 6e 20 | 62 75 66 66 65 72 2d 73 |pletion |buffer-s|
|00002870| 74 72 69 6e 67 20 73 74 | 61 74 75 73 20 6e 6f 6e |tring st|atus non|
|00002880| 65 20 75 6e 69 71 75 65 | 20 74 65 6d 70 2d 6d 69 |e unique| temp-mi|
|00002890| 6e 69 62 75 66 66 65 72 | 2d 6d 65 73 73 61 67 65 |nibuffer|-message|
|000028a0| 20 22 20 5b 53 6f 6c 65 | 20 63 6f 6d 70 6c 65 74 | " [Sole| complet|
|000028b0| 69 6f 6e 5d 22 20 65 78 | 61 63 74 20 22 20 5b 43 |ion]" ex|act " [C|
|000028c0| 6f 6d 70 6c 65 74 65 2c | 20 62 75 74 20 6e 6f 74 |omplete,| but not|
|000028d0| 20 75 6e 69 71 75 65 5d | 22 20 74 5d 20 33 20 22 | unique]|" t] 3 "|
|000028e0| 5c 0a 43 6f 6d 70 6c 65 | 74 65 20 74 68 65 20 6d |\.Comple|te the m|
|000028f0| 69 6e 69 62 75 66 66 65 | 72 20 63 6f 6e 74 65 6e |inibuffe|r conten|
|00002900| 74 73 20 61 73 20 66 61 | 72 20 61 73 20 70 6f 73 |ts as fa|r as pos|
|00002910| 73 69 62 6c 65 2e 22 20 | 6e 69 6c 5d 29 0a 28 66 |sible." |nil]).(f|
|00002920| 73 65 74 20 27 6d 69 6e | 69 62 75 66 66 65 72 2d |set 'min|ibuffer-|
|00002930| 63 6f 6d 70 6c 65 74 65 | 2d 61 6e 64 2d 65 78 69 |complete|-and-exi|
|00002940| 74 20 23 5b 6e 69 6c 20 | 22 65 64 55 ab 85 c0 c1 |t #[nil |"edU....|
|00002950| c2 5c 22 88 c3 20 1b c4 | 0b 21 ab 85 c0 c1 c2 5c |.\".. ..|.!.....\|
|00002960| 22 88 c5 0b 21 89 1e 06 | c7 3d ac 9d 0e 06 c8 3d |"...!...|.=.....=|
|00002970| ac 97 0e 06 c9 3d ac 86 | 0e 06 ca 3d ad 8f 0e 0b |.....=..|...=....|
|00002980| ab 87 cc cd 21 88 c2 aa | 84 c0 c1 c2 5c 22 2a 87 |....!...|....\"*.|
|00002990| 22 20 5b 74 68 72 6f 77 | 20 65 78 69 74 20 6e 69 |" [throw| exit ni|
|000029a0| 6c 20 62 75 66 66 65 72 | 2d 73 74 72 69 6e 67 20 |l buffer|-string |
|000029b0| 65 78 61 63 74 2d 6d 69 | 6e 69 62 75 66 66 65 72 |exact-mi|nibuffer|
|000029c0| 2d 63 6f 6d 70 6c 65 74 | 69 6f 6e 2d 70 20 6d 69 |-complet|ion-p mi|
|000029d0| 6e 69 62 75 66 66 65 72 | 2d 64 6f 2d 63 6f 6d 70 |nibuffer|-do-comp|
|000029e0| 6c 65 74 69 6f 6e 20 73 | 74 61 74 75 73 20 75 6e |letion s|tatus un|
|000029f0| 69 71 75 65 20 65 78 61 | 63 74 20 63 6f 6d 70 6c |ique exa|ct compl|
|00002a00| 65 74 65 64 2d 65 78 61 | 63 74 20 63 6f 6d 70 6c |eted-exa|ct compl|
|00002a10| 65 74 65 64 2d 65 78 61 | 63 74 2d 75 6e 69 71 75 |eted-exa|ct-uniqu|
|00002a20| 65 20 6d 69 6e 69 62 75 | 66 66 65 72 2d 63 6f 6d |e minibu|ffer-com|
|00002a30| 70 6c 65 74 69 6f 6e 2d | 63 6f 6e 66 69 72 6d 20 |pletion-|confirm |
|00002a40| 74 65 6d 70 2d 6d 69 6e | 69 62 75 66 66 65 72 2d |temp-min|ibuffer-|
|00002a50| 6d 65 73 73 61 67 65 20 | 22 20 5b 43 6f 6e 66 69 |message |" [Confi|
|00002a60| 72 6d 5d 22 5d 20 34 20 | 22 5c 0a 43 6f 6d 70 6c |rm]"] 4 |"\.Compl|
|00002a70| 65 74 65 20 74 68 65 20 | 6d 69 6e 69 62 75 66 66 |ete the |minibuff|
|00002a80| 65 72 20 63 6f 6e 74 65 | 6e 74 73 2c 20 61 6e 64 |er conte|nts, and|
|00002a90| 20 6d 61 79 62 65 20 65 | 78 69 74 2e 0a 45 78 69 | maybe e|xit..Exi|
|00002aa0| 74 20 69 66 20 74 68 65 | 20 6e 61 6d 65 20 69 73 |t if the| name is|
|00002ab0| 20 76 61 6c 69 64 20 77 | 69 74 68 20 6e 6f 20 63 | valid w|ith no c|
|00002ac0| 6f 6d 70 6c 65 74 69 6f | 6e 20 6e 65 65 64 65 64 |ompletio|n needed|
|00002ad0| 2e 0a 49 66 20 6e 61 6d | 65 20 77 61 73 20 63 6f |..If nam|e was co|
|00002ae0| 6d 70 6c 65 74 65 64 20 | 74 6f 20 61 20 76 61 6c |mpleted |to a val|
|00002af0| 69 64 20 6d 61 74 63 68 | 2c 0a 61 20 72 65 70 65 |id match|,.a repe|
|00002b00| 74 69 74 69 6f 6e 20 6f | 66 20 74 68 69 73 20 63 |tition o|f this c|
|00002b10| 6f 6d 6d 61 6e 64 20 77 | 69 6c 6c 20 65 78 69 74 |ommand w|ill exit|
|00002b20| 2e 22 20 6e 69 6c 5d 29 | 0a 28 66 73 65 74 20 27 |." nil])|.(fset '|
|00002b30| 73 65 6c 66 2d 69 6e 73 | 65 72 74 2d 61 6e 64 2d |self-ins|ert-and-|
|00002b40| 65 78 69 74 20 23 5b 6e | 69 6c 20 22 c0 20 88 c1 |exit #[n|il ". ..|
|00002b50| c2 c3 5c 22 87 22 20 5b | 73 65 6c 66 2d 69 6e 73 |..\"." [|self-ins|
|00002b60| 65 72 74 2d 63 6f 6d 6d | 61 6e 64 20 74 68 72 6f |ert-comm|and thro|
|00002b70| 77 20 65 78 69 74 20 6e | 69 6c 5d 20 33 20 22 5c |w exit n|il] 3 "\|
|00002b80| 0a 54 65 72 6d 69 6e 61 | 74 65 20 6d 69 6e 69 62 |.Termina|te minib|
|00002b90| 75 66 66 65 72 20 69 6e | 70 75 74 2e 22 20 6e 69 |uffer in|put." ni|
|00002ba0| 6c 5d 29 0a 28 66 73 65 | 74 20 27 65 78 69 74 2d |l]).(fse|t 'exit-|
|00002bb0| 6d 69 6e 69 62 75 66 66 | 65 72 20 23 5b 6e 69 6c |minibuff|er #[nil|
|00002bc0| 20 22 08 ac 85 c1 c2 c3 | 5c 22 88 c4 20 1c c5 0c | "......|\".. ...|
|00002bd0| 21 ab 85 c1 c2 c3 5c 22 | 88 0e 06 ac 83 c7 aa 87 |!.....\"|........|
|00002be0| c8 0c 0e 06 0e 09 23 89 | 1e 5c 6e c7 3d ac 85 0c |......#.|.\n.=...|
|00002bf0| cb 98 ab 85 c1 c2 c3 5c | 22 88 cc 0e 5c 6e ab 83 |.......\|"...\n..|
|00002c00| cd aa 81 ce 21 88 cf 20 | 1e 10 c7 1e 11 d2 0e 10 |....!.. |........|
|00002c10| 21 88 c3 16 13 29 0e 10 | 0e 14 9a ab 87 c1 c2 c3 |!....)..|........|
|00002c20| 5c 22 88 aa 94 0e 15 d6 | 0e 10 c3 5c 22 9a ab 8a |\"......|...\"...|
|00002c30| d7 0e 10 21 88 c1 c2 c7 | 5c 22 88 d8 0e 10 21 88 |...!....|\"....!.|
|00002c40| d7 0e 10 21 2b 87 22 20 | 5b 6d 69 6e 69 62 75 66 |...!+." |[minibuf|
|00002c50| 66 65 72 2d 63 6f 6e 66 | 69 72 6d 2d 69 6e 63 6f |fer-conf|irm-inco|
|00002c60| 6d 70 6c 65 74 65 20 74 | 68 72 6f 77 20 65 78 69 |mplete t|hrow exi|
|00002c70| 74 20 6e 69 6c 20 62 75 | 66 66 65 72 2d 73 74 72 |t nil bu|ffer-str|
|00002c80| 69 6e 67 20 65 78 61 63 | 74 2d 6d 69 6e 69 62 75 |ing exac|t-minibu|
|00002c90| 66 66 65 72 2d 63 6f 6d | 70 6c 65 74 69 6f 6e 2d |ffer-com|pletion-|
|00002ca0| 70 20 6d 69 6e 69 62 75 | 66 66 65 72 2d 63 6f 6d |p minibu|ffer-com|
|00002cb0| 70 6c 65 74 69 6f 6e 2d | 74 61 62 6c 65 20 74 20 |pletion-|table t |
|00002cc0| 74 72 79 2d 63 6f 6d 70 | 6c 65 74 69 6f 6e 20 6d |try-comp|letion m|
|00002cd0| 69 6e 69 62 75 66 66 65 | 72 2d 63 6f 6d 70 6c 65 |inibuffe|r-comple|
|00002ce0| 74 69 6f 6e 2d 70 72 65 | 64 69 63 61 74 65 20 63 |tion-pre|dicate c|
|00002cf0| 6f 6d 70 6c 65 74 69 6f | 6e 20 22 22 20 74 65 6d |ompletio|n "" tem|
|00002d00| 70 2d 6d 69 6e 69 62 75 | 66 66 65 72 2d 6d 65 73 |p-minibu|ffer-mes|
|00002d10| 73 61 67 65 20 22 20 5b | 69 6e 63 6f 6d 70 6c 65 |sage " [|incomple|
|00002d20| 74 65 3b 20 63 6f 6e 66 | 69 72 6d 5d 22 20 22 20 |te; conf|irm]" " |
|00002d30| 5b 6e 6f 20 63 6f 6d 70 | 6c 65 74 69 6f 6e 73 3b |[no comp|letions;|
|00002d40| 20 63 6f 6e 66 69 72 6d | 5d 22 20 61 6c 6c 6f 63 | confirm|]" alloc|
|00002d50| 61 74 65 2d 65 76 65 6e | 74 20 65 76 65 6e 74 20 |ate-even|t event |
|00002d60| 69 6e 68 69 62 69 74 2d | 71 75 69 74 20 6e 65 78 |inhibit-|quit nex|
|00002d70| 74 2d 63 6f 6d 6d 61 6e | 64 2d 65 76 65 6e 74 20 |t-comman|d-event |
|00002d80| 71 75 69 74 2d 66 6c 61 | 67 20 6c 61 73 74 2d 63 |quit-fla|g last-c|
|00002d90| 6f 6d 6d 61 6e 64 2d 65 | 76 65 6e 74 20 69 6e 74 |ommand-e|vent int|
|00002da0| 65 72 72 75 70 74 2d 63 | 68 61 72 20 65 76 65 6e |errupt-c|har even|
|00002db0| 74 2d 74 6f 2d 63 68 61 | 72 61 63 74 65 72 20 64 |t-to-cha|racter d|
|00002dc0| 65 61 6c 6c 6f 63 61 74 | 65 2d 65 76 65 6e 74 20 |eallocat|e-event |
|00002dd0| 64 69 73 70 61 74 63 68 | 2d 65 76 65 6e 74 5d 20 |dispatch|-event] |
|00002de0| 35 20 22 5c 0a 54 65 72 | 6d 69 6e 61 74 65 20 74 |5 "\.Ter|minate t|
|00002df0| 68 69 73 20 6d 69 6e 69 | 62 75 66 66 65 72 20 61 |his mini|buffer a|
|00002e00| 72 67 75 6d 65 6e 74 2e | 0a 49 66 20 6d 69 6e 69 |rgument.|.If mini|
|00002e10| 62 75 66 66 65 72 2d 63 | 6f 6e 66 69 72 6d 2d 69 |buffer-c|onfirm-i|
|00002e20| 6e 63 6f 6d 70 6c 65 74 | 65 20 69 73 20 74 72 75 |ncomplet|e is tru|
|00002e30| 65 2c 20 61 6e 64 20 77 | 65 20 61 72 65 20 69 6e |e, and w|e are in|
|00002e40| 20 61 20 63 6f 6d 70 6c | 65 74 69 6e 67 2d 72 65 | a compl|eting-re|
|00002e50| 61 64 0a 6f 66 20 73 6f | 6d 65 20 6b 69 6e 64 2c |ad.of so|me kind,|
|00002e60| 20 61 6e 64 20 74 68 65 | 20 63 6f 6e 74 65 6e 74 | and the| content|
|00002e70| 73 20 6f 66 20 74 68 65 | 20 6d 69 6e 69 62 75 66 |s of the| minibuf|
|00002e80| 66 65 72 20 69 73 20 6e | 6f 74 20 61 6e 20 65 78 |fer is n|ot an ex|
|00002e90| 69 73 74 69 6e 67 0a 63 | 6f 6d 70 6c 65 74 69 6f |isting.c|ompletio|
|00002ea0| 6e 2c 20 72 65 71 75 69 | 72 65 73 20 61 6e 20 61 |n, requi|res an a|
|00002eb0| 64 64 69 74 69 6f 6e 61 | 6c 20 52 45 54 20 62 65 |dditiona|l RET be|
|00002ec0| 66 6f 72 65 20 74 68 65 | 20 6d 69 6e 69 62 75 66 |fore the| minibuf|
|00002ed0| 66 65 72 20 77 69 6c 6c | 20 62 65 20 65 78 69 74 |fer will| be exit|
|00002ee0| 65 64 0a 28 61 73 73 75 | 6d 69 6e 67 20 74 68 61 |ed.(assu|ming tha|
|00002ef0| 74 20 52 45 54 20 77 61 | 73 20 74 68 65 20 63 68 |t RET wa|s the ch|
|00002f00| 61 72 61 63 74 65 72 20 | 74 68 61 74 20 69 6e 76 |aracter |that inv|
|00002f10| 6f 6b 65 64 20 74 68 69 | 73 20 63 6f 6d 6d 61 6e |oked thi|s comman|
|00002f20| 64 3a 0a 74 68 65 20 63 | 68 61 72 61 63 74 65 72 |d:.the c|haracter|
|00002f30| 20 69 6e 20 71 75 65 73 | 74 69 6f 6e 20 6d 75 73 | in ques|tion mus|
|00002f40| 74 20 62 65 20 74 79 70 | 65 64 20 61 67 61 69 6e |t be typ|ed again|
|00002f50| 29 2e 22 20 6e 69 6c 5d | 29 0a 28 66 73 65 74 20 |)." nil]|).(fset |
|00002f60| 27 6d 69 6e 69 62 75 66 | 66 65 72 2d 63 6f 6d 70 |'minibuf|fer-comp|
|00002f70| 6c 65 74 65 2d 77 6f 72 | 64 20 23 5b 6e 69 6c 20 |lete-wor|d #[nil |
|00002f80| 22 c0 20 18 c1 08 5c 6e | 0b 23 1c c5 08 0c 5c 22 |". ...\n|.#....\"|
|00002f90| 89 1e 06 c7 3d ab 8d c8 | c9 ca 5c 22 88 cb cc 21 |....=...|..\"...!|
|00002fa0| 88 c9 82 bc 00 0e 06 cd | 3d ab 88 cb ce 21 88 cf |........|=....!..|
|00002fb0| 82 bc 00 0e 06 d0 3d ac | 86 0e 06 d1 3d ab cd d2 |......=.|....=...|
|00002fc0| 0e 13 1e 14 1e 15 0e 14 | a8 ab 8f 0e 14 d6 56 ab |........|......V.|
|00002fd0| 89 0e 15 d7 0e 14 21 21 | ae af 0e 14 d8 3d ac 86 |......!!|.....=..|
|00002fe0| 0e 15 d9 21 ae a3 0e 14 | da 3d ac 86 0e 15 db 21 |...!....|.=.....!|
|00002ff0| ae 97 0e 1c ab 85 dd 20 | 88 aa 8d cb 0e 06 d1 3d |....... |.......=|
|00003000| ab 83 de aa 81 df 21 88 | c9 2a aa b4 e0 20 88 0c |......!.|.*... ..|
|00003010| 63 88 65 62 88 08 47 c9 | 1e 21 89 1e 5c 22 0c 47 |c.eb..G.|.!..\".G|
|00003020| 57 ab 99 e3 e4 8d ab 94 | 65 62 88 0e 5c 22 75 88 |W.......|eb..\"u.|
|00003030| e5 e6 c9 cf 23 ab 86 60 | 64 7c 88 aa 83 64 62 88 |....#..`|d|...db.|
|00003040| 2a cf 2b 87 22 20 5b 62 | 75 66 66 65 72 2d 73 74 |*.+." [b|uffer-st|
|00003050| 72 69 6e 67 20 74 72 79 | 2d 63 6f 6d 70 6c 65 74 |ring try|-complet|
|00003060| 69 6f 6e 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 63 |ion mini|buffer-c|
|00003070| 6f 6d 70 6c 65 74 69 6f | 6e 2d 74 61 62 6c 65 20 |ompletio|n-table |
|00003080| 6d 69 6e 69 62 75 66 66 | 65 72 2d 63 6f 6d 70 6c |minibuff|er-compl|
|00003090| 65 74 69 6f 6e 2d 70 72 | 65 64 69 63 61 74 65 20 |etion-pr|edicate |
|000030a0| 63 6f 6d 70 6c 65 74 69 | 6f 6e 20 6d 69 6e 69 62 |completi|on minib|
|000030b0| 75 66 66 65 72 2d 64 6f | 2d 63 6f 6d 70 6c 65 74 |uffer-do|-complet|
|000030c0| 69 6f 6e 2d 31 20 73 74 | 61 74 75 73 20 6e 6f 6e |ion-1 st|atus non|
|000030d0| 65 20 64 69 6e 67 20 6e | 69 6c 20 6e 6f 2d 63 6f |e ding n|il no-co|
|000030e0| 6d 70 6c 65 74 69 6f 6e | 20 74 65 6d 70 2d 6d 69 |mpletion| temp-mi|
|000030f0| 6e 69 62 75 66 66 65 72 | 2d 6d 65 73 73 61 67 65 |nibuffer|-message|
|00003100| 20 22 20 5b 4e 6f 20 6d | 61 74 63 68 5d 22 20 75 | " [No m|atch]" u|
|00003110| 6e 69 71 75 65 20 22 20 | 5b 53 6f 6c 65 20 63 6f |nique " |[Sole co|
|00003120| 6d 70 6c 65 74 69 6f 6e | 5d 22 20 74 20 75 6e 63 |mpletion|]" t unc|
|00003130| 6f 6d 70 6c 65 74 65 64 | 20 65 78 61 63 74 20 23 |ompleted| exact #|
|00003140| 5b 28 73 29 20 22 c0 c1 | c2 8f 87 22 20 5b 6e 69 |[(s) "..|..." [ni|
|00003150| 6c 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 09 |l (byte-|code "..|
|00003160| 5c 6e 50 0b 0c 23 ad 87 | 64 62 88 5c 6e 63 88 c5 |\nP..#..|db.\nc..|
|00003170| 87 22 20 5b 74 72 79 2d | 63 6f 6d 70 6c 65 74 69 |." [try-|completi|
|00003180| 6f 6e 20 62 75 66 66 65 | 72 2d 73 74 72 69 6e 67 |on buffe|r-string|
|00003190| 20 73 20 6d 69 6e 69 62 | 75 66 66 65 72 2d 63 6f | s minib|uffer-co|
|000031a0| 6d 70 6c 65 74 69 6f 6e | 2d 74 61 62 6c 65 20 6d |mpletion|-table m|
|000031b0| 69 6e 69 62 75 66 66 65 | 72 2d 63 6f 6d 70 6c 65 |inibuffe|r-comple|
|000031c0| 74 69 6f 6e 2d 70 72 65 | 64 69 63 61 74 65 20 74 |tion-pre|dicate t|
|000031d0| 5d 20 34 29 20 28 28 65 | 72 72 6f 72 29 29 5d 20 |] 4) ((e|rror))] |
|000031e0| 33 5d 20 6c 61 73 74 2d | 63 6f 6d 6d 61 6e 64 2d |3] last-|command-|
|000031f0| 63 68 61 72 20 63 68 61 | 72 20 66 6f 6f 20 30 20 |char cha|r foo 0 |
|00003200| 63 68 61 72 2d 74 6f 2d | 73 74 72 69 6e 67 20 33 |char-to-|string 3|
|00003210| 32 20 22 20 22 20 34 35 | 20 22 2d 22 20 63 6f 6d |2 " " 45| "-" com|
|00003220| 70 6c 65 74 69 6f 6e 2d | 61 75 74 6f 2d 68 65 6c |pletion-|auto-hel|
|00003230| 70 20 6d 69 6e 69 62 75 | 66 66 65 72 2d 63 6f 6d |p minibu|ffer-com|
|00003240| 70 6c 65 74 69 6f 6e 2d | 68 65 6c 70 20 22 20 5b |pletion-|help " [|
|00003250| 43 6f 6d 70 6c 65 74 65 | 2c 20 62 75 74 20 6e 6f |Complete|, but no|
|00003260| 74 20 75 6e 69 71 75 65 | 5d 22 20 22 20 5b 41 6d |t unique|]" " [Am|
|00003270| 62 69 67 75 6f 75 73 5d | 22 20 65 72 61 73 65 2d |biguous]|" erase-|
|00003280| 62 75 66 66 65 72 20 6e | 20 6c 65 6e 20 6d 61 74 |buffer n| len mat|
|00003290| 63 68 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |ch (byte|-code ".|
|000032a0| 11 09 5c 6e 57 ab 99 c3 | 0c 09 48 96 0d 09 48 96 |..\nW...|..H...H.|
|000032b0| 5c 22 ab 86 09 54 89 11 | aa 6a c6 c7 c8 5c 22 88 |\"...T..|.j...\".|
|000032c0| aa 62 c9 87 22 20 5b 30 | 20 6e 20 6c 65 6e 20 63 |.b.." [0| n len c|
|000032d0| 68 61 72 2d 65 71 75 61 | 6c 20 62 75 66 66 65 72 |har-equa|l buffer|
|000032e0| 2d 73 74 72 69 6e 67 20 | 63 6f 6d 70 6c 65 74 69 |-string |completi|
|000032f0| 6f 6e 20 74 68 72 6f 77 | 20 6d 61 74 63 68 20 6e |on throw| match n|
|00003300| 69 6c 20 74 5d 20 35 29 | 20 72 65 2d 73 65 61 72 |il t] 5)| re-sear|
|00003310| 63 68 2d 66 6f 72 77 61 | 72 64 20 22 5c 5c 57 22 |ch-forwa|rd "\\W"|
|00003320| 5d 20 35 20 22 5c 0a 43 | 6f 6d 70 6c 65 74 65 20 |] 5 "\.C|omplete |
|00003330| 74 68 65 20 6d 69 6e 69 | 62 75 66 66 65 72 20 63 |the mini|buffer c|
|00003340| 6f 6e 74 65 6e 74 73 20 | 61 74 20 6d 6f 73 74 20 |ontents |at most |
|00003350| 61 20 73 69 6e 67 6c 65 | 20 77 6f 72 64 2e 0a 41 |a single| word..A|
|00003360| 66 74 65 72 20 6f 6e 65 | 20 77 6f 72 64 20 69 73 |fter one| word is|
|00003370| 20 63 6f 6d 70 6c 65 74 | 65 64 20 61 73 20 6d 75 | complet|ed as mu|
|00003380| 63 68 20 61 73 20 70 6f | 73 73 69 62 6c 65 2c 20 |ch as po|ssible, |
|00003390| 61 20 73 70 61 63 65 20 | 6f 72 20 68 79 70 68 65 |a space |or hyphe|
|000033a0| 6e 0a 69 73 20 61 64 64 | 65 64 2c 20 70 72 6f 76 |n.is add|ed, prov|
|000033b0| 69 64 65 64 20 74 68 61 | 74 20 6d 61 74 63 68 65 |ided tha|t matche|
|000033c0| 73 20 73 6f 6d 65 20 70 | 6f 73 73 69 62 6c 65 20 |s some p|ossible |
|000033d0| 63 6f 6d 70 6c 65 74 69 | 6f 6e 2e 22 20 6e 69 6c |completi|on." nil|
|000033e0| 5d 29 0a 28 66 73 65 74 | 20 27 64 69 73 70 6c 61 |]).(fset| 'displa|
|000033f0| 79 2d 63 6f 6d 70 6c 65 | 74 69 6f 6e 2d 6c 69 73 |y-comple|tion-lis|
|00003400| 74 20 23 5b 28 63 6f 6d | 70 6c 65 74 69 6f 6e 73 |t #[(com|pletions|
|00003410| 29 20 22 70 c0 09 21 18 | 1a 08 ab 83 09 71 88 0b |) "p..!.|.....q..|
|00003420| ac 87 c4 c5 21 88 82 55 | 01 08 ab 86 c6 c7 20 21 |....!..U|...... !|
|00003430| aa 81 c8 1e 09 ca 89 1e | 0b 1e 0c 0b 1e 0d 0e 0d |........|........|
|00003440| ab cc 0e 0d 40 89 1e 0e | 3b ab 85 0e 0e 47 aa a5 |....@...|;....G..|
|00003450| 0e 0e 3a ab 99 0e 0e 40 | 3b ab 93 0e 0e 41 40 3b |..:....@|;....A@;|
|00003460| ab 8c 0e 0e 40 47 0e 0e | 41 40 47 5c 5c aa 87 cf |....@G..|A@G\\...|
|00003470| d0 d1 0e 0e 44 5c 22 89 | 1e 12 0e 0b 56 ab 84 0e |....D\".|....V...|
|00003480| 12 16 0b 0e 0c 54 16 0c | 0e 0d 41 16 0d 2a aa 30 |.....T..|..A..*.0|
|00003490| 29 0e 0b d3 5c 5c 16 0b | 0e 09 0e 0b a5 0e 0c 5e |)...\\..|.......^|
|000034a0| 89 1e 14 d5 58 ab 84 0e | 0c aa 9d 0e 09 0e 14 a5 |....X...|........|
|000034b0| 16 0b 0e 0c 0e 14 a6 ca | 55 ac 88 0e 0c 0e 14 a5 |........|U.......|
|000034c0| 54 aa 85 0e 0c 0e 14 a5 | 29 1e 16 c4 d7 21 88 0b |T.......|)....!..|
|000034d0| ca 1e 18 1e 0d 0e 18 0e | 16 57 83 53 01 d9 20 88 |........|.W.S.. .|
|000034e0| ca 89 0e 0d 1e 1a 1e 1b | 1e 1c 0e 1a ab ed 0e 1a |........|........|
|000034f0| 40 1e 0e 0e 1c ca 55 ac | 9a 08 ab 88 dd 0e 1c d5 |@.....U.|........|
|00003500| 5c 22 88 aa 8f de df 21 | 88 0e 1b 54 89 16 1b 0e |\".....!|...T....|
|00003510| 1c 57 ac 71 0e 1c 0e 0b | 5c 5c 16 1c 0e 0e 3a ab |.W.q....|\\....:.|
|00003520| a1 c4 0e 0e 40 21 88 c4 | 0e 0e 41 40 21 88 08 ac |....@!..|..A@!...|
|00003530| a1 0e 1b 0e 0e 40 47 0e | 0e 41 40 47 5c 5c 5c 5c |.....@G.|.A@G\\\\|
|00003540| 16 1b aa 90 c4 0e 0e 21 | 88 08 ac 88 0e 1b 0e 0e |.......!|........|
|00003550| 47 5c 5c 16 1b 29 0e 16 | 0e 1a 9b 89 16 1a ac 13 |G\\..)..|........|
|00003560| 0e 0d 41 16 0d 0e 18 54 | 16 18 2b 82 bf 00 2e 06 |..A....T|..+.....|
|00003570| 08 ad 82 5c 6e 71 2a 87 | 22 20 5b 62 75 66 66 65 |...\nq*.|" [buffe|
|00003580| 72 70 20 73 74 61 6e 64 | 61 72 64 2d 6f 75 74 70 |rp stand|ard-outp|
|00003590| 75 74 20 6f 6c 64 2d 62 | 75 66 66 65 72 20 63 6f |ut old-b|uffer co|
|000035a0| 6d 70 6c 65 74 69 6f 6e | 73 20 70 72 69 6e 63 20 |mpletion|s princ |
|000035b0| 22 54 68 65 72 65 20 61 | 72 65 20 6e 6f 20 70 6f |"There a|re no po|
|000035c0| 73 73 69 62 6c 65 20 63 | 6f 6d 70 6c 65 74 69 6f |ssible c|ompletio|
|000035d0| 6e 73 20 6f 66 20 77 68 | 61 74 20 79 6f 75 20 68 |ns of wh|at you h|
|000035e0| 61 76 65 20 74 79 70 65 | 64 2e 22 20 73 63 72 65 |ave type|d." scre|
|000035f0| 65 6e 2d 77 69 64 74 68 | 20 73 65 6c 65 63 74 65 |en-width| selecte|
|00003600| 64 2d 73 63 72 65 65 6e | 20 38 30 20 77 69 6e 2d |d-screen| 80 win-|
|00003610| 77 69 64 74 68 20 30 20 | 6d 61 78 2d 77 69 64 74 |width 0 |max-widt|
|00003620| 68 20 63 6f 75 6e 74 20 | 74 61 69 6c 20 65 6c 74 |h count |tail elt|
|00003630| 20 73 69 67 6e 61 6c 20 | 77 72 6f 6e 67 2d 74 79 | signal |wrong-ty|
|00003640| 70 65 2d 61 72 67 75 6d | 65 6e 74 20 73 74 72 69 |pe-argum|ent stri|
|00003650| 6e 67 70 20 6c 65 6e 20 | 32 20 63 6f 6c 73 20 31 |ngp len |2 cols 1|
|00003660| 20 72 6f 77 73 20 22 50 | 6f 73 73 69 62 6c 65 20 | rows "P|ossible |
|00003670| 63 6f 6d 70 6c 65 74 69 | 6f 6e 73 20 61 72 65 3a |completi|ons are:|
|00003680| 22 20 72 20 74 65 72 70 | 72 69 20 74 61 69 6c 32 |" r terp|ri tail2|
|00003690| 20 63 6f 6c 75 6d 6e 20 | 69 6e 64 65 6e 74 20 69 | column |indent i|
|000036a0| 6e 64 65 6e 74 2d 74 6f | 20 77 72 69 74 65 2d 63 |ndent-to| write-c|
|000036b0| 68 61 72 20 33 32 5d 20 | 35 20 22 5c 0a 44 69 73 |har 32] |5 "\.Dis|
|000036c0| 70 6c 61 79 20 74 68 65 | 20 6c 69 73 74 20 6f 66 |play the| list of|
|000036d0| 20 63 6f 6d 70 6c 65 74 | 69 6f 6e 73 2c 20 43 4f | complet|ions, CO|
|000036e0| 4d 50 4c 45 54 49 4f 4e | 53 2c 20 75 73 69 6e 67 |MPLETION|S, using|
|000036f0| 20 60 73 74 61 6e 64 61 | 72 64 2d 6f 75 74 70 75 | `standa|rd-outpu|
|00003700| 74 27 2e 0a 45 61 63 68 | 20 65 6c 65 6d 65 6e 74 |t'..Each| element|
|00003710| 20 6d 61 79 20 62 65 20 | 6a 75 73 74 20 61 20 73 | may be |just a s|
|00003720| 79 6d 62 6f 6c 20 6f 72 | 20 73 74 72 69 6e 67 0a |ymbol or| string.|
|00003730| 6f 72 20 6d 61 79 20 62 | 65 20 61 20 6c 69 73 74 |or may b|e a list|
|00003740| 20 6f 66 20 74 77 6f 20 | 73 74 72 69 6e 67 73 20 | of two |strings |
|00003750| 74 6f 20 62 65 20 70 72 | 69 6e 74 65 64 20 61 73 |to be pr|inted as|
|00003760| 20 69 66 20 63 6f 6e 63 | 61 74 65 6e 61 74 65 64 | if conc|atenated|
|00003770| 2e 22 5d 29 0a 28 66 73 | 65 74 20 27 6d 69 6e 69 |."]).(fs|et 'mini|
|00003780| 62 75 66 66 65 72 2d 63 | 6f 6d 70 6c 65 74 69 6f |buffer-c|ompletio|
|00003790| 6e 2d 68 65 6c 70 20 23 | 5b 6e 69 6c 20 22 c0 c1 |n-help #|[nil "..|
|000037a0| 21 88 c2 c3 20 0c 0d 23 | 1e 06 c0 c7 21 88 0e 06 |!... ..#|....!...|
|000037b0| ac 8a c8 c7 c9 5c 22 88 | ca cb 21 aa 8a cc 90 cd |.....\".|..!.....|
|000037c0| ce 0e 06 cf 5c 22 21 91 | 29 87 22 20 5b 6d 65 73 |....\"!.|)." [mes|
|000037d0| 73 61 67 65 20 22 4d 61 | 6b 69 6e 67 20 63 6f 6d |sage "Ma|king com|
|000037e0| 70 6c 65 74 69 6f 6e 20 | 6c 69 73 74 2e 2e 2e 22 |pletion |list..."|
|000037f0| 20 61 6c 6c 2d 63 6f 6d | 70 6c 65 74 69 6f 6e 73 | all-com|pletions|
|00003800| 20 62 75 66 66 65 72 2d | 73 74 72 69 6e 67 20 6d | buffer-|string m|
|00003810| 69 6e 69 62 75 66 66 65 | 72 2d 63 6f 6d 70 6c 65 |inibuffe|r-comple|
|00003820| 74 69 6f 6e 2d 74 61 62 | 6c 65 20 6d 69 6e 69 62 |tion-tab|le minib|
|00003830| 75 66 66 65 72 2d 63 6f | 6d 70 6c 65 74 69 6f 6e |uffer-co|mpletion|
|00003840| 2d 70 72 65 64 69 63 61 | 74 65 20 63 6f 6d 70 6c |-predica|te compl|
|00003850| 65 74 69 6f 6e 73 20 6e | 69 6c 20 64 69 6e 67 20 |etions n|il ding |
|00003860| 6e 6f 2d 63 6f 6d 70 6c | 65 74 69 6f 6e 20 74 65 |no-compl|etion te|
|00003870| 6d 70 2d 6d 69 6e 69 62 | 75 66 66 65 72 2d 6d 65 |mp-minib|uffer-me|
|00003880| 73 73 61 67 65 20 22 20 | 5b 4e 6f 20 63 6f 6d 70 |ssage " |[No comp|
|00003890| 6c 65 74 69 6f 6e 73 5d | 22 20 22 2a 43 6f 6d 70 |letions]|" "*Comp|
|000038a0| 6c 65 74 69 6f 6e 73 2a | 22 20 64 69 73 70 6c 61 |letions*|" displa|
|000038b0| 79 2d 63 6f 6d 70 6c 65 | 74 69 6f 6e 2d 6c 69 73 |y-comple|tion-lis|
|000038c0| 74 20 73 6f 72 74 20 73 | 74 72 69 6e 67 2d 6c 65 |t sort s|tring-le|
|000038d0| 73 73 70 5d 20 35 20 22 | 5c 0a 44 69 73 70 6c 61 |ssp] 5 "|\.Displa|
|000038e0| 79 20 61 20 6c 69 73 74 | 20 6f 66 20 70 6f 73 73 |y a list| of poss|
|000038f0| 69 62 6c 65 20 63 6f 6d | 70 6c 65 74 69 6f 6e 73 |ible com|pletions|
|00003900| 20 6f 66 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 | of the |current |
|00003910| 6d 69 6e 69 62 75 66 66 | 65 72 20 63 6f 6e 74 65 |minibuff|er conte|
|00003920| 6e 74 73 2e 22 20 6e 69 | 6c 5d 29 0a 28 64 65 66 |nts." ni|l]).(def|
|00003930| 76 61 72 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 68 |var mini|buffer-h|
|00003940| 69 73 74 6f 72 79 20 6e | 69 6c 20 22 5c 0a 44 65 |istory n|il "\.De|
|00003950| 66 61 75 6c 74 20 6d 69 | 6e 69 62 75 66 66 65 72 |fault mi|nibuffer|
|00003960| 20 68 69 73 74 6f 72 79 | 20 6c 69 73 74 2e 0a 54 | history| list..T|
|00003970| 68 69 73 20 69 73 20 75 | 73 65 64 20 66 6f 72 20 |his is u|sed for |
|00003980| 61 6c 6c 20 6d 69 6e 69 | 62 75 66 66 65 72 20 69 |all mini|buffer i|
|00003990| 6e 70 75 74 20 65 78 63 | 65 70 74 20 77 68 65 6e |nput exc|ept when|
|000039a0| 20 61 6e 20 61 6c 74 65 | 72 6e 61 74 65 20 68 69 | an alte|rnate hi|
|000039b0| 73 74 6f 72 79 0a 6c 69 | 73 74 20 69 73 20 73 70 |story.li|st is sp|
|000039c0| 65 63 69 66 69 65 64 2e | 22 29 0a 28 62 79 74 65 |ecified.|").(byte|
|000039d0| 2d 63 6f 64 65 20 22 c0 | c1 21 ac 82 c2 11 c0 c3 |-code ".|.!......|
|000039e0| 21 ac 82 c2 13 c0 c4 21 | ac 82 c2 14 c0 c5 21 ac |!......!|......!.|
|000039f0| 82 c2 15 c0 c6 21 ac 83 | c2 16 06 c0 c7 21 ac 83 |.....!..|.....!..|
|00003a00| c2 16 07 c0 c8 21 ac 83 | c2 16 08 c0 c9 21 ac 83 |.....!..|.....!..|
|00003a10| c2 16 09 c2 87 22 20 5b | 62 6f 75 6e 64 70 20 6d |....." [|boundp m|
|00003a20| 69 6e 69 62 75 66 66 65 | 72 2d 68 69 73 74 6f 72 |inibuffe|r-histor|
|00003a30| 79 2d 73 65 61 72 63 68 | 2d 68 69 73 74 6f 72 79 |y-search|-history|
|00003a40| 20 6e 69 6c 20 6d 69 6e | 69 62 75 66 66 65 72 2d | nil min|ibuffer-|
|00003a50| 73 65 78 70 2d 68 69 73 | 74 6f 72 79 20 6d 69 6e |sexp-his|tory min|
|00003a60| 69 62 75 66 66 65 72 2d | 63 6f 6d 6d 61 6e 64 2d |ibuffer-|command-|
|00003a70| 68 69 73 74 6f 72 79 20 | 6d 69 6e 69 62 75 66 66 |history |minibuff|
|00003a80| 65 72 2d 66 75 6e 63 74 | 69 6f 6e 2d 68 69 73 74 |er-funct|ion-hist|
|00003a90| 6f 72 79 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 76 |ory mini|buffer-v|
|00003aa0| 61 72 69 61 62 6c 65 2d | 68 69 73 74 6f 72 79 20 |ariable-|history |
|00003ab0| 6d 69 6e 69 62 75 66 66 | 65 72 2d 62 75 66 66 65 |minibuff|er-buffe|
|00003ac0| 72 2d 68 69 73 74 6f 72 | 79 20 6d 69 6e 69 62 75 |r-histor|y minibu|
|00003ad0| 66 66 65 72 2d 73 68 65 | 6c 6c 2d 63 6f 6d 6d 61 |ffer-she|ll-comma|
|00003ae0| 6e 64 2d 68 69 73 74 6f | 72 79 20 6d 69 6e 69 62 |nd-histo|ry minib|
|00003af0| 75 66 66 65 72 2d 66 69 | 6c 65 2d 6e 61 6d 65 2d |uffer-fi|le-name-|
|00003b00| 68 69 73 74 6f 72 79 5d | 20 32 29 0a 28 64 65 66 |history]| 2).(def|
|00003b10| 76 61 72 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 68 |var mini|buffer-h|
|00003b20| 69 73 74 6f 72 79 2d 73 | 65 78 70 2d 66 6c 61 67 |istory-s|exp-flag|
|00003b30| 20 6e 69 6c 20 22 5c 0a | 4e 6f 6e 2d 6e 69 6c 20 | nil "\.|Non-nil |
|00003b40| 77 68 65 6e 20 64 6f 69 | 6e 67 20 68 69 73 74 6f |when doi|ng histo|
|00003b50| 72 79 20 6f 70 65 72 61 | 74 69 6f 6e 73 20 6f 6e |ry opera|tions on|
|00003b60| 20 60 63 6f 6d 6d 61 6e | 64 2d 68 69 73 74 6f 72 | `comman|d-histor|
|00003b70| 79 27 2e 0a 4d 6f 72 65 | 20 67 65 6e 65 72 61 6c |y'..More| general|
|00003b80| 6c 79 2c 20 69 6e 64 69 | 63 61 74 65 73 20 74 68 |ly, indi|cates th|
|00003b90| 61 74 20 74 68 65 20 68 | 69 73 74 6f 72 79 20 6c |at the h|istory l|
|00003ba0| 69 73 74 20 62 65 69 6e | 67 20 61 63 74 65 64 20 |ist bein|g acted |
|00003bb0| 6f 6e 0a 63 6f 6e 74 61 | 69 6e 73 20 65 78 70 72 |on.conta|ins expr|
|00003bc0| 65 73 73 69 6f 6e 73 20 | 72 61 74 68 65 72 20 74 |essions |rather t|
|00003bd0| 68 61 6e 20 73 74 72 69 | 6e 67 73 2e 22 29 0a 28 |han stri|ngs.").(|
|00003be0| 64 65 66 76 61 72 20 6d | 69 6e 69 62 75 66 66 65 |defvar m|inibuffe|
|00003bf0| 72 2d 68 69 73 74 6f 72 | 79 2d 76 61 72 69 61 62 |r-histor|y-variab|
|00003c00| 6c 65 20 27 6d 69 6e 69 | 62 75 66 66 65 72 2d 68 |le 'mini|buffer-h|
|00003c10| 69 73 74 6f 72 79 20 22 | 5c 0a 48 69 73 74 6f 72 |istory "|\.Histor|
|00003c20| 79 20 6c 69 73 74 20 73 | 79 6d 62 6f 6c 20 74 6f |y list s|ymbol to|
|00003c30| 20 61 64 64 20 6d 69 6e | 69 62 75 66 66 65 72 20 | add min|ibuffer |
|00003c40| 76 61 6c 75 65 73 20 74 | 6f 2e 0a 45 61 63 68 20 |values t|o..Each |
|00003c50| 6d 69 6e 69 62 75 66 66 | 65 72 20 6f 75 74 70 75 |minibuff|er outpu|
|00003c60| 74 20 69 73 20 61 64 64 | 65 64 20 77 69 74 68 0a |t is add|ed with.|
|00003c70| 20 20 28 73 65 74 20 6d | 69 6e 69 62 75 66 66 65 | (set m|inibuffe|
|00003c80| 72 2d 68 69 73 74 6f 72 | 79 2d 76 61 72 69 61 62 |r-histor|y-variab|
|00003c90| 6c 65 0a 20 20 20 20 20 | 20 20 28 63 6f 6e 73 20 |le. | (cons |
|00003ca0| 53 54 52 49 4e 47 20 28 | 73 79 6d 62 6f 6c 2d 76 |STRING (|symbol-v|
|00003cb0| 61 6c 75 65 20 6d 69 6e | 69 62 75 66 66 65 72 2d |alue min|ibuffer-|
|00003cc0| 68 69 73 74 6f 72 79 2d | 76 61 72 69 61 62 6c 65 |history-|variable|
|00003cd0| 29 29 29 22 29 0a 28 66 | 73 65 74 20 27 70 72 65 |)))").(f|set 'pre|
|00003ce0| 76 69 6f 75 73 2d 6d 61 | 74 63 68 69 6e 67 2d 68 |vious-ma|tching-h|
|00003cf0| 69 73 74 6f 72 79 2d 65 | 6c 65 6d 65 6e 74 20 23 |istory-e|lement #|
|00003d00| 5b 28 72 65 67 65 78 70 | 20 6e 29 20 22 08 4a c1 |[(regexp| n) ".J.|
|00003d10| 5c 6e 1b 1c 89 1d c6 3d | ab 84 c7 c8 21 88 0e 09 |\n.....=|....!...|
|00003d20| ca 55 ac cc 0b 14 cb 0b | 0e 09 ca 57 ab 83 cc aa |.U......|...W....|
|00003d30| 81 cb 5c 5c 5d 0d 47 5e | 89 13 0c 55 ab 8c c7 0b |..\\].G^|...U....|
|00003d40| cb 55 ab 83 cd aa 81 ce | 21 88 cf 0e 10 0e 11 ab |.U......|!.......|
|00003d50| 88 d2 0b 53 0d 38 21 aa | 84 0b 53 0d 38 5c 22 ab |...S.8!.|..S.8\".|
|00003d60| 3f 0e 09 89 ca 57 ab 83 | cb aa 81 cc 5c 5c 89 16 |?....W..|....\\..|
|00003d70| 09 aa 30 0b 12 d3 20 88 | 0b 53 0d 38 1e 14 0e 11 |..0... .|.S.8....|
|00003d80| ab 86 d2 0e 14 21 aa 82 | 0e 14 63 88 29 65 62 88 |.....!..|..c.)eb.|
|00003d90| 2b 0e 15 40 40 d6 3d ac | 88 0e 15 40 40 d7 3d ad |+..@@.=.|...@@.=.|
|00003da0| 86 0e 15 41 89 16 15 87 | 22 20 5b 6d 69 6e 69 62 |...A....|" [minib|
|00003db0| 75 66 66 65 72 2d 68 69 | 73 74 6f 72 79 2d 76 61 |uffer-hi|story-va|
|00003dc0| 72 69 61 62 6c 65 20 6e | 69 6c 20 6d 69 6e 69 62 |riable n|il minib|
|00003dd0| 75 66 66 65 72 2d 68 69 | 73 74 6f 72 79 2d 70 6f |uffer-hi|story-po|
|00003de0| 73 69 74 69 6f 6e 20 70 | 6f 73 20 70 72 65 76 70 |sition p|os prevp|
|00003df0| 6f 73 20 68 69 73 74 6f | 72 79 20 74 20 65 72 72 |os histo|ry t err|
|00003e00| 6f 72 20 22 68 69 73 74 | 6f 72 79 20 69 73 20 6e |or "hist|ory is n|
|00003e10| 6f 74 20 62 65 69 6e 67 | 20 72 65 63 6f 72 64 65 |ot being| recorde|
|00003e20| 64 20 69 6e 20 74 68 69 | 73 20 63 6f 6e 74 65 78 |d in thi|s contex|
|00003e30| 74 22 20 6e 20 30 20 31 | 20 2d 31 20 22 4e 6f 20 |t" n 0 1| -1 "No |
|00003e40| 6c 61 74 65 72 20 6d 61 | 74 63 68 69 6e 67 20 68 |later ma|tching h|
|00003e50| 69 73 74 6f 72 79 20 69 | 74 65 6d 22 20 22 4e 6f |istory i|tem" "No|
|00003e60| 20 65 61 72 6c 69 65 72 | 20 6d 61 74 63 68 69 6e | earlier| matchin|
|00003e70| 67 20 68 69 73 74 6f 72 | 79 20 69 74 65 6d 22 20 |g histor|y item" |
|00003e80| 73 74 72 69 6e 67 2d 6d | 61 74 63 68 20 72 65 67 |string-m|atch reg|
|00003e90| 65 78 70 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 68 |exp mini|buffer-h|
|00003ea0| 69 73 74 6f 72 79 2d 73 | 65 78 70 2d 66 6c 61 67 |istory-s|exp-flag|
|00003eb0| 20 70 72 69 6e 31 2d 74 | 6f 2d 73 74 72 69 6e 67 | prin1-t|o-string|
|00003ec0| 20 65 72 61 73 65 2d 62 | 75 66 66 65 72 20 65 6c | erase-b|uffer el|
|00003ed0| 74 20 63 6f 6d 6d 61 6e | 64 2d 68 69 73 74 6f 72 |t comman|d-histor|
|00003ee0| 79 20 70 72 65 76 69 6f | 75 73 2d 6d 61 74 63 68 |y previo|us-match|
|00003ef0| 69 6e 67 2d 68 69 73 74 | 6f 72 79 2d 65 6c 65 6d |ing-hist|ory-elem|
|00003f00| 65 6e 74 20 6e 65 78 74 | 2d 6d 61 74 63 68 69 6e |ent next|-matchin|
|00003f10| 67 2d 68 69 73 74 6f 72 | 79 2d 65 6c 65 6d 65 6e |g-histor|y-elemen|
|00003f20| 74 5d 20 36 20 22 5c 0a | 46 69 6e 64 20 74 68 65 |t] 6 "\.|Find the|
|00003f30| 20 70 72 65 76 69 6f 75 | 73 20 68 69 73 74 6f 72 | previou|s histor|
|00003f40| 79 20 65 6c 65 6d 65 6e | 74 20 74 68 61 74 20 6d |y elemen|t that m|
|00003f50| 61 74 63 68 65 73 20 52 | 45 47 45 58 50 2e 0a 28 |atches R|EGEXP..(|
|00003f60| 50 72 65 76 69 6f 75 73 | 20 68 69 73 74 6f 72 79 |Previous| history|
|00003f70| 20 65 6c 65 6d 65 6e 74 | 73 20 72 65 66 65 72 20 | element|s refer |
|00003f80| 74 6f 20 65 61 72 6c 69 | 65 72 20 61 63 74 69 6f |to earli|er actio|
|00003f90| 6e 73 2e 29 0a 57 69 74 | 68 20 70 72 65 66 69 78 |ns.).Wit|h prefix|
|00003fa0| 20 61 72 67 75 6d 65 6e | 74 20 4e 2c 20 73 65 61 | argumen|t N, sea|
|00003fb0| 72 63 68 20 66 6f 72 20 | 4e 74 68 20 70 72 65 76 |rch for |Nth prev|
|00003fc0| 69 6f 75 73 20 6d 61 74 | 63 68 2e 0a 49 66 20 4e |ious mat|ch..If N|
|00003fd0| 20 69 73 20 6e 65 67 61 | 74 69 76 65 2c 20 66 69 | is nega|tive, fi|
|00003fe0| 6e 64 20 74 68 65 20 6e | 65 78 74 20 6f 72 20 4e |nd the n|ext or N|
|00003ff0| 74 68 20 6e 65 78 74 20 | 6d 61 74 63 68 2e 22 20 |th next |match." |
|00004000| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 c1 1a 1b |(byte-co|de "....|
|00004010| 0c 4a c0 3d ab 84 c5 c6 | 21 88 c7 c8 c1 0e 09 c1 |.J.=....|!.......|
|00004020| ca 25 cb 0e 0c 21 2a 44 | 87 22 20 5b 74 20 6e 69 |.%...!*D|." [t ni|
|00004030| 6c 20 6d 69 6e 69 62 75 | 66 66 65 72 2d 68 69 73 |l minibu|ffer-his|
|00004040| 74 6f 72 79 2d 73 65 78 | 70 2d 66 6c 61 67 20 65 |tory-sex|p-flag e|
|00004050| 6e 61 62 6c 65 2d 72 65 | 63 75 72 73 69 76 65 2d |nable-re|cursive-|
|00004060| 6d 69 6e 69 62 75 66 66 | 65 72 73 20 6d 69 6e 69 |minibuff|ers mini|
|00004070| 62 75 66 66 65 72 2d 68 | 69 73 74 6f 72 79 2d 76 |buffer-h|istory-v|
|00004080| 61 72 69 61 62 6c 65 20 | 65 72 72 6f 72 20 22 68 |ariable |error "h|
|00004090| 69 73 74 6f 72 79 20 69 | 73 20 6e 6f 74 20 62 65 |istory i|s not be|
|000040a0| 69 6e 67 20 72 65 63 6f | 72 64 65 64 20 69 6e 20 |ing reco|rded in |
|000040b0| 74 68 69 73 20 63 6f 6e | 74 65 78 74 22 20 72 65 |this con|text" re|
|000040c0| 61 64 2d 66 72 6f 6d 2d | 6d 69 6e 69 62 75 66 66 |ad-from-|minibuff|
|000040d0| 65 72 20 22 50 72 65 76 | 69 6f 75 73 20 65 6c 65 |er "Prev|ious ele|
|000040e0| 6d 65 6e 74 20 6d 61 74 | 63 68 69 6e 67 20 28 72 |ment mat|ching (r|
|000040f0| 65 67 65 78 70 29 3a 20 | 22 20 6d 69 6e 69 62 75 |egexp): |" minibu|
|00004100| 66 66 65 72 2d 6c 6f 63 | 61 6c 2d 6d 61 70 20 6d |ffer-loc|al-map m|
|00004110| 69 6e 69 62 75 66 66 65 | 72 2d 68 69 73 74 6f 72 |inibuffe|r-histor|
|00004120| 79 2d 73 65 61 72 63 68 | 2d 68 69 73 74 6f 72 79 |y-search|-history|
|00004130| 20 70 72 65 66 69 78 2d | 6e 75 6d 65 72 69 63 2d | prefix-|numeric-|
|00004140| 76 61 6c 75 65 20 63 75 | 72 72 65 6e 74 2d 70 72 |value cu|rrent-pr|
|00004150| 65 66 69 78 2d 61 72 67 | 5d 20 36 29 5d 29 0a 28 |efix-arg|] 6)]).(|
|00004160| 66 73 65 74 20 27 6e 65 | 78 74 2d 6d 61 74 63 68 |fset 'ne|xt-match|
|00004170| 69 6e 67 2d 68 69 73 74 | 6f 72 79 2d 65 6c 65 6d |ing-hist|ory-elem|
|00004180| 65 6e 74 20 23 5b 28 72 | 65 67 65 78 70 20 6e 29 |ent #[(r|egexp n)|
|00004190| 20 22 c0 09 5c 6e 5b 5c | 22 87 22 20 5b 70 72 65 | "..\n[\|"." [pre|
|000041a0| 76 69 6f 75 73 2d 6d 61 | 74 63 68 69 6e 67 2d 68 |vious-ma|tching-h|
|000041b0| 69 73 74 6f 72 79 2d 65 | 6c 65 6d 65 6e 74 20 72 |istory-e|lement r|
|000041c0| 65 67 65 78 70 20 6e 5d | 20 33 20 22 5c 0a 46 69 |egexp n]| 3 "\.Fi|
|000041d0| 6e 64 20 74 68 65 20 6e | 65 78 74 20 68 69 73 74 |nd the n|ext hist|
|000041e0| 6f 72 79 20 65 6c 65 6d | 65 6e 74 20 74 68 61 74 |ory elem|ent that|
|000041f0| 20 6d 61 74 63 68 65 73 | 20 52 45 47 45 58 50 2e | matches| REGEXP.|
|00004200| 0a 28 54 68 65 20 6e 65 | 78 74 20 68 69 73 74 6f |.(The ne|xt histo|
|00004210| 72 79 20 65 6c 65 6d 65 | 6e 74 20 72 65 66 65 72 |ry eleme|nt refer|
|00004220| 73 20 74 6f 20 61 20 6d | 6f 72 65 20 72 65 63 65 |s to a m|ore rece|
|00004230| 6e 74 20 61 63 74 69 6f | 6e 2e 29 0a 57 69 74 68 |nt actio|n.).With|
|00004240| 20 70 72 65 66 69 78 20 | 61 72 67 75 6d 65 6e 74 | prefix |argument|
|00004250| 20 4e 2c 20 73 65 61 72 | 63 68 20 66 6f 72 20 4e | N, sear|ch for N|
|00004260| 74 68 20 6e 65 78 74 20 | 6d 61 74 63 68 2e 0a 49 |th next |match..I|
|00004270| 66 20 4e 20 69 73 20 6e | 65 67 61 74 69 76 65 2c |f N is n|egative,|
|00004280| 20 66 69 6e 64 20 74 68 | 65 20 70 72 65 76 69 6f | find th|e previo|
|00004290| 75 73 20 6f 72 20 4e 74 | 68 20 70 72 65 76 69 6f |us or Nt|h previo|
|000042a0| 75 73 20 6d 61 74 63 68 | 2e 22 20 28 62 79 74 65 |us match|." (byte|
|000042b0| 2d 63 6f 64 65 20 22 c0 | c1 1a 1b 0c 4a c0 3d ab |-code ".|....J.=.|
|000042c0| 84 c5 c6 21 88 c7 c8 c1 | 0e 09 c1 ca 25 cb 0e 0c |...!....|....%...|
|000042d0| 21 2a 44 87 22 20 5b 74 | 20 6e 69 6c 20 6d 69 6e |!*D." [t| nil min|
|000042e0| 69 62 75 66 66 65 72 2d | 68 69 73 74 6f 72 79 2d |ibuffer-|history-|
|000042f0| 73 65 78 70 2d 66 6c 61 | 67 20 65 6e 61 62 6c 65 |sexp-fla|g enable|
|00004300| 2d 72 65 63 75 72 73 69 | 76 65 2d 6d 69 6e 69 62 |-recursi|ve-minib|
|00004310| 75 66 66 65 72 73 20 6d | 69 6e 69 62 75 66 66 65 |uffers m|inibuffe|
|00004320| 72 2d 68 69 73 74 6f 72 | 79 2d 76 61 72 69 61 62 |r-histor|y-variab|
|00004330| 6c 65 20 65 72 72 6f 72 | 20 22 68 69 73 74 6f 72 |le error| "histor|
|00004340| 79 20 69 73 20 6e 6f 74 | 20 62 65 69 6e 67 20 72 |y is not| being r|
|00004350| 65 63 6f 72 64 65 64 20 | 69 6e 20 74 68 69 73 20 |ecorded |in this |
|00004360| 63 6f 6e 74 65 78 74 22 | 20 72 65 61 64 2d 66 72 |context"| read-fr|
|00004370| 6f 6d 2d 6d 69 6e 69 62 | 75 66 66 65 72 20 22 4e |om-minib|uffer "N|
|00004380| 65 78 74 20 65 6c 65 6d | 65 6e 74 20 6d 61 74 63 |ext elem|ent matc|
|00004390| 68 69 6e 67 20 28 72 65 | 67 65 78 70 29 3a 20 22 |hing (re|gexp): "|
|000043a0| 20 6d 69 6e 69 62 75 66 | 66 65 72 2d 6c 6f 63 61 | minibuf|fer-loca|
|000043b0| 6c 2d 6d 61 70 20 6d 69 | 6e 69 62 75 66 66 65 72 |l-map mi|nibuffer|
|000043c0| 2d 68 69 73 74 6f 72 79 | 2d 73 65 61 72 63 68 2d |-history|-search-|
|000043d0| 68 69 73 74 6f 72 79 20 | 70 72 65 66 69 78 2d 6e |history |prefix-n|
|000043e0| 75 6d 65 72 69 63 2d 76 | 61 6c 75 65 20 63 75 72 |umeric-v|alue cur|
|000043f0| 72 65 6e 74 2d 70 72 65 | 66 69 78 2d 61 72 67 5d |rent-pre|fix-arg]|
|00004400| 20 36 29 5d 29 0a 28 66 | 73 65 74 20 27 6e 65 78 | 6)]).(f|set 'nex|
|00004410| 74 2d 68 69 73 74 6f 72 | 79 2d 65 6c 65 6d 65 6e |t-histor|y-elemen|
|00004420| 74 20 23 5b 28 6e 29 20 | 22 08 4a c1 3d ab 84 c2 |t #[(n) |".J.=...|
|00004430| c3 21 88 c4 0d 0e 06 5a | 5d 08 4a 47 5e 1e 07 0d |.!.....Z|].JG^...|
|00004440| 0e 07 55 ab 92 c2 c8 c9 | 0e 06 ca 59 ab 83 cb aa |..U.....|...Y....|
|00004450| 81 cc 08 23 21 aa 9e cd | 20 88 0e 07 89 15 53 08 |...#!...| .....S.|
|00004460| 4a 38 1e 0e 0e 0f ab 86 | d0 d1 d2 8f aa 82 0e 0e |J8......|........|
|00004470| 63 88 29 64 62 29 87 22 | 20 5b 6d 69 6e 69 62 75 |c.)db)."| [minibu|
|00004480| 66 66 65 72 2d 68 69 73 | 74 6f 72 79 2d 76 61 72 |ffer-his|tory-var|
|00004490| 69 61 62 6c 65 20 74 20 | 65 72 72 6f 72 20 22 68 |iable t |error "h|
|000044a0| 69 73 74 6f 72 79 20 69 | 73 20 6e 6f 74 20 62 65 |istory i|s not be|
|000044b0| 69 6e 67 20 72 65 63 6f | 72 64 65 64 20 69 6e 20 |ing reco|rded in |
|000044c0| 74 68 69 73 20 63 6f 6e | 74 65 78 74 22 20 31 20 |this con|text" 1 |
|000044d0| 6d 69 6e 69 62 75 66 66 | 65 72 2d 68 69 73 74 6f |minibuff|er-histo|
|000044e0| 72 79 2d 70 6f 73 69 74 | 69 6f 6e 20 6e 20 6e 61 |ry-posit|ion n na|
|000044f0| 72 67 20 66 6f 72 6d 61 | 74 20 22 4e 6f 20 25 73 |rg forma|t "No %s|
|00004500| 20 69 74 65 6d 20 69 6e | 20 25 73 22 20 30 20 22 | item in| %s" 0 "|
|00004510| 66 6f 6c 6c 6f 77 69 6e | 67 22 20 22 70 72 65 63 |followin|g" "prec|
|00004520| 65 64 69 6e 67 22 20 65 | 72 61 73 65 2d 62 75 66 |eding" e|rase-buf|
|00004530| 66 65 72 20 65 6c 74 20 | 6d 69 6e 69 62 75 66 66 |fer elt |minibuff|
|00004540| 65 72 2d 68 69 73 74 6f | 72 79 2d 73 65 78 70 2d |er-histo|ry-sexp-|
|00004550| 66 6c 61 67 20 6e 69 6c | 20 28 62 79 74 65 2d 63 |flag nil| (byte-c|
|00004560| 6f 64 65 20 22 c0 19 c2 | 0b 21 29 87 22 20 5b 74 |ode "...|.!)." [t|
|00004570| 20 70 72 69 6e 74 2d 72 | 65 61 64 61 62 6c 79 20 | print-r|eadably |
|00004580| 70 72 69 6e 31 2d 74 6f | 2d 73 74 72 69 6e 67 20 |prin1-to|-string |
|00004590| 65 6c 74 5d 20 32 29 20 | 28 28 65 72 72 6f 72 20 |elt] 2) |((error |
|000045a0| 28 70 72 69 6e 31 2d 74 | 6f 2d 73 74 72 69 6e 67 |(prin1-t|o-string|
|000045b0| 20 65 6c 74 29 29 29 5d | 20 36 20 22 5c 0a 49 6e | elt)))]| 6 "\.In|
|000045c0| 73 65 72 74 20 74 68 65 | 20 6e 65 78 74 20 65 6c |sert the| next el|
|000045d0| 65 6d 65 6e 74 20 6f 66 | 20 74 68 65 20 6d 69 6e |ement of| the min|
|000045e0| 69 62 75 66 66 65 72 20 | 68 69 73 74 6f 72 79 20 |ibuffer |history |
|000045f0| 69 6e 74 6f 20 74 68 65 | 20 6d 69 6e 69 62 75 66 |into the| minibuf|
|00004600| 66 65 72 2e 22 20 22 70 | 22 5d 29 0a 28 66 73 65 |fer." "p|"]).(fse|
|00004610| 74 20 27 70 72 65 76 69 | 6f 75 73 2d 68 69 73 74 |t 'previ|ous-hist|
|00004620| 6f 72 79 2d 65 6c 65 6d | 65 6e 74 20 23 5b 28 6e |ory-elem|ent #[(n|
|00004630| 29 20 22 c0 09 5b 21 87 | 22 20 5b 6e 65 78 74 2d |) "..[!.|" [next-|
|00004640| 68 69 73 74 6f 72 79 2d | 65 6c 65 6d 65 6e 74 20 |history-|element |
|00004650| 6e 5d 20 32 20 22 5c 0a | 49 6e 73 65 72 74 73 20 |n] 2 "\.|Inserts |
|00004660| 74 68 65 20 70 72 65 76 | 69 6f 75 73 20 65 6c 65 |the prev|ious ele|
|00004670| 6d 65 6e 74 20 6f 66 20 | 74 68 65 20 6d 69 6e 69 |ment of |the mini|
|00004680| 62 75 66 66 65 72 20 68 | 69 73 74 6f 72 79 20 69 |buffer h|istory i|
|00004690| 6e 74 6f 20 74 68 65 20 | 6d 69 6e 69 62 75 66 66 |nto the |minibuff|
|000046a0| 65 72 2e 22 20 22 70 22 | 5d 29 0a 28 66 73 65 74 |er." "p"|]).(fset|
|000046b0| 20 27 72 65 61 64 2d 6d | 69 6e 69 62 75 66 66 65 | 'read-m|inibuffe|
|000046c0| 72 20 23 5b 28 70 72 6f | 6d 70 74 20 26 6f 70 74 |r #[(pro|mpt &opt|
|000046d0| 69 6f 6e 61 6c 20 69 6e | 69 74 69 61 6c 2d 63 6f |ional in|itial-co|
|000046e0| 6e 74 65 6e 74 73 20 68 | 69 73 74 6f 72 79 29 20 |ntents h|istory) |
|000046f0| 22 c0 09 5c 6e 0b c4 0d | ae 81 c6 25 87 22 20 5b |"..\n...|...%." [|
|00004700| 72 65 61 64 2d 66 72 6f | 6d 2d 6d 69 6e 69 62 75 |read-fro|m-minibu|
|00004710| 66 66 65 72 20 70 72 6f | 6d 70 74 20 69 6e 69 74 |ffer pro|mpt init|
|00004720| 69 61 6c 2d 63 6f 6e 74 | 65 6e 74 73 20 6d 69 6e |ial-cont|ents min|
|00004730| 69 62 75 66 66 65 72 2d | 6c 6f 63 61 6c 2d 6d 61 |ibuffer-|local-ma|
|00004740| 70 20 74 20 68 69 73 74 | 6f 72 79 20 6d 69 6e 69 |p t hist|ory mini|
|00004750| 62 75 66 66 65 72 2d 73 | 65 78 70 2d 68 69 73 74 |buffer-s|exp-hist|
|00004760| 6f 72 79 5d 20 36 20 22 | 5c 0a 52 65 74 75 72 6e |ory] 6 "|\.Return|
|00004770| 20 61 20 4c 69 73 70 20 | 6f 62 6a 65 63 74 20 72 | a Lisp |object r|
|00004780| 65 61 64 20 75 73 69 6e | 67 20 74 68 65 20 6d 69 |ead usin|g the mi|
|00004790| 6e 69 62 75 66 66 65 72 | 2e 0a 50 72 6f 6d 70 74 |nibuffer|..Prompt|
|000047a0| 20 77 69 74 68 20 50 52 | 4f 4d 50 54 2e 20 20 49 | with PR|OMPT. I|
|000047b0| 66 20 6e 6f 6e 2d 6e 69 | 6c 2c 20 6f 70 74 69 6f |f non-ni|l, optio|
|000047c0| 6e 61 6c 20 73 65 63 6f | 6e 64 20 61 72 67 20 49 |nal seco|nd arg I|
|000047d0| 4e 49 54 49 41 4c 2d 43 | 4f 4e 54 45 4e 54 53 0a |NITIAL-C|ONTENTS.|
|000047e0| 69 73 20 61 20 73 74 72 | 69 6e 67 20 74 6f 20 69 |is a str|ing to i|
|000047f0| 6e 73 65 72 74 20 69 6e | 20 74 68 65 20 6d 69 6e |nsert in| the min|
|00004800| 69 62 75 66 66 65 72 20 | 62 65 66 6f 72 65 20 72 |ibuffer |before r|
|00004810| 65 61 64 69 6e 67 2e 0a | 54 68 69 72 64 20 61 72 |eading..|Third ar|
|00004820| 67 20 48 49 53 54 4f 52 | 59 2c 20 69 66 20 6e 6f |g HISTOR|Y, if no|
|00004830| 6e 2d 6e 69 6c 2c 20 73 | 70 65 63 69 66 69 65 73 |n-nil, s|pecifies|
|00004840| 20 61 20 68 69 73 74 6f | 72 79 20 6c 69 73 74 2e | a histo|ry list.|
|00004850| 22 5d 29 0a 28 66 73 65 | 74 20 27 72 65 61 64 2d |"]).(fse|t 'read-|
|00004860| 73 74 72 69 6e 67 20 23 | 5b 28 70 72 6f 6d 70 74 |string #|[(prompt|
|00004870| 20 26 6f 70 74 69 6f 6e | 61 6c 20 69 6e 69 74 69 | &option|al initi|
|00004880| 61 6c 2d 63 6f 6e 74 65 | 6e 74 73 20 68 69 73 74 |al-conte|nts hist|
|00004890| 6f 72 79 29 20 22 c0 09 | 5c 6e 0b c4 0d 25 87 22 |ory) "..|\n...%."|
|000048a0| 20 5b 72 65 61 64 2d 66 | 72 6f 6d 2d 6d 69 6e 69 | [read-f|rom-mini|
|000048b0| 62 75 66 66 65 72 20 70 | 72 6f 6d 70 74 20 69 6e |buffer p|rompt in|
|000048c0| 69 74 69 61 6c 2d 63 6f | 6e 74 65 6e 74 73 20 6d |itial-co|ntents m|
|000048d0| 69 6e 69 62 75 66 66 65 | 72 2d 6c 6f 63 61 6c 2d |inibuffe|r-local-|
|000048e0| 6d 61 70 20 6e 69 6c 20 | 68 69 73 74 6f 72 79 5d |map nil |history]|
|000048f0| 20 36 20 22 5c 0a 52 65 | 74 75 72 6e 20 61 20 73 | 6 "\.Re|turn a s|
|00004900| 74 72 69 6e 67 20 66 72 | 6f 6d 20 74 68 65 20 6d |tring fr|om the m|
|00004910| 69 6e 69 62 75 66 66 65 | 72 2c 20 70 72 6f 6d 70 |inibuffe|r, promp|
|00004920| 74 69 6e 67 20 77 69 74 | 68 20 73 74 72 69 6e 67 |ting wit|h string|
|00004930| 20 50 52 4f 4d 50 54 2e | 0a 49 66 20 6e 6f 6e 2d | PROMPT.|.If non-|
|00004940| 6e 69 6c 2c 20 6f 70 74 | 69 6f 6e 61 6c 20 73 65 |nil, opt|ional se|
|00004950| 63 6f 6e 64 20 61 72 67 | 20 49 4e 49 54 49 41 4c |cond arg| INITIAL|
|00004960| 2d 43 4f 4e 54 45 4e 54 | 53 20 69 73 20 61 20 73 |-CONTENT|S is a s|
|00004970| 74 72 69 6e 67 20 74 6f | 20 69 6e 73 65 72 74 0a |tring to| insert.|
|00004980| 69 6e 20 74 68 65 20 6d | 69 6e 69 62 75 66 66 65 |in the m|inibuffe|
|00004990| 72 20 62 65 66 6f 72 65 | 20 72 65 61 64 69 6e 67 |r before| reading|
|000049a0| 2e 0a 54 68 69 72 64 20 | 61 72 67 20 48 49 53 54 |..Third |arg HIST|
|000049b0| 4f 52 59 2c 20 69 66 20 | 6e 6f 6e 2d 6e 69 6c 2c |ORY, if |non-nil,|
|000049c0| 20 73 70 65 63 69 66 69 | 65 73 20 61 20 68 69 73 | specifi|es a his|
|000049d0| 74 6f 72 79 20 6c 69 73 | 74 2e 22 5d 29 0a 28 66 |tory lis|t."]).(f|
|000049e0| 73 65 74 20 27 65 76 61 | 6c 2d 6d 69 6e 69 62 75 |set 'eva|l-minibu|
|000049f0| 66 66 65 72 20 23 5b 28 | 70 72 6f 6d 70 74 20 26 |ffer #[(|prompt &|
|00004a00| 6f 70 74 69 6f 6e 61 6c | 20 69 6e 69 74 69 61 6c |optional| initial|
|00004a10| 2d 63 6f 6e 74 65 6e 74 | 73 20 68 69 73 74 6f 72 |-content|s histor|
|00004a20| 79 29 20 22 c0 c1 5c 6e | 0b 0c 23 21 87 22 20 5b |y) "..\n|..#!." [|
|00004a30| 65 76 61 6c 20 72 65 61 | 64 2d 6d 69 6e 69 62 75 |eval rea|d-minibu|
|00004a40| 66 66 65 72 20 70 72 6f | 6d 70 74 20 69 6e 69 74 |ffer pro|mpt init|
|00004a50| 69 61 6c 2d 63 6f 6e 74 | 65 6e 74 73 20 68 69 73 |ial-cont|ents his|
|00004a60| 74 6f 72 79 5d 20 35 20 | 22 5c 0a 52 65 74 75 72 |tory] 5 |"\.Retur|
|00004a70| 6e 20 76 61 6c 75 65 20 | 6f 66 20 4c 69 73 70 20 |n value |of Lisp |
|00004a80| 65 78 70 72 65 73 73 69 | 6f 6e 20 72 65 61 64 20 |expressi|on read |
|00004a90| 75 73 69 6e 67 20 74 68 | 65 20 6d 69 6e 69 62 75 |using th|e minibu|
|00004aa0| 66 66 65 72 2e 0a 50 72 | 6f 6d 70 74 20 77 69 74 |ffer..Pr|ompt wit|
|00004ab0| 68 20 50 52 4f 4d 50 54 | 2e 20 20 49 66 20 6e 6f |h PROMPT|. If no|
|00004ac0| 6e 2d 6e 69 6c 2c 20 6f | 70 74 69 6f 6e 61 6c 20 |n-nil, o|ptional |
|00004ad0| 73 65 63 6f 6e 64 20 61 | 72 67 20 49 4e 49 54 49 |second a|rg INITI|
|00004ae0| 41 4c 2d 43 4f 4e 54 45 | 4e 54 53 0a 69 73 20 61 |AL-CONTE|NTS.is a|
|00004af0| 20 73 74 72 69 6e 67 20 | 74 6f 20 69 6e 73 65 72 | string |to inser|
|00004b00| 74 20 69 6e 20 74 68 65 | 20 6d 69 6e 69 62 75 66 |t in the| minibuf|
|00004b10| 66 65 72 20 62 65 66 6f | 72 65 20 72 65 61 64 69 |fer befo|re readi|
|00004b20| 6e 67 2e 0a 54 68 69 72 | 64 20 61 72 67 20 48 49 |ng..Thir|d arg HI|
|00004b30| 53 54 4f 52 59 2c 20 69 | 66 20 6e 6f 6e 2d 6e 69 |STORY, i|f non-ni|
|00004b40| 6c 2c 20 73 70 65 63 69 | 66 69 65 73 20 61 20 68 |l, speci|fies a h|
|00004b50| 69 73 74 6f 72 79 20 6c | 69 73 74 2e 22 5d 29 0a |istory l|ist."]).|
|00004b60| 28 66 73 65 74 20 27 72 | 65 61 64 2d 63 6f 6d 6d |(fset 'r|ead-comm|
|00004b70| 61 6e 64 20 23 5b 28 70 | 72 6f 6d 70 74 29 20 22 |and #[(p|rompt) "|
|00004b80| c0 c1 5c 6e 0b c4 c5 c6 | c7 26 06 21 87 22 20 5b |..\n....|.&.!." [|
|00004b90| 69 6e 74 65 72 6e 20 63 | 6f 6d 70 6c 65 74 69 6e |intern c|ompletin|
|00004ba0| 67 2d 72 65 61 64 20 70 | 72 6f 6d 70 74 20 6f 62 |g-read p|rompt ob|
|00004bb0| 61 72 72 61 79 20 63 6f | 6d 6d 61 6e 64 70 20 74 |array co|mmandp t|
|00004bc0| 20 6e 69 6c 20 6d 69 6e | 69 62 75 66 66 65 72 2d | nil min|ibuffer-|
|00004bd0| 63 6f 6d 6d 61 6e 64 2d | 68 69 73 74 6f 72 79 5d |command-|history]|
|00004be0| 20 38 20 22 5c 0a 52 65 | 61 64 20 74 68 65 20 6e | 8 "\.Re|ad the n|
|00004bf0| 61 6d 65 20 6f 66 20 61 | 20 63 6f 6d 6d 61 6e 64 |ame of a| command|
|00004c00| 20 61 6e 64 20 72 65 74 | 75 72 6e 20 61 73 20 61 | and ret|urn as a|
|00004c10| 20 73 79 6d 62 6f 6c 2e | 0a 50 72 6f 6d 70 74 73 | symbol.|.Prompts|
|00004c20| 20 77 69 74 68 20 50 52 | 4f 4d 50 54 2e 22 5d 29 | with PR|OMPT."])|
|00004c30| 0a 28 66 73 65 74 20 27 | 72 65 61 64 2d 66 75 6e |.(fset '|read-fun|
|00004c40| 63 74 69 6f 6e 20 23 5b | 28 70 72 6f 6d 70 74 29 |ction #[|(prompt)|
|00004c50| 20 22 c0 c1 5c 6e 0b c4 | c5 c6 c7 26 06 21 87 22 | "..\n..|...&.!."|
|00004c60| 20 5b 69 6e 74 65 72 6e | 20 63 6f 6d 70 6c 65 74 | [intern| complet|
|00004c70| 69 6e 67 2d 72 65 61 64 | 20 70 72 6f 6d 70 74 20 |ing-read| prompt |
|00004c80| 6f 62 61 72 72 61 79 20 | 66 62 6f 75 6e 64 70 20 |obarray |fboundp |
|00004c90| 74 20 6e 69 6c 20 6d 69 | 6e 69 62 75 66 66 65 72 |t nil mi|nibuffer|
|00004ca0| 2d 66 75 6e 63 74 69 6f | 6e 2d 68 69 73 74 6f 72 |-functio|n-histor|
|00004cb0| 79 5d 20 38 20 22 5c 0a | 52 65 61 64 20 74 68 65 |y] 8 "\.|Read the|
|00004cc0| 20 6e 61 6d 65 20 6f 66 | 20 61 20 66 75 6e 63 74 | name of| a funct|
|00004cd0| 69 6f 6e 20 61 6e 64 20 | 72 65 74 75 72 6e 20 61 |ion and |return a|
|00004ce0| 73 20 61 20 73 79 6d 62 | 6f 6c 2e 0a 50 72 6f 6d |s a symb|ol..Prom|
|00004cf0| 70 74 73 20 77 69 74 68 | 20 50 52 4f 4d 50 54 2e |pts with| PROMPT.|
|00004d00| 22 5d 29 0a 28 66 73 65 | 74 20 27 72 65 61 64 2d |"]).(fse|t 'read-|
|00004d10| 76 61 72 69 61 62 6c 65 | 20 23 5b 28 70 72 6f 6d |variable| #[(prom|
|00004d20| 70 74 29 20 22 c0 c1 5c | 6e 0b c4 c5 c6 c7 26 06 |pt) "..\|n.....&.|
|00004d30| 21 87 22 20 5b 69 6e 74 | 65 72 6e 20 63 6f 6d 70 |!." [int|ern comp|
|00004d40| 6c 65 74 69 6e 67 2d 72 | 65 61 64 20 70 72 6f 6d |leting-r|ead prom|
|00004d50| 70 74 20 6f 62 61 72 72 | 61 79 20 75 73 65 72 2d |pt obarr|ay user-|
|00004d60| 76 61 72 69 61 62 6c 65 | 2d 70 20 74 20 6e 69 6c |variable|-p t nil|
|00004d70| 20 6d 69 6e 69 62 75 66 | 66 65 72 2d 76 61 72 69 | minibuf|fer-vari|
|00004d80| 61 62 6c 65 2d 68 69 73 | 74 6f 72 79 5d 20 38 20 |able-his|tory] 8 |
|00004d90| 22 5c 0a 52 65 61 64 20 | 74 68 65 20 6e 61 6d 65 |"\.Read |the name|
|00004da0| 20 6f 66 20 61 20 75 73 | 65 72 20 76 61 72 69 61 | of a us|er varia|
|00004db0| 62 6c 65 20 61 6e 64 20 | 72 65 74 75 72 6e 20 69 |ble and |return i|
|00004dc0| 74 20 61 73 20 61 20 73 | 79 6d 62 6f 6c 2e 0a 50 |t as a s|ymbol..P|
|00004dd0| 72 6f 6d 70 74 73 20 77 | 69 74 68 20 50 52 4f 4d |rompts w|ith PROM|
|00004de0| 50 54 2e 0a 41 20 75 73 | 65 72 20 76 61 72 69 61 |PT..A us|er varia|
|00004df0| 62 6c 65 20 69 73 20 6f | 6e 65 20 77 68 6f 73 65 |ble is o|ne whose|
|00004e00| 20 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 20 73 | documen|tation s|
|00004e10| 74 61 72 74 73 20 77 69 | 74 68 20 61 20 60 2a 27 |tarts wi|th a `*'|
|00004e20| 20 63 68 61 72 61 63 74 | 65 72 2e 22 5d 29 0a 28 | charact|er."]).(|
|00004e30| 66 73 65 74 20 27 72 65 | 61 64 2d 62 75 66 66 65 |fset 're|ad-buffe|
|00004e40| 72 20 23 5b 28 70 72 6f | 6d 70 74 20 26 6f 70 74 |r #[(pro|mpt &opt|
|00004e50| 69 6f 6e 61 6c 20 64 65 | 66 61 75 6c 74 20 72 65 |ional de|fault re|
|00004e60| 71 75 69 72 65 2d 6d 61 | 74 63 68 29 20 22 08 ab |quire-ma|tch) "..|
|00004e70| 91 c1 c2 0b c4 08 21 ab | 85 c5 08 21 aa 81 08 23 |......!.|...!...#|
|00004e80| aa 81 0b c6 c7 c8 20 5c | 22 c9 1e 5c 6e 1e 0b 1b |...... \|"..\n...|
|00004e90| cc 0b 0e 0b c9 0e 0d c9 | ce 26 06 89 16 5c 6e cf |........|.&...\n.|
|00004ea0| 9a ab 94 0e 0d ac 85 08 | 16 5c 6e aa 8b 08 ab 62 |........|.\n....b|
|00004eb0| d0 08 21 ab 5d 08 16 5c | 6e c4 0e 5c 6e 21 ab 86 |..!.]..\|n..\n!..|
|00004ec0| c5 0e 5c 6e 21 aa 82 0e | 5c 6e 2b 87 22 20 5b 64 |..\n!...|\n+." [d|
|00004ed0| 65 66 61 75 6c 74 20 66 | 6f 72 6d 61 74 20 22 25 |efault f|ormat "%|
|00004ee0| 73 28 64 65 66 61 75 6c | 74 20 25 73 29 20 22 20 |s(defaul|t %s) " |
|00004ef0| 70 72 6f 6d 70 74 20 62 | 75 66 66 65 72 70 20 62 |prompt b|ufferp b|
|00004f00| 75 66 66 65 72 2d 6e 61 | 6d 65 20 6d 61 70 63 61 |uffer-na|me mapca|
|00004f10| 72 20 23 5b 28 62 29 20 | 22 c0 09 21 09 42 87 22 |r #[(b) |"..!.B."|
|00004f20| 20 5b 62 75 66 66 65 72 | 2d 6e 61 6d 65 20 62 5d | [buffer|-name b]|
|00004f30| 20 32 5d 20 62 75 66 66 | 65 72 2d 6c 69 73 74 20 | 2] buff|er-list |
|00004f40| 6e 69 6c 20 72 65 73 75 | 6c 74 20 61 6c 69 73 74 |nil resu|lt alist|
|00004f50| 20 63 6f 6d 70 6c 65 74 | 69 6e 67 2d 72 65 61 64 | complet|ing-read|
|00004f60| 20 72 65 71 75 69 72 65 | 2d 6d 61 74 63 68 20 6d | require|-match m|
|00004f70| 69 6e 69 62 75 66 66 65 | 72 2d 62 75 66 66 65 72 |inibuffe|r-buffer|
|00004f80| 2d 68 69 73 74 6f 72 79 | 20 22 22 20 67 65 74 2d |-history| "" get-|
|00004f90| 62 75 66 66 65 72 5d 20 | 38 20 22 5c 0a 52 65 61 |buffer] |8 "\.Rea|
|00004fa0| 64 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 61 20 |d the na|me of a |
|00004fb0| 62 75 66 66 65 72 20 61 | 6e 64 20 72 65 74 75 72 |buffer a|nd retur|
|00004fc0| 6e 20 61 73 20 61 20 73 | 74 72 69 6e 67 2e 0a 50 |n as a s|tring..P|
|00004fd0| 72 6f 6d 70 74 73 20 77 | 69 74 68 20 50 52 4f 4d |rompts w|ith PROM|
|00004fe0| 50 54 2e 20 20 4f 70 74 | 69 6f 6e 61 6c 20 73 65 |PT. Opt|ional se|
|00004ff0| 63 6f 6e 64 20 61 72 67 | 20 44 45 46 41 55 4c 54 |cond arg| DEFAULT|
|00005000| 20 69 73 20 76 61 6c 75 | 65 20 74 6f 20 72 65 74 | is valu|e to ret|
|00005010| 75 72 6e 20 69 66 20 75 | 73 65 72 0a 65 6e 74 65 |urn if u|ser.ente|
|00005020| 72 73 20 61 6e 20 65 6d | 70 74 79 20 6c 69 6e 65 |rs an em|pty line|
|00005030| 2e 20 20 49 66 20 6f 70 | 74 69 6f 6e 61 6c 20 74 |. If op|tional t|
|00005040| 68 69 72 64 20 61 72 67 | 20 52 45 51 55 49 52 45 |hird arg| REQUIRE|
|00005050| 2d 4d 41 54 43 48 20 69 | 73 20 6e 6f 6e 2d 6e 69 |-MATCH i|s non-ni|
|00005060| 6c 2c 0a 6f 6e 6c 79 20 | 65 78 69 73 74 69 6e 67 |l,.only |existing|
|00005070| 20 62 75 66 66 65 72 20 | 6e 61 6d 65 73 20 61 72 | buffer |names ar|
|00005080| 65 20 61 6c 6c 6f 77 65 | 64 2e 22 5d 29 0a 28 66 |e allowe|d."]).(f|
|00005090| 73 65 74 20 27 72 65 61 | 64 2d 6e 75 6d 62 65 72 |set 'rea|d-number|
|000050a0| 20 23 5b 28 70 72 6f 6d | 70 74 20 26 6f 70 74 69 | #[(prom|pt &opti|
|000050b0| 6f 6e 61 6c 20 69 6e 74 | 65 67 65 72 73 2d 6f 6e |onal int|egers-on|
|000050c0| 6c 79 29 20 22 08 ab 83 | c1 aa 81 c2 c3 1c 1d 0d |ly) "...|........|
|000050d0| 0c 21 ac 8f c3 c6 c7 8f | 14 0d 0c 21 ac 71 c8 20 |.!......|...!.q. |
|000050e0| 88 aa 6c 0c 2a 87 22 20 | 5b 69 6e 74 65 67 65 72 |..l.*." |[integer|
|000050f0| 73 2d 6f 6e 6c 79 20 69 | 6e 74 65 67 65 72 70 20 |s-only i|ntegerp |
|00005100| 6e 75 6d 62 65 72 70 20 | 6e 69 6c 20 6e 75 6d 20 |numberp |nil num |
|00005110| 70 72 65 64 20 28 62 79 | 74 65 2d 63 6f 64 65 20 |pred (by|te-code |
|00005120| 22 c0 09 5c 6e ad 83 c3 | 5c 6e 21 c4 c5 89 25 87 |"..\n...|\n!...%.|
|00005130| 22 20 5b 72 65 61 64 2d | 66 72 6f 6d 2d 6d 69 6e |" [read-|from-min|
|00005140| 69 62 75 66 66 65 72 20 | 70 72 6f 6d 70 74 20 6e |ibuffer |prompt n|
|00005150| 75 6d 20 70 72 69 6e 31 | 2d 74 6f 2d 73 74 72 69 |um prin1|-to-stri|
|00005160| 6e 67 20 6e 69 6c 20 74 | 5d 20 36 29 20 28 28 69 |ng nil t|] 6) ((i|
|00005170| 6e 76 61 6c 69 64 2d 72 | 65 61 64 2d 73 79 6e 74 |nvalid-r|ead-synt|
|00005180| 61 78 29 20 28 65 6e 64 | 2d 6f 66 2d 66 69 6c 65 |ax) (end|-of-file|
|00005190| 29 29 20 62 65 65 70 5d | 20 33 20 22 5c 0a 52 65 |)) beep]| 3 "\.Re|
|000051a0| 61 64 73 20 61 20 6e 75 | 6d 62 65 72 20 66 72 6f |ads a nu|mber fro|
|000051b0| 6d 20 74 68 65 20 6d 69 | 6e 69 62 75 66 66 65 72 |m the mi|nibuffer|
|000051c0| 2e 22 5d 29 0a 28 66 73 | 65 74 20 27 72 65 61 64 |."]).(fs|et 'read|
|000051d0| 2d 73 68 65 6c 6c 2d 63 | 6f 6d 6d 61 6e 64 20 23 |-shell-c|ommand #|
|000051e0| 5b 28 70 72 6f 6d 70 74 | 20 26 6f 70 74 69 6f 6e |[(prompt| &option|
|000051f0| 61 6c 20 69 6e 69 74 69 | 61 6c 2d 69 6e 70 75 74 |al initi|al-input|
|00005200| 29 20 22 c0 09 5c 6e 0b | c4 c5 25 87 22 20 5b 72 |) "..\n.|..%." [r|
|00005210| 65 61 64 2d 66 72 6f 6d | 2d 6d 69 6e 69 62 75 66 |ead-from|-minibuf|
|00005220| 66 65 72 20 70 72 6f 6d | 70 74 20 69 6e 69 74 69 |fer prom|pt initi|
|00005230| 61 6c 2d 69 6e 70 75 74 | 20 72 65 61 64 2d 73 68 |al-input| read-sh|
|00005240| 65 6c 6c 2d 63 6f 6d 6d | 61 6e 64 2d 6d 61 70 20 |ell-comm|and-map |
|00005250| 6e 69 6c 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 73 |nil mini|buffer-s|
|00005260| 68 65 6c 6c 2d 63 6f 6d | 6d 61 6e 64 2d 68 69 73 |hell-com|mand-his|
|00005270| 74 6f 72 79 5d 20 36 20 | 22 5c 0a 4a 75 73 74 20 |tory] 6 |"\.Just |
|00005280| 6c 69 6b 65 20 72 65 61 | 64 2d 73 74 72 69 6e 67 |like rea|d-string|
|00005290| 2c 20 62 75 74 20 75 73 | 65 73 20 72 65 61 64 2d |, but us|es read-|
|000052a0| 73 68 65 6c 6c 2d 63 6f | 6d 6d 61 6e 64 2d 6d 61 |shell-co|mmand-ma|
|000052b0| 70 3a 0a 5c 5c 7b 72 65 | 61 64 2d 73 68 65 6c 6c |p:.\\{re|ad-shell|
|000052c0| 2d 63 6f 6d 6d 61 6e 64 | 2d 6d 61 70 7d 22 5d 29 |-command|-map}"])|
|000052d0| 0a 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 c1 4d |.(byte-c|ode "..M|
|000052e0| 88 c2 c3 4d 87 22 20 5b | 75 6e 2d 73 75 62 73 74 |...M." [|un-subst|
|000052f0| 69 74 75 74 65 2d 69 6e | 2d 66 69 6c 65 2d 6e 61 |itute-in|-file-na|
|00005300| 6d 65 20 23 5b 28 73 74 | 72 69 6e 67 29 20 22 c0 |me #[(st|ring) ".|
|00005310| 09 47 c2 89 89 89 1b 1c | 1d 1e 06 1e 07 1e 08 0e |.G......|........|
|00005320| 09 ca 3d ab 83 09 aa c9 | cb 0e 08 09 5c 22 ac 83 |..=.....|....\"..|
|00005330| 09 aa bf cc 15 cb 0e 08 | 09 cd 95 23 ab 85 0d 54 |........|...#...T|
|00005340| 15 aa 72 ce 0e 07 0d 5c | 5c cf 5c 22 16 06 cd 15 |..r....\|\.\"....|
|00005350| cd 14 0c 0e 07 57 ab 9a | 09 0c 48 13 0e 06 0d 0b |.....W..|..H.....|
|00005360| 49 88 0c 54 14 0d 54 15 | 0b cf 3d ab 65 0d 54 15 |I..T..T.|..=.e.T.|
|00005370| aa 60 0e 06 2e 06 87 22 | 20 5b 22 5c 5c 24 22 20 |.`....."| ["\\$" |
|00005380| 73 74 72 69 6e 67 20 6e | 69 6c 20 63 68 20 6f 20 |string n|il ch o |
|00005390| 6e 20 6e 65 77 20 6f 6c | 65 6e 20 72 65 67 65 78 |n new ol|en regex|
|000053a0| 70 20 73 79 73 74 65 6d | 2d 74 79 70 65 20 76 61 |p system|-type va|
|000053b0| 78 2d 76 6d 73 20 73 74 | 72 69 6e 67 2d 6d 61 74 |x-vms st|ring-mat|
|000053c0| 63 68 20 31 20 30 20 6d | 61 6b 65 2d 73 74 72 69 |ch 1 0 m|ake-stri|
|000053d0| 6e 67 20 33 36 5d 20 36 | 5d 20 72 65 61 64 2d 66 |ng 36] 6|] read-f|
|000053e0| 69 6c 65 2d 6e 61 6d 65 | 2d 31 20 23 5b 28 68 69 |ile-name|-1 #[(hi|
|000053f0| 73 74 6f 72 79 20 70 72 | 6f 6d 70 74 20 64 69 72 |story pr|ompt dir|
|00005400| 20 64 65 66 61 75 6c 74 | 20 6d 75 73 74 2d 6d 61 | default| must-ma|
|00005410| 74 63 68 20 69 6e 69 74 | 69 61 6c 2d 63 6f 6e 74 |tch init|ial-cont|
|00005420| 65 6e 74 73 20 63 6f 6d | 70 6c 65 74 65 72 29 20 |ents com|pleter) |
|00005430| 22 08 ac 82 09 10 c2 08 | c3 5c 22 10 0c ac 83 c5 |".......|.\".....|
|00005440| aa 93 0e 06 ab 8c c7 08 | 0e 06 50 21 08 47 54 42 |........|..P!.GTB|
|00005450| aa 83 c7 08 21 1e 08 0e | 09 ca 3d 1e 0b cc 0e 0d |....!...|..=.....|
|00005460| 0e 0e 08 0e 0f 0e 08 0e | 10 26 06 29 1e 11 0e 10 |........|.&.)....|
|00005470| ac 83 d2 aa 8c 0e 10 3a | ab 85 0e 10 40 aa 82 0e |.......:|....@...|
|00005480| 10 1e 13 0e 11 ab b5 0e | 13 ab b1 0e 13 c3 3d ac |........|......=.|
|00005490| ab d4 0e 13 21 ab a5 0e | 13 4a a2 0e 11 9a ab 9c |....!...|.J......|
|000054a0| d5 d6 d7 8f 89 1e 18 ab | 92 0e 18 0e 11 9a ac 8b |........|........|
|000054b0| 0e 13 0e 18 0e 13 4a 41 | 42 4c 88 29 29 0e 11 ac |......JA|BL.))...|
|000054c0| 85 d9 da 21 aa 9d 0e 1b | ab 95 0e 11 0e 08 3a ab |...!....|......:.|
|000054d0| 85 0e 08 40 aa 82 0e 08 | 9a ab 84 0e 1b aa 84 dc |...@....|........|
|000054e0| 0e 11 21 2a 87 22 20 5b | 64 69 72 20 64 65 66 61 |..!*." [|dir defa|
|000054f0| 75 6c 74 2d 64 69 72 65 | 63 74 6f 72 79 20 61 62 |ult-dire|ctory ab|
|00005500| 62 72 65 76 69 61 74 65 | 2d 66 69 6c 65 2d 6e 61 |breviate|-file-na|
|00005510| 6d 65 20 74 20 69 6e 73 | 65 72 74 2d 64 65 66 61 |me t ins|ert-defa|
|00005520| 75 6c 74 2d 64 69 72 65 | 63 74 6f 72 79 20 22 22 |ult-dire|ctory ""|
|00005530| 20 69 6e 69 74 69 61 6c | 2d 63 6f 6e 74 65 6e 74 | initial|-content|
|00005540| 73 20 75 6e 2d 73 75 62 | 73 74 69 74 75 74 65 2d |s un-sub|stitute-|
|00005550| 69 6e 2d 66 69 6c 65 2d | 6e 61 6d 65 20 69 6e 73 |in-file-|name ins|
|00005560| 65 72 74 20 73 79 73 74 | 65 6d 2d 74 79 70 65 20 |ert syst|em-type |
|00005570| 76 61 78 2d 76 6d 73 20 | 63 6f 6d 70 6c 65 74 69 |vax-vms |completi|
|00005580| 6f 6e 2d 69 67 6e 6f 72 | 65 2d 63 61 73 65 20 63 |on-ignor|e-case c|
|00005590| 6f 6d 70 6c 65 74 69 6e | 67 2d 72 65 61 64 20 70 |ompletin|g-read p|
|000055a0| 72 6f 6d 70 74 20 63 6f | 6d 70 6c 65 74 65 72 20 |rompt co|mpleter |
|000055b0| 6d 75 73 74 2d 6d 61 74 | 63 68 20 68 69 73 74 6f |must-mat|ch histo|
|000055c0| 72 79 20 76 61 6c 20 6d | 69 6e 69 62 75 66 66 65 |ry val m|inibuffe|
|000055d0| 72 2d 68 69 73 74 6f 72 | 79 20 68 69 73 74 20 62 |r-histor|y hist b|
|000055e0| 6f 75 6e 64 70 20 6e 69 | 6c 20 28 65 78 70 61 6e |oundp ni|l (expan|
|000055f0| 64 2d 66 69 6c 65 2d 6e | 61 6d 65 20 76 61 6c 29 |d-file-n|ame val)|
|00005600| 20 28 28 65 72 72 6f 72 | 29 29 20 65 20 65 72 72 | ((error|)) e err|
|00005610| 6f 72 20 22 4e 6f 20 66 | 69 6c 65 20 6e 61 6d 65 |or "No f|ile name|
|00005620| 20 73 70 65 63 69 66 69 | 65 64 22 20 64 65 66 61 | specifi|ed" defa|
|00005630| 75 6c 74 20 73 75 62 73 | 74 69 74 75 74 65 2d 69 |ult subs|titute-i|
|00005640| 6e 2d 66 69 6c 65 2d 6e | 61 6d 65 5d 20 38 5d 5d |n-file-n|ame] 8]]|
|00005650| 20 32 29 0a 28 66 73 65 | 74 20 27 72 65 61 64 2d | 2).(fse|t 'read-|
|00005660| 66 69 6c 65 2d 6e 61 6d | 65 20 23 5b 28 70 72 6f |file-nam|e #[(pro|
|00005670| 6d 70 74 20 26 6f 70 74 | 69 6f 6e 61 6c 20 64 69 |mpt &opt|ional di|
|00005680| 72 20 64 65 66 61 75 6c | 74 20 6d 75 73 74 2d 6d |r defaul|t must-m|
|00005690| 61 74 63 68 20 69 6e 69 | 74 69 61 6c 2d 63 6f 6e |atch ini|tial-con|
|000056a0| 74 65 6e 74 73 20 68 69 | 73 74 6f 72 79 29 20 22 |tents hi|story) "|
|000056b0| c0 09 ae 81 c2 0b 0c 0d | ae 82 0e 06 0e 07 0e 08 |........|........|
|000056c0| c9 26 07 87 22 20 5b 72 | 65 61 64 2d 66 69 6c 65 |.&.." [r|ead-file|
|000056d0| 2d 6e 61 6d 65 2d 31 20 | 68 69 73 74 6f 72 79 20 |-name-1 |history |
|000056e0| 6d 69 6e 69 62 75 66 66 | 65 72 2d 66 69 6c 65 2d |minibuff|er-file-|
|000056f0| 6e 61 6d 65 2d 68 69 73 | 74 6f 72 79 20 70 72 6f |name-his|tory pro|
|00005700| 6d 70 74 20 64 69 72 20 | 64 65 66 61 75 6c 74 20 |mpt dir |default |
|00005710| 62 75 66 66 65 72 2d 66 | 69 6c 65 2d 6e 61 6d 65 |buffer-f|ile-name|
|00005720| 20 6d 75 73 74 2d 6d 61 | 74 63 68 20 69 6e 69 74 | must-ma|tch init|
|00005730| 69 61 6c 2d 63 6f 6e 74 | 65 6e 74 73 20 72 65 61 |ial-cont|ents rea|
|00005740| 64 2d 66 69 6c 65 2d 6e | 61 6d 65 2d 69 6e 74 65 |d-file-n|ame-inte|
|00005750| 72 6e 61 6c 5d 20 38 20 | 22 5c 0a 52 65 61 64 20 |rnal] 8 |"\.Read |
|00005760| 66 69 6c 65 20 6e 61 6d | 65 2c 20 70 72 6f 6d 70 |file nam|e, promp|
|00005770| 74 69 6e 67 20 77 69 74 | 68 20 50 52 4f 4d 50 54 |ting wit|h PROMPT|
|00005780| 20 61 6e 64 20 63 6f 6d | 70 6c 65 74 69 6e 67 20 | and com|pleting |
|00005790| 69 6e 20 64 69 72 65 63 | 74 6f 72 79 20 44 49 52 |in direc|tory DIR|
|000057a0| 2e 0a 56 61 6c 75 65 20 | 69 73 20 6e 6f 74 20 65 |..Value |is not e|
|000057b0| 78 70 61 6e 64 65 64 2d | 2d 2d 79 6f 75 20 6d 75 |xpanded-|--you mu|
|000057c0| 73 74 20 63 61 6c 6c 20 | 60 65 78 70 61 6e 64 2d |st call |`expand-|
|000057d0| 66 69 6c 65 2d 6e 61 6d | 65 27 20 79 6f 75 72 73 |file-nam|e' yours|
|000057e0| 65 6c 66 2e 0a 56 61 6c | 75 65 20 69 73 20 73 75 |elf..Val|ue is su|
|000057f0| 62 6a 65 63 74 20 74 6f | 20 69 6e 74 65 72 70 72 |bject to| interpr|
|00005800| 65 74 65 64 20 62 79 20 | 73 75 62 73 74 69 74 75 |eted by |substitu|
|00005810| 74 65 2d 69 6e 2d 66 69 | 6c 65 2d 6e 61 6d 65 20 |te-in-fi|le-name |
|00005820| 68 6f 77 65 76 65 72 2e | 0a 44 65 66 61 75 6c 74 |however.|.Default|
|00005830| 20 6e 61 6d 65 20 74 6f | 20 44 45 46 41 55 4c 54 | name to| DEFAULT|
|00005840| 20 69 66 20 75 73 65 72 | 20 65 6e 74 65 72 73 20 | if user| enters |
|00005850| 61 20 6e 75 6c 6c 20 73 | 74 72 69 6e 67 2e 0a 20 |a null s|tring.. |
|00005860| 28 49 66 20 44 45 46 41 | 55 4c 54 20 69 73 20 6f |(If DEFA|ULT is o|
|00005870| 6d 69 74 74 65 64 2c 20 | 74 68 65 20 76 69 73 69 |mitted, |the visi|
|00005880| 74 65 64 20 66 69 6c 65 | 20 6e 61 6d 65 20 69 73 |ted file| name is|
|00005890| 20 75 73 65 64 2e 29 0a | 46 6f 75 72 74 68 20 61 | used.).|Fourth a|
|000058a0| 72 67 20 4d 55 53 54 2d | 4d 41 54 43 48 20 6e 6f |rg MUST-|MATCH no|
|000058b0| 6e 2d 6e 69 6c 20 6d 65 | 61 6e 73 20 72 65 71 75 |n-nil me|ans requ|
|000058c0| 69 72 65 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ire exis|ting fil|
|000058d0| 65 27 73 20 6e 61 6d 65 | 2e 0a 20 4e 6f 6e 2d 6e |e's name|.. Non-n|
|000058e0| 69 6c 20 61 6e 64 20 6e | 6f 6e 2d 74 20 6d 65 61 |il and n|on-t mea|
|000058f0| 6e 73 20 61 6c 73 6f 20 | 72 65 71 75 69 72 65 20 |ns also |require |
|00005900| 63 6f 6e 66 69 72 6d 61 | 74 69 6f 6e 20 61 66 74 |confirma|tion aft|
|00005910| 65 72 20 63 6f 6d 70 6c | 65 74 69 6f 6e 2e 0a 46 |er compl|etion..F|
|00005920| 69 66 74 68 20 61 72 67 | 20 49 4e 49 54 49 41 4c |ifth arg| INITIAL|
|00005930| 2d 43 4f 4e 54 45 4e 54 | 53 20 73 70 65 63 69 66 |-CONTENT|S specif|
|00005940| 69 65 73 20 74 65 78 74 | 20 74 6f 20 73 74 61 72 |ies text| to star|
|00005950| 74 20 77 69 74 68 2e 0a | 53 69 78 74 68 20 61 72 |t with..|Sixth ar|
|00005960| 67 20 48 49 53 54 4f 52 | 59 20 73 70 65 63 69 66 |g HISTOR|Y specif|
|00005970| 69 65 73 20 74 68 65 20 | 68 69 73 74 6f 72 79 20 |ies the |history |
|00005980| 6c 69 73 74 20 74 6f 20 | 75 73 65 2e 20 20 44 65 |list to |use. De|
|00005990| 66 61 75 6c 74 20 69 73 | 0a 20 60 6d 69 6e 69 62 |fault is|. `minib|
|000059a0| 75 66 66 65 72 2d 66 69 | 6c 65 2d 6e 61 6d 65 2d |uffer-fi|le-name-|
|000059b0| 68 69 73 74 6f 72 79 27 | 2e 0a 44 49 52 20 64 65 |history'|..DIR de|
|000059c0| 66 61 75 6c 74 73 20 74 | 6f 20 63 75 72 72 65 6e |faults t|o curren|
|000059d0| 74 20 62 75 66 66 65 72 | 27 73 20 64 69 72 65 63 |t buffer|'s direc|
|000059e0| 74 6f 72 79 20 64 65 66 | 61 75 6c 74 2e 22 5d 29 |tory def|ault."])|
|000059f0| 0a 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 c1 4d |.(byte-c|ode "..M|
|00005a00| 88 c2 c3 4d 88 c4 c5 4d | 88 c6 c7 4d 88 c8 c9 4d |...M...M|...M...M|
|00005a10| 87 22 20 5b 72 65 61 64 | 2d 64 69 72 65 63 74 6f |." [read|-directo|
|00005a20| 72 79 2d 6e 61 6d 65 20 | 23 5b 28 70 72 6f 6d 70 |ry-name |#[(promp|
|00005a30| 74 20 26 6f 70 74 69 6f | 6e 61 6c 20 64 69 72 20 |t &optio|nal dir |
|00005a40| 64 65 66 61 75 6c 74 20 | 6d 75 73 74 2d 6d 61 74 |default |must-mat|
|00005a50| 63 68 20 69 6e 69 74 69 | 61 6c 2d 63 6f 6e 74 65 |ch initi|al-conte|
|00005a60| 6e 74 73 29 20 22 c0 c1 | 5c 6e 0b 0c ae 81 0d 0e |nts) "..|\n......|
|00005a70| 06 0e 07 c8 26 07 87 22 | 20 5b 72 65 61 64 2d 66 |....&.."| [read-f|
|00005a80| 69 6c 65 2d 6e 61 6d 65 | 2d 31 20 6d 69 6e 69 62 |ile-name|-1 minib|
|00005a90| 75 66 66 65 72 2d 66 69 | 6c 65 2d 6e 61 6d 65 2d |uffer-fi|le-name-|
|00005aa0| 68 69 73 74 6f 72 79 20 | 70 72 6f 6d 70 74 20 64 |history |prompt d|
|00005ab0| 69 72 20 64 65 66 61 75 | 6c 74 20 64 65 66 61 75 |ir defau|lt defau|
|00005ac0| 6c 74 2d 64 69 72 65 63 | 74 6f 72 79 20 6d 75 73 |lt-direc|tory mus|
|00005ad0| 74 2d 6d 61 74 63 68 20 | 69 6e 69 74 69 61 6c 2d |t-match |initial-|
|00005ae0| 63 6f 6e 74 65 6e 74 73 | 20 72 65 61 64 2d 64 69 |contents| read-di|
|00005af0| 72 65 63 74 6f 72 79 2d | 6e 61 6d 65 2d 69 6e 74 |rectory-|name-int|
|00005b00| 65 72 6e 61 6c 5d 20 38 | 5d 20 72 65 61 64 2d 66 |ernal] 8|] read-f|
|00005b10| 69 6c 65 2d 6e 61 6d 65 | 2d 69 6e 74 65 72 6e 61 |ile-name|-interna|
|00005b20| 6c 2d 31 20 23 5b 28 73 | 74 72 69 6e 67 20 64 69 |l-1 #[(s|tring di|
|00005b30| 72 20 61 63 74 69 6f 6e | 20 63 6f 6d 70 6c 65 74 |r action| complet|
|00005b40| 65 72 29 20 22 c0 c1 5c | 6e 5c 22 ac c0 5c 6e c3 |er) "..\|n\"..\n.|
|00005b50| 9a 3f ad 81 5c 6e 89 1c | ab 85 c5 5c 6e 21 aa 81 |.?..\n..|...\n!..|
|00005b60| 5c 6e 1e 06 0c ad 84 c7 | 0e 06 21 1e 08 0e 09 0e |\n......|..!.....|
|00005b70| 5c 6e 0c 0e 06 0e 08 89 | ab 88 cb 0e 08 0e 0c 5c |\n......|.......\|
|00005b80| 22 aa 82 0e 0c 0c ab 86 | cd 0e 06 21 aa 81 5c 6e |".......|...!..\n|
|00005b90| 26 06 2b 87 ce 94 1e 0f | 5c 6e 0e 0f 5c 6e 47 55 |&.+.....|\n..\nGU|
|00005ba0| ab 84 0e 0f aa 8f 5c 6e | 0e 0f 48 d0 55 ab 85 0e |......\n|..H.U...|
|00005bb0| 0f 54 aa 82 0e 0f d1 4f | 1e 12 5c 6e d3 0e 0f 53 |.T.....O|..\n...S|
|00005bc0| 4f 1e 14 0e 5c 6e d5 3d | ab 83 d1 aa db 0e 5c 6e |O...\n.=|......\n|
|00005bd0| d6 3d ab 8c d7 d8 d9 0e | 12 da d6 21 5c 22 5c 22 |.=......|...!\"\"|
|00005be0| aa c9 da d6 21 1e 1b dc | 0e 12 0e 1b 5c 22 89 1e |....!...|....\"..|
|00005bf0| 1d 3b ab a5 c0 de 0e 1d | 5c 22 ab 96 0e 14 df 0e |.;......|\"......|
|00005c00| 1d dc 0e 1d 0e 1b 5c 22 | d6 3d ab 83 e0 aa 81 c3 |......\"|.=......|
|00005c10| 52 aa 9a 0e 14 e1 0e 1d | 51 aa 92 0e 1d d6 3d ab |R.......|Q.....=.|
|00005c20| 8b 0e 14 e2 da 0e 12 21 | 21 50 aa 81 d1 2a 2b 87 |.......!|!P...*+.|
|00005c30| 22 20 5b 73 74 72 69 6e | 67 2d 6d 61 74 63 68 20 |" [strin|g-match |
|00005c40| 22 5c 5c 28 5b 5e 24 5d | 5c 5c 7c 5c 5c 60 5c 5c |"\\([^$]|\\|\\`\\|
|00005c50| 29 5c 5c 28 5c 5c 24 5c | 5c 24 5c 5c 29 2a 5c 5c |)\\(\\$\|\$\\)*\\|
|00005c60| 24 5c 5c 28 5b 41 2d 5a | 61 2d 7a 30 2d 39 5f 5d |$\\([A-Z|a-z0-9_]|
|00005c70| 2a 5c 5c 7c 7b 5b 5e 7d | 5d 2a 5c 5c 29 5c 5c 27 |*\\|{[^}|]*\\)\\'|
|00005c80| 22 20 73 74 72 69 6e 67 | 20 22 22 20 6f 72 69 67 |" string| "" orig|
|00005c90| 20 73 75 62 73 74 69 74 | 75 74 65 2d 69 6e 2d 66 | substit|ute-in-f|
|00005ca0| 69 6c 65 2d 6e 61 6d 65 | 20 73 73 74 72 69 6e 67 |ile-name| sstring|
|00005cb0| 20 66 69 6c 65 2d 6e 61 | 6d 65 2d 64 69 72 65 63 | file-na|me-direc|
|00005cc0| 74 6f 72 79 20 73 70 65 | 63 64 69 72 20 63 6f 6d |tory spe|cdir com|
|00005cd0| 70 6c 65 74 65 72 20 61 | 63 74 69 6f 6e 20 65 78 |pleter a|ction ex|
|00005ce0| 70 61 6e 64 2d 66 69 6c | 65 2d 6e 61 6d 65 20 64 |pand-fil|e-name d|
|00005cf0| 69 72 20 66 69 6c 65 2d | 6e 61 6d 65 2d 6e 6f 6e |ir file-|name-non|
|00005d00| 64 69 72 65 63 74 6f 72 | 79 20 33 20 73 74 61 72 |director|y 3 star|
|00005d10| 74 20 31 32 33 20 6e 69 | 6c 20 65 6e 76 20 30 20 |t 123 ni|l env 0 |
|00005d20| 68 65 61 64 20 6c 61 6d | 62 64 61 20 74 20 6d 61 |head lam|bda t ma|
|00005d30| 70 63 61 72 20 23 5b 28 | 70 29 20 22 08 47 c1 56 |pcar #[(|p) ".G.V|
|00005d40| ab 8b 08 c1 48 c2 55 ac | 84 c3 08 50 87 0c c3 08 |....H.U.|...P....|
|00005d50| 51 87 22 20 5b 70 20 30 | 20 34 37 20 22 24 22 20 |Q." [p 0| 47 "$" |
|00005d60| 68 65 61 64 5d 20 33 5d | 20 61 6c 6c 2d 63 6f 6d |head] 3]| all-com|
|00005d70| 70 6c 65 74 69 6f 6e 73 | 20 67 65 74 65 6e 76 20 |pletions| getenv |
|00005d80| 65 20 74 72 79 2d 63 6f | 6d 70 6c 65 74 69 6f 6e |e try-co|mpletion|
|00005d90| 20 76 61 6c 20 22 5b 5e | 41 2d 5a 61 2d 7a 30 2d | val "[^|A-Za-z0-|
|00005da0| 39 5f 5d 22 20 22 24 7b | 22 20 22 7d 22 20 22 24 |9_]" "${|" "}" "$|
|00005db0| 22 20 75 6e 2d 73 75 62 | 73 74 69 74 75 74 65 2d |" un-sub|stitute-|
|00005dc0| 69 6e 2d 66 69 6c 65 2d | 6e 61 6d 65 5d 20 39 5d |in-file-|name] 9]|
|00005dd0| 20 72 65 61 64 2d 66 69 | 6c 65 2d 6e 61 6d 65 2d | read-fi|le-name-|
|00005de0| 69 6e 74 65 72 6e 61 6c | 20 23 5b 28 73 74 72 69 |internal| #[(stri|
|00005df0| 6e 67 20 64 69 72 20 61 | 63 74 69 6f 6e 29 20 22 |ng dir a|ction) "|
|00005e00| c0 09 5c 6e 0b c4 24 87 | 22 20 5b 72 65 61 64 2d |..\n..$.|" [read-|
|00005e10| 66 69 6c 65 2d 6e 61 6d | 65 2d 69 6e 74 65 72 6e |file-nam|e-intern|
|00005e20| 61 6c 2d 31 20 73 74 72 | 69 6e 67 20 64 69 72 20 |al-1 str|ing dir |
|00005e30| 61 63 74 69 6f 6e 20 23 | 5b 28 61 63 74 69 6f 6e |action #|[(action|
|00005e40| 20 6f 72 69 67 20 73 74 | 72 69 6e 67 20 73 70 65 | orig st|ring spe|
|00005e50| 63 64 69 72 20 64 69 72 | 20 6e 61 6d 65 29 20 22 |cdir dir| name) "|
|00005e60| 08 c1 3d ab 96 5c 6e 3f | 3f ad ee c3 c4 c5 8f 89 |..=..\n?|?.......|
|00005e70| 1e 06 3f 3f ad 84 c7 0e | 06 21 29 87 08 c8 3d ab |..??....|.!)...=.|
|00005e80| 8a c9 ca cb 0e 0c 0e 0d | 5c 22 5c 22 87 0e 0e ac |........|\"\"....|
|00005e90| 84 0e 0f 16 0e d0 0e 0c | 0e 0e 5c 22 89 1e 11 c8 |........|..\"....|
|00005ea0| 3d ab 90 0e 12 ab 8c c3 | 1e 12 d0 0e 0c 0e 0e 5c |=.......|.......\|
|00005eb0| 22 29 16 11 0e 11 3b ab | 91 ca 0e 0e ab 87 0e 0e |")....;.|........|
|00005ec0| 0e 11 50 aa 82 0e 11 21 | aa 92 ca 0e 13 21 89 1e |..P....!|.....!..|
|00005ed0| 14 5c 6e 9a ac 84 0e 14 | aa 82 0e 11 29 29 87 22 |.\n.....|....))."|
|00005ee0| 20 5b 61 63 74 69 6f 6e | 20 6c 61 6d 62 64 61 20 | [action| lambda |
|00005ef0| 6f 72 69 67 20 6e 69 6c | 20 28 65 78 70 61 6e 64 |orig nil| (expand|
|00005f00| 2d 66 69 6c 65 2d 6e 61 | 6d 65 20 73 74 72 69 6e |-file-na|me strin|
|00005f10| 67 29 20 28 28 65 72 72 | 6f 72 29 29 20 73 73 74 |g) ((err|or)) sst|
|00005f20| 72 69 6e 67 20 66 69 6c | 65 2d 65 78 69 73 74 73 |ring fil|e-exists|
|00005f30| 2d 70 20 74 20 6d 61 70 | 63 61 72 20 75 6e 2d 73 |-p t map|car un-s|
|00005f40| 75 62 73 74 69 74 75 74 | 65 2d 69 6e 2d 66 69 6c |ubstitut|e-in-fil|
|00005f50| 65 2d 6e 61 6d 65 20 66 | 69 6c 65 2d 6e 61 6d 65 |e-name f|ile-name|
|00005f60| 2d 61 6c 6c 2d 63 6f 6d | 70 6c 65 74 69 6f 6e 73 |-all-com|pletions|
|00005f70| 20 6e 61 6d 65 20 64 69 | 72 20 73 70 65 63 64 69 | name di|r specdi|
|00005f80| 72 20 64 65 66 61 75 6c | 74 2d 64 69 72 65 63 74 |r defaul|t-direct|
|00005f90| 6f 72 79 20 66 69 6c 65 | 2d 6e 61 6d 65 2d 63 6f |ory file|-name-co|
|00005fa0| 6d 70 6c 65 74 69 6f 6e | 20 76 61 6c 20 63 6f 6d |mpletion| val com|
|00005fb0| 70 6c 65 74 69 6f 6e 2d | 69 67 6e 6f 72 65 64 2d |pletion-|ignored-|
|00005fc0| 65 78 74 65 6e 73 69 6f | 6e 73 20 73 74 72 69 6e |extensio|ns strin|
|00005fd0| 67 20 74 65 6d 5d 20 36 | 5d 5d 20 35 5d 20 72 65 |g tem] 6|]] 5] re|
|00005fe0| 61 64 2d 64 69 72 65 63 | 74 6f 72 79 2d 6e 61 6d |ad-direc|tory-nam|
|00005ff0| 65 2d 69 6e 74 65 72 6e | 61 6c 20 23 5b 28 73 74 |e-intern|al #[(st|
|00006000| 72 69 6e 67 20 64 69 72 | 20 61 63 74 69 6f 6e 29 |ring dir| action)|
|00006010| 20 22 c0 09 5c 6e 0b c4 | 24 87 22 20 5b 72 65 61 | "..\n..|$." [rea|
|00006020| 64 2d 66 69 6c 65 2d 6e | 61 6d 65 2d 69 6e 74 65 |d-file-n|ame-inte|
|00006030| 72 6e 61 6c 2d 31 20 73 | 74 72 69 6e 67 20 64 69 |rnal-1 s|tring di|
|00006040| 72 20 61 63 74 69 6f 6e | 20 23 5b 28 61 63 74 69 |r action| #[(acti|
|00006050| 6f 6e 20 6f 72 69 67 20 | 73 74 72 69 6e 67 20 73 |on orig |string s|
|00006060| 70 65 63 64 69 72 20 64 | 69 72 20 6e 61 6d 65 29 |pecdir d|ir name)|
|00006070| 20 22 c0 19 c2 1b 0c c5 | 3d ab 95 0e 06 3f 3f ad | "......|=....??.|
|00006080| cb c7 0e 08 21 ad c5 0e | 08 c9 0e 08 21 9a aa bc |....!...|....!...|
|00006090| 0c ca 3d ab 85 0b cb 21 | aa b2 cc 0e 0d 0b ce 21 |..=....!|.......!|
|000060a0| 5c 22 89 1e 0f 3b ab 91 | d0 0e 11 ab 87 0e 11 0e |\"...;..|........|
|000060b0| 0f 50 aa 82 0e 0f 21 aa | 93 d0 0e 08 21 89 1e 12 |.P....!.|....!...|
|000060c0| 0e 06 9a ac 84 0e 12 aa | 82 0e 0f 29 29 2a 87 22 |........|...))*."|
|000060d0| 20 5b 22 2e 2f 22 20 73 | 74 61 6e 64 69 6e 20 23 | ["./" s|tandin #|
|000060e0| 5b 28 66 6e 29 20 22 08 | c1 9a ab 8b 5c 6e c3 0c |[(fn) ".|....\n..|
|000060f0| c5 c1 c5 c6 25 42 aa 8b | c3 0c c5 c7 c8 08 21 50 |....%B..|......!P|
|00006100| c5 c6 25 1e 09 ca 0e 0b | 0e 0c cd 3d ab 84 0e 09 |..%.....|...=....|
|00006110| aa 88 ce cf ce d0 0e 09 | 5c 22 5c 22 5c 22 29 87 |........|\"\"\").|
|00006120| 22 20 5b 6e 61 6d 65 20 | 22 22 20 73 74 61 6e 64 |" [name |"" stand|
|00006130| 69 6e 20 64 69 72 65 63 | 74 6f 72 79 2d 66 69 6c |in direc|tory-fil|
|00006140| 65 73 20 64 69 72 20 6e | 69 6c 20 64 69 72 65 63 |es dir n|il direc|
|00006150| 74 6f 72 69 65 73 20 22 | 5c 5c 60 22 20 72 65 67 |tories "|\\`" reg|
|00006160| 65 78 70 2d 71 75 6f 74 | 65 20 6c 20 6d 61 70 63 |exp-quot|e l mapc|
|00006170| 61 72 20 66 6e 20 73 79 | 73 74 65 6d 2d 74 79 70 |ar fn sy|stem-typ|
|00006180| 65 20 76 61 78 2d 76 6d | 73 20 64 65 6c 65 74 65 |e vax-vm|s delete|
|00006190| 20 22 2e 22 20 22 2e 2e | 22 5d 20 37 5d 20 64 69 | "." "..|"] 7] di|
|000061a0| 72 73 20 61 63 74 69 6f | 6e 20 6c 61 6d 62 64 61 |rs actio|n lambda|
|000061b0| 20 6f 72 69 67 20 66 69 | 6c 65 2d 64 69 72 65 63 | orig fi|le-direc|
|000061c0| 74 6f 72 79 2d 70 20 73 | 74 72 69 6e 67 20 66 69 |tory-p s|tring fi|
|000061d0| 6c 65 2d 6e 61 6d 65 2d | 61 73 2d 64 69 72 65 63 |le-name-|as-direc|
|000061e0| 74 6f 72 79 20 74 20 23 | 5b 28 6e 29 20 22 c0 09 |tory t #|[(n) "..|
|000061f0| 5c 6e 9a ab 83 5c 6e aa | 83 c3 09 21 21 87 22 20 |\n...\n.|...!!." |
|00006200| 5b 75 6e 2d 73 75 62 73 | 74 69 74 75 74 65 2d 69 |[un-subs|titute-i|
|00006210| 6e 2d 66 69 6c 65 2d 6e | 61 6d 65 20 6e 20 73 74 |n-file-n|ame n st|
|00006220| 61 6e 64 69 6e 20 66 69 | 6c 65 2d 6e 61 6d 65 2d |andin fi|le-name-|
|00006230| 61 73 2d 64 69 72 65 63 | 74 6f 72 79 5d 20 33 5d |as-direc|tory] 3]|
|00006240| 20 74 72 79 2d 63 6f 6d | 70 6c 65 74 69 6f 6e 20 | try-com|pletion |
|00006250| 6e 61 6d 65 20 23 5b 28 | 6e 29 20 22 08 09 9a ab |name #[(|n) "....|
|00006260| 83 09 43 87 c2 08 21 43 | 87 22 20 5b 6e 20 73 74 |..C...!C|." [n st|
|00006270| 61 6e 64 69 6e 20 66 69 | 6c 65 2d 6e 61 6d 65 2d |andin fi|le-name-|
|00006280| 61 73 2d 64 69 72 65 63 | 74 6f 72 79 5d 20 32 5d |as-direc|tory] 2]|
|00006290| 20 76 61 6c 20 75 6e 2d | 73 75 62 73 74 69 74 75 | val un-|substitu|
|000062a0| 74 65 2d 69 6e 2d 66 69 | 6c 65 2d 6e 61 6d 65 20 |te-in-fi|le-name |
|000062b0| 73 70 65 63 64 69 72 20 | 74 65 6d 5d 20 35 5d 5d |specdir |tem] 5]]|
|000062c0| 20 35 5d 20 65 78 65 63 | 75 74 65 2d 65 78 74 65 | 5] exec|ute-exte|
|000062d0| 6e 64 65 64 2d 63 6f 6d | 6d 61 6e 64 20 23 5b 28 |nded-com|mand #[(|
|000062e0| 70 72 65 66 69 78 2d 61 | 72 67 29 20 22 08 18 c1 |prefix-a|rg) "...|
|000062f0| 08 c2 3d ab 83 c3 aa a3 | 08 c4 9a ab 83 c5 aa 9b |..=.....|........|
|00006300| 08 a8 ab 86 c6 c7 08 5c | 22 aa 91 08 3a ab 8c 08 |.......\|"...:...|
|00006310| 40 a8 ab 87 c6 c7 08 40 | 5c 22 aa 81 c8 21 16 09 |@......@|\"...!..|
|00006320| 29 ca 0e 09 cb 5c 22 87 | 22 20 5b 70 72 65 66 69 |)....\".|" [prefi|
|00006330| 78 2d 61 72 67 20 72 65 | 61 64 2d 63 6f 6d 6d 61 |x-arg re|ad-comma|
|00006340| 6e 64 20 2d 20 22 2d 20 | 4d 2d 78 20 22 20 28 34 |nd - "- |M-x " (4|
|00006350| 29 20 22 43 2d 75 20 4d | 2d 78 20 22 20 66 6f 72 |) "C-u M|-x " for|
|00006360| 6d 61 74 20 22 25 64 20 | 4d 2d 78 20 22 20 22 4d |mat "%d |M-x " "M|
|00006370| 2d 78 20 22 20 74 68 69 | 73 2d 63 6f 6d 6d 61 6e |-x " thi|s-comman|
|00006380| 64 20 63 6f 6d 6d 61 6e | 64 2d 65 78 65 63 75 74 |d comman|d-execut|
|00006390| 65 20 74 5d 20 34 20 6e | 69 6c 20 22 50 22 5d 5d |e t] 4 n|il "P"]]|
|000063a0| 20 32 29 0a 28 66 73 65 | 74 20 27 79 2d 6f 72 2d | 2).(fse|t 'y-or-|
|000063b0| 6e 2d 70 2d 6d 69 6e 69 | 62 75 66 20 23 5b 28 70 |n-p-mini|buf #[(p|
|000063c0| 72 6f 6d 70 74 29 20 22 | c0 c1 5c 6e 5c 22 89 1a |rompt) "|..\n\"..|
|000063d0| 1b c4 20 1d 0b 3b 83 a0 | 00 c6 89 1e 07 1e 08 c9 |.. ..;..|........|
|000063e0| ca 0b 5c 22 88 cb 0d 21 | 88 0e 0c cd 16 0c 2a ab |..\"...!|......*.|
|000063f0| 94 c9 ce 0b cf 0d 21 23 | 88 d0 0d 21 88 cd 16 0c |......!#|...!....|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.