Mercurial > emacs
comparison lisp/tar-mode.el @ 7103:b5fad00fa757
Comment change.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 25 Apr 1994 23:34:17 +0000 |
parents | cf0b24d47cdd |
children | 4fd40bd394fe |
comparison
equal
deleted
inserted
replaced
7102:e3d392f28d8f | 7103:b5fad00fa757 |
---|---|
78 ;;; might be a problem if the tar write-file-hook does not come *first* on | 78 ;;; might be a problem if the tar write-file-hook does not come *first* on |
79 ;;; the list. | 79 ;;; the list. |
80 ;;; | 80 ;;; |
81 ;;; o Block files, sparse files, continuation files, and the various header | 81 ;;; o Block files, sparse files, continuation files, and the various header |
82 ;;; types aren't editable. Actually I don't know that they work at all. | 82 ;;; types aren't editable. Actually I don't know that they work at all. |
83 | |
84 ;;; Rationale: | |
85 | |
86 ;;; Why does tar-mode edit the file itself instead of using tar? | |
87 | |
88 ;;; That means that you can edit tar files which you don't have room for | |
89 ;;; on your local disk. | |
90 | |
91 ;;; I don't know about recent features in gnu tar, but old versions of tar | |
92 ;;; can't replace a file in the middle of a tar file with a new version. | |
93 ;;; Tar-mode can. I don't think tar can do things like chmod the subfiles. | |
94 ;;; An implementation which involved unpacking and repacking the file into | |
95 ;;; some scratch directory would be very wasteful, and wouldn't be able to | |
96 ;;; preserve the file owners. | |
83 | 97 |
84 ;;; Code: | 98 ;;; Code: |
85 | 99 |
86 (defvar tar-anal-blocksize 20 | 100 (defvar tar-anal-blocksize 20 |
87 "*The blocksize of tar files written by Emacs, or nil, meaning don't care. | 101 "*The blocksize of tar files written by Emacs, or nil, meaning don't care. |