Add 7z archive format support (bug#5475).
authorJuri Linkov <juri@jurta.org>
Sun, 18 Apr 2010 23:08:52 +0000 (02:08 +0300)
committerJuri Linkov <juri@jurta.org>
Sun, 18 Apr 2010 23:08:52 +0000 (02:08 +0300)
commitb3671a51b9fd296d311227150891f02f49af9017
tree2566dd6d5bbeef3e0d7c6fd62abcdbd16f5f7097
parente951580547dfd926f757e200c8e86e71b59ee596
Add 7z archive format support (bug#5475).

* arc-mode.el (archive-zip-extract): Try to find 7z executable.
(archive-7z-extract): New defcustom.
(archive-find-type): Add magic string for 7z.
(archive-extract-by-stdout): Add new optional arg `stderr-file'.
If `stderr-file' is non-nil, use `(t stderr-file)' for the
`buffer' arg of `call-process'.
(archive-zip-extract): Check `archive-zip-extract' for "7z" and
call the function `archive-7z-extract' with the variable
`archive-7z-extract' let-bound to `archive-zip-extract'.
(archive-7z-summarize, archive-7z-extract): New functions.

* international/mule.el (auto-coding-alist):
* files.el (auto-mode-alist): Add 7z file extension.
etc/NEWS
lisp/ChangeLog
lisp/arc-mode.el
lisp/files.el
lisp/international/mule.el