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 / packages / pending-del.elc < prev    next >
Emacs Compiled Lisp  |  1995-08-29  |  2.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.

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 31 36 3a 31 | 34 20 31 39 39 35 0a 3b | 14:16:1|4 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 61 | 63 6b 61 67 65 73 2f 70 |/lisp/pa|ckages/p|
|00000090| 65 6e 64 69 6e 67 2d 64 | 65 6c 2e 65 6c 0a 3b 3b |ending-d|el.el.;;|
|000000a0| 3b 20 65 6d 61 63 73 20 | 76 65 72 73 69 6f 6e 20 |; emacs |version |
|000000b0| 31 39 2e 31 33 20 58 45 | 6d 61 63 73 20 4c 75 63 |19.13 XE|macs Luc|
|000000c0| 69 64 2e 0a 3b 3b 3b 20 | 62 79 74 65 63 6f 6d 70 |id..;;; |bytecomp|
|000000d0| 20 76 65 72 73 69 6f 6e | 20 32 2e 32 35 3b 20 31 | version| 2.25; 1|
|000000e0| 2d 53 65 70 2d 39 34 2e | 0a 3b 3b 3b 20 6f 70 74 |-Sep-94.|.;;; opt|
|000000f0| 69 6d 69 7a 61 74 69 6f | 6e 20 69 73 20 6f 6e 2e |imizatio|n is on.|
|00000100| 0a 3b 3b 3b 20 74 68 69 | 73 20 66 69 6c 65 20 75 |.;;; thi|s file u|
|00000110| 73 65 73 20 6f 70 63 6f | 64 65 73 20 77 68 69 63 |ses opco|des whic|
|00000120| 68 20 64 6f 20 6e 6f 74 | 20 65 78 69 73 74 20 69 |h do not| exist i|
|00000130| 6e 20 45 6d 61 63 73 20 | 31 38 2e 0a 0a 28 69 66 |n Emacs |18...(if|
|00000140| 20 28 61 6e 64 20 28 62 | 6f 75 6e 64 70 20 27 65 | (and (b|oundp 'e|
|00000150| 6d 61 63 73 2d 76 65 72 | 73 69 6f 6e 29 0a 09 20 |macs-ver|sion).. |
|00000160| 28 6f 72 20 28 61 6e 64 | 20 28 62 6f 75 6e 64 70 |(or (and| (boundp|
|00000170| 20 27 65 70 6f 63 68 3a | 3a 76 65 72 73 69 6f 6e | 'epoch:|:version|
|00000180| 29 20 65 70 6f 63 68 3a | 3a 76 65 72 73 69 6f 6e |) epoch:|:version|
|00000190| 29 0a 09 20 20 20 20 20 | 28 73 74 72 69 6e 67 2d |).. |(string-|
|000001a0| 6c 65 73 73 70 20 65 6d | 61 63 73 2d 76 65 72 73 |lessp em|acs-vers|
|000001b0| 69 6f 6e 20 22 31 39 22 | 29 29 29 0a 20 20 20 20 |ion "19"|))). |
|000001c0| 28 65 72 72 6f 72 20 22 | 54 68 69 73 20 66 69 6c |(error "|This fil|
|000001d0| 65 20 77 61 73 20 63 6f | 6d 70 69 6c 65 64 20 66 |e was co|mpiled f|
|000001e0| 6f 72 20 45 6d 61 63 73 | 20 31 39 2e 22 29 29 0a |or Emacs| 19.")).|
|000001f0| 0a 28 64 65 66 76 61 72 | 20 70 65 6e 64 69 6e 67 |.(defvar| pending|
|00000200| 2d 64 65 6c 65 74 65 2d | 76 65 72 62 6f 73 65 20 |-delete-|verbose |
|00000210| 31 20 22 5c 0a 2a 6e 69 | 6c 20 64 69 73 61 62 6c |1 "\.*ni|l disabl|
|00000220| 65 73 20 6f 6e 2f 6f 66 | 66 20 6d 65 73 73 61 67 |es on/of|f messag|
|00000230| 65 73 20 66 6f 72 20 70 | 65 6e 64 69 6e 67 2d 64 |es for p|ending-d|
|00000240| 65 6c 20 6d 6f 64 65 0a | 31 20 73 75 70 70 72 65 |el mode.|1 suppre|
|00000250| 73 73 65 73 20 6d 65 73 | 73 61 67 65 73 20 6f 6e |sses mes|sages on|
|00000260| 20 6c 6f 61 64 69 6e 67 | 0a 74 20 65 6e 61 62 6c | loading|.t enabl|
|00000270| 65 73 20 61 6c 6c 20 6d | 65 73 73 61 67 65 73 22 |es all m|essages"|
|00000280| 29 0a 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 c1 |).(byte-|code "..|
|00000290| 4d 88 c2 c3 4d 88 c4 c5 | c6 c7 23 88 c4 c8 c6 c7 |M...M...|..#.....|
|000002a0| 23 88 c4 c9 c6 c7 23 88 | c4 ca c6 cb 23 88 c4 cc |#.....#.|....#...|
|000002b0| c6 cb 23 88 c4 cd c6 cb | 23 88 c4 ce c6 cb 23 88 |..#.....|#.....#.|
|000002c0| c4 cf c6 c7 23 87 22 20 | 5b 64 65 6c 65 74 65 2d |....#." |[delete-|
|000002d0| 61 63 74 69 76 65 2d 72 | 65 67 69 6f 6e 20 23 5b |active-r|egion #[|
|000002e0| 28 26 6f 70 74 69 6f 6e | 61 6c 20 6b 69 6c 6c 70 |(&option|al killp|
|000002f0| 29 20 22 08 3f ad ba c1 | 5c 6e 21 ad b5 70 c3 5c |) ".?...|\n!..p.\|
|00000300| 6e 21 3d ad ae c4 5c 6e | 21 ad a9 c4 5c 6e 21 60 |n!=...\n|!...\n!`|
|00000310| 58 ad a2 60 c5 5c 6e 21 | 58 ad 9b 0e 06 ab 8b c7 |X..`.\n!|X.......|
|00000320| c4 5c 6e 21 c5 5c 6e 21 | 5c 22 88 aa 88 c4 5c 6e |.\n!.\n!|\"....\n|
|00000330| 21 c5 5c 6e 21 7c 88 c8 | 20 88 c9 87 22 20 5b 62 |!.\n!|..| ..." [b|
|00000340| 75 66 66 65 72 2d 72 65 | 61 64 2d 6f 6e 6c 79 20 |uffer-re|ad-only |
|00000350| 65 78 74 65 6e 74 70 20 | 7a 6d 61 63 73 2d 72 65 |extentp |zmacs-re|
|00000360| 67 69 6f 6e 2d 65 78 74 | 65 6e 74 20 65 78 74 65 |gion-ext|ent exte|
|00000370| 6e 74 2d 62 75 66 66 65 | 72 20 65 78 74 65 6e 74 |nt-buffe|r extent|
|00000380| 2d 73 74 61 72 74 2d 70 | 6f 73 69 74 69 6f 6e 20 |-start-p|osition |
|00000390| 65 78 74 65 6e 74 2d 65 | 6e 64 2d 70 6f 73 69 74 |extent-e|nd-posit|
|000003a0| 69 6f 6e 20 6b 69 6c 6c | 70 20 6b 69 6c 6c 2d 72 |ion kill|p kill-r|
|000003b0| 65 67 69 6f 6e 20 7a 6d | 61 63 73 2d 64 65 61 63 |egion zm|acs-deac|
|000003c0| 74 69 76 61 74 65 2d 72 | 65 67 69 6f 6e 20 74 5d |tivate-r|egion t]|
|000003d0| 20 34 5d 20 70 65 6e 64 | 69 6e 67 2d 64 65 6c 65 | 4] pend|ing-dele|
|000003e0| 74 65 2d 70 72 65 2d 68 | 6f 6f 6b 20 23 5b 6e 69 |te-pre-h|ook #[ni|
|000003f0| 6c 20 22 08 39 ad 83 08 | c1 4e 89 1a c3 3d ab 85 |l ".9...|.N...=..|
|00000400| c4 c5 21 aa 95 5c 6e c6 | 3d ab 8a c4 c7 21 ad 8b |..!..\n.|=....!..|
|00000410| c8 89 10 aa 86 5c 6e ad | 83 c4 c7 21 29 87 22 20 |.....\n.|...!)." |
|00000420| 5b 74 68 69 73 2d 63 6f | 6d 6d 61 6e 64 20 70 65 |[this-co|mmand pe|
|00000430| 6e 64 69 6e 67 2d 64 65 | 6c 65 74 65 20 74 79 70 |nding-de|lete typ|
|00000440| 65 20 6b 69 6c 6c 20 64 | 65 6c 65 74 65 2d 61 63 |e kill d|elete-ac|
|00000450| 74 69 76 65 2d 72 65 67 | 69 6f 6e 20 74 20 73 75 |tive-reg|ion t su|
|00000460| 70 65 72 73 65 64 65 20 | 6e 69 6c 20 28 6c 61 6d |persede |nil (lam|
|00000470| 62 64 61 20 6e 69 6c 20 | 28 69 6e 74 65 72 61 63 |bda nil |(interac|
|00000480| 74 69 76 65 29 29 5d 20 | 33 5d 20 70 75 74 20 73 |tive))] |3] put s|
|00000490| 65 6c 66 2d 69 6e 73 65 | 72 74 2d 63 6f 6d 6d 61 |elf-inse|rt-comma|
|000004a0| 6e 64 20 70 65 6e 64 69 | 6e 67 2d 64 65 6c 65 74 |nd pendi|ng-delet|
|000004b0| 65 20 74 20 79 61 6e 6b | 20 78 2d 79 61 6e 6b 2d |e t yank| x-yank-|
|000004c0| 63 6c 69 70 62 6f 61 72 | 64 2d 73 65 6c 65 63 74 |clipboar|d-select|
|000004d0| 69 6f 6e 20 64 65 6c 65 | 74 65 2d 62 61 63 6b 77 |ion dele|te-backw|
|000004e0| 61 72 64 2d 63 68 61 72 | 20 73 75 70 65 72 73 65 |ard-char| superse|
|000004f0| 64 65 20 62 61 63 6b 77 | 61 72 64 2d 64 65 6c 65 |de backw|ard-dele|
|00000500| 74 65 2d 63 68 61 72 2d | 75 6e 74 61 62 69 66 79 |te-char-|untabify|
|00000510| 20 64 65 6c 65 74 65 2d | 63 68 61 72 20 63 2d 65 | delete-|char c-e|
|00000520| 6c 65 63 74 72 69 63 2d | 64 65 6c 65 74 65 20 69 |lectric-|delete i|
|00000530| 6e 73 65 72 74 2d 72 65 | 67 69 73 74 65 72 5d 20 |nsert-re|gister] |
|00000540| 34 29 0a 28 66 73 65 74 | 20 27 70 65 6e 64 69 6e |4).(fset| 'pendin|
|00000550| 67 2d 64 65 6c 65 74 65 | 2d 6f 6e 20 23 5b 28 76 |g-delete|-on #[(v|
|00000560| 65 72 62 6f 73 65 29 20 | 22 c0 c1 c2 5c 22 88 0b |erbose) |"...\"..|
|00000570| ad 83 c4 c5 21 87 22 20 | 5b 61 64 64 2d 68 6f 6f |....!." |[add-hoo|
|00000580| 6b 20 70 72 65 2d 63 6f | 6d 6d 61 6e 64 2d 68 6f |k pre-co|mmand-ho|
|00000590| 6f 6b 20 70 65 6e 64 69 | 6e 67 2d 64 65 6c 65 74 |ok pendi|ng-delet|
|000005a0| 65 2d 70 72 65 2d 68 6f | 6f 6b 20 76 65 72 62 6f |e-pre-ho|ok verbo|
|000005b0| 73 65 20 6d 65 73 73 61 | 67 65 20 22 50 65 6e 64 |se messa|ge "Pend|
|000005c0| 69 6e 67 20 64 65 6c 65 | 74 65 20 69 73 20 4f 4e |ing dele|te is ON|
|000005d0| 2c 20 75 73 65 20 4d 2d | 78 20 70 65 6e 64 69 6e |, use M-|x pendin|
|000005e0| 67 2d 64 65 6c 65 74 65 | 20 74 6f 20 74 75 72 6e |g-delete| to turn|
|000005f0| 20 69 74 20 4f 46 46 22 | 5d 20 33 20 22 5c 0a 54 | it OFF"|] 3 "\.T|
|00000600| 75 72 6e 20 6f 6e 20 70 | 65 6e 64 69 6e 67 20 64 |urn on p|ending d|
|00000610| 65 6c 65 74 65 2e 0a 57 | 68 65 6e 20 69 74 20 69 |elete..W|hen it i|
|00000620| 73 20 4f 4e 2c 20 74 79 | 70 65 64 20 74 65 78 74 |s ON, ty|ped text|
|00000630| 20 72 65 70 6c 61 63 65 | 73 20 74 68 65 20 73 65 | replace|s the se|
|00000640| 6c 65 63 74 69 6f 6e 20 | 69 66 20 74 68 65 20 73 |lection |if the s|
|00000650| 65 6c 65 63 74 69 6f 6e | 20 69 73 20 61 63 74 69 |election| is acti|
|00000660| 76 65 2e 0a 57 68 65 6e | 20 69 74 20 69 73 20 4f |ve..When| it is O|
|00000670| 46 46 2c 20 74 79 70 65 | 64 20 74 65 78 74 20 69 |FF, type|d text i|
|00000680| 73 20 6a 75 73 74 20 69 | 6e 73 65 72 74 65 64 20 |s just i|nserted |
|00000690| 61 74 20 70 6f 69 6e 74 | 2e 22 20 22 50 22 5d 29 |at point|." "P"])|
|000006a0| 0a 28 66 73 65 74 20 27 | 70 65 6e 64 69 6e 67 2d |.(fset '|pending-|
|000006b0| 64 65 6c 65 74 65 2d 6f | 66 66 20 23 5b 28 76 65 |delete-o|ff #[(ve|
|000006c0| 72 62 6f 73 65 29 20 22 | c0 c1 c2 5c 22 88 0b ad |rbose) "|...\"...|
|000006d0| 83 c4 c5 21 87 22 20 5b | 72 65 6d 6f 76 65 2d 68 |...!." [|remove-h|
|000006e0| 6f 6f 6b 20 70 72 65 2d | 63 6f 6d 6d 61 6e 64 2d |ook pre-|command-|
|000006f0| 68 6f 6f 6b 20 70 65 6e | 64 69 6e 67 2d 64 65 6c |hook pen|ding-del|
|00000700| 65 74 65 2d 70 72 65 2d | 68 6f 6f 6b 20 76 65 72 |ete-pre-|hook ver|
|00000710| 62 6f 73 65 20 6d 65 73 | 73 61 67 65 20 22 70 65 |bose mes|sage "pe|
|00000720| 6e 64 69 6e 67 20 64 65 | 6c 65 74 65 20 69 73 20 |nding de|lete is |
|00000730| 4f 46 46 22 5d 20 33 20 | 22 5c 0a 54 75 72 6e 20 |OFF"] 3 |"\.Turn |
|00000740| 6f 66 66 20 70 65 6e 64 | 69 6e 67 20 64 65 6c 65 |off pend|ing dele|
|00000750| 74 65 2e 0a 57 68 65 6e | 20 69 74 20 69 73 20 4f |te..When| it is O|
|00000760| 4e 2c 20 74 79 70 65 64 | 20 74 65 78 74 20 72 65 |N, typed| text re|
|00000770| 70 6c 61 63 65 73 20 74 | 68 65 20 73 65 6c 65 63 |places t|he selec|
|00000780| 74 69 6f 6e 20 69 66 20 | 74 68 65 20 73 65 6c 65 |tion if |the sele|
|00000790| 63 74 69 6f 6e 20 69 73 | 20 61 63 74 69 76 65 2e |ction is| active.|
|000007a0| 0a 57 68 65 6e 20 69 74 | 20 69 73 20 4f 46 46 2c |.When it| is OFF,|
|000007b0| 20 74 79 70 65 64 20 74 | 65 78 74 20 69 73 20 6a | typed t|ext is j|
|000007c0| 75 73 74 20 69 6e 73 65 | 72 74 65 64 20 61 74 20 |ust inse|rted at |
|000007d0| 70 6f 69 6e 74 2e 22 20 | 22 50 22 5d 29 0a 28 66 |point." |"P"]).(f|
|000007e0| 73 65 74 20 27 70 65 6e | 64 69 6e 67 2d 64 65 6c |set 'pen|ding-del|
|000007f0| 65 74 65 20 23 5b 28 26 | 6f 70 74 69 6f 6e 61 6c |ete #[(&|optional|
|00000800| 20 61 72 67 29 20 22 c0 | 09 3e 3f 3f 1a 0b ac 84 | arg) ".|.>??....|
|00000810| 5c 6e 3f aa 85 c4 0b 21 | c5 56 89 1e 06 5c 6e 3d |\n?....!|.V...\n=|
|00000820| ab 83 c7 aa 8e 0e 06 ab | 86 c8 0e 09 21 aa 84 ca |........|....!...|
|00000830| 0e 09 21 2a 87 22 20 5b | 70 65 6e 64 69 6e 67 2d |..!*." [|pending-|
|00000840| 64 65 6c 65 74 65 2d 70 | 72 65 2d 68 6f 6f 6b 20 |delete-p|re-hook |
|00000850| 70 72 65 2d 63 6f 6d 6d | 61 6e 64 2d 68 6f 6f 6b |pre-comm|and-hook|
|00000860| 20 77 61 73 2d 6f 6e 20 | 61 72 67 20 70 72 65 66 | was-on |arg pref|
|00000870| 69 78 2d 6e 75 6d 65 72 | 69 63 2d 76 61 6c 75 65 |ix-numer|ic-value|
|00000880| 20 30 20 6f 6e 2d 70 20 | 6e 69 6c 20 70 65 6e 64 | 0 on-p |nil pend|
|00000890| 69 6e 67 2d 64 65 6c 65 | 74 65 2d 6f 6e 20 70 65 |ing-dele|te-on pe|
|000008a0| 6e 64 69 6e 67 2d 64 65 | 6c 65 74 65 2d 76 65 72 |nding-de|lete-ver|
|000008b0| 62 6f 73 65 20 70 65 6e | 64 69 6e 67 2d 64 65 6c |bose pen|ding-del|
|000008c0| 65 74 65 2d 6f 66 66 5d | 20 33 20 22 5c 0a 54 6f |ete-off]| 3 "\.To|
|000008d0| 67 67 6c 65 20 61 75 74 | 6f 6d 61 74 69 63 20 64 |ggle aut|omatic d|
|000008e0| 65 6c 65 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 73 |eletion |of the s|
|000008f0| 65 6c 65 63 74 65 64 20 | 72 65 67 69 6f 6e 2e 0a |elected |region..|
|00000900| 57 69 74 68 20 61 20 70 | 6f 73 69 74 69 76 65 20 |With a p|ositive |
|00000910| 61 72 67 75 6d 65 6e 74 | 2c 20 74 75 72 6e 73 20 |argument|, turns |
|00000920| 69 74 20 6f 6e 2e 0a 57 | 69 74 68 20 61 20 6e 6f |it on..W|ith a no|
|00000930| 6e 2d 70 6f 73 69 74 69 | 76 65 20 61 72 67 75 6d |n-positi|ve argum|
|00000940| 65 6e 74 2c 20 74 75 72 | 6e 73 20 69 74 20 6f 66 |ent, tur|ns it of|
|00000950| 66 2e 0a 57 68 65 6e 20 | 61 63 74 69 76 65 2c 20 |f..When |active, |
|00000960| 74 79 70 65 64 20 74 65 | 78 74 20 72 65 70 6c 61 |typed te|xt repla|
|00000970| 63 65 73 20 74 68 65 20 | 73 65 6c 65 63 74 69 6f |ces the |selectio|
|00000980| 6e 2e 22 20 22 50 22 5d | 29 0a 28 62 79 74 65 2d |n." "P"]|).(byte-|
|00000990| 63 6f 64 65 20 22 c0 09 | c2 3d 21 88 c3 c4 21 87 |code "..|.=!...!.|
|000009a0| 22 20 5b 70 65 6e 64 69 | 6e 67 2d 64 65 6c 65 74 |" [pendi|ng-delet|
|000009b0| 65 2d 6f 6e 20 70 65 6e | 64 69 6e 67 2d 64 65 6c |e-on pen|ding-del|
|000009c0| 65 74 65 2d 76 65 72 62 | 6f 73 65 20 74 20 70 72 |ete-verb|ose t pr|
|000009d0| 6f 76 69 64 65 20 70 65 | 6e 64 69 6e 67 2d 64 65 |ovide pe|nding-de|
|000009e0| 6c 5d 20 33 29 0a | |l] 3). | |
+--------+-------------------------+-------------------------+--------+--------+