home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / lemacs-19.6 / lisp / packages / pending-del.elc < prev    next >
Emacs Compiled Lisp  |  1993-04-01  |  2.3 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 6a 6c 7a 40 61 73 68 |piled by| jlz@ash|
|00000020| 77 65 64 6e 65 73 64 61 | 79 20 6f 6e 20 4d 6f 6e |wednesda|y on Mon|
|00000030| 20 4d 61 72 20 31 35 20 | 30 30 3a 31 34 3a 34 37 | Mar 15 |00:14:47|
|00000040| 20 31 39 39 33 0a 3b 3b | 3b 20 66 72 6f 6d 20 66 | 1993.;;|; from f|
|00000050| 69 6c 65 20 2f 63 61 64 | 69 6c 6c 61 63 2d 61 77 |ile /cad|illac-aw|
|00000060| 32 2f 74 65 73 74 62 69 | 6e 2d 62 75 69 6c 64 73 |2/testbi|n-builds|
|00000070| 2f 6c 65 6d 61 63 73 2f | 6c 69 73 70 2f 70 61 63 |/lemacs/|lisp/pac|
|00000080| 6b 61 67 65 73 2f 70 65 | 6e 64 69 6e 67 2d 64 65 |kages/pe|nding-de|
|00000090| 6c 2e 65 6c 0a 3b 3b 3b | 20 65 6d 61 63 73 20 76 |l.el.;;;| emacs v|
|000000a0| 65 72 73 69 6f 6e 20 31 | 39 2e 36 20 28 62 65 74 |ersion 1|9.6 (bet|
|000000b0| 61 32 29 20 4c 75 63 69 | 64 2e 0a 3b 3b 3b 20 62 |a2) Luci|d..;;; b|
|000000c0| 79 74 65 63 6f 6d 70 20 | 76 65 72 73 69 6f 6e 20 |ytecomp |version |
|000000d0| 32 2e 31 30 3b 20 31 36 | 2d 66 65 62 2d 39 33 2e |2.10; 16|-feb-93.|
|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 31 | exist i|n Emacs1|
|00000130| 38 2e 0a 0a 28 69 66 20 | 28 61 6e 64 20 28 62 6f |8...(if |(and (bo|
|00000140| 75 6e 64 70 20 27 65 6d | 61 63 73 2d 76 65 72 73 |undp 'em|acs-vers|
|00000150| 69 6f 6e 29 0a 09 20 28 | 6f 72 20 28 61 6e 64 20 |ion).. (|or (and |
|00000160| 28 62 6f 75 6e 64 70 20 | 27 65 70 6f 63 68 3a 3a |(boundp |'epoch::|
|00000170| 76 65 72 73 69 6f 6e 29 | 20 65 70 6f 63 68 3a 3a |version)| epoch::|
|00000180| 76 65 72 73 69 6f 6e 29 | 0a 09 20 20 20 20 20 28 |version)|.. (|
|00000190| 73 74 72 69 6e 67 2d 6c | 65 73 73 70 20 65 6d 61 |string-l|essp ema|
|000001a0| 63 73 2d 76 65 72 73 69 | 6f 6e 20 22 31 39 22 29 |cs-versi|on "19")|
|000001b0| 29 29 0a 20 20 20 20 28 | 65 72 72 6f 72 20 22 54 |)). (|error "T|
|000001c0| 68 69 73 20 66 69 6c 65 | 20 77 61 73 20 63 6f 6d |his file| was com|
|000001d0| 70 69 6c 65 64 20 66 6f | 72 20 45 6d 61 63 73 31 |piled fo|r Emacs1|
|000001e0| 39 2e 22 29 29 0a 0a 28 | 62 79 74 65 2d 63 6f 64 |9."))..(|byte-cod|
|000001f0| 65 20 22 c0 c1 21 88 c2 | c3 4d 88 c4 c5 4d 88 c6 |e "..!..|.M...M..|
|00000200| c7 c8 c9 23 88 c6 ca c8 | c9 23 88 c6 cb c8 c9 23 |...#....|.#.....#|
|00000210| 88 c6 cc c8 cd 23 88 c6 | ce c8 cd 23 88 c6 cf c8 |.....#..|...#....|
|00000220| cd 23 88 c6 d0 c8 c9 23 | 88 c6 d1 c8 c9 23 88 c6 |.#.....#|.....#..|
|00000230| d2 c8 c9 23 87 22 20 5b | 70 72 6f 76 69 64 65 20 |...#." [|provide |
|00000240| 70 65 6e 64 69 6e 67 2d | 64 65 6c 20 64 65 6c 65 |pending-|del dele|
|00000250| 74 65 2d 61 63 74 69 76 | 65 2d 72 65 67 69 6f 6e |te-activ|e-region|
|00000260| 20 23 5b 28 26 6f 70 74 | 69 6f 6e 61 6c 20 6b 69 | #[(&opt|ional ki|
|00000270| 6c 6c 70 29 20 22 08 3f | ad b5 c1 5c 6e 21 ad b0 |llp) ".?|...\n!..|
|00000280| 70 c3 5c 6e 21 3d ad a9 | c4 c5 5c 6e 21 57 ad a2 |p.\n!=..|..\n!W..|
|00000290| c4 c6 5c 6e 21 57 ad 9b | 0e 07 ab 8b c8 c5 5c 6e |..\n!W..|......\n|
|000002a0| 21 c6 5c 6e 21 5c 22 88 | aa 88 c5 5c 6e 21 c6 5c |!.\n!\".|...\n!.\|
|000002b0| 6e 21 7c 88 c9 20 88 ca | 87 22 20 5b 62 75 66 66 |n!|.. ..|." [buff|
|000002c0| 65 72 2d 72 65 61 64 2d | 6f 6e 6c 79 20 65 78 74 |er-read-|only ext|
|000002d0| 65 6e 74 70 20 70 72 69 | 6d 61 72 79 2d 73 65 6c |entp pri|mary-sel|
|000002e0| 65 63 74 69 6f 6e 2d 65 | 78 74 65 6e 74 20 65 78 |ection-e|xtent ex|
|000002f0| 74 65 6e 74 2d 62 75 66 | 66 65 72 20 30 20 65 78 |tent-buf|fer 0 ex|
|00000300| 74 65 6e 74 2d 73 74 61 | 72 74 2d 70 6f 73 69 74 |tent-sta|rt-posit|
|00000310| 69 6f 6e 20 65 78 74 65 | 6e 74 2d 65 6e 64 2d 70 |ion exte|nt-end-p|
|00000320| 6f 73 69 74 69 6f 6e 20 | 6b 69 6c 6c 70 20 6b 69 |osition |killp ki|
|00000330| 6c 6c 2d 72 65 67 69 6f | 6e 20 7a 6d 61 63 73 2d |ll-regio|n zmacs-|
|00000340| 64 65 61 63 74 69 76 61 | 74 65 2d 72 65 67 69 6f |deactiva|te-regio|
|00000350| 6e 20 74 5d 20 34 5d 20 | 70 65 6e 64 69 6e 67 2d |n t] 4] |pending-|
|00000360| 64 65 6c 65 74 65 2d 70 | 72 65 2d 68 6f 6f 6b 20 |delete-p|re-hook |
|00000370| 23 5b 6e 69 6c 20 22 08 | 39 ad 83 08 c1 4e 89 1a |#[nil ".|9....N..|
|00000380| c3 3d ab 85 c4 c5 21 aa | 95 5c 6e c6 3d ab 8a c4 |.=....!.|.\n.=...|
|00000390| c7 21 ad 8b c8 89 10 aa | 86 5c 6e ad 83 c4 c7 21 |.!......|.\n....!|
|000003a0| 29 87 22 20 5b 74 68 69 | 73 2d 63 6f 6d 6d 61 6e |)." [thi|s-comman|
|000003b0| 64 20 70 65 6e 64 69 6e | 67 2d 64 65 6c 65 74 65 |d pendin|g-delete|
|000003c0| 20 74 79 70 65 20 6b 69 | 6c 6c 20 64 65 6c 65 74 | type ki|ll delet|
|000003d0| 65 2d 61 63 74 69 76 65 | 2d 72 65 67 69 6f 6e 20 |e-active|-region |
|000003e0| 74 20 73 75 70 65 72 73 | 65 64 65 20 6e 69 6c 20 |t supers|ede nil |
|000003f0| 28 6c 61 6d 62 64 61 20 | 6e 69 6c 20 28 69 6e 74 |(lambda |nil (int|
|00000400| 65 72 61 63 74 69 76 65 | 29 29 5d 20 33 5d 20 70 |eractive|))] 3] p|
|00000410| 75 74 20 73 65 6c 66 2d | 69 6e 73 65 72 74 2d 63 |ut self-|insert-c|
|00000420| 6f 6d 6d 61 6e 64 20 70 | 65 6e 64 69 6e 67 2d 64 |ommand p|ending-d|
|00000430| 65 6c 65 74 65 20 74 20 | 79 61 6e 6b 20 78 2d 79 |elete t |yank x-y|
|00000440| 61 6e 6b 2d 63 6c 69 70 | 62 6f 61 72 64 2d 73 65 |ank-clip|board-se|
|00000450| 6c 65 63 74 69 6f 6e 20 | 64 65 6c 65 74 65 2d 62 |lection |delete-b|
|00000460| 61 63 6b 77 61 72 64 2d | 63 68 61 72 20 73 75 70 |ackward-|char sup|
|00000470| 65 72 73 65 64 65 20 62 | 61 63 6b 77 61 72 64 2d |ersede b|ackward-|
|00000480| 64 65 6c 65 74 65 2d 63 | 68 61 72 2d 75 6e 74 61 |delete-c|har-unta|
|00000490| 62 69 66 79 20 64 65 6c | 65 74 65 2d 63 68 61 72 |bify del|ete-char|
|000004a0| 20 6e 65 77 6c 69 6e 65 | 2d 61 6e 64 2d 69 6e 64 | newline|-and-ind|
|000004b0| 65 6e 74 20 6e 65 77 6c | 69 6e 65 20 6f 70 65 6e |ent newl|ine open|
|000004c0| 2d 6c 69 6e 65 5d 20 34 | 29 0a 28 66 73 65 74 20 |-line] 4|).(fset |
|000004d0| 27 70 65 6e 64 69 6e 67 | 2d 64 65 6c 65 74 65 20 |'pending|-delete |
|000004e0| 23 5b 6e 69 6c 20 22 c0 | 09 3e ab 89 c2 c1 c0 5c |#[nil ".|.>.....\|
|000004f0| 22 88 c3 c4 21 87 c5 c1 | c0 5c 22 88 c3 c6 21 87 |"...!...|.\"...!.|
|00000500| 22 20 5b 70 65 6e 64 69 | 6e 67 2d 64 65 6c 65 74 |" [pendi|ng-delet|
|00000510| 65 2d 70 72 65 2d 68 6f | 6f 6b 20 70 72 65 2d 63 |e-pre-ho|ok pre-c|
|00000520| 6f 6d 6d 61 6e 64 2d 68 | 6f 6f 6b 20 72 65 6d 6f |ommand-h|ook remo|
|00000530| 76 65 2d 68 6f 6f 6b 20 | 6d 65 73 73 61 67 65 20 |ve-hook |message |
|00000540| 22 70 65 6e 64 69 6e 67 | 20 64 65 6c 65 74 65 20 |"pending| delete |
|00000550| 69 73 20 4f 46 46 22 20 | 61 64 64 2d 68 6f 6f 6b |is OFF" |add-hook|
|00000560| 20 22 50 65 6e 64 69 6e | 67 20 64 65 6c 65 74 65 | "Pendin|g delete|
|00000570| 20 69 73 20 4f 4e 2c 20 | 75 73 65 20 4d 2d 78 20 | is ON, |use M-x |
|00000580| 70 65 6e 64 69 6e 67 2d | 64 65 6c 65 74 65 20 74 |pending-|delete t|
|00000590| 6f 20 74 75 72 6e 20 69 | 74 20 4f 46 46 22 5d 20 |o turn i|t OFF"] |
|000005a0| 33 20 22 5c 0a 54 6f 67 | 67 6c 65 20 74 68 65 20 |3 "\.Tog|gle the |
|000005b0| 73 74 61 74 65 20 6f 66 | 20 74 68 65 20 70 65 6e |state of| the pen|
|000005c0| 64 69 6e 67 2d 64 65 6c | 65 74 65 20 70 61 63 6b |ding-del|ete pack|
|000005d0| 61 67 65 2e 20 20 0a 57 | 68 65 6e 20 4f 4e 20 74 |age. .W|hen ON t|
|000005e0| 79 70 65 64 20 74 65 78 | 74 20 72 65 70 6c 61 63 |yped tex|t replac|
|000005f0| 65 73 20 74 68 65 20 73 | 65 6c 65 63 74 69 6f 6e |es the s|election|
|00000600| 20 69 66 20 74 68 65 20 | 73 65 6c 65 63 74 69 6f | if the |selectio|
|00000610| 6e 20 69 73 20 61 63 74 | 69 76 65 2e 0a 57 68 65 |n is act|ive..Whe|
|00000620| 6e 20 4f 46 46 20 74 79 | 70 65 64 20 74 65 78 74 |n OFF ty|ped text|
|00000630| 20 69 73 20 6a 75 73 74 | 20 69 6e 73 65 72 74 65 | is just| inserte|
|00000640| 64 20 61 74 20 70 6f 69 | 6e 74 2e 22 20 6e 69 6c |d at poi|nt." nil|
|00000650| 5d 29 0a 28 70 65 6e 64 | 69 6e 67 2d 64 65 6c 65 |]).(pend|ing-dele|
|00000660| 74 65 29 0a 28 66 73 65 | 74 20 27 6b 65 79 62 6f |te).(fse|t 'keybo|
|00000670| 61 72 64 2d 71 75 69 74 | 20 23 5b 6e 69 6c 20 22 |ard-quit| #[nil "|
|00000680| 08 ad 82 c1 20 3f ad 84 | c2 c3 c4 5c 22 87 22 20 |.... ?..|...\"." |
|00000690| 5b 7a 6d 61 63 73 2d 72 | 65 67 69 6f 6e 73 20 7a |[zmacs-r|egions z|
|000006a0| 6d 61 63 73 2d 64 65 61 | 63 74 69 76 61 74 65 2d |macs-dea|ctivate-|
|000006b0| 72 65 67 69 6f 6e 20 73 | 69 67 6e 61 6c 20 71 75 |region s|ignal qu|
|000006c0| 69 74 20 6e 69 6c 5d 20 | 33 20 22 5c 0a 53 69 67 |it nil] |3 "\.Sig|
|000006d0| 6e 61 6c 20 61 20 60 71 | 75 69 74 27 20 63 6f 6e |nal a `q|uit' con|
|000006e0| 64 69 74 69 6f 6e 2e 0a | 49 66 20 74 68 69 73 20 |dition..|If this |
|000006f0| 63 68 61 72 61 63 74 65 | 72 20 69 73 20 74 79 70 |characte|r is typ|
|00000700| 65 64 20 77 68 69 6c 65 | 20 6c 69 73 70 20 63 6f |ed while| lisp co|
|00000710| 64 65 20 69 73 20 65 78 | 65 63 75 74 69 6e 67 2c |de is ex|ecuting,|
|00000720| 20 69 74 20 77 69 6c 6c | 20 62 65 20 74 72 65 61 | it will| be trea|
|00000730| 74 65 64 0a 20 61 73 20 | 61 6e 20 69 6e 74 65 72 |ted. as |an inter|
|00000740| 72 75 70 74 2e 0a 49 66 | 20 74 68 69 73 20 63 68 |rupt..If| this ch|
|00000750| 61 72 61 63 74 65 72 20 | 69 73 20 74 79 70 65 64 |aracter |is typed|
|00000760| 20 61 74 20 74 6f 70 2d | 6c 65 76 65 6c 2c 20 74 | at top-|level, t|
|00000770| 68 69 73 20 73 69 6d 70 | 6c 79 20 62 65 65 70 73 |his simp|ly beeps|
|00000780| 2e 0a 49 66 20 60 7a 6d | 61 63 73 2d 72 65 67 69 |..If `zm|acs-regi|
|00000790| 6f 6e 73 27 20 69 73 20 | 74 72 75 65 2c 20 61 6e |ons' is |true, an|
|000007a0| 64 20 74 68 65 20 7a 6d | 61 63 73 20 72 65 67 69 |d the zm|acs regi|
|000007b0| 6f 6e 20 69 73 20 61 63 | 74 69 76 65 2c 20 74 68 |on is ac|tive, th|
|000007c0| 65 6e 20 74 68 69 73 0a | 20 6b 65 79 20 64 65 61 |en this.| key dea|
|000007d0| 63 74 69 76 61 74 65 73 | 20 74 68 65 20 72 65 67 |ctivates| the reg|
|000007e0| 69 6f 6e 20 77 69 74 68 | 6f 75 74 20 62 65 65 70 |ion with|out beep|
|000007f0| 69 6e 67 20 6f 72 20 73 | 69 67 6e 61 6c 6c 69 6e |ing or s|ignallin|
|00000800| 67 2e 22 20 6e 69 6c 5d | 29 0a 28 66 73 65 74 20 |g." nil]|).(fset |
|00000810| 27 6d 69 6e 69 62 75 66 | 66 65 72 2d 6b 65 79 62 |'minibuf|fer-keyb|
|00000820| 6f 61 72 64 2d 71 75 69 | 74 20 23 5b 6e 69 6c 20 |oard-qui|t #[nil |
|00000830| 22 08 ad 82 c1 20 3f ad | 82 c2 20 87 22 20 5b 7a |".... ?.|.. ." [z|
|00000840| 6d 61 63 73 2d 72 65 67 | 69 6f 6e 73 20 7a 6d 61 |macs-reg|ions zma|
|00000850| 63 73 2d 64 65 61 63 74 | 69 76 61 74 65 2d 72 65 |cs-deact|ivate-re|
|00000860| 67 69 6f 6e 20 61 62 6f | 72 74 2d 72 65 63 75 72 |gion abo|rt-recur|
|00000870| 73 69 76 65 2d 65 64 69 | 74 5d 20 31 20 22 5c 0a |sive-edi|t] 1 "\.|
|00000880| 41 62 6f 72 74 20 72 65 | 63 75 72 73 69 76 65 20 |Abort re|cursive |
|00000890| 65 64 69 74 0a 49 66 20 | 60 7a 6d 61 63 73 2d 72 |edit.If |`zmacs-r|
|000008a0| 65 67 69 6f 6e 73 27 20 | 69 73 20 74 72 75 65 2c |egions' |is true,|
|000008b0| 20 61 6e 64 20 74 68 65 | 20 7a 6d 61 63 73 20 72 | and the| zmacs r|
|000008c0| 65 67 69 6f 6e 20 69 73 | 20 61 63 74 69 76 65 2c |egion is| active,|
|000008d0| 20 74 68 65 6e 20 74 68 | 69 73 0a 20 6b 65 79 20 | then th|is. key |
|000008e0| 64 65 61 63 74 69 76 61 | 74 65 73 20 74 68 65 20 |deactiva|tes the |
|000008f0| 72 65 67 69 6f 6e 20 77 | 69 74 68 6f 75 74 20 62 |region w|ithout b|
|00000900| 65 65 70 69 6e 67 2e 22 | 20 6e 69 6c 5d 29 0a 28 |eeping."| nil]).(|
|00000910| 64 65 66 69 6e 65 2d 6b | 65 79 20 6d 69 6e 69 62 |define-k|ey minib|
|00000920| 75 66 66 65 72 2d 6c 6f | 63 61 6c 2d 6d 61 70 20 |uffer-lo|cal-map |
|00000930| 27 28 63 6f 6e 74 72 6f | 6c 20 67 29 20 27 6d 69 |'(contro|l g) 'mi|
|00000940| 6e 69 62 75 66 66 65 72 | 2d 6b 65 79 62 6f 61 72 |nibuffer|-keyboar|
|00000950| 64 2d 71 75 69 74 29 0a | |d-quit).| |
+--------+-------------------------+-------------------------+--------+--------+