Allow for adding new members to Tar archives.
commita56eab8259568ea1389e972623e46359e73c0233
authorIvan Shmakov <ivan@siamics.net>
Tue, 27 Jan 2015 21:25:56 +0000 (27 21:25 +0000)
committerIvan Shmakov <ivan@siamics.net>
Tue, 27 Jan 2015 21:56:57 +0000 (27 21:56 +0000)
tree9ab9bc4810a6543f0a6f51c1659c3c374c1751ab
parentbd7a1e1564d04d7ea9c7f6587ffcf02ef8975512
Allow for adding new members to Tar archives.

* lisp/tar-mode.el: Allow for adding new archive members.
(tar-new-regular-file-header, tar--pad-to, tar--put-at)
(tar-header-serialize): New functions.
(tar-current-position): Split from tar-current-descriptor.
(tar-current-descriptor): Use it.
(tar-new-entry): New command.
(tar-mode-map): Bind it.
* doc/emacs/files.texi (File Archives): Document "I" for tar-new-entry.
* etc/NEWS: Mention the new tar-new-entry command.

Fixes: debbugs:19274
doc/emacs/ChangeLog
doc/emacs/files.texi
etc/ChangeLog
etc/NEWS
lisp/ChangeLog
lisp/tar-mode.el