home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.006 / xemacs-1 / lib / xemacs-19.13 / lisp / prim / lisp.elc < prev    next >
Emacs Compiled Lisp  |  1995-08-29  |  7.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


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

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
100% xdgMime text/x-emacs-lisp default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 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 31 | 31 20 31 39 39 35 0a 3b | 14:21:1|1 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 6c 69 73 70 2e |/lisp/pr|im/lisp.|
|00000090| 65 6c 0a 3b 3b 3b 20 65 | 6d 61 63 73 20 76 65 72 |el.;;; e|macs ver|
|000000a0| 73 69 6f 6e 20 31 39 2e | 31 33 20 58 45 6d 61 63 |sion 19.|13 XEmac|
|000000b0| 73 20 4c 75 63 69 64 2e | 0a 3b 3b 3b 20 62 79 74 |s Lucid.|.;;; byt|
|000000c0| 65 63 6f 6d 70 20 76 65 | 72 73 69 6f 6e 20 32 2e |ecomp ve|rsion 2.|
|000000d0| 32 35 3b 20 31 2d 53 65 | 70 2d 39 34 2e 0a 3b 3b |25; 1-Se|p-94..;;|
|000000e0| 3b 20 6f 70 74 69 6d 69 | 7a 61 74 69 6f 6e 20 69 |; optimi|zation i|
|000000f0| 73 20 6f 6e 2e 0a 3b 3b | 3b 20 74 68 69 73 20 66 |s on..;;|; this f|
|00000100| 69 6c 65 20 75 73 65 73 | 20 6f 70 63 6f 64 65 73 |ile uses| opcodes|
|00000110| 20 77 68 69 63 68 20 64 | 6f 20 6e 6f 74 20 65 78 | which d|o not ex|
|00000120| 69 73 74 20 69 6e 20 45 | 6d 61 63 73 20 31 38 2e |ist in E|macs 18.|
|00000130| 0a 0a 28 69 66 20 28 61 | 6e 64 20 28 62 6f 75 6e |..(if (a|nd (boun|
|00000140| 64 70 20 27 65 6d 61 63 | 73 2d 76 65 72 73 69 6f |dp 'emac|s-versio|
|00000150| 6e 29 0a 09 20 28 6f 72 | 20 28 61 6e 64 20 28 62 |n).. (or| (and (b|
|00000160| 6f 75 6e 64 70 20 27 65 | 70 6f 63 68 3a 3a 76 65 |oundp 'e|poch::ve|
|00000170| 72 73 69 6f 6e 29 20 65 | 70 6f 63 68 3a 3a 76 65 |rsion) e|poch::ve|
|00000180| 72 73 69 6f 6e 29 0a 09 | 20 20 20 20 20 28 73 74 |rsion)..| (st|
|00000190| 72 69 6e 67 2d 6c 65 73 | 73 70 20 65 6d 61 63 73 |ring-les|sp emacs|
|000001a0| 2d 76 65 72 73 69 6f 6e | 20 22 31 39 22 29 29 29 |-version| "19")))|
|000001b0| 0a 20 20 20 20 28 65 72 | 72 6f 72 20 22 54 68 69 |. (er|ror "Thi|
|000001c0| 73 20 66 69 6c 65 20 77 | 61 73 20 63 6f 6d 70 69 |s file w|as compi|
|000001d0| 6c 65 64 20 66 6f 72 20 | 45 6d 61 63 73 20 31 39 |led for |Emacs 19|
|000001e0| 2e 22 29 29 0a 0a 28 64 | 65 66 76 61 72 20 64 65 |."))..(d|efvar de|
|000001f0| 66 75 6e 2d 70 72 6f 6d | 70 74 2d 72 65 67 65 78 |fun-prom|pt-regex|
|00000200| 70 20 6e 69 6c 20 22 5c | 0a 2a 4e 6f 6e 2d 6e 69 |p nil "\|.*Non-ni|
|00000210| 6c 20 3d 3e 20 72 65 67 | 65 78 70 20 74 6f 20 69 |l => reg|exp to i|
|00000220| 67 6e 6f 72 65 2c 20 62 | 65 66 6f 72 65 20 74 68 |gnore, b|efore th|
|00000230| 65 20 63 68 61 72 61 63 | 74 65 72 20 74 68 61 74 |e charac|ter that|
|00000240| 20 73 74 61 72 74 73 20 | 61 20 64 65 66 75 6e 2e | starts |a defun.|
|00000250| 0a 54 68 69 73 20 69 73 | 20 6f 6e 6c 79 20 6e 65 |.This is| only ne|
|00000260| 63 65 73 73 61 72 79 20 | 69 66 20 74 68 65 20 6f |cessary |if the o|
|00000270| 70 65 6e 69 6e 67 20 70 | 61 72 65 6e 20 6f 72 20 |pening p|aren or |
|00000280| 62 72 61 63 65 20 69 73 | 20 6e 6f 74 20 69 6e 20 |brace is| not in |
|00000290| 63 6f 6c 75 6d 6e 20 30 | 2e 0a 53 65 65 20 60 62 |column 0|..See `b|
|000002a0| 65 67 69 6e 6e 69 6e 67 | 2d 6f 66 2d 64 65 66 75 |eginning|-of-defu|
|000002b0| 6e 27 2e 22 29 0a 28 6d | 61 6b 65 2d 76 61 72 69 |n'.").(m|ake-vari|
|000002c0| 61 62 6c 65 2d 62 75 66 | 66 65 72 2d 6c 6f 63 61 |able-buf|fer-loca|
|000002d0| 6c 20 27 64 65 66 75 6e | 2d 70 72 6f 6d 70 74 2d |l 'defun|-prompt-|
|000002e0| 72 65 67 65 78 70 29 0a | 28 64 65 66 76 61 72 20 |regexp).|(defvar |
|000002f0| 70 61 72 65 6e 73 2d 72 | 65 71 75 69 72 65 2d 73 |parens-r|equire-s|
|00000300| 70 61 63 65 73 20 74 20 | 22 5c 0a 4e 6f 6e 2d 6e |paces t |"\.Non-n|
|00000310| 69 6c 20 3d 3e 20 60 69 | 6e 73 65 72 74 2d 70 61 |il => `i|nsert-pa|
|00000320| 72 65 6e 74 68 65 73 65 | 73 27 20 73 68 6f 75 6c |renthese|s' shoul|
|00000330| 64 20 69 6e 73 65 72 74 | 20 77 68 69 74 65 73 70 |d insert| whitesp|
|00000340| 61 63 65 20 61 73 20 6e | 65 65 64 65 64 2e 22 29 |ace as n|eeded.")|
|00000350| 0a 28 66 73 65 74 20 27 | 66 6f 72 77 61 72 64 2d |.(fset '|forward-|
|00000360| 73 65 78 70 20 23 5b 28 | 26 6f 70 74 69 6f 6e 61 |sexp #[(|&optiona|
|00000370| 6c 20 61 72 67 29 20 22 | 08 ac 82 c1 10 c2 60 08 |l arg) "|......`.|
|00000380| 5c 22 ae 83 c3 08 21 62 | 88 08 c4 57 ad 82 c5 20 |\"....!b|...W... |
|00000390| 87 22 20 5b 61 72 67 20 | 31 20 73 63 61 6e 2d 73 |." [arg |1 scan-s|
|000003a0| 65 78 70 73 20 62 75 66 | 66 65 72 2d 65 6e 64 20 |exps buf|fer-end |
|000003b0| 30 20 62 61 63 6b 77 61 | 72 64 2d 70 72 65 66 69 |0 backwa|rd-prefi|
|000003c0| 78 2d 63 68 61 72 73 5d | 20 33 20 22 5c 0a 4d 6f |x-chars]| 3 "\.Mo|
|000003d0| 76 65 20 66 6f 72 77 61 | 72 64 20 61 63 72 6f 73 |ve forwa|rd acros|
|000003e0| 73 20 6f 6e 65 20 62 61 | 6c 61 6e 63 65 64 20 65 |s one ba|lanced e|
|000003f0| 78 70 72 65 73 73 69 6f | 6e 20 28 73 65 78 70 29 |xpressio|n (sexp)|
|00000400| 2e 0a 57 69 74 68 20 61 | 72 67 75 6d 65 6e 74 2c |..With a|rgument,|
|00000410| 20 64 6f 20 69 74 20 74 | 68 61 74 20 6d 61 6e 79 | do it t|hat many|
|00000420| 20 74 69 6d 65 73 2e 0a | 4e 65 67 61 74 69 76 65 | times..|Negative|
|00000430| 20 61 72 67 20 2d 4e 20 | 6d 65 61 6e 73 20 6d 6f | arg -N |means mo|
|00000440| 76 65 20 62 61 63 6b 77 | 61 72 64 20 61 63 72 6f |ve backw|ard acro|
|00000450| 73 73 20 4e 20 62 61 6c | 61 6e 63 65 64 20 65 78 |ss N bal|anced ex|
|00000460| 70 72 65 73 73 69 6f 6e | 73 2e 22 20 22 5f 70 22 |pression|s." "_p"|
|00000470| 5d 29 0a 28 66 73 65 74 | 20 27 62 61 63 6b 77 61 |]).(fset| 'backwa|
|00000480| 72 64 2d 73 65 78 70 20 | 23 5b 28 26 6f 70 74 69 |rd-sexp |#[(&opti|
|00000490| 6f 6e 61 6c 20 61 72 67 | 29 20 22 08 ac 82 c1 10 |onal arg|) ".....|
|000004a0| c2 08 5b 21 87 22 20 5b | 61 72 67 20 31 20 66 6f |..[!." [|arg 1 fo|
|000004b0| 72 77 61 72 64 2d 73 65 | 78 70 5d 20 32 20 22 5c |rward-se|xp] 2 "\|
|000004c0| 0a 4d 6f 76 65 20 62 61 | 63 6b 77 61 72 64 20 61 |.Move ba|ckward a|
|000004d0| 63 72 6f 73 73 20 6f 6e | 65 20 62 61 6c 61 6e 63 |cross on|e balanc|
|000004e0| 65 64 20 65 78 70 72 65 | 73 73 69 6f 6e 20 28 73 |ed expre|ssion (s|
|000004f0| 65 78 70 29 2e 0a 57 69 | 74 68 20 61 72 67 75 6d |exp)..Wi|th argum|
|00000500| 65 6e 74 2c 20 64 6f 20 | 69 74 20 74 68 61 74 20 |ent, do |it that |
|00000510| 6d 61 6e 79 20 74 69 6d | 65 73 2e 0a 4e 65 67 61 |many tim|es..Nega|
|00000520| 74 69 76 65 20 61 72 67 | 20 2d 4e 20 6d 65 61 6e |tive arg| -N mean|
|00000530| 73 20 6d 6f 76 65 20 66 | 6f 72 77 61 72 64 20 61 |s move f|orward a|
|00000540| 63 72 6f 73 73 20 4e 20 | 62 61 6c 61 6e 63 65 64 |cross N |balanced|
|00000550| 20 65 78 70 72 65 73 73 | 69 6f 6e 73 2e 22 20 22 | express|ions." "|
|00000560| 5f 70 22 5d 29 0a 28 66 | 73 65 74 20 27 6d 61 72 |_p"]).(f|set 'mar|
|00000570| 6b 2d 73 65 78 70 20 23 | 5b 28 61 72 67 29 20 22 |k-sexp #|[(arg) "|
|00000580| c0 c1 c2 0b 23 87 22 20 | 5b 6d 61 72 6b 2d 73 6f |....#." |[mark-so|
|00000590| 6d 65 74 68 69 6e 67 20 | 6d 61 72 6b 2d 73 65 78 |mething |mark-sex|
|000005a0| 70 20 66 6f 72 77 61 72 | 64 2d 73 65 78 70 20 61 |p forwar|d-sexp a|
|000005b0| 72 67 5d 20 34 20 22 5c | 0a 53 65 74 20 6d 61 72 |rg] 4 "\|.Set mar|
|000005c0| 6b 20 41 52 47 20 73 65 | 78 70 73 20 66 72 6f 6d |k ARG se|xps from|
|000005d0| 20 70 6f 69 6e 74 2e 0a | 54 68 65 20 70 6c 61 63 | point..|The plac|
|000005e0| 65 20 6d 61 72 6b 20 67 | 6f 65 73 20 69 73 20 74 |e mark g|oes is t|
|000005f0| 68 65 20 73 61 6d 65 20 | 70 6c 61 63 65 20 5c 5c |he same |place \\|
|00000600| 5b 66 6f 72 77 61 72 64 | 2d 73 65 78 70 5d 20 77 |[forward|-sexp] w|
|00000610| 6f 75 6c 64 20 6d 6f 76 | 65 20 74 6f 0a 77 69 74 |ould mov|e to.wit|
|00000620| 68 20 74 68 65 20 73 61 | 6d 65 20 61 72 67 75 6d |h the sa|me argum|
|00000630| 65 6e 74 2e 0a 52 65 70 | 65 61 74 20 74 68 69 73 |ent..Rep|eat this|
|00000640| 20 63 6f 6d 6d 61 6e 64 | 20 74 6f 20 6d 61 72 6b | command| to mark|
|00000650| 20 6d 6f 72 65 20 73 65 | 78 70 73 20 69 6e 20 74 | more se|xps in t|
|00000660| 68 65 20 73 61 6d 65 20 | 64 69 72 65 63 74 69 6f |he same |directio|
|00000670| 6e 2e 22 20 22 70 22 5d | 29 0a 28 66 73 65 74 20 |n." "p"]|).(fset |
|00000680| 27 66 6f 72 77 61 72 64 | 2d 6c 69 73 74 20 23 5b |'forward|-list #[|
|00000690| 28 26 6f 70 74 69 6f 6e | 61 6c 20 61 72 67 29 20 |(&option|al arg) |
|000006a0| 22 08 ac 82 c1 10 c2 60 | 08 c3 23 ae 83 c4 08 21 |"......`|..#....!|
|000006b0| 62 87 22 20 5b 61 72 67 | 20 31 20 73 63 61 6e 2d |b." [arg| 1 scan-|
|000006c0| 6c 69 73 74 73 20 30 20 | 62 75 66 66 65 72 2d 65 |lists 0 |buffer-e|
|000006d0| 6e 64 5d 20 34 20 22 5c | 0a 4d 6f 76 65 20 66 6f |nd] 4 "\|.Move fo|
|000006e0| 72 77 61 72 64 20 61 63 | 72 6f 73 73 20 6f 6e 65 |rward ac|ross one|
|000006f0| 20 62 61 6c 61 6e 63 65 | 64 20 67 72 6f 75 70 20 | balance|d group |
|00000700| 6f 66 20 70 61 72 65 6e | 74 68 65 73 65 73 2e 0a |of paren|theses..|
|00000710| 57 69 74 68 20 61 72 67 | 75 6d 65 6e 74 2c 20 64 |With arg|ument, d|
|00000720| 6f 20 69 74 20 74 68 61 | 74 20 6d 61 6e 79 20 74 |o it tha|t many t|
|00000730| 69 6d 65 73 2e 0a 4e 65 | 67 61 74 69 76 65 20 61 |imes..Ne|gative a|
|00000740| 72 67 20 2d 4e 20 6d 65 | 61 6e 73 20 6d 6f 76 65 |rg -N me|ans move|
|00000750| 20 62 61 63 6b 77 61 72 | 64 20 61 63 72 6f 73 73 | backwar|d across|
|00000760| 20 4e 20 67 72 6f 75 70 | 73 20 6f 66 20 70 61 72 | N group|s of par|
|00000770| 65 6e 74 68 65 73 65 73 | 2e 22 20 22 5f 70 22 5d |entheses|." "_p"]|
|00000780| 29 0a 28 66 73 65 74 20 | 27 62 61 63 6b 77 61 72 |).(fset |'backwar|
|00000790| 64 2d 6c 69 73 74 20 23 | 5b 28 26 6f 70 74 69 6f |d-list #|[(&optio|
|000007a0| 6e 61 6c 20 61 72 67 29 | 20 22 08 ac 82 c1 10 c2 |nal arg)| "......|
|000007b0| 08 5b 21 87 22 20 5b 61 | 72 67 20 31 20 66 6f 72 |.[!." [a|rg 1 for|
|000007c0| 77 61 72 64 2d 6c 69 73 | 74 5d 20 32 20 22 5c 0a |ward-lis|t] 2 "\.|
|000007d0| 4d 6f 76 65 20 62 61 63 | 6b 77 61 72 64 20 61 63 |Move bac|kward ac|
|000007e0| 72 6f 73 73 20 6f 6e 65 | 20 62 61 6c 61 6e 63 65 |ross one| balance|
|000007f0| 64 20 67 72 6f 75 70 20 | 6f 66 20 70 61 72 65 6e |d group |of paren|
|00000800| 74 68 65 73 65 73 2e 0a | 57 69 74 68 20 61 72 67 |theses..|With arg|
|00000810| 75 6d 65 6e 74 2c 20 64 | 6f 20 69 74 20 74 68 61 |ument, d|o it tha|
|00000820| 74 20 6d 61 6e 79 20 74 | 69 6d 65 73 2e 0a 4e 65 |t many t|imes..Ne|
|00000830| 67 61 74 69 76 65 20 61 | 72 67 20 2d 4e 20 6d 65 |gative a|rg -N me|
|00000840| 61 6e 73 20 6d 6f 76 65 | 20 66 6f 72 77 61 72 64 |ans move| forward|
|00000850| 20 61 63 72 6f 73 73 20 | 4e 20 67 72 6f 75 70 73 | across |N groups|
|00000860| 20 6f 66 20 70 61 72 65 | 6e 74 68 65 73 65 73 2e | of pare|ntheses.|
|00000870| 22 20 22 5f 70 22 5d 29 | 0a 28 66 73 65 74 20 27 |" "_p"])|.(fset '|
|00000880| 64 6f 77 6e 2d 6c 69 73 | 74 20 23 5b 28 61 72 67 |down-lis|t #[(arg|
|00000890| 29 20 22 08 c1 56 ab 83 | c2 aa 81 c3 1c 08 c1 55 |) "..V..|.......U|
|000008a0| 3f ad 93 c5 60 0c c3 23 | ae 83 c6 08 21 62 88 08 |?...`..#|....!b..|
|000008b0| 0c 5a 89 10 aa 68 29 87 | 22 20 5b 61 72 67 20 30 |.Z...h).|" [arg 0|
|000008c0| 20 31 20 2d 31 20 69 6e | 63 20 73 63 61 6e 2d 6c | 1 -1 in|c scan-l|
|000008d0| 69 73 74 73 20 62 75 66 | 66 65 72 2d 65 6e 64 5d |ists buf|fer-end]|
|000008e0| 20 35 20 22 5c 0a 4d 6f | 76 65 20 66 6f 72 77 61 | 5 "\.Mo|ve forwa|
|000008f0| 72 64 20 64 6f 77 6e 20 | 6f 6e 65 20 6c 65 76 65 |rd down |one leve|
|00000900| 6c 20 6f 66 20 70 61 72 | 65 6e 74 68 65 73 65 73 |l of par|entheses|
|00000910| 2e 0a 57 69 74 68 20 61 | 72 67 75 6d 65 6e 74 2c |..With a|rgument,|
|00000920| 20 64 6f 20 74 68 69 73 | 20 74 68 61 74 20 6d 61 | do this| that ma|
|00000930| 6e 79 20 74 69 6d 65 73 | 2e 0a 41 20 6e 65 67 61 |ny times|..A nega|
|00000940| 74 69 76 65 20 61 72 67 | 75 6d 65 6e 74 20 6d 65 |tive arg|ument me|
|00000950| 61 6e 73 20 6d 6f 76 65 | 20 62 61 63 6b 77 61 72 |ans move| backwar|
|00000960| 64 20 62 75 74 20 73 74 | 69 6c 6c 20 67 6f 20 64 |d but st|ill go d|
|00000970| 6f 77 6e 20 61 20 6c 65 | 76 65 6c 2e 0a 49 6e 20 |own a le|vel..In |
|00000980| 4c 69 73 70 20 70 72 6f | 67 72 61 6d 73 2c 20 61 |Lisp pro|grams, a|
|00000990| 6e 20 61 72 67 75 6d 65 | 6e 74 20 69 73 20 72 65 |n argume|nt is re|
|000009a0| 71 75 69 72 65 64 2e 22 | 20 22 5f 70 22 5d 29 0a |quired."| "_p"]).|
|000009b0| 28 66 73 65 74 20 27 62 | 61 63 6b 77 61 72 64 2d |(fset 'b|ackward-|
|000009c0| 75 70 2d 6c 69 73 74 20 | 23 5b 28 61 72 67 29 20 |up-list |#[(arg) |
|000009d0| 22 c0 09 5b 21 87 22 20 | 5b 75 70 2d 6c 69 73 74 |"..[!." |[up-list|
|000009e0| 20 61 72 67 5d 20 32 20 | 22 5c 0a 4d 6f 76 65 20 | arg] 2 |"\.Move |
|000009f0| 62 61 63 6b 77 61 72 64 | 20 6f 75 74 20 6f 66 20 |backward| out of |
|00000a00| 6f 6e 65 20 6c 65 76 65 | 6c 20 6f 66 20 70 61 72 |one leve|l of par|
|00000a10| 65 6e 74 68 65 73 65 73 | 2e 0a 57 69 74 68 20 61 |entheses|..With a|
|00000a20| 72 67 75 6d 65 6e 74 2c | 20 64 6f 20 74 68 69 73 |rgument,| do this|
|00000a30| 20 74 68 61 74 20 6d 61 | 6e 79 20 74 69 6d 65 73 | that ma|ny times|
|00000a40| 2e 0a 41 20 6e 65 67 61 | 74 69 76 65 20 61 72 67 |..A nega|tive arg|
|00000a50| 75 6d 65 6e 74 20 6d 65 | 61 6e 73 20 6d 6f 76 65 |ument me|ans move|
|00000a60| 20 66 6f 72 77 61 72 64 | 20 62 75 74 20 73 74 69 | forward| but sti|
|00000a70| 6c 6c 20 74 6f 20 61 20 | 6c 65 73 73 20 64 65 65 |ll to a |less dee|
|00000a80| 70 20 73 70 6f 74 2e 0a | 49 6e 20 4c 69 73 70 20 |p spot..|In Lisp |
|00000a90| 70 72 6f 67 72 61 6d 73 | 2c 20 61 6e 20 61 72 67 |programs|, an arg|
|00000aa0| 75 6d 65 6e 74 20 69 73 | 20 72 65 71 75 69 72 65 |ument is| require|
|00000ab0| 64 2e 22 20 22 70 22 5d | 29 0a 28 66 73 65 74 20 |d." "p"]|).(fset |
|00000ac0| 27 75 70 2d 6c 69 73 74 | 20 23 5b 28 61 72 67 29 |'up-list| #[(arg)|
|00000ad0| 20 22 08 c1 56 ab 83 c2 | aa 81 c3 1c 08 c1 55 3f | "..V...|......U?|
|00000ae0| ad 93 c5 60 0c c2 23 ae | 83 c6 08 21 62 88 08 0c |...`..#.|...!b...|
|00000af0| 5a 89 10 aa 68 29 87 22 | 20 5b 61 72 67 20 30 20 |Z...h)."| [arg 0 |
|00000b00| 31 20 2d 31 20 69 6e 63 | 20 73 63 61 6e 2d 6c 69 |1 -1 inc| scan-li|
|00000b10| 73 74 73 20 62 75 66 66 | 65 72 2d 65 6e 64 5d 20 |sts buff|er-end] |
|00000b20| 35 20 22 5c 0a 4d 6f 76 | 65 20 66 6f 72 77 61 72 |5 "\.Mov|e forwar|
|00000b30| 64 20 6f 75 74 20 6f 66 | 20 6f 6e 65 20 6c 65 76 |d out of| one lev|
|00000b40| 65 6c 20 6f 66 20 70 61 | 72 65 6e 74 68 65 73 65 |el of pa|renthese|
|00000b50| 73 2e 0a 57 69 74 68 20 | 61 72 67 75 6d 65 6e 74 |s..With |argument|
|00000b60| 2c 20 64 6f 20 74 68 69 | 73 20 74 68 61 74 20 6d |, do thi|s that m|
|00000b70| 61 6e 79 20 74 69 6d 65 | 73 2e 0a 41 20 6e 65 67 |any time|s..A neg|
|00000b80| 61 74 69 76 65 20 61 72 | 67 75 6d 65 6e 74 20 6d |ative ar|gument m|
|00000b90| 65 61 6e 73 20 6d 6f 76 | 65 20 62 61 63 6b 77 61 |eans mov|e backwa|
|00000ba0| 72 64 20 62 75 74 20 73 | 74 69 6c 6c 20 74 6f 20 |rd but s|till to |
|00000bb0| 61 20 6c 65 73 73 20 64 | 65 65 70 20 73 70 6f 74 |a less d|eep spot|
|00000bc0| 2e 0a 49 6e 20 4c 69 73 | 70 20 70 72 6f 67 72 61 |..In Lis|p progra|
|00000bd0| 6d 73 2c 20 61 6e 20 61 | 72 67 75 6d 65 6e 74 20 |ms, an a|rgument |
|00000be0| 69 73 20 72 65 71 75 69 | 72 65 64 2e 22 20 22 5f |is requi|red." "_|
|00000bf0| 70 22 5d 29 0a 28 66 73 | 65 74 20 27 6b 69 6c 6c |p"]).(fs|et 'kill|
|00000c00| 2d 73 65 78 70 20 23 5b | 28 61 72 67 29 20 22 60 |-sexp #[|(arg) "`|
|00000c10| 18 c1 5c 6e 21 88 c3 08 | 60 5c 22 29 87 22 20 5b |..\n!...|`\")." [|
|00000c20| 6f 70 6f 69 6e 74 20 66 | 6f 72 77 61 72 64 2d 73 |opoint f|orward-s|
|00000c30| 65 78 70 20 61 72 67 20 | 6b 69 6c 6c 2d 72 65 67 |exp arg |kill-reg|
|00000c40| 69 6f 6e 5d 20 33 20 22 | 5c 0a 4b 69 6c 6c 20 74 |ion] 3 "|\.Kill t|
|00000c50| 68 65 20 73 65 78 70 20 | 28 62 61 6c 61 6e 63 65 |he sexp |(balance|
|00000c60| 64 20 65 78 70 72 65 73 | 73 69 6f 6e 29 20 66 6f |d expres|sion) fo|
|00000c70| 6c 6c 6f 77 69 6e 67 20 | 74 68 65 20 63 75 72 73 |llowing |the curs|
|00000c80| 6f 72 2e 0a 57 69 74 68 | 20 61 72 67 75 6d 65 6e |or..With| argumen|
|00000c90| 74 2c 20 6b 69 6c 6c 20 | 74 68 61 74 20 6d 61 6e |t, kill |that man|
|00000ca0| 79 20 73 65 78 70 73 20 | 61 66 74 65 72 20 74 68 |y sexps |after th|
|00000cb0| 65 20 63 75 72 73 6f 72 | 2e 0a 4e 65 67 61 74 69 |e cursor|..Negati|
|00000cc0| 76 65 20 61 72 67 20 2d | 4e 20 6d 65 61 6e 73 20 |ve arg -|N means |
|00000cd0| 6b 69 6c 6c 20 4e 20 73 | 65 78 70 73 20 62 65 66 |kill N s|exps bef|
|00000ce0| 6f 72 65 20 74 68 65 20 | 63 75 72 73 6f 72 2e 22 |ore the |cursor."|
|00000cf0| 20 22 70 22 5d 29 0a 28 | 66 73 65 74 20 27 62 61 | "p"]).(|fset 'ba|
|00000d00| 63 6b 77 61 72 64 2d 6b | 69 6c 6c 2d 73 65 78 70 |ckward-k|ill-sexp|
|00000d10| 20 23 5b 28 61 72 67 29 | 20 22 c0 09 5b 21 87 22 | #[(arg)| "..[!."|
|00000d20| 20 5b 6b 69 6c 6c 2d 73 | 65 78 70 20 61 72 67 5d | [kill-s|exp arg]|
|00000d30| 20 32 20 22 5c 0a 4b 69 | 6c 6c 20 74 68 65 20 73 | 2 "\.Ki|ll the s|
|00000d40| 65 78 70 20 28 62 61 6c | 61 6e 63 65 64 20 65 78 |exp (bal|anced ex|
|00000d50| 70 72 65 73 73 69 6f 6e | 29 20 70 72 65 63 65 64 |pression|) preced|
|00000d60| 69 6e 67 20 74 68 65 20 | 63 75 72 73 6f 72 2e 0a |ing the |cursor..|
|00000d70| 57 69 74 68 20 61 72 67 | 75 6d 65 6e 74 2c 20 6b |With arg|ument, k|
|00000d80| 69 6c 6c 20 74 68 61 74 | 20 6d 61 6e 79 20 73 65 |ill that| many se|
|00000d90| 78 70 73 20 62 65 66 6f | 72 65 20 74 68 65 20 63 |xps befo|re the c|
|00000da0| 75 72 73 6f 72 2e 0a 4e | 65 67 61 74 69 76 65 20 |ursor..N|egative |
|00000db0| 61 72 67 20 2d 4e 20 6d | 65 61 6e 73 20 6b 69 6c |arg -N m|eans kil|
|00000dc0| 6c 20 4e 20 73 65 78 70 | 73 20 61 66 74 65 72 20 |l N sexp|s after |
|00000dd0| 74 68 65 20 63 75 72 73 | 6f 72 2e 22 20 22 70 22 |the curs|or." "p"|
|00000de0| 5d 29 0a 28 66 73 65 74 | 20 27 62 65 67 69 6e 6e |]).(fset| 'beginn|
|00000df0| 69 6e 67 2d 6f 66 2d 64 | 65 66 75 6e 20 23 5b 28 |ing-of-d|efun #[(|
|00000e00| 26 6f 70 74 69 6f 6e 61 | 6c 20 61 72 67 29 20 22 |&optiona|l arg) "|
|00000e10| c0 09 21 ad 84 c2 79 88 | c3 87 22 20 5b 62 65 67 |..!...y.|.." [beg|
|00000e20| 69 6e 6e 69 6e 67 2d 6f | 66 2d 64 65 66 75 6e 2d |inning-o|f-defun-|
|00000e30| 72 61 77 20 61 72 67 20 | 30 20 74 5d 20 32 20 22 |raw arg |0 t] 2 "|
|00000e40| 5c 0a 4d 6f 76 65 20 62 | 61 63 6b 77 61 72 64 20 |\.Move b|ackward |
|00000e50| 74 6f 20 74 68 65 20 62 | 65 67 69 6e 6e 69 6e 67 |to the b|eginning|
|00000e60| 20 6f 66 20 61 20 64 65 | 66 75 6e 2e 0a 57 69 74 | of a de|fun..Wit|
|00000e70| 68 20 61 72 67 75 6d 65 | 6e 74 2c 20 64 6f 20 69 |h argume|nt, do i|
|00000e80| 74 20 74 68 61 74 20 6d | 61 6e 79 20 74 69 6d 65 |t that m|any time|
|00000e90| 73 2e 20 20 4e 65 67 61 | 74 69 76 65 20 61 72 67 |s. Nega|tive arg|
|00000ea0| 20 2d 4e 0a 6d 65 61 6e | 73 20 6d 6f 76 65 20 66 | -N.mean|s move f|
|00000eb0| 6f 72 77 61 72 64 20 74 | 6f 20 4e 74 68 20 66 6f |orward t|o Nth fo|
|00000ec0| 6c 6c 6f 77 69 6e 67 20 | 62 65 67 69 6e 6e 69 6e |llowing |beginnin|
|00000ed0| 67 20 6f 66 20 64 65 66 | 75 6e 2e 0a 52 65 74 75 |g of def|un..Retu|
|00000ee0| 72 6e 73 20 74 20 75 6e | 6c 65 73 73 20 73 65 61 |rns t un|less sea|
|00000ef0| 72 63 68 20 73 74 6f 70 | 73 20 64 75 65 20 74 6f |rch stop|s due to|
|00000f00| 20 62 65 67 69 6e 6e 69 | 6e 67 20 6f 72 20 65 6e | beginni|ng or en|
|00000f10| 64 20 6f 66 20 62 75 66 | 66 65 72 2e 0a 0a 4e 6f |d of buf|fer...No|
|00000f20| 72 6d 61 6c 6c 79 20 61 | 20 64 65 66 75 6e 20 73 |rmally a| defun s|
|00000f30| 74 61 72 74 73 20 77 68 | 65 6e 20 74 68 65 72 65 |tarts wh|en there|
|00000f40| 20 69 73 20 61 6e 20 63 | 68 61 72 20 77 69 74 68 | is an c|har with|
|00000f50| 20 6f 70 65 6e 2d 70 61 | 72 65 6e 74 68 65 73 69 | open-pa|renthesi|
|00000f60| 73 0a 73 79 6e 74 61 78 | 20 61 74 20 74 68 65 20 |s.syntax| at the |
|00000f70| 62 65 67 69 6e 6e 69 6e | 67 20 6f 66 20 61 20 6c |beginnin|g of a l|
|00000f80| 69 6e 65 2e 20 20 49 66 | 20 60 64 65 66 75 6e 2d |ine. If| `defun-|
|00000f90| 70 72 6f 6d 70 74 2d 72 | 65 67 65 78 70 27 20 69 |prompt-r|egexp' i|
|00000fa0| 73 0a 6e 6f 6e 2d 6e 69 | 6c 2c 20 74 68 65 6e 20 |s.non-ni|l, then |
|00000fb0| 61 20 73 74 72 69 6e 67 | 20 77 68 69 63 68 20 6d |a string| which m|
|00000fc0| 61 74 63 68 65 73 20 74 | 68 61 74 20 72 65 67 65 |atches t|hat rege|
|00000fd0| 78 70 20 6d 61 79 20 70 | 72 65 63 65 64 65 20 74 |xp may p|recede t|
|00000fe0| 68 65 0a 6f 70 65 6e 2d | 70 61 72 65 6e 74 68 65 |he.open-|parenthe|
|00000ff0| 73 69 73 2c 20 61 6e 64 | 20 70 6f 69 6e 74 20 65 |sis, and| point e|
|00001000| 6e 64 73 20 75 70 20 61 | 74 20 74 68 65 20 62 65 |nds up a|t the be|
|00001010| 67 69 6e 6e 69 6e 67 20 | 6f 66 20 74 68 65 20 6c |ginning |of the l|
|00001020| 69 6e 65 2e 22 20 22 5f | 70 22 5d 29 0a 28 66 73 |ine." "_|p"]).(fs|
|00001030| 65 74 20 27 62 65 67 69 | 6e 6e 69 6e 67 2d 6f 66 |et 'begi|nning-of|
|00001040| 2d 64 65 66 75 6e 2d 72 | 61 77 20 23 5b 28 26 6f |-defun-r|aw #[(&o|
|00001050| 70 74 69 6f 6e 61 6c 20 | 61 72 67 29 20 22 08 ab |ptional |arg) "..|
|00001060| 8b 08 c1 57 ab 86 6d ac | 83 c2 75 88 c3 0c ab 87 |...W..m.|..u.....|
|00001070| c5 c6 0c c7 52 aa 81 c8 | c9 ca 08 ae 81 c2 24 ad |....R...|......$.|
|00001080| 87 c1 95 53 62 ad 81 cb | 87 22 20 5b 61 72 67 20 |...Sb...|." [arg |
|00001090| 30 20 31 20 72 65 2d 73 | 65 61 72 63 68 2d 62 61 |0 1 re-s|earch-ba|
|000010a0| 63 6b 77 61 72 64 20 64 | 65 66 75 6e 2d 70 72 6f |ckward d|efun-pro|
|000010b0| 6d 70 74 2d 72 65 67 65 | 78 70 20 22 5e 5c 5c 73 |mpt-rege|xp "^\\s|
|000010c0| 28 5c 5c 7c 22 20 22 5c | 5c 28 22 20 22 5c 5c 29 |(\\|" "\|\(" "\\)|
|000010d0| 5c 5c 73 28 22 20 22 5e | 5c 5c 73 28 22 20 6e 69 |\\s(" "^|\\s(" ni|
|000010e0| 6c 20 6d 6f 76 65 20 74 | 5d 20 35 20 22 5c 0a 4d |l move t|] 5 "\.M|
|000010f0| 6f 76 65 20 70 6f 69 6e | 74 20 74 6f 20 74 68 65 |ove poin|t to the|
|00001100| 20 63 68 61 72 61 63 74 | 65 72 20 74 68 61 74 20 | charact|er that |
|00001110| 73 74 61 72 74 73 20 61 | 20 64 65 66 75 6e 2e 0a |starts a| defun..|
|00001120| 54 68 69 73 20 69 73 20 | 69 64 65 6e 74 69 63 61 |This is |identica|
|00001130| 6c 20 74 6f 20 62 65 67 | 69 6e 6e 69 6e 67 2d 6f |l to beg|inning-o|
|00001140| 66 2d 64 65 66 75 6e 2c | 20 65 78 63 65 70 74 20 |f-defun,| except |
|00001150| 74 68 61 74 20 70 6f 69 | 6e 74 20 64 6f 65 73 20 |that poi|nt does |
|00001160| 6e 6f 74 20 6d 6f 76 65 | 0a 74 6f 20 74 68 65 20 |not move|.to the |
|00001170| 62 65 67 69 6e 6e 69 6e | 67 20 6f 66 20 74 68 65 |beginnin|g of the|
|00001180| 20 6c 69 6e 65 20 77 68 | 65 6e 20 60 64 65 66 75 | line wh|en `defu|
|00001190| 6e 2d 70 72 6f 6d 70 74 | 2d 72 65 67 65 78 70 27 |n-prompt|-regexp'|
|000011a0| 20 69 73 20 6e 6f 6e 2d | 6e 69 6c 2e 22 20 22 70 | is non-|nil." "p|
|000011b0| 22 5d 29 0a 28 66 73 65 | 74 20 27 62 75 66 66 65 |"]).(fse|t 'buffe|
|000011c0| 72 2d 65 6e 64 20 23 5b | 28 61 72 67 29 20 22 08 |r-end #[|(arg) ".|
|000011d0| c1 56 ab 82 64 87 65 87 | 22 20 5b 61 72 67 20 30 |.V..d.e.|" [arg 0|
|000011e0| 5d 20 32 5d 29 0a 28 66 | 73 65 74 20 27 65 6e 64 |] 2]).(f|set 'end|
|000011f0| 2d 6f 66 2d 64 65 66 75 | 6e 20 23 5b 28 26 6f 70 |-of-defu|n #[(&op|
|00001200| 74 69 6f 6e 61 6c 20 61 | 72 67 29 20 22 08 ab 85 |tional a|rg) "...|
|00001210| 08 c1 55 ab 82 c2 10 c3 | 1c 08 c1 56 ab ba 60 64 |..U.....|...V..`d|
|00001220| 57 ab b5 60 1d 0c ab 88 | c2 7f 88 c6 c2 21 ac 8a |W..`....|.....!..|
|00001230| 6f ac 83 c7 75 88 c6 c7 | 21 88 c8 14 c9 c2 21 88 |o...u...|!.....!.|
|00001240| ca c8 77 88 cb cc 21 ab | 83 c2 79 88 60 0d 58 ac |..w...!.|..y.`.X.|
|00001250| 54 29 08 53 89 10 aa 42 | 08 c1 57 ad b3 60 1d c6 |T).S...B|..W..`..|
|00001260| c2 21 88 cd c2 21 88 c2 | 79 88 60 0d 59 ab 9a c6 |.!...!..|y.`.Y...|
|00001270| ce 21 ab 92 c9 c2 21 88 | ca c8 77 88 cb cc 21 ab |.!....!.|..w...!.|
|00001280| 88 c2 79 88 aa 83 65 62 | 88 29 08 54 89 10 aa 49 |..y...eb|.).T...I|
|00001290| 29 87 22 20 5b 61 72 67 | 20 30 20 31 20 74 20 66 |)." [arg| 0 1 t f|
|000012a0| 69 72 73 74 20 70 6f 73 | 20 62 65 67 69 6e 6e 69 |irst pos| beginni|
|000012b0| 6e 67 2d 6f 66 2d 64 65 | 66 75 6e 2d 72 61 77 20 |ng-of-de|fun-raw |
|000012c0| 2d 31 20 6e 69 6c 20 66 | 6f 72 77 61 72 64 2d 6c |-1 nil f|orward-l|
|000012d0| 69 73 74 20 22 20 09 22 | 20 6c 6f 6f 6b 69 6e 67 |ist " ."| looking|
|000012e0| 2d 61 74 20 22 5c 5c 73 | 3c 5c 5c 7c 5c 6e 22 20 |-at "\\s|<\\|\n" |
|000012f0| 66 6f 72 77 61 72 64 2d | 73 65 78 70 20 32 5d 20 |forward-|sexp 2] |
|00001300| 33 20 22 5c 0a 4d 6f 76 | 65 20 66 6f 72 77 61 72 |3 "\.Mov|e forwar|
|00001310| 64 20 74 6f 20 6e 65 78 | 74 20 65 6e 64 20 6f 66 |d to nex|t end of|
|00001320| 20 64 65 66 75 6e 2e 20 | 20 57 69 74 68 20 61 72 | defun. | With ar|
|00001330| 67 75 6d 65 6e 74 2c 20 | 64 6f 20 69 74 20 74 68 |gument, |do it th|
|00001340| 61 74 20 6d 61 6e 79 20 | 74 69 6d 65 73 2e 0a 4e |at many |times..N|
|00001350| 65 67 61 74 69 76 65 20 | 61 72 67 75 6d 65 6e 74 |egative |argument|
|00001360| 20 2d 4e 20 6d 65 61 6e | 73 20 6d 6f 76 65 20 62 | -N mean|s move b|
|00001370| 61 63 6b 20 74 6f 20 4e | 74 68 20 70 72 65 63 65 |ack to N|th prece|
|00001380| 64 69 6e 67 20 65 6e 64 | 20 6f 66 20 64 65 66 75 |ding end| of defu|
|00001390| 6e 2e 0a 0a 41 6e 20 65 | 6e 64 20 6f 66 20 61 20 |n...An e|nd of a |
|000013a0| 64 65 66 75 6e 20 6f 63 | 63 75 72 73 20 72 69 67 |defun oc|curs rig|
|000013b0| 68 74 20 61 66 74 65 72 | 20 74 68 65 20 63 6c 6f |ht after| the clo|
|000013c0| 73 65 2d 70 61 72 65 6e | 74 68 65 73 69 73 20 74 |se-paren|thesis t|
|000013d0| 68 61 74 20 6d 61 74 63 | 68 65 73 0a 74 68 65 20 |hat matc|hes.the |
|000013e0| 6f 70 65 6e 2d 70 61 72 | 65 6e 74 68 65 73 69 73 |open-par|enthesis|
|000013f0| 20 74 68 61 74 20 73 74 | 61 72 74 73 20 61 20 64 | that st|arts a d|
|00001400| 65 66 75 6e 3b 20 73 65 | 65 20 60 62 65 67 69 6e |efun; se|e `begin|
|00001410| 6e 69 6e 67 2d 6f 66 2d | 64 65 66 75 6e 27 2e 22 |ning-of-|defun'."|
|00001420| 20 22 5f 70 22 5d 29 0a | 28 66 73 65 74 20 27 6d | "_p"]).|(fset 'm|
|00001430| 61 72 6b 2d 64 65 66 75 | 6e 20 23 5b 6e 69 6c 20 |ark-defu|n #[nil |
|00001440| 22 c0 60 21 88 c1 20 88 | c0 60 c2 c3 23 88 c4 20 |".`!.. .|.`..#.. |
|00001450| 88 c5 c6 60 c7 5a c3 23 | 87 22 20 5b 70 75 73 68 |...`.Z.#|." [push|
|00001460| 2d 6d 61 72 6b 20 65 6e | 64 2d 6f 66 2d 64 65 66 |-mark en|d-of-def|
|00001470| 75 6e 20 6e 69 6c 20 74 | 20 62 65 67 69 6e 6e 69 |un nil t| beginni|
|00001480| 6e 67 2d 6f 66 2d 64 65 | 66 75 6e 20 72 65 2d 73 |ng-of-de|fun re-s|
|00001490| 65 61 72 63 68 2d 62 61 | 63 6b 77 61 72 64 20 22 |earch-ba|ckward "|
|000014a0| 5e 5c 6e 22 20 31 5d 20 | 34 20 22 5c 0a 50 75 74 |^\n" 1] |4 "\.Put|
|000014b0| 20 6d 61 72 6b 20 61 74 | 20 65 6e 64 20 6f 66 20 | mark at| end of |
|000014c0| 74 68 69 73 20 64 65 66 | 75 6e 2c 20 70 6f 69 6e |this def|un, poin|
|000014d0| 74 20 61 74 20 62 65 67 | 69 6e 6e 69 6e 67 2e 0a |t at beg|inning..|
|000014e0| 54 68 65 20 64 65 66 75 | 6e 20 6d 61 72 6b 65 64 |The defu|n marked|
|000014f0| 20 69 73 20 74 68 65 20 | 6f 6e 65 20 74 68 61 74 | is the |one that|
|00001500| 20 63 6f 6e 74 61 69 6e | 73 20 70 6f 69 6e 74 20 | contain|s point |
|00001510| 6f 72 20 66 6f 6c 6c 6f | 77 73 20 70 6f 69 6e 74 |or follo|ws point|
|00001520| 2e 22 20 6e 69 6c 5d 29 | 0a 28 66 73 65 74 20 27 |." nil])|.(fset '|
|00001530| 69 6e 73 65 72 74 2d 70 | 61 72 65 6e 74 68 65 73 |insert-p|arenthes|
|00001540| 65 73 20 23 5b 28 61 72 | 67 29 20 22 08 ab 86 c1 |es #[(ar|g) "....|
|00001550| 08 21 10 aa 82 c2 10 08 | c2 3d ac 84 c3 c4 77 88 |.!......|.=....w.|
|00001560| 0d ab 8c 6f ac 89 68 7a | c6 3e ab 83 c7 63 88 c8 |...o..hz|.>...c..|
|00001570| 63 88 8a 08 c2 3d ac 84 | c9 08 21 88 ca 63 88 0d |c....=..|..!..c..|
|00001580| ad 8c 6d 3f ad 88 67 7a | cb 3e ad 82 c7 63 29 87 |..m?..gz|.>...c).|
|00001590| 22 20 5b 61 72 67 20 70 | 72 65 66 69 78 2d 6e 75 |" [arg p|refix-nu|
|000015a0| 6d 65 72 69 63 2d 76 61 | 6c 75 65 20 30 20 22 20 |meric-va|lue 0 " |
|000015b0| 09 22 20 6e 69 6c 20 70 | 61 72 65 6e 73 2d 72 65 |." nil p|arens-re|
|000015c0| 71 75 69 72 65 2d 73 70 | 61 63 65 73 20 28 31 31 |quire-sp|aces (11|
|000015d0| 39 20 39 35 20 34 31 29 | 20 22 20 22 20 34 30 20 |9 95 41)| " " 40 |
|000015e0| 66 6f 72 77 61 72 64 2d | 73 65 78 70 20 34 31 20 |forward-|sexp 41 |
|000015f0| 28 31 31 39 20 39 35 20 | 34 30 29 5d 20 32 20 22 |(119 95 |40)] 2 "|
|00001600| 5c 0a 50 75 74 20 70 61 | 72 65 6e 74 68 65 73 65 |\.Put pa|renthese|
|00001610| 73 20 61 72 6f 75 6e 64 | 20 6e 65 78 74 20 41 52 |s around| next AR|
|00001620| 47 20 73 65 78 70 73 2e | 20 20 4c 65 61 76 65 20 |G sexps.| Leave |
|00001630| 70 6f 69 6e 74 20 61 66 | 74 65 72 20 6f 70 65 6e |point af|ter open|
|00001640| 2d 70 61 72 65 6e 2e 0a | 4e 6f 20 61 72 67 75 6d |-paren..|No argum|
|00001650| 65 6e 74 20 69 73 20 65 | 71 75 69 76 61 6c 65 6e |ent is e|quivalen|
|00001660| 74 20 74 6f 20 7a 65 72 | 6f 3a 20 6a 75 73 74 20 |t to zer|o: just |
|00001670| 69 6e 73 65 72 74 20 60 | 28 29 27 20 61 6e 64 20 |insert `|()' and |
|00001680| 6c 65 61 76 65 20 70 6f | 69 6e 74 20 62 65 74 77 |leave po|int betw|
|00001690| 65 65 6e 2e 0a 49 66 20 | 60 70 61 72 65 6e 73 2d |een..If |`parens-|
|000016a0| 72 65 71 75 69 72 65 2d | 73 70 61 63 65 73 27 20 |require-|spaces' |
|000016b0| 69 73 20 6e 6f 6e 2d 6e | 69 6c 2c 20 74 68 69 73 |is non-n|il, this|
|000016c0| 20 63 6f 6d 6d 61 6e 64 | 20 61 6c 73 6f 20 69 6e | command| also in|
|000016d0| 73 65 72 74 73 20 61 20 | 73 70 61 63 65 0a 62 65 |serts a |space.be|
|000016e0| 66 6f 72 65 20 61 6e 64 | 20 61 66 74 65 72 2c 20 |fore and| after, |
|000016f0| 64 65 70 65 6e 64 69 6e | 67 20 6f 6e 20 74 68 65 |dependin|g on the|
|00001700| 20 73 75 72 72 6f 75 6e | 64 69 6e 67 20 63 68 61 | surroun|ding cha|
|00001710| 72 61 63 74 65 72 73 2e | 22 20 22 50 22 5d 29 0a |racters.|" "P"]).|
|00001720| 28 66 73 65 74 20 27 6d | 6f 76 65 2d 70 61 73 74 |(fset 'm|ove-past|
|00001730| 2d 63 6c 6f 73 65 2d 61 | 6e 64 2d 72 65 69 6e 64 |-close-a|nd-reind|
|00001740| 65 6e 74 20 23 5b 6e 69 | 6c 20 22 c0 c1 21 88 c2 |ent #[ni|l "..!..|
|00001750| 75 88 8a 60 1b c4 20 88 | 60 0b 55 2a ab 85 c5 20 |u..`.. .|`.U*... |
|00001760| 88 aa 6f c1 75 88 c6 20 | 87 22 20 5b 75 70 2d 6c |..o.u.. |." [up-l|
|00001770| 69 73 74 20 31 20 2d 31 | 20 62 65 66 6f 72 65 2d |ist 1 -1| before-|
|00001780| 70 61 72 65 6e 20 62 61 | 63 6b 2d 74 6f 2d 69 6e |paren ba|ck-to-in|
|00001790| 64 65 6e 74 61 74 69 6f | 6e 20 64 65 6c 65 74 65 |dentatio|n delete|
|000017a0| 2d 69 6e 64 65 6e 74 61 | 74 69 6f 6e 20 6e 65 77 |-indenta|tion new|
|000017b0| 6c 69 6e 65 2d 61 6e 64 | 2d 69 6e 64 65 6e 74 5d |line-and|-indent]|
|000017c0| 20 32 20 22 5c 0a 4d 6f | 76 65 20 70 61 73 74 20 | 2 "\.Mo|ve past |
|000017d0| 6e 65 78 74 20 60 29 27 | 2c 20 64 65 6c 65 74 65 |next `)'|, delete|
|000017e0| 20 69 6e 64 65 6e 74 61 | 74 69 6f 6e 20 62 65 66 | indenta|tion bef|
|000017f0| 6f 72 65 20 69 74 2c 20 | 74 68 65 6e 20 69 6e 64 |ore it, |then ind|
|00001800| 65 6e 74 20 61 66 74 65 | 72 20 69 74 2e 22 20 6e |ent afte|r it." n|
|00001810| 69 6c 5d 29 0a 28 66 73 | 65 74 20 27 6c 69 73 70 |il]).(fs|et 'lisp|
|00001820| 2d 63 6f 6d 70 6c 65 74 | 65 2d 73 79 6d 62 6f 6c |-complet|e-symbol|
|00001830| 20 23 5b 6e 69 6c 20 22 | 60 18 c1 20 1a c3 8e 8a | #[nil "|`.. ....|
|00001840| 0c ab 84 c5 0c 21 88 c6 | c7 21 88 67 7a c8 55 ab |.....!..|.!.gz.U.|
|00001850| 85 c7 75 88 aa 75 60 2a | 89 1e 09 08 7b 1e 5c 6e |..u..u`*|....{.\n|
|00001860| 0e 09 53 66 cb 3d ab 83 | cc aa 81 cd 1e 0e cf 0e |..Sf.=..|........|
|00001870| 5c 6e 0e 10 0e 0e 23 89 | 1e 11 d2 3d ae ec 0e 11 |\n....#.|...=....|
|00001880| ac 8a d3 d4 0e 5c 6e 5c | 22 88 d5 20 aa de 0e 5c |.....\n\|".. ...\|
|00001890| 6e 0e 11 98 ac 8a 0e 09 | 08 7c 88 0e 11 63 aa cd |n.......|.|...c..|
|000018a0| d3 d6 21 88 d7 0e 5c 6e | 0e 10 0e 0e 23 1e 18 0e |..!...\n|....#...|
|000018b0| 0e cc 3d ac ad d9 1e 1a | 0e 18 ab a0 cc db 0e 18 |..=.....|........|
|000018c0| 40 21 21 ab 87 0e 18 40 | dc 44 aa 83 0e 18 40 0e |@!!....@|.D....@.|
|000018d0| 1a 42 16 1a 0e 18 41 89 | 16 18 ac 60 0e 1a 9f 16 |.B....A.|...`....|
|000018e0| 18 29 dd 90 de 0e 18 21 | 91 88 29 d3 df 21 2e 06 |.).....!|..)..!..|
|000018f0| 87 22 20 5b 65 6e 64 20 | 73 79 6e 74 61 78 2d 74 |." [end |syntax-t|
|00001900| 61 62 6c 65 20 62 75 66 | 66 65 72 2d 73 79 6e 74 |able buf|fer-synt|
|00001910| 61 78 20 28 28 73 65 74 | 2d 73 79 6e 74 61 78 2d |ax ((set|-syntax-|
|00001920| 74 61 62 6c 65 20 62 75 | 66 66 65 72 2d 73 79 6e |table bu|ffer-syn|
|00001930| 74 61 78 29 29 20 65 6d | 61 63 73 2d 6c 69 73 70 |tax)) em|acs-lisp|
|00001940| 2d 6d 6f 64 65 2d 73 79 | 6e 74 61 78 2d 74 61 62 |-mode-sy|ntax-tab|
|00001950| 6c 65 20 73 65 74 2d 73 | 79 6e 74 61 78 2d 74 61 |le set-s|yntax-ta|
|00001960| 62 6c 65 20 62 61 63 6b | 77 61 72 64 2d 73 65 78 |ble back|ward-sex|
|00001970| 70 20 31 20 33 39 20 62 | 65 67 20 70 61 74 74 65 |p 1 39 b|eg patte|
|00001980| 72 6e 20 34 30 20 66 62 | 6f 75 6e 64 70 20 23 5b |rn 40 fb|oundp #[|
|00001990| 28 73 79 6d 29 20 22 c0 | 09 21 ae 88 c2 09 21 ae |(sym) ".|.!....!.|
|000019a0| 83 c3 09 21 87 22 20 5b | 62 6f 75 6e 64 70 20 73 |...!." [|boundp s|
|000019b0| 79 6d 20 66 62 6f 75 6e | 64 70 20 73 79 6d 62 6f |ym fboun|dp symbo|
|000019c0| 6c 2d 70 6c 69 73 74 5d | 20 32 5d 20 70 72 65 64 |l-plist]| 2] pred|
|000019d0| 69 63 61 74 65 20 74 72 | 79 2d 63 6f 6d 70 6c 65 |icate tr|y-comple|
|000019e0| 74 69 6f 6e 20 6f 62 61 | 72 72 61 79 20 63 6f 6d |tion oba|rray com|
|000019f0| 70 6c 65 74 69 6f 6e 20 | 74 20 6d 65 73 73 61 67 |pletion |t messag|
|00001a00| 65 20 22 43 61 6e 27 74 | 20 66 69 6e 64 20 63 6f |e "Can't| find co|
|00001a10| 6d 70 6c 65 74 69 6f 6e | 20 66 6f 72 20 5c 22 25 |mpletion| for \"%|
|00001a20| 73 5c 22 22 20 64 69 6e | 67 20 22 4d 61 6b 69 6e |s\"" din|g "Makin|
|00001a30| 67 20 63 6f 6d 70 6c 65 | 74 69 6f 6e 20 6c 69 73 |g comple|tion lis|
|00001a40| 74 2e 2e 2e 22 20 61 6c | 6c 2d 63 6f 6d 70 6c 65 |t..." al|l-comple|
|00001a50| 74 69 6f 6e 73 20 6c 69 | 73 74 20 6e 69 6c 20 6e |tions li|st nil n|
|00001a60| 65 77 20 69 6e 74 65 72 | 6e 20 22 20 3c 66 3e 22 |ew inter|n " <f>"|
|00001a70| 20 22 2a 43 6f 6d 70 6c | 65 74 69 6f 6e 73 2a 22 | "*Compl|etions*"|
|00001a80| 20 64 69 73 70 6c 61 79 | 2d 63 6f 6d 70 6c 65 74 | display|-complet|
|00001a90| 69 6f 6e 2d 6c 69 73 74 | 20 22 4d 61 6b 69 6e 67 |ion-list| "Making|
|00001aa0| 20 63 6f 6d 70 6c 65 74 | 69 6f 6e 20 6c 69 73 74 | complet|ion list|
|00001ab0| 2e 2e 2e 64 6f 6e 65 22 | 5d 20 35 20 22 5c 0a 50 |...done"|] 5 "\.P|
|00001ac0| 65 72 66 6f 72 6d 20 63 | 6f 6d 70 6c 65 74 69 6f |erform c|ompletio|
|00001ad0| 6e 20 6f 6e 20 4c 69 73 | 70 20 73 79 6d 62 6f 6c |n on Lis|p symbol|
|00001ae0| 20 70 72 65 63 65 64 69 | 6e 67 20 70 6f 69 6e 74 | precedi|ng point|
|00001af0| 2e 0a 54 68 61 74 20 73 | 79 6d 62 6f 6c 20 69 73 |..That s|ymbol is|
|00001b00| 20 63 6f 6d 70 61 72 65 | 64 20 61 67 61 69 6e 73 | compare|d agains|
|00001b10| 74 20 74 68 65 20 73 79 | 6d 62 6f 6c 73 20 74 68 |t the sy|mbols th|
|00001b20| 61 74 20 65 78 69 73 74 | 0a 61 6e 64 20 61 6e 79 |at exist|.and any|
|00001b30| 20 61 64 64 69 74 69 6f | 6e 61 6c 20 63 68 61 72 | additio|nal char|
|00001b40| 61 63 74 65 72 73 20 64 | 65 74 65 72 6d 69 6e 65 |acters d|etermine|
|00001b50| 64 20 62 79 20 77 68 61 | 74 20 69 73 20 74 68 65 |d by wha|t is the|
|00001b60| 72 65 0a 61 72 65 20 69 | 6e 73 65 72 74 65 64 2e |re.are i|nserted.|
|00001b70| 0a 49 66 20 74 68 65 20 | 73 79 6d 62 6f 6c 20 73 |.If the |symbol s|
|00001b80| 74 61 72 74 73 20 6a 75 | 73 74 20 61 66 74 65 72 |tarts ju|st after|
|00001b90| 20 61 6e 20 6f 70 65 6e | 2d 70 61 72 65 6e 74 68 | an open|-parenth|
|00001ba0| 65 73 69 73 2c 0a 6f 6e | 6c 79 20 73 79 6d 62 6f |esis,.on|ly symbo|
|00001bb0| 6c 73 20 77 69 74 68 20 | 66 75 6e 63 74 69 6f 6e |ls with |function|
|00001bc0| 20 64 65 66 69 6e 69 74 | 69 6f 6e 73 20 61 72 65 | definit|ions are|
|00001bd0| 20 63 6f 6e 73 69 64 65 | 72 65 64 2e 0a 4f 74 68 | conside|red..Oth|
|00001be0| 65 72 77 69 73 65 2c 20 | 61 6c 6c 20 73 79 6d 62 |erwise, |all symb|
|00001bf0| 6f 6c 73 20 77 69 74 68 | 20 66 75 6e 63 74 69 6f |ols with| functio|
|00001c00| 6e 20 64 65 66 69 6e 69 | 74 69 6f 6e 73 2c 20 76 |n defini|tions, v|
|00001c10| 61 6c 75 65 73 0a 6f 72 | 20 70 72 6f 70 65 72 74 |alues.or| propert|
|00001c20| 69 65 73 20 61 72 65 20 | 63 6f 6e 73 69 64 65 72 |ies are |consider|
|00001c30| 65 64 2e 22 20 6e 69 6c | 5d 29 0a |ed." nil|]). |
+--------+-------------------------+-------------------------+--------+--------+