home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 6 / FreshFish_September1994.bin / bbs / gnu / emacs-18.59-src.lha / GNU / src / amiga / emacs-18.59 / lisp / add-log.elc < prev    next >
Emacs Compiled Lisp  |  1992-02-04  |  1.5 KB

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

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
100% file Emacs v18 byte-compiled Lisp data default
99% file data default
100% gt2 Kopftext: '(defun add-change-log-entry (whoami file-name ' default (weak)
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0a 28 64 65 66 75 6e 20 | 61 64 64 2d 63 68 61 6e |.(defun |add-chan|
|00000010| 67 65 2d 6c 6f 67 2d 65 | 6e 74 72 79 20 28 77 68 |ge-log-e|ntry (wh|
|00000020| 6f 61 6d 69 20 66 69 6c | 65 2d 6e 61 6d 65 20 26 |oami fil|e-name &|
|00000030| 6f 70 74 69 6f 6e 61 6c | 20 6f 74 68 65 72 2d 77 |optional| other-w|
|00000040| 69 6e 64 6f 77 29 20 22 | 5c 0a 46 69 6e 64 20 63 |indow) "|\.Find c|
|00000050| 68 61 6e 67 65 20 6c 6f | 67 20 66 69 6c 65 20 61 |hange lo|g file a|
|00000060| 6e 64 20 61 64 64 20 61 | 6e 20 65 6e 74 72 79 20 |nd add a|n entry |
|00000070| 66 6f 72 20 74 6f 64 61 | 79 2e 0a 46 69 72 73 74 |for toda|y..First|
|00000080| 20 61 72 67 20 28 69 6e | 74 65 72 61 63 74 69 76 | arg (in|teractiv|
|00000090| 65 20 70 72 65 66 69 78 | 29 20 6e 6f 6e 2d 6e 69 |e prefix|) non-ni|
|000000a0| 6c 20 6d 65 61 6e 73 20 | 70 72 6f 6d 70 74 20 66 |l means |prompt f|
|000000b0| 6f 72 20 75 73 65 72 20 | 6e 61 6d 65 20 61 6e 64 |or user |name and|
|000000c0| 20 73 69 74 65 2e 0a 53 | 65 63 6f 6e 64 20 61 72 | site..S|econd ar|
|000000d0| 67 20 69 73 20 66 69 6c | 65 20 6e 61 6d 65 20 6f |g is fil|e name o|
|000000e0| 66 20 63 68 61 6e 67 65 | 20 6c 6f 67 2e 0a 4f 70 |f change| log..Op|
|000000f0| 74 69 6f 6e 61 6c 20 74 | 68 69 72 64 20 61 72 67 |tional t|hird arg|
|00000100| 20 4f 54 48 45 52 2d 57 | 49 4e 44 4f 57 20 6e 6f | OTHER-W|INDOW no|
|00000110| 6e 2d 6e 69 6c 20 6d 65 | 61 6e 73 20 76 69 73 69 |n-nil me|ans visi|
|00000120| 74 20 69 6e 20 6f 74 68 | 65 72 20 77 69 6e 64 6f |t in oth|er windo|
|00000130| 77 2e 22 20 28 69 6e 74 | 65 72 61 63 74 69 76 65 |w." (int|eractive|
|00000140| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 08 0a c4 | (byte-c|ode "...|
|00000150| 3d 83 0b 00 c5 82 0c 00 | c6 19 c7 c8 c9 ca 09 5c |=.......|.......\|
|00000160| 22 c3 09 23 21 29 44 87 | 22 20 5b 63 75 72 72 65 |"..#!)D.|" [curre|
|00000170| 6e 74 2d 70 72 65 66 69 | 78 2d 61 72 67 20 64 65 |nt-prefi|x-arg de|
|00000180| 66 61 75 6c 74 20 73 79 | 73 74 65 6d 2d 74 79 70 |fault sy|stem-typ|
|00000190| 65 20 6e 69 6c 20 76 61 | 78 2d 76 6d 73 20 22 24 |e nil va|x-vms "$|
|000001a0| 43 48 41 4e 47 45 5f 4c | 4f 47 24 2e 54 58 54 22 |CHANGE_L|OG$.TXT"|
|000001b0| 20 22 43 68 61 6e 67 65 | 4c 6f 67 22 20 65 78 70 | "Change|Log" exp|
|000001c0| 61 6e 64 2d 66 69 6c 65 | 2d 6e 61 6d 65 20 72 65 |and-file|-name re|
|000001d0| 61 64 2d 66 69 6c 65 2d | 6e 61 6d 65 20 66 6f 72 |ad-file-|name for|
|000001e0| 6d 61 74 20 22 4c 6f 67 | 20 66 69 6c 65 20 28 64 |mat "Log| file (d|
|000001f0| 65 66 61 75 6c 74 20 25 | 73 29 3a 20 22 5d 20 37 |efault %|s): "] 7|
|00000200| 29 29 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c3 |)) (byte|-code ".|
|00000210| 88 0a ce 3d 83 0c 00 cf | 82 0d 00 d0 19 0d 83 1a |...=....|........|
|00000220| 00 d1 d2 d3 20 5c 22 82 | 1c 00 d3 20 1c 0d 83 29 |.... \".|... ...)|
|00000230| 00 d1 d4 d5 20 5c 22 82 | 2b 00 d5 20 1e 06 0d 83 |.... \".|+.. ....|
|00000240| 39 00 d1 d6 d7 20 5c 22 | 82 3b 00 d7 20 1e 07 d8 |9.... \"|.;.. ...|
|00000250| 0e 08 21 85 4d 00 d9 0e | 08 21 09 50 89 16 08 88 |..!.M...|.!.P....|
|00000260| 0e 09 83 5a 00 da 0e 08 | 21 82 5e 00 db 0e 08 21 |...Z....|!.^....!|
|00000270| 88 0e 0a dc 3d 86 72 00 | dc 20 88 dd 89 16 0b 88 |....=.r.|. ......|
|00000280| de 89 16 0c 88 df e0 21 | 88 e1 20 88 65 62 88 e2 |.......!|.. .eb..|
|00000290| e3 20 e4 e5 4f 21 85 9c | 00 8a e6 e7 8a e8 20 88 |. ..O!..|...... .|
|000002a0| 60 29 cd 23 88 e9 ea 21 | 88 e2 0e 06 21 29 3f 85 |`).#...!|....!)?.|
|000002b0| ae 00 eb e3 20 ec 0c ed | 0e 06 ee 0e 07 ef 26 08 |.... ...|......&.|
|000002c0| 88 65 62 88 f0 e0 21 88 | e2 f1 21 85 c3 00 f0 e0 |.eb...!.|..!.....|
|000002d0| 21 88 82 b6 00 88 f2 60 | e9 f3 21 88 60 5c 22 88 |!......`|..!.`\".|
|000002e0| f4 f5 21 88 f0 f6 21 88 | 0e 0b 6a 88 f7 63 2c 87 |..!...!.|..j..c,.|
|000002f0| 22 20 5b 63 75 72 72 65 | 6e 74 2d 70 72 65 66 69 |" [curre|nt-prefi|
|00000300| 78 2d 61 72 67 20 64 65 | 66 61 75 6c 74 20 73 79 |x-arg de|fault sy|
|00000310| 73 74 65 6d 2d 74 79 70 | 65 20 6e 69 6c 20 66 75 |stem-typ|e nil fu|
|00000320| 6c 6c 2d 6e 61 6d 65 20 | 77 68 6f 61 6d 69 20 6c |ll-name |whoami l|
|00000330| 6f 67 69 6e 2d 6e 61 6d | 65 20 73 69 74 65 2d 6e |ogin-nam|e site-n|
|00000340| 61 6d 65 20 66 69 6c 65 | 2d 6e 61 6d 65 20 6f 74 |ame file|-name ot|
|00000350| 68 65 72 2d 77 69 6e 64 | 6f 77 20 6d 61 6a 6f 72 |her-wind|ow major|
|00000360| 2d 6d 6f 64 65 20 6c 65 | 66 74 2d 6d 61 72 67 69 |-mode le|ft-margi|
|00000370| 6e 20 66 69 6c 6c 2d 63 | 6f 6c 75 6d 6e 20 74 20 |n fill-c|olumn t |
|00000380| 76 61 78 2d 76 6d 73 20 | 22 24 43 48 41 4e 47 45 |vax-vms |"$CHANGE|
|00000390| 5f 4c 4f 47 24 2e 54 58 | 54 22 20 22 43 68 61 6e |_LOG$.TX|T" "Chan|
|000003a0| 67 65 4c 6f 67 22 20 72 | 65 61 64 2d 69 6e 70 75 |geLog" r|ead-inpu|
|000003b0| 74 20 22 46 75 6c 6c 20 | 6e 61 6d 65 3a 20 22 20 |t "Full |name: " |
|000003c0| 75 73 65 72 2d 66 75 6c | 6c 2d 6e 61 6d 65 20 22 |user-ful|l-name "|
|000003d0| 4c 6f 67 69 6e 20 6e 61 | 6d 65 3a 20 22 20 75 73 |Login na|me: " us|
|000003e0| 65 72 2d 6c 6f 67 69 6e | 2d 6e 61 6d 65 20 22 53 |er-login|-name "S|
|000003f0| 69 74 65 20 6e 61 6d 65 | 3a 20 22 20 73 79 73 74 |ite name|: " syst|
|00000400| 65 6d 2d 6e 61 6d 65 20 | 66 69 6c 65 2d 64 69 72 |em-name |file-dir|
|00000410| 65 63 74 6f 72 79 2d 70 | 20 66 69 6c 65 2d 6e 61 |ectory-p| file-na|
|00000420| 6d 65 2d 61 73 2d 64 69 | 72 65 63 74 6f 72 79 20 |me-as-di|rectory |
|00000430| 66 69 6e 64 2d 66 69 6c | 65 2d 6f 74 68 65 72 2d |find-fil|e-other-|
|00000440| 77 69 6e 64 6f 77 20 66 | 69 6e 64 2d 66 69 6c 65 |window f|ind-file|
|00000450| 20 69 6e 64 65 6e 74 65 | 64 2d 74 65 78 74 2d 6d | indente|d-text-m|
|00000460| 6f 64 65 20 38 20 37 34 | 20 61 75 74 6f 2d 66 69 |ode 8 74| auto-fi|
|00000470| 6c 6c 2d 6d 6f 64 65 20 | 31 20 75 6e 64 6f 2d 62 |ll-mode |1 undo-b|
|00000480| 6f 75 6e 64 61 72 79 20 | 6c 6f 6f 6b 69 6e 67 2d |oundary |looking-|
|00000490| 61 74 20 63 75 72 72 65 | 6e 74 2d 74 69 6d 65 2d |at curre|nt-time-|
|000004a0| 73 74 72 69 6e 67 20 30 | 20 31 30 20 72 65 2d 73 |string 0| 10 re-s|
|000004b0| 65 61 72 63 68 2d 66 6f | 72 77 61 72 64 20 22 28 |earch-fo|rward "(|
|000004c0| 2e 2a 40 22 20 65 6e 64 | 2d 6f 66 2d 6c 69 6e 65 |.*@" end|-of-line|
|000004d0| 20 73 6b 69 70 2d 63 68 | 61 72 73 2d 62 61 63 6b | skip-ch|ars-back|
|000004e0| 77 61 72 64 20 22 5e 28 | 22 20 69 6e 73 65 72 74 |ward "^(|" insert|
|000004f0| 20 22 20 20 22 20 22 20 | 20 28 22 20 22 40 22 20 | " " " | (" "@" |
|00000500| 22 29 0a 0a 22 20 66 6f | 72 77 61 72 64 2d 6c 69 |").." fo|rward-li|
|00000510| 6e 65 20 22 5c 5c 73 57 | 22 20 64 65 6c 65 74 65 |ne "\\sW|" delete|
|00000520| 2d 72 65 67 69 6f 6e 20 | 22 0a 22 20 6f 70 65 6e |-region |"." open|
|00000530| 2d 6c 69 6e 65 20 33 20 | 32 20 22 2a 20 22 5d 20 |-line 3 |2 "* "] |
|00000540| 33 32 29 29 0a 0a 28 64 | 65 66 75 6e 20 61 64 64 |32))..(d|efun add|
|00000550| 2d 63 68 61 6e 67 65 2d | 6c 6f 67 2d 65 6e 74 72 |-change-|log-entr|
|00000560| 79 2d 6f 74 68 65 72 2d | 77 69 6e 64 6f 77 20 6e |y-other-|window n|
|00000570| 69 6c 20 22 5c 0a 46 69 | 6e 64 20 63 68 61 6e 67 |il "\.Fi|nd chang|
|00000580| 65 20 6c 6f 67 20 66 69 | 6c 65 20 69 6e 20 6f 74 |e log fi|le in ot|
|00000590| 68 65 72 20 77 69 6e 64 | 6f 77 2c 20 61 6e 64 20 |her wind|ow, and |
|000005a0| 61 64 64 20 61 6e 20 65 | 6e 74 72 79 20 66 6f 72 |add an e|ntry for|
|000005b0| 20 74 6f 64 61 79 2e 22 | 20 28 69 6e 74 65 72 61 | today."| (intera|
|000005c0| 63 74 69 76 65 29 20 28 | 62 79 74 65 2d 63 6f 64 |ctive) (|byte-cod|
|000005d0| 65 20 22 c0 88 c3 c0 09 | c2 23 87 22 20 5b 6e 69 |e ".....|.#." [ni|
|000005e0| 6c 20 64 65 66 61 75 6c | 74 2d 64 69 72 65 63 74 |l defaul|t-direct|
|000005f0| 6f 72 79 20 74 20 61 64 | 64 2d 63 68 61 6e 67 65 |ory t ad|d-change|
|00000600| 2d 6c 6f 67 2d 65 6e 74 | 72 79 5d 20 34 29 29 0a |-log-ent|ry] 4)).|
+--------+-------------------------+-------------------------+--------+--------+