home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / msdos / demacs / lisp / novice.elc < prev    next >
Emacs Compiled Lisp  |  1991-11-11  |  2.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 v18 byte-compiled Lisp data default
99% file data default
100% gt2 Kopftext: '(defun disabled-command-hook (' default (weak)
100% xdgMime text/x-emacs-lisp default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0a 28 64 65 66 75 6e 20 | 64 69 73 61 62 6c 65 64 |.(defun |disabled|
|00000010| 2d 63 6f 6d 6d 61 6e 64 | 2d 68 6f 6f 6b 20 28 26 |-command|-hook (&|
|00000020| 72 65 73 74 20 69 67 6e | 6f 72 65 29 20 28 62 79 |rest ign|ore) (by|
|00000030| 74 65 2d 63 6f 64 65 20 | 22 c2 18 c5 8b 88 08 c6 |te-code |".......|
|00000040| 55 85 1c 00 c7 c8 21 83 | 17 00 c9 09 21 82 1c 00 |U.....!.|....!...|
|00000050| ca 09 cb c2 23 88 cc 08 | cd 5c 22 85 27 00 ce 09 |....#...|.\".'...|
|00000060| 21 29 87 22 20 5b 63 68 | 61 72 20 74 68 69 73 2d |!)." [ch|ar this-|
|00000070| 63 6f 6d 6d 61 6e 64 20 | 6e 69 6c 20 74 20 63 75 |command |nil t cu|
|00000080| 72 73 6f 72 2d 69 6e 2d | 65 63 68 6f 2d 61 72 65 |rsor-in-|echo-are|
|00000090| 61 20 28 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c5 |a ((byte|-code ".|
|000000a0| 90 c6 20 c7 48 c8 55 83 | 11 00 c9 ca 21 82 1f 00 |.. .H.U.|....!...|
|000000b0| c9 cb 21 88 c9 cc c6 20 | 21 21 88 c9 cd 21 88 c9 |..!.... |!!...!..|
|000000c0| 08 21 88 c9 ce 21 88 08 | cf 4e 3b 85 34 00 c9 08 |.!...!..|.N;.4...|
|000000d0| cf 4e 21 88 c9 c1 d0 d1 | 8f 86 3e 00 d2 21 88 8a |.N!.....|..>..!..|
|000000e0| c5 71 88 65 62 88 d3 d4 | c1 c2 23 83 57 00 d5 60 |.q.eb...|..#.W..`|
|000000f0| 53 64 5c 22 82 59 00 64 | 62 29 88 c9 d4 21 88 c9 |Sd\".Y.d|b)...!..|
|00000100| d6 21 91 88 d7 d8 21 88 | c2 1b d9 72 21 89 14 da |.!....!.|...r!...|
|00000110| 3e 3f 85 7f 00 db 20 88 | d7 dc 21 88 82 6a 00 29 |>?.... .|..!..j.)|
|00000120| 87 22 20 5b 74 68 69 73 | 2d 63 6f 6d 6d 61 6e 64 |." [this|-command|
|00000130| 20 6e 69 6c 20 74 20 63 | 75 72 73 6f 72 2d 69 6e | nil t c|ursor-in|
|00000140| 2d 65 63 68 6f 2d 61 72 | 65 61 20 63 68 61 72 20 |-echo-ar|ea char |
|00000150| 22 2a 48 65 6c 70 2a 22 | 20 74 68 69 73 2d 63 6f |"*Help*"| this-co|
|00000160| 6d 6d 61 6e 64 2d 6b 65 | 79 73 20 30 20 32 34 38 |mmand-ke|ys 0 248|
|00000170| 20 70 72 69 6e 63 20 22 | 59 6f 75 20 68 61 76 65 | princ "|You have|
|00000180| 20 69 6e 76 6f 6b 65 64 | 20 74 68 65 20 64 69 73 | invoked| the dis|
|00000190| 61 62 6c 65 64 20 63 6f | 6d 6d 61 6e 64 20 22 20 |abled co|mmand " |
|000001a0| 22 59 6f 75 20 68 61 76 | 65 20 74 79 70 65 64 20 |"You hav|e typed |
|000001b0| 22 20 6b 65 79 2d 64 65 | 73 63 72 69 70 74 69 6f |" key-de|scriptio|
|000001c0| 6e 20 22 2c 20 69 6e 76 | 6f 6b 69 6e 67 20 64 69 |n ", inv|oking di|
|000001d0| 73 61 62 6c 65 64 20 63 | 6f 6d 6d 61 6e 64 20 22 |sabled c|ommand "|
|000001e0| 20 22 3a 0a 22 20 64 69 | 73 61 62 6c 65 64 20 28 | ":." di|sabled (|
|000001f0| 62 79 74 65 2d 63 6f 64 | 65 20 22 c1 08 21 87 22 |byte-cod|e "..!."|
|00000200| 20 5b 74 68 69 73 2d 63 | 6f 6d 6d 61 6e 64 20 64 | [this-c|ommand d|
|00000210| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 5d 20 32 29 |ocumenta|tion] 2)|
|00000220| 20 28 28 65 72 72 6f 72 | 20 28 62 79 74 65 2d 63 | ((error| (byte-c|
|00000230| 6f 64 65 20 22 c0 87 22 | 20 5b 6e 69 6c 5d 20 31 |ode ".."| [nil] 1|
|00000240| 29 29 29 20 22 3c 3c 20 | 6e 6f 74 20 64 6f 63 75 |))) "<< |not docu|
|00000250| 6d 65 6e 74 65 64 20 3e | 3e 22 20 73 65 61 72 63 |mented >|>" searc|
|00000260| 68 2d 66 6f 72 77 61 72 | 64 20 22 0a 0a 22 20 64 |h-forwar|d ".." d|
|00000270| 65 6c 65 74 65 2d 72 65 | 67 69 6f 6e 20 22 59 6f |elete-re|gion "Yo|
|00000280| 75 20 63 61 6e 20 6e 6f | 77 20 74 79 70 65 0a 53 |u can no|w type.S|
|00000290| 70 61 63 65 20 74 6f 20 | 74 72 79 20 74 68 65 20 |pace to |try the |
|000002a0| 63 6f 6d 6d 61 6e 64 20 | 6a 75 73 74 20 74 68 69 |command |just thi|
|000002b0| 73 20 6f 6e 63 65 2c 0a | 20 20 20 20 20 20 62 75 |s once,.| bu|
|000002c0| 74 20 6c 65 61 76 65 20 | 69 74 20 64 69 73 61 62 |t leave |it disab|
|000002d0| 6c 65 64 2c 0a 59 20 74 | 6f 20 74 72 79 20 69 74 |led,.Y t|o try it|
|000002e0| 20 61 6e 64 20 65 6e 61 | 62 6c 65 20 69 74 20 28 | and ena|ble it (|
|000002f0| 6e 6f 20 71 75 65 73 74 | 69 6f 6e 73 20 69 66 20 |no quest|ions if |
|00000300| 79 6f 75 20 75 73 65 20 | 69 74 20 61 67 61 69 6e |you use |it again|
|00000310| 29 2c 0a 4e 20 74 6f 20 | 64 6f 20 6e 6f 74 68 69 |),.N to |do nothi|
|00000320| 6e 67 20 28 63 6f 6d 6d | 61 6e 64 20 72 65 6d 61 |ng (comm|and rema|
|00000330| 69 6e 73 20 64 69 73 61 | 62 6c 65 64 29 2e 22 20 |ins disa|bled)." |
|00000340| 6d 65 73 73 61 67 65 20 | 22 54 79 70 65 20 79 2c |message |"Type y,|
|00000350| 20 6e 20 6f 72 20 53 70 | 61 63 65 3a 20 22 20 64 | n or Sp|ace: " d|
|00000360| 6f 77 6e 63 61 73 65 20 | 28 33 32 20 31 32 31 20 |owncase |(32 121 |
|00000370| 31 31 30 29 20 64 69 6e | 67 20 22 50 6c 65 61 73 |110) din|g "Pleas|
|00000380| 65 20 74 79 70 65 20 79 | 2c 20 6e 20 6f 72 20 53 |e type y|, n or S|
|00000390| 70 61 63 65 3a 20 22 5d | 20 32 31 29 29 20 31 32 |pace: "]| 21)) 12|
|000003a0| 31 20 79 2d 6f 72 2d 6e | 2d 70 20 22 45 6e 61 62 |1 y-or-n|-p "Enab|
|000003b0| 6c 65 20 63 6f 6d 6d 61 | 6e 64 20 66 6f 72 20 66 |le comma|nd for f|
|000003c0| 75 74 75 72 65 20 65 64 | 69 74 69 6e 67 20 73 65 |uture ed|iting se|
|000003d0| 73 73 69 6f 6e 73 20 61 | 6c 73 6f 3f 20 22 20 65 |ssions a|lso? " e|
|000003e0| 6e 61 62 6c 65 2d 63 6f | 6d 6d 61 6e 64 20 70 75 |nable-co|mmand pu|
|000003f0| 74 20 64 69 73 61 62 6c | 65 64 20 2f 3d 20 31 31 |t disabl|ed /= 11|
|00000400| 30 20 63 61 6c 6c 2d 69 | 6e 74 65 72 61 63 74 69 |0 call-i|nteracti|
|00000410| 76 65 6c 79 5d 20 36 29 | 29 0a 0a 28 64 65 66 75 |vely] 6)|)..(defu|
|00000420| 6e 20 65 6e 61 62 6c 65 | 2d 63 6f 6d 6d 61 6e 64 |n enable|-command|
|00000430| 20 28 63 6f 6d 6d 61 6e | 64 29 20 22 5c 0a 41 6c | (comman|d) "\.Al|
|00000440| 6c 6f 77 20 43 4f 4d 4d | 41 4e 44 20 74 6f 20 62 |low COMM|AND to b|
|00000450| 65 20 65 78 65 63 75 74 | 65 64 20 77 69 74 68 6f |e execut|ed witho|
|00000460| 75 74 20 73 70 65 63 69 | 61 6c 20 63 6f 6e 66 69 |ut speci|al confi|
|00000470| 72 6d 61 74 69 6f 6e 20 | 66 72 6f 6d 20 6e 6f 77 |rmation |from now|
|00000480| 20 6f 6e 2e 0a 54 68 65 | 20 75 73 65 72 27 73 20 | on..The| user's |
|00000490| 2e 65 6d 61 63 73 20 66 | 69 6c 65 20 69 73 20 61 |.emacs f|ile is a|
|000004a0| 6c 74 65 72 65 64 20 73 | 6f 20 74 68 61 74 20 74 |ltered s|o that t|
|000004b0| 68 69 73 20 77 69 6c 6c | 20 61 70 70 6c 79 0a 74 |his will| apply.t|
|000004c0| 6f 20 66 75 74 75 72 65 | 20 73 65 73 73 69 6f 6e |o future| session|
|000004d0| 73 2e 22 20 28 69 6e 74 | 65 72 61 63 74 69 76 65 |s." (int|eractive|
|000004e0| 20 22 43 45 6e 61 62 6c | 65 20 63 6f 6d 6d 61 6e | "CEnabl|e comman|
|000004f0| 64 3a 20 22 29 20 28 62 | 79 74 65 2d 63 6f 64 65 |d: ") (b|yte-code|
|00000500| 20 22 c1 88 c5 08 c6 c1 | 23 88 8a c7 c8 0a c9 3d | "......|#......=|
|00000510| 83 15 00 ca 82 16 00 cb | 21 21 71 88 65 62 88 cc |........|!!q.eb..|
|00000520| cd ce 08 21 cf 51 c1 c3 | 23 83 38 00 d0 d1 20 88 |...!.Q..|#.8... .|
|00000530| 60 d2 d3 21 88 60 5c 22 | 82 42 00 64 62 88 d4 d5 |`..!.`\"|.B.db...|
|00000540| ce 08 21 d6 23 88 d7 20 | 89 14 88 d8 20 29 87 22 |..!.#.. |.... )."|
|00000550| 20 5b 63 6f 6d 6d 61 6e | 64 20 6e 69 6c 20 73 79 | [comman|d nil sy|
|00000560| 73 74 65 6d 2d 74 79 70 | 65 20 74 20 66 6f 6f 20 |stem-typ|e t foo |
|00000570| 70 75 74 20 64 69 73 61 | 62 6c 65 64 20 66 69 6e |put disa|bled fin|
|00000580| 64 2d 66 69 6c 65 2d 6e | 6f 73 65 6c 65 63 74 20 |d-file-n|oselect |
|00000590| 73 75 62 73 74 69 74 75 | 74 65 2d 69 6e 2d 66 69 |substitu|te-in-fi|
|000005a0| 6c 65 2d 6e 61 6d 65 20 | 6d 73 2d 64 6f 73 20 22 |le-name |ms-dos "|
|000005b0| 7e 2f 5f 65 6d 61 63 73 | 22 20 22 7e 2f 2e 65 6d |~/_emacs|" "~/.em|
|000005c0| 61 63 73 22 20 73 65 61 | 72 63 68 2d 66 6f 72 77 |acs" sea|rch-forw|
|000005d0| 61 72 64 20 22 28 70 75 | 74 20 27 22 20 73 79 6d |ard "(pu|t '" sym|
|000005e0| 62 6f 6c 2d 6e 61 6d 65 | 20 22 20 22 20 64 65 6c |bol-name| " " del|
|000005f0| 65 74 65 2d 72 65 67 69 | 6f 6e 20 62 65 67 69 6e |ete-regi|on begin|
|00000600| 6e 69 6e 67 2d 6f 66 2d | 6c 69 6e 65 20 66 6f 72 |ning-of-|line for|
|00000610| 77 61 72 64 2d 6c 69 6e | 65 20 31 20 69 6e 73 65 |ward-lin|e 1 inse|
|00000620| 72 74 20 22 0a 28 70 75 | 74 20 27 22 20 22 20 27 |rt ".(pu|t '" " '|
|00000630| 64 69 73 61 62 6c 65 64 | 20 6e 69 6c 29 0a 22 20 |disabled| nil)." |
|00000640| 62 75 66 66 65 72 2d 6d | 6f 64 69 66 69 65 64 2d |buffer-m|odified-|
|00000650| 70 20 73 61 76 65 2d 62 | 75 66 66 65 72 5d 20 31 |p save-b|uffer] 1|
|00000660| 33 29 29 0a 0a 28 64 65 | 66 75 6e 20 64 69 73 61 |3))..(de|fun disa|
|00000670| 62 6c 65 2d 63 6f 6d 6d | 61 6e 64 20 28 63 6f 6d |ble-comm|and (com|
|00000680| 6d 61 6e 64 29 20 22 5c | 0a 52 65 71 75 69 72 65 |mand) "\|.Require|
|00000690| 20 73 70 65 63 69 61 6c | 20 63 6f 6e 66 69 72 6d | special| confirm|
|000006a0| 61 74 69 6f 6e 20 74 6f | 20 65 78 65 63 75 74 65 |ation to| execute|
|000006b0| 20 43 4f 4d 4d 41 4e 44 | 20 66 72 6f 6d 20 6e 6f | COMMAND| from no|
|000006c0| 77 20 6f 6e 2e 0a 54 68 | 65 20 75 73 65 72 27 73 |w on..Th|e user's|
|000006d0| 20 2e 65 6d 61 63 73 20 | 66 69 6c 65 20 69 73 20 | .emacs |file is |
|000006e0| 61 6c 74 65 72 65 64 20 | 73 6f 20 74 68 61 74 20 |altered |so that |
|000006f0| 74 68 69 73 20 77 69 6c | 6c 20 61 70 70 6c 79 0a |this wil|l apply.|
|00000700| 74 6f 20 66 75 74 75 72 | 65 20 73 65 73 73 69 6f |to futur|e sessio|
|00000710| 6e 73 2e 22 20 28 69 6e | 74 65 72 61 63 74 69 76 |ns." (in|teractiv|
|00000720| 65 20 22 43 44 69 73 61 | 62 6c 65 20 63 6f 6d 6d |e "CDisa|ble comm|
|00000730| 61 6e 64 3a 20 22 29 20 | 28 62 79 74 65 2d 63 6f |and: ") |(byte-co|
|00000740| 64 65 20 22 c3 88 c4 08 | c5 c1 23 88 8a c6 c7 0a |de "....|..#.....|
|00000750| c8 3d 83 15 00 c9 82 16 | 00 ca 21 21 71 88 65 62 |.=......|..!!q.eb|
|00000760| 88 cb cc cd 08 21 ce 51 | c3 c1 23 85 35 00 cf d0 |.....!.Q|..#.5...|
|00000770| 20 88 60 d1 d2 21 88 60 | 5c 22 88 64 62 88 d3 cc | .`..!.`|\".db...|
|00000780| cd 08 21 d4 23 88 d5 20 | 29 87 22 20 5b 63 6f 6d |..!.#.. |)." [com|
|00000790| 6d 61 6e 64 20 74 20 73 | 79 73 74 65 6d 2d 74 79 |mand t s|ystem-ty|
|000007a0| 70 65 20 6e 69 6c 20 70 | 75 74 20 64 69 73 61 62 |pe nil p|ut disab|
|000007b0| 6c 65 64 20 66 69 6e 64 | 2d 66 69 6c 65 2d 6e 6f |led find|-file-no|
|000007c0| 73 65 6c 65 63 74 20 73 | 75 62 73 74 69 74 75 74 |select s|ubstitut|
|000007d0| 65 2d 69 6e 2d 66 69 6c | 65 2d 6e 61 6d 65 20 6d |e-in-fil|e-name m|
|000007e0| 73 2d 64 6f 73 20 22 7e | 2f 5f 65 6d 61 63 73 22 |s-dos "~|/_emacs"|
|000007f0| 20 22 7e 2f 2e 65 6d 61 | 63 73 22 20 73 65 61 72 | "~/.ema|cs" sear|
|00000800| 63 68 2d 66 6f 72 77 61 | 72 64 20 22 28 70 75 74 |ch-forwa|rd "(put|
|00000810| 20 27 22 20 73 79 6d 62 | 6f 6c 2d 6e 61 6d 65 20 | '" symb|ol-name |
|00000820| 22 20 22 20 64 65 6c 65 | 74 65 2d 72 65 67 69 6f |" " dele|te-regio|
|00000830| 6e 20 62 65 67 69 6e 6e | 69 6e 67 2d 6f 66 2d 6c |n beginn|ing-of-l|
|00000840| 69 6e 65 20 66 6f 72 77 | 61 72 64 2d 6c 69 6e 65 |ine forw|ard-line|
|00000850| 20 31 20 69 6e 73 65 72 | 74 20 22 20 27 64 69 73 | 1 inser|t " 'dis|
|00000860| 61 62 6c 65 64 20 74 29 | 0a 22 20 73 61 76 65 2d |abled t)|." save-|
|00000870| 62 75 66 66 65 72 5d 20 | 31 33 29 29 0a |buffer] |13)). |
+--------+-------------------------+-------------------------+--------+--------+