home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1995-08-29 | 33.5 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 63 74 68 6f 6d 70 40 |piled by| cthomp@|
|00000020| 77 69 6c 6c 6f 77 2e 63 | 73 2e 75 69 75 63 2e 65 |willow.c|s.uiuc.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 41 75 67 20 32 39 |du on Tu|e Aug 29|
|00000040| 20 31 34 3a 32 31 3a 32 | 37 20 31 39 39 35 0a 3b | 14:21:2|7 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 78 65 |;; from |file /xe|
|00000060| 6d 61 63 73 2f 78 65 6d | 61 63 73 2d 31 39 2e 31 |macs/xem|acs-19.1|
|00000070| 33 2d 72 65 6c 65 61 73 | 65 2f 65 64 69 74 6f 72 |3-releas|e/editor|
|00000080| 2f 6c 69 73 70 2f 70 72 | 69 6d 2f 6d 69 6e 69 62 |/lisp/pr|im/minib|
|00000090| 75 66 2e 65 6c 0a 3b 3b | 3b 20 65 6d 61 63 73 20 |uf.el.;;|; emacs |
|000000a0| 76 65 72 73 69 6f 6e 20 | 31 39 2e 31 33 20 58 45 |version |19.13 XE|
|000000b0| 6d 61 63 73 20 4c 75 63 | 69 64 2e 0a 3b 3b 3b 20 |macs Luc|id..;;; |
|000000c0| 62 79 74 65 63 6f 6d 70 | 20 76 65 72 73 69 6f 6e |bytecomp| version|
|000000d0| 20 32 2e 32 35 3b 20 31 | 2d 53 65 70 2d 39 34 2e | 2.25; 1|-Sep-94.|
|000000e0| 0a 3b 3b 3b 20 6f 70 74 | 69 6d 69 7a 61 74 69 6f |.;;; opt|imizatio|
|000000f0| 6e 20 69 73 20 6f 6e 2e | 0a 3b 3b 3b 20 74 68 69 |n is on.|.;;; thi|
|00000100| 73 20 66 69 6c 65 20 75 | 73 65 73 20 6f 70 63 6f |s file u|ses opco|
|00000110| 64 65 73 20 77 68 69 63 | 68 20 64 6f 20 6e 6f 74 |des whic|h do not|
|00000120| 20 65 78 69 73 74 20 69 | 6e 20 45 6d 61 63 73 20 | exist i|n Emacs |
|00000130| 31 38 2e 0a 0a 28 69 66 | 20 28 61 6e 64 20 28 62 |18...(if| (and (b|
|00000140| 6f 75 6e 64 70 20 27 65 | 6d 61 63 73 2d 76 65 72 |oundp 'e|macs-ver|
|00000150| 73 69 6f 6e 29 0a 09 20 | 28 6f 72 20 28 61 6e 64 |sion).. |(or (and|
|00000160| 20 28 62 6f 75 6e 64 70 | 20 27 65 70 6f 63 68 3a | (boundp| 'epoch:|
|00000170| 3a 76 65 72 73 69 6f 6e | 29 20 65 70 6f 63 68 3a |:version|) epoch:|
|00000180| 3a 76 65 72 73 69 6f 6e | 29 0a 09 20 20 20 20 20 |:version|).. |
|00000190| 28 73 74 72 69 6e 67 2d | 6c 65 73 73 70 20 65 6d |(string-|lessp em|
|000001a0| 61 63 73 2d 76 65 72 73 | 69 6f 6e 20 22 31 39 22 |acs-vers|ion "19"|
|000001b0| 29 29 29 0a 20 20 20 20 | 28 65 72 72 6f 72 20 22 |))). |(error "|
|000001c0| 54 68 69 73 20 66 69 6c | 65 20 77 61 73 20 63 6f |This fil|e was co|
|000001d0| 6d 70 69 6c 65 64 20 66 | 6f 72 20 45 6d 61 63 73 |mpiled f|or Emacs|
|000001e0| 20 31 39 2e 22 29 29 0a | 0a 28 64 65 66 76 61 72 | 19.")).|.(defvar|
|000001f0| 20 69 6e 73 65 72 74 2d | 64 65 66 61 75 6c 74 2d | insert-|default-|
|00000200| 64 69 72 65 63 74 6f 72 | 79 20 74 20 22 5c 0a 2a |director|y t "\.*|
|00000210| 4e 6f 6e 2d 6e 69 6c 20 | 6d 65 61 6e 73 20 77 68 |Non-nil |means wh|
|00000220| 65 6e 20 72 65 61 64 69 | 6e 67 20 61 20 66 69 6c |en readi|ng a fil|
|00000230| 65 6e 61 6d 65 20 73 74 | 61 72 74 20 77 69 74 68 |ename st|art with|
|00000240| 20 64 65 66 61 75 6c 74 | 20 64 69 72 20 69 6e 20 | default| dir in |
|00000250| 6d 69 6e 69 62 75 66 66 | 65 72 2e 22 29 0a 28 64 |minibuff|er.").(d|
|00000260| 65 66 76 61 72 20 6d 69 | 6e 69 62 75 66 66 65 72 |efvar mi|nibuffer|
|00000270| 2d 63 6f 6d 70 6c 65 74 | 69 6f 6e 2d 74 61 62 6c |-complet|ion-tabl|
|00000280| 65 20 6e 69 6c 20 22 5c | 0a 41 6c 69 73 74 20 6f |e nil "\|.Alist o|
|00000290| 72 20 6f 62 61 72 72 61 | 79 20 75 73 65 64 20 66 |r obarra|y used f|
|000002a0| 6f 72 20 63 6f 6d 70 6c | 65 74 69 6f 6e 20 69 6e |or compl|etion in|
|000002b0| 20 74 68 65 20 6d 69 6e | 69 62 75 66 66 65 72 2e | the min|ibuffer.|
|000002c0| 0a 54 68 69 73 20 62 65 | 63 6f 6d 65 73 20 74 68 |.This be|comes th|
|000002d0| 65 20 41 4c 49 53 54 20 | 61 72 67 75 6d 65 6e 74 |e ALIST |argument|
|000002e0| 20 74 6f 20 60 74 72 79 | 2d 63 6f 6d 70 6c 65 74 | to `try|-complet|
|000002f0| 69 6f 6e 27 20 61 6e 64 | 20 60 61 6c 6c 2d 63 6f |ion' and| `all-co|
|00000300| 6d 70 6c 65 74 69 6f 6e | 73 27 2e 0a 0a 54 68 65 |mpletion|s'...The|
|00000310| 20 76 61 6c 75 65 20 6d | 61 79 20 61 6c 74 65 72 | value m|ay alter|
|00000320| 6e 61 74 69 76 65 6c 79 | 20 62 65 20 61 20 66 75 |natively| be a fu|
|00000330| 6e 63 74 69 6f 6e 2c 20 | 77 68 69 63 68 20 69 73 |nction, |which is|
|00000340| 20 67 69 76 65 6e 20 74 | 68 72 65 65 20 61 72 67 | given t|hree arg|
|00000350| 75 6d 65 6e 74 73 3a 0a | 20 20 53 54 52 49 4e 47 |uments:.| STRING|
|00000360| 2c 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 62 75 |, the cu|rrent bu|
|00000370| 66 66 65 72 20 63 6f 6e | 74 65 6e 74 73 3b 0a 20 |ffer con|tents;. |
|00000380| 20 50 52 45 44 49 43 41 | 54 45 2c 20 74 68 65 20 | PREDICA|TE, the |
|00000390| 70 72 65 64 69 63 61 74 | 65 20 66 6f 72 20 66 69 |predicat|e for fi|
|000003a0| 6c 74 65 72 69 6e 67 20 | 70 6f 73 73 69 62 6c 65 |ltering |possible|
|000003b0| 20 6d 61 74 63 68 65 73 | 3b 0a 20 20 43 4f 44 45 | matches|;. CODE|
|000003c0| 2c 20 77 68 69 63 68 20 | 73 61 79 73 20 77 68 61 |, which |says wha|
|000003d0| 74 20 6b 69 6e 64 20 6f | 66 20 74 68 69 6e 67 73 |t kind o|f things|
|000003e0| 20 74 6f 20 64 6f 2e 0a | 43 4f 44 45 20 63 61 6e | to do..|CODE can|
|000003f0| 20 62 65 20 6e 69 6c 2c | 20 74 20 6f 72 20 60 6c | be nil,| t or `l|
|00000400| 61 6d 62 64 61 27 2e 0a | 6e 69 6c 20 6d 65 61 6e |ambda'..|nil mean|
|00000410| 73 20 74 6f 20 72 65 74 | 75 72 6e 20 74 68 65 20 |s to ret|urn the |
|00000420| 62 65 73 74 20 63 6f 6d | 70 6c 65 74 69 6f 6e 20 |best com|pletion |
|00000430| 6f 66 20 53 54 52 49 4e | 47 2c 20 6e 69 6c 20 69 |of STRIN|G, nil i|
|00000440| 66 20 74 68 65 72 65 20 | 69 73 20 6e 6f 6e 65 2c |f there |is none,|
|00000450| 0a 20 20 6f 72 20 74 20 | 69 66 20 69 74 20 69 73 |. or t |if it is|
|00000460| 20 77 61 73 20 61 6c 72 | 65 61 64 79 20 61 20 75 | was alr|eady a u|
|00000470| 6e 69 71 75 65 20 63 6f | 6d 70 6c 65 74 69 6f 6e |nique co|mpletion|
|00000480| 2e 0a 74 20 6d 65 61 6e | 73 20 74 6f 20 72 65 74 |..t mean|s to ret|
|00000490| 75 72 6e 20 61 20 6c 69 | 73 74 20 6f 66 20 61 6c |urn a li|st of al|
|000004a0| 6c 20 70 6f 73 73 69 62 | 6c 65 20 63 6f 6d 70 6c |l possib|le compl|
|000004b0| 65 74 69 6f 6e 73 20 6f | 66 20 53 54 52 49 4e 47 |etions o|f STRING|
|000004c0| 2e 0a 60 6c 61 6d 62 64 | 61 27 20 6d 65 61 6e 73 |..`lambd|a' means|
|000004d0| 20 74 6f 20 72 65 74 75 | 72 6e 20 74 20 69 66 20 | to retu|rn t if |
|000004e0| 53 54 52 49 4e 47 20 69 | 73 20 61 20 76 61 6c 69 |STRING i|s a vali|
|000004f0| 64 20 63 6f 6d 70 6c 65 | 74 69 6f 6e 20 61 73 20 |d comple|tion as |
|00000500| 69 74 20 73 74 61 6e 64 | 73 2e 22 29 0a 28 64 65 |it stand|s.").(de|
|00000510| 66 76 61 72 20 6d 69 6e | 69 62 75 66 66 65 72 2d |fvar min|ibuffer-|
|00000520| 63 6f 6d 70 6c 65 74 69 | 6f 6e 2d 70 72 65 64 69 |completi|on-predi|
|00000530| 63 61 74 65 20 6e 69 6c | 20 22 5c 0a 57 69 74 68 |cate nil| "\.With|
|00000540| 69 6e 20 63 61 6c 6c 20 | 74 6f 20 60 63 6f 6d 70 |in call |to `comp|
|00000550| 6c 65 74 69 6e 67 2d 72 | 65 61 64 27 2c 20 74 68 |leting-r|ead', th|
|00000560| 69 73 20 68 6f 6c 64 73 | 20 74 68 65 20 50 52 45 |is holds| the PRE|
|00000570| 44 49 43 41 54 45 20 61 | 72 67 75 6d 65 6e 74 2e |DICATE a|rgument.|
|00000580| 22 29 0a 28 64 65 66 76 | 61 72 20 6d 69 6e 69 62 |").(defv|ar minib|
|00000590| 75 66 66 65 72 2d 63 6f | 6d 70 6c 65 74 69 6f 6e |uffer-co|mpletion|
|000005a0| 2d 63 6f 6e 66 69 72 6d | 20 6e 69 6c 20 22 5c 0a |-confirm| nil "\.|
|000005b0| 4e 6f 6e 2d 6e 69 6c 20 | 3d 3e 20 64 65 6d 61 6e |Non-nil |=> deman|
|000005c0| 64 20 63 6f 6e 66 69 72 | 6d 61 74 69 6f 6e 20 6f |d confir|mation o|
|000005d0| 66 20 63 6f 6d 70 6c 65 | 74 69 6f 6e 20 62 65 66 |f comple|tion bef|
|000005e0| 6f 72 65 20 65 78 69 74 | 69 6e 67 20 6d 69 6e 69 |ore exit|ing mini|
|000005f0| 62 75 66 66 65 72 2e 22 | 29 0a 28 64 65 66 76 61 |buffer."|).(defva|
|00000600| 72 20 6d 69 6e 69 62 75 | 66 66 65 72 2d 63 6f 6e |r minibu|ffer-con|
|00000610| 66 69 72 6d 2d 69 6e 63 | 6f 6d 70 6c 65 74 65 20 |firm-inc|omplete |
|00000620| 6e 69 6c 20 22 5c 0a 49 | 66 20 74 72 75 65 2c 20 |nil "\.I|f true, |
|00000630| 74 68 65 6e 20 69 6e 20 | 63 6f 6e 74 65 78 74 73 |then in |contexts|
|00000640| 20 77 68 65 72 65 20 63 | 6f 6d 70 6c 65 74 69 6e | where c|ompletin|
|00000650| 67 2d 72 65 61 64 20 61 | 6c 6c 6f 77 73 20 61 6e |g-read a|llows an|
|00000660| 73 77 65 72 73 20 77 68 | 69 63 68 0a 61 72 65 20 |swers wh|ich.are |
|00000670| 6e 6f 74 20 76 61 6c 69 | 64 20 63 6f 6d 70 6c 65 |not vali|d comple|
|00000680| 74 69 6f 6e 73 2c 20 61 | 6e 20 65 78 74 72 61 20 |tions, a|n extra |
|00000690| 52 45 54 20 6d 75 73 74 | 20 62 65 20 74 79 70 65 |RET must| be type|
|000006a0| 64 20 74 6f 20 63 6f 6e | 66 69 72 6d 20 74 68 65 |d to con|firm the|
|000006b0| 0a 72 65 73 70 6f 6e 73 | 65 2e 20 20 54 68 69 73 |.respons|e. This|
|000006c0| 20 69 73 20 68 65 6c 70 | 66 75 6c 20 66 6f 72 20 | is help|ful for |
|000006d0| 63 61 74 63 68 69 6e 67 | 20 74 79 70 6f 73 2c 20 |catching| typos, |
|000006e0| 65 74 63 2e 22 29 0a 28 | 64 65 66 76 61 72 20 63 |etc.").(|defvar c|
|000006f0| 6f 6d 70 6c 65 74 69 6f | 6e 2d 61 75 74 6f 2d 68 |ompletio|n-auto-h|
|00000700| 65 6c 70 20 74 20 22 5c | 0a 2a 4e 6f 6e 2d 6e 69 |elp t "\|.*Non-ni|
|00000710| 6c 20 6d 65 61 6e 73 20 | 61 75 74 6f 6d 61 74 69 |l means |automati|
|00000720| 63 61 6c 6c 79 20 70 72 | 6f 76 69 64 65 20 68 65 |cally pr|ovide he|
|00000730| 6c 70 20 66 6f 72 20 69 | 6e 76 61 6c 69 64 20 63 |lp for i|nvalid c|
|00000740| 6f 6d 70 6c 65 74 69 6f | 6e 20 69 6e 70 75 74 2e |ompletio|n input.|
|00000750| 22 29 0a 28 64 65 66 76 | 61 72 20 65 6e 61 62 6c |").(defv|ar enabl|
|00000760| 65 2d 72 65 63 75 72 73 | 69 76 65 2d 6d 69 6e 69 |e-recurs|ive-mini|
|00000770| 62 75 66 66 65 72 73 20 | 6e 69 6c 20 22 5c 0a 2a |buffers |nil "\.*|
|00000780| 4e 6f 6e 2d 6e 69 6c 20 | 6d 65 61 6e 73 20 74 6f |Non-nil |means to|
|00000790| 20 61 6c 6c 6f 77 20 6d | 69 6e 69 62 75 66 66 65 | allow m|inibuffe|
|000007a0| 72 20 63 6f 6d 6d 61 6e | 64 73 20 77 68 69 6c 65 |r comman|ds while|
|000007b0| 20 69 6e 20 74 68 65 20 | 6d 69 6e 69 62 75 66 66 | in the |minibuff|
|000007c0| 65 72 2e 0a 4d 6f 72 65 | 20 70 72 65 63 69 73 65 |er..More| precise|
|000007d0| 6c 79 2c 20 74 68 69 73 | 20 76 61 72 69 61 62 6c |ly, this| variabl|
|000007e0| 65 20 6d 61 6b 65 73 20 | 61 20 64 69 66 66 65 72 |e makes |a differ|
|000007f0| 65 6e 63 65 20 77 68 65 | 6e 20 74 68 65 20 6d 69 |ence whe|n the mi|
|00000800| 6e 69 62 75 66 66 65 72 | 20 77 69 6e 64 6f 77 0a |nibuffer| window.|
|00000810| 69 73 20 74 68 65 20 73 | 65 6c 65 63 74 65 64 20 |is the s|elected |
|00000820| 77 69 6e 64 6f 77 2e 20 | 20 49 66 20 79 6f 75 20 |window. | If you |
|00000830| 61 72 65 20 69 6e 20 73 | 6f 6d 65 20 6f 74 68 65 |are in s|ome othe|
|00000840| 72 20 77 69 6e 64 6f 77 | 2c 20 6d 69 6e 69 62 75 |r window|, minibu|
|00000850| 66 66 65 72 20 63 6f 6d | 6d 61 6e 64 73 0a 61 72 |ffer com|mands.ar|
|00000860| 65 20 61 6c 6c 6f 77 65 | 64 20 65 76 65 6e 20 69 |e allowe|d even i|
|00000870| 66 20 61 20 6d 69 6e 69 | 62 75 66 66 65 72 20 69 |f a mini|buffer i|
|00000880| 73 20 61 63 74 69 76 65 | 2e 22 29 0a 28 64 65 66 |s active|.").(def|
|00000890| 76 61 72 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 6d |var mini|buffer-m|
|000008a0| 61 78 2d 64 65 70 74 68 | 20 31 20 22 5c 0a 2a 47 |ax-depth| 1 "\.*G|
|000008b0| 6c 6f 62 61 6c 20 6d 61 | 78 69 6d 75 6d 20 6e 75 |lobal ma|ximum nu|
|000008c0| 6d 62 65 72 20 6f 66 20 | 6d 69 6e 69 62 75 66 66 |mber of |minibuff|
|000008d0| 65 72 73 20 61 6c 6c 6f | 77 65 64 3b 0a 63 6f 6d |ers allo|wed;.com|
|000008e0| 70 61 72 65 20 74 6f 20 | 65 6e 61 62 6c 65 2d 72 |pare to |enable-r|
|000008f0| 65 63 75 72 73 69 76 65 | 2d 6d 69 6e 69 62 75 66 |ecursive|-minibuf|
|00000900| 66 65 72 73 2c 20 77 68 | 69 63 68 20 69 73 20 6f |fers, wh|ich is o|
|00000910| 6e 6c 79 20 63 6f 6e 73 | 75 6c 74 65 64 20 77 68 |nly cons|ulted wh|
|00000920| 65 6e 20 74 68 65 0a 6d | 69 6e 69 62 75 66 66 65 |en the.m|inibuffe|
|00000930| 72 20 69 73 20 72 65 69 | 6e 76 6f 6b 65 64 20 77 |r is rei|nvoked w|
|00000940| 68 69 6c 65 20 69 74 20 | 69 73 20 74 68 65 20 73 |hile it |is the s|
|00000950| 65 6c 65 63 74 65 64 20 | 77 69 6e 64 6f 77 2e 22 |elected |window."|
|00000960| 29 0a 28 64 65 66 76 61 | 72 20 6d 69 6e 69 62 75 |).(defva|r minibu|
|00000970| 66 66 65 72 2d 65 78 69 | 74 2d 68 6f 6f 6b 20 6e |ffer-exi|t-hook n|
|00000980| 69 6c 20 22 5c 0a 4e 6f | 72 6d 61 6c 20 68 6f 6f |il "\.No|rmal hoo|
|00000990| 6b 20 72 75 6e 20 6a 75 | 73 74 20 61 66 74 65 72 |k run ju|st after|
|000009a0| 20 65 78 69 74 20 66 72 | 6f 6d 20 6d 69 6e 69 62 | exit fr|om minib|
|000009b0| 75 66 66 65 72 2e 22 29 | 0a 28 64 65 66 76 61 72 |uffer.")|.(defvar|
|000009c0| 20 6d 69 6e 69 62 75 66 | 66 65 72 2d 68 65 6c 70 | minibuf|fer-help|
|000009d0| 2d 66 6f 72 6d 20 6e 69 | 6c 20 22 5c 0a 56 61 6c |-form ni|l "\.Val|
|000009e0| 75 65 20 74 68 61 74 20 | 60 68 65 6c 70 2d 66 6f |ue that |`help-fo|
|000009f0| 72 6d 27 20 74 61 6b 65 | 73 20 6f 6e 20 69 6e 73 |rm' take|s on ins|
|00000a00| 69 64 65 20 74 68 65 20 | 6d 69 6e 69 62 75 66 66 |ide the |minibuff|
|00000a10| 65 72 2e 22 29 0a 28 64 | 65 66 76 61 72 20 6d 69 |er.").(d|efvar mi|
|00000a20| 6e 69 62 75 66 66 65 72 | 2d 6c 6f 63 61 6c 2d 6d |nibuffer|-local-m|
|00000a30| 61 70 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |ap (byte|-code ".|
|00000a40| 20 19 c2 09 c3 5c 22 88 | 09 29 87 22 20 5b 6d 61 | ....\".|.)." [ma|
|00000a50| 6b 65 2d 73 70 61 72 73 | 65 2d 6b 65 79 6d 61 70 |ke-spars|e-keymap|
|00000a60| 20 6d 61 70 20 73 65 74 | 2d 6b 65 79 6d 61 70 2d | map set|-keymap-|
|00000a70| 6e 61 6d 65 20 6d 69 6e | 69 62 75 66 66 65 72 2d |name min|ibuffer-|
|00000a80| 6c 6f 63 61 6c 2d 6d 61 | 70 5d 20 33 29 20 22 5c |local-ma|p] 3) "\|
|00000a90| 0a 44 65 66 61 75 6c 74 | 20 6b 65 79 6d 61 70 20 |.Default| keymap |
|00000aa0| 74 6f 20 75 73 65 20 77 | 68 65 6e 20 72 65 61 64 |to use w|hen read|
|00000ab0| 69 6e 67 20 66 72 6f 6d | 20 74 68 65 20 6d 69 6e |ing from| the min|
|00000ac0| 69 62 75 66 66 65 72 2e | 22 29 0a 28 64 65 66 76 |ibuffer.|").(defv|
|00000ad0| 61 72 20 6d 69 6e 69 62 | 75 66 66 65 72 2d 6c 6f |ar minib|uffer-lo|
|00000ae0| 63 61 6c 2d 63 6f 6d 70 | 6c 65 74 69 6f 6e 2d 6d |cal-comp|letion-m|
|00000af0| 61 70 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |ap (byte|-code ".|
|00000b00| 20 19 c2 09 c3 5c 22 88 | c4 09 0d 43 5c 22 88 09 | ....\".|...C\"..|
|00000b10| 29 87 22 20 5b 6d 61 6b | 65 2d 73 70 61 72 73 65 |)." [mak|e-sparse|
|00000b20| 2d 6b 65 79 6d 61 70 20 | 6d 61 70 20 73 65 74 2d |-keymap |map set-|
|00000b30| 6b 65 79 6d 61 70 2d 6e | 61 6d 65 20 6d 69 6e 69 |keymap-n|ame mini|
|00000b40| 62 75 66 66 65 72 2d 6c | 6f 63 61 6c 2d 63 6f 6d |buffer-l|ocal-com|
|00000b50| 70 6c 65 74 69 6f 6e 2d | 6d 61 70 20 73 65 74 2d |pletion-|map set-|
|00000b60| 6b 65 79 6d 61 70 2d 70 | 61 72 65 6e 74 73 20 6d |keymap-p|arents m|
|00000b70| 69 6e 69 62 75 66 66 65 | 72 2d 6c 6f 63 61 6c 2d |inibuffe|r-local-|
|00000b80| 6d 61 70 5d 20 33 29 20 | 22 5c 0a 4c 6f 63 61 6c |map] 3) |"\.Local|
|00000b90| 20 6b 65 79 6d 61 70 20 | 66 6f 72 20 6d 69 6e 69 | keymap |for mini|
|00000ba0| 62 75 66 66 65 72 20 69 | 6e 70 75 74 20 77 69 74 |buffer i|nput wit|
|00000bb0| 68 20 63 6f 6d 70 6c 65 | 74 69 6f 6e 2e 22 29 0a |h comple|tion.").|
|00000bc0| 28 64 65 66 76 61 72 20 | 6d 69 6e 69 62 75 66 66 |(defvar |minibuff|
|00000bd0| 65 72 2d 6c 6f 63 61 6c | 2d 6d 75 73 74 2d 6d 61 |er-local|-must-ma|
|00000be0| 74 63 68 2d 6d 61 70 20 | 28 62 79 74 65 2d 63 6f |tch-map |(byte-co|
|00000bf0| 64 65 20 22 c0 20 19 c2 | 09 c3 5c 22 88 c4 09 0d |de ". ..|..\"....|
|00000c00| 43 5c 22 88 09 29 87 22 | 20 5b 6d 61 6b 65 2d 73 |C\"..)."| [make-s|
|00000c10| 70 61 72 73 65 2d 6b 65 | 79 6d 61 70 20 6d 61 70 |parse-ke|ymap map|
|00000c20| 20 73 65 74 2d 6b 65 79 | 6d 61 70 2d 6e 61 6d 65 | set-key|map-name|
|00000c30| 20 6d 69 6e 69 62 75 66 | 66 65 72 2d 6d 75 73 74 | minibuf|fer-must|
|00000c40| 2d 6d 61 74 63 68 2d 6d | 61 70 20 73 65 74 2d 6b |-match-m|ap set-k|
|00000c50| 65 79 6d 61 70 2d 70 61 | 72 65 6e 74 73 20 6d 69 |eymap-pa|rents mi|
|00000c60| 6e 69 62 75 66 66 65 72 | 2d 6c 6f 63 61 6c 2d 63 |nibuffer|-local-c|
|00000c70| 6f 6d 70 6c 65 74 69 6f | 6e 2d 6d 61 70 5d 20 33 |ompletio|n-map] 3|
|00000c80| 29 20 22 5c 0a 4c 6f 63 | 61 6c 20 6b 65 79 6d 61 |) "\.Loc|al keyma|
|00000c90| 70 20 66 6f 72 20 6d 69 | 6e 69 62 75 66 66 65 72 |p for mi|nibuffer|
|00000ca0| 20 69 6e 70 75 74 20 77 | 69 74 68 20 63 6f 6d 70 | input w|ith comp|
|00000cb0| 6c 65 74 69 6f 6e 2c 20 | 66 6f 72 20 65 78 61 63 |letion, |for exac|
|00000cc0| 74 20 6d 61 74 63 68 2e | 22 29 0a 28 62 79 74 65 |t match.|").(byte|
|00000cd0| 2d 63 6f 64 65 20 22 c0 | 09 c2 c3 23 88 c0 09 c4 |-code ".|...#....|
|00000ce0| c5 23 88 c0 09 c6 c5 23 | 88 c0 0e 07 c8 c9 23 88 |.#.....#|......#.|
|00000cf0| c0 0e 07 ca cb 23 88 c0 | 0e 07 cc cd 23 88 c0 0e |.....#..|....#...|
|00000d00| 0e c4 cf 23 88 c0 0e 0e | c6 cf 23 88 c0 09 d0 d1 |...#....|..#.....|
|00000d10| 23 88 c0 09 d2 d3 23 88 | c0 09 d4 d0 23 88 c0 09 |#.....#.|....#...|
|00000d20| d5 d2 23 88 c0 09 d6 d7 | 23 88 c0 09 d8 d9 23 88 |..#.....|#.....#.|
|00000d30| c0 0e 0e da db 23 88 c0 | 0e 0e dc dd 23 87 22 20 |.....#..|....#." |
|00000d40| 5b 64 65 66 69 6e 65 2d | 6b 65 79 20 6d 69 6e 69 |[define-|key mini|
|00000d50| 62 75 66 66 65 72 2d 6c | 6f 63 61 6c 2d 6d 61 70 |buffer-l|ocal-map|
|00000d60| 20 22 07 22 20 6d 69 6e | 69 62 75 66 66 65 72 2d | "." min|ibuffer-|
|00000d70| 6b 65 79 62 6f 61 72 64 | 2d 71 75 69 74 20 22 0d |keyboard|-quit ".|
|00000d80| 22 20 65 78 69 74 2d 6d | 69 6e 69 62 75 66 66 65 |" exit-m|inibuffe|
|00000d90| 72 20 22 5c 6e 22 20 6d | 69 6e 69 62 75 66 66 65 |r "\n" m|inibuffe|
|00000da0| 72 2d 6c 6f 63 61 6c 2d | 63 6f 6d 70 6c 65 74 69 |r-local-|completi|
|00000db0| 6f 6e 2d 6d 61 70 20 22 | 09 22 20 6d 69 6e 69 62 |on-map "|." minib|
|00000dc0| 75 66 66 65 72 2d 63 6f | 6d 70 6c 65 74 65 20 22 |uffer-co|mplete "|
|00000dd0| 20 22 20 6d 69 6e 69 62 | 75 66 66 65 72 2d 63 6f | " minib|uffer-co|
|00000de0| 6d 70 6c 65 74 65 2d 77 | 6f 72 64 20 22 3f 22 20 |mplete-w|ord "?" |
|00000df0| 6d 69 6e 69 62 75 66 66 | 65 72 2d 63 6f 6d 70 6c |minibuff|er-compl|
|00000e00| 65 74 69 6f 6e 2d 68 65 | 6c 70 20 6d 69 6e 69 62 |etion-he|lp minib|
|00000e10| 75 66 66 65 72 2d 6c 6f | 63 61 6c 2d 6d 75 73 74 |uffer-lo|cal-must|
|00000e20| 2d 6d 61 74 63 68 2d 6d | 61 70 20 6d 69 6e 69 62 |-match-m|ap minib|
|00000e30| 75 66 66 65 72 2d 63 6f | 6d 70 6c 65 74 65 2d 61 |uffer-co|mplete-a|
|00000e40| 6e 64 2d 65 78 69 74 20 | 22 ee 22 20 6e 65 78 74 |nd-exit |"." next|
|00000e50| 2d 68 69 73 74 6f 72 79 | 2d 65 6c 65 6d 65 6e 74 |-history|-element|
|00000e60| 20 22 f0 22 20 70 72 65 | 76 69 6f 75 73 2d 68 69 | "." pre|vious-hi|
|00000e70| 73 74 6f 72 79 2d 65 6c | 65 6d 65 6e 74 20 5b 6e |story-el|ement [n|
|00000e80| 65 78 74 5d 20 5b 70 72 | 69 6f 72 5d 20 22 f2 22 |ext] [pr|ior] "."|
|00000e90| 20 70 72 65 76 69 6f 75 | 73 2d 6d 61 74 63 68 69 | previou|s-matchi|
|00000ea0| 6e 67 2d 68 69 73 74 6f | 72 79 2d 65 6c 65 6d 65 |ng-histo|ry-eleme|
|00000eb0| 6e 74 20 22 f3 22 20 6e | 65 78 74 2d 6d 61 74 63 |nt "." n|ext-matc|
|00000ec0| 68 69 6e 67 2d 68 69 73 | 74 6f 72 79 2d 65 6c 65 |hing-his|tory-ele|
|00000ed0| 6d 65 6e 74 20 5b 6e 65 | 78 74 5d 20 6e 65 78 74 |ment [ne|xt] next|
|00000ee0| 2d 63 6f 6d 70 6c 65 74 | 65 2d 68 69 73 74 6f 72 |-complet|e-histor|
|00000ef0| 79 2d 65 6c 65 6d 65 6e | 74 20 5b 70 72 69 6f 72 |y-elemen|t [prior|
|00000f00| 5d 20 70 72 65 76 69 6f | 75 73 2d 63 6f 6d 70 6c |] previo|us-compl|
|00000f10| 65 74 65 2d 68 69 73 74 | 6f 72 79 2d 65 6c 65 6d |ete-hist|ory-elem|
|00000f20| 65 6e 74 5d 20 34 29 0a | 28 64 65 66 76 61 72 20 |ent] 4).|(defvar |
|00000f30| 72 65 61 64 2d 65 78 70 | 72 65 73 73 69 6f 6e 2d |read-exp|ression-|
|00000f40| 6d 61 70 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |map (byt|e-code "|
|00000f50| c0 20 19 c2 09 0b 43 5c | 22 88 c4 09 c5 5c 22 88 |. ....C\|"....\".|
|00000f60| c6 09 c7 c8 23 88 09 29 | 87 22 20 5b 6d 61 6b 65 |....#..)|." [make|
|00000f70| 2d 73 70 61 72 73 65 2d | 6b 65 79 6d 61 70 20 6d |-sparse-|keymap m|
|00000f80| 61 70 20 73 65 74 2d 6b | 65 79 6d 61 70 2d 70 61 |ap set-k|eymap-pa|
|00000f90| 72 65 6e 74 73 20 6d 69 | 6e 69 62 75 66 66 65 72 |rents mi|nibuffer|
|00000fa0| 2d 6c 6f 63 61 6c 2d 6d | 61 70 20 73 65 74 2d 6b |-local-m|ap set-k|
|00000fb0| 65 79 6d 61 70 2d 6e 61 | 6d 65 20 72 65 61 64 2d |eymap-na|me read-|
|00000fc0| 65 78 70 72 65 73 73 69 | 6f 6e 2d 6d 61 70 20 64 |expressi|on-map d|
|00000fd0| 65 66 69 6e 65 2d 6b 65 | 79 20 22 89 22 20 6c 69 |efine-ke|y "." li|
|00000fe0| 73 70 2d 63 6f 6d 70 6c | 65 74 65 2d 73 79 6d 62 |sp-compl|ete-symb|
|00000ff0| 6f 6c 5d 20 34 29 20 22 | 5c 0a 4d 69 6e 69 62 75 |ol] 4) "|\.Minibu|
|00001000| 66 66 65 72 20 6b 65 79 | 6d 61 70 20 75 73 65 64 |ffer key|map used|
|00001010| 20 66 6f 72 20 72 65 61 | 64 69 6e 67 20 4c 69 73 | for rea|ding Lis|
|00001020| 70 20 65 78 70 72 65 73 | 73 69 6f 6e 73 2e 22 29 |p expres|sions.")|
|00001030| 0a 28 64 65 66 76 61 72 | 20 72 65 61 64 2d 73 68 |.(defvar| read-sh|
|00001040| 65 6c 6c 2d 63 6f 6d 6d | 61 6e 64 2d 6d 61 70 20 |ell-comm|and-map |
|00001050| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 20 19 c2 |(byte-co|de ". ..|
|00001060| 09 0b 43 5c 22 88 c4 09 | c5 5c 22 88 c6 09 c7 c8 |..C\"...|.\".....|
|00001070| 23 88 c6 09 c9 c8 23 88 | c6 09 ca cb 23 88 09 29 |#.....#.|....#..)|
|00001080| 87 22 20 5b 6d 61 6b 65 | 2d 73 70 61 72 73 65 2d |." [make|-sparse-|
|00001090| 6b 65 79 6d 61 70 20 6d | 61 70 20 73 65 74 2d 6b |keymap m|ap set-k|
|000010a0| 65 79 6d 61 70 2d 70 61 | 72 65 6e 74 73 20 6d 69 |eymap-pa|rents mi|
|000010b0| 6e 69 62 75 66 66 65 72 | 2d 6c 6f 63 61 6c 2d 6d |nibuffer|-local-m|
|000010c0| 61 70 20 73 65 74 2d 6b | 65 79 6d 61 70 2d 6e 61 |ap set-k|eymap-na|
|000010d0| 6d 65 20 72 65 61 64 2d | 73 68 65 6c 6c 2d 63 6f |me read-|shell-co|
|000010e0| 6d 6d 61 6e 64 2d 6d 61 | 70 20 64 65 66 69 6e 65 |mmand-ma|p define|
|000010f0| 2d 6b 65 79 20 22 09 22 | 20 63 6f 6d 69 6e 74 2d |-key "."| comint-|
|00001100| 64 79 6e 61 6d 69 63 2d | 63 6f 6d 70 6c 65 74 65 |dynamic-|complete|
|00001110| 20 22 89 22 20 22 bf 22 | 20 63 6f 6d 69 6e 74 2d | "." "."| comint-|
|00001120| 64 79 6e 61 6d 69 63 2d | 6c 69 73 74 2d 63 6f 6d |dynamic-|list-com|
|00001130| 70 6c 65 74 69 6f 6e 73 | 5d 20 34 29 20 22 5c 0a |pletions|] 4) "\.|
|00001140| 4d 69 6e 69 62 75 66 66 | 65 72 20 6b 65 79 6d 61 |Minibuff|er keyma|
|00001150| 70 20 75 73 65 64 20 62 | 79 20 73 68 65 6c 6c 2d |p used b|y shell-|
|00001160| 63 6f 6d 6d 61 6e 64 20 | 61 6e 64 20 72 65 6c 61 |command |and rela|
|00001170| 74 65 64 20 63 6f 6d 6d | 61 6e 64 73 2e 22 29 0a |ted comm|ands.").|
|00001180| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 c1 4d 88 |(byte-co|de "..M.|
|00001190| c2 c3 21 ac 98 c4 20 1d | c6 0d 0e 07 43 5c 22 88 |..!... .|....C\".|
|000011a0| c8 0d c3 5c 22 88 c9 0d | ca c0 23 88 0d 29 13 c2 |...\"...|..#..)..|
|000011b0| cb 21 ac 99 c4 20 1d c6 | 0d 0e 0c 43 5c 22 88 c8 |.!... ..|...C\"..|
|000011c0| 0d c3 5c 22 88 c9 0d ca | c0 23 88 0d 29 16 0b c0 |..\"....|.#..)...|
|000011d0| 87 22 20 5b 6d 69 6e 69 | 62 75 66 66 65 72 2d 65 |." [mini|buffer-e|
|000011e0| 6c 65 63 74 72 69 63 2d | 73 6c 61 73 68 20 23 5b |lectric-|slash #[|
|000011f0| 6e 69 6c 20 22 c0 68 3d | ab 92 60 65 54 3d ac 8c |nil ".h=|..`eT=..|
|00001200| c1 60 c2 5a 66 3d ac 84 | 65 60 7c 88 c0 63 87 22 |.`.Zf=..|e`|..c."|
|00001210| 20 5b 34 37 20 35 38 20 | 32 5d 20 33 20 6e 69 6c | [47 58 |2] 3 nil|
|00001220| 20 6e 69 6c 5d 20 62 6f | 75 6e 64 70 20 72 65 61 | nil] bo|undp rea|
|00001230| 64 2d 66 69 6c 65 2d 6e | 61 6d 65 2d 6d 61 70 20 |d-file-n|ame-map |
|00001240| 6d 61 6b 65 2d 73 70 61 | 72 73 65 2d 6b 65 79 6d |make-spa|rse-keym|
|00001250| 61 70 20 6d 61 70 20 73 | 65 74 2d 6b 65 79 6d 61 |ap map s|et-keyma|
|00001260| 70 2d 70 61 72 65 6e 74 | 73 20 6d 69 6e 69 62 75 |p-parent|s minibu|
|00001270| 66 66 65 72 2d 6c 6f 63 | 61 6c 2d 63 6f 6d 70 6c |ffer-loc|al-compl|
|00001280| 65 74 69 6f 6e 2d 6d 61 | 70 20 73 65 74 2d 6b 65 |etion-ma|p set-ke|
|00001290| 79 6d 61 70 2d 6e 61 6d | 65 20 64 65 66 69 6e 65 |ymap-nam|e define|
|000012a0| 2d 6b 65 79 20 22 2f 22 | 20 72 65 61 64 2d 66 69 |-key "/"| read-fi|
|000012b0| 6c 65 2d 6e 61 6d 65 2d | 6d 75 73 74 2d 6d 61 74 |le-name-|must-mat|
|000012c0| 63 68 2d 6d 61 70 20 6d | 69 6e 69 62 75 66 66 65 |ch-map m|inibuffe|
|000012d0| 72 2d 6c 6f 63 61 6c 2d | 6d 75 73 74 2d 6d 61 74 |r-local-|must-mat|
|000012e0| 63 68 2d 6d 61 70 5d 20 | 34 29 0a 28 66 73 65 74 |ch-map] |4).(fset|
|000012f0| 20 27 6d 69 6e 69 62 75 | 66 66 65 72 2d 6b 65 79 | 'minibu|ffer-key|
|00001300| 62 6f 61 72 64 2d 71 75 | 69 74 20 23 5b 6e 69 6c |board-qu|it #[nil|
|00001310| 20 22 08 ad 82 c1 20 3f | ad 82 c2 20 87 22 20 5b | ".... ?|... ." [|
|00001320| 7a 6d 61 63 73 2d 72 65 | 67 69 6f 6e 73 20 7a 6d |zmacs-re|gions zm|
|00001330| 61 63 73 2d 64 65 61 63 | 74 69 76 61 74 65 2d 72 |acs-deac|tivate-r|
|00001340| 65 67 69 6f 6e 20 61 62 | 6f 72 74 2d 72 65 63 75 |egion ab|ort-recu|
|00001350| 72 73 69 76 65 2d 65 64 | 69 74 5d 20 31 20 22 5c |rsive-ed|it] 1 "\|
|00001360| 0a 41 62 6f 72 74 20 72 | 65 63 75 72 73 69 76 65 |.Abort r|ecursive|
|00001370| 20 65 64 69 74 2e 0a 49 | 66 20 60 7a 6d 61 63 73 | edit..I|f `zmacs|
|00001380| 2d 72 65 67 69 6f 6e 73 | 27 20 69 73 20 74 72 75 |-regions|' is tru|
|00001390| 65 2c 20 61 6e 64 20 74 | 68 65 20 7a 6d 61 63 73 |e, and t|he zmacs|
|000013a0| 20 72 65 67 69 6f 6e 20 | 69 73 20 61 63 74 69 76 | region |is activ|
|000013b0| 65 2c 20 74 68 65 6e 20 | 74 68 69 73 0a 6b 65 79 |e, then |this.key|
|000013c0| 20 64 65 61 63 74 69 76 | 61 74 65 73 20 74 68 65 | deactiv|ates the|
|000013d0| 20 72 65 67 69 6f 6e 20 | 77 69 74 68 6f 75 74 20 | region |without |
|000013e0| 62 65 65 70 69 6e 67 2e | 22 20 6e 69 6c 5d 29 0a |beeping.|" nil]).|
|000013f0| 28 66 73 65 74 20 27 6d | 69 6e 69 62 75 66 66 65 |(fset 'm|inibuffe|
|00001400| 72 2d 77 69 6e 64 6f 77 | 2d 61 63 74 69 76 65 2d |r-window|-active-|
|00001410| 70 20 23 5b 28 77 69 6e | 64 6f 77 29 20 22 c0 09 |p #[(win|dow) "..|
|00001420| c2 89 23 1b 09 0b 3d 3f | ad 8a c4 0b c2 89 23 89 |..#...=?|......#.|
|00001430| 1d 09 29 3d 29 87 22 20 | 5b 70 72 65 76 69 6f 75 |..)=)." |[previou|
|00001440| 73 2d 77 69 6e 64 6f 77 | 20 77 69 6e 64 6f 77 20 |s-window| window |
|00001450| 6e 69 6c 20 70 72 65 76 | 20 6e 65 78 74 2d 77 69 |nil prev| next-wi|
|00001460| 6e 64 6f 77 20 73 68 6f | 75 6c 64 2d 62 65 2d 73 |ndow sho|uld-be-s|
|00001470| 61 6d 65 5d 20 35 20 22 | 5c 0a 52 65 74 75 72 6e |ame] 5 "|\.Return|
|00001480| 20 74 20 69 66 20 57 49 | 4e 44 4f 57 20 28 61 20 | t if WI|NDOW (a |
|00001490| 6d 69 6e 69 62 75 66 66 | 65 72 20 77 69 6e 64 6f |minibuff|er windo|
|000014a0| 77 29 20 69 73 20 6e 6f | 77 20 61 63 74 69 76 65 |w) is no|w active|
|000014b0| 2e 22 5d 29 0a 28 66 73 | 65 74 20 27 72 65 73 65 |."]).(fs|et 'rese|
|000014c0| 74 2d 62 75 66 66 65 72 | 20 23 5b 28 62 75 66 66 |t-buffer| #[(buff|
|000014d0| 65 72 29 20 22 8a 08 71 | 88 c1 20 88 c2 13 c4 20 |er) "..q|.. .... |
|000014e0| 88 c2 15 c2 16 06 c7 c2 | 21 88 c2 16 08 c2 16 09 |........|!.......|
|000014f0| ca 08 c2 5c 22 88 08 29 | 87 22 20 5b 62 75 66 66 |...\"..)|." [buff|
|00001500| 65 72 20 6b 69 6c 6c 2d | 61 6c 6c 2d 6c 6f 63 61 |er kill-|all-loca|
|00001510| 6c 2d 76 61 72 69 61 62 | 6c 65 73 20 6e 69 6c 20 |l-variab|les nil |
|00001520| 62 75 66 66 65 72 2d 72 | 65 61 64 2d 6f 6e 6c 79 |buffer-r|ead-only|
|00001530| 20 65 72 61 73 65 2d 62 | 75 66 66 65 72 20 62 75 | erase-b|uffer bu|
|00001540| 66 66 65 72 2d 66 69 6c | 65 2d 6e 61 6d 65 20 62 |ffer-fil|e-name b|
|00001550| 75 66 66 65 72 2d 66 69 | 6c 65 2d 74 72 75 65 6e |uffer-fi|le-truen|
|00001560| 61 6d 65 20 73 65 74 2d | 62 75 66 66 65 72 2d 6d |ame set-|buffer-m|
|00001570| 6f 64 69 66 69 65 64 2d | 70 20 62 75 66 66 65 72 |odified-|p buffer|
|00001580| 2d 62 61 63 6b 65 64 2d | 75 70 20 62 75 66 66 65 |-backed-|up buffe|
|00001590| 72 2d 61 75 74 6f 2d 73 | 61 76 65 2d 66 69 6c 65 |r-auto-s|ave-file|
|000015a0| 2d 6e 61 6d 65 20 73 65 | 74 2d 62 75 66 66 65 72 |-name se|t-buffer|
|000015b0| 2d 64 65 64 69 63 61 74 | 65 64 2d 66 72 61 6d 65 |-dedicat|ed-frame|
|000015c0| 5d 20 33 5d 29 0a 28 64 | 65 66 76 61 72 20 6d 69 |] 3]).(d|efvar mi|
|000015d0| 6e 69 62 75 66 66 65 72 | 2d 68 69 73 74 6f 72 79 |nibuffer|-history|
|000015e0| 2d 76 61 72 69 61 62 6c | 65 20 27 6d 69 6e 69 62 |-variabl|e 'minib|
|000015f0| 75 66 66 65 72 2d 68 69 | 73 74 6f 72 79 20 22 5c |uffer-hi|story "\|
|00001600| 0a 48 69 73 74 6f 72 79 | 20 6c 69 73 74 20 73 79 |.History| list sy|
|00001610| 6d 62 6f 6c 20 74 6f 20 | 61 64 64 20 6d 69 6e 69 |mbol to |add mini|
|00001620| 62 75 66 66 65 72 20 76 | 61 6c 75 65 73 20 74 6f |buffer v|alues to|
|00001630| 2e 0a 45 61 63 68 20 6d | 69 6e 69 62 75 66 66 65 |..Each m|inibuffe|
|00001640| 72 20 6f 75 74 70 75 74 | 20 69 73 20 61 64 64 65 |r output| is adde|
|00001650| 64 20 77 69 74 68 0a 20 | 20 28 73 65 74 20 6d 69 |d with. | (set mi|
|00001660| 6e 69 62 75 66 66 65 72 | 2d 68 69 73 74 6f 72 79 |nibuffer|-history|
|00001670| 2d 76 61 72 69 61 62 6c | 65 0a 20 20 20 20 20 20 |-variabl|e. |
|00001680| 20 28 63 6f 6e 73 20 53 | 54 52 49 4e 47 20 28 73 | (cons S|TRING (s|
|00001690| 79 6d 62 6f 6c 2d 76 61 | 6c 75 65 20 6d 69 6e 69 |ymbol-va|lue mini|
|000016a0| 62 75 66 66 65 72 2d 68 | 69 73 74 6f 72 79 2d 76 |buffer-h|istory-v|
|000016b0| 61 72 69 61 62 6c 65 29 | 29 29 22 29 0a 28 64 65 |ariable)|))").(de|
|000016c0| 66 76 61 72 20 6d 69 6e | 69 62 75 66 66 65 72 2d |fvar min|ibuffer-|
|000016d0| 68 69 73 74 6f 72 79 2d | 6d 69 6e 69 6d 75 6d 2d |history-|minimum-|
|000016e0| 73 74 72 69 6e 67 2d 6c | 65 6e 67 74 68 20 33 20 |string-l|ength 3 |
|000016f0| 22 5c 0a 49 66 20 74 68 | 69 73 20 76 61 72 69 61 |"\.If th|is varia|
|00001700| 62 6c 65 20 69 73 20 6e | 6f 6e 2d 6e 69 6c 2c 20 |ble is n|on-nil, |
|00001710| 61 20 73 74 72 69 6e 67 | 20 77 69 6c 6c 20 6e 6f |a string| will no|
|00001720| 74 20 62 65 20 61 64 64 | 65 64 20 74 6f 20 74 68 |t be add|ed to th|
|00001730| 65 0a 6d 69 6e 69 62 75 | 66 66 65 72 20 68 69 73 |e.minibu|ffer his|
|00001740| 74 6f 72 79 20 69 66 20 | 69 74 73 20 6c 65 6e 67 |tory if |its leng|
|00001750| 74 68 20 69 73 20 6c 65 | 73 73 20 74 68 61 6e 20 |th is le|ss than |
|00001760| 74 68 61 74 20 76 61 6c | 75 65 2e 22 29 0a 28 66 |that val|ue.").(f|
|00001770| 73 65 74 20 27 72 65 61 | 64 2d 66 72 6f 6d 2d 6d |set 'rea|d-from-m|
|00001780| 69 6e 69 62 75 66 66 65 | 72 20 23 5b 28 70 72 6f |inibuffe|r #[(pro|
|00001790| 6d 70 74 20 26 6f 70 74 | 69 6f 6e 61 6c 20 69 6e |mpt &opt|ional in|
|000017a0| 69 74 69 61 6c 2d 63 6f | 6e 74 65 6e 74 73 20 6b |itial-co|ntents k|
|000017b0| 65 79 6d 61 70 20 72 65 | 61 64 70 20 68 69 73 74 |eymap re|adp hist|
|000017c0| 6f 72 79 20 61 62 62 72 | 65 76 2d 74 61 62 6c 65 |ory abbr|ev-table|
|000017d0| 29 20 22 08 ac 91 c1 20 | c2 56 ab 8b c3 20 c4 20 |) ".... |.V... . |
|000017e0| 3d ab 84 c5 c6 21 88 0e | 07 ab 90 0e 07 c2 56 ab |=....!..|......V.|
|000017f0| 8a c1 20 0e 07 59 ab 83 | c8 20 88 0e 09 ab a1 0e |.. ..Y..|. ......|
|00001800| 09 39 ab 8e ca 0e 09 21 | ac 96 c5 cb 0e 09 5c 22 |.9.....!|......\"|
|00001810| 88 aa 8e ca 0e 09 40 21 | ac 87 c5 cb 0e 09 40 5c |......@!|......@\|
|00001820| 22 88 cc 20 ab 88 cd ce | cf 0e 10 21 5c 22 88 0e |".. ....|...!\"..|
|00001830| 11 1e 12 c3 20 1e 13 c4 | 20 1e 14 c1 20 c2 3d ab |.... ...| ... .=.|
|00001840| 86 d5 0e 14 21 aa 87 d6 | d7 d8 c1 20 5c 22 21 1e |....!...|... \"!.|
|00001850| 19 da 0e 14 21 89 1e 1b | dc 20 3d 3f ad 84 dd 0e |....!...|. =?....|
|00001860| 1b 21 1e 1e dd 20 1e 1f | 0e 09 1e 20 e1 8e 0e 19 |.!... ..|... ....|
|00001870| 71 88 e2 0e 19 21 88 0e | 12 16 11 e3 e4 21 88 e5 |q....!..|.....!..|
|00001880| 16 24 e3 e6 21 88 0e 26 | ac 83 e7 16 26 e3 e8 21 |.$..!..&|....&..!|
|00001890| 88 e9 e8 ea 5c 22 88 eb | 0e 14 0e 19 5c 22 88 ec |....\"..|....\"..|
|000018a0| 0e 14 21 88 ed 0e 14 c2 | 5c 22 88 cd ee 21 88 0e |..!.....|\"...!..|
|000018b0| 2f ab 96 0e 2f 3a ab 8d | 0e 2f 40 63 88 0e 2f 41 |/.../:..|./@c../A|
|000018c0| 54 62 88 aa 84 0e 2f 63 | 88 f0 0e 31 ae 82 0e 32 |Tb..../c|...1...2|
|000018d0| 21 88 70 0e 33 0e 34 0e | 20 ac 83 f5 aa 8c 0e 20 |!.p.3.4.| ...... |
|000018e0| 3a ab 85 0e 20 40 aa 82 | 0e 20 0e 20 3a ab 85 0e |:... @..|. . :...|
|000018f0| 20 41 aa 81 c2 0e 13 1e | 36 1e 37 1e 38 1e 39 1e | A......|6.7.8.9.|
|00001900| 33 1e 3a 0e 3b ab 87 0e | 3b 16 3c e5 16 3d fe ff |3.:.;...|;.<..=..|
|00001910| 8d e5 3d ab 8a 81 40 00 | 81 41 00 ee 5c 22 aa fa |..=...@.|.A..\"..|
|00001920| 0e 19 71 88 0e 42 ab 88 | 81 43 00 81 42 00 21 88 |..q..B..|.C..B.!.|
|00001930| 81 44 00 20 1e 45 ee 1e | 46 0e 47 ab 8b 81 48 00 |.D. .E..|F.G...H.|
|00001940| 81 49 00 81 4a 00 8f 88 | 0e 38 39 ab bb ca 0e 38 |.I..J...|.89....8|
|00001950| 21 ab b5 0e 38 4a 89 1e | 4b e5 3d ac aa 0e 45 ab |!...8J..|K.=...E.|
|00001960| a6 0e 4b ab 88 0e 45 0e | 4b 40 9a ac 9a 0e 45 3b |..K...E.|K@....E;|
|00001970| ab 8c 0e 4c ab 88 0e 45 | 47 0e 4c 57 ac 89 0e 38 |...L...E|G.LW...8|
|00001980| 0e 45 0e 4b 42 4c 88 29 | 0e 46 ab 8b 81 40 00 0e |.E.KBL.)|.F...@..|
|00001990| 46 40 0e 46 41 5c 22 88 | 0e 45 2a 2e 0f 87 22 20 |F@.FA\".|.E*..." |
|000019a0| 5b 65 6e 61 62 6c 65 2d | 72 65 63 75 72 73 69 76 |[enable-|recursiv|
|000019b0| 65 2d 6d 69 6e 69 62 75 | 66 66 65 72 73 20 6d 69 |e-minibu|ffers mi|
|000019c0| 6e 69 62 75 66 66 65 72 | 2d 64 65 70 74 68 20 30 |nibuffer|-depth 0|
|000019d0| 20 73 65 6c 65 63 74 65 | 64 2d 77 69 6e 64 6f 77 | selecte|d-window|
|000019e0| 20 6d 69 6e 69 62 75 66 | 66 65 72 2d 77 69 6e 64 | minibuf|fer-wind|
|000019f0| 6f 77 20 65 72 72 6f 72 | 20 22 43 6f 6d 6d 61 6e |ow error| "Comman|
|00001a00| 64 20 61 74 74 65 6d 70 | 74 65 64 20 74 6f 20 75 |d attemp|ted to u|
|00001a10| 73 65 20 6d 69 6e 69 62 | 75 66 66 65 72 20 77 68 |se minib|uffer wh|
|00001a20| 69 6c 65 20 69 6e 20 6d | 69 6e 69 62 75 66 66 65 |ile in m|inibuffe|
|00001a30| 72 22 20 6d 69 6e 69 62 | 75 66 66 65 72 2d 6d 61 |r" minib|uffer-ma|
|00001a40| 78 2d 64 65 70 74 68 20 | 6d 69 6e 69 62 75 66 66 |x-depth |minibuff|
|00001a50| 65 72 2d 6d 61 78 2d 64 | 65 70 74 68 2d 65 78 63 |er-max-d|epth-exc|
|00001a60| 65 65 64 65 64 20 68 69 | 73 74 6f 72 79 20 62 6f |eeded hi|story bo|
|00001a70| 75 6e 64 70 20 22 48 69 | 73 74 6f 72 79 20 6c 69 |undp "Hi|story li|
|00001a80| 73 74 20 25 53 20 69 73 | 20 75 6e 62 6f 75 6e 64 |st %S is| unbound|
|00001a90| 22 20 6e 6f 6e 69 6e 74 | 65 72 61 63 74 69 76 65 |" nonint|eractive|
|00001aa0| 20 6d 65 73 73 61 67 65 | 20 22 25 73 22 20 67 65 | message| "%s" ge|
|00001ab0| 74 74 65 78 74 20 70 72 | 6f 6d 70 74 20 64 65 66 |ttext pr|ompt def|
|00001ac0| 61 75 6c 74 2d 64 69 72 | 65 63 74 6f 72 79 20 64 |ault-dir|ectory d|
|00001ad0| 69 72 20 6f 77 69 6e 64 | 6f 77 20 77 69 6e 64 6f |ir owind|ow windo|
|00001ae0| 77 20 77 69 6e 64 6f 77 | 2d 62 75 66 66 65 72 20 |w window|-buffer |
|00001af0| 67 65 74 2d 62 75 66 66 | 65 72 2d 63 72 65 61 74 |get-buff|er-creat|
|00001b00| 65 20 66 6f 72 6d 61 74 | 20 22 20 2a 4d 69 6e 69 |e format| " *Mini|
|00001b10| 62 75 66 2d 25 64 22 20 | 62 75 66 66 65 72 20 77 |buf-%d" |buffer w|
|00001b20| 69 6e 64 6f 77 2d 66 72 | 61 6d 65 20 66 72 61 6d |indow-fr|ame fram|
|00001b30| 65 20 73 65 6c 65 63 74 | 65 64 2d 66 72 61 6d 65 |e select|ed-frame|
|00001b40| 20 63 75 72 72 65 6e 74 | 2d 77 69 6e 64 6f 77 2d | current|-window-|
|00001b50| 63 6f 6e 66 69 67 75 72 | 61 74 69 6f 6e 20 6d 63 |configur|ation mc|
|00001b60| 6f 6e 66 69 67 20 6f 63 | 6f 6e 66 69 67 20 5f 68 |onfig oc|onfig _h|
|00001b70| 69 73 74 6f 72 79 5f 20 | 28 28 62 79 74 65 2d 63 |istory_ |((byte-c|
|00001b80| 6f 64 65 20 22 08 71 88 | c1 12 c3 20 88 0c ab 84 |ode ".q.|... ....|
|00001b90| c5 0c 21 88 c5 0e 06 21 | 87 22 20 5b 62 75 66 66 |..!....!|." [buff|
|00001ba0| 65 72 20 6e 69 6c 20 62 | 75 66 66 65 72 2d 72 65 |er nil b|uffer-re|
|00001bb0| 61 64 2d 6f 6e 6c 79 20 | 65 72 61 73 65 2d 62 75 |ad-only |erase-bu|
|00001bc0| 66 66 65 72 20 6d 63 6f | 6e 66 69 67 20 73 65 74 |ffer mco|nfig set|
|00001bd0| 2d 77 69 6e 64 6f 77 2d | 63 6f 6e 66 69 67 75 72 |-window-|configur|
|00001be0| 61 74 69 6f 6e 20 6f 63 | 6f 6e 66 69 67 5d 20 32 |ation oc|onfig] 2|
|00001bf0| 29 29 20 72 65 73 65 74 | 2d 62 75 66 66 65 72 20 |)) reset|-buffer |
|00001c00| 6d 61 6b 65 2d 6c 6f 63 | 61 6c 2d 76 61 72 69 61 |make-loc|al-varia|
|00001c10| 62 6c 65 20 70 72 69 6e | 74 2d 65 73 63 61 70 65 |ble prin|t-escape|
|00001c20| 2d 6e 65 77 6c 69 6e 65 | 73 20 74 20 6d 6f 64 65 |-newline|s t mode|
|00001c30| 2d 6d 6f 74 69 6f 6e 2d | 68 6f 6f 6b 20 6d 69 6e |-motion-|hook min|
|00001c40| 69 62 75 66 2d 6d 6f 75 | 73 65 2d 74 72 61 63 6b |ibuf-mou|se-track|
|00001c50| 65 72 20 6d 6f 75 73 65 | 2d 74 72 61 63 6b 2d 63 |er mouse|-track-c|
|00001c60| 6c 69 63 6b 2d 68 6f 6f | 6b 20 61 64 64 2d 68 6f |lick-hoo|k add-ho|
|00001c70| 6f 6b 20 6d 69 6e 69 62 | 75 66 2d 6d 61 79 62 65 |ok minib|uf-maybe|
|00001c80| 2d 73 65 6c 65 63 74 2d | 68 69 67 68 6c 69 67 68 |-select-|highligh|
|00001c90| 74 65 64 2d 63 6f 6d 70 | 6c 65 74 69 6f 6e 20 73 |ted-comp|letion s|
|00001ca0| 65 74 2d 77 69 6e 64 6f | 77 2d 62 75 66 66 65 72 |et-windo|w-buffer|
|00001cb0| 20 73 65 6c 65 63 74 2d | 77 69 6e 64 6f 77 20 73 | select-|window s|
|00001cc0| 65 74 2d 77 69 6e 64 6f | 77 2d 68 73 63 72 6f 6c |et-windo|w-hscrol|
|00001cd0| 6c 20 6e 69 6c 20 69 6e | 69 74 69 61 6c 2d 63 6f |l nil in|itial-co|
|00001ce0| 6e 74 65 6e 74 73 20 75 | 73 65 2d 6c 6f 63 61 6c |ntents u|se-local|
|00001cf0| 2d 6d 61 70 20 6b 65 79 | 6d 61 70 20 6d 69 6e 69 |-map key|map mini|
|00001d00| 62 75 66 66 65 72 2d 6c | 6f 63 61 6c 2d 6d 61 70 |buffer-l|ocal-map|
|00001d10| 20 63 75 72 72 65 6e 74 | 2d 70 72 65 66 69 78 2d | current|-prefix-|
|00001d20| 61 72 67 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 68 |arg mini|buffer-h|
|00001d30| 65 6c 70 2d 66 6f 72 6d | 20 6d 69 6e 69 62 75 66 |elp-form| minibuf|
|00001d40| 66 65 72 2d 68 69 73 74 | 6f 72 79 20 6d 69 6e 69 |fer-hist|ory mini|
|00001d50| 62 75 66 66 65 72 2d 73 | 63 72 6f 6c 6c 2d 77 69 |buffer-s|croll-wi|
|00001d60| 6e 64 6f 77 20 6d 69 6e | 69 62 75 66 66 65 72 2d |ndow min|ibuffer-|
|00001d70| 68 69 73 74 6f 72 79 2d | 70 6f 73 69 74 69 6f 6e |history-|position|
|00001d80| 20 6d 69 6e 69 62 75 66 | 66 65 72 2d 68 69 73 74 | minibuf|fer-hist|
|00001d90| 6f 72 79 2d 76 61 72 69 | 61 62 6c 65 20 68 65 6c |ory-vari|able hel|
|00001da0| 70 2d 66 6f 72 6d 20 6d | 6f 75 73 65 2d 67 72 61 |p-form m|ouse-gra|
|00001db0| 62 62 65 64 2d 62 75 66 | 66 65 72 20 61 62 62 72 |bbed-buf|fer abbr|
|00001dc0| 65 76 2d 74 61 62 6c 65 | 20 6c 6f 63 61 6c 2d 61 |ev-table| local-a|
|00001dd0| 62 62 72 65 76 2d 74 61 | 62 6c 65 20 61 62 62 72 |bbrev-ta|ble abbr|
|00001de0| 65 76 2d 6d 6f 64 65 20 | 65 78 69 74 20 28 62 79 |ev-mode |exit (by|
|00001df0| 74 65 2d 63 6f 64 65 20 | 22 c0 20 c1 20 56 ab 8a |te-code |". . V..|
|00001e00| c2 89 1b 1c c5 0e 06 21 | 2a 87 c5 0e 06 21 87 22 |.......!|*....!."|
|00001e10| 20 5b 72 65 63 75 72 73 | 69 6f 6e 2d 64 65 70 74 | [recurs|ion-dept|
|00001e20| 68 20 6d 69 6e 69 62 75 | 66 66 65 72 2d 64 65 70 |h minibu|ffer-dep|
|00001e30| 74 68 20 74 20 73 74 61 | 6e 64 61 72 64 2d 69 6e |th t sta|ndard-in|
|00001e40| 70 75 74 20 73 74 61 6e | 64 61 72 64 2d 6f 75 74 |put stan|dard-out|
|00001e50| 70 75 74 20 72 65 61 64 | 2d 6d 69 6e 69 62 75 66 |put read|-minibuf|
|00001e60| 66 65 72 2d 69 6e 74 65 | 72 6e 61 6c 20 70 72 6f |fer-inte|rnal pro|
|00001e70| 6d 70 74 5d 20 32 29 20 | 73 69 67 6e 61 6c 20 71 |mpt] 2) |signal q|
|00001e80| 75 69 74 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 65 |uit mini|buffer-e|
|00001e90| 78 69 74 2d 68 6f 6f 6b | 20 72 75 6e 2d 68 6f 6f |xit-hook| run-hoo|
|00001ea0| 6b 73 20 62 75 66 66 65 | 72 2d 73 74 72 69 6e 67 |ks buffe|r-string|
|00001eb0| 20 76 61 6c 20 65 72 72 | 20 72 65 61 64 70 20 65 | val err| readp e|
|00001ec0| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 09 21 | (byte-c|ode "..!|
|00001ed0| 89 1a 41 09 47 57 ab 92 | c3 20 1c c5 8e c6 c7 09 |..A.GW..|. ......|
|00001ee0| 5c 6e 41 23 ac 84 c8 c9 | 21 88 2a 5c 6e 40 89 12 |\nA#....|!.*\n@..|
|00001ef0| 3b ab 84 ca 5c 6e 44 12 | 5c 6e 11 29 c0 87 22 20 |;...\nD.|\n.).." |
|00001f00| 5b 72 65 61 64 2d 66 72 | 6f 6d 2d 73 74 72 69 6e |[read-fr|om-strin|
|00001f10| 67 20 76 61 6c 20 76 20 | 6d 61 74 63 68 2d 64 61 |g val v |match-da|
|00001f20| 74 61 20 5f 6d 61 74 63 | 68 5f 64 61 74 61 5f 20 |ta _matc|h_data_ |
|00001f30| 28 28 73 74 6f 72 65 2d | 6d 61 74 63 68 2d 64 61 |((store-|match-da|
|00001f40| 74 61 20 5f 6d 61 74 63 | 68 5f 64 61 74 61 5f 29 |ta _matc|h_data_)|
|00001f50| 29 20 73 74 72 69 6e 67 | 2d 6d 61 74 63 68 20 22 |) string|-match "|
|00001f60| 5b 20 09 5c 6e 5d 2a 5c | 5c 27 22 20 65 72 72 6f |[ .\n]*\|\'" erro|
|00001f70| 72 20 22 54 72 61 69 6c | 69 6e 67 20 67 61 72 62 |r "Trail|ing garb|
|00001f80| 61 67 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 65 78 |age foll|owing ex|
|00001f90| 70 72 65 73 73 69 6f 6e | 22 20 71 75 6f 74 65 5d |pression|" quote]|
|00001fa0| 20 35 29 20 28 28 65 72 | 72 6f 72 20 28 62 79 74 | 5) ((er|ror (byt|
|00001fb0| 65 2d 63 6f 64 65 20 22 | 08 11 c2 87 22 20 5b 65 |e-code "|...." [e|
|00001fc0| 20 65 72 72 20 6e 69 6c | 5d 20 31 29 29 29 20 6c | err nil|] 1))) l|
|00001fd0| 69 73 74 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 68 |ist mini|buffer-h|
|00001fe0| 69 73 74 6f 72 79 2d 6d | 69 6e 69 6d 75 6d 2d 73 |istory-m|inimum-s|
|00001ff0| 74 72 69 6e 67 2d 6c 65 | 6e 67 74 68 5d 20 37 20 |tring-le|ngth] 7 |
|00002000| 22 5c 0a 52 65 61 64 20 | 61 20 73 74 72 69 6e 67 |"\.Read |a string|
|00002010| 20 66 72 6f 6d 20 74 68 | 65 20 6d 69 6e 69 62 75 | from th|e minibu|
|00002020| 66 66 65 72 2c 20 70 72 | 6f 6d 70 74 69 6e 67 20 |ffer, pr|ompting |
|00002030| 77 69 74 68 20 73 74 72 | 69 6e 67 20 50 52 4f 4d |with str|ing PROM|
|00002040| 50 54 2e 0a 49 66 20 6f | 70 74 69 6f 6e 61 6c 20 |PT..If o|ptional |
|00002050| 73 65 63 6f 6e 64 20 61 | 72 67 20 49 4e 49 54 49 |second a|rg INITI|
|00002060| 41 4c 2d 43 4f 4e 54 45 | 4e 54 53 20 69 73 20 6e |AL-CONTE|NTS is n|
|00002070| 6f 6e 2d 6e 69 6c 2c 20 | 69 74 20 69 73 20 61 20 |on-nil, |it is a |
|00002080| 73 74 72 69 6e 67 0a 20 | 20 74 6f 20 62 65 20 69 |string. | to be i|
|00002090| 6e 73 65 72 74 65 64 20 | 69 6e 74 6f 20 74 68 65 |nserted |into the|
|000020a0| 20 6d 69 6e 69 62 75 66 | 66 65 72 20 62 65 66 6f | minibuf|fer befo|
|000020b0| 72 65 20 72 65 61 64 69 | 6e 67 20 69 6e 70 75 74 |re readi|ng input|
|000020c0| 2e 0a 20 20 49 66 20 49 | 4e 49 54 49 41 4c 2d 43 |.. If I|NITIAL-C|
|000020d0| 4f 4e 54 45 4e 54 53 20 | 69 73 20 28 53 54 52 49 |ONTENTS |is (STRI|
|000020e0| 4e 47 20 2e 20 50 4f 53 | 49 54 49 4f 4e 29 2c 20 |NG . POS|ITION), |
|000020f0| 74 68 65 20 69 6e 69 74 | 69 61 6c 20 69 6e 70 75 |the init|ial inpu|
|00002100| 74 0a 20 20 69 73 20 53 | 54 52 49 4e 47 2c 20 62 |t. is S|TRING, b|
|00002110| 75 74 20 70 6f 69 6e 74 | 20 69 73 20 70 6c 61 63 |ut point| is plac|
|00002120| 65 64 20 50 4f 53 49 54 | 49 4f 4e 20 63 68 61 72 |ed POSIT|ION char|
|00002130| 61 63 74 65 72 73 20 69 | 6e 74 6f 20 74 68 65 20 |acters i|nto the |
|00002140| 73 74 72 69 6e 67 2e 0a | 54 68 69 72 64 20 61 72 |string..|Third ar|
|00002150| 67 20 4b 45 59 4d 41 50 | 20 69 73 20 61 20 6b 65 |g KEYMAP| is a ke|
|00002160| 79 6d 61 70 20 74 6f 20 | 75 73 65 20 77 68 69 6c |ymap to |use whil|
|00002170| 73 74 20 72 65 61 64 69 | 6e 67 3b 0a 20 20 69 66 |st readi|ng;. if|
|00002180| 20 6f 6d 69 74 74 65 64 | 20 6f 72 20 6e 69 6c 2c | omitted| or nil,|
|00002190| 20 74 68 65 20 64 65 66 | 61 75 6c 74 20 69 73 20 | the def|ault is |
|000021a0| 60 6d 69 6e 69 62 75 66 | 66 65 72 2d 6c 6f 63 61 |`minibuf|fer-loca|
|000021b0| 6c 2d 6d 61 70 27 2e 0a | 49 66 20 66 6f 75 72 74 |l-map'..|If fourt|
|000021c0| 68 20 61 72 67 20 52 45 | 41 44 20 69 73 20 6e 6f |h arg RE|AD is no|
|000021d0| 6e 2d 6e 69 6c 2c 20 74 | 68 65 6e 20 69 6e 74 65 |n-nil, t|hen inte|
|000021e0| 72 70 72 65 74 20 74 68 | 65 20 72 65 73 75 6c 74 |rpret th|e result|
|000021f0| 20 61 73 20 61 20 6c 69 | 73 70 20 6f 62 6a 65 63 | as a li|sp objec|
|00002200| 74 0a 20 20 61 6e 64 20 | 72 65 74 75 72 6e 20 74 |t. and |return t|
|00002210| 68 61 74 20 6f 62 6a 65 | 63 74 3a 0a 20 20 69 6e |hat obje|ct:. in|
|00002220| 20 6f 74 68 65 72 20 77 | 6f 72 64 73 2c 20 64 6f | other w|ords, do|
|00002230| 20 60 28 63 61 72 20 28 | 72 65 61 64 2d 66 72 6f | `(car (|read-fro|
|00002240| 6d 2d 73 74 72 69 6e 67 | 20 49 4e 50 55 54 2d 53 |m-string| INPUT-S|
|00002250| 54 52 49 4e 47 29 29 27 | 0a 46 69 66 74 68 20 61 |TRING))'|.Fifth a|
|00002260| 72 67 20 48 49 53 54 4f | 52 59 2c 20 69 66 20 6e |rg HISTO|RY, if n|
|00002270| 6f 6e 2d 6e 69 6c 2c 20 | 73 70 65 63 69 66 69 65 |on-nil, |specifie|
|00002280| 73 20 61 20 68 69 73 74 | 6f 72 79 20 6c 69 73 74 |s a hist|ory list|
|00002290| 0a 20 20 61 6e 64 20 6f | 70 74 69 6f 6e 61 6c 6c |. and o|ptionall|
|000022a0| 79 20 74 68 65 20 69 6e | 69 74 69 61 6c 20 70 6f |y the in|itial po|
|000022b0| 73 69 74 69 6f 6e 20 69 | 6e 20 74 68 65 20 6c 69 |sition i|n the li|
|000022c0| 73 74 2e 0a 20 20 49 74 | 20 63 61 6e 20 62 65 20 |st.. It| can be |
|000022d0| 61 20 73 79 6d 62 6f 6c | 2c 20 77 68 69 63 68 20 |a symbol|, which |
|000022e0| 69 73 20 74 68 65 20 68 | 69 73 74 6f 72 79 20 6c |is the h|istory l|
|000022f0| 69 73 74 20 76 61 72 69 | 61 62 6c 65 20 74 6f 20 |ist vari|able to |
|00002300| 75 73 65 2c 0a 20 20 6f | 72 20 69 74 20 63 61 6e |use,. o|r it can|
|00002310| 20 62 65 20 61 20 63 6f | 6e 73 20 63 65 6c 6c 20 | be a co|ns cell |
|00002320| 28 48 49 53 54 56 41 52 | 20 2e 20 48 49 53 54 50 |(HISTVAR| . HISTP|
|00002330| 4f 53 29 2e 0a 20 20 49 | 6e 20 74 68 61 74 20 63 |OS).. I|n that c|
|00002340| 61 73 65 2c 20 48 49 53 | 54 56 41 52 20 69 73 20 |ase, HIS|TVAR is |
|00002350| 74 68 65 20 68 69 73 74 | 6f 72 79 20 6c 69 73 74 |the hist|ory list|
|00002360| 20 76 61 72 69 61 62 6c | 65 20 74 6f 20 75 73 65 | variabl|e to use|
|00002370| 2c 0a 20 20 61 6e 64 20 | 48 49 53 54 50 4f 53 20 |,. and |HISTPOS |
|00002380| 69 73 20 74 68 65 20 69 | 6e 69 74 69 61 6c 20 70 |is the i|nitial p|
|00002390| 6f 73 69 74 69 6f 6e 20 | 28 74 68 65 20 70 6f 73 |osition |(the pos|
|000023a0| 69 74 69 6f 6e 20 69 6e | 20 74 68 65 20 6c 69 73 |ition in| the lis|
|000023b0| 74 0a 20 20 77 68 69 63 | 68 20 49 4e 49 54 49 41 |t. whic|h INITIA|
|000023c0| 4c 2d 43 4f 4e 54 45 4e | 54 53 20 63 6f 72 72 65 |L-CONTEN|TS corre|
|000023d0| 73 70 6f 6e 64 73 20 74 | 6f 29 2e 0a 20 20 49 66 |sponds t|o).. If|
|000023e0| 20 48 49 53 54 4f 52 59 | 20 69 73 20 60 74 27 2c | HISTORY| is `t',|
|000023f0| 20 6e 6f 20 68 69 73 74 | 6f 72 79 20 77 69 6c 6c | no hist|ory will|
|00002400| 20 62 65 20 72 65 63 6f | 72 64 65 64 2e 0a 20 20 | be reco|rded.. |
|00002410| 50 6f 73 69 74 69 6f 6e | 73 20 61 72 65 20 63 6f |Position|s are co|
|00002420| 75 6e 74 65 64 20 73 74 | 61 72 74 69 6e 67 20 66 |unted st|arting f|
|00002430| 72 6f 6d 20 31 20 61 74 | 20 74 68 65 20 62 65 67 |rom 1 at| the beg|
|00002440| 69 6e 6e 69 6e 67 20 6f | 66 20 74 68 65 20 6c 69 |inning o|f the li|
|00002450| 73 74 2e 0a 53 69 78 74 | 68 20 61 72 67 20 41 42 |st..Sixt|h arg AB|
|00002460| 42 52 45 56 2d 54 41 42 | 4c 45 2c 20 69 66 20 6e |BREV-TAB|LE, if n|
|00002470| 6f 6e 2d 6e 69 6c 2c 20 | 62 65 63 6f 6d 65 73 20 |on-nil, |becomes |
|00002480| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 60 6c 6f |the valu|e of `lo|
|00002490| 63 61 6c 2d 61 62 62 72 | 65 76 2d 74 61 62 6c 65 |cal-abbr|ev-table|
|000024a0| 27 0a 20 20 69 6e 20 74 | 68 65 20 6d 69 6e 69 62 |'. in t|he minib|
|000024b0| 75 66 66 65 72 2e 0a 0a | 53 65 65 20 61 6c 73 6f |uffer...|See also|
|000024c0| 20 74 68 65 20 76 61 72 | 69 61 62 6c 65 20 63 6f | the var|iable co|
|000024d0| 6d 70 6c 65 74 69 6f 6e | 2d 68 69 67 68 6c 69 67 |mpletion|-highlig|
|000024e0| 68 74 2d 66 69 72 73 74 | 2d 77 6f 72 64 2d 6f 6e |ht-first|-word-on|
|000024f0| 6c 79 20 66 6f 72 20 63 | 6f 6e 74 72 6f 6c 20 6f |ly for c|ontrol o|
|00002500| 76 65 72 20 63 6f 6d 70 | 6c 65 74 69 6f 6e 20 64 |ver comp|letion d|
|00002510| 69 73 70 6c 61 79 22 5d | 29 0a 28 62 79 74 65 2d |isplay"]|).(byte-|
|00002520| 63 6f 64 65 20 22 c0 c1 | 4d 88 c2 c3 4d 88 c4 c5 |code "..|M...M...|
|00002530| 4d 88 c6 c7 4d 88 c8 c9 | 4d 87 22 20 5b 6d 69 6e |M...M...|M." [min|
|00002540| 69 62 75 66 66 65 72 2d | 6d 61 78 2d 64 65 70 74 |ibuffer-|max-dept|
|00002550| 68 2d 65 78 63 65 65 64 | 65 64 20 23 5b 6e 69 6c |h-exceed|ed #[nil|
|00002560| 20 22 c0 c1 c2 5c 22 88 | c3 c4 21 88 c1 1d c6 20 | "...\".|..!.... |
|00002570| 29 89 1e 07 c8 3d ab b5 | c9 ca 21 ad bd cb 16 0c |)....=..|..!.....|
|00002580| 8a cd ce cf 21 21 71 88 | 65 62 88 d0 d1 cb c1 23 |....!!q.|eb.....#|
|00002590| ab 88 d2 94 d2 95 7c 88 | aa 83 64 62 88 d3 63 88 |......|.|..db..c.|
|000025a0| d4 20 88 29 c3 d5 21 88 | d6 d7 21 aa 8d 0e 07 d8 |. .)..!.|..!.....|
|000025b0| 3d ab 84 d9 20 aa 83 da | db 21 29 87 22 20 5b 62 |=... ...|.!)." [b|
|000025c0| 65 65 70 20 74 20 6d 69 | 6e 69 62 75 66 66 65 72 |eep t mi|nibuffer|
|000025d0| 2d 6c 69 6d 69 74 2d 65 | 78 63 65 65 64 65 64 20 |-limit-e|xceeded |
|000025e0| 6d 65 73 73 61 67 65 20 | 22 4d 69 6e 69 62 75 66 |message |"Minibuf|
|000025f0| 66 65 72 20 61 6c 72 65 | 61 64 79 20 61 63 74 69 |fer alre|ady acti|
|00002600| 76 65 3a 20 61 62 6f 72 | 74 20 69 74 20 77 69 74 |ve: abor|t it wit|
|00002610| 68 20 60 5e 5d 27 2c 20 | 65 6e 61 62 6c 65 20 6e |h `^]', |enable n|
|00002620| 65 77 20 6f 6e 65 20 77 | 69 74 68 20 60 6e 27 3a |ew one w|ith `n':|
|00002630| 20 22 20 63 75 72 73 6f | 72 2d 69 6e 2d 65 63 68 | " curso|r-in-ech|
|00002640| 6f 2d 61 72 65 61 20 72 | 65 61 64 2d 63 68 61 72 |o-area r|ead-char|
|00002650| 20 63 68 61 72 20 31 31 | 30 20 79 2d 6f 72 2d 6e | char 11|0 y-or-n|
|00002660| 2d 70 20 22 45 6e 61 62 | 6c 65 20 72 65 63 75 72 |-p "Enab|le recur|
|00002670| 73 69 76 65 20 6d 69 6e | 69 62 75 66 66 65 72 73 |sive min|ibuffers|
|00002680| 20 66 6f 72 20 6f 74 68 | 65 72 20 73 65 73 73 69 | for oth|er sessi|
|00002690| 6f 6e 73 20 74 6f 6f 3f | 20 22 20 6e 69 6c 20 6d |ons too?| " nil m|
|000026a0| 69 6e 69 62 75 66 66 65 | 72 2d 6d 61 78 2d 64 65 |inibuffe|r-max-de|
|000026b0| 70 74 68 20 66 69 6e 64 | 2d 66 69 6c 65 2d 6e 6f |pth find|-file-no|
|000026c0| 73 65 6c 65 63 74 20 73 | 75 62 73 74 69 74 75 74 |select s|ubstitut|
|000026d0| 65 2d 69 6e 2d 66 69 6c | 65 2d 6e 61 6d 65 20 22 |e-in-fil|e-name "|
|000026e0| 7e 2f 2e 65 6d 61 63 73 | 22 20 72 65 2d 73 65 61 |~/.emacs|" re-sea|
|000026f0| 72 63 68 2d 66 6f 72 77 | 61 72 64 20 22 5e 28 73 |rch-forw|ard "^(s|
|00002700| 65 74 71 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 6d |etq mini|buffer-m|
|00002710| 61 78 2d 64 65 70 74 68 | 20 5c 5c 28 5b 30 2d 39 |ax-depth| \\([0-9|
|00002720| 5d 2b 5c 5c 7c 27 3f 6e | 69 6c 5c 5c 7c 27 3f 28 |]+\\|'?n|il\\|'?(|
|00002730| 29 5c 5c 29 29 5c 6e 22 | 20 30 20 22 5c 6e 28 73 |)\\))\n"| 0 "\n(s|
|00002740| 65 74 71 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 6d |etq mini|buffer-m|
|00002750| 61 78 2d 64 65 70 74 68 | 20 6e 69 6c 29 5c 6e 22 |ax-depth| nil)\n"|
|00002760| 20 73 61 76 65 2d 62 75 | 66 66 65 72 20 22 4d 75 | save-bu|ffer "Mu|
|00002770| 6c 74 69 70 6c 65 20 6d | 69 6e 69 62 75 66 66 65 |ltiple m|inibuffe|
|00002780| 72 73 20 65 6e 61 62 6c | 65 64 22 20 73 69 74 2d |rs enabl|ed" sit-|
|00002790| 66 6f 72 20 31 20 32 39 | 20 61 62 6f 72 74 2d 72 |for 1 29| abort-r|
|000027a0| 65 63 75 72 73 69 76 65 | 2d 65 64 69 74 20 65 72 |ecursive|-edit er|
|000027b0| 72 6f 72 20 22 4d 69 6e | 69 62 75 66 66 65 72 20 |ror "Min|ibuffer |
|000027c0| 61 6c 72 65 61 64 79 20 | 61 63 74 69 76 65 22 5d |already |active"]|
|000027d0| 20 35 5d 20 74 65 6d 70 | 2d 6d 69 6e 69 62 75 66 | 5] temp|-minibuf|
|000027e0| 66 65 72 2d 6d 65 73 73 | 61 67 65 20 23 5b 28 6d |fer-mess|age #[(m|
|000027f0| 29 20 22 64 18 8a 64 62 | 88 c1 c2 21 88 0b 63 88 |) "d..db|...!..c.|
|00002800| 29 c4 1d c6 c7 21 88 08 | 64 7c 88 0e 08 ad 8f 0e |)....!..|d|......|
|00002810| 09 3f ad 8a ca cb 20 21 | 16 09 c2 89 16 08 2a 87 |.?.... !|......*.|
|00002820| 22 20 5b 73 61 76 65 6d | 61 78 20 6d 65 73 73 61 |" [savem|ax messa|
|00002830| 67 65 20 6e 69 6c 20 6d | 20 74 20 69 6e 68 69 62 |ge nil m| t inhib|
|00002840| 69 74 2d 71 75 69 74 20 | 73 69 74 2d 66 6f 72 20 |it-quit |sit-for |
|00002850| 32 20 71 75 69 74 2d 66 | 6c 61 67 20 75 6e 72 65 |2 quit-f|lag unre|
|00002860| 61 64 2d 63 6f 6d 6d 61 | 6e 64 2d 65 76 65 6e 74 |ad-comma|nd-event|
|00002870| 20 63 68 61 72 61 63 74 | 65 72 2d 74 6f 2d 65 76 | charact|er-to-ev|
|00002880| 65 6e 74 20 71 75 69 74 | 2d 63 68 61 72 5d 20 32 |ent quit|-char] 2|
|00002890| 5d 20 65 78 61 63 74 2d | 6d 69 6e 69 62 75 66 66 |] exact-|minibuff|
|000028a0| 65 72 2d 63 6f 6d 70 6c | 65 74 69 6f 6e 2d 70 20 |er-compl|etion-p |
|000028b0| 23 5b 28 62 75 66 66 65 | 72 2d 73 74 72 69 6e 67 |#[(buffe|r-string|
|000028c0| 29 20 22 08 ac 82 c1 87 | c2 08 21 ab 9f c3 0c 08 |) ".....|..!.....|
|000028d0| 5c 22 89 1d ac 8a 0c c6 | 98 ad 90 c7 c8 8d ad 8b |\"......|........|
|000028e0| 0e 09 ab 86 0e 09 0d 21 | aa 81 ca 29 87 08 3a ab |.......!|...)..:.|
|000028f0| c9 08 40 39 ac c4 0e 0b | ac 85 cc 0c 08 5c 22 87 |..@9....|.....\".|
|00002900| 0c 96 08 c1 1d 1e 0d 1e | 0e 0e 0d ab a8 0e 0d 40 |........|.......@|
|00002910| 40 89 15 0c 9a ac 8d 0d | 0e 0e 9a ac 87 0d 96 0e |@.......|........|
|00002920| 0e 9a ab 89 cf 16 0e c1 | 89 16 0d aa 5e 0e 0d 41 |........|....^..A|
|00002930| 89 16 0d ac 58 0e 0e 2b | cf 3d 87 08 0c 0e 09 d0 |....X..+|.=......|
|00002940| 23 87 22 20 5b 6d 69 6e | 69 62 75 66 66 65 72 2d |#." [min|ibuffer-|
|00002950| 63 6f 6d 70 6c 65 74 69 | 6f 6e 2d 74 61 62 6c 65 |completi|on-table|
|00002960| 20 6e 69 6c 20 76 65 63 | 74 6f 72 70 20 69 6e 74 | nil vec|torp int|
|00002970| 65 72 6e 2d 73 6f 66 74 | 20 62 75 66 66 65 72 2d |ern-soft| buffer-|
|00002980| 73 74 72 69 6e 67 20 74 | 65 6d 20 22 6e 69 6c 22 |string t|em "nil"|
|00002990| 20 66 6f 75 6e 64 20 28 | 62 79 74 65 2d 63 6f 64 | found (|byte-cod|
|000029a0| 65 20 22 c0 c1 5c 6e 5c | 22 88 c3 87 22 20 5b 6d |e "..\n\|"..." [m|
|000029b0| 61 70 61 74 6f 6d 73 20 | 23 5b 28 73 29 20 22 c0 |apatoms |#[(s) ".|
|000029c0| 09 21 5c 6e 98 ad 84 c3 | c4 c5 5c 22 87 22 20 5b |.!\n....|..\"." [|
|000029d0| 73 79 6d 62 6f 6c 2d 6e | 61 6d 65 20 73 20 62 75 |symbol-n|ame s bu|
|000029e0| 66 66 65 72 2d 73 74 72 | 69 6e 67 20 74 68 72 6f |ffer-str|ing thro|
|000029f0| 77 20 66 6f 75 6e 64 20 | 74 5d 20 33 5d 20 6d 69 |w found |t] 3] mi|
|00002a00| 6e 69 62 75 66 66 65 72 | 2d 63 6f 6d 70 6c 65 74 |nibuffer|-complet|
|00002a10| 69 6f 6e 2d 74 61 62 6c | 65 20 6e 69 6c 5d 20 33 |ion-tabl|e nil] 3|
|00002a20| 29 20 6d 69 6e 69 62 75 | 66 66 65 72 2d 63 6f 6d |) minibu|ffer-com|
|00002a30| 70 6c 65 74 69 6f 6e 2d | 70 72 65 64 69 63 61 74 |pletion-|predicat|
|00002a40| 65 20 74 20 63 6f 6d 70 | 6c 65 74 69 6f 6e 2d 69 |e t comp|letion-i|
|00002a50| 67 6e 6f 72 65 2d 63 61 | 73 65 20 61 73 73 6f 63 |gnore-ca|se assoc|
|00002a60| 20 74 61 69 6c 20 73 20 | 77 69 6e 20 6c 61 6d 62 | tail s |win lamb|
|00002a70| 64 61 5d 20 35 5d 20 6d | 69 6e 69 62 75 66 66 65 |da] 5] m|inibuffe|
|00002a80| 72 2d 64 6f 2d 63 6f 6d | 70 6c 65 74 69 6f 6e 2d |r-do-com|pletion-|
|00002a90| 31 20 23 5b 28 62 75 66 | 66 65 72 2d 73 74 72 69 |1 #[(buf|fer-stri|
|00002aa0| 6e 67 20 63 6f 6d 70 6c | 65 74 69 6f 6e 29 20 22 |ng compl|etion) "|
|00002ab0| 08 ac 82 c1 87 08 c2 3d | ab 82 c3 87 08 0c 98 3f |.......=|.......?|
|00002ac0| 89 1d ab 88 c6 20 88 08 | 63 88 08 14 c7 0c 21 ab |..... ..|c.....!.|
|00002ad0| 89 0d ab 83 c8 aa 8a c9 | aa 87 0d ab 83 ca aa 81 |........|........|
|00002ae0| cb 29 87 22 20 5b 63 6f | 6d 70 6c 65 74 69 6f 6e |.)." [co|mpletion|
|00002af0| 20 6e 6f 6e 65 20 74 20 | 75 6e 69 71 75 65 20 62 | none t |unique b|
|00002b00| 75 66 66 65 72 2d 73 74 | 72 69 6e 67 20 63 6f 6d |uffer-st|ring com|
|00002b10| 70 6c 65 74 65 64 70 20 | 65 72 61 73 65 2d 62 75 |pletedp |erase-bu|
|00002b20| 66 66 65 72 20 65 78 61 | 63 74 2d 6d 69 6e 69 62 |ffer exa|ct-minib|
|00002b30| 75 66 66 65 72 2d 63 6f | 6d 70 6c 65 74 69 6f 6e |uffer-co|mpletion|
|00002b40| 2d 70 20 63 6f 6d 70 6c | 65 74 65 64 2d 65 78 61 |-p compl|eted-exa|
|00002b50| 63 74 20 65 78 61 63 74 | 20 63 6f 6d 70 6c 65 74 |ct exact| complet|
|00002b60| 65 64 20 75 6e 63 6f 6d | 70 6c 65 74 65 64 5d 20 |ed uncom|pleted] |
|00002b70| 33 5d 20 6d 69 6e 69 62 | 75 66 66 65 72 2d 64 6f |3] minib|uffer-do|
|00002b80| 2d 63 6f 6d 70 6c 65 74 | 69 6f 6e 20 23 5b 28 62 |-complet|ion #[(b|
|00002b90| 75 66 66 65 72 2d 73 74 | 72 69 6e 67 29 20 22 c0 |uffer-st|ring) ".|
|00002ba0| 09 5c 6e 0b 23 1c c5 09 | 0c 5c 22 1e 06 0e 07 1e |.\n.#...|.\".....|
|00002bb0| 08 c9 16 07 0e 06 ca 3d | ab 8b cb c9 cc 5c 22 88 |.......=|.....\".|
|00002bc0| cd ce 21 88 aa ba 0e 06 | cf 3d ac b4 0c 09 98 ac |..!.....|.=......|
|00002bd0| 88 d0 20 88 0c 63 88 0c | 11 0e 06 d1 3d ab 8e 0c |.. ..c..|....=...|
|00002be0| 16 07 09 0e 08 9a ab 98 | d2 20 88 aa 93 0e 06 d3 |........|. ......|
|00002bf0| 3d ab 8d 0e 14 ab 85 d2 | 20 88 aa 84 cd d5 21 88 |=.......| .....!.|
|00002c00| 0e 06 2b 87 22 20 5b 74 | 72 79 2d 63 6f 6d 70 6c |..+." [t|ry-compl|
|00002c10| 65 74 69 6f 6e 20 62 75 | 66 66 65 72 2d 73 74 72 |etion bu|ffer-str|
|00002c20| 69 6e 67 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 63 |ing mini|buffer-c|
|00002c30| 6f 6d 70 6c 65 74 69 6f | 6e 2d 74 61 62 6c 65 20 |ompletio|n-table |
|00002c40| 6d 69 6e 69 62 75 66 66 | 65 72 2d 63 6f 6d 70 6c |minibuff|er-compl|
|00002c50| 65 74 69 6f 6e 2d 70 72 | 65 64 69 63 61 74 65 20 |etion-pr|edicate |
|00002c60| 63 6f 6d 70 6c 65 74 69 | 6f 6e 20 6d 69 6e 69 62 |completi|on minib|
|00002c70| 75 66 66 65 72 2d 64 6f | 2d 63 6f 6d 70 6c 65 74 |uffer-do|-complet|
|00002c80| 69 6f 6e 2d 31 20 73 74 | 61 74 75 73 20 6c 61 73 |ion-1 st|atus las|
|00002c90| 74 2d 65 78 61 63 74 2d | 63 6f 6d 70 6c 65 74 69 |t-exact-|completi|
|00002ca0| 6f 6e 20 6c 61 73 74 20 | 6e 69 6c 20 6e 6f 6e 65 |on last |nil none|
|00002cb0| 20 64 69 6e 67 20 6e 6f | 2d 63 6f 6d 70 6c 65 74 | ding no|-complet|
|00002cc0| 69 6f 6e 20 74 65 6d 70 | 2d 6d 69 6e 69 62 75 66 |ion temp|-minibuf|
|00002cd0| 66 65 72 2d 6d 65 73 73 | 61 67 65 20 22 20 5b 4e |fer-mess|age " [N|
|00002ce0| 6f 20 6d 61 74 63 68 5d | 22 20 75 6e 69 71 75 65 |o match]|" unique|
|00002cf0| 20 65 72 61 73 65 2d 62 | 75 66 66 65 72 20 65 78 | erase-b|uffer ex|
|00002d00| 61 63 74 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 63 |act mini|buffer-c|
|00002d10| 6f 6d 70 6c 65 74 69 6f | 6e 2d 68 65 6c 70 20 75 |ompletio|n-help u|
|00002d20| 6e 63 6f 6d 70 6c 65 74 | 65 64 20 63 6f 6d 70 6c |ncomplet|ed compl|
|00002d30| 65 74 69 6f 6e 2d 61 75 | 74 6f 2d 68 65 6c 70 20 |etion-au|to-help |
|00002d40| 22 20 5b 4e 65 78 74 20 | 63 68 61 72 20 6e 6f 74 |" [Next |char not|
|00002d50| 20 75 6e 69 71 75 65 5d | 22 5d 20 34 5d 5d 20 32 | unique]|"] 4]] 2|
|00002d60| 29 0a 28 66 73 65 74 20 | 27 63 6f 6d 70 6c 65 74 |).(fset |'complet|
|00002d70| 69 6e 67 2d 72 65 61 64 | 20 23 5b 28 70 72 6f 6d |ing-read| #[(prom|
|00002d80| 70 74 20 74 61 62 6c 65 | 20 26 6f 70 74 69 6f 6e |pt table| &option|
|00002d90| 61 6c 20 70 72 65 64 69 | 63 61 74 65 20 72 65 71 |al predi|cate req|
|00002da0| 75 69 72 65 2d 6d 61 74 | 63 68 20 69 6e 69 74 69 |uire-mat|ch initi|
|00002db0| 61 6c 2d 63 6f 6e 74 65 | 6e 74 73 20 68 69 73 74 |al-conte|nts hist|
|00002dc0| 6f 72 79 29 20 22 08 09 | 5c 6e c3 3d 3f ad 81 c3 |ory) "..|\n.=?...|
|00002dd0| c4 1d 1e 06 1e 07 1e 08 | c9 0e 5c 6e 0e 0b 5c 6e |........|..\n..\n|
|00002de0| ac 84 0e 0c aa 82 0e 0d | c4 0e 0e 25 2c 87 22 20 |........|...%,." |
|00002df0| 5b 74 61 62 6c 65 20 70 | 72 65 64 69 63 61 74 65 |[table p|redicate|
|00002e00| 20 72 65 71 75 69 72 65 | 2d 6d 61 74 63 68 20 74 | require|-match t|
|00002e10| 20 6e 69 6c 20 6c 61 73 | 74 2d 65 78 61 63 74 2d | nil las|t-exact-|
|00002e20| 63 6f 6d 70 6c 65 74 69 | 6f 6e 20 6d 69 6e 69 62 |completi|on minib|
|00002e30| 75 66 66 65 72 2d 63 6f | 6d 70 6c 65 74 69 6f 6e |uffer-co|mpletion|
|00002e40| 2d 63 6f 6e 66 69 72 6d | 20 6d 69 6e 69 62 75 66 |-confirm| minibuf|
|00002e50| 66 65 72 2d 63 6f 6d 70 | 6c 65 74 69 6f 6e 2d 70 |fer-comp|letion-p|
|00002e60| 72 65 64 69 63 61 74 65 | 20 6d 69 6e 69 62 75 66 |redicate| minibuf|
|00002e70| 66 65 72 2d 63 6f 6d 70 | 6c 65 74 69 6f 6e 2d 74 |fer-comp|letion-t|
|00002e80| 61 62 6c 65 20 72 65 61 | 64 2d 66 72 6f 6d 2d 6d |able rea|d-from-m|
|00002e90| 69 6e 69 62 75 66 66 65 | 72 20 70 72 6f 6d 70 74 |inibuffe|r prompt|
|00002ea0| 20 69 6e 69 74 69 61 6c | 2d 63 6f 6e 74 65 6e 74 | initial|-content|
|00002eb0| 73 20 6d 69 6e 69 62 75 | 66 66 65 72 2d 6c 6f 63 |s minibu|ffer-loc|
|00002ec0| 61 6c 2d 63 6f 6d 70 6c | 65 74 69 6f 6e 2d 6d 61 |al-compl|etion-ma|
|00002ed0| 70 20 6d 69 6e 69 62 75 | 66 66 65 72 2d 6c 6f 63 |p minibu|ffer-loc|
|00002ee0| 61 6c 2d 6d 75 73 74 2d | 6d 61 74 63 68 2d 6d 61 |al-must-|match-ma|
|00002ef0| 70 20 68 69 73 74 6f 72 | 79 5d 20 36 20 22 5c 0a |p histor|y] 6 "\.|
|00002f00| 52 65 61 64 20 61 20 73 | 74 72 69 6e 67 20 69 6e |Read a s|tring in|
|00002f10| 20 74 68 65 20 6d 69 6e | 69 62 75 66 66 65 72 2c | the min|ibuffer,|
|00002f20| 20 77 69 74 68 20 63 6f | 6d 70 6c 65 74 69 6f 6e | with co|mpletion|
|00002f30| 2e 0a 41 72 67 73 3a 20 | 50 52 4f 4d 50 54 2c 20 |..Args: |PROMPT, |
|00002f40| 54 41 42 4c 45 2c 20 50 | 52 45 44 49 43 41 54 45 |TABLE, P|REDICATE|
|00002f50| 2c 20 52 45 51 55 49 52 | 45 2d 4d 41 54 43 48 2c |, REQUIR|E-MATCH,|
|00002f60| 20 49 4e 49 54 49 41 4c | 2d 43 4f 4e 54 45 4e 54 | INITIAL|-CONTENT|
|00002f70| 53 2c 20 48 49 53 54 4f | 52 59 2e 0a 50 52 4f 4d |S, HISTO|RY..PROM|
|00002f80| 50 54 20 69 73 20 61 20 | 73 74 72 69 6e 67 20 74 |PT is a |string t|
|00002f90| 6f 20 70 72 6f 6d 70 74 | 20 77 69 74 68 3b 20 6e |o prompt| with; n|
|00002fa0| 6f 72 6d 61 6c 6c 79 20 | 69 74 20 65 6e 64 73 20 |ormally |it ends |
|00002fb0| 69 6e 20 61 20 63 6f 6c | 6f 6e 20 61 6e 64 20 61 |in a col|on and a|
|00002fc0| 20 73 70 61 63 65 2e 0a | 54 41 42 4c 45 20 69 73 | space..|TABLE is|
|00002fd0| 20 61 6e 20 61 6c 69 73 | 74 20 77 68 6f 73 65 20 | an alis|t whose |
|00002fe0| 65 6c 65 6d 65 6e 74 73 | 27 20 63 61 72 73 20 61 |elements|' cars a|
|00002ff0| 72 65 20 73 74 72 69 6e | 67 73 2c 20 6f 72 20 61 |re strin|gs, or a|
|00003000| 6e 20 6f 62 61 72 72 61 | 79 2e 0a 50 52 45 44 49 |n obarra|y..PREDI|
|00003010| 43 41 54 45 20 6c 69 6d | 69 74 73 20 63 6f 6d 70 |CATE lim|its comp|
|00003020| 6c 65 74 69 6f 6e 20 74 | 6f 20 61 20 73 75 62 73 |letion t|o a subs|
|00003030| 65 74 20 6f 66 20 54 41 | 42 4c 45 2e 0a 53 65 65 |et of TA|BLE..See|
|00003040| 20 60 74 72 79 2d 63 6f | 6d 70 6c 65 74 69 6f 6e | `try-co|mpletion|
|00003050| 27 20 66 6f 72 20 6d 6f | 72 65 20 64 65 74 61 69 |' for mo|re detai|
|00003060| 6c 73 20 6f 6e 20 63 6f | 6d 70 6c 65 74 69 6f 6e |ls on co|mpletion|
|00003070| 2c 20 54 41 42 4c 45 2c | 20 61 6e 64 20 50 52 45 |, TABLE,| and PRE|
|00003080| 44 49 43 41 54 45 2e 0a | 49 66 20 52 45 51 55 49 |DICATE..|If REQUI|
|00003090| 52 45 2d 4d 41 54 43 48 | 20 69 73 20 6e 6f 6e 2d |RE-MATCH| is non-|
|000030a0| 6e 69 6c 2c 20 74 68 65 | 20 75 73 65 72 20 69 73 |nil, the| user is|
|000030b0| 20 6e 6f 74 20 61 6c 6c | 6f 77 65 64 20 74 6f 20 | not all|owed to |
|000030c0| 65 78 69 74 20 75 6e 6c | 65 73 73 0a 20 74 68 65 |exit unl|ess. the|
|000030d0| 20 69 6e 70 75 74 20 69 | 73 20 28 6f 72 20 63 6f | input i|s (or co|
|000030e0| 6d 70 6c 65 74 65 73 20 | 74 6f 29 20 61 6e 20 65 |mpletes |to) an e|
|000030f0| 6c 65 6d 65 6e 74 20 6f | 66 20 54 41 42 4c 45 20 |lement o|f TABLE |
|00003100| 6f 72 20 69 73 20 6e 75 | 6c 6c 2e 0a 20 49 66 20 |or is nu|ll.. If |
|00003110| 69 74 20 69 73 20 61 6c | 73 6f 20 6e 6f 74 20 74 |it is al|so not t|
|00003120| 2c 20 52 65 74 75 72 6e | 20 64 6f 65 73 20 6e 6f |, Return| does no|
|00003130| 74 20 65 78 69 74 20 69 | 66 20 69 74 20 64 6f 65 |t exit i|f it doe|
|00003140| 73 20 6e 6f 6e 2d 6e 75 | 6c 6c 20 63 6f 6d 70 6c |s non-nu|ll compl|
|00003150| 65 74 69 6f 6e 2e 0a 49 | 66 20 49 4e 49 54 49 41 |etion..I|f INITIA|
|00003160| 4c 2d 43 4f 4e 54 45 4e | 54 53 20 69 73 20 6e 6f |L-CONTEN|TS is no|
|00003170| 6e 2d 6e 69 6c 2c 20 69 | 6e 73 65 72 74 20 69 74 |n-nil, i|nsert it|
|00003180| 20 69 6e 20 74 68 65 20 | 6d 69 6e 69 62 75 66 66 | in the |minibuff|
|00003190| 65 72 20 69 6e 69 74 69 | 61 6c 6c 79 2e 0a 20 20 |er initi|ally.. |
|000031a0| 49 66 20 69 74 20 69 73 | 20 28 53 54 52 49 4e 47 |If it is| (STRING|
|000031b0| 20 2e 20 50 4f 53 49 54 | 49 4f 4e 29 2c 20 74 68 | . POSIT|ION), th|
|000031c0| 65 20 69 6e 69 74 69 61 | 6c 20 69 6e 70 75 74 0a |e initia|l input.|
|000031d0| 20 20 69 73 20 53 54 52 | 49 4e 47 2c 20 62 75 74 | is STR|ING, but|
|000031e0| 20 70 6f 69 6e 74 20 69 | 73 20 70 6c 61 63 65 64 | point i|s placed|
|000031f0| 20 50 4f 53 49 54 49 4f | 4e 20 63 68 61 72 61 63 | POSITIO|N charac|
|00003200| 74 65 72 73 20 69 6e 74 | 6f 20 74 68 65 20 73 74 |ters int|o the st|
|00003210| 72 69 6e 67 2e 0a 48 49 | 53 54 4f 52 59 2c 20 69 |ring..HI|STORY, i|
|00003220| 66 20 6e 6f 6e 2d 6e 69 | 6c 2c 20 73 70 65 63 69 |f non-ni|l, speci|
|00003230| 66 69 65 73 20 61 20 68 | 69 73 74 6f 72 79 20 6c |fies a h|istory l|
|00003240| 69 73 74 0a 20 20 61 6e | 64 20 6f 70 74 69 6f 6e |ist. an|d option|
|00003250| 61 6c 6c 79 20 74 68 65 | 20 69 6e 69 74 69 61 6c |ally the| initial|
|00003260| 20 70 6f 73 69 74 69 6f | 6e 20 69 6e 20 74 68 65 | positio|n in the|
|00003270| 20 6c 69 73 74 2e 0a 20 | 20 49 74 20 63 61 6e 20 | list.. | It can |
|00003280| 62 65 20 61 20 73 79 6d | 62 6f 6c 2c 20 77 68 69 |be a sym|bol, whi|
|00003290| 63 68 20 69 73 20 74 68 | 65 20 68 69 73 74 6f 72 |ch is th|e histor|
|000032a0| 79 20 6c 69 73 74 20 76 | 61 72 69 61 62 6c 65 20 |y list v|ariable |
|000032b0| 74 6f 20 75 73 65 2c 0a | 20 20 6f 72 20 69 74 20 |to use,.| or it |
|000032c0| 63 61 6e 20 62 65 20 61 | 20 63 6f 6e 73 20 63 65 |can be a| cons ce|
|000032d0| 6c 6c 20 28 48 49 53 54 | 56 41 52 20 2e 20 48 49 |ll (HIST|VAR . HI|
|000032e0| 53 54 50 4f 53 29 2e 0a | 20 20 49 6e 20 74 68 61 |STPOS)..| In tha|
|000032f0| 74 20 63 61 73 65 2c 20 | 48 49 53 54 56 41 52 20 |t case, |HISTVAR |
|00003300| 69 73 20 74 68 65 20 68 | 69 73 74 6f 72 79 20 6c |is the h|istory l|
|00003310| 69 73 74 20 76 61 72 69 | 61 62 6c 65 20 74 6f 20 |ist vari|able to |
|00003320| 75 73 65 2c 0a 20 20 61 | 6e 64 20 48 49 53 54 50 |use,. a|nd HISTP|
|00003330| 4f 53 20 69 73 20 74 68 | 65 20 69 6e 69 74 69 61 |OS is th|e initia|
|00003340| 6c 20 70 6f 73 69 74 69 | 6f 6e 20 28 74 68 65 20 |l positi|on (the |
|00003350| 70 6f 73 69 74 69 6f 6e | 20 69 6e 20 74 68 65 20 |position| in the |
|00003360| 6c 69 73 74 0a 20 20 77 | 68 69 63 68 20 49 4e 49 |list. w|hich INI|
|00003370| 54 49 41 4c 2d 43 4f 4e | 54 45 4e 54 53 20 63 6f |TIAL-CON|TENTS co|
|00003380| 72 72 65 73 70 6f 6e 64 | 73 20 74 6f 29 2e 0a 20 |rrespond|s to).. |
|00003390| 20 49 66 20 48 49 53 54 | 4f 52 59 20 69 73 20 60 | If HIST|ORY is `|
|000033a0| 74 27 2c 20 6e 6f 20 68 | 69 73 74 6f 72 79 20 77 |t', no h|istory w|
|000033b0| 69 6c 6c 20 62 65 20 72 | 65 63 6f 72 64 65 64 2e |ill be r|ecorded.|
|000033c0| 0a 20 20 50 6f 73 69 74 | 69 6f 6e 73 20 61 72 65 |. Posit|ions are|
|000033d0| 20 63 6f 75 6e 74 65 64 | 20 73 74 61 72 74 69 6e | counted| startin|
|000033e0| 67 20 66 72 6f 6d 20 31 | 20 61 74 20 74 68 65 20 |g from 1| at the |
|000033f0| 62 65 67 69 6e 6e 69 6e | 67 20 6f 66 20 74 68 65 |beginnin|g of the|
|00003400| 20 6c 69 73 74 2e 0a 43 | 6f 6d 70 6c 65 74 69 6f | list..C|ompletio|
|00003410| 6e 20 69 67 6e 6f 72 65 | 73 20 63 61 73 65 20 69 |n ignore|s case i|
|00003420| 66 20 74 68 65 20 61 6d | 62 69 65 6e 74 20 76 61 |f the am|bient va|
|00003430| 6c 75 65 20 6f 66 0a 20 | 20 60 63 6f 6d 70 6c 65 |lue of. | `comple|
|00003440| 74 69 6f 6e 2d 69 67 6e | 6f 72 65 2d 63 61 73 65 |tion-ign|ore-case|
|00003450| 27 20 69 73 20 6e 6f 6e | 2d 6e 69 6c 2e 22 5d 29 |' is non|-nil."])|
|00003460| 0a 28 66 73 65 74 20 27 | 6d 69 6e 69 62 75 66 66 |.(fset '|minibuff|
|00003470| 65 72 2d 63 6f 6d 70 6c | 65 74 65 20 23 5b 6e 69 |er-compl|ete #[ni|
|00003480| 6c 20 22 08 09 3d ac 82 | c2 13 0b 89 1c ab af c5 |l "..=..|........|
|00003490| 0c 21 ab aa c6 0c 21 ab | a5 c7 c6 0c 21 21 ab 9e |.!....!.|....!!..|
|000034a0| 70 1e 08 c9 8e c6 0c 21 | 71 88 ca 64 0c 5c 22 ab |p......!|q..d.\".|
|000034b0| 87 cb 0c 65 5c 22 88 aa | 83 cc 20 88 2a c2 aa a4 |...e\"..|.. .*...|
|000034c0| cd ce 20 21 89 1e 0f d0 | 3d 3f ad 97 0e 0f d1 3d |.. !....|=?.....=|
|000034d0| ab 86 d2 d3 21 88 aa 8a | 0e 0f d4 3d ab 84 d2 d5 |....!...|...=....|
|000034e0| 21 88 d6 29 29 87 22 20 | 5b 6c 61 73 74 2d 63 6f |!..))." |[last-co|
|000034f0| 6d 6d 61 6e 64 20 74 68 | 69 73 2d 63 6f 6d 6d 61 |mmand th|is-comma|
|00003500| 6e 64 20 6e 69 6c 20 6d | 69 6e 69 62 75 66 66 65 |nd nil m|inibuffe|
|00003510| 72 2d 73 63 72 6f 6c 6c | 2d 77 69 6e 64 6f 77 20 |r-scroll|-window |
|00003520| 77 69 6e 64 6f 77 20 77 | 69 6e 64 6f 77 70 20 77 |window w|indowp w|
|00003530| 69 6e 64 6f 77 2d 62 75 | 66 66 65 72 20 62 75 66 |indow-bu|ffer buf|
|00003540| 66 65 72 2d 6e 61 6d 65 | 20 6f 62 75 66 20 28 28 |fer-name| obuf ((|
|00003550| 73 65 74 2d 62 75 66 66 | 65 72 20 6f 62 75 66 29 |set-buff|er obuf)|
|00003560| 29 20 70 6f 73 2d 76 69 | 73 69 62 6c 65 2d 69 6e |) pos-vi|sible-in|
|00003570| 2d 77 69 6e 64 6f 77 2d | 70 20 73 65 74 2d 77 69 |-window-|p set-wi|
|00003580| 6e 64 6f 77 2d 73 74 61 | 72 74 20 73 63 72 6f 6c |ndow-sta|rt scrol|
|00003590| 6c 2d 6f 74 68 65 72 2d | 77 69 6e 64 6f 77 20 6d |l-other-|window m|
|000035a0| 69 6e 69 62 75 66 66 65 | 72 2d 64 6f 2d 63 6f 6d |inibuffe|r-do-com|
|000035b0| 70 6c 65 74 69 6f 6e 20 | 62 75 66 66 65 72 2d 73 |pletion |buffer-s|
|000035c0| 74 72 69 6e 67 20 73 74 | 61 74 75 73 20 6e 6f 6e |tring st|atus non|
|000035d0| 65 20 75 6e 69 71 75 65 | 20 74 65 6d 70 2d 6d 69 |e unique| temp-mi|
|000035e0| 6e 69 62 75 66 66 65 72 | 2d 6d 65 73 73 61 67 65 |nibuffer|-message|
|000035f0| 20 22 20 5b 53 6f 6c 65 | 20 63 6f 6d 70 6c 65 74 | " [Sole| complet|
|00003600| 69 6f 6e 5d 22 20 65 78 | 61 63 74 20 22 20 5b 43 |ion]" ex|act " [C|
|00003610| 6f 6d 70 6c 65 74 65 2c | 20 62 75 74 20 6e 6f 74 |omplete,| but not|
|00003620| 20 75 6e 69 71 75 65 5d | 22 20 74 5d 20 34 20 22 | unique]|" t] 4 "|
|00003630| 5c 0a 43 6f 6d 70 6c 65 | 74 65 20 74 68 65 20 6d |\.Comple|te the m|
|00003640| 69 6e 69 62 75 66 66 65 | 72 20 63 6f 6e 74 65 6e |inibuffe|r conten|
|00003650| 74 73 20 61 73 20 66 61 | 72 20 61 73 20 70 6f 73 |ts as fa|r as pos|
|00003660| 73 69 62 6c 65 2e 0a 52 | 65 74 75 72 6e 20 6e 69 |sible..R|eturn ni|
|00003670| 6c 20 69 66 20 74 68 65 | 72 65 20 69 73 20 6e 6f |l if the|re is no|
|00003680| 20 76 61 6c 69 64 20 63 | 6f 6d 70 6c 65 74 69 6f | valid c|ompletio|
|00003690| 6e 2c 20 65 6c 73 65 20 | 74 2e 0a 49 66 20 6e 6f |n, else |t..If no|
|000036a0| 20 63 68 61 72 61 63 74 | 65 72 73 20 63 61 6e 20 | charact|ers can |
|000036b0| 62 65 20 63 6f 6d 70 6c | 65 74 65 64 2c 20 64 69 |be compl|eted, di|
|000036c0| 73 70 6c 61 79 20 61 20 | 6c 69 73 74 20 6f 66 20 |splay a |list of |
|000036d0| 70 6f 73 73 69 62 6c 65 | 20 63 6f 6d 70 6c 65 74 |possible| complet|
|000036e0| 69 6f 6e 73 2e 0a 49 66 | 20 79 6f 75 20 72 65 70 |ions..If| you rep|
|000036f0| 65 61 74 20 74 68 69 73 | 20 63 6f 6d 6d 61 6e 64 |eat this| command|
|00003700| 20 61 66 74 65 72 20 69 | 74 20 64 69 73 70 6c 61 | after i|t displa|
|00003710| 79 65 64 20 73 75 63 68 | 20 61 20 6c 69 73 74 2c |yed such| a list,|
|00003720| 0a 73 63 72 6f 6c 6c 20 | 74 68 65 20 77 69 6e 64 |.scroll |the wind|
|00003730| 6f 77 20 6f 66 20 70 6f | 73 73 69 62 6c 65 20 63 |ow of po|ssible c|
|00003740| 6f 6d 70 6c 65 74 69 6f | 6e 73 2e 22 20 6e 69 6c |ompletio|ns." nil|
|00003750| 5d 29 0a 28 66 73 65 74 | 20 27 6d 69 6e 69 62 75 |]).(fset| 'minibu|
|00003760| 66 66 65 72 2d 63 6f 6d | 70 6c 65 74 65 2d 61 6e |ffer-com|plete-an|
|00003770| 64 2d 65 78 69 74 20 23 | 5b 6e 69 6c 20 22 65 64 |d-exit #|[nil "ed|
|00003780| 55 ab 85 c0 c1 c2 5c 22 | 88 c3 20 1b c4 0b 21 ab |U.....\"|.. ...!.|
|00003790| 85 c0 c1 c2 5c 22 88 c5 | 0b 21 89 1e 06 c7 3d ac |....\"..|.!....=.|
|000037a0| 9d 0e 06 c8 3d ac 97 0e | 06 c9 3d ac 86 0e 06 ca |....=...|..=.....|
|000037b0| 3d ad 8f 0e 0b ab 87 cc | cd 21 88 c2 aa 84 c0 c1 |=.......|.!......|
|000037c0| c2 5c 22 2a 87 22 20 5b | 74 68 72 6f 77 20 65 78 |.\"*." [|throw ex|
|000037d0| 69 74 20 6e 69 6c 20 62 | 75 66 66 65 72 2d 73 74 |it nil b|uffer-st|
|000037e0| 72 69 6e 67 20 65 78 61 | 63 74 2d 6d 69 6e 69 62 |ring exa|ct-minib|
|000037f0| 75 66 66 65 72 2d 63 6f | 6d 70 6c 65 74 69 6f 6e |uffer-co|mpletion|
|00003800| 2d 70 20 6d 69 6e 69 62 | 75 66 66 65 72 2d 64 6f |-p minib|uffer-do|
|00003810| 2d 63 6f 6d 70 6c 65 74 | 69 6f 6e 20 73 74 61 74 |-complet|ion stat|
|00003820| 75 73 20 75 6e 69 71 75 | 65 20 65 78 61 63 74 20 |us uniqu|e exact |
|00003830| 63 6f 6d 70 6c 65 74 65 | 64 2d 65 78 61 63 74 20 |complete|d-exact |
|00003840| 63 6f 6d 70 6c 65 74 65 | 64 2d 65 78 61 63 74 2d |complete|d-exact-|
|00003850| 75 6e 69 71 75 65 20 6d | 69 6e 69 62 75 66 66 65 |unique m|inibuffe|
|00003860| 72 2d 63 6f 6d 70 6c 65 | 74 69 6f 6e 2d 63 6f 6e |r-comple|tion-con|
|00003870| 66 69 72 6d 20 74 65 6d | 70 2d 6d 69 6e 69 62 75 |firm tem|p-minibu|
|00003880| 66 66 65 72 2d 6d 65 73 | 73 61 67 65 20 22 20 5b |ffer-mes|sage " [|
|00003890| 43 6f 6e 66 69 72 6d 5d | 22 5d 20 34 20 22 5c 0a |Confirm]|"] 4 "\.|
|000038a0| 43 6f 6d 70 6c 65 74 65 | 20 74 68 65 20 6d 69 6e |Complete| the min|
|000038b0| 69 62 75 66 66 65 72 20 | 63 6f 6e 74 65 6e 74 73 |ibuffer |contents|
|000038c0| 2c 20 61 6e 64 20 6d 61 | 79 62 65 20 65 78 69 74 |, and ma|ybe exit|
|000038d0| 2e 0a 45 78 69 74 20 69 | 66 20 74 68 65 20 6e 61 |..Exit i|f the na|
|000038e0| 6d 65 20 69 73 20 76 61 | 6c 69 64 20 77 69 74 68 |me is va|lid with|
|000038f0| 20 6e 6f 20 63 6f 6d 70 | 6c 65 74 69 6f 6e 20 6e | no comp|letion n|
|00003900| 65 65 64 65 64 2e 0a 49 | 66 20 6e 61 6d 65 20 77 |eeded..I|f name w|
|00003910| 61 73 20 63 6f 6d 70 6c | 65 74 65 64 20 74 6f 20 |as compl|eted to |
|00003920| 61 20 76 61 6c 69 64 20 | 6d 61 74 63 68 2c 0a 61 |a valid |match,.a|
|00003930| 20 72 65 70 65 74 69 74 | 69 6f 6e 20 6f 66 20 74 | repetit|ion of t|
|00003940| 68 69 73 20 63 6f 6d 6d | 61 6e 64 20 77 69 6c 6c |his comm|and will|
|00003950| 20 65 78 69 74 2e 22 20 | 6e 69 6c 5d 29 0a 28 66 | exit." |nil]).(f|
|00003960| 73 65 74 20 27 73 65 6c | 66 2d 69 6e 73 65 72 74 |set 'sel|f-insert|
|00003970| 2d 61 6e 64 2d 65 78 69 | 74 20 23 5b 6e 69 6c 20 |-and-exi|t #[nil |
|00003980| 22 c0 c1 21 88 c2 c3 c4 | 5c 22 87 22 20 5b 73 65 |"..!....|\"." [se|
|00003990| 6c 66 2d 69 6e 73 65 72 | 74 2d 63 6f 6d 6d 61 6e |lf-inser|t-comman|
|000039a0| 64 20 31 20 74 68 72 6f | 77 20 65 78 69 74 20 6e |d 1 thro|w exit n|
|000039b0| 69 6c 5d 20 33 20 22 5c | 0a 54 65 72 6d 69 6e 61 |il] 3 "\|.Termina|
|000039c0| 74 65 20 6d 69 6e 69 62 | 75 66 66 65 72 20 69 6e |te minib|uffer in|
|000039d0| 70 75 74 2e 22 20 6e 69 | 6c 5d 29 0a 28 66 73 65 |put." ni|l]).(fse|
|000039e0| 74 20 27 65 78 69 74 2d | 6d 69 6e 69 62 75 66 66 |t 'exit-|minibuff|
|000039f0| 65 72 20 23 5b 6e 69 6c | 20 22 08 ac 85 c1 c2 c3 |er #[nil| "......|
|00003a00| 5c 22 88 c4 20 1c c5 0c | 21 ab 85 c1 c2 c3 5c 22 |\".. ...|!.....\"|
|00003a10| 88 0e 06 ac 83 c7 aa 87 | c8 0c 0e 06 0e 09 23 89 |........|......#.|
|00003a20| 1e 5c 6e c7 3d ac 85 0c | cb 98 ab 85 c1 c2 c3 5c |.\n.=...|.......\|
|00003a30| 22 88 0e 5c 6e ab 86 cc | cd 21 88 aa 84 cc ce 21 |"..\n...|.!.....!|
|00003a40| 88 c7 1e 0f d0 20 c3 16 | 11 29 89 1e 12 0e 13 9a |..... ..|.)......|
|00003a50| ab 87 c1 c2 c3 5c 22 88 | aa 8e d4 20 d5 0e 12 21 |.....\".|... ...!|
|00003a60| 9a ab 85 c1 c2 c7 5c 22 | 88 d6 0e 12 21 2b 87 22 |......\"|....!+."|
|00003a70| 20 5b 6d 69 6e 69 62 75 | 66 66 65 72 2d 63 6f 6e | [minibu|ffer-con|
|00003a80| 66 69 72 6d 2d 69 6e 63 | 6f 6d 70 6c 65 74 65 20 |firm-inc|omplete |
|00003a90| 74 68 72 6f 77 20 65 78 | 69 74 20 6e 69 6c 20 62 |throw ex|it nil b|
|00003aa0| 75 66 66 65 72 2d 73 74 | 72 69 6e 67 20 65 78 61 |uffer-st|ring exa|
|00003ab0| 63 74 2d 6d 69 6e 69 62 | 75 66 66 65 72 2d 63 6f |ct-minib|uffer-co|
|00003ac0| 6d 70 6c 65 74 69 6f 6e | 2d 70 20 6d 69 6e 69 62 |mpletion|-p minib|
|00003ad0| 75 66 66 65 72 2d 63 6f | 6d 70 6c 65 74 69 6f 6e |uffer-co|mpletion|
|00003ae0| 2d 74 61 62 6c 65 20 74 | 20 74 72 79 2d 63 6f 6d |-table t| try-com|
|00003af0| 70 6c 65 74 69 6f 6e 20 | 6d 69 6e 69 62 75 66 66 |pletion |minibuff|
|00003b00| 65 72 2d 63 6f 6d 70 6c | 65 74 69 6f 6e 2d 70 72 |er-compl|etion-pr|
|00003b10| 65 64 69 63 61 74 65 20 | 63 6f 6d 70 6c 65 74 69 |edicate |completi|
|00003b20| 6f 6e 20 22 22 20 74 65 | 6d 70 2d 6d 69 6e 69 62 |on "" te|mp-minib|
|00003b30| 75 66 66 65 72 2d 6d 65 | 73 73 61 67 65 20 22 20 |uffer-me|ssage " |
|00003b40| 5b 69 6e 63 6f 6d 70 6c | 65 74 65 3b 20 63 6f 6e |[incompl|ete; con|
|00003b50| 66 69 72 6d 5d 22 20 22 | 20 5b 6e 6f 20 63 6f 6d |firm]" "| [no com|
|00003b60| 70 6c 65 74 69 6f 6e 73 | 3b 20 63 6f 6e 66 69 72 |pletions|; confir|
|00003b70| 6d 5d 22 20 69 6e 68 69 | 62 69 74 2d 71 75 69 74 |m]" inhi|bit-quit|
|00003b80| 20 6e 65 78 74 2d 63 6f | 6d 6d 61 6e 64 2d 65 76 | next-co|mmand-ev|
|00003b90| 65 6e 74 20 71 75 69 74 | 2d 66 6c 61 67 20 65 76 |ent quit|-flag ev|
|00003ba0| 65 6e 74 20 6c 61 73 74 | 2d 63 6f 6d 6d 61 6e 64 |ent last|-command|
|00003bb0| 2d 65 76 65 6e 74 20 71 | 75 69 74 2d 63 68 61 72 |-event q|uit-char|
|00003bc0| 20 65 76 65 6e 74 2d 74 | 6f 2d 63 68 61 72 61 63 | event-t|o-charac|
|00003bd0| 74 65 72 20 64 69 73 70 | 61 74 63 68 2d 65 76 65 |ter disp|atch-eve|
|00003be0| 6e 74 5d 20 35 20 22 5c | 0a 54 65 72 6d 69 6e 61 |nt] 5 "\|.Termina|
|00003bf0| 74 65 20 74 68 69 73 20 | 6d 69 6e 69 62 75 66 66 |te this |minibuff|
|00003c00| 65 72 20 61 72 67 75 6d | 65 6e 74 2e 0a 49 66 20 |er argum|ent..If |
|00003c10| 6d 69 6e 69 62 75 66 66 | 65 72 2d 63 6f 6e 66 69 |minibuff|er-confi|
|00003c20| 72 6d 2d 69 6e 63 6f 6d | 70 6c 65 74 65 20 69 73 |rm-incom|plete is|
|00003c30| 20 74 72 75 65 2c 20 61 | 6e 64 20 77 65 20 61 72 | true, a|nd we ar|
|00003c40| 65 20 69 6e 20 61 20 63 | 6f 6d 70 6c 65 74 69 6e |e in a c|ompletin|
|00003c50| 67 2d 72 65 61 64 0a 6f | 66 20 73 6f 6d 65 20 6b |g-read.o|f some k|
|00003c60| 69 6e 64 2c 20 61 6e 64 | 20 74 68 65 20 63 6f 6e |ind, and| the con|
|00003c70| 74 65 6e 74 73 20 6f 66 | 20 74 68 65 20 6d 69 6e |tents of| the min|
|00003c80| 69 62 75 66 66 65 72 20 | 69 73 20 6e 6f 74 20 61 |ibuffer |is not a|
|00003c90| 6e 20 65 78 69 73 74 69 | 6e 67 0a 63 6f 6d 70 6c |n existi|ng.compl|
|00003ca0| 65 74 69 6f 6e 2c 20 72 | 65 71 75 69 72 65 73 20 |etion, r|equires |
|00003cb0| 61 6e 20 61 64 64 69 74 | 69 6f 6e 61 6c 20 52 45 |an addit|ional RE|
|00003cc0| 54 20 62 65 66 6f 72 65 | 20 74 68 65 20 6d 69 6e |T before| the min|
|00003cd0| 69 62 75 66 66 65 72 20 | 77 69 6c 6c 20 62 65 20 |ibuffer |will be |
|00003ce0| 65 78 69 74 65 64 0a 28 | 61 73 73 75 6d 69 6e 67 |exited.(|assuming|
|00003cf0| 20 74 68 61 74 20 52 45 | 54 20 77 61 73 20 74 68 | that RE|T was th|
|00003d00| 65 20 63 68 61 72 61 63 | 74 65 72 20 74 68 61 74 |e charac|ter that|
|00003d10| 20 69 6e 76 6f 6b 65 64 | 20 74 68 69 73 20 63 6f | invoked| this co|
|00003d20| 6d 6d 61 6e 64 3a 0a 74 | 68 65 20 63 68 61 72 61 |mmand:.t|he chara|
|00003d30| 63 74 65 72 20 69 6e 20 | 71 75 65 73 74 69 6f 6e |cter in |question|
|00003d40| 20 6d 75 73 74 20 62 65 | 20 74 79 70 65 64 20 61 | must be| typed a|
|00003d50| 67 61 69 6e 29 2e 22 20 | 6e 69 6c 5d 29 0a 28 66 |gain)." |nil]).(f|
|00003d60| 73 65 74 20 27 6d 69 6e | 69 62 75 66 66 65 72 2d |set 'min|ibuffer-|
|00003d70| 63 6f 6d 70 6c 65 74 65 | 2d 77 6f 72 64 20 23 5b |complete|-word #[|
|00003d80| 6e 69 6c 20 22 c0 20 18 | c1 08 5c 6e 0b 23 1c c5 |nil ". .|..\n.#..|
|00003d90| 08 0c 5c 22 89 1e 06 c7 | 3d ab 8d c8 c9 ca 5c 22 |..\"....|=.....\"|
|00003da0| 88 cb cc 21 88 c9 82 bf | 00 0e 06 cd 3d ab 88 cb |...!....|....=...|
|00003db0| ce 21 88 cf 82 bf 00 0e | 06 d0 3d ac 86 0e 06 d1 |.!......|..=.....|
|00003dc0| 3d ab d0 d2 0e 13 1e 14 | 1e 15 0e 14 a8 ab 8f 0e |=.......|........|
|00003dd0| 14 d6 56 ab 89 0e 15 d7 | 0e 14 21 21 ae b2 0e 14 |..V.....|..!!....|
|00003de0| d8 3d ac 86 0e 15 d9 21 | ae a6 0e 14 da 3d ac 86 |.=.....!|.....=..|
|00003df0| 0e 15 db 21 ae 9a 0e 1c | ab 85 dd 20 88 aa 90 0e |...!....|... ....|
|00003e00| 06 d1 3d ab 86 cb de 21 | 88 aa 84 cb df 21 88 c9 |..=....!|.....!..|
|00003e10| 2a aa b4 e0 20 88 0c 63 | 88 65 62 88 08 47 c9 1e |*... ..c|.eb..G..|
|00003e20| 21 89 1e 5c 22 0c 47 57 | ab 99 e3 e4 8d ab 94 65 |!..\".GW|.......e|
|00003e30| 62 88 0e 5c 22 75 88 e5 | e6 c9 cf 23 ab 86 60 64 |b..\"u..|...#..`d|
|00003e40| 7c 88 aa 83 64 62 88 2a | cf 2b 87 22 20 5b 62 75 ||...db.*|.+." [bu|
|00003e50| 66 66 65 72 2d 73 74 72 | 69 6e 67 20 74 72 79 2d |ffer-str|ing try-|
|00003e60| 63 6f 6d 70 6c 65 74 69 | 6f 6e 20 6d 69 6e 69 62 |completi|on minib|
|00003e70| 75 66 66 65 72 2d 63 6f | 6d 70 6c 65 74 69 6f 6e |uffer-co|mpletion|
|00003e80| 2d 74 61 62 6c 65 20 6d | 69 6e 69 62 75 66 66 65 |-table m|inibuffe|
|00003e90| 72 2d 63 6f 6d 70 6c 65 | 74 69 6f 6e 2d 70 72 65 |r-comple|tion-pre|
|00003ea0| 64 69 63 61 74 65 20 63 | 6f 6d 70 6c 65 74 69 6f |dicate c|ompletio|
|00003eb0| 6e 20 6d 69 6e 69 62 75 | 66 66 65 72 2d 64 6f 2d |n minibu|ffer-do-|
|00003ec0| 63 6f 6d 70 6c 65 74 69 | 6f 6e 2d 31 20 73 74 61 |completi|on-1 sta|
|00003ed0| 74 75 73 20 6e 6f 6e 65 | 20 64 69 6e 67 20 6e 69 |tus none| ding ni|
|00003ee0| 6c 20 6e 6f 2d 63 6f 6d | 70 6c 65 74 69 6f 6e 20 |l no-com|pletion |
|00003ef0| 74 65 6d 70 2d 6d 69 6e | 69 62 75 66 66 65 72 2d |temp-min|ibuffer-|
|00003f00| 6d 65 73 73 61 67 65 20 | 22 20 5b 4e 6f 20 6d 61 |message |" [No ma|
|00003f10| 74 63 68 5d 22 20 75 6e | 69 71 75 65 20 22 20 5b |tch]" un|ique " [|
|00003f20| 53 6f 6c 65 20 63 6f 6d | 70 6c 65 74 69 6f 6e 5d |Sole com|pletion]|
|00003f30| 22 20 74 20 75 6e 63 6f | 6d 70 6c 65 74 65 64 20 |" t unco|mpleted |
|00003f40| 65 78 61 63 74 20 23 5b | 28 73 29 20 22 c0 c1 c2 |exact #[|(s) "...|
|00003f50| 8f 87 22 20 5b 6e 69 6c | 20 28 62 79 74 65 2d 63 |.." [nil| (byte-c|
|00003f60| 6f 64 65 20 22 c0 09 5c | 6e 50 0b 0c 23 ad 87 64 |ode "..\|nP..#..d|
|00003f70| 62 88 5c 6e 63 88 c5 87 | 22 20 5b 74 72 79 2d 63 |b.\nc...|" [try-c|
|00003f80| 6f 6d 70 6c 65 74 69 6f | 6e 20 62 75 66 66 65 72 |ompletio|n buffer|
|00003f90| 2d 73 74 72 69 6e 67 20 | 73 20 6d 69 6e 69 62 75 |-string |s minibu|
|00003fa0| 66 66 65 72 2d 63 6f 6d | 70 6c 65 74 69 6f 6e 2d |ffer-com|pletion-|
|00003fb0| 74 61 62 6c 65 20 6d 69 | 6e 69 62 75 66 66 65 72 |table mi|nibuffer|
|00003fc0| 2d 63 6f 6d 70 6c 65 74 | 69 6f 6e 2d 70 72 65 64 |-complet|ion-pred|
|00003fd0| 69 63 61 74 65 20 74 5d | 20 34 29 20 28 28 65 72 |icate t]| 4) ((er|
|00003fe0| 72 6f 72 29 29 5d 20 33 | 5d 20 6c 61 73 74 2d 63 |ror))] 3|] last-c|
|00003ff0| 6f 6d 6d 61 6e 64 2d 63 | 68 61 72 20 63 68 61 72 |ommand-c|har char|
|00004000| 20 66 6f 6f 20 30 20 63 | 68 61 72 2d 74 6f 2d 73 | foo 0 c|har-to-s|
|00004010| 74 72 69 6e 67 20 33 32 | 20 22 20 22 20 34 35 20 |tring 32| " " 45 |
|00004020| 22 2d 22 20 63 6f 6d 70 | 6c 65 74 69 6f 6e 2d 61 |"-" comp|letion-a|
|00004030| 75 74 6f 2d 68 65 6c 70 | 20 6d 69 6e 69 62 75 66 |uto-help| minibuf|
|00004040| 66 65 72 2d 63 6f 6d 70 | 6c 65 74 69 6f 6e 2d 68 |fer-comp|letion-h|
|00004050| 65 6c 70 20 22 20 5b 43 | 6f 6d 70 6c 65 74 65 2c |elp " [C|omplete,|
|00004060| 20 62 75 74 20 6e 6f 74 | 20 75 6e 69 71 75 65 5d | but not| unique]|
|00004070| 22 20 22 20 5b 41 6d 62 | 69 67 75 6f 75 73 5d 22 |" " [Amb|iguous]"|
|00004080| 20 65 72 61 73 65 2d 62 | 75 66 66 65 72 20 6e 20 | erase-b|uffer n |
|00004090| 6c 65 6e 20 6d 61 74 63 | 68 20 28 62 79 74 65 2d |len matc|h (byte-|
|000040a0| 63 6f 64 65 20 22 c0 11 | 09 5c 6e 57 ab 99 c3 0c |code "..|.\nW....|
|000040b0| 09 48 96 0d 09 48 96 5c | 22 ab 86 09 54 89 11 aa |.H...H.\|"...T...|
|000040c0| 6a c6 c7 c8 5c 22 88 aa | 62 c9 87 22 20 5b 30 20 |j...\"..|b.." [0 |
|000040d0| 6e 20 6c 65 6e 20 63 68 | 61 72 2d 65 71 75 61 6c |n len ch|ar-equal|
|000040e0| 20 62 75 66 66 65 72 2d | 73 74 72 69 6e 67 20 63 | buffer-|string c|
|000040f0| 6f 6d 70 6c 65 74 69 6f | 6e 20 74 68 72 6f 77 20 |ompletio|n throw |
|00004100| 6d 61 74 63 68 20 6e 69 | 6c 20 74 5d 20 35 29 20 |match ni|l t] 5) |
|00004110| 72 65 2d 73 65 61 72 63 | 68 2d 66 6f 72 77 61 72 |re-searc|h-forwar|
|00004120| 64 20 22 5c 5c 57 22 5d | 20 35 20 22 5c 0a 43 6f |d "\\W"]| 5 "\.Co|
|00004130| 6d 70 6c 65 74 65 20 74 | 68 65 20 6d 69 6e 69 62 |mplete t|he minib|
|00004140| 75 66 66 65 72 20 63 6f | 6e 74 65 6e 74 73 20 61 |uffer co|ntents a|
|00004150| 74 20 6d 6f 73 74 20 61 | 20 73 69 6e 67 6c 65 20 |t most a| single |
|00004160| 77 6f 72 64 2e 0a 41 66 | 74 65 72 20 6f 6e 65 20 |word..Af|ter one |
|00004170| 77 6f 72 64 20 69 73 20 | 63 6f 6d 70 6c 65 74 65 |word is |complete|
|00004180| 64 20 61 73 20 6d 75 63 | 68 20 61 73 20 70 6f 73 |d as muc|h as pos|
|00004190| 73 69 62 6c 65 2c 20 61 | 20 73 70 61 63 65 20 6f |sible, a| space o|
|000041a0| 72 20 68 79 70 68 65 6e | 0a 69 73 20 61 64 64 65 |r hyphen|.is adde|
|000041b0| 64 2c 20 70 72 6f 76 69 | 64 65 64 20 74 68 61 74 |d, provi|ded that|
|000041c0| 20 6d 61 74 63 68 65 73 | 20 73 6f 6d 65 20 70 6f | matches| some po|
|000041d0| 73 73 69 62 6c 65 20 63 | 6f 6d 70 6c 65 74 69 6f |ssible c|ompletio|
|000041e0| 6e 2e 0a 52 65 74 75 72 | 6e 20 6e 69 6c 20 69 66 |n..Retur|n nil if|
|000041f0| 20 74 68 65 72 65 20 69 | 73 20 6e 6f 20 76 61 6c | there i|s no val|
|00004200| 69 64 20 63 6f 6d 70 6c | 65 74 69 6f 6e 2c 20 65 |id compl|etion, e|
|00004210| 6c 73 65 20 74 2e 22 20 | 6e 69 6c 5d 29 0a 28 64 |lse t." |nil]).(d|
|00004220| 65 66 76 61 72 20 63 6f | 6d 70 6c 65 74 69 6f 6e |efvar co|mpletion|
|00004230| 2d 68 69 67 68 6c 69 67 | 68 74 2d 66 69 72 73 74 |-highlig|ht-first|
|00004240| 2d 77 6f 72 64 2d 6f 6e | 6c 79 20 6e 69 6c 20 22 |-word-on|ly nil "|
|00004250| 5c 0a 2a 43 6f 6d 70 6c | 65 74 69 6f 6e 20 77 69 |\.*Compl|etion wi|
|00004260| 6c 6c 20 6f 6e 6c 79 20 | 68 69 67 68 74 6c 69 67 |ll only |hightlig|
|00004270| 68 74 20 74 68 65 20 66 | 69 72 73 74 20 62 6c 61 |ht the f|irst bla|
|00004280| 6e 6b 20 64 65 6c 69 6d | 69 74 65 64 20 77 6f 72 |nk delim|ited wor|
|00004290| 64 20 69 66 20 74 2e 0a | 49 66 20 74 68 65 20 76 |d if t..|If the v|
|000042a0| 61 72 69 61 62 6c 65 20 | 69 6e 20 6e 6f 74 20 74 |ariable |in not t|
|000042b0| 20 6f 72 20 6e 69 6c 2c | 20 74 68 65 20 73 74 72 | or nil,| the str|
|000042c0| 69 6e 67 20 69 73 20 74 | 61 6b 65 6e 20 61 73 20 |ing is t|aken as |
|000042d0| 61 20 72 65 67 65 78 70 | 20 74 6f 20 6d 61 74 63 |a regexp| to matc|
|000042e0| 68 20 66 6f 72 20 65 6e | 64 0a 6f 66 20 68 69 67 |h for en|d.of hig|
|000042f0| 68 6c 69 67 68 74 22 29 | 0a 28 62 79 74 65 2d 63 |hlight")|.(byte-c|
|00004300| 6f 64 65 20 22 c0 20 11 | c2 09 c3 c4 23 88 c5 c6 |ode ". .|....#...|
|00004310| 4d 88 c4 c7 4d 87 22 20 | 5b 6d 61 6b 65 2d 73 70 |M...M." |[make-sp|
|00004320| 61 72 73 65 2d 6b 65 79 | 6d 61 70 20 64 69 73 70 |arse-key|map disp|
|00004330| 6c 61 79 2d 63 6f 6d 70 | 6c 65 74 69 6f 6e 2d 6c |lay-comp|letion-l|
|00004340| 69 73 74 2d 6b 65 79 6d | 61 70 20 64 65 66 69 6e |ist-keym|ap defin|
|00004350| 65 2d 6b 65 79 20 62 75 | 74 74 6f 6e 32 20 64 69 |e-key bu|tton2 di|
|00004360| 73 70 6c 61 79 2d 63 6f | 6d 70 6c 65 74 69 6f 6e |splay-co|mpletion|
|00004370| 2d 6c 69 73 74 2d 63 6c | 69 63 6b 65 64 2d 6f 6e |-list-cl|icked-on|
|00004380| 20 63 6f 6d 70 6c 65 74 | 69 6f 6e 2d 69 6e 73 65 | complet|ion-inse|
|00004390| 72 74 2d 61 74 2d 70 6f | 69 6e 74 20 23 5b 28 65 |rt-at-po|int #[(e|
|000043a0| 78 74 65 6e 74 20 62 75 | 66 66 65 72 29 20 22 c0 |xtent bu|ffer) ".|
|000043b0| 09 21 ac 82 70 11 70 1a | c3 8e 09 71 88 c4 0d 21 |.!..p.p.|...q...!|
|000043c0| 63 2a 87 22 20 5b 62 75 | 66 66 65 72 70 20 62 75 |c*." [bu|fferp bu|
|000043d0| 66 66 65 72 20 5f 63 75 | 72 5f 62 75 66 5f 20 28 |ffer _cu|r_buf_ (|
|000043e0| 28 73 65 74 2d 62 75 66 | 66 65 72 20 5f 63 75 72 |(set-buf|fer _cur|
|000043f0| 5f 62 75 66 5f 29 29 20 | 65 78 74 65 6e 74 2d 73 |_buf_)) |extent-s|
|00004400| 74 72 69 6e 67 20 65 78 | 74 65 6e 74 5d 20 32 5d |tring ex|tent] 2]|
|00004410| 20 23 5b 28 65 76 65 6e | 74 29 20 22 c0 c1 5c 6e | #[(even|t) "..\n|
|00004420| 21 c3 5c 6e 21 c4 23 1d | c6 0d c7 5c 22 1e 08 c6 |!.\n!.#.|...\"...|
|00004430| 0d c9 5c 22 1e 5c 6e 0e | 08 ad 86 0e 08 0d 0e 5c |..\".\n.|.......\|
|00004440| 6e 5c 22 2b 87 22 20 5b | 65 78 74 65 6e 74 2d 61 |n\"+." [|extent-a|
|00004450| 74 20 65 76 65 6e 74 2d | 63 6c 6f 73 65 73 74 2d |t event-|closest-|
|00004460| 70 6f 69 6e 74 20 65 76 | 65 6e 74 20 65 76 65 6e |point ev|ent even|
|00004470| 74 2d 62 75 66 66 65 72 | 20 63 6f 6d 70 6c 65 74 |t-buffer| complet|
|00004480| 69 6f 6e 20 65 78 74 65 | 6e 74 20 65 78 74 65 6e |ion exte|nt exten|
|00004490| 74 2d 70 72 6f 70 65 72 | 74 79 20 63 6f 6d 70 6c |t-proper|ty compl|
|000044a0| 65 74 69 6f 6e 2d 61 63 | 74 69 76 61 74 65 2d 63 |etion-ac|tivate-c|
|000044b0| 61 6c 6c 62 61 63 6b 20 | 66 75 6e 63 20 63 6f 6d |allback |func com|
|000044c0| 70 6c 65 74 69 6f 6e 2d | 75 73 65 72 2d 64 61 74 |pletion-|user-dat|
|000044d0| 61 20 75 73 65 72 2d 64 | 61 74 61 5d 20 34 20 6e |a user-d|ata] 4 n|
|000044e0| 69 6c 20 22 65 22 5d 5d | 20 34 29 0a 28 66 73 65 |il "e"]]| 4).(fse|
|000044f0| 74 20 27 64 69 73 70 6c | 61 79 2d 63 6f 6d 70 6c |t 'displ|ay-compl|
|00004500| 65 74 69 6f 6e 2d 6c 69 | 73 74 20 23 5b 28 63 6f |etion-li|st #[(co|
|00004510| 6d 70 6c 65 74 69 6f 6e | 73 20 26 6f 70 74 69 6f |mpletion|s &optio|
|00004520| 6e 61 6c 20 61 63 74 69 | 76 61 74 65 2d 63 61 6c |nal acti|vate-cal|
|00004530| 6c 62 61 63 6b 20 75 73 | 65 72 2d 64 61 74 61 29 |lback us|er-data)|
|00004540| 20 22 70 c0 09 21 18 1a | 08 ab 83 09 71 88 0b ac | "p..!..|....q...|
|00004550| 89 c4 c5 c6 21 21 88 82 | bd 01 08 ab 86 c7 c8 20 |....!!..|....... |
|00004560| 21 aa 81 c9 1e 5c 6e cb | 89 1e 0c 1e 0d 0b 1e 0e |!....\n.|........|
|00004570| 0e 0e ab cc 0e 0e 40 89 | 1e 0f 3b ab 85 0e 0f 47 |......@.|..;....G|
|00004580| aa a5 0e 0f 3a ab 99 0e | 0f 40 3b ab 93 0e 0f 41 |....:...|.@;....A|
|00004590| 40 3b ab 8c 0e 0f 40 47 | 0e 0f 41 40 47 5c 5c aa |@;....@G|..A@G\\.|
|000045a0| 87 d0 d1 d2 0e 0f 44 5c | 22 89 1e 13 0e 0c 56 ab |......D\|".....V.|
|000045b0| 84 0e 13 16 0c 0e 0d 54 | 16 0d 0e 0e 41 16 0e 2a |.......T|....A..*|
|000045c0| aa 30 29 0e 0c d4 5c 5c | 16 0c 0e 5c 6e 0e 0c a5 |.0)...\\|...\n...|
|000045d0| 0e 0d 5e 89 1e 15 d6 58 | ab 84 0e 0d aa 9d 0e 5c |..^....X|.......\|
|000045e0| 6e 0e 15 a5 16 0c 0e 0d | 0e 15 a6 cb 55 ac 88 0e |n.......|....U...|
|000045f0| 0d 0e 15 a5 54 aa 85 0e | 0d 0e 15 a5 29 1e 17 c4 |....T...|....)...|
|00004600| c5 d8 21 21 88 0b cb 0e | 19 da 3d ab 83 db aa 82 |..!!....|..=.....|
|00004610| 0e 19 1e 1c 1e 1d 1e 0e | 0e 1d 0e 17 57 83 bb 01 |........|....W...|
|00004620| de 20 88 cb 89 0e 0e 1e | 1f 1e 20 1e 21 0e 1f 83 |. ......|.. .!...|
|00004630| ad 01 0e 1f 40 1e 0f 0e | 21 cb 55 ac 9a 08 ab 88 |....@...|!.U.....|
|00004640| e2 0e 21 d4 5c 22 88 aa | 8f e3 e4 21 88 0e 20 54 |..!.\"..|...!.. T|
|00004650| 89 16 20 0e 21 57 ac 71 | 0e 21 0e 0c 5c 5c 16 21 |.. .!W.q|.!..\\.!|
|00004660| 60 e5 1e 26 1e 27 0e 0f | 3a ab a1 c4 0e 0f 40 21 |`..&.'..|:.....@!|
|00004670| 88 c4 0e 0f 41 40 21 88 | 08 ac a1 0e 20 0e 0f 40 |....A@!.|.... ..@|
|00004680| 47 0e 0f 41 40 47 5c 5c | 5c 5c 16 20 aa 90 c4 0e |G..A@G\\|\\. ....|
|00004690| 0f 21 88 08 ac 88 0e 20 | 0e 0f 47 5c 5c 16 20 e8 |.!..... |..G\\. .|
|000046a0| 0e 27 60 16 26 0e 19 ab | 92 0e 27 62 ab 8d e9 0e |.'`.&...|..'b....|
|000046b0| 1c 0e 26 da 23 ab 84 cb | 94 ae 82 0e 26 5c 22 1e |..&.#...|....&\".|
|000046c0| 2a 0e 26 62 88 eb 0e 2a | ec da 23 88 eb 0e 2a ed |*.&b...*|..#...*.|
|000046d0| da 23 88 0e 2e ab 98 eb | 0e 2a ef 0e 2e 23 88 eb |.#......|.*...#..|
|000046e0| 0e 2a f0 0e 31 23 88 eb | 0e 2a f2 0e 33 23 88 2c |.*..1#..|.*..3#.,|
|000046f0| 0e 17 0e 1f 9b 89 16 1f | 84 ea 00 0e 0e 41 16 0e |........|.....A..|
|00004700| 0e 1d 54 16 1d 2b 82 d0 | 00 2e 07 08 ab 83 5c 6e |..T..+..|......\n|
|00004710| 71 88 2a f4 f5 21 87 22 | 20 5b 62 75 66 66 65 72 |q.*..!."| [buffer|
|00004720| 70 20 73 74 61 6e 64 61 | 72 64 2d 6f 75 74 70 75 |p standa|rd-outpu|
|00004730| 74 20 6f 6c 64 2d 62 75 | 66 66 65 72 20 63 6f 6d |t old-bu|ffer com|
|00004740| 70 6c 65 74 69 6f 6e 73 | 20 70 72 69 6e 63 20 67 |pletions| princ g|
|00004750| 65 74 74 65 78 74 20 22 | 54 68 65 72 65 20 61 72 |ettext "|There ar|
|00004760| 65 20 6e 6f 20 70 6f 73 | 73 69 62 6c 65 20 63 6f |e no pos|sible co|
|00004770| 6d 70 6c 65 74 69 6f 6e | 73 20 6f 66 20 77 68 61 |mpletion|s of wha|
|00004780| 74 20 79 6f 75 20 68 61 | 76 65 20 74 79 70 65 64 |t you ha|ve typed|
|00004790| 2e 22 20 66 72 61 6d 65 | 2d 77 69 64 74 68 20 73 |." frame|-width s|
|000047a0| 65 6c 65 63 74 65 64 2d | 66 72 61 6d 65 20 38 30 |elected-|frame 80|
|000047b0| 20 77 69 6e 2d 77 69 64 | 74 68 20 30 20 6d 61 78 | win-wid|th 0 max|
|000047c0| 2d 77 69 64 74 68 20 63 | 6f 75 6e 74 20 74 61 69 |-width c|ount tai|
|000047d0| 6c 20 65 6c 74 20 73 69 | 67 6e 61 6c 20 77 72 6f |l elt si|gnal wro|
|000047e0| 6e 67 2d 74 79 70 65 2d | 61 72 67 75 6d 65 6e 74 |ng-type-|argument|
|000047f0| 20 73 74 72 69 6e 67 70 | 20 6c 65 6e 20 32 20 63 | stringp| len 2 c|
|00004800| 6f 6c 73 20 31 20 72 6f | 77 73 20 22 50 6f 73 73 |ols 1 ro|ws "Poss|
|00004810| 69 62 6c 65 20 63 6f 6d | 70 6c 65 74 69 6f 6e 73 |ible com|pletions|
|00004820| 20 61 72 65 3a 22 20 63 | 6f 6d 70 6c 65 74 69 6f | are:" c|ompletio|
|00004830| 6e 2d 68 69 67 68 6c 69 | 67 68 74 2d 66 69 72 73 |n-highli|ght-firs|
|00004840| 74 2d 77 6f 72 64 2d 6f | 6e 6c 79 20 74 20 22 5b |t-word-o|nly t "[|
|00004850| 20 09 5d 22 20 72 65 67 | 65 78 70 2d 73 74 72 69 | .]" reg|exp-stri|
|00004860| 6e 67 20 72 20 74 65 72 | 70 72 69 20 74 61 69 6c |ng r ter|pri tail|
|00004870| 32 20 63 6f 6c 75 6d 6e | 20 69 6e 64 65 6e 74 20 |2 column| indent |
|00004880| 69 6e 64 65 6e 74 2d 74 | 6f 20 77 72 69 74 65 2d |indent-t|o write-|
|00004890| 63 68 61 72 20 33 32 20 | 6e 69 6c 20 65 6e 64 20 |char 32 |nil end |
|000048a0| 73 74 61 72 74 20 6d 61 | 6b 65 2d 65 78 74 65 6e |start ma|ke-exten|
|000048b0| 74 20 72 65 2d 73 65 61 | 72 63 68 2d 66 6f 72 77 |t re-sea|rch-forw|
|000048c0| 61 72 64 20 65 78 74 65 | 6e 74 20 73 65 74 2d 65 |ard exte|nt set-e|
|000048d0| 78 74 65 6e 74 2d 70 72 | 6f 70 65 72 74 79 20 68 |xtent-pr|operty h|
|000048e0| 69 67 68 6c 69 67 68 74 | 20 63 6f 6d 70 6c 65 74 |ighlight| complet|
|000048f0| 69 6f 6e 20 61 63 74 69 | 76 61 74 65 2d 63 61 6c |ion acti|vate-cal|
|00004900| 6c 62 61 63 6b 20 63 6f | 6d 70 6c 65 74 69 6f 6e |lback co|mpletion|
|00004910| 2d 61 63 74 69 76 61 74 | 65 2d 63 61 6c 6c 62 61 |-activat|e-callba|
|00004920| 63 6b 20 63 6f 6d 70 6c | 65 74 69 6f 6e 2d 75 73 |ck compl|etion-us|
|00004930| 65 72 2d 64 61 74 61 20 | 75 73 65 72 2d 64 61 74 |er-data |user-dat|
|00004940| 61 20 6b 65 79 6d 61 70 | 20 64 69 73 70 6c 61 79 |a keymap| display|
|00004950| 2d 63 6f 6d 70 6c 65 74 | 69 6f 6e 2d 6c 69 73 74 |-complet|ion-list|
|00004960| 2d 6b 65 79 6d 61 70 20 | 72 75 6e 2d 68 6f 6f 6b |-keymap |run-hook|
|00004970| 73 20 63 6f 6d 70 6c 65 | 74 69 6f 6e 2d 73 65 74 |s comple|tion-set|
|00004980| 75 70 2d 68 6f 6f 6b 5d | 20 37 20 22 5c 0a 44 69 |up-hook]| 7 "\.Di|
|00004990| 73 70 6c 61 79 20 74 68 | 65 20 6c 69 73 74 20 6f |splay th|e list o|
|000049a0| 66 20 63 6f 6d 70 6c 65 | 74 69 6f 6e 73 2c 20 43 |f comple|tions, C|
|000049b0| 4f 4d 50 4c 45 54 49 4f | 4e 53 2c 20 75 73 69 6e |OMPLETIO|NS, usin|
|000049c0| 67 20 60 73 74 61 6e 64 | 61 72 64 2d 6f 75 74 70 |g `stand|ard-outp|
|000049d0| 75 74 27 2e 0a 45 61 63 | 68 20 65 6c 65 6d 65 6e |ut'..Eac|h elemen|
|000049e0| 74 20 6d 61 79 20 62 65 | 20 6a 75 73 74 20 61 20 |t may be| just a |
|000049f0| 73 79 6d 62 6f 6c 20 6f | 72 20 73 74 72 69 6e 67 |symbol o|r string|
|00004a00| 20 6f 72 20 6d 61 79 20 | 62 65 20 61 20 6c 69 73 | or may |be a lis|
|00004a10| 74 20 6f 66 20 74 77 6f | 0a 20 73 74 72 69 6e 67 |t of two|. string|
|00004a20| 73 20 74 6f 20 62 65 20 | 70 72 69 6e 74 65 64 20 |s to be |printed |
|00004a30| 61 73 20 69 66 20 63 6f | 6e 63 61 74 65 6e 61 74 |as if co|ncatenat|
|00004a40| 65 64 2e 0a 46 72 6f 62 | 20 61 20 6d 6f 75 73 61 |ed..Frob| a mousa|
|00004a50| 62 6c 65 20 65 78 74 65 | 6e 74 20 6f 6e 74 6f 20 |ble exte|nt onto |
|00004a60| 65 61 63 68 20 63 6f 6d | 70 6c 65 74 69 6f 6e 2e |each com|pletion.|
|00004a70| 20 20 54 68 69 73 20 65 | 78 74 65 6e 74 20 68 61 | This e|xtent ha|
|00004a80| 73 20 70 72 6f 70 65 72 | 74 69 65 73 0a 20 27 68 |s proper|ties. 'h|
|00004a90| 69 67 68 6c 69 67 68 74 | 20 28 73 6f 20 69 74 20 |ighlight| (so it |
|00004aa0| 68 69 67 68 6c 69 67 68 | 74 73 20 77 68 65 6e 20 |highligh|ts when |
|00004ab0| 74 68 65 20 6d 6f 75 73 | 65 20 70 61 73 73 65 73 |the mous|e passes|
|00004ac0| 20 6f 76 65 72 20 69 74 | 29 20 61 6e 64 0a 20 27 | over it|) and. '|
|00004ad0| 63 6f 6d 70 6c 65 74 69 | 6f 6e 20 28 73 6f 20 69 |completi|on (so i|
|00004ae0| 74 20 63 61 6e 20 62 65 | 20 6c 6f 63 61 74 65 64 |t can be| located|
|00004af0| 29 2e 20 20 49 66 20 41 | 43 54 49 56 41 54 45 2d |). If A|CTIVATE-|
|00004b00| 43 41 4c 4c 42 41 43 4b | 20 69 73 20 6e 6f 6e 2d |CALLBACK| is non-|
|00004b10| 6e 69 6c 2c 0a 20 69 74 | 20 73 68 6f 75 6c 64 20 |nil,. it| should |
|00004b20| 62 65 20 61 20 66 75 6e | 63 74 69 6f 6e 20 6f 66 |be a fun|ction of|
|00004b30| 20 74 77 6f 20 61 72 67 | 75 6d 65 6e 74 73 20 28 | two arg|uments (|
|00004b40| 45 58 54 45 4e 54 20 55 | 53 45 52 2d 44 41 54 41 |EXTENT U|SER-DATA|
|00004b50| 29 20 74 68 61 74 20 77 | 69 6c 6c 0a 20 62 65 20 |) that w|ill. be |
|00004b60| 63 61 6c 6c 65 64 20 77 | 68 65 6e 20 62 75 74 74 |called w|hen butt|
|00004b70| 6f 6e 32 20 69 73 20 70 | 72 65 73 73 65 64 20 6f |on2 is p|ressed o|
|00004b80| 6e 20 74 68 65 20 65 78 | 74 65 6e 74 2e 20 28 54 |n the ex|tent. (T|
|00004b90| 68 69 73 20 69 73 20 73 | 65 74 20 75 70 0a 20 75 |his is s|et up. u|
|00004ba0| 73 69 6e 67 20 61 6e 20 | 65 78 74 65 6e 74 2d 6c |sing an |extent-l|
|00004bb0| 6f 63 61 6c 20 6b 65 79 | 6d 61 70 3b 20 74 68 65 |ocal key|map; the|
|00004bc0| 72 65 66 6f 72 65 2c 20 | 62 75 74 74 6f 6e 32 20 |refore, |button2 |
|00004bd0| 77 69 6c 6c 20 68 61 76 | 65 20 69 74 73 20 6e 6f |will hav|e its no|
|00004be0| 72 6d 61 6c 0a 20 62 69 | 6e 64 69 6e 67 20 69 66 |rmal. bi|nding if|
|00004bf0| 20 63 6c 69 63 6b 65 64 | 20 6f 75 74 73 69 64 65 | clicked| outside|
|00004c00| 20 6f 66 20 74 68 65 20 | 65 78 74 65 6e 74 2e 29 | of the |extent.)|
|00004c10| 0a 41 74 20 74 68 65 20 | 65 6e 64 2c 20 72 75 6e |.At the |end, run|
|00004c20| 20 74 68 65 20 6e 6f 72 | 6d 61 6c 20 68 6f 6f 6b | the nor|mal hook|
|00004c30| 20 60 63 6f 6d 70 6c 65 | 74 69 6f 6e 2d 73 65 74 | `comple|tion-set|
|00004c40| 75 70 2d 68 6f 6f 6b 27 | 2e 0a 49 74 20 63 61 6e |up-hook'|..It can|
|00004c50| 20 66 69 6e 64 20 74 68 | 65 20 63 6f 6d 70 6c 65 | find th|e comple|
|00004c60| 74 69 6f 6e 20 62 75 66 | 66 65 72 20 69 6e 20 60 |tion buf|fer in `|
|00004c70| 73 74 61 6e 64 61 72 64 | 2d 6f 75 74 70 75 74 27 |standard|-output'|
|00004c80| 2e 0a 49 66 20 60 63 6f | 6d 70 6c 65 74 69 6f 6e |..If `co|mpletion|
|00004c90| 2d 68 69 67 68 6c 69 67 | 68 74 2d 66 69 72 73 74 |-highlig|ht-first|
|00004ca0| 2d 77 6f 72 64 2d 6f 6e | 6c 79 27 20 69 73 20 6e |-word-on|ly' is n|
|00004cb0| 6f 6e 2d 6e 69 6c 2c 20 | 74 68 65 6e 20 6f 6e 6c |on-nil, |then onl|
|00004cc0| 79 20 74 68 65 20 73 74 | 61 72 74 0a 20 6f 66 20 |y the st|art. of |
|00004cd0| 74 68 65 20 73 74 72 69 | 6e 67 20 69 73 20 68 69 |the stri|ng is hi|
|00004ce0| 67 68 6c 69 67 68 74 65 | 64 2e 22 5d 29 0a 28 66 |ghlighte|d."]).(f|
|00004cf0| 73 65 74 20 27 6d 69 6e | 69 62 75 66 66 65 72 2d |set 'min|ibuffer-|
|00004d00| 63 6f 6d 70 6c 65 74 69 | 6f 6e 2d 68 65 6c 70 20 |completi|on-help |
|00004d10| 23 5b 6e 69 6c 20 22 c0 | c1 21 88 c2 c3 20 0c 0d |#[nil ".|.!... ..|
|00004d20| 23 1e 06 c0 c7 21 88 0e | 06 ac 8a c8 c7 c9 5c 22 |#....!..|......\"|
|00004d30| 88 ca cb 21 aa 8a cc 90 | cd ce 0e 06 cf 5c 22 21 |...!....|.....\"!|
|00004d40| 91 29 87 22 20 5b 6d 65 | 73 73 61 67 65 20 22 4d |.)." [me|ssage "M|
|00004d50| 61 6b 69 6e 67 20 63 6f | 6d 70 6c 65 74 69 6f 6e |aking co|mpletion|
|00004d60| 20 6c 69 73 74 2e 2e 2e | 22 20 61 6c 6c 2d 63 6f | list...|" all-co|
|00004d70| 6d 70 6c 65 74 69 6f 6e | 73 20 62 75 66 66 65 72 |mpletion|s buffer|
|00004d80| 2d 73 74 72 69 6e 67 20 | 6d 69 6e 69 62 75 66 66 |-string |minibuff|
|00004d90| 65 72 2d 63 6f 6d 70 6c | 65 74 69 6f 6e 2d 74 61 |er-compl|etion-ta|
|00004da0| 62 6c 65 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 63 |ble mini|buffer-c|
|00004db0| 6f 6d 70 6c 65 74 69 6f | 6e 2d 70 72 65 64 69 63 |ompletio|n-predic|
|00004dc0| 61 74 65 20 63 6f 6d 70 | 6c 65 74 69 6f 6e 73 20 |ate comp|letions |
|00004dd0| 6e 69 6c 20 64 69 6e 67 | 20 6e 6f 2d 63 6f 6d 70 |nil ding| no-comp|
|00004de0| 6c 65 74 69 6f 6e 20 74 | 65 6d 70 2d 6d 69 6e 69 |letion t|emp-mini|
|00004df0| 62 75 66 66 65 72 2d 6d | 65 73 73 61 67 65 20 22 |buffer-m|essage "|
|00004e00| 20 5b 4e 6f 20 63 6f 6d | 70 6c 65 74 69 6f 6e 73 | [No com|pletions|
|00004e10| 5d 22 20 22 2a 43 6f 6d | 70 6c 65 74 69 6f 6e 73 |]" "*Com|pletions|
|00004e20| 2a 22 20 64 69 73 70 6c | 61 79 2d 63 6f 6d 70 6c |*" displ|ay-compl|
|00004e30| 65 74 69 6f 6e 2d 6c 69 | 73 74 20 73 6f 72 74 20 |etion-li|st sort |
|00004e40| 73 74 72 69 6e 67 2d 6c | 65 73 73 70 5d 20 35 20 |string-l|essp] 5 |
|00004e50| 22 5c 0a 44 69 73 70 6c | 61 79 20 61 20 6c 69 73 |"\.Displ|ay a lis|
|00004e60| 74 20 6f 66 20 70 6f 73 | 73 69 62 6c 65 20 63 6f |t of pos|sible co|
|00004e70| 6d 70 6c 65 74 69 6f 6e | 73 20 6f 66 20 74 68 65 |mpletion|s of the|
|00004e80| 20 63 75 72 72 65 6e 74 | 20 6d 69 6e 69 62 75 66 | current| minibuf|
|00004e90| 66 65 72 20 63 6f 6e 74 | 65 6e 74 73 2e 22 20 6e |fer cont|ents." n|
|00004ea0| 69 6c 5d 29 0a 28 64 65 | 66 76 61 72 20 6d 69 6e |il]).(de|fvar min|
|00004eb0| 69 62 75 66 66 65 72 2d | 68 69 73 74 6f 72 79 20 |ibuffer-|history |
|00004ec0| 6e 69 6c 20 22 5c 0a 44 | 65 66 61 75 6c 74 20 6d |nil "\.D|efault m|
|00004ed0| 69 6e 69 62 75 66 66 65 | 72 20 68 69 73 74 6f 72 |inibuffe|r histor|
|00004ee0| 79 20 6c 69 73 74 2e 0a | 54 68 69 73 20 69 73 20 |y list..|This is |
|00004ef0| 75 73 65 64 20 66 6f 72 | 20 61 6c 6c 20 6d 69 6e |used for| all min|
|00004f00| 69 62 75 66 66 65 72 20 | 69 6e 70 75 74 20 65 78 |ibuffer |input ex|
|00004f10| 63 65 70 74 20 77 68 65 | 6e 20 61 6e 20 61 6c 74 |cept whe|n an alt|
|00004f20| 65 72 6e 61 74 65 20 68 | 69 73 74 6f 72 79 0a 6c |ernate h|istory.l|
|00004f30| 69 73 74 20 69 73 20 73 | 70 65 63 69 66 69 65 64 |ist is s|pecified|
|00004f40| 2e 22 29 0a 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |.").(byt|e-code "|
|00004f50| c0 c1 21 ac 82 c2 11 c0 | c3 21 ac 82 c2 13 c0 c4 |..!.....|.!......|
|00004f60| 21 ac 82 c2 14 c0 c5 21 | ac 82 c2 15 c0 c6 21 ac |!......!|......!.|
|00004f70| 83 c2 16 06 c0 c7 21 ac | 83 c2 16 07 c0 c8 21 ac |......!.|......!.|
|00004f80| 83 c2 16 08 c2 87 22 20 | 5b 62 6f 75 6e 64 70 20 |......" |[boundp |
|00004f90| 6d 69 6e 69 62 75 66 66 | 65 72 2d 68 69 73 74 6f |minibuff|er-histo|
|00004fa0| 72 79 2d 73 65 61 72 63 | 68 2d 68 69 73 74 6f 72 |ry-searc|h-histor|
|00004fb0| 79 20 6e 69 6c 20 66 75 | 6e 63 74 69 6f 6e 2d 68 |y nil fu|nction-h|
|00004fc0| 69 73 74 6f 72 79 20 76 | 61 72 69 61 62 6c 65 2d |istory v|ariable-|
|00004fd0| 68 69 73 74 6f 72 79 20 | 62 75 66 66 65 72 2d 68 |history |buffer-h|
|00004fe0| 69 73 74 6f 72 79 20 73 | 68 65 6c 6c 2d 63 6f 6d |istory s|hell-com|
|00004ff0| 6d 61 6e 64 2d 68 69 73 | 74 6f 72 79 20 66 69 6c |mand-his|tory fil|
|00005000| 65 2d 6e 61 6d 65 2d 68 | 69 73 74 6f 72 79 20 72 |e-name-h|istory r|
|00005010| 65 61 64 2d 65 78 70 72 | 65 73 73 69 6f 6e 2d 68 |ead-expr|ession-h|
|00005020| 69 73 74 6f 72 79 5d 20 | 32 29 0a 28 64 65 66 76 |istory] |2).(defv|
|00005030| 61 72 20 6d 69 6e 69 62 | 75 66 66 65 72 2d 68 69 |ar minib|uffer-hi|
|00005040| 73 74 6f 72 79 2d 73 65 | 78 70 2d 66 6c 61 67 20 |story-se|xp-flag |
|00005050| 6e 69 6c 20 22 5c 0a 4e | 6f 6e 2d 6e 69 6c 20 77 |nil "\.N|on-nil w|
|00005060| 68 65 6e 20 64 6f 69 6e | 67 20 68 69 73 74 6f 72 |hen doin|g histor|
|00005070| 79 20 6f 70 65 72 61 74 | 69 6f 6e 73 20 6f 6e 20 |y operat|ions on |
|00005080| 60 63 6f 6d 6d 61 6e 64 | 2d 68 69 73 74 6f 72 79 |`command|-history|
|00005090| 27 2e 0a 4d 6f 72 65 20 | 67 65 6e 65 72 61 6c 6c |'..More |generall|
|000050a0| 79 2c 20 69 6e 64 69 63 | 61 74 65 73 20 74 68 61 |y, indic|ates tha|
|000050b0| 74 20 74 68 65 20 68 69 | 73 74 6f 72 79 20 6c 69 |t the hi|story li|
|000050c0| 73 74 20 62 65 69 6e 67 | 20 61 63 74 65 64 20 6f |st being| acted o|
|000050d0| 6e 0a 63 6f 6e 74 61 69 | 6e 73 20 65 78 70 72 65 |n.contai|ns expre|
|000050e0| 73 73 69 6f 6e 73 20 72 | 61 74 68 65 72 20 74 68 |ssions r|ather th|
|000050f0| 61 6e 20 73 74 72 69 6e | 67 73 2e 22 29 0a 28 66 |an strin|gs.").(f|
|00005100| 73 65 74 20 27 70 72 65 | 76 69 6f 75 73 2d 6d 61 |set 'pre|vious-ma|
|00005110| 74 63 68 69 6e 67 2d 68 | 69 73 74 6f 72 79 2d 65 |tching-h|istory-e|
|00005120| 6c 65 6d 65 6e 74 20 23 | 5b 28 72 65 67 65 78 70 |lement #|[(regexp|
|00005130| 20 6e 29 20 22 08 4a c1 | 5c 6e 1b 1c 89 1d c6 3d | n) ".J.|\n.....=|
|00005140| ab 84 c7 c8 21 88 0e 09 | ca 55 ac cf 0b 14 cb 0b |....!...|.U......|
|00005150| 0e 09 ca 57 ab 83 cc aa | 81 cb 5c 5c 5d 0d 47 5e |...W....|..\\].G^|
|00005160| 89 13 0c 55 ab 8f 0b cb | 55 ab 86 c7 cd 21 88 aa |...U....|U....!..|
|00005170| 84 c7 ce 21 88 cf 0e 10 | 0e 11 ab 88 d2 0b 53 0d |...!....|......S.|
|00005180| 38 21 aa 84 0b 53 0d 38 | 5c 22 ab 3c 0e 09 89 ca |8!...S.8|\".<....|
|00005190| 57 ab 83 cb aa 81 cc 5c | 5c 89 16 09 aa 2d 0b 12 |W......\|\....-..|
|000051a0| d3 20 88 0b 53 0d 38 1e | 14 0e 11 ab 86 d2 0e 14 |. ..S.8.|........|
|000051b0| 21 aa 82 0e 14 63 88 29 | 65 62 88 2b 0e 15 40 40 |!....c.)|eb.+..@@|
|000051c0| d6 3d ac 88 0e 15 40 40 | d7 3d ad 86 0e 15 41 89 |.=....@@|.=....A.|
|000051d0| 16 15 87 22 20 5b 6d 69 | 6e 69 62 75 66 66 65 72 |..." [mi|nibuffer|
|000051e0| 2d 68 69 73 74 6f 72 79 | 2d 76 61 72 69 61 62 6c |-history|-variabl|
|000051f0| 65 20 6e 69 6c 20 6d 69 | 6e 69 62 75 66 66 65 72 |e nil mi|nibuffer|
|00005200| 2d 68 69 73 74 6f 72 79 | 2d 70 6f 73 69 74 69 6f |-history|-positio|
|00005210| 6e 20 70 6f 73 20 70 72 | 65 76 70 6f 73 20 68 69 |n pos pr|evpos hi|
|00005220| 73 74 6f 72 79 20 74 20 | 65 72 72 6f 72 20 22 68 |story t |error "h|
|00005230| 69 73 74 6f 72 79 20 69 | 73 20 6e 6f 74 20 62 65 |istory i|s not be|
|00005240| 69 6e 67 20 72 65 63 6f | 72 64 65 64 20 69 6e 20 |ing reco|rded in |
|00005250| 74 68 69 73 20 63 6f 6e | 74 65 78 74 22 20 6e 20 |this con|text" n |
|00005260| 30 20 31 20 2d 31 20 22 | 4e 6f 20 6c 61 74 65 72 |0 1 -1 "|No later|
|00005270| 20 6d 61 74 63 68 69 6e | 67 20 68 69 73 74 6f 72 | matchin|g histor|
|00005280| 79 20 69 74 65 6d 22 20 | 22 4e 6f 20 65 61 72 6c |y item" |"No earl|
|00005290| 69 65 72 20 6d 61 74 63 | 68 69 6e 67 20 68 69 73 |ier matc|hing his|
|000052a0| 74 6f 72 79 20 69 74 65 | 6d 22 20 73 74 72 69 6e |tory ite|m" strin|
|000052b0| 67 2d 6d 61 74 63 68 20 | 72 65 67 65 78 70 20 6d |g-match |regexp m|
|000052c0| 69 6e 69 62 75 66 66 65 | 72 2d 68 69 73 74 6f 72 |inibuffe|r-histor|
|000052d0| 79 2d 73 65 78 70 2d 66 | 6c 61 67 20 70 72 69 6e |y-sexp-f|lag prin|
|000052e0| 31 2d 74 6f 2d 73 74 72 | 69 6e 67 20 65 72 61 73 |1-to-str|ing eras|
|000052f0| 65 2d 62 75 66 66 65 72 | 20 65 6c 74 20 63 6f 6d |e-buffer| elt com|
|00005300| 6d 61 6e 64 2d 68 69 73 | 74 6f 72 79 20 70 72 65 |mand-his|tory pre|
|00005310| 76 69 6f 75 73 2d 6d 61 | 74 63 68 69 6e 67 2d 68 |vious-ma|tching-h|
|00005320| 69 73 74 6f 72 79 2d 65 | 6c 65 6d 65 6e 74 20 6e |istory-e|lement n|
|00005330| 65 78 74 2d 6d 61 74 63 | 68 69 6e 67 2d 68 69 73 |ext-matc|hing-his|
|00005340| 74 6f 72 79 2d 65 6c 65 | 6d 65 6e 74 5d 20 36 20 |tory-ele|ment] 6 |
|00005350| 22 5c 0a 46 69 6e 64 20 | 74 68 65 20 70 72 65 76 |"\.Find |the prev|
|00005360| 69 6f 75 73 20 68 69 73 | 74 6f 72 79 20 65 6c 65 |ious his|tory ele|
|00005370| 6d 65 6e 74 20 74 68 61 | 74 20 6d 61 74 63 68 65 |ment tha|t matche|
|00005380| 73 20 52 45 47 45 58 50 | 2e 0a 28 50 72 65 76 69 |s REGEXP|..(Previ|
|00005390| 6f 75 73 20 68 69 73 74 | 6f 72 79 20 65 6c 65 6d |ous hist|ory elem|
|000053a0| 65 6e 74 73 20 72 65 66 | 65 72 20 74 6f 20 65 61 |ents ref|er to ea|
|000053b0| 72 6c 69 65 72 20 61 63 | 74 69 6f 6e 73 2e 29 0a |rlier ac|tions.).|
|000053c0| 57 69 74 68 20 70 72 65 | 66 69 78 20 61 72 67 75 |With pre|fix argu|
|000053d0| 6d 65 6e 74 20 4e 2c 20 | 73 65 61 72 63 68 20 66 |ment N, |search f|
|000053e0| 6f 72 20 4e 74 68 20 70 | 72 65 76 69 6f 75 73 20 |or Nth p|revious |
|000053f0| 6d 61 74 63 68 2e 0a 49 | 66 20 4e 20 69 73 20 6e |match..I|f N is n|
|00005400| 65 67 61 74 69 76 65 2c | 20 66 69 6e 64 20 74 68 |egative,| find th|
|00005410| 65 20 6e 65 78 74 20 6f | 72 20 4e 74 68 20 6e 65 |e next o|r Nth ne|
|00005420| 78 74 20 6d 61 74 63 68 | 2e 22 20 28 62 79 74 65 |xt match|." (byte|
|00005430| 2d 63 6f 64 65 20 22 c0 | c1 1a 1b 0c 4a c0 3d ab |-code ".|....J.=.|
|00005440| 84 c5 c6 21 88 c7 c8 0e | 09 40 0e 5c 6e c1 c9 25 |...!....|.@.\n..%|
|00005450| cb 0e 0c 21 2a 44 87 22 | 20 5b 74 20 6e 69 6c 20 |...!*D."| [t nil |
|00005460| 6d 69 6e 69 62 75 66 66 | 65 72 2d 68 69 73 74 6f |minibuff|er-histo|
|00005470| 72 79 2d 73 65 78 70 2d | 66 6c 61 67 20 65 6e 61 |ry-sexp-|flag ena|
|00005480| 62 6c 65 2d 72 65 63 75 | 72 73 69 76 65 2d 6d 69 |ble-recu|rsive-mi|
|00005490| 6e 69 62 75 66 66 65 72 | 73 20 6d 69 6e 69 62 75 |nibuffer|s minibu|
|000054a0| 66 66 65 72 2d 68 69 73 | 74 6f 72 79 2d 76 61 72 |ffer-his|tory-var|
|000054b0| 69 61 62 6c 65 20 65 72 | 72 6f 72 20 22 68 69 73 |iable er|ror "his|
|000054c0| 74 6f 72 79 20 69 73 20 | 6e 6f 74 20 62 65 69 6e |tory is |not bein|
|000054d0| 67 20 72 65 63 6f 72 64 | 65 64 20 69 6e 20 74 68 |g record|ed in th|
|000054e0| 69 73 20 63 6f 6e 74 65 | 78 74 22 20 72 65 61 64 |is conte|xt" read|
|000054f0| 2d 66 72 6f 6d 2d 6d 69 | 6e 69 62 75 66 66 65 72 |-from-mi|nibuffer|
|00005500| 20 22 50 72 65 76 69 6f | 75 73 20 65 6c 65 6d 65 | "Previo|us eleme|
|00005510| 6e 74 20 6d 61 74 63 68 | 69 6e 67 20 28 72 65 67 |nt match|ing (reg|
|00005520| 65 78 70 29 3a 20 22 20 | 6d 69 6e 69 62 75 66 66 |exp): " |minibuff|
|00005530| 65 72 2d 68 69 73 74 6f | 72 79 2d 73 65 61 72 63 |er-histo|ry-searc|
|00005540| 68 2d 68 69 73 74 6f 72 | 79 20 6d 69 6e 69 62 75 |h-histor|y minibu|
|00005550| 66 66 65 72 2d 6c 6f 63 | 61 6c 2d 6d 61 70 20 70 |ffer-loc|al-map p|
|00005560| 72 65 66 69 78 2d 6e 75 | 6d 65 72 69 63 2d 76 61 |refix-nu|meric-va|
|00005570| 6c 75 65 20 63 75 72 72 | 65 6e 74 2d 70 72 65 66 |lue curr|ent-pref|
|00005580| 69 78 2d 61 72 67 5d 20 | 36 29 5d 29 0a 28 66 73 |ix-arg] |6)]).(fs|
|00005590| 65 74 20 27 6e 65 78 74 | 2d 6d 61 74 63 68 69 6e |et 'next|-matchin|
|000055a0| 67 2d 68 69 73 74 6f 72 | 79 2d 65 6c 65 6d 65 6e |g-histor|y-elemen|
|000055b0| 74 20 23 5b 28 72 65 67 | 65 78 70 20 6e 29 20 22 |t #[(reg|exp n) "|
|000055c0| c0 09 5c 6e 5b 5c 22 87 | 22 20 5b 70 72 65 76 69 |..\n[\".|" [previ|
|000055d0| 6f 75 73 2d 6d 61 74 63 | 68 69 6e 67 2d 68 69 73 |ous-matc|hing-his|
|000055e0| 74 6f 72 79 2d 65 6c 65 | 6d 65 6e 74 20 72 65 67 |tory-ele|ment reg|
|000055f0| 65 78 70 20 6e 5d 20 33 | 20 22 5c 0a 46 69 6e 64 |exp n] 3| "\.Find|
|00005600| 20 74 68 65 20 6e 65 78 | 74 20 68 69 73 74 6f 72 | the nex|t histor|
|00005610| 79 20 65 6c 65 6d 65 6e | 74 20 74 68 61 74 20 6d |y elemen|t that m|
|00005620| 61 74 63 68 65 73 20 52 | 45 47 45 58 50 2e 0a 28 |atches R|EGEXP..(|
|00005630| 54 68 65 20 6e 65 78 74 | 20 68 69 73 74 6f 72 79 |The next| history|
|00005640| 20 65 6c 65 6d 65 6e 74 | 20 72 65 66 65 72 73 20 | element| refers |
|00005650| 74 6f 20 61 20 6d 6f 72 | 65 20 72 65 63 65 6e 74 |to a mor|e recent|
|00005660| 20 61 63 74 69 6f 6e 2e | 29 0a 57 69 74 68 20 70 | action.|).With p|
|00005670| 72 65 66 69 78 20 61 72 | 67 75 6d 65 6e 74 20 4e |refix ar|gument N|
|00005680| 2c 20 73 65 61 72 63 68 | 20 66 6f 72 20 4e 74 68 |, search| for Nth|
|00005690| 20 6e 65 78 74 20 6d 61 | 74 63 68 2e 0a 49 66 20 | next ma|tch..If |
|000056a0| 4e 20 69 73 20 6e 65 67 | 61 74 69 76 65 2c 20 66 |N is neg|ative, f|
|000056b0| 69 6e 64 20 74 68 65 20 | 70 72 65 76 69 6f 75 73 |ind the |previous|
|000056c0| 20 6f 72 20 4e 74 68 20 | 70 72 65 76 69 6f 75 73 | or Nth |previous|
|000056d0| 20 6d 61 74 63 68 2e 22 | 20 28 62 79 74 65 2d 63 | match."| (byte-c|
|000056e0| 6f 64 65 20 22 c0 c1 1a | 1b 0c 4a c0 3d ab 84 c5 |ode "...|..J.=...|
|000056f0| c6 21 88 c7 c8 0e 09 40 | 0e 5c 6e c1 c9 25 cb 0e |.!.....@|.\n..%..|
|00005700| 0c 21 2a 44 87 22 20 5b | 74 20 6e 69 6c 20 6d 69 |.!*D." [|t nil mi|
|00005710| 6e 69 62 75 66 66 65 72 | 2d 68 69 73 74 6f 72 79 |nibuffer|-history|
|00005720| 2d 73 65 78 70 2d 66 6c | 61 67 20 65 6e 61 62 6c |-sexp-fl|ag enabl|
|00005730| 65 2d 72 65 63 75 72 73 | 69 76 65 2d 6d 69 6e 69 |e-recurs|ive-mini|
|00005740| 62 75 66 66 65 72 73 20 | 6d 69 6e 69 62 75 66 66 |buffers |minibuff|
|00005750| 65 72 2d 68 69 73 74 6f | 72 79 2d 76 61 72 69 61 |er-histo|ry-varia|
|00005760| 62 6c 65 20 65 72 72 6f | 72 20 22 68 69 73 74 6f |ble erro|r "histo|
|00005770| 72 79 20 69 73 20 6e 6f | 74 20 62 65 69 6e 67 20 |ry is no|t being |
|00005780| 72 65 63 6f 72 64 65 64 | 20 69 6e 20 74 68 69 73 |recorded| in this|
|00005790| 20 63 6f 6e 74 65 78 74 | 22 20 72 65 61 64 2d 66 | context|" read-f|
|000057a0| 72 6f 6d 2d 6d 69 6e 69 | 62 75 66 66 65 72 20 22 |rom-mini|buffer "|
|000057b0| 4e 65 78 74 20 65 6c 65 | 6d 65 6e 74 20 6d 61 74 |Next ele|ment mat|
|000057c0| 63 68 69 6e 67 20 28 72 | 65 67 65 78 70 29 3a 20 |ching (r|egexp): |
|000057d0| 22 20 6d 69 6e 69 62 75 | 66 66 65 72 2d 68 69 73 |" minibu|ffer-his|
|000057e0| 74 6f 72 79 2d 73 65 61 | 72 63 68 2d 68 69 73 74 |tory-sea|rch-hist|
|000057f0| 6f 72 79 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 6c |ory mini|buffer-l|
|00005800| 6f 63 61 6c 2d 6d 61 70 | 20 70 72 65 66 69 78 2d |ocal-map| prefix-|
|00005810| 6e 75 6d 65 72 69 63 2d | 76 61 6c 75 65 20 63 75 |numeric-|value cu|
|00005820| 72 72 65 6e 74 2d 70 72 | 65 66 69 78 2d 61 72 67 |rrent-pr|efix-arg|
|00005830| 5d 20 36 29 5d 29 0a 28 | 66 73 65 74 20 27 6e 65 |] 6)]).(|fset 'ne|
|00005840| 78 74 2d 68 69 73 74 6f | 72 79 2d 65 6c 65 6d 65 |xt-histo|ry-eleme|
|00005850| 6e 74 20 23 5b 28 6e 29 | 20 22 08 4a c1 3d ab 84 |nt #[(n)| ".J.=..|
|00005860| c2 c3 21 88 c4 0d 0e 06 | 5a 5d 08 4a 47 5e 1e 07 |..!.....|Z].JG^..|
|00005870| 0d 0e 07 55 ab 94 c2 0e | 06 c8 59 ab 86 c9 ca 08 |...U....|..Y.....|
|00005880| 5c 22 aa 84 c9 cb 08 5c | 22 21 aa a3 cc 20 88 0e |\".....\|"!... ..|
|00005890| 07 89 15 53 08 4a 38 1e | 0d 0e 0e ab 8b 0e 0d 3b |...S.J8.|.......;|
|000058a0| ac 86 cf d0 d1 8f aa 82 | 0e 0d 63 88 29 64 62 29 |........|..c.)db)|
|000058b0| 87 22 20 5b 6d 69 6e 69 | 62 75 66 66 65 72 2d 68 |." [mini|buffer-h|
|000058c0| 69 73 74 6f 72 79 2d 76 | 61 72 69 61 62 6c 65 20 |istory-v|ariable |
|000058d0| 74 20 65 72 72 6f 72 20 | 22 68 69 73 74 6f 72 79 |t error |"history|
|000058e0| 20 69 73 20 6e 6f 74 20 | 62 65 69 6e 67 20 72 65 | is not |being re|
|000058f0| 63 6f 72 64 65 64 20 69 | 6e 20 74 68 69 73 20 63 |corded i|n this c|
|00005900| 6f 6e 74 65 78 74 22 20 | 31 20 6d 69 6e 69 62 75 |ontext" |1 minibu|
|00005910| 66 66 65 72 2d 68 69 73 | 74 6f 72 79 2d 70 6f 73 |ffer-his|tory-pos|
|00005920| 69 74 69 6f 6e 20 6e 20 | 6e 61 72 67 20 30 20 66 |ition n |narg 0 f|
|00005930| 6f 72 6d 61 74 20 22 4e | 6f 20 66 6f 6c 6c 6f 77 |ormat "N|o follow|
|00005940| 69 6e 67 20 69 74 65 6d | 20 69 6e 20 25 73 22 20 |ing item| in %s" |
|00005950| 22 4e 6f 20 70 72 65 63 | 65 64 69 6e 67 20 69 74 |"No prec|eding it|
|00005960| 65 6d 20 69 6e 20 25 73 | 22 20 65 72 61 73 65 2d |em in %s|" erase-|
|00005970| 62 75 66 66 65 72 20 65 | 6c 74 20 6d 69 6e 69 62 |buffer e|lt minib|
|00005980| 75 66 66 65 72 2d 68 69 | 73 74 6f 72 79 2d 73 65 |uffer-hi|story-se|
|00005990| 78 70 2d 66 6c 61 67 20 | 6e 69 6c 20 28 62 79 74 |xp-flag |nil (byt|
|000059a0| 65 2d 63 6f 64 65 20 22 | c0 89 19 1a c3 0c 21 2a |e-code "|......!*|
|000059b0| 87 22 20 5b 74 20 70 72 | 69 6e 74 2d 65 73 63 61 |." [t pr|int-esca|
|000059c0| 70 65 2d 6e 65 77 6c 69 | 6e 65 73 20 70 72 69 6e |pe-newli|nes prin|
|000059d0| 74 2d 72 65 61 64 61 62 | 6c 79 20 70 72 69 6e 31 |t-readab|ly prin1|
|000059e0| 2d 74 6f 2d 73 74 72 69 | 6e 67 20 65 6c 74 5d 20 |-to-stri|ng elt] |
|000059f0| 32 29 20 28 28 65 72 72 | 6f 72 20 28 70 72 69 6e |2) ((err|or (prin|
|00005a00| 31 2d 74 6f 2d 73 74 72 | 69 6e 67 20 65 6c 74 29 |1-to-str|ing elt)|
|00005a10| 29 29 5d 20 35 20 22 5c | 0a 49 6e 73 65 72 74 20 |))] 5 "\|.Insert |
|00005a20| 74 68 65 20 6e 65 78 74 | 20 65 6c 65 6d 65 6e 74 |the next| element|
|00005a30| 20 6f 66 20 74 68 65 20 | 6d 69 6e 69 62 75 66 66 | of the |minibuff|
|00005a40| 65 72 20 68 69 73 74 6f | 72 79 20 69 6e 74 6f 20 |er histo|ry into |
|00005a50| 74 68 65 20 6d 69 6e 69 | 62 75 66 66 65 72 2e 22 |the mini|buffer."|
|00005a60| 20 22 70 22 5d 29 0a 28 | 66 73 65 74 20 27 70 72 | "p"]).(|fset 'pr|
|00005a70| 65 76 69 6f 75 73 2d 68 | 69 73 74 6f 72 79 2d 65 |evious-h|istory-e|
|00005a80| 6c 65 6d 65 6e 74 20 23 | 5b 28 6e 29 20 22 c0 09 |lement #|[(n) "..|
|00005a90| 5b 21 87 22 20 5b 6e 65 | 78 74 2d 68 69 73 74 6f |[!." [ne|xt-histo|
|00005aa0| 72 79 2d 65 6c 65 6d 65 | 6e 74 20 6e 5d 20 32 20 |ry-eleme|nt n] 2 |
|00005ab0| 22 5c 0a 49 6e 73 65 72 | 74 73 20 74 68 65 20 70 |"\.Inser|ts the p|
|00005ac0| 72 65 76 69 6f 75 73 20 | 65 6c 65 6d 65 6e 74 20 |revious |element |
|00005ad0| 6f 66 20 74 68 65 20 6d | 69 6e 69 62 75 66 66 65 |of the m|inibuffe|
|00005ae0| 72 20 68 69 73 74 6f 72 | 79 20 69 6e 74 6f 20 74 |r histor|y into t|
|00005af0| 68 65 20 6d 69 6e 69 62 | 75 66 66 65 72 2e 22 20 |he minib|uffer." |
|00005b00| 22 70 22 5d 29 0a 28 66 | 73 65 74 20 27 6e 65 78 |"p"]).(f|set 'nex|
|00005b10| 74 2d 63 6f 6d 70 6c 65 | 74 65 2d 68 69 73 74 6f |t-comple|te-histo|
|00005b20| 72 79 2d 65 6c 65 6d 65 | 6e 74 20 23 5b 28 6e 29 |ry-eleme|nt #[(n)|
|00005b30| 20 22 60 18 c1 c2 c3 65 | 60 7b 21 50 0c 5c 22 88 | "`....e|`{!P.\".|
|00005b40| 08 62 29 87 22 20 5b 70 | 6f 69 6e 74 2d 61 74 2d |.b)." [p|oint-at-|
|00005b50| 73 74 61 72 74 20 6e 65 | 78 74 2d 6d 61 74 63 68 |start ne|xt-match|
|00005b60| 69 6e 67 2d 68 69 73 74 | 6f 72 79 2d 65 6c 65 6d |ing-hist|ory-elem|
|00005b70| 65 6e 74 20 22 5e 22 20 | 72 65 67 65 78 70 2d 71 |ent "^" |regexp-q|
|00005b80| 75 6f 74 65 20 6e 5d 20 | 35 20 22 5c 0a 47 65 74 |uote n] |5 "\.Get|
|00005b90| 20 6e 65 78 74 20 65 6c | 65 6d 65 6e 74 20 6f 66 | next el|ement of|
|00005ba0| 20 68 69 73 74 6f 72 79 | 20 77 68 69 63 68 20 69 | history| which i|
|00005bb0| 73 20 61 20 63 6f 6d 70 | 6c 65 74 69 6f 6e 20 6f |s a comp|letion o|
|00005bc0| 66 20 6d 69 6e 69 62 75 | 66 66 65 72 20 63 6f 6e |f minibu|ffer con|
|00005bd0| 74 65 6e 74 73 2e 22 20 | 22 70 22 5d 29 0a 28 66 |tents." |"p"]).(f|
|00005be0| 73 65 74 20 27 70 72 65 | 76 69 6f 75 73 2d 63 6f |set 'pre|vious-co|
|00005bf0| 6d 70 6c 65 74 65 2d 68 | 69 73 74 6f 72 79 2d 65 |mplete-h|istory-e|
|00005c00| 6c 65 6d 65 6e 74 20 23 | 5b 28 6e 29 20 22 c0 09 |lement #|[(n) "..|
|00005c10| 5b 21 87 22 20 5b 6e 65 | 78 74 2d 63 6f 6d 70 6c |[!." [ne|xt-compl|
|00005c20| 65 74 65 2d 68 69 73 74 | 6f 72 79 2d 65 6c 65 6d |ete-hist|ory-elem|
|00005c30| 65 6e 74 20 6e 5d 20 32 | 20 22 5c 0a 47 65 74 20 |ent n] 2| "\.Get |
|00005c40| 70 72 65 76 69 6f 75 73 | 20 65 6c 65 6d 65 6e 74 |previous| element|
|00005c50| 20 6f 66 20 68 69 73 74 | 6f 72 79 20 77 68 69 63 | of hist|ory whic|
|00005c60| 68 20 69 73 20 61 20 63 | 6f 6d 70 6c 65 74 69 6f |h is a c|ompletio|
|00005c70| 6e 20 6f 66 20 6d 69 6e | 69 62 75 66 66 65 72 20 |n of min|ibuffer |
|00005c80| 63 6f 6e 74 65 6e 74 73 | 2e 22 20 22 70 22 5d 29 |contents|." "p"])|
|00005c90| 0a 28 66 73 65 74 20 27 | 72 65 61 64 2d 65 78 70 |.(fset '|read-exp|
|00005ca0| 72 65 73 73 69 6f 6e 20 | 23 5b 28 70 72 6f 6d 70 |ression |#[(promp|
|00005cb0| 74 20 26 6f 70 74 69 6f | 6e 61 6c 20 69 6e 69 74 |t &optio|nal init|
|00005cc0| 69 61 6c 2d 63 6f 6e 74 | 65 6e 74 73 20 68 69 73 |ial-cont|ents his|
|00005cd0| 74 6f 72 79 29 20 22 c0 | c1 1a 1b c4 0d 0e 06 0e |tory) ".|........|
|00005ce0| 07 c0 0e 08 ae 81 c9 0e | 5c 6e 26 06 2a 87 22 20 |........|\n&.*." |
|00005cf0| 5b 74 20 6e 69 6c 20 6d | 69 6e 69 62 75 66 66 65 |[t nil m|inibuffe|
|00005d00| 72 2d 63 6f 6d 70 6c 65 | 74 69 6f 6e 2d 74 61 62 |r-comple|tion-tab|
|00005d10| 6c 65 20 6d 69 6e 69 62 | 75 66 66 65 72 2d 68 69 |le minib|uffer-hi|
|00005d20| 73 74 6f 72 79 2d 73 65 | 78 70 2d 66 6c 61 67 20 |story-se|xp-flag |
|00005d30| 72 65 61 64 2d 66 72 6f | 6d 2d 6d 69 6e 69 62 75 |read-fro|m-minibu|
|00005d40| 66 66 65 72 20 70 72 6f | 6d 70 74 20 69 6e 69 74 |ffer pro|mpt init|
|00005d50| 69 61 6c 2d 63 6f 6e 74 | 65 6e 74 73 20 72 65 61 |ial-cont|ents rea|
|00005d60| 64 2d 65 78 70 72 65 73 | 73 69 6f 6e 2d 6d 61 70 |d-expres|sion-map|
|00005d70| 20 68 69 73 74 6f 72 79 | 20 72 65 61 64 2d 65 78 | history| read-ex|
|00005d80| 70 72 65 73 73 69 6f 6e | 2d 68 69 73 74 6f 72 79 |pression|-history|
|00005d90| 20 6c 69 73 70 2d 6d 6f | 64 65 2d 61 62 62 72 65 | lisp-mo|de-abbre|
|00005da0| 76 2d 74 61 62 6c 65 5d | 20 37 20 22 5c 0a 52 65 |v-table]| 7 "\.Re|
|00005db0| 74 75 72 6e 20 61 20 4c | 69 73 70 20 6f 62 6a 65 |turn a L|isp obje|
|00005dc0| 63 74 20 72 65 61 64 20 | 75 73 69 6e 67 20 74 68 |ct read |using th|
|00005dd0| 65 20 6d 69 6e 69 62 75 | 66 66 65 72 2e 0a 50 72 |e minibu|ffer..Pr|
|00005de0| 6f 6d 70 74 20 77 69 74 | 68 20 50 52 4f 4d 50 54 |ompt wit|h PROMPT|
|00005df0| 2e 20 20 49 66 20 6e 6f | 6e 2d 6e 69 6c 2c 20 6f |. If no|n-nil, o|
|00005e00| 70 74 69 6f 6e 61 6c 20 | 73 65 63 6f 6e 64 20 61 |ptional |second a|
|00005e10| 72 67 20 49 4e 49 54 49 | 41 4c 2d 43 4f 4e 54 45 |rg INITI|AL-CONTE|
|00005e20| 4e 54 53 0a 69 73 20 61 | 20 73 74 72 69 6e 67 20 |NTS.is a| string |
|00005e30| 74 6f 20 69 6e 73 65 72 | 74 20 69 6e 20 74 68 65 |to inser|t in the|
|00005e40| 20 6d 69 6e 69 62 75 66 | 66 65 72 20 62 65 66 6f | minibuf|fer befo|
|00005e50| 72 65 20 72 65 61 64 69 | 6e 67 2e 0a 54 68 69 72 |re readi|ng..Thir|
|00005e60| 64 20 61 72 67 20 48 49 | 53 54 4f 52 59 2c 20 69 |d arg HI|STORY, i|
|00005e70| 66 20 6e 6f 6e 2d 6e 69 | 6c 2c 20 73 70 65 63 69 |f non-ni|l, speci|
|00005e80| 66 69 65 73 20 61 20 68 | 69 73 74 6f 72 79 20 6c |fies a h|istory l|
|00005e90| 69 73 74 2e 22 5d 29 0a | 28 66 73 65 74 20 27 72 |ist."]).|(fset 'r|
|00005ea0| 65 61 64 2d 73 74 72 69 | 6e 67 20 23 5b 28 70 72 |ead-stri|ng #[(pr|
|00005eb0| 6f 6d 70 74 20 26 6f 70 | 74 69 6f 6e 61 6c 20 69 |ompt &op|tional i|
|00005ec0| 6e 69 74 69 61 6c 2d 63 | 6f 6e 74 65 6e 74 73 20 |nitial-c|ontents |
|00005ed0| 68 69 73 74 6f 72 79 29 | 20 22 c0 19 c2 0b 0c 0d |history)| "......|
|00005ee0| c0 0e 06 25 29 87 22 20 | 5b 6e 69 6c 20 6d 69 6e |...%)." |[nil min|
|00005ef0| 69 62 75 66 66 65 72 2d | 63 6f 6d 70 6c 65 74 69 |ibuffer-|completi|
|00005f00| 6f 6e 2d 74 61 62 6c 65 | 20 72 65 61 64 2d 66 72 |on-table| read-fr|
|00005f10| 6f 6d 2d 6d 69 6e 69 62 | 75 66 66 65 72 20 70 72 |om-minib|uffer pr|
|00005f20| 6f 6d 70 74 20 69 6e 69 | 74 69 61 6c 2d 63 6f 6e |ompt ini|tial-con|
|00005f30| 74 65 6e 74 73 20 6d 69 | 6e 69 62 75 66 66 65 72 |tents mi|nibuffer|
|00005f40| 2d 6c 6f 63 61 6c 2d 6d | 61 70 20 68 69 73 74 6f |-local-m|ap histo|
|00005f50| 72 79 5d 20 36 20 22 5c | 0a 52 65 74 75 72 6e 20 |ry] 6 "\|.Return |
|00005f60| 61 20 73 74 72 69 6e 67 | 20 66 72 6f 6d 20 74 68 |a string| from th|
|00005f70| 65 20 6d 69 6e 69 62 75 | 66 66 65 72 2c 20 70 72 |e minibu|ffer, pr|
|00005f80| 6f 6d 70 74 69 6e 67 20 | 77 69 74 68 20 73 74 72 |ompting |with str|
|00005f90| 69 6e 67 20 50 52 4f 4d | 50 54 2e 0a 49 66 20 6e |ing PROM|PT..If n|
|00005fa0| 6f 6e 2d 6e 69 6c 2c 20 | 6f 70 74 69 6f 6e 61 6c |on-nil, |optional|
|00005fb0| 20 73 65 63 6f 6e 64 20 | 61 72 67 20 49 4e 49 54 | second |arg INIT|
|00005fc0| 49 41 4c 2d 43 4f 4e 54 | 45 4e 54 53 20 69 73 20 |IAL-CONT|ENTS is |
|00005fd0| 61 20 73 74 72 69 6e 67 | 20 74 6f 20 69 6e 73 65 |a string| to inse|
|00005fe0| 72 74 0a 69 6e 20 74 68 | 65 20 6d 69 6e 69 62 75 |rt.in th|e minibu|
|00005ff0| 66 66 65 72 20 62 65 66 | 6f 72 65 20 72 65 61 64 |ffer bef|ore read|
|00006000| 69 6e 67 2e 0a 54 68 69 | 72 64 20 61 72 67 20 48 |ing..Thi|rd arg H|
|00006010| 49 53 54 4f 52 59 2c 20 | 69 66 20 6e 6f 6e 2d 6e |ISTORY, |if non-n|
|00006020| 69 6c 2c 20 73 70 65 63 | 69 66 69 65 73 20 61 20 |il, spec|ifies a |
|00006030| 68 69 73 74 6f 72 79 20 | 6c 69 73 74 2e 22 5d 29 |history |list."])|
|00006040| 0a 28 66 73 65 74 20 27 | 65 76 61 6c 2d 6d 69 6e |.(fset '|eval-min|
|00006050| 69 62 75 66 66 65 72 20 | 23 5b 28 70 72 6f 6d 70 |ibuffer |#[(promp|
|00006060| 74 20 26 6f 70 74 69 6f | 6e 61 6c 20 69 6e 69 74 |t &optio|nal init|
|00006070| 69 61 6c 2d 63 6f 6e 74 | 65 6e 74 73 20 68 69 73 |ial-cont|ents his|
|00006080| 74 6f 72 79 29 20 22 c0 | c1 5c 6e 0b 0c 23 21 87 |tory) ".|.\n..#!.|
|00006090| 22 20 5b 65 76 61 6c 20 | 72 65 61 64 2d 65 78 70 |" [eval |read-exp|
|000060a0| 72 65 73 73 69 6f 6e 20 | 70 72 6f 6d 70 74 20 69 |ression |prompt i|
|000060b0| 6e 69 74 69 61 6c 2d 63 | 6f 6e 74 65 6e 74 73 20 |nitial-c|ontents |
|000060c0| 68 69 73 74 6f 72 79 5d | 20 35 20 22 5c 0a 52 65 |history]| 5 "\.Re|
|000060d0| 74 75 72 6e 20 76 61 6c | 75 65 20 6f 66 20 4c 69 |turn val|ue of Li|
|000060e0| 73 70 20 65 78 70 72 65 | 73 73 69 6f 6e 20 72 65 |sp expre|ssion re|
|000060f0| 61 64 20 75 73 69 6e 67 | 20 74 68 65 20 6d 69 6e |ad using| the min|
|00006100| 69 62 75 66 66 65 72 2e | 0a 50 72 6f 6d 70 74 20 |ibuffer.|.Prompt |
|00006110| 77 69 74 68 20 50 52 4f | 4d 50 54 2e 20 20 49 66 |with PRO|MPT. If|
|00006120| 20 6e 6f 6e 2d 6e 69 6c | 2c 20 6f 70 74 69 6f 6e | non-nil|, option|
|00006130| 61 6c 20 73 65 63 6f 6e | 64 20 61 72 67 20 49 4e |al secon|d arg IN|
|00006140| 49 54 49 41 4c 2d 43 4f | 4e 54 45 4e 54 53 0a 69 |ITIAL-CO|NTENTS.i|
|00006150| 73 20 61 20 73 74 72 69 | 6e 67 20 74 6f 20 69 6e |s a stri|ng to in|
|00006160| 73 65 72 74 20 69 6e 20 | 74 68 65 20 6d 69 6e 69 |sert in |the mini|
|00006170| 62 75 66 66 65 72 20 62 | 65 66 6f 72 65 20 72 65 |buffer b|efore re|
|00006180| 61 64 69 6e 67 2e 0a 54 | 68 69 72 64 20 61 72 67 |ading..T|hird arg|
|00006190| 20 48 49 53 54 4f 52 59 | 2c 20 69 66 20 6e 6f 6e | HISTORY|, if non|
|000061a0| 2d 6e 69 6c 2c 20 73 70 | 65 63 69 66 69 65 73 20 |-nil, sp|ecifies |
|000061b0| 61 20 68 69 73 74 6f 72 | 79 20 6c 69 73 74 2e 22 |a histor|y list."|
|000061c0| 5d 29 0a 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |]).(byte|-code ".|
|000061d0| c1 21 ac 82 c2 11 c2 87 | 22 20 5b 62 6f 75 6e 64 |.!......|" [bound|
|000061e0| 70 20 72 65 61 64 2d 63 | 6f 6d 6d 61 6e 64 2d 68 |p read-c|ommand-h|
|000061f0| 69 73 74 6f 72 79 20 6e | 69 6c 5d 20 32 29 0a 28 |istory n|il] 2).(|
|00006200| 66 73 65 74 20 27 72 65 | 61 64 2d 63 6f 6d 6d 61 |fset 're|ad-comma|
|00006210| 6e 64 20 23 5b 28 70 72 | 6f 6d 70 74 29 20 22 c0 |nd #[(pr|ompt) ".|
|00006220| c1 5c 6e 0b c4 c5 c6 c7 | 26 06 21 87 22 20 5b 69 |.\n.....|&.!." [i|
|00006230| 6e 74 65 72 6e 20 63 6f | 6d 70 6c 65 74 69 6e 67 |ntern co|mpleting|
|00006240| 2d 72 65 61 64 20 70 72 | 6f 6d 70 74 20 6f 62 61 |-read pr|ompt oba|
|00006250| 72 72 61 79 20 63 6f 6d | 6d 61 6e 64 70 20 74 20 |rray com|mandp t |
|00006260| 6e 69 6c 20 72 65 61 64 | 2d 63 6f 6d 6d 61 6e 64 |nil read|-command|
|00006270| 2d 68 69 73 74 6f 72 79 | 5d 20 38 20 22 5c 0a 52 |-history|] 8 "\.R|
|00006280| 65 61 64 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |ead the |name of |
|00006290| 61 20 63 6f 6d 6d 61 6e | 64 20 61 6e 64 20 72 65 |a comman|d and re|
|000062a0| 74 75 72 6e 20 61 73 20 | 61 20 73 79 6d 62 6f 6c |turn as |a symbol|
|000062b0| 2e 0a 50 72 6f 6d 70 74 | 73 20 77 69 74 68 20 50 |..Prompt|s with P|
|000062c0| 52 4f 4d 50 54 2e 22 5d | 29 0a 28 66 73 65 74 20 |ROMPT."]|).(fset |
|000062d0| 27 72 65 61 64 2d 66 75 | 6e 63 74 69 6f 6e 20 23 |'read-fu|nction #|
|000062e0| 5b 28 70 72 6f 6d 70 74 | 29 20 22 c0 c1 5c 6e 0b |[(prompt|) "..\n.|
|000062f0| c4 c5 c6 c7 26 06 21 87 | 22 20 5b 69 6e 74 65 72 |....&.!.|" [inter|
|00006300| 6e 20 63 6f 6d 70 6c 65 | 74 69 6e 67 2d 72 65 61 |n comple|ting-rea|
|00006310| 64 20 70 72 6f 6d 70 74 | 20 6f 62 61 72 72 61 79 |d prompt| obarray|
|00006320| 20 66 62 6f 75 6e 64 70 | 20 74 20 6e 69 6c 20 66 | fboundp| t nil f|
|00006330| 75 6e 63 74 69 6f 6e 2d | 68 69 73 74 6f 72 79 5d |unction-|history]|
|00006340| 20 38 20 22 5c 0a 52 65 | 61 64 20 74 68 65 20 6e | 8 "\.Re|ad the n|
|00006350| 61 6d 65 20 6f 66 20 61 | 20 66 75 6e 63 74 69 6f |ame of a| functio|
|00006360| 6e 20 61 6e 64 20 72 65 | 74 75 72 6e 20 61 73 20 |n and re|turn as |
|00006370| 61 20 73 79 6d 62 6f 6c | 2e 0a 50 72 6f 6d 70 74 |a symbol|..Prompt|
|00006380| 73 20 77 69 74 68 20 50 | 52 4f 4d 50 54 2e 22 5d |s with P|ROMPT."]|
|00006390| 29 0a 28 66 73 65 74 20 | 27 72 65 61 64 2d 76 61 |).(fset |'read-va|
|000063a0| 72 69 61 62 6c 65 20 23 | 5b 28 70 72 6f 6d 70 74 |riable #|[(prompt|
|000063b0| 29 20 22 c0 c1 5c 6e 0b | c4 c5 c6 c7 26 06 21 87 |) "..\n.|....&.!.|
|000063c0| 22 20 5b 69 6e 74 65 72 | 6e 20 63 6f 6d 70 6c 65 |" [inter|n comple|
|000063d0| 74 69 6e 67 2d 72 65 61 | 64 20 70 72 6f 6d 70 74 |ting-rea|d prompt|
|000063e0| 20 6f 62 61 72 72 61 79 | 20 75 73 65 72 2d 76 61 | obarray| user-va|
|000063f0| 72 69 61 62 6c 65 2d 70 | 20 74 20 6e 69 6c 20 76 |riable-p| t nil v|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.