home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1992-10-23 | 15.8 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.
Confidence | Program | Detection | Match Type | Support
|
---|
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 dired-readin (dirname buffer) (byte-code '
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0a 28 64 65 66 75 6e 20 | 64 69 72 65 64 2d 72 65 |.(defun |dired-re|
|00000010| 61 64 69 6e 20 28 64 69 | 72 6e 61 6d 65 20 62 75 |adin (di|rname bu|
|00000020| 66 66 65 72 29 20 28 62 | 79 74 65 2d 63 6f 64 65 |ffer) (b|yte-code|
|00000030| 20 22 8a c7 c8 08 5c 22 | 88 09 71 88 c3 1a c9 20 | "....\"|..q.... |
|00000040| 88 ca 20 88 cb 08 21 89 | 10 88 cc 08 21 83 29 00 |.. ...!.|....!.).|
|00000050| cd ce c3 09 c3 0c 08 26 | 06 82 3e 00 cf 08 21 1d |.......&|..>...!.|
|00000060| cd 0e 06 c3 09 c3 d0 d1 | 0c d2 d3 08 21 52 26 06 |........|....!R&.|
|00000070| 29 88 65 62 88 6d 3f 85 | 51 00 d4 63 88 d5 d6 21 |).eb.m?.|Q..c...!|
|00000080| 88 82 42 00 88 65 62 29 | 88 d7 c3 21 88 c7 d8 08 |..B..eb)|...!....|
|00000090| 5c 22 29 87 22 20 5b 64 | 69 72 6e 61 6d 65 20 62 |\")." [d|irname b|
|000000a0| 75 66 66 65 72 20 62 75 | 66 66 65 72 2d 72 65 61 |uffer bu|ffer-rea|
|000000b0| 64 2d 6f 6e 6c 79 20 6e | 69 6c 20 64 69 72 65 64 |d-only n|il dired|
|000000c0| 2d 6c 69 73 74 69 6e 67 | 2d 73 77 69 74 63 68 65 |-listing|-switche|
|000000d0| 73 20 64 65 66 61 75 6c | 74 2d 64 69 72 65 63 74 |s defaul|t-direct|
|000000e0| 6f 72 79 20 73 68 65 6c | 6c 2d 66 69 6c 65 2d 6e |ory shel|l-file-n|
|000000f0| 61 6d 65 20 6d 65 73 73 | 61 67 65 20 22 52 65 61 |ame mess|age "Rea|
|00000100| 64 69 6e 67 20 64 69 72 | 65 63 74 6f 72 79 20 25 |ding dir|ectory %|
|00000110| 73 2e 2e 2e 22 20 77 69 | 64 65 6e 20 65 72 61 73 |s..." wi|den eras|
|00000120| 65 2d 62 75 66 66 65 72 | 20 65 78 70 61 6e 64 2d |e-buffer| expand-|
|00000130| 66 69 6c 65 2d 6e 61 6d | 65 20 66 69 6c 65 2d 64 |file-nam|e file-d|
|00000140| 69 72 65 63 74 6f 72 79 | 2d 70 20 63 61 6c 6c 2d |irectory|-p call-|
|00000150| 70 72 6f 63 65 73 73 20 | 22 6c 73 22 20 66 69 6c |process |"ls" fil|
|00000160| 65 2d 6e 61 6d 65 2d 64 | 69 72 65 63 74 6f 72 79 |e-name-d|irectory|
|00000170| 20 22 2d 63 22 20 22 6c | 73 20 22 20 22 20 22 20 | "-c" "l|s " " " |
|00000180| 66 69 6c 65 2d 6e 61 6d | 65 2d 6e 6f 6e 64 69 72 |file-nam|e-nondir|
|00000190| 65 63 74 6f 72 79 20 22 | 20 20 22 20 66 6f 72 77 |ectory "| " forw|
|000001a0| 61 72 64 2d 6c 69 6e 65 | 20 31 20 73 65 74 2d 62 |ard-line| 1 set-b|
|000001b0| 75 66 66 65 72 2d 6d 6f | 64 69 66 69 65 64 2d 70 |uffer-mo|dified-p|
|000001c0| 20 22 52 65 61 64 69 6e | 67 20 64 69 72 65 63 74 | "Readin|g direct|
|000001d0| 6f 72 79 20 25 73 2e 2e | 2e 64 6f 6e 65 22 5d 20 |ory %s..|.done"] |
|000001e0| 31 38 29 29 0a 0a 28 64 | 65 66 75 6e 20 64 69 72 |18))..(d|efun dir|
|000001f0| 65 64 2d 66 69 6e 64 2d | 62 75 66 66 65 72 20 28 |ed-find-|buffer (|
|00000200| 64 69 72 6e 61 6d 65 29 | 20 28 62 79 74 65 2d 63 |dirname)| (byte-c|
|00000210| 6f 64 65 20 22 c6 20 c5 | 19 18 08 85 2d 00 8a 08 |ode ". .|....-...|
|00000220| 40 71 88 0a c7 3d 85 18 | 00 c8 0b 0c 5c 22 83 24 |@q...=..|....\".$|
|00000230| 00 08 40 11 c5 89 10 82 | 28 00 08 41 89 10 29 88 |..@.....|(..A..).|
|00000240| 82 05 00 88 09 86 37 00 | c9 ca 0c 21 21 2a 87 22 |......7.|...!!*."|
|00000250| 20 5b 62 6c 69 73 74 20 | 66 6f 75 6e 64 20 6d 61 | [blist |found ma|
|00000260| 6a 6f 72 2d 6d 6f 64 65 | 20 64 69 72 65 64 2d 64 |jor-mode| dired-d|
|00000270| 69 72 65 63 74 6f 72 79 | 20 64 69 72 6e 61 6d 65 |irectory| dirname|
|00000280| 20 6e 69 6c 20 62 75 66 | 66 65 72 2d 6c 69 73 74 | nil buf|fer-list|
|00000290| 20 64 69 72 65 64 2d 6d | 6f 64 65 20 65 71 75 61 | dired-m|ode equa|
|000002a0| 6c 20 63 72 65 61 74 65 | 2d 66 69 6c 65 2d 62 75 |l create|-file-bu|
|000002b0| 66 66 65 72 20 64 69 72 | 65 63 74 6f 72 79 2d 66 |ffer dir|ectory-f|
|000002c0| 69 6c 65 2d 6e 61 6d 65 | 5d 20 35 29 29 0a 0a 28 |ile-name|] 5))..(|
|000002d0| 64 65 66 75 6e 20 64 69 | 72 65 64 20 28 64 69 72 |defun di|red (dir|
|000002e0| 6e 61 6d 65 29 20 22 5c | 0a 5c 22 45 64 69 74 5c |name) "\|.\"Edit\|
|000002f0| 22 20 64 69 72 65 63 74 | 6f 72 79 20 44 49 52 4e |" direct|ory DIRN|
|00000300| 41 4d 45 2d 2d 64 65 6c | 65 74 65 2c 20 72 65 6e |AME--del|ete, ren|
|00000310| 61 6d 65 2c 20 70 72 69 | 6e 74 2c 20 65 74 63 2e |ame, pri|nt, etc.|
|00000320| 20 73 6f 6d 65 20 66 69 | 6c 65 73 20 69 6e 20 69 | some fi|les in i|
|00000330| 74 2e 0a 44 69 72 65 64 | 20 64 69 73 70 6c 61 79 |t..Dired| display|
|00000340| 73 20 61 20 6c 69 73 74 | 20 6f 66 20 66 69 6c 65 |s a list| of file|
|00000350| 73 20 69 6e 20 44 49 52 | 4e 41 4d 45 2e 0a 59 6f |s in DIR|NAME..Yo|
|00000360| 75 20 63 61 6e 20 6d 6f | 76 65 20 61 72 6f 75 6e |u can mo|ve aroun|
|00000370| 64 20 69 6e 20 69 74 20 | 77 69 74 68 20 74 68 65 |d in it |with the|
|00000380| 20 75 73 75 61 6c 20 63 | 6f 6d 6d 61 6e 64 73 2e | usual c|ommands.|
|00000390| 0a 59 6f 75 20 63 61 6e | 20 66 6c 61 67 20 66 69 |.You can| flag fi|
|000003a0| 6c 65 73 20 66 6f 72 20 | 64 65 6c 65 74 69 6f 6e |les for |deletion|
|000003b0| 20 77 69 74 68 20 43 2d | 64 0a 61 6e 64 20 74 68 | with C-|d.and th|
|000003c0| 65 6e 20 64 65 6c 65 74 | 65 20 74 68 65 6d 20 62 |en delet|e them b|
|000003d0| 79 20 74 79 70 69 6e 67 | 20 60 78 27 2e 0a 54 79 |y typing| `x'..Ty|
|000003e0| 70 65 20 60 68 27 20 61 | 66 74 65 72 20 65 6e 74 |pe `h' a|fter ent|
|000003f0| 65 72 69 6e 67 20 64 69 | 72 65 64 20 66 6f 72 20 |ering di|red for |
|00000400| 6d 6f 72 65 20 69 6e 66 | 6f 2e 22 20 28 69 6e 74 |more inf|o." (int|
|00000410| 65 72 61 63 74 69 76 65 | 20 28 62 79 74 65 2d 63 |eractive| (byte-c|
|00000420| 6f 64 65 20 22 c2 c3 c0 | 09 c0 24 43 87 22 20 5b |ode "...|..$C." [|
|00000430| 6e 69 6c 20 64 65 66 61 | 75 6c 74 2d 64 69 72 65 |nil defa|ult-dire|
|00000440| 63 74 6f 72 79 20 72 65 | 61 64 2d 66 69 6c 65 2d |ctory re|ad-file-|
|00000450| 6e 61 6d 65 20 22 44 69 | 72 65 64 20 28 64 69 72 |name "Di|red (dir|
|00000460| 65 63 74 6f 72 79 29 3a | 20 22 5d 20 35 29 29 20 |ectory):| "] 5)) |
|00000470| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 88 c3 c4 |(byte-co|de "....|
|00000480| 0a 21 21 87 22 20 5b 6e | 69 6c 20 64 65 66 61 75 |.!!." [n|il defau|
|00000490| 6c 74 2d 64 69 72 65 63 | 74 6f 72 79 20 64 69 72 |lt-direc|tory dir|
|000004a0| 6e 61 6d 65 20 73 77 69 | 74 63 68 2d 74 6f 2d 62 |name swi|tch-to-b|
|000004b0| 75 66 66 65 72 20 64 69 | 72 65 64 2d 6e 6f 73 65 |uffer di|red-nose|
|000004c0| 6c 65 63 74 5d 20 33 29 | 29 0a 0a 28 64 65 66 75 |lect] 3)|)..(defu|
|000004d0| 6e 20 64 69 72 65 64 2d | 6f 74 68 65 72 2d 77 69 |n dired-|other-wi|
|000004e0| 6e 64 6f 77 20 28 64 69 | 72 6e 61 6d 65 29 20 22 |ndow (di|rname) "|
|000004f0| 5c 0a 5c 22 45 64 69 74 | 5c 22 20 64 69 72 65 63 |\.\"Edit|\" direc|
|00000500| 74 6f 72 79 20 44 49 52 | 4e 41 4d 45 2e 20 20 4c |tory DIR|NAME. L|
|00000510| 69 6b 65 20 4d 2d 78 20 | 64 69 72 65 64 20 62 75 |ike M-x |dired bu|
|00000520| 74 20 73 65 6c 65 63 74 | 73 20 69 6e 20 61 6e 6f |t select|s in ano|
|00000530| 74 68 65 72 20 77 69 6e | 64 6f 77 2e 22 20 28 69 |ther win|dow." (i|
|00000540| 6e 74 65 72 61 63 74 69 | 76 65 20 28 62 79 74 65 |nteracti|ve (byte|
|00000550| 2d 63 6f 64 65 20 22 c2 | c3 c0 09 c0 24 43 87 22 |-code ".|....$C."|
|00000560| 20 5b 6e 69 6c 20 64 65 | 66 61 75 6c 74 2d 64 69 | [nil de|fault-di|
|00000570| 72 65 63 74 6f 72 79 20 | 72 65 61 64 2d 66 69 6c |rectory |read-fil|
|00000580| 65 2d 6e 61 6d 65 20 22 | 44 69 72 65 64 20 69 6e |e-name "|Dired in|
|00000590| 20 6f 74 68 65 72 20 77 | 69 6e 64 6f 77 20 28 64 | other w|indow (d|
|000005a0| 69 72 65 63 74 6f 72 79 | 29 3a 20 22 5d 20 35 29 |irectory|): "] 5)|
|000005b0| 29 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 88 |) (byte-|code "..|
|000005c0| c3 c4 0a 21 21 87 22 20 | 5b 6e 69 6c 20 64 65 66 |...!!." |[nil def|
|000005d0| 61 75 6c 74 2d 64 69 72 | 65 63 74 6f 72 79 20 64 |ault-dir|ectory d|
|000005e0| 69 72 6e 61 6d 65 20 73 | 77 69 74 63 68 2d 74 6f |irname s|witch-to|
|000005f0| 2d 62 75 66 66 65 72 2d | 6f 74 68 65 72 2d 77 69 |-buffer-|other-wi|
|00000600| 6e 64 6f 77 20 64 69 72 | 65 64 2d 6e 6f 73 65 6c |ndow dir|ed-nosel|
|00000610| 65 63 74 5d 20 33 29 29 | 0a 0a 28 64 65 66 75 6e |ect] 3))|..(defun|
|00000620| 20 64 69 72 65 64 2d 6e | 6f 73 65 6c 65 63 74 20 | dired-n|oselect |
|00000630| 28 64 69 72 6e 61 6d 65 | 29 20 22 5c 0a 4c 69 6b |(dirname|) "\.Lik|
|00000640| 65 20 4d 2d 78 20 64 69 | 72 65 64 20 62 75 74 20 |e M-x di|red but |
|00000650| 72 65 74 75 72 6e 73 20 | 74 68 65 20 64 69 72 65 |returns |the dire|
|00000660| 64 20 62 75 66 66 65 72 | 20 61 73 20 76 61 6c 75 |d buffer| as valu|
|00000670| 65 2c 20 64 6f 65 73 20 | 6e 6f 74 20 73 65 6c 65 |e, does |not sele|
|00000680| 63 74 20 69 74 2e 22 20 | 28 62 79 74 65 2d 63 6f |ct it." |(byte-co|
|00000690| 64 65 20 22 08 86 07 00 | 09 89 10 88 c3 c4 08 21 |de "....|.......!|
|000006a0| 21 89 10 88 c5 08 21 85 | 1b 00 c6 08 21 89 10 88 |!.....!.|....!...|
|000006b0| c7 08 21 1a 8a 0a 71 88 | c8 08 0a 5c 22 88 c9 20 |..!...q.|...\".. |
|000006c0| 88 ca 08 21 29 88 0a 29 | 87 22 20 5b 64 69 72 6e |...!)..)|." [dirn|
|000006d0| 61 6d 65 20 64 65 66 61 | 75 6c 74 2d 64 69 72 65 |ame defa|ult-dire|
|000006e0| 63 74 6f 72 79 20 62 75 | 66 66 65 72 20 65 78 70 |ctory bu|ffer exp|
|000006f0| 61 6e 64 2d 66 69 6c 65 | 2d 6e 61 6d 65 20 64 69 |and-file|-name di|
|00000700| 72 65 63 74 6f 72 79 2d | 66 69 6c 65 2d 6e 61 6d |rectory-|file-nam|
|00000710| 65 20 66 69 6c 65 2d 64 | 69 72 65 63 74 6f 72 79 |e file-d|irectory|
|00000720| 2d 70 20 66 69 6c 65 2d | 6e 61 6d 65 2d 61 73 2d |-p file-|name-as-|
|00000730| 64 69 72 65 63 74 6f 72 | 79 20 64 69 72 65 64 2d |director|y dired-|
|00000740| 66 69 6e 64 2d 62 75 66 | 66 65 72 20 64 69 72 65 |find-buf|fer dire|
|00000750| 64 2d 72 65 61 64 69 6e | 20 64 69 72 65 64 2d 6d |d-readin| dired-m|
|00000760| 6f 76 65 2d 74 6f 2d 66 | 69 6c 65 6e 61 6d 65 20 |ove-to-f|ilename |
|00000770| 64 69 72 65 64 2d 6d 6f | 64 65 5d 20 39 29 29 0a |dired-mo|de] 9)).|
|00000780| 0a 28 64 65 66 75 6e 20 | 64 69 72 65 64 2d 72 65 |.(defun |dired-re|
|00000790| 76 65 72 74 20 28 26 6f | 70 74 69 6f 6e 61 6c 20 |vert (&o|ptional |
|000007a0| 61 72 67 20 6e 6f 63 6f | 6e 66 69 72 6d 29 20 28 |arg noco|nfirm) (|
|000007b0| 62 79 74 65 2d 63 6f 64 | 65 20 22 60 c6 c2 c2 5c |byte-cod|e "`...\|
|000007c0| 22 c4 1b 19 18 c7 20 88 | c8 0d 70 5c 22 88 09 85 |"..... .|..p\"...|
|000007d0| 1f 00 c9 ca cb 09 21 cc | 51 c4 c2 23 86 24 00 08 |......!.|Q..#.$..|
|000007e0| 62 88 cd 20 2b 87 22 20 | 5b 6f 70 6f 69 6e 74 20 |b.. +." |[opoint |
|000007f0| 6f 66 69 6c 65 20 74 20 | 62 75 66 66 65 72 2d 72 |ofile t |buffer-r|
|00000800| 65 61 64 2d 6f 6e 6c 79 | 20 6e 69 6c 20 64 69 72 |ead-only| nil dir|
|00000810| 65 64 2d 64 69 72 65 63 | 74 6f 72 79 20 64 69 72 |ed-direc|tory dir|
|00000820| 65 64 2d 67 65 74 2d 66 | 69 6c 65 6e 61 6d 65 20 |ed-get-f|ilename |
|00000830| 65 72 61 73 65 2d 62 75 | 66 66 65 72 20 64 69 72 |erase-bu|ffer dir|
|00000840| 65 64 2d 72 65 61 64 69 | 6e 20 72 65 2d 73 65 61 |ed-readi|n re-sea|
|00000850| 72 63 68 2d 66 6f 72 77 | 61 72 64 20 22 20 22 20 |rch-forw|ard " " |
|00000860| 72 65 67 65 78 70 2d 71 | 75 6f 74 65 20 22 24 22 |regexp-q|uote "$"|
|00000870| 20 62 65 67 69 6e 6e 69 | 6e 67 2d 6f 66 2d 6c 69 | beginni|ng-of-li|
|00000880| 6e 65 5d 20 38 29 29 0a | 0a 28 64 65 66 76 61 72 |ne] 8)).|.(defvar|
|00000890| 20 64 69 72 65 64 2d 6d | 6f 64 65 2d 6d 61 70 20 | dired-m|ode-map |
|000008a0| 6e 69 6c 20 22 5c 0a 4c | 6f 63 61 6c 20 6b 65 79 |nil "\.L|ocal key|
|000008b0| 6d 61 70 20 66 6f 72 20 | 64 69 72 65 64 2d 6d 6f |map for |dired-mo|
|000008c0| 64 65 20 62 75 66 66 65 | 72 73 2e 22 29 0a 0a 28 |de buffe|rs.")..(|
|000008d0| 69 66 20 64 69 72 65 64 | 2d 6d 6f 64 65 2d 6d 61 |if dired|-mode-ma|
|000008e0| 70 20 6e 69 6c 20 28 73 | 65 74 71 20 64 69 72 65 |p nil (s|etq dire|
|000008f0| 64 2d 6d 6f 64 65 2d 6d | 61 70 20 28 6d 61 6b 65 |d-mode-m|ap (make|
|00000900| 2d 6b 65 79 6d 61 70 29 | 29 20 28 73 75 70 70 72 |-keymap)|) (suppr|
|00000910| 65 73 73 2d 6b 65 79 6d | 61 70 20 64 69 72 65 64 |ess-keym|ap dired|
|00000920| 2d 6d 6f 64 65 2d 6d 61 | 70 29 20 28 64 65 66 69 |-mode-ma|p) (defi|
|00000930| 6e 65 2d 6b 65 79 20 64 | 69 72 65 64 2d 6d 6f 64 |ne-key d|ired-mod|
|00000940| 65 2d 6d 61 70 20 22 72 | 22 20 28 71 75 6f 74 65 |e-map "r|" (quote|
|00000950| 20 64 69 72 65 64 2d 72 | 65 6e 61 6d 65 2d 66 69 | dired-r|ename-fi|
|00000960| 6c 65 29 29 20 28 64 65 | 66 69 6e 65 2d 6b 65 79 |le)) (de|fine-key|
|00000970| 20 64 69 72 65 64 2d 6d | 6f 64 65 2d 6d 61 70 20 | dired-m|ode-map |
|00000980| 22 04 22 20 28 71 75 6f | 74 65 20 64 69 72 65 64 |"." (quo|te dired|
|00000990| 2d 66 6c 61 67 2d 66 69 | 6c 65 2d 64 65 6c 65 74 |-flag-fi|le-delet|
|000009a0| 65 64 29 29 20 28 64 65 | 66 69 6e 65 2d 6b 65 79 |ed)) (de|fine-key|
|000009b0| 20 64 69 72 65 64 2d 6d | 6f 64 65 2d 6d 61 70 20 | dired-m|ode-map |
|000009c0| 22 64 22 20 28 71 75 6f | 74 65 20 64 69 72 65 64 |"d" (quo|te dired|
|000009d0| 2d 66 6c 61 67 2d 66 69 | 6c 65 2d 64 65 6c 65 74 |-flag-fi|le-delet|
|000009e0| 65 64 29 29 20 28 64 65 | 66 69 6e 65 2d 6b 65 79 |ed)) (de|fine-key|
|000009f0| 20 64 69 72 65 64 2d 6d | 6f 64 65 2d 6d 61 70 20 | dired-m|ode-map |
|00000a00| 22 76 22 20 28 71 75 6f | 74 65 20 64 69 72 65 64 |"v" (quo|te dired|
|00000a10| 2d 76 69 65 77 2d 66 69 | 6c 65 29 29 20 28 64 65 |-view-fi|le)) (de|
|00000a20| 66 69 6e 65 2d 6b 65 79 | 20 64 69 72 65 64 2d 6d |fine-key| dired-m|
|00000a30| 6f 64 65 2d 6d 61 70 20 | 22 65 22 20 28 71 75 6f |ode-map |"e" (quo|
|00000a40| 74 65 20 64 69 72 65 64 | 2d 66 69 6e 64 2d 66 69 |te dired|-find-fi|
|00000a50| 6c 65 29 29 20 28 64 65 | 66 69 6e 65 2d 6b 65 79 |le)) (de|fine-key|
|00000a60| 20 64 69 72 65 64 2d 6d | 6f 64 65 2d 6d 61 70 20 | dired-m|ode-map |
|00000a70| 22 66 22 20 28 71 75 6f | 74 65 20 64 69 72 65 64 |"f" (quo|te dired|
|00000a80| 2d 66 69 6e 64 2d 66 69 | 6c 65 29 29 20 28 64 65 |-find-fi|le)) (de|
|00000a90| 66 69 6e 65 2d 6b 65 79 | 20 64 69 72 65 64 2d 6d |fine-key| dired-m|
|00000aa0| 6f 64 65 2d 6d 61 70 20 | 22 6f 22 20 28 71 75 6f |ode-map |"o" (quo|
|00000ab0| 74 65 20 64 69 72 65 64 | 2d 66 69 6e 64 2d 66 69 |te dired|-find-fi|
|00000ac0| 6c 65 2d 6f 74 68 65 72 | 2d 77 69 6e 64 6f 77 29 |le-other|-window)|
|00000ad0| 29 20 28 64 65 66 69 6e | 65 2d 6b 65 79 20 64 69 |) (defin|e-key di|
|00000ae0| 72 65 64 2d 6d 6f 64 65 | 2d 6d 61 70 20 22 75 22 |red-mode|-map "u"|
|00000af0| 20 28 71 75 6f 74 65 20 | 64 69 72 65 64 2d 75 6e | (quote |dired-un|
|00000b00| 66 6c 61 67 29 29 20 28 | 64 65 66 69 6e 65 2d 6b |flag)) (|define-k|
|00000b10| 65 79 20 64 69 72 65 64 | 2d 6d 6f 64 65 2d 6d 61 |ey dired|-mode-ma|
|00000b20| 70 20 22 78 22 20 28 71 | 75 6f 74 65 20 64 69 72 |p "x" (q|uote dir|
|00000b30| 65 64 2d 64 6f 2d 64 65 | 6c 65 74 69 6f 6e 73 29 |ed-do-de|letions)|
|00000b40| 29 20 28 64 65 66 69 6e | 65 2d 6b 65 79 20 64 69 |) (defin|e-key di|
|00000b50| 72 65 64 2d 6d 6f 64 65 | 2d 6d 61 70 20 22 7f 22 |red-mode|-map "."|
|00000b60| 20 28 71 75 6f 74 65 20 | 64 69 72 65 64 2d 62 61 | (quote |dired-ba|
|00000b70| 63 6b 75 70 2d 75 6e 66 | 6c 61 67 29 29 20 28 64 |ckup-unf|lag)) (d|
|00000b80| 65 66 69 6e 65 2d 6b 65 | 79 20 64 69 72 65 64 2d |efine-ke|y dired-|
|00000b90| 6d 6f 64 65 2d 6d 61 70 | 20 22 3f 22 20 28 71 75 |mode-map| "?" (qu|
|00000ba0| 6f 74 65 20 64 69 72 65 | 64 2d 73 75 6d 6d 61 72 |ote dire|d-summar|
|00000bb0| 79 29 29 20 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |y)) (def|ine-key |
|00000bc0| 64 69 72 65 64 2d 6d 6f | 64 65 2d 6d 61 70 20 22 |dired-mo|de-map "|
|00000bd0| 63 22 20 28 71 75 6f 74 | 65 20 64 69 72 65 64 2d |c" (quot|e dired-|
|00000be0| 63 6f 70 79 2d 66 69 6c | 65 29 29 20 28 64 65 66 |copy-fil|e)) (def|
|00000bf0| 69 6e 65 2d 6b 65 79 20 | 64 69 72 65 64 2d 6d 6f |ine-key |dired-mo|
|00000c00| 64 65 2d 6d 61 70 20 22 | 23 22 20 28 71 75 6f 74 |de-map "|#" (quot|
|00000c10| 65 20 64 69 72 65 64 2d | 66 6c 61 67 2d 61 75 74 |e dired-|flag-aut|
|00000c20| 6f 2d 73 61 76 65 2d 66 | 69 6c 65 73 29 29 20 28 |o-save-f|iles)) (|
|00000c30| 64 65 66 69 6e 65 2d 6b | 65 79 20 64 69 72 65 64 |define-k|ey dired|
|00000c40| 2d 6d 6f 64 65 2d 6d 61 | 70 20 22 7e 22 20 28 71 |-mode-ma|p "~" (q|
|00000c50| 75 6f 74 65 20 64 69 72 | 65 64 2d 66 6c 61 67 2d |uote dir|ed-flag-|
|00000c60| 62 61 63 6b 75 70 2d 66 | 69 6c 65 73 29 29 20 28 |backup-f|iles)) (|
|00000c70| 64 65 66 69 6e 65 2d 6b | 65 79 20 64 69 72 65 64 |define-k|ey dired|
|00000c80| 2d 6d 6f 64 65 2d 6d 61 | 70 20 22 2e 22 20 28 71 |-mode-ma|p "." (q|
|00000c90| 75 6f 74 65 20 64 69 72 | 65 64 2d 63 6c 65 61 6e |uote dir|ed-clean|
|00000ca0| 2d 64 69 72 65 63 74 6f | 72 79 29 29 20 28 64 65 |-directo|ry)) (de|
|00000cb0| 66 69 6e 65 2d 6b 65 79 | 20 64 69 72 65 64 2d 6d |fine-key| dired-m|
|00000cc0| 6f 64 65 2d 6d 61 70 20 | 22 68 22 20 28 71 75 6f |ode-map |"h" (quo|
|00000cd0| 74 65 20 64 65 73 63 72 | 69 62 65 2d 6d 6f 64 65 |te descr|ibe-mode|
|00000ce0| 29 29 20 28 64 65 66 69 | 6e 65 2d 6b 65 79 20 64 |)) (defi|ne-key d|
|00000cf0| 69 72 65 64 2d 6d 6f 64 | 65 2d 6d 61 70 20 22 20 |ired-mod|e-map " |
|00000d00| 22 20 28 71 75 6f 74 65 | 20 64 69 72 65 64 2d 6e |" (quote| dired-n|
|00000d10| 65 78 74 2d 6c 69 6e 65 | 29 29 20 28 64 65 66 69 |ext-line|)) (defi|
|00000d20| 6e 65 2d 6b 65 79 20 64 | 69 72 65 64 2d 6d 6f 64 |ne-key d|ired-mod|
|00000d30| 65 2d 6d 61 70 20 22 0e | 22 20 28 71 75 6f 74 65 |e-map ".|" (quote|
|00000d40| 20 64 69 72 65 64 2d 6e | 65 78 74 2d 6c 69 6e 65 | dired-n|ext-line|
|00000d50| 29 29 20 28 64 65 66 69 | 6e 65 2d 6b 65 79 20 64 |)) (defi|ne-key d|
|00000d60| 69 72 65 64 2d 6d 6f 64 | 65 2d 6d 61 70 20 22 10 |ired-mod|e-map ".|
|00000d70| 22 20 28 71 75 6f 74 65 | 20 64 69 72 65 64 2d 70 |" (quote| dired-p|
|00000d80| 72 65 76 69 6f 75 73 2d | 6c 69 6e 65 29 29 20 28 |revious-|line)) (|
|00000d90| 64 65 66 69 6e 65 2d 6b | 65 79 20 64 69 72 65 64 |define-k|ey dired|
|00000da0| 2d 6d 6f 64 65 2d 6d 61 | 70 20 22 6e 22 20 28 71 |-mode-ma|p "n" (q|
|00000db0| 75 6f 74 65 20 64 69 72 | 65 64 2d 6e 65 78 74 2d |uote dir|ed-next-|
|00000dc0| 6c 69 6e 65 29 29 20 28 | 64 65 66 69 6e 65 2d 6b |line)) (|define-k|
|00000dd0| 65 79 20 64 69 72 65 64 | 2d 6d 6f 64 65 2d 6d 61 |ey dired|-mode-ma|
|00000de0| 70 20 22 70 22 20 28 71 | 75 6f 74 65 20 64 69 72 |p "p" (q|uote dir|
|00000df0| 65 64 2d 70 72 65 76 69 | 6f 75 73 2d 6c 69 6e 65 |ed-previ|ous-line|
|00000e00| 29 29 20 28 64 65 66 69 | 6e 65 2d 6b 65 79 20 64 |)) (defi|ne-key d|
|00000e10| 69 72 65 64 2d 6d 6f 64 | 65 2d 6d 61 70 20 22 67 |ired-mod|e-map "g|
|00000e20| 22 20 28 71 75 6f 74 65 | 20 72 65 76 65 72 74 2d |" (quote| revert-|
|00000e30| 62 75 66 66 65 72 29 29 | 20 28 64 65 66 69 6e 65 |buffer))| (define|
|00000e40| 2d 6b 65 79 20 64 69 72 | 65 64 2d 6d 6f 64 65 2d |-key dir|ed-mode-|
|00000e50| 6d 61 70 20 22 43 22 20 | 28 71 75 6f 74 65 20 64 |map "C" |(quote d|
|00000e60| 69 72 65 64 2d 63 6f 6d | 70 72 65 73 73 29 29 20 |ired-com|press)) |
|00000e70| 28 64 65 66 69 6e 65 2d | 6b 65 79 20 64 69 72 65 |(define-|key dire|
|00000e80| 64 2d 6d 6f 64 65 2d 6d | 61 70 20 22 55 22 20 28 |d-mode-m|ap "U" (|
|00000e90| 71 75 6f 74 65 20 64 69 | 72 65 64 2d 75 6e 63 6f |quote di|red-unco|
|00000ea0| 6d 70 72 65 73 73 29 29 | 20 28 64 65 66 69 6e 65 |mpress))| (define|
|00000eb0| 2d 6b 65 79 20 64 69 72 | 65 64 2d 6d 6f 64 65 2d |-key dir|ed-mode-|
|00000ec0| 6d 61 70 20 22 42 22 20 | 28 71 75 6f 74 65 20 64 |map "B" |(quote d|
|00000ed0| 69 72 65 64 2d 62 79 74 | 65 2d 72 65 63 6f 6d 70 |ired-byt|e-recomp|
|00000ee0| 69 6c 65 29 29 20 28 64 | 65 66 69 6e 65 2d 6b 65 |ile)) (d|efine-ke|
|00000ef0| 79 20 64 69 72 65 64 2d | 6d 6f 64 65 2d 6d 61 70 |y dired-|mode-map|
|00000f00| 20 22 4d 22 20 28 71 75 | 6f 74 65 20 64 69 72 65 | "M" (qu|ote dire|
|00000f10| 64 2d 63 68 6d 6f 64 29 | 29 20 28 64 65 66 69 6e |d-chmod)|) (defin|
|00000f20| 65 2d 6b 65 79 20 64 69 | 72 65 64 2d 6d 6f 64 65 |e-key di|red-mode|
|00000f30| 2d 6d 61 70 20 22 47 22 | 20 28 71 75 6f 74 65 20 |-map "G"| (quote |
|00000f40| 64 69 72 65 64 2d 63 68 | 67 72 70 29 29 20 28 64 |dired-ch|grp)) (d|
|00000f50| 65 66 69 6e 65 2d 6b 65 | 79 20 64 69 72 65 64 2d |efine-ke|y dired-|
|00000f60| 6d 6f 64 65 2d 6d 61 70 | 20 22 4f 22 20 28 71 75 |mode-map| "O" (qu|
|00000f70| 6f 74 65 20 64 69 72 65 | 64 2d 63 68 6f 77 6e 29 |ote dire|d-chown)|
|00000f80| 29 29 0a 0a 28 70 75 74 | 20 28 71 75 6f 74 65 20 |))..(put| (quote |
|00000f90| 64 69 72 65 64 2d 6d 6f | 64 65 29 20 28 71 75 6f |dired-mo|de) (quo|
|00000fa0| 74 65 20 6d 6f 64 65 2d | 63 6c 61 73 73 29 20 28 |te mode-|class) (|
|00000fb0| 71 75 6f 74 65 20 73 70 | 65 63 69 61 6c 29 29 0a |quote sp|ecial)).|
|00000fc0| 0a 28 64 65 66 75 6e 20 | 64 69 72 65 64 2d 6d 6f |.(defun |dired-mo|
|00000fd0| 64 65 20 28 26 6f 70 74 | 69 6f 6e 61 6c 20 64 69 |de (&opt|ional di|
|00000fe0| 72 6e 61 6d 65 29 20 22 | 5c 0a 4d 6f 64 65 20 66 |rname) "|\.Mode f|
|00000ff0| 6f 72 20 5c 22 65 64 69 | 74 69 6e 67 5c 22 20 64 |or \"edi|ting\" d|
|00001000| 69 72 65 63 74 6f 72 79 | 20 6c 69 73 74 69 6e 67 |irectory| listing|
|00001010| 73 2e 0a 49 6e 20 64 69 | 72 65 64 2c 20 79 6f 75 |s..In di|red, you|
|00001020| 20 61 72 65 20 5c 22 65 | 64 69 74 69 6e 67 5c 22 | are \"e|diting\"|
|00001030| 20 61 20 6c 69 73 74 20 | 6f 66 20 74 68 65 20 66 | a list |of the f|
|00001040| 69 6c 65 73 20 69 6e 20 | 61 20 64 69 72 65 63 74 |iles in |a direct|
|00001050| 6f 72 79 2e 0a 59 6f 75 | 20 63 61 6e 20 6d 6f 76 |ory..You| can mov|
|00001060| 65 20 75 73 69 6e 67 20 | 74 68 65 20 75 73 75 61 |e using |the usua|
|00001070| 6c 20 63 75 72 73 6f 72 | 20 6d 6f 74 69 6f 6e 20 |l cursor| motion |
|00001080| 63 6f 6d 6d 61 6e 64 73 | 2e 0a 4c 65 74 74 65 72 |commands|..Letter|
|00001090| 73 20 6e 6f 20 6c 6f 6e | 67 65 72 20 69 6e 73 65 |s no lon|ger inse|
|000010a0| 72 74 20 74 68 65 6d 73 | 65 6c 76 65 73 2e 0a 49 |rt thems|elves..I|
|000010b0| 6e 73 74 65 61 64 2c 20 | 74 79 70 65 20 64 20 74 |nstead, |type d t|
|000010c0| 6f 20 66 6c 61 67 20 61 | 20 66 69 6c 65 20 66 6f |o flag a| file fo|
|000010d0| 72 20 44 65 6c 65 74 69 | 6f 6e 2e 0a 54 79 70 65 |r Deleti|on..Type|
|000010e0| 20 75 20 74 6f 20 55 6e | 66 6c 61 67 20 61 20 66 | u to Un|flag a f|
|000010f0| 69 6c 65 20 28 72 65 6d | 6f 76 65 20 69 74 73 20 |ile (rem|ove its |
|00001100| 44 20 66 6c 61 67 29 2e | 0a 20 20 54 79 70 65 20 |D flag).|. Type |
|00001110| 52 75 62 6f 75 74 20 74 | 6f 20 62 61 63 6b 20 75 |Rubout t|o back u|
|00001120| 70 20 6f 6e 65 20 6c 69 | 6e 65 20 61 6e 64 20 75 |p one li|ne and u|
|00001130| 6e 66 6c 61 67 2e 0a 54 | 79 70 65 20 78 20 74 6f |nflag..T|ype x to|
|00001140| 20 65 58 65 63 75 74 65 | 20 74 68 65 20 64 65 6c | eXecute| the del|
|00001150| 65 74 69 6f 6e 73 20 72 | 65 71 75 65 73 74 65 64 |etions r|equested|
|00001160| 2e 0a 54 79 70 65 20 66 | 20 74 6f 20 46 69 6e 64 |..Type f| to Find|
|00001170| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 6c 69 6e | the cur|rent lin|
|00001180| 65 27 73 20 66 69 6c 65 | 0a 20 20 28 6f 72 20 44 |e's file|. (or D|
|00001190| 69 72 65 64 20 69 74 2c | 20 69 66 20 69 74 20 69 |ired it,| if it i|
|000011a0| 73 20 61 20 64 69 72 65 | 63 74 6f 72 79 29 2e 0a |s a dire|ctory)..|
|000011b0| 54 79 70 65 20 6f 20 74 | 6f 20 66 69 6e 64 20 66 |Type o t|o find f|
|000011c0| 69 6c 65 20 6f 72 20 64 | 69 72 65 64 20 64 69 72 |ile or d|ired dir|
|000011d0| 65 63 74 6f 72 79 20 69 | 6e 20 4f 74 68 65 72 20 |ectory i|n Other |
|000011e0| 77 69 6e 64 6f 77 2e 0a | 54 79 70 65 20 23 20 74 |window..|Type # t|
|000011f0| 6f 20 66 6c 61 67 20 74 | 65 6d 70 6f 72 61 72 79 |o flag t|emporary|
|00001200| 20 66 69 6c 65 73 20 28 | 6e 61 6d 65 73 20 62 65 | files (|names be|
|00001210| 67 69 6e 6e 69 6e 67 20 | 77 69 74 68 20 23 29 20 |ginning |with #) |
|00001220| 66 6f 72 20 44 65 6c 65 | 74 69 6f 6e 2e 0a 54 79 |for Dele|tion..Ty|
|00001230| 70 65 20 7e 20 74 6f 20 | 66 6c 61 67 20 62 61 63 |pe ~ to |flag bac|
|00001240| 6b 75 70 20 66 69 6c 65 | 73 20 28 6e 61 6d 65 73 |kup file|s (names|
|00001250| 20 65 6e 64 69 6e 67 20 | 77 69 74 68 20 7e 29 20 | ending |with ~) |
|00001260| 66 6f 72 20 44 65 6c 65 | 74 69 6f 6e 2e 0a 54 79 |for Dele|tion..Ty|
|00001270| 70 65 20 2e 20 74 6f 20 | 66 6c 61 67 20 6e 75 6d |pe . to |flag num|
|00001280| 65 72 69 63 61 6c 20 62 | 61 63 6b 75 70 73 20 66 |erical b|ackups f|
|00001290| 6f 72 20 44 65 6c 65 74 | 69 6f 6e 2e 0a 20 20 28 |or Delet|ion.. (|
|000012a0| 53 70 61 72 65 73 20 64 | 69 72 65 64 2d 6b 65 70 |Spares d|ired-kep|
|000012b0| 74 2d 76 65 72 73 69 6f | 6e 73 20 6f 72 20 69 74 |t-versio|ns or it|
|000012c0| 73 20 6e 75 6d 65 72 69 | 63 20 61 72 67 75 6d 65 |s numeri|c argume|
|000012d0| 6e 74 2e 29 0a 54 79 70 | 65 20 72 20 74 6f 20 72 |nt.).Typ|e r to r|
|000012e0| 65 6e 61 6d 65 20 61 20 | 66 69 6c 65 2e 0a 54 79 |ename a |file..Ty|
|000012f0| 70 65 20 63 20 74 6f 20 | 63 6f 70 79 20 61 20 66 |pe c to |copy a f|
|00001300| 69 6c 65 2e 0a 54 79 70 | 65 20 76 20 74 6f 20 76 |ile..Typ|e v to v|
|00001310| 69 65 77 20 61 20 66 69 | 6c 65 20 69 6e 20 56 69 |iew a fi|le in Vi|
|00001320| 65 77 20 6d 6f 64 65 2c | 20 72 65 74 75 72 6e 69 |ew mode,| returni|
|00001330| 6e 67 20 74 6f 20 44 69 | 72 65 64 20 77 68 65 6e |ng to Di|red when|
|00001340| 20 64 6f 6e 65 2e 0a 54 | 79 70 65 20 67 20 74 6f | done..T|ype g to|
|00001350| 20 72 65 61 64 20 74 68 | 65 20 64 69 72 65 63 74 | read th|e direct|
|00001360| 6f 72 79 20 61 67 61 69 | 6e 2e 20 20 54 68 69 73 |ory agai|n. This|
|00001370| 20 64 69 73 63 61 72 64 | 73 20 61 6c 6c 20 64 65 | discard|s all de|
|00001380| 6c 65 74 69 6f 6e 2d 66 | 6c 61 67 73 2e 0a 53 70 |letion-f|lags..Sp|
|00001390| 61 63 65 20 61 6e 64 20 | 52 75 62 6f 75 74 20 63 |ace and |Rubout c|
|000013a0| 61 6e 20 62 65 20 75 73 | 65 64 20 74 6f 20 6d 6f |an be us|ed to mo|
|000013b0| 76 65 20 64 6f 77 6e 20 | 61 6e 64 20 75 70 20 62 |ve down |and up b|
|000013c0| 79 20 6c 69 6e 65 73 2e | 0a 41 6c 73 6f 3a 20 43 |y lines.|.Also: C|
|000013d0| 20 2d 2d 20 63 6f 6d 70 | 72 65 73 73 20 74 68 69 | -- comp|ress thi|
|000013e0| 73 20 66 69 6c 65 2e 20 | 20 55 20 2d 2d 20 75 6e |s file. | U -- un|
|000013f0| 63 6f 6d 70 72 65 73 73 | 20 74 68 69 73 20 66 69 |compress| this fi|
|00001400| 6c 65 2e 0a 20 20 20 20 | 20 20 42 20 2d 2d 20 62 |le.. | B -- b|
|00001410| 79 74 65 20 63 6f 6d 70 | 69 6c 65 20 74 68 69 73 |yte comp|ile this|
|00001420| 20 66 69 6c 65 2e 0a 20 | 4d 2c 20 47 2c 20 4f 20 | file.. |M, G, O |
|00001430| 2d 2d 20 63 68 61 6e 67 | 65 20 66 69 6c 65 27 73 |-- chang|e file's|
|00001440| 20 6d 6f 64 65 2c 20 67 | 72 6f 75 70 20 6f 72 20 | mode, g|roup or |
|00001450| 6f 77 6e 65 72 2e 0a 5c | 5c 7b 64 69 72 65 64 2d |owner..\|\{dired-|
|00001460| 6d 6f 64 65 2d 6d 61 70 | 7d 22 20 28 69 6e 74 65 |mode-map|}" (inte|
|00001470| 72 61 63 74 69 76 65 29 | 20 28 62 79 74 65 2d 63 |ractive)| (byte-c|
|00001480| 6f 64 65 20 22 c8 88 cc | 20 88 cd c0 21 88 ce 89 |ode "...| ...!...|
|00001490| 10 88 cf 89 11 88 d0 89 | 12 88 cd c3 21 88 0c 86 |........|....!...|
|000014a0| 1e 00 0d 89 13 88 0c 85 | 34 00 d1 0c 21 83 2f 00 |........|4...!./.|
|000014b0| 0c 82 32 00 d2 0c 21 89 | 15 88 d3 89 16 06 88 c8 |..2...!.|........|
|000014c0| 89 16 07 88 ca 89 16 09 | 88 d4 0e 0b 21 88 d5 d6 |........|....!...|
|000014d0| 21 87 22 20 5b 72 65 76 | 65 72 74 2d 62 75 66 66 |!." [rev|ert-buff|
|000014e0| 65 72 2d 66 75 6e 63 74 | 69 6f 6e 20 6d 61 6a 6f |er-funct|ion majo|
|000014f0| 72 2d 6d 6f 64 65 20 6d | 6f 64 65 2d 6e 61 6d 65 |r-mode m|ode-name|
|00001500| 20 64 69 72 65 64 2d 64 | 69 72 65 63 74 6f 72 79 | dired-d|irectory|
|00001510| 20 64 69 72 6e 61 6d 65 | 20 64 65 66 61 75 6c 74 | dirname| default|
|00001520| 2d 64 69 72 65 63 74 6f | 72 79 20 6d 6f 64 65 2d |-directo|ry mode-|
|00001530| 6c 69 6e 65 2d 62 75 66 | 66 65 72 2d 69 64 65 6e |line-buf|fer-iden|
|00001540| 74 69 66 69 63 61 74 69 | 6f 6e 20 63 61 73 65 2d |tificati|on case-|
|00001550| 66 6f 6c 64 2d 73 65 61 | 72 63 68 20 6e 69 6c 20 |fold-sea|rch nil |
|00001560| 62 75 66 66 65 72 2d 72 | 65 61 64 2d 6f 6e 6c 79 |buffer-r|ead-only|
|00001570| 20 74 20 64 69 72 65 64 | 2d 6d 6f 64 65 2d 6d 61 | t dired|-mode-ma|
|00001580| 70 20 6b 69 6c 6c 2d 61 | 6c 6c 2d 6c 6f 63 61 6c |p kill-a|ll-local|
|00001590| 2d 76 61 72 69 61 62 6c | 65 73 20 6d 61 6b 65 2d |-variabl|es make-|
|000015a0| 6c 6f 63 61 6c 2d 76 61 | 72 69 61 62 6c 65 20 64 |local-va|riable d|
|000015b0| 69 72 65 64 2d 72 65 76 | 65 72 74 20 64 69 72 65 |ired-rev|ert dire|
|000015c0| 64 2d 6d 6f 64 65 20 22 | 44 69 72 65 64 22 20 66 |d-mode "|Dired" f|
|000015d0| 69 6c 65 2d 64 69 72 65 | 63 74 6f 72 79 2d 70 20 |ile-dire|ctory-p |
|000015e0| 66 69 6c 65 2d 6e 61 6d | 65 2d 64 69 72 65 63 74 |file-nam|e-direct|
|000015f0| 6f 72 79 20 28 22 44 69 | 72 65 64 3a 20 25 31 37 |ory ("Di|red: %17|
|00001600| 62 22 29 20 75 73 65 2d | 6c 6f 63 61 6c 2d 6d 61 |b") use-|local-ma|
|00001610| 70 20 72 75 6e 2d 68 6f | 6f 6b 73 20 64 69 72 65 |p run-ho|oks dire|
|00001620| 64 2d 6d 6f 64 65 2d 68 | 6f 6f 6b 5d 20 38 29 29 |d-mode-h|ook] 8))|
|00001630| 0a 0a 28 64 65 66 75 6e | 20 64 69 72 65 64 2d 72 |..(defun| dired-r|
|00001640| 65 70 65 61 74 2d 6f 76 | 65 72 2d 6c 69 6e 65 73 |epeat-ov|er-lines|
|00001650| 20 28 61 72 67 20 66 75 | 6e 63 74 69 6f 6e 29 20 | (arg fu|nction) |
|00001660| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c2 20 88 08 |(byte-co|de ". ..|
|00001670| c3 56 85 0b 00 6d 3f 85 | 34 00 08 53 89 10 88 8a |.V...m?.|4..S....|
|00001680| c2 20 88 6f 85 24 00 c4 | c5 21 85 24 00 c6 c7 21 |. .o.$..|.!.$...!|
|00001690| 88 c8 09 21 29 88 c9 ca | 21 88 cb 20 88 82 03 00 |...!)...|!.. ....|
|000016a0| 88 08 c3 57 85 3d 00 6f | 3f 85 58 00 08 54 89 10 |...W.=.o|?.X..T..|
|000016b0| 88 c9 cc 21 88 cb 20 88 | 8a c2 20 88 c8 09 21 29 |...!.. .|.. ...!)|
|000016c0| 88 82 35 00 87 22 20 5b | 61 72 67 20 66 75 6e 63 |..5.." [|arg func|
|000016d0| 74 69 6f 6e 20 62 65 67 | 69 6e 6e 69 6e 67 2d 6f |tion beg|inning-o|
|000016e0| 66 2d 6c 69 6e 65 20 30 | 20 6c 6f 6f 6b 69 6e 67 |f-line 0| looking|
|000016f0| 2d 61 74 20 22 20 20 74 | 6f 74 61 6c 22 20 65 72 |-at " t|otal" er|
|00001700| 72 6f 72 20 22 4e 6f 20 | 66 69 6c 65 20 6f 6e 20 |ror "No |file on |
|00001710| 74 68 69 73 20 6c 69 6e | 65 22 20 66 75 6e 63 61 |this lin|e" funca|
|00001720| 6c 6c 20 66 6f 72 77 61 | 72 64 2d 6c 69 6e 65 20 |ll forwa|rd-line |
|00001730| 31 20 64 69 72 65 64 2d | 6d 6f 76 65 2d 74 6f 2d |1 dired-|move-to-|
|00001740| 66 69 6c 65 6e 61 6d 65 | 20 2d 31 5d 20 31 33 29 |filename| -1] 13)|
|00001750| 29 0a 0a 28 64 65 66 75 | 6e 20 64 69 72 65 64 2d |)..(defu|n dired-|
|00001760| 66 6c 61 67 2d 66 69 6c | 65 2d 64 65 6c 65 74 65 |flag-fil|e-delete|
|00001770| 64 20 28 61 72 67 29 20 | 22 5c 0a 49 6e 20 64 69 |d (arg) |"\.In di|
|00001780| 72 65 64 2c 20 66 6c 61 | 67 20 74 68 65 20 63 75 |red, fla|g the cu|
|00001790| 72 72 65 6e 74 20 6c 69 | 6e 65 27 73 20 66 69 6c |rrent li|ne's fil|
|000017a0| 65 20 66 6f 72 20 64 65 | 6c 65 74 69 6f 6e 2e 0a |e for de|letion..|
|000017b0| 57 69 74 68 20 61 72 67 | 2c 20 72 65 70 65 61 74 |With arg|, repeat|
|000017c0| 20 6f 76 65 72 20 73 65 | 76 65 72 61 6c 20 6c 69 | over se|veral li|
|000017d0| 6e 65 73 2e 22 20 28 69 | 6e 74 65 72 61 63 74 69 |nes." (i|nteracti|
|000017e0| 76 65 20 22 70 22 29 20 | 28 62 79 74 65 2d 63 6f |ve "p") |(byte-co|
|000017f0| 64 65 20 22 c1 88 c2 08 | c3 5c 22 87 22 20 5b 61 |de "....|.\"." [a|
|00001800| 72 67 20 6e 69 6c 20 64 | 69 72 65 64 2d 72 65 70 |rg nil d|ired-rep|
|00001810| 65 61 74 2d 6f 76 65 72 | 2d 6c 69 6e 65 73 20 28 |eat-over|-lines (|
|00001820| 6c 61 6d 62 64 61 20 6e | 69 6c 20 28 6c 65 74 20 |lambda n|il (let |
|00001830| 28 28 62 75 66 66 65 72 | 2d 72 65 61 64 2d 6f 6e |((buffer|-read-on|
|00001840| 6c 79 20 6e 69 6c 29 29 | 20 28 64 65 6c 65 74 65 |ly nil))| (delete|
|00001850| 2d 63 68 61 72 20 31 29 | 20 28 69 6e 73 65 72 74 |-char 1)| (insert|
|00001860| 20 22 44 22 29 29 29 5d | 20 33 29 29 0a 0a 28 64 | "D")))]| 3))..(d|
|00001870| 65 66 75 6e 20 64 69 72 | 65 64 2d 73 75 6d 6d 61 |efun dir|ed-summa|
|00001880| 72 79 20 6e 69 6c 20 28 | 69 6e 74 65 72 61 63 74 |ry nil (|interact|
|00001890| 69 76 65 29 20 28 62 79 | 74 65 2d 63 6f 64 65 20 |ive) (by|te-code |
|000018a0| 22 c0 88 c1 c2 21 87 22 | 20 5b 6e 69 6c 20 6d 65 |"....!."| [nil me|
|000018b0| 73 73 61 67 65 20 22 64 | 2d 65 6c 65 74 65 2c 20 |ssage "d|-elete, |
|000018c0| 75 2d 6e 64 65 6c 65 74 | 65 2c 20 78 2d 65 63 75 |u-ndelet|e, x-ecu|
|000018d0| 74 65 2c 20 66 2d 69 6e | 64 2c 20 6f 2d 74 68 65 |te, f-in|d, o-the|
|000018e0| 72 20 77 69 6e 64 6f 77 | 2c 20 72 2d 65 6e 61 6d |r window|, r-enam|
|000018f0| 65 2c 20 63 2d 6f 70 79 | 2c 20 76 2d 69 65 77 22 |e, c-opy|, v-iew"|
|00001900| 5d 20 32 29 29 0a 0a 28 | 64 65 66 75 6e 20 64 69 |] 2))..(|defun di|
|00001910| 72 65 64 2d 75 6e 66 6c | 61 67 20 28 61 72 67 29 |red-unfl|ag (arg)|
|00001920| 20 22 5c 0a 49 6e 20 64 | 69 72 65 64 2c 20 72 65 | "\.In d|ired, re|
|00001930| 6d 6f 76 65 20 74 68 65 | 20 63 75 72 72 65 6e 74 |move the| current|
|00001940| 20 6c 69 6e 65 27 73 20 | 64 65 6c 65 74 65 20 66 | line's |delete f|
|00001950| 6c 61 67 20 74 68 65 6e | 20 6d 6f 76 65 20 74 6f |lag then| move to|
|00001960| 20 6e 65 78 74 20 6c 69 | 6e 65 2e 22 20 28 69 6e | next li|ne." (in|
|00001970| 74 65 72 61 63 74 69 76 | 65 20 22 70 22 29 20 28 |teractiv|e "p") (|
|00001980| 62 79 74 65 2d 63 6f 64 | 65 20 22 c1 88 c2 08 c3 |byte-cod|e ".....|
|00001990| 5c 22 87 22 20 5b 61 72 | 67 20 6e 69 6c 20 64 69 |\"." [ar|g nil di|
|000019a0| 72 65 64 2d 72 65 70 65 | 61 74 2d 6f 76 65 72 2d |red-repe|at-over-|
|000019b0| 6c 69 6e 65 73 20 28 6c | 61 6d 62 64 61 20 6e 69 |lines (l|ambda ni|
|000019c0| 6c 20 28 6c 65 74 20 28 | 28 62 75 66 66 65 72 2d |l (let (|(buffer-|
|000019d0| 72 65 61 64 2d 6f 6e 6c | 79 20 6e 69 6c 29 29 20 |read-onl|y nil)) |
|000019e0| 28 64 65 6c 65 74 65 2d | 63 68 61 72 20 31 29 20 |(delete-|char 1) |
|000019f0| 28 69 6e 73 65 72 74 20 | 22 20 22 29 20 28 66 6f |(insert |" ") (fo|
|00001a00| 72 77 61 72 64 2d 63 68 | 61 72 20 2d 31 29 29 29 |rward-ch|ar -1)))|
|00001a10| 5d 20 33 29 29 0a 0a 28 | 64 65 66 75 6e 20 64 69 |] 3))..(|defun di|
|00001a20| 72 65 64 2d 62 61 63 6b | 75 70 2d 75 6e 66 6c 61 |red-back|up-unfla|
|00001a30| 67 20 28 61 72 67 29 20 | 22 5c 0a 49 6e 20 64 69 |g (arg) |"\.In di|
|00001a40| 72 65 64 2c 20 6d 6f 76 | 65 20 75 70 20 61 20 6c |red, mov|e up a l|
|00001a50| 69 6e 65 20 61 6e 64 20 | 72 65 6d 6f 76 65 20 64 |ine and |remove d|
|00001a60| 65 6c 65 74 69 6f 6e 20 | 66 6c 61 67 20 74 68 65 |eletion |flag the|
|00001a70| 72 65 2e 22 20 28 69 6e | 74 65 72 61 63 74 69 76 |re." (in|teractiv|
|00001a80| 65 20 22 70 22 29 20 28 | 62 79 74 65 2d 63 6f 64 |e "p") (|byte-cod|
|00001a90| 65 20 22 c1 88 c2 08 5b | 21 87 22 20 5b 61 72 67 |e "....[|!." [arg|
|00001aa0| 20 6e 69 6c 20 64 69 72 | 65 64 2d 75 6e 66 6c 61 | nil dir|ed-unfla|
|00001ab0| 67 5d 20 32 29 29 0a 0a | 28 64 65 66 75 6e 20 64 |g] 2))..|(defun d|
|00001ac0| 69 72 65 64 2d 6e 65 78 | 74 2d 6c 69 6e 65 20 28 |ired-nex|t-line (|
|00001ad0| 61 72 67 29 20 22 5c 0a | 4d 6f 76 65 20 64 6f 77 |arg) "\.|Move dow|
|00001ae0| 6e 20 41 52 47 20 6c 69 | 6e 65 73 20 74 68 65 6e |n ARG li|nes then|
|00001af0| 20 70 6f 73 69 74 69 6f | 6e 20 61 74 20 66 69 6c | positio|n at fil|
|00001b00| 65 6e 61 6d 65 2e 22 20 | 28 69 6e 74 65 72 61 63 |ename." |(interac|
|00001b10| 74 69 76 65 20 22 70 22 | 29 20 28 62 79 74 65 2d |tive "p"|) (byte-|
|00001b20| 63 6f 64 65 20 22 c1 88 | c2 08 21 88 c3 20 87 22 |code "..|..!.. ."|
|00001b30| 20 5b 61 72 67 20 6e 69 | 6c 20 6e 65 78 74 2d 6c | [arg ni|l next-l|
|00001b40| 69 6e 65 20 64 69 72 65 | 64 2d 6d 6f 76 65 2d 74 |ine dire|d-move-t|
|00001b50| 6f 2d 66 69 6c 65 6e 61 | 6d 65 5d 20 33 29 29 0a |o-filena|me] 3)).|
|00001b60| 0a 28 64 65 66 75 6e 20 | 64 69 72 65 64 2d 70 72 |.(defun |dired-pr|
|00001b70| 65 76 69 6f 75 73 2d 6c | 69 6e 65 20 28 61 72 67 |evious-l|ine (arg|
|00001b80| 29 20 22 5c 0a 4d 6f 76 | 65 20 75 70 20 41 52 47 |) "\.Mov|e up ARG|
|00001b90| 20 6c 69 6e 65 73 20 74 | 68 65 6e 20 70 6f 73 69 | lines t|hen posi|
|00001ba0| 74 69 6f 6e 20 61 74 20 | 66 69 6c 65 6e 61 6d 65 |tion at |filename|
|00001bb0| 2e 22 20 28 69 6e 74 65 | 72 61 63 74 69 76 65 20 |." (inte|ractive |
|00001bc0| 22 70 22 29 20 28 62 79 | 74 65 2d 63 6f 64 65 20 |"p") (by|te-code |
|00001bd0| 22 c1 88 c2 08 21 88 c3 | 20 87 22 20 5b 61 72 67 |"....!..| ." [arg|
|00001be0| 20 6e 69 6c 20 70 72 65 | 76 69 6f 75 73 2d 6c 69 | nil pre|vious-li|
|00001bf0| 6e 65 20 64 69 72 65 64 | 2d 6d 6f 76 65 2d 74 6f |ne dired|-move-to|
|00001c00| 2d 66 69 6c 65 6e 61 6d | 65 5d 20 33 29 29 0a 0a |-filenam|e] 3))..|
|00001c10| 28 64 65 66 75 6e 20 64 | 69 72 65 64 2d 66 69 6e |(defun d|ired-fin|
|00001c20| 64 2d 66 69 6c 65 20 6e | 69 6c 20 22 5c 0a 49 6e |d-file n|il "\.In|
|00001c30| 20 64 69 72 65 64 2c 20 | 76 69 73 69 74 20 74 68 | dired, |visit th|
|00001c40| 65 20 66 69 6c 65 20 6f | 72 20 64 69 72 65 63 74 |e file o|r direct|
|00001c50| 6f 72 79 20 6e 61 6d 65 | 64 20 6f 6e 20 74 68 69 |ory name|d on thi|
|00001c60| 73 20 6c 69 6e 65 2e 22 | 20 28 69 6e 74 65 72 61 |s line."| (intera|
|00001c70| 63 74 69 76 65 29 20 28 | 62 79 74 65 2d 63 6f 64 |ctive) (|byte-cod|
|00001c80| 65 20 22 c0 88 c1 c2 20 | 21 87 22 20 5b 6e 69 6c |e ".... |!." [nil|
|00001c90| 20 66 69 6e 64 2d 66 69 | 6c 65 20 64 69 72 65 64 | find-fi|le dired|
|00001ca0| 2d 67 65 74 2d 66 69 6c | 65 6e 61 6d 65 5d 20 33 |-get-fil|ename] 3|
|00001cb0| 29 29 0a 0a 28 64 65 66 | 75 6e 20 64 69 72 65 64 |))..(def|un dired|
|00001cc0| 2d 76 69 65 77 2d 66 69 | 6c 65 20 6e 69 6c 20 22 |-view-fi|le nil "|
|00001cd0| 5c 0a 49 6e 20 64 69 72 | 65 64 2c 20 65 78 61 6d |\.In dir|ed, exam|
|00001ce0| 69 6e 65 20 61 20 66 69 | 6c 65 20 69 6e 20 76 69 |ine a fi|le in vi|
|00001cf0| 65 77 20 6d 6f 64 65 2c | 20 72 65 74 75 72 6e 69 |ew mode,| returni|
|00001d00| 6e 67 20 74 6f 20 64 69 | 72 65 64 20 77 68 65 6e |ng to di|red when|
|00001d10| 20 64 6f 6e 65 2e 22 20 | 28 69 6e 74 65 72 61 63 | done." |(interac|
|00001d20| 74 69 76 65 29 20 28 62 | 79 74 65 2d 63 6f 64 65 |tive) (b|yte-code|
|00001d30| 20 22 c0 88 c1 c2 20 21 | 83 10 00 c3 c2 20 21 82 | ".... !|..... !.|
|00001d40| 14 00 c4 c2 20 21 87 22 | 20 5b 6e 69 6c 20 66 69 |.... !."| [nil fi|
|00001d50| 6c 65 2d 64 69 72 65 63 | 74 6f 72 79 2d 70 20 64 |le-direc|tory-p d|
|00001d60| 69 72 65 64 2d 67 65 74 | 2d 66 69 6c 65 6e 61 6d |ired-get|-filenam|
|00001d70| 65 20 64 69 72 65 64 20 | 76 69 65 77 2d 66 69 6c |e dired |view-fil|
|00001d80| 65 5d 20 37 29 29 0a 0a | 28 64 65 66 75 6e 20 64 |e] 7))..|(defun d|
|00001d90| 69 72 65 64 2d 66 69 6e | 64 2d 66 69 6c 65 2d 6f |ired-fin|d-file-o|
|00001da0| 74 68 65 72 2d 77 69 6e | 64 6f 77 20 6e 69 6c 20 |ther-win|dow nil |
|00001db0| 22 5c 0a 49 6e 20 64 69 | 72 65 64 2c 20 76 69 73 |"\.In di|red, vis|
|00001dc0| 69 74 20 74 68 69 73 20 | 66 69 6c 65 20 6f 72 20 |it this |file or |
|00001dd0| 64 69 72 65 63 74 6f 72 | 79 20 69 6e 20 61 6e 6f |director|y in ano|
|00001de0| 74 68 65 72 20 77 69 6e | 64 6f 77 2e 22 20 28 69 |ther win|dow." (i|
|00001df0| 6e 74 65 72 61 63 74 69 | 76 65 29 20 28 62 79 74 |nteracti|ve) (byt|
|00001e00| 65 2d 63 6f 64 65 20 22 | c0 88 c1 c2 20 21 87 22 |e-code "|.... !."|
|00001e10| 20 5b 6e 69 6c 20 66 69 | 6e 64 2d 66 69 6c 65 2d | [nil fi|nd-file-|
|00001e20| 6f 74 68 65 72 2d 77 69 | 6e 64 6f 77 20 64 69 72 |other-wi|ndow dir|
|00001e30| 65 64 2d 67 65 74 2d 66 | 69 6c 65 6e 61 6d 65 5d |ed-get-f|ilename]|
|00001e40| 20 33 29 29 0a 0a 28 64 | 65 66 75 6e 20 64 69 72 | 3))..(d|efun dir|
|00001e50| 65 64 2d 67 65 74 2d 66 | 69 6c 65 6e 61 6d 65 20 |ed-get-f|ilename |
|00001e60| 28 26 6f 70 74 69 6f 6e | 61 6c 20 6c 6f 63 61 6c |(&option|al local|
|00001e70| 70 20 6e 6f 2d 65 72 72 | 6f 72 2d 69 66 2d 6e 6f |p no-err|or-if-no|
|00001e80| 74 2d 66 69 6c 65 70 29 | 20 22 5c 0a 49 6e 20 64 |t-filep)| "\.In d|
|00001e90| 69 72 65 64 2c 20 72 65 | 74 75 72 6e 20 6e 61 6d |ired, re|turn nam|
|00001ea0| 65 20 6f 66 20 66 69 6c | 65 20 6d 65 6e 74 69 6f |e of fil|e mentio|
|00001eb0| 6e 65 64 20 6f 6e 20 74 | 68 69 73 20 6c 69 6e 65 |ned on t|his line|
|00001ec0| 2e 0a 56 61 6c 75 65 20 | 72 65 74 75 72 6e 65 64 |..Value |returned|
|00001ed0| 20 6e 6f 72 6d 61 6c 6c | 79 20 69 6e 63 6c 75 64 | normall|y includ|
|00001ee0| 65 73 20 74 68 65 20 64 | 69 72 65 63 74 6f 72 79 |es the d|irectory|
|00001ef0| 20 6e 61 6d 65 2e 0a 41 | 20 6e 6f 6e 2d 6e 69 6c | name..A| non-nil|
|00001f00| 20 31 73 74 20 61 72 67 | 75 6d 65 6e 74 20 6d 65 | 1st arg|ument me|
|00001f10| 61 6e 73 20 64 6f 20 6e | 6f 74 20 69 6e 63 6c 75 |ans do n|ot inclu|
|00001f20| 64 65 20 69 74 2e 20 20 | 41 20 6e 6f 6e 2d 6e 69 |de it. |A non-ni|
|00001f30| 6c 20 32 6e 64 20 61 72 | 67 75 6d 65 6e 74 0a 73 |l 2nd ar|gument.s|
|00001f40| 61 79 73 20 72 65 74 75 | 72 6e 20 6e 69 6c 20 69 |ays retu|rn nil i|
|00001f50| 66 20 6e 6f 20 66 69 6c | 65 6e 61 6d 65 20 6f 6e |f no fil|ename on|
|00001f60| 20 74 68 69 73 20 6c 69 | 6e 65 2c 20 6f 74 68 65 | this li|ne, othe|
|00001f70| 72 77 69 73 65 20 61 6e | 20 65 72 72 6f 72 20 6f |rwise an| error o|
|00001f80| 63 63 75 72 73 2e 22 20 | 28 62 79 74 65 2d 63 6f |ccurs." |(byte-co|
|00001f90| 64 65 20 22 c6 18 8a c7 | 20 88 60 89 10 88 c8 20 |de "....| .`.... |
|00001fa0| 88 c9 ca 08 c1 23 83 3e | 00 cb cc 21 88 cb cd 08 |.....#.>|...!....|
|00001fb0| 5c 22 88 cb cc 08 5c 22 | 88 60 1a cb ce 21 88 0b |\"....\"|.`...!..|
|00001fc0| 83 34 00 cf 0a 60 5c 22 | 82 3a 00 0c cf 0a 60 5c |.4...`\"|.:....`\|
|00001fd0| 22 50 29 82 49 00 0d 83 | 46 00 c6 82 49 00 d0 d1 |"P).I...|F...I...|
|00001fe0| 21 29 29 87 22 20 5b 65 | 6f 6c 20 74 20 62 65 67 |!))." [e|ol t beg|
|00001ff0| 20 6c 6f 63 61 6c 70 20 | 64 65 66 61 75 6c 74 2d | localp |default-|
|00002000| 64 69 72 65 63 74 6f 72 | 79 20 6e 6f 2d 65 72 72 |director|y no-err|
|00002010| 6f 72 2d 69 66 2d 6e 6f | 74 2d 66 69 6c 65 70 20 |or-if-no|t-filep |
|00002020| 6e 69 6c 20 65 6e 64 2d | 6f 66 2d 6c 69 6e 65 20 |nil end-|of-line |
|00002030| 62 65 67 69 6e 6e 69 6e | 67 2d 6f 66 2d 6c 69 6e |beginnin|g-of-lin|
|00002040| 65 20 72 65 2d 73 65 61 | 72 63 68 2d 66 6f 72 77 |e re-sea|rch-forw|
|00002050| 61 72 64 20 22 5c 5c 28 | 4a 61 6e 5c 5c 7c 46 65 |ard "\\(|Jan\\|Fe|
|00002060| 62 5c 5c 7c 4d 61 72 5c | 5c 7c 41 70 72 5c 5c 7c |b\\|Mar\|\|Apr\\||
|00002070| 4d 61 79 5c 5c 7c 4a 75 | 6e 5c 5c 7c 4a 75 6c 5c |May\\|Ju|n\\|Jul\|
|00002080| 5c 7c 41 75 67 5c 5c 7c | 53 65 70 5c 5c 7c 4f 63 |\|Aug\\||Sep\\|Oc|
|00002090| 74 5c 5c 7c 4e 6f 76 5c | 5c 7c 44 65 63 5c 5c 29 |t\\|Nov\|\|Dec\\)|
|000020a0| 5b 20 5d 2b 5b 30 2d 39 | 5d 2b 22 20 73 6b 69 70 |[ ]+[0-9|]+" skip|
|000020b0| 2d 63 68 61 72 73 2d 66 | 6f 72 77 61 72 64 20 22 |-chars-f|orward "|
|000020c0| 20 22 20 22 5e 20 22 20 | 22 5e 20 0a 22 20 62 75 | " "^ " |"^ ." bu|
|000020d0| 66 66 65 72 2d 73 75 62 | 73 74 72 69 6e 67 20 65 |ffer-sub|string e|
|000020e0| 72 72 6f 72 20 22 4e 6f | 20 66 69 6c 65 20 6f 6e |rror "No| file on|
|000020f0| 20 74 68 69 73 20 6c 69 | 6e 65 22 5d 20 31 32 29 | this li|ne"] 12)|
|00002100| 29 0a 0a 28 64 65 66 75 | 6e 20 64 69 72 65 64 2d |)..(defu|n dired-|
|00002110| 6d 6f 76 65 2d 74 6f 2d | 66 69 6c 65 6e 61 6d 65 |move-to-|filename|
|00002120| 20 6e 69 6c 20 22 5c 0a | 49 6e 20 64 69 72 65 64 | nil "\.|In dired|
|00002130| 2c 20 6d 6f 76 65 20 74 | 6f 20 66 69 72 73 74 20 |, move t|o first |
|00002140| 63 68 61 72 20 6f 66 20 | 66 69 6c 65 6e 61 6d 65 |char of |filename|
|00002150| 20 6f 6e 20 74 68 69 73 | 20 6c 69 6e 65 2e 0a 52 | on this| line..R|
|00002160| 65 74 75 72 6e 73 20 70 | 6f 73 69 74 69 6f 6e 20 |eturns p|osition |
|00002170| 28 70 6f 69 6e 74 29 20 | 6f 72 20 6e 69 6c 20 69 |(point) |or nil i|
|00002180| 66 20 6e 6f 20 66 69 6c | 65 6e 61 6d 65 20 6f 6e |f no fil|ename on|
|00002190| 20 74 68 69 73 20 6c 69 | 6e 65 2e 22 20 28 62 79 | this li|ne." (by|
|000021a0| 74 65 2d 63 6f 64 65 20 | 22 c2 20 88 60 18 c3 20 |te-code |". .`.. |
|000021b0| 88 c4 c5 08 c1 23 85 1f | 00 c6 c7 21 88 c6 c8 08 |.....#..|...!....|
|000021c0| 5c 22 88 c6 c7 08 5c 22 | 88 60 29 87 22 20 5b 65 |\"....\"|.`)." [e|
|000021d0| 6f 6c 20 74 20 65 6e 64 | 2d 6f 66 2d 6c 69 6e 65 |ol t end|-of-line|
|000021e0| 20 62 65 67 69 6e 6e 69 | 6e 67 2d 6f 66 2d 6c 69 | beginni|ng-of-li|
|000021f0| 6e 65 20 72 65 2d 73 65 | 61 72 63 68 2d 66 6f 72 |ne re-se|arch-for|
|00002200| 77 61 72 64 20 22 5c 5c | 28 4a 61 6e 5c 5c 7c 46 |ward "\\|(Jan\\|F|
|00002210| 65 62 5c 5c 7c 4d 61 72 | 5c 5c 7c 41 70 72 5c 5c |eb\\|Mar|\\|Apr\\|
|00002220| 7c 4d 61 79 5c 5c 7c 4a | 75 6e 5c 5c 7c 4a 75 6c ||May\\|J|un\\|Jul|
|00002230| 5c 5c 7c 41 75 67 5c 5c | 7c 53 65 70 5c 5c 7c 4f |\\|Aug\\||Sep\\|O|
|00002240| 63 74 5c 5c 7c 4e 6f 76 | 5c 5c 7c 44 65 63 5c 5c |ct\\|Nov|\\|Dec\\|
|00002250| 29 5b 20 5d 2b 5b 30 2d | 39 5d 2b 22 20 73 6b 69 |)[ ]+[0-|9]+" ski|
|00002260| 70 2d 63 68 61 72 73 2d | 66 6f 72 77 61 72 64 20 |p-chars-|forward |
|00002270| 22 20 22 20 22 5e 20 22 | 5d 20 38 29 29 0a 0a 28 |" " "^ "|] 8))..(|
|00002280| 64 65 66 75 6e 20 64 69 | 72 65 64 2d 6d 61 70 2d |defun di|red-map-|
|00002290| 64 69 72 65 64 2d 66 69 | 6c 65 2d 6c 69 6e 65 73 |dired-fi|le-lines|
|000022a0| 20 28 66 6e 29 20 22 5c | 0a 70 65 72 66 6f 72 6d | (fn) "\|.perform|
|000022b0| 20 66 6e 20 77 69 74 68 | 20 70 6f 69 6e 74 20 61 | fn with| point a|
|000022c0| 74 20 74 68 65 20 65 6e | 64 20 6f 66 20 65 61 63 |t the en|d of eac|
|000022d0| 68 20 6e 6f 6e 2d 64 69 | 72 65 63 74 6f 72 79 20 |h non-di|rectory |
|000022e0| 6c 69 6e 65 3a 0a 61 72 | 67 75 6d 65 6e 74 73 20 |line:.ar|guments |
|000022f0| 61 72 65 20 74 68 65 20 | 73 68 6f 72 74 20 61 6e |are the |short an|
|00002300| 64 20 6c 6f 6e 67 20 66 | 69 6c 65 6e 61 6d 65 22 |d long f|ilename"|
|00002310| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 8a c3 c3 | (byte-c|ode "...|
|00002320| c3 1a 19 18 65 62 88 6d | 3f 85 3b 00 8a c6 c7 21 |....eb.m|?.;....!|
|00002330| 3f 85 32 00 6c 3f 85 32 | 00 c8 c4 c4 5c 22 10 c8 |?.2.l?.2|....\"..|
|00002340| c3 c4 5c 22 89 11 85 32 | 00 c9 20 88 ca 0d 08 09 |..\"...2|.. .....|
|00002350| 23 29 88 cb cc 21 88 82 | 0a 00 2b 29 87 22 20 5b |#)...!..|..+)." [|
|00002360| 66 69 6c 65 6e 61 6d 65 | 20 6c 6f 6e 67 66 69 6c |filename| longfil|
|00002370| 65 6e 61 6d 65 20 62 75 | 66 66 65 72 2d 72 65 61 |ename bu|ffer-rea|
|00002380| 64 2d 6f 6e 6c 79 20 6e | 69 6c 20 74 20 66 6e 20 |d-only n|il t fn |
|00002390| 6c 6f 6f 6b 69 6e 67 2d | 61 74 20 22 20 20 64 22 |looking-|at " d"|
|000023a0| 20 64 69 72 65 64 2d 67 | 65 74 2d 66 69 6c 65 6e | dired-g|et-filen|
|000023b0| 61 6d 65 20 65 6e 64 2d | 6f 66 2d 6c 69 6e 65 20 |ame end-|of-line |
|000023c0| 66 75 6e 63 61 6c 6c 20 | 66 6f 72 77 61 72 64 2d |funcall |forward-|
|000023d0| 6c 69 6e 65 20 31 5d 20 | 39 29 29 0a 0a 28 64 65 |line 1] |9))..(de|
|000023e0| 66 75 6e 20 64 69 72 65 | 64 2d 66 6c 61 67 2d 61 |fun dire|d-flag-a|
|000023f0| 75 74 6f 2d 73 61 76 65 | 2d 66 69 6c 65 73 20 6e |uto-save|-files n|
|00002400| 69 6c 20 22 5c 0a 46 6c | 61 67 20 66 6f 72 20 64 |il "\.Fl|ag for d|
|00002410| 65 6c 65 74 69 6f 6e 20 | 66 69 6c 65 73 20 77 68 |eletion |files wh|
|00002420| 6f 73 65 20 6e 61 6d 65 | 73 20 73 75 67 67 65 73 |ose name|s sugges|
|00002430| 74 20 74 68 65 79 20 61 | 72 65 20 61 75 74 6f 20 |t they a|re auto |
|00002440| 73 61 76 65 20 66 69 6c | 65 73 2e 22 20 28 69 6e |save fil|es." (in|
|00002450| 74 65 72 61 63 74 69 76 | 65 29 20 28 62 79 74 65 |teractiv|e) (byte|
|00002460| 2d 63 6f 64 65 20 22 c1 | 88 8a c1 18 65 62 88 6d |-code ".|....eb.m|
|00002470| 3f 85 4b 00 c4 c5 21 3f | 85 43 00 6c 3f 85 43 00 |?.K...!?|.C.l?.C.|
|00002480| c6 c7 21 83 2f 00 c8 c3 | c3 5c 22 1a 0a 85 2b 00 |..!./...|.\"...+.|
|00002490| c7 0a 21 29 82 37 00 c9 | 20 85 37 00 c4 ca 21 85 |..!).7..| .7...!.|
|000024a0| 43 00 cb 20 88 cc cd 21 | 88 ce 63 88 cf cd 21 88 |C.. ...!|..c...!.|
|000024b0| 82 08 00 29 29 87 22 20 | 5b 62 75 66 66 65 72 2d |...))." |[buffer-|
|000024c0| 72 65 61 64 2d 6f 6e 6c | 79 20 6e 69 6c 20 66 6e |read-onl|y nil fn|
|000024d0| 20 74 20 6c 6f 6f 6b 69 | 6e 67 2d 61 74 20 22 20 | t looki|ng-at " |
|000024e0| 20 64 22 20 66 62 6f 75 | 6e 64 70 20 61 75 74 6f | d" fbou|ndp auto|
|000024f0| 2d 73 61 76 65 2d 66 69 | 6c 65 2d 6e 61 6d 65 2d |-save-fi|le-name-|
|00002500| 70 20 64 69 72 65 64 2d | 67 65 74 2d 66 69 6c 65 |p dired-|get-file|
|00002510| 6e 61 6d 65 20 64 69 72 | 65 64 2d 6d 6f 76 65 2d |name dir|ed-move-|
|00002520| 74 6f 2d 66 69 6c 65 6e | 61 6d 65 20 22 23 22 20 |to-filen|ame "#" |
|00002530| 62 65 67 69 6e 6e 69 6e | 67 2d 6f 66 2d 6c 69 6e |beginnin|g-of-lin|
|00002540| 65 20 64 65 6c 65 74 65 | 2d 63 68 61 72 20 31 20 |e delete|-char 1 |
|00002550| 22 44 22 20 66 6f 72 77 | 61 72 64 2d 6c 69 6e 65 |"D" forw|ard-line|
|00002560| 5d 20 31 31 29 29 0a 0a | 28 64 65 66 75 6e 20 64 |] 11))..|(defun d|
|00002570| 69 72 65 64 2d 63 6c 65 | 61 6e 2d 64 69 72 65 63 |ired-cle|an-direc|
|00002580| 74 6f 72 79 20 28 6b 65 | 65 70 29 20 22 5c 0a 46 |tory (ke|ep) "\.F|
|00002590| 6c 61 67 20 6e 75 6d 65 | 72 69 63 61 6c 20 62 61 |lag nume|rical ba|
|000025a0| 63 6b 75 70 73 20 66 6f | 72 20 44 65 6c 65 74 69 |ckups fo|r Deleti|
|000025b0| 6f 6e 2e 0a 53 70 61 72 | 65 73 20 64 69 72 65 64 |on..Spar|es dired|
|000025c0| 2d 6b 65 70 74 2d 76 65 | 72 73 69 6f 6e 73 20 6c |-kept-ve|rsions l|
|000025d0| 61 74 65 73 74 20 76 65 | 72 73 69 6f 6e 73 2c 20 |atest ve|rsions, |
|000025e0| 61 6e 64 20 6b 65 70 74 | 2d 6f 6c 64 2d 76 65 72 |and kept|-old-ver|
|000025f0| 73 69 6f 6e 73 20 6f 6c | 64 65 73 74 2e 0a 50 6f |sions ol|dest..Po|
|00002600| 73 69 74 69 76 65 20 6e | 75 6d 65 72 69 63 20 61 |sitive n|umeric a|
|00002610| 72 67 20 6f 76 65 72 72 | 69 64 65 73 20 64 69 72 |rg overr|ides dir|
|00002620| 65 64 2d 6b 65 70 74 2d | 76 65 72 73 69 6f 6e 73 |ed-kept-|versions|
|00002630| 3b 0a 6e 65 67 61 74 69 | 76 65 20 6e 75 6d 65 72 |;.negati|ve numer|
|00002640| 69 63 20 61 72 67 20 6f | 76 65 72 72 69 64 65 73 |ic arg o|verrides|
|00002650| 20 6b 65 70 74 2d 6f 6c | 64 2d 76 65 72 73 69 6f | kept-ol|d-versio|
|00002660| 6e 73 20 77 69 74 68 20 | 6d 69 6e 75 73 20 74 68 |ns with |minus th|
|00002670| 65 20 61 72 67 2e 22 20 | 28 69 6e 74 65 72 61 63 |e arg." |(interac|
|00002680| 74 69 76 65 20 22 50 22 | 29 20 28 62 79 74 65 2d |tive "P"|) (byte-|
|00002690| 63 6f 64 65 20 22 c6 88 | 08 83 0c 00 ca 08 21 82 |code "..|......!.|
|000026a0| 0d 00 09 89 10 88 08 cb | 57 83 1b 00 08 5b 82 1c |........|W....[..|
|000026b0| 00 0b 08 cb 58 83 26 00 | 09 82 27 00 08 c6 1d 1c |....X.&.|..'.....|
|000026c0| 1a cc cd 21 88 0d 1e 07 | 0e 07 85 74 00 ce cf 0e |...!....|...t....|
|000026d0| 07 40 41 d0 5c 22 42 1e | 08 0e 08 47 1e 09 0e 09 |.@A.\"B.|...G....|
|000026e0| 0a 0c 5c 5c 56 85 5f 00 | d1 d2 0a 0e 08 5c 22 d2 |..\\V._.|.....\".|
|000026f0| 0e 09 0c 5a 0e 08 5c 22 | 5c 22 88 d1 0e 07 40 0e |...Z..\"|\"....@.|
|00002700| 08 41 5c 22 2a 88 0e 07 | 41 89 16 07 88 82 32 00 |.A\"*...|A.....2.|
|00002710| 29 88 cc d3 21 2b 87 22 | 20 5b 6b 65 65 70 20 64 |)...!+."| [keep d|
|00002720| 69 72 65 64 2d 6b 65 70 | 74 2d 76 65 72 73 69 6f |ired-kep|t-versio|
|00002730| 6e 73 20 65 61 72 6c 79 | 2d 72 65 74 65 6e 74 69 |ns early|-retenti|
|00002740| 6f 6e 20 6b 65 70 74 2d | 6f 6c 64 2d 76 65 72 73 |on kept-|old-vers|
|00002750| 69 6f 6e 73 20 6c 61 74 | 65 2d 72 65 74 65 6e 74 |ions lat|e-retent|
|00002760| 69 6f 6e 20 66 69 6c 65 | 2d 76 65 72 73 69 6f 6e |ion file|-version|
|00002770| 2d 61 73 73 6f 63 2d 6c | 69 73 74 20 6e 69 6c 20 |-assoc-l|ist nil |
|00002780| 66 76 61 6c 20 73 6f 72 | 74 65 64 2d 76 2d 6c 69 |fval sor|ted-v-li|
|00002790| 73 74 20 76 2d 63 6f 75 | 6e 74 20 70 72 65 66 69 |st v-cou|nt prefi|
|000027a0| 78 2d 6e 75 6d 65 72 69 | 63 2d 76 61 6c 75 65 20 |x-numeri|c-value |
|000027b0| 30 20 64 69 72 65 64 2d | 6d 61 70 2d 64 69 72 65 |0 dired-|map-dire|
|000027c0| 64 2d 66 69 6c 65 2d 6c | 69 6e 65 73 20 64 69 72 |d-file-l|ines dir|
|000027d0| 65 64 2d 63 6f 6c 6c 65 | 63 74 2d 66 69 6c 65 2d |ed-colle|ct-file-|
|000027e0| 76 65 72 73 69 6f 6e 73 | 20 71 20 73 6f 72 74 20 |versions| q sort |
|000027f0| 3c 20 72 70 6c 61 63 64 | 20 6e 74 68 63 64 72 20 |< rplacd| nthcdr |
|00002800| 64 69 72 65 64 2d 74 72 | 61 6d 70 6c 65 2d 66 69 |dired-tr|ample-fi|
|00002810| 6c 65 2d 76 65 72 73 69 | 6f 6e 73 5d 20 31 30 29 |le-versi|ons] 10)|
|00002820| 29 0a 0a 28 64 65 66 75 | 6e 20 64 69 72 65 64 2d |)..(defu|n dired-|
|00002830| 63 6f 6c 6c 65 63 74 2d | 66 69 6c 65 2d 76 65 72 |collect-|file-ver|
|00002840| 73 69 6f 6e 73 20 28 69 | 67 6e 6f 72 65 20 66 6e |sions (i|gnore fn|
|00002850| 29 20 22 5c 0a 49 66 20 | 69 74 20 6c 6f 6f 6b 73 |) "\.If |it looks|
|00002860| 20 6c 69 6b 65 20 66 6e | 20 68 61 73 20 76 65 72 | like fn| has ver|
|00002870| 73 69 6f 6e 73 2c 20 77 | 65 20 6d 61 6b 65 20 61 |sions, w|e make a|
|00002880| 20 6c 69 73 74 20 6f 66 | 20 74 68 65 20 76 65 72 | list of| the ver|
|00002890| 73 69 6f 6e 73 2e 0a 57 | 65 20 6d 61 79 20 77 61 |sions..W|e may wa|
|000028a0| 6e 74 20 74 6f 20 66 6c | 61 67 20 73 6f 6d 65 20 |nt to fl|ag some |
|000028b0| 66 6f 72 20 64 65 6c 65 | 74 69 6f 6e 2e 22 20 28 |for dele|tion." (|
|000028c0| 62 79 74 65 2d 63 6f 64 | 65 20 22 c6 09 21 c7 50 |byte-cod|e "..!.P|
|000028d0| 18 08 47 1a c8 08 c9 09 | 21 5c 22 1b ca cb 0b 5c |..G.....|!\"....\|
|000028e0| 22 1c 0c 85 20 00 09 0c | 42 0d 42 89 15 2c 87 22 |"... ...|B.B..,."|
|000028f0| 20 5b 62 61 73 65 2d 76 | 65 72 73 69 6f 6e 73 20 | [base-v|ersions |
|00002900| 66 6e 20 62 76 2d 6c 65 | 6e 67 74 68 20 70 6f 73 |fn bv-le|ngth pos|
|00002910| 73 69 62 69 6c 69 74 69 | 65 73 20 76 65 72 73 69 |sibiliti|es versi|
|00002920| 6f 6e 73 20 66 69 6c 65 | 2d 76 65 72 73 69 6f 6e |ons file|-version|
|00002930| 2d 61 73 73 6f 63 2d 6c | 69 73 74 20 66 69 6c 65 |-assoc-l|ist file|
|00002940| 2d 6e 61 6d 65 2d 6e 6f | 6e 64 69 72 65 63 74 6f |-name-no|ndirecto|
|00002950| 72 79 20 22 2e 7e 22 20 | 66 69 6c 65 2d 6e 61 6d |ry ".~" |file-nam|
|00002960| 65 2d 61 6c 6c 2d 63 6f | 6d 70 6c 65 74 69 6f 6e |e-all-co|mpletion|
|00002970| 73 20 66 69 6c 65 2d 6e | 61 6d 65 2d 64 69 72 65 |s file-n|ame-dire|
|00002980| 63 74 6f 72 79 20 6d 61 | 70 63 61 72 20 62 61 63 |ctory ma|pcar bac|
|00002990| 6b 75 70 2d 65 78 74 72 | 61 63 74 2d 76 65 72 73 |kup-extr|act-vers|
|000029a0| 69 6f 6e 5d 20 36 29 29 | 0a 0a 28 64 65 66 75 6e |ion] 6))|..(defun|
|000029b0| 20 64 69 72 65 64 2d 74 | 72 61 6d 70 6c 65 2d 66 | dired-t|rample-f|
|000029c0| 69 6c 65 2d 76 65 72 73 | 69 6f 6e 73 20 28 69 67 |ile-vers|ions (ig|
|000029d0| 6e 6f 72 65 20 66 6e 29 | 20 28 62 79 74 65 2d 63 |nore fn)| (byte-c|
|000029e0| 6f 64 65 20 22 c4 c5 09 | 5c 22 18 c6 1a 08 85 27 |ode "...|\".....'|
|000029f0| 00 c7 09 c8 08 4f 0b 5c | 22 89 12 85 27 00 c9 09 |.....O.\|"...'...|
|00002a00| ca 08 5c 5c c6 4f 21 0a | 3e 3f 85 27 00 cb 20 2a |..\\.O!.|>?.'.. *|
|00002a10| 87 22 20 5b 73 74 61 72 | 74 2d 76 6e 20 66 6e 20 |." [star|t-vn fn |
|00002a20| 62 61 73 65 2d 76 65 72 | 73 69 6f 6e 2d 6c 69 73 |base-ver|sion-lis|
|00002a30| 74 20 66 69 6c 65 2d 76 | 65 72 73 69 6f 6e 2d 61 |t file-v|ersion-a|
|00002a40| 73 73 6f 63 2d 6c 69 73 | 74 20 73 74 72 69 6e 67 |ssoc-lis|t string|
|00002a50| 2d 6d 61 74 63 68 20 22 | 5c 5c 2e 7e 5b 30 2d 39 |-match "|\\.~[0-9|
|00002a60| 5d 2b 7e 24 22 20 6e 69 | 6c 20 61 73 73 6f 63 20 |]+~$" ni|l assoc |
|00002a70| 30 20 73 74 72 69 6e 67 | 2d 74 6f 2d 69 6e 74 20 |0 string|-to-int |
|00002a80| 32 20 64 69 72 65 64 2d | 66 6c 61 67 2d 74 68 69 |2 dired-|flag-thi|
|00002a90| 73 2d 6c 69 6e 65 2d 66 | 6f 72 2d 44 45 41 54 48 |s-line-f|or-DEATH|
|00002aa0| 5d 20 36 29 29 0a 0a 28 | 64 65 66 75 6e 20 64 69 |] 6))..(|defun di|
|00002ab0| 72 65 64 2d 66 6c 61 67 | 2d 74 68 69 73 2d 6c 69 |red-flag|-this-li|
|00002ac0| 6e 65 2d 66 6f 72 2d 44 | 45 41 54 48 20 6e 69 6c |ne-for-D|EATH nil|
|00002ad0| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 20 88 | (byte-c|ode ". .|
|00002ae0| c1 c2 21 88 c3 63 87 22 | 20 5b 62 65 67 69 6e 6e |..!..c."| [beginn|
|00002af0| 69 6e 67 2d 6f 66 2d 6c | 69 6e 65 20 64 65 6c 65 |ing-of-l|ine dele|
|00002b00| 74 65 2d 63 68 61 72 20 | 31 20 22 44 22 5d 20 33 |te-char |1 "D"] 3|
|00002b10| 29 29 0a 0a 28 64 65 66 | 75 6e 20 64 69 72 65 64 |))..(def|un dired|
|00002b20| 2d 66 6c 61 67 2d 62 61 | 63 6b 75 70 2d 66 69 6c |-flag-ba|ckup-fil|
|00002b30| 65 73 20 6e 69 6c 20 22 | 5c 0a 46 6c 61 67 20 61 |es nil "|\.Flag a|
|00002b40| 6c 6c 20 62 61 63 6b 75 | 70 20 66 69 6c 65 73 20 |ll backu|p files |
|00002b50| 28 6e 61 6d 65 73 20 65 | 6e 64 69 6e 67 20 77 69 |(names e|nding wi|
|00002b60| 74 68 20 7e 29 20 66 6f | 72 20 64 65 6c 65 74 69 |th ~) fo|r deleti|
|00002b70| 6f 6e 2e 22 20 28 69 6e | 74 65 72 61 63 74 69 76 |on." (in|teractiv|
|00002b80| 65 29 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c1 |e) (byte|-code ".|
|00002b90| 88 8a c1 18 65 62 88 6d | 3f 85 4d 00 c4 c5 21 3f |....eb.m|?.M...!?|
|00002ba0| 85 45 00 6c 3f 85 45 00 | c6 c7 21 83 2f 00 c8 c3 |.E.l?.E.|..!./...|
|00002bb0| c3 5c 22 1a 0a 85 2b 00 | c7 0a 21 29 82 39 00 c9 |.\"...+.|..!).9..|
|00002bc0| 20 88 ca cb 21 88 c4 cc | 21 85 45 00 cd 20 88 ce | ...!...|!.E.. ..|
|00002bd0| cf 21 88 d0 63 88 d1 cf | 21 88 82 08 00 29 29 87 |.!..c...|!....)).|
|00002be0| 22 20 5b 62 75 66 66 65 | 72 2d 72 65 61 64 2d 6f |" [buffe|r-read-o|
|00002bf0| 6e 6c 79 20 6e 69 6c 20 | 66 6e 20 74 20 6c 6f 6f |nly nil |fn t loo|
|00002c00| 6b 69 6e 67 2d 61 74 20 | 22 20 20 64 22 20 66 62 |king-at |" d" fb|
|00002c10| 6f 75 6e 64 70 20 62 61 | 63 6b 75 70 2d 66 69 6c |oundp ba|ckup-fil|
|00002c20| 65 2d 6e 61 6d 65 2d 70 | 20 64 69 72 65 64 2d 67 |e-name-p| dired-g|
|00002c30| 65 74 2d 66 69 6c 65 6e | 61 6d 65 20 65 6e 64 2d |et-filen|ame end-|
|00002c40| 6f 66 2d 6c 69 6e 65 20 | 66 6f 72 77 61 72 64 2d |of-line |forward-|
|00002c50| 63 68 61 72 20 2d 31 20 | 22 7e 22 20 62 65 67 69 |char -1 |"~" begi|
|00002c60| 6e 6e 69 6e 67 2d 6f 66 | 2d 6c 69 6e 65 20 64 65 |nning-of|-line de|
|00002c70| 6c 65 74 65 2d 63 68 61 | 72 20 31 20 22 44 22 20 |lete-cha|r 1 "D" |
|00002c80| 66 6f 72 77 61 72 64 2d | 6c 69 6e 65 5d 20 31 32 |forward-|line] 12|
|00002c90| 29 29 0a 0a 28 64 65 66 | 75 6e 20 64 69 72 65 64 |))..(def|un dired|
|00002ca0| 2d 66 6c 61 67 2d 62 61 | 63 6b 75 70 2d 61 6e 64 |-flag-ba|ckup-and|
|00002cb0| 2d 61 75 74 6f 2d 73 61 | 76 65 2d 66 69 6c 65 73 |-auto-sa|ve-files|
|00002cc0| 20 6e 69 6c 20 22 5c 0a | 46 6c 61 67 20 61 6c 6c | nil "\.|Flag all|
|00002cd0| 20 62 61 63 6b 75 70 20 | 61 6e 64 20 74 65 6d 70 | backup |and temp|
|00002ce0| 6f 72 61 72 79 20 66 69 | 6c 65 73 20 66 6f 72 20 |orary fi|les for |
|00002cf0| 64 65 6c 65 74 69 6f 6e | 2e 0a 42 61 63 6b 75 70 |deletion|..Backup|
|00002d00| 20 66 69 6c 65 73 20 68 | 61 76 65 20 6e 61 6d 65 | files h|ave name|
|00002d10| 73 20 65 6e 64 69 6e 67 | 20 69 6e 20 7e 2e 20 20 |s ending| in ~. |
|00002d20| 41 75 74 6f 20 73 61 76 | 65 20 66 69 6c 65 20 6e |Auto sav|e file n|
|00002d30| 61 6d 65 73 20 75 73 75 | 61 6c 6c 79 0a 73 74 61 |ames usu|ally.sta|
|00002d40| 72 74 20 77 69 74 68 20 | 23 2e 22 20 28 69 6e 74 |rt with |#." (int|
|00002d50| 65 72 61 63 74 69 76 65 | 29 20 28 62 79 74 65 2d |eractive|) (byte-|
|00002d60| 63 6f 64 65 20 22 c0 88 | c1 20 88 c2 20 87 22 20 |code "..|. .. ." |
|00002d70| 5b 6e 69 6c 20 64 69 72 | 65 64 2d 66 6c 61 67 2d |[nil dir|ed-flag-|
|00002d80| 62 61 63 6b 75 70 2d 66 | 69 6c 65 73 20 64 69 72 |backup-f|iles dir|
|00002d90| 65 64 2d 66 6c 61 67 2d | 61 75 74 6f 2d 73 61 76 |ed-flag-|auto-sav|
|00002da0| 65 2d 66 69 6c 65 73 5d | 20 33 29 29 0a 0a 28 64 |e-files]| 3))..(d|
|00002db0| 65 66 75 6e 20 64 69 72 | 65 64 2d 72 65 6e 61 6d |efun dir|ed-renam|
|00002dc0| 65 2d 66 69 6c 65 20 28 | 74 6f 2d 66 69 6c 65 29 |e-file (|to-file)|
|00002dd0| 20 22 5c 0a 52 65 6e 61 | 6d 65 20 74 68 69 73 20 | "\.Rena|me this |
|00002de0| 66 69 6c 65 20 74 6f 20 | 54 4f 2d 46 49 4c 45 2e |file to |TO-FILE.|
|00002df0| 22 20 28 69 6e 74 65 72 | 61 63 74 69 76 65 20 28 |" (inter|active (|
|00002e00| 62 79 74 65 2d 63 6f 64 | 65 20 22 c1 c2 c3 c4 c5 |byte-cod|e ".....|
|00002e10| 20 21 5c 22 c0 c5 20 23 | 43 87 22 20 5b 6e 69 6c | !\".. #|C." [nil|
|00002e20| 20 72 65 61 64 2d 66 69 | 6c 65 2d 6e 61 6d 65 20 | read-fi|le-name |
|00002e30| 66 6f 72 6d 61 74 20 22 | 52 65 6e 61 6d 65 20 25 |format "|Rename %|
|00002e40| 73 20 74 6f 3a 20 22 20 | 66 69 6c 65 2d 6e 61 6d |s to: " |file-nam|
|00002e50| 65 2d 6e 6f 6e 64 69 72 | 65 63 74 6f 72 79 20 64 |e-nondir|ectory d|
|00002e60| 69 72 65 64 2d 67 65 74 | 2d 66 69 6c 65 6e 61 6d |ired-get|-filenam|
|00002e70| 65 5d 20 38 29 29 20 28 | 62 79 74 65 2d 63 6f 64 |e] 8)) (|byte-cod|
|00002e80| 65 20 22 c0 88 c3 09 21 | 89 11 88 c4 c5 20 09 5c |e "....!|..... .\|
|00002e90| 22 88 c0 1a c6 20 88 c7 | 60 c8 c9 21 88 60 5c 22 |".... ..|`..!.`\"|
|00002ea0| 88 c3 09 21 89 11 88 ca | cb 09 21 cc 09 21 5c 22 |...!....|..!..!\"|
|00002eb0| 29 87 22 20 5b 6e 69 6c | 20 74 6f 2d 66 69 6c 65 |)." [nil| to-file|
|00002ec0| 20 62 75 66 66 65 72 2d | 72 65 61 64 2d 6f 6e 6c | buffer-|read-onl|
|00002ed0| 79 20 65 78 70 61 6e 64 | 2d 66 69 6c 65 2d 6e 61 |y expand|-file-na|
|00002ee0| 6d 65 20 72 65 6e 61 6d | 65 2d 66 69 6c 65 20 64 |me renam|e-file d|
|00002ef0| 69 72 65 64 2d 67 65 74 | 2d 66 69 6c 65 6e 61 6d |ired-get|-filenam|
|00002f00| 65 20 62 65 67 69 6e 6e | 69 6e 67 2d 6f 66 2d 6c |e beginn|ing-of-l|
|00002f10| 69 6e 65 20 64 65 6c 65 | 74 65 2d 72 65 67 69 6f |ine dele|te-regio|
|00002f20| 6e 20 66 6f 72 77 61 72 | 64 2d 6c 69 6e 65 20 31 |n forwar|d-line 1|
|00002f30| 20 64 69 72 65 64 2d 61 | 64 64 2d 65 6e 74 72 79 | dired-a|dd-entry|
|00002f40| 20 66 69 6c 65 2d 6e 61 | 6d 65 2d 64 69 72 65 63 | file-na|me-direc|
|00002f50| 74 6f 72 79 20 66 69 6c | 65 2d 6e 61 6d 65 2d 6e |tory fil|e-name-n|
|00002f60| 6f 6e 64 69 72 65 63 74 | 6f 72 79 5d 20 31 32 29 |ondirect|ory] 12)|
|00002f70| 29 0a 0a 28 64 65 66 75 | 6e 20 64 69 72 65 64 2d |)..(defu|n dired-|
|00002f80| 63 6f 70 79 2d 66 69 6c | 65 20 28 74 6f 2d 66 69 |copy-fil|e (to-fi|
|00002f90| 6c 65 29 20 22 5c 0a 43 | 6f 70 79 20 74 68 69 73 |le) "\.C|opy this|
|00002fa0| 20 66 69 6c 65 20 74 6f | 20 54 4f 2d 46 49 4c 45 | file to| TO-FILE|
|00002fb0| 2e 22 20 28 69 6e 74 65 | 72 61 63 74 69 76 65 20 |." (inte|ractive |
|00002fc0| 22 46 43 6f 70 79 20 74 | 6f 3a 20 22 29 20 28 62 |"FCopy t|o: ") (b|
|00002fd0| 79 74 65 2d 63 6f 64 65 | 20 22 c1 88 c2 c3 20 08 |yte-code| ".... .|
|00002fe0| 5c 22 88 c4 08 21 89 10 | 88 c5 c6 08 21 c7 08 21 |\"...!..|....!..!|
|00002ff0| 5c 22 87 22 20 5b 74 6f | 2d 66 69 6c 65 20 6e 69 |\"." [to|-file ni|
|00003000| 6c 20 63 6f 70 79 2d 66 | 69 6c 65 20 64 69 72 65 |l copy-f|ile dire|
|00003010| 64 2d 67 65 74 2d 66 69 | 6c 65 6e 61 6d 65 20 65 |d-get-fi|lename e|
|00003020| 78 70 61 6e 64 2d 66 69 | 6c 65 2d 6e 61 6d 65 20 |xpand-fi|le-name |
|00003030| 64 69 72 65 64 2d 61 64 | 64 2d 65 6e 74 72 79 20 |dired-ad|d-entry |
|00003040| 66 69 6c 65 2d 6e 61 6d | 65 2d 64 69 72 65 63 74 |file-nam|e-direct|
|00003050| 6f 72 79 20 66 69 6c 65 | 2d 6e 61 6d 65 2d 6e 6f |ory file|-name-no|
|00003060| 6e 64 69 72 65 63 74 6f | 72 79 5d 20 38 29 29 0a |ndirecto|ry] 8)).|
|00003070| 0a 28 64 65 66 75 6e 20 | 64 69 72 65 64 2d 61 64 |.(defun |dired-ad|
|00003080| 64 2d 65 6e 74 72 79 20 | 28 64 69 72 65 63 74 6f |d-entry |(directo|
|00003090| 72 79 20 66 69 6c 65 6e | 61 6d 65 29 20 28 62 79 |ry filen|ame) (by|
|000030a0| 74 65 2d 63 6f 64 65 20 | 22 c9 08 09 5c 22 85 48 |te-code |"...\".H|
|000030b0| 00 c3 1a ca 20 88 cb cc | c3 c4 c3 cd 0d 08 0e 06 |.... ...|........|
|000030c0| 50 26 07 88 ce cf 21 88 | d0 63 88 d1 20 88 60 1e |P&....!.|.c.. .`.|
|000030d0| 07 d2 20 88 60 1e 08 d3 | 0e 07 0e 08 5c 22 89 16 |.. .`...|....\"..|
|000030e0| 06 88 d4 0e 07 0e 08 5c | 22 88 d5 0e 06 21 63 2a |.......\|"....!c*|
|000030f0| 88 ca 20 29 87 22 20 5b | 64 69 72 65 63 74 6f 72 |.. )." [|director|
|00003100| 79 20 64 65 66 61 75 6c | 74 2d 64 69 72 65 63 74 |y defaul|t-direct|
|00003110| 6f 72 79 20 62 75 66 66 | 65 72 2d 72 65 61 64 2d |ory buff|er-read-|
|00003120| 6f 6e 6c 79 20 6e 69 6c | 20 74 20 64 69 72 65 64 |only nil| t dired|
|00003130| 2d 6c 69 73 74 69 6e 67 | 2d 73 77 69 74 63 68 65 |-listing|-switche|
|00003140| 73 20 66 69 6c 65 6e 61 | 6d 65 20 62 65 67 20 65 |s filena|me beg e|
|00003150| 6e 64 20 73 74 72 69 6e | 67 2d 65 71 75 61 6c 20 |nd strin|g-equal |
|00003160| 62 65 67 69 6e 6e 69 6e | 67 2d 6f 66 2d 6c 69 6e |beginnin|g-of-lin|
|00003170| 65 20 63 61 6c 6c 2d 70 | 72 6f 63 65 73 73 20 22 |e call-p|rocess "|
|00003180| 6c 73 22 20 22 2d 64 22 | 20 66 6f 72 77 61 72 64 |ls" "-d"| forward|
|00003190| 2d 6c 69 6e 65 20 2d 31 | 20 22 20 20 22 20 64 69 |-line -1| " " di|
|000031a0| 72 65 64 2d 6d 6f 76 65 | 2d 74 6f 2d 66 69 6c 65 |red-move|-to-file|
|000031b0| 6e 61 6d 65 20 65 6e 64 | 2d 6f 66 2d 6c 69 6e 65 |name end|-of-line|
|000031c0| 20 62 75 66 66 65 72 2d | 73 75 62 73 74 72 69 6e | buffer-|substrin|
|000031d0| 67 20 64 65 6c 65 74 65 | 2d 72 65 67 69 6f 6e 20 |g delete|-region |
|000031e0| 66 69 6c 65 2d 6e 61 6d | 65 2d 6e 6f 6e 64 69 72 |file-nam|e-nondir|
|000031f0| 65 63 74 6f 72 79 5d 20 | 31 31 29 29 0a 0a 28 64 |ectory] |11))..(d|
|00003200| 65 66 75 6e 20 64 69 72 | 65 64 2d 63 6f 6d 70 72 |efun dir|ed-compr|
|00003210| 65 73 73 20 6e 69 6c 20 | 22 5c 0a 43 6f 6d 70 72 |ess nil |"\.Compr|
|00003220| 65 73 73 20 74 68 69 73 | 20 66 69 6c 65 2e 22 20 |ess this| file." |
|00003230| 28 69 6e 74 65 72 61 63 | 74 69 76 65 29 20 28 62 |(interac|tive) (b|
|00003240| 79 74 65 2d 63 6f 64 65 | 20 22 c1 88 c1 18 c5 c6 |yte-code| "......|
|00003250| 21 1a c7 20 1b 0b c8 50 | 1c c9 ca 0b 5c 22 85 1a |!.. ...P|....\"..|
|00003260| 00 cb cc 0b 5c 22 88 cd | ce 0b 5c 22 88 cf 8e 8a |....\"..|..\"....|
|00003270| 0a 71 88 d0 20 29 88 d1 | d2 c1 0a c1 d3 0b 26 06 |.q.. )..|......&.|
|00003280| 88 8a 0a 71 88 d4 d5 20 | 55 29 83 4b 00 cd d6 0b |...q... |U).K....|
|00003290| 5c 22 88 d7 0a 21 82 57 | 00 d8 0a 21 88 c1 89 12 |\"...!.W|...!....|
|000032a0| 88 cb d9 0b 5c 22 29 88 | da 0c 21 2c 87 22 20 5b |....\").|..!,." [|
|000032b0| 62 75 66 66 65 72 2d 72 | 65 61 64 2d 6f 6e 6c 79 |buffer-r|ead-only|
|000032c0| 20 6e 69 6c 20 65 72 72 | 6f 72 2d 62 75 66 66 65 | nil err|or-buffe|
|000032d0| 72 20 66 72 6f 6d 2d 66 | 69 6c 65 20 74 6f 2d 66 |r from-f|ile to-f|
|000032e0| 69 6c 65 20 67 65 74 2d | 62 75 66 66 65 72 2d 63 |ile get-|buffer-c|
|000032f0| 72 65 61 74 65 20 22 20 | 2a 44 69 72 65 64 20 63 |reate " |*Dired c|
|00003300| 6f 6d 70 72 65 73 73 20 | 6f 75 74 70 75 74 2a 22 |ompress |output*"|
|00003310| 20 64 69 72 65 64 2d 67 | 65 74 2d 66 69 6c 65 6e | dired-g|et-filen|
|00003320| 61 6d 65 20 22 2e 5a 22 | 20 73 74 72 69 6e 67 2d |ame ".Z"| string-|
|00003330| 6d 61 74 63 68 20 22 5c | 5c 2e 5a 24 22 20 65 72 |match "\|\.Z$" er|
|00003340| 72 6f 72 20 22 25 73 20 | 69 73 20 61 6c 72 65 61 |ror "%s |is alrea|
|00003350| 64 79 20 63 6f 6d 70 72 | 65 73 73 65 64 21 22 20 |dy compr|essed!" |
|00003360| 6d 65 73 73 61 67 65 20 | 22 43 6f 6d 70 72 65 73 |message |"Compres|
|00003370| 73 69 6e 67 20 25 73 2e | 2e 2e 22 20 28 28 62 79 |sing %s.|.." ((by|
|00003380| 74 65 2d 63 6f 64 65 20 | 22 08 85 07 00 c1 08 21 |te-code |"......!|
|00003390| 87 22 20 5b 65 72 72 6f | 72 2d 62 75 66 66 65 72 |." [erro|r-buffer|
|000033a0| 20 6b 69 6c 6c 2d 62 75 | 66 66 65 72 5d 20 32 29 | kill-bu|ffer] 2)|
|000033b0| 29 20 65 72 61 73 65 2d | 62 75 66 66 65 72 20 63 |) erase-|buffer c|
|000033c0| 61 6c 6c 2d 70 72 6f 63 | 65 73 73 20 22 63 6f 6d |all-proc|ess "com|
|000033d0| 70 72 65 73 73 22 20 22 | 2d 66 22 20 30 20 62 75 |press" "|-f" 0 bu|
|000033e0| 66 66 65 72 2d 73 69 7a | 65 20 22 43 6f 6d 70 72 |ffer-siz|e "Compr|
|000033f0| 65 73 73 69 6e 67 20 25 | 73 2e 2e 2e 20 64 6f 6e |essing %|s... don|
|00003400| 65 22 20 6b 69 6c 6c 2d | 62 75 66 66 65 72 20 64 |e" kill-|buffer d|
|00003410| 69 73 70 6c 61 79 2d 62 | 75 66 66 65 72 20 22 43 |isplay-b|uffer "C|
|00003420| 6f 6d 70 72 65 73 73 20 | 65 72 72 6f 72 20 6f 6e |ompress |error on|
|00003430| 20 25 73 2e 22 20 64 69 | 72 65 64 2d 72 65 64 69 | %s." di|red-redi|
|00003440| 73 70 6c 61 79 5d 20 31 | 34 29 29 0a 0a 28 64 65 |splay] 1|4))..(de|
|00003450| 66 75 6e 20 64 69 72 65 | 64 2d 75 6e 63 6f 6d 70 |fun dire|d-uncomp|
|00003460| 72 65 73 73 20 6e 69 6c | 20 22 5c 0a 55 6e 63 6f |ress nil| "\.Unco|
|00003470| 6d 70 72 65 73 73 20 74 | 68 69 73 20 66 69 6c 65 |mpress t|his file|
|00003480| 2e 22 20 28 69 6e 74 65 | 72 61 63 74 69 76 65 29 |." (inte|ractive)|
|00003490| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c1 88 c1 | (byte-c|ode "...|
|000034a0| 18 c5 c6 21 1a c7 20 1b | 0b c8 c9 4f 1c ca cb 0b |...!.. .|...O....|
|000034b0| 5c 22 83 1b 00 c1 82 1f | 00 cc cd 0b 5c 22 88 ce |\"......|....\"..|
|000034c0| cf 0b 5c 22 88 d0 8e 8a | 0a 71 88 d1 20 29 88 d2 |..\"....|.q.. )..|
|000034d0| d3 c1 0a c1 d4 0b 26 06 | 88 8a 0a 71 88 c8 d5 20 |......&.|...q... |
|000034e0| 55 29 83 50 00 ce d6 0b | 5c 22 88 d7 0a 21 82 5c |U).P....|\"...!.\|
|000034f0| 5c 00 d8 0a 21 88 c1 89 | 12 88 cc d9 0b 5c 22 29 |\...!...|.....\")|
|00003500| 88 da 0c 21 2c 87 22 20 | 5b 62 75 66 66 65 72 2d |...!,." |[buffer-|
|00003510| 72 65 61 64 2d 6f 6e 6c | 79 20 6e 69 6c 20 65 72 |read-onl|y nil er|
|00003520| 72 6f 72 2d 62 75 66 66 | 65 72 20 66 72 6f 6d 2d |ror-buff|er from-|
|00003530| 66 69 6c 65 20 74 6f 2d | 66 69 6c 65 20 67 65 74 |file to-|file get|
|00003540| 2d 62 75 66 66 65 72 2d | 63 72 65 61 74 65 20 22 |-buffer-|create "|
|00003550| 20 2a 44 69 72 65 64 20 | 63 6f 6d 70 72 65 73 73 | *Dired |compress|
|00003560| 20 6f 75 74 70 75 74 2a | 22 20 64 69 72 65 64 2d | output*|" dired-|
|00003570| 67 65 74 2d 66 69 6c 65 | 6e 61 6d 65 20 30 20 2d |get-file|name 0 -|
|00003580| 32 20 73 74 72 69 6e 67 | 2d 6d 61 74 63 68 20 22 |2 string|-match "|
|00003590| 5c 5c 2e 5a 24 22 20 65 | 72 72 6f 72 20 22 25 73 |\\.Z$" e|rror "%s|
|000035a0| 20 69 73 20 6e 6f 74 20 | 63 6f 6d 70 72 65 73 73 | is not |compress|
|000035b0| 65 64 21 22 20 6d 65 73 | 73 61 67 65 20 22 55 6e |ed!" mes|sage "Un|
|000035c0| 63 6f 6d 70 72 65 73 73 | 69 6e 67 20 25 73 2e 2e |compress|ing %s..|
|000035d0| 2e 22 20 28 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |." ((byt|e-code "|
|000035e0| 08 85 07 00 c1 08 21 87 | 22 20 5b 65 72 72 6f 72 |......!.|" [error|
|000035f0| 2d 62 75 66 66 65 72 20 | 6b 69 6c 6c 2d 62 75 66 |-buffer |kill-buf|
|00003600| 66 65 72 5d 20 32 29 29 | 20 65 72 61 73 65 2d 62 |fer] 2))| erase-b|
|00003610| 75 66 66 65 72 20 63 61 | 6c 6c 2d 70 72 6f 63 65 |uffer ca|ll-proce|
|00003620| 73 73 20 22 75 6e 63 6f | 6d 70 72 65 73 73 22 20 |ss "unco|mpress" |
|00003630| 22 2d 66 22 20 62 75 66 | 66 65 72 2d 73 69 7a 65 |"-f" buf|fer-size|
|00003640| 20 22 55 6e 63 6f 6d 70 | 72 65 73 73 69 6e 67 20 | "Uncomp|ressing |
|00003650| 25 73 2e 2e 2e 20 64 6f | 6e 65 22 20 6b 69 6c 6c |%s... do|ne" kill|
|00003660| 2d 62 75 66 66 65 72 20 | 64 69 73 70 6c 61 79 2d |-buffer |display-|
|00003670| 62 75 66 66 65 72 20 22 | 55 6e 63 6f 6d 70 72 65 |buffer "|Uncompre|
|00003680| 73 73 20 65 72 72 6f 72 | 20 6f 6e 20 25 73 2e 22 |ss error| on %s."|
|00003690| 20 64 69 72 65 64 2d 72 | 65 64 69 73 70 6c 61 79 | dired-r|edisplay|
|000036a0| 5d 20 31 34 29 29 0a 0a | 28 64 65 66 75 6e 20 64 |] 14))..|(defun d|
|000036b0| 69 72 65 64 2d 62 79 74 | 65 2d 72 65 63 6f 6d 70 |ired-byt|e-recomp|
|000036c0| 69 6c 65 20 6e 69 6c 20 | 22 5c 0a 42 79 74 65 20 |ile nil |"\.Byte |
|000036d0| 72 65 63 6f 6d 70 69 6c | 65 20 74 68 69 73 20 66 |recompil|e this f|
|000036e0| 69 6c 65 2e 22 20 28 69 | 6e 74 65 72 61 63 74 69 |ile." (i|nteracti|
|000036f0| 76 65 29 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |ve) (byt|e-code "|
|00003700| c1 88 c1 18 c4 20 1a 0a | c5 c6 4f 1b c7 c8 0a 5c |..... ..|..O....\|
|00003710| 22 83 17 00 c1 82 1b 00 | c9 ca 0a 5c 22 88 cb 0a |".......|...\"...|
|00003720| 21 2b 87 22 20 5b 62 75 | 66 66 65 72 2d 72 65 61 |!+." [bu|ffer-rea|
|00003730| 64 2d 6f 6e 6c 79 20 6e | 69 6c 20 66 72 6f 6d 2d |d-only n|il from-|
|00003740| 66 69 6c 65 20 74 6f 2d | 66 69 6c 65 20 64 69 72 |file to-|file dir|
|00003750| 65 64 2d 67 65 74 2d 66 | 69 6c 65 6e 61 6d 65 20 |ed-get-f|ilename |
|00003760| 30 20 2d 33 20 73 74 72 | 69 6e 67 2d 6d 61 74 63 |0 -3 str|ing-matc|
|00003770| 68 20 22 5c 5c 2e 65 6c | 24 22 20 65 72 72 6f 72 |h "\\.el|$" error|
|00003780| 20 22 25 73 20 69 73 20 | 75 6e 63 6f 6d 70 69 6c | "%s is |uncompil|
|00003790| 61 62 6c 65 21 22 20 62 | 79 74 65 2d 63 6f 6d 70 |able!" b|yte-comp|
|000037a0| 69 6c 65 2d 66 69 6c 65 | 5d 20 35 29 29 0a 0a 28 |ile-file|] 5))..(|
|000037b0| 64 65 66 75 6e 20 64 69 | 72 65 64 2d 63 68 6d 6f |defun di|red-chmo|
|000037c0| 64 20 28 6d 6f 64 65 29 | 20 22 5c 0a 43 68 61 6e |d (mode)| "\.Chan|
|000037d0| 67 65 20 6d 6f 64 65 20 | 6f 66 20 74 68 69 73 20 |ge mode |of this |
|000037e0| 66 69 6c 65 2e 22 20 28 | 69 6e 74 65 72 61 63 74 |file." (|interact|
|000037f0| 69 76 65 20 22 73 43 68 | 61 6e 67 65 20 74 6f 20 |ive "sCh|ange to |
|00003800| 4d 6f 64 65 3a 20 22 29 | 20 28 62 79 74 65 2d 63 |Mode: ")| (byte-c|
|00003810| 6f 64 65 20 22 c1 88 c1 | c4 20 1a 18 c5 c6 c1 c1 |ode "...|. ......|
|00003820| c1 0b 0a 26 06 88 c7 0a | 21 2a 87 22 20 5b 62 75 |...&....|!*." [bu|
|00003830| 66 66 65 72 2d 72 65 61 | 64 2d 6f 6e 6c 79 20 6e |ffer-rea|d-only n|
|00003840| 69 6c 20 66 69 6c 65 20 | 6d 6f 64 65 20 64 69 72 |il file |mode dir|
|00003850| 65 64 2d 67 65 74 2d 66 | 69 6c 65 6e 61 6d 65 20 |ed-get-f|ilename |
|00003860| 63 61 6c 6c 2d 70 72 6f | 63 65 73 73 20 22 2f 62 |call-pro|cess "/b|
|00003870| 69 6e 2f 63 68 6d 6f 64 | 22 20 64 69 72 65 64 2d |in/chmod|" dired-|
|00003880| 72 65 64 69 73 70 6c 61 | 79 5d 20 38 29 29 0a 0a |redispla|y] 8))..|
|00003890| 28 64 65 66 75 6e 20 64 | 69 72 65 64 2d 63 68 67 |(defun d|ired-chg|
|000038a0| 72 70 20 28 67 72 6f 75 | 70 29 20 22 5c 0a 43 68 |rp (grou|p) "\.Ch|
|000038b0| 61 6e 67 65 20 67 72 6f | 75 70 20 6f 66 20 74 68 |ange gro|up of th|
|000038c0| 69 73 20 66 69 6c 65 2e | 22 20 28 69 6e 74 65 72 |is file.|" (inter|
|000038d0| 61 63 74 69 76 65 20 22 | 73 43 68 61 6e 67 65 20 |active "|sChange |
|000038e0| 74 6f 20 47 72 6f 75 70 | 3a 20 22 29 20 28 62 79 |to Group|: ") (by|
|000038f0| 74 65 2d 63 6f 64 65 20 | 22 c1 88 c1 c4 20 1a 18 |te-code |".... ..|
|00003900| c5 c6 c1 c1 c1 0b 0a 26 | 06 88 c7 0a 21 2a 87 22 |.......&|....!*."|
|00003910| 20 5b 62 75 66 66 65 72 | 2d 72 65 61 64 2d 6f 6e | [buffer|-read-on|
|00003920| 6c 79 20 6e 69 6c 20 66 | 69 6c 65 20 67 72 6f 75 |ly nil f|ile grou|
|00003930| 70 20 64 69 72 65 64 2d | 67 65 74 2d 66 69 6c 65 |p dired-|get-file|
|00003940| 6e 61 6d 65 20 63 61 6c | 6c 2d 70 72 6f 63 65 73 |name cal|l-proces|
|00003950| 73 20 22 2f 62 69 6e 2f | 63 68 67 72 70 22 20 64 |s "/bin/|chgrp" d|
|00003960| 69 72 65 64 2d 72 65 64 | 69 73 70 6c 61 79 5d 20 |ired-red|isplay] |
|00003970| 38 29 29 0a 0a 28 64 65 | 66 75 6e 20 64 69 72 65 |8))..(de|fun dire|
|00003980| 64 2d 63 68 6f 77 6e 20 | 28 6f 77 6e 65 72 29 20 |d-chown |(owner) |
|00003990| 22 5c 0a 43 68 61 6e 67 | 65 20 4f 77 6e 65 72 20 |"\.Chang|e Owner |
|000039a0| 6f 66 20 74 68 69 73 20 | 66 69 6c 65 2e 22 20 28 |of this |file." (|
|000039b0| 69 6e 74 65 72 61 63 74 | 69 76 65 20 22 73 43 68 |interact|ive "sCh|
|000039c0| 61 6e 67 65 20 74 6f 20 | 4f 77 6e 65 72 3a 20 22 |ange to |Owner: "|
|000039d0| 29 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c1 88 |) (byte-|code "..|
|000039e0| c1 c5 20 1a 18 c6 0b c7 | 3e 83 12 00 c8 82 13 00 |.. .....|>.......|
|000039f0| c9 c1 c1 c1 0c 0a 26 06 | 88 ca 0a 21 2a 87 22 20 |......&.|...!*." |
|00003a00| 5b 62 75 66 66 65 72 2d | 72 65 61 64 2d 6f 6e 6c |[buffer-|read-onl|
|00003a10| 79 20 6e 69 6c 20 66 69 | 6c 65 20 73 79 73 74 65 |y nil fi|le syste|
|00003a20| 6d 2d 74 79 70 65 20 6f | 77 6e 65 72 20 64 69 72 |m-type o|wner dir|
|00003a30| 65 64 2d 67 65 74 2d 66 | 69 6c 65 6e 61 6d 65 20 |ed-get-f|ilename |
|00003a40| 63 61 6c 6c 2d 70 72 6f | 63 65 73 73 20 28 68 70 |call-pro|cess (hp|
|00003a50| 75 78 20 75 73 67 2d 75 | 6e 69 78 2d 76 20 73 69 |ux usg-u|nix-v si|
|00003a60| 6c 69 63 6f 6e 2d 67 72 | 61 70 68 69 63 73 2d 75 |licon-gr|aphics-u|
|00003a70| 6e 69 78 29 20 22 2f 62 | 69 6e 2f 63 68 6f 77 6e |nix) "/b|in/chown|
|00003a80| 22 20 22 2f 65 74 63 2f | 63 68 6f 77 6e 22 20 64 |" "/etc/|chown" d|
|00003a90| 69 72 65 64 2d 72 65 64 | 69 73 70 6c 61 79 5d 20 |ired-red|isplay] |
|00003aa0| 38 29 29 0a 0a 28 64 65 | 66 75 6e 20 64 69 72 65 |8))..(de|fun dire|
|00003ab0| 64 2d 72 65 64 69 73 70 | 6c 61 79 20 28 66 69 6c |d-redisp|lay (fil|
|00003ac0| 65 29 20 22 5c 0a 52 65 | 64 69 73 70 6c 61 79 20 |e) "\.Re|display |
|00003ad0| 74 68 69 73 20 6c 69 6e | 65 2e 22 20 28 62 79 74 |this lin|e." (byt|
|00003ae0| 65 2d 63 6f 64 65 20 22 | c1 20 88 c2 60 c3 c4 21 |e-code "|. ..`..!|
|00003af0| 88 60 5c 22 88 08 85 18 | 00 c5 c6 08 21 c7 08 21 |.`\"....|....!..!|
|00003b00| 5c 22 88 c8 20 87 22 20 | 5b 66 69 6c 65 20 62 65 |\".. ." |[file be|
|00003b10| 67 69 6e 6e 69 6e 67 2d | 6f 66 2d 6c 69 6e 65 20 |ginning-|of-line |
|00003b20| 64 65 6c 65 74 65 2d 72 | 65 67 69 6f 6e 20 66 6f |delete-r|egion fo|
|00003b30| 72 77 61 72 64 2d 6c 69 | 6e 65 20 31 20 64 69 72 |rward-li|ne 1 dir|
|00003b40| 65 64 2d 61 64 64 2d 65 | 6e 74 72 79 20 66 69 6c |ed-add-e|ntry fil|
|00003b50| 65 2d 6e 61 6d 65 2d 64 | 69 72 65 63 74 6f 72 79 |e-name-d|irectory|
|00003b60| 20 66 69 6c 65 2d 6e 61 | 6d 65 2d 6e 6f 6e 64 69 | file-na|me-nondi|
|00003b70| 72 65 63 74 6f 72 79 20 | 64 69 72 65 64 2d 6d 6f |rectory |dired-mo|
|00003b80| 76 65 2d 74 6f 2d 66 69 | 6c 65 6e 61 6d 65 5d 20 |ve-to-fi|lename] |
|00003b90| 38 29 29 0a 0a 28 64 65 | 66 75 6e 20 64 69 72 65 |8))..(de|fun dire|
|00003ba0| 64 2d 64 6f 2d 64 65 6c | 65 74 69 6f 6e 73 20 6e |d-do-del|etions n|
|00003bb0| 69 6c 20 22 5c 0a 49 6e | 20 64 69 72 65 64 2c 20 |il "\.In| dired, |
|00003bc0| 64 65 6c 65 74 65 20 74 | 68 65 20 66 69 6c 65 73 |delete t|he files|
|00003bd0| 20 66 6c 61 67 67 65 64 | 20 66 6f 72 20 64 65 6c | flagged| for del|
|00003be0| 65 74 69 6f 6e 2e 22 20 | 28 69 6e 74 65 72 61 63 |etion." |(interac|
|00003bf0| 74 69 76 65 29 20 28 62 | 79 74 65 2d 63 6f 64 65 |tive) (b|yte-code|
|00003c00| 20 22 c2 88 c2 c2 19 18 | 8a c8 62 88 c9 ca c2 c3 | "......|..b.....|
|00003c10| 23 85 20 00 cb c3 21 60 | 53 42 08 42 89 10 88 82 |#. ...!`|SB.B....|
|00003c20| 0a 00 29 88 08 3f 83 2d | 00 cc cd 21 82 61 00 ce |..)..?.-|...!.a..|
|00003c30| 8b 88 09 85 61 00 08 c2 | 1e 06 1d 0d 85 53 00 0d |....a...|.....S..|
|00003c40| 40 41 62 88 c2 1e 07 c2 | cf d0 8f 29 88 0d 41 89 |@Ab.....|...)..A.|
|00003c50| 15 88 82 39 00 88 0e 06 | 85 60 00 cc d1 d2 0e 06 |...9....|.`......|
|00003c60| 21 5c 22 2a 2a 87 22 20 | 5b 64 65 6c 65 74 65 2d |!\"**." |[delete-|
|00003c70| 6c 69 73 74 20 61 6e 73 | 77 65 72 20 6e 69 6c 20 |list ans|wer nil |
|00003c80| 74 20 66 69 6c 6c 2d 63 | 6f 6c 75 6d 6e 20 6c 20 |t fill-c|olumn l |
|00003c90| 66 61 69 6c 75 72 65 73 | 20 62 75 66 66 65 72 2d |failures| buffer-|
|00003ca0| 72 65 61 64 2d 6f 6e 6c | 79 20 31 20 72 65 2d 73 |read-onl|y 1 re-s|
|00003cb0| 65 61 72 63 68 2d 66 6f | 72 77 61 72 64 20 22 5e |earch-fo|rward "^|
|00003cc0| 44 22 20 64 69 72 65 64 | 2d 67 65 74 2d 66 69 6c |D" dired|-get-fil|
|00003cd0| 65 6e 61 6d 65 20 6d 65 | 73 73 61 67 65 20 22 28 |ename me|ssage "(|
|00003ce0| 4e 6f 20 64 65 6c 65 74 | 69 6f 6e 73 20 72 65 71 |No delet|ions req|
|00003cf0| 75 65 73 74 65 64 29 22 | 20 28 28 62 79 74 65 2d |uested)"| ((byte-|
|00003d00| 63 6f 64 65 20 22 c4 c5 | 21 88 c6 20 88 c7 89 10 |code "..|!.. ....|
|00003d10| 88 c8 0a 21 19 09 85 3c | 00 69 c9 56 83 1e 00 ca |...!...<|.i.V....|
|00003d20| 63 82 2e 00 6f 86 2e 00 | cb cc cd 69 ce 5c 5c cf |c...o...|...i.\\.|
|00003d30| 5c 22 cf 5c 22 d0 5c 22 | 88 09 40 40 63 88 09 41 |\".\".\"|..@@c..A|
|00003d40| 89 11 88 82 0f 00 29 88 | 65 62 88 d1 d2 21 89 13 |......).|eb...!..|
|00003d50| 87 22 20 5b 66 69 6c 6c | 2d 63 6f 6c 75 6d 6e 20 |." [fill|-column |
|00003d60| 6c 20 64 65 6c 65 74 65 | 2d 6c 69 73 74 20 61 6e |l delete|-list an|
|00003d70| 73 77 65 72 20 73 77 69 | 74 63 68 2d 74 6f 2d 62 |swer swi|tch-to-b|
|00003d80| 75 66 66 65 72 20 22 20 | 2a 44 65 6c 65 74 69 6f |uffer " |*Deletio|
|00003d90| 6e 73 2a 22 20 65 72 61 | 73 65 2d 62 75 66 66 65 |ns*" era|se-buffe|
|00003da0| 72 20 37 30 20 72 65 76 | 65 72 73 65 20 35 39 20 |r 70 rev|erse 59 |
|00003db0| 31 30 20 69 6e 64 65 6e | 74 2d 74 6f 20 2a 20 2f |10 inden|t-to * /|
|00003dc0| 20 31 39 20 32 30 20 31 | 20 79 65 73 2d 6f 72 2d | 19 20 1| yes-or-|
|00003dd0| 6e 6f 2d 70 20 22 44 65 | 6c 65 74 65 20 74 68 65 |no-p "De|lete the|
|00003de0| 73 65 20 66 69 6c 65 73 | 3f 20 22 5d 20 39 29 29 |se files|? "] 9))|
|00003df0| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 09 0a 40 | (byte-c|ode "..@|
|00003e00| 40 50 18 c4 08 21 83 16 | 00 c5 c6 c3 c3 c3 08 25 |@P...!..|.......%|
|00003e10| 82 19 00 c7 08 21 88 c8 | 60 c9 ca 21 88 60 5c 22 |.....!..|`..!.`\"|
|00003e20| 29 87 22 20 5b 66 6e 20 | 64 65 66 61 75 6c 74 2d |)." [fn |default-|
|00003e30| 64 69 72 65 63 74 6f 72 | 79 20 6c 20 6e 69 6c 20 |director|y l nil |
|00003e40| 66 69 6c 65 2d 64 69 72 | 65 63 74 6f 72 79 2d 70 |file-dir|ectory-p|
|00003e50| 20 63 61 6c 6c 2d 70 72 | 6f 63 65 73 73 20 22 72 | call-pr|ocess "r|
|00003e60| 6d 64 69 72 22 20 64 65 | 6c 65 74 65 2d 66 69 6c |mdir" de|lete-fil|
|00003e70| 65 20 64 65 6c 65 74 65 | 2d 72 65 67 69 6f 6e 20 |e delete|-region |
|00003e80| 66 6f 72 77 61 72 64 2d | 6c 69 6e 65 20 31 5d 20 |forward-|line 1] |
|00003e90| 37 29 20 28 28 65 72 72 | 6f 72 20 28 62 79 74 65 |7) ((err|or (byte|
|00003ea0| 2d 63 6f 64 65 20 22 c2 | c3 21 88 c4 63 88 09 40 |-code ".|.!..c..@|
|00003eb0| 40 08 42 89 10 87 22 20 | 5b 66 61 69 6c 75 72 65 |@.B..." |[failure|
|00003ec0| 73 20 6c 20 64 65 6c 65 | 74 65 2d 63 68 61 72 20 |s l dele|te-char |
|00003ed0| 31 20 22 20 22 5d 20 33 | 29 29 29 20 22 44 65 6c |1 " "] 3|))) "Del|
|00003ee0| 65 74 69 6f 6e 73 20 66 | 61 69 6c 65 64 3a 20 25 |etions f|ailed: %|
|00003ef0| 73 22 20 70 72 69 6e 31 | 2d 74 6f 2d 73 74 72 69 |s" prin1|-to-stri|
|00003f00| 6e 67 5d 20 37 29 29 0a | 0a 28 70 72 6f 76 69 64 |ng] 7)).|.(provid|
|00003f10| 65 20 28 71 75 6f 74 65 | 20 64 69 72 65 64 29 29 |e (quote| dired))|
|00003f20| 0a | |. | |
+--------+-------------------------+-------------------------+--------+--------+