1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00
Commit Graph

35 Commits

Author SHA1 Message Date
Eli Zaretskii
06e3b626d8 (archive-set-buffer-as-visiting-file): Save
excursion while calling set-auto-coding-function.
1999-02-22 16:01:30 +00:00
Richard M. Stallman
938c647261 (archive-mode): Locally set file-precious-flag. 1998-10-17 19:21:37 +00:00
Richard M. Stallman
0d0587b9a2 (arc-mode): Provide arc-mode. 1998-10-15 15:07:35 +00:00
Karl Heuer
ad014140fb (archive-mode-revert): Arg no-auto-save renamed from no-autosave. 1998-10-06 23:24:11 +00:00
Kenichi Handa
7e5ad77744 (archive-set-buffer-as-visiting-file): Give FILENAME
arg to set-auto-coding-funciton.
(archive-extract): Pay attention to enable-multibyte-characters.
(archive-*-write-file-member): Likewise.
(archive-rename-entry): Likewise.
1998-07-27 00:37:00 +00:00
Eli Zaretskii
eb93d233fd (archive-summarize): Set buffer unibyte before
calling archive-XXX-summarize.
(archive-file-name-handler): New function to make the caller
behave as if the extracted file existed.
(archive-set-buffer-as-visiting-file): New function to simulate
file visiting.  Uses archive-file-name-handler to make dos-w32
systems preserve the coding-system of the extracted files.
(archive-extract): Bind coding-system-for-write to
file-name-coding-system, coding-system-for-read to 'no-conversion.
Call archive-set-buffer-as-visiting-file after a member file is
inserted in the current buffer.
(archive-extract-by-stdout): Don't bind coding-system-for-read and
inherit-process-coding-system.
(archive-*-write-file-member): Give an encoded file name to
external archive program.
(archive-rename-entry): Likewise.
(archive-mode-revert): Set buffer unibyte before calling
revert-buffer.
(archive-arc-rename-entry, archive-zip-chmod-entry): Set buffer
unibyte before handling binary archive data.
(archive-lzh-rename-entry, archive-lzh-ogm,
archive-zip-chmod-entry): Likewise.
(archive-lzh-summarize): Set local variable efnname to the decoded
file name.  If default-enable-multibyte-characters is non-nil, set
buffer multibyte before inserting summary lines.
1998-07-26 13:57:08 +00:00
Eli Zaretskii
e26d162106 (archive-mode): Undo previous change.
(archive-extract): Make the buffer unibyte if the extracted file
was read with coding-system of no-conversion or raw-text.
1998-07-19 15:02:33 +00:00
Richard M. Stallman
a53afa115c (archive-mode): Make the buffer unibyte. 1998-07-17 08:34:27 +00:00
Richard M. Stallman
8dc33e1146 (archive-extract): If the extractor signals an
error, trap it, so that the buffer created for a member is killed.
1998-07-17 03:21:14 +00:00
Richard M. Stallman
28138f8c19 (archive-mode): Locally bind local-enable-local-variables, not
enable-local-variables.
1998-06-13 06:00:58 +00:00
Karl Heuer
5f7493ac69 (archive-extract): Fix handling of 'view option. 1998-06-01 21:47:36 +00:00
Eli Zaretskii
4dbbd6a166 (archive-file-name-invalid-regexp): Remove.
Change all users to use file-name-invalid-regexp instead.
1998-05-21 14:22:38 +00:00
Richard M. Stallman
0adf5079bf (archive-tmpdir): Use temporary-file-directory. 1998-05-16 17:34:20 +00:00
Richard M. Stallman
784f6a0010 (archive-tmpdir): Use system-tmp-directory. 1998-05-16 03:40:21 +00:00
Eli Zaretskii
380683ed5a (archive-tmpdir): Make the prefix of the temporary
directory absolute.
(file-name-invalid-regexp): New variable.
(archive-zip-case-fiddle): Doc fix.
(archive-remote): Make it permanent-local.
(archive-member-coding-system): New variable.
(archive-mode): Don't use write-contents-hooks for remote
archives.  Archives whose names are illegal for the current
filesystem are marked read-only.
(archive-summarize): Optional argument SHUT-UP makes it silent.
All callers changed.
(archive-unique-fname): New function.
(archive-maybe-copy): Use it.
(archive-maybe-copy, archive-write-file): Bind
coding-system-for-write to no-conversion.
(archive-maybe-update, archive-mode-revert): Bind
coding-system-for-read to no-conversion.
(archive-maybe-update): Remain at the same line in the archive
listing, after updating the archive.  Print the buffer name of the
archive to be saved.
(archive-extract): Mark archive members whose names are invalid as
read-only.  Don't set buffer-file-type.  Remove the write-contents
hook for remote archives.  Warn about read-only archives inside
other archives.
(archive-write-file-member): Handle remote archives.  Restore
value of last-coding-system-used.
(archive-*-write-file-member): Handle archives inside other
archives.  Save the value of last-coding-system-used.
(archive-write-file): New optional variable FILE: where to write
the archive; defaults to buffer-file-name, for remote archives.
(archive-zip-summarize, archive-zip-chmod-entry): Support VFAT
type of host filesystem.
(archive-zip-summarize): Don't fiddle letter case of mixed-case
file names.
1998-05-14 15:08:55 +00:00
Eli Zaretskii
b48fa57006 (archive-extract-by-stdout): Don't use
binary-process-output.  Bind coding-system-for-read to 'undecided,
so coding system is determined on the fly.  Bind inherit-process-coding-system
to t.
(archive-dos-members): Remove.
(archive-extract): Don't call archive-check-dos.  Handle pkunzip errors.
(archive-*-extract): Handle pkzip errors.
(archive-check-dos): Remove.
(archive-subfile-dos): Remove.
(archive-extract): Don't bind archive-subfile-dos.
(archive-write-file-member): Don't DOSify DOS-style archive members.
(archive-zip-extract): Make pkzip use -o- flag, to make it more silent.
1998-04-15 15:31:30 +00:00
Richard M. Stallman
a56636aedd (archive-find-type): Accept d or s after digit, for lzh.
(archive-rename-entry): Likewise.  Parse mode, uid and gid right.
Allow newline in header.
(archive-lzh-summarize): Fix paren error.  Use prname to set `files'.
1998-01-25 01:57:08 +00:00
Andreas Schwab
9913653ae6 (archive-zoo-summarize): Properly handle the case of
a short file name with a non-empty directory part.
1997-11-10 12:37:34 +00:00
Karl Heuer
2c1e5f9b25 (archive-mode): Use write-contents-hooks. 1997-09-26 21:39:10 +00:00
Richard M. Stallman
c38eb0a8a8 Customized. 1997-09-14 17:23:52 +00:00
Richard M. Stallman
7a26bfc661 (archive-extract): Use second argument of
view-buffer instead of setting view-exit-action.
1997-06-17 22:02:01 +00:00
Richard M. Stallman
0acdb86326 Comment change. 1997-05-27 19:51:23 +00:00
Richard M. Stallman
c4de97b454 Doc fixes. 1996-09-22 22:56:31 +00:00
Richard M. Stallman
ab88991283 (archive-mode, archive-extract, archive-check-dos)
(archive-write-file-member): Set buffer-file-type only if
default-buffer-file-type is bound.
(buffer-file-type): Don't make this buffer-local or permanent.
Just don't mess with it.
1996-09-22 22:54:58 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
e946e18cff (archive-summarize-files): Doc fix. 1996-01-04 23:27:25 +00:00
Richard M. Stallman
b884fd7ec2 (archive-remote-regexp): Doc fix. 1995-11-14 03:45:10 +00:00
Richard M. Stallman
83c4abcb48 (archive-zoo-summarize): Handle archives with long file names. 1995-10-30 19:18:52 +00:00
Richard M. Stallman
eeba65edc1 Standardize layout of doc strings. 1995-08-06 20:17:19 +00:00
Richard M. Stallman
6eb236e719 (archive-remote-regexp): Don't accept hostnames
ending in period.  (See previous ange-ftp.el change.)
1995-08-02 18:47:32 +00:00
Richard M. Stallman
9199a670d9 (archive-mode): Add autoload cookie. 1995-06-29 22:36:57 +00:00
Richard M. Stallman
845720b9f9 (archive-zip-summarize): Handle per-file comments in central directory. 1995-06-18 16:24:51 +00:00
Karl Heuer
43f657eaa2 (archive-lemacs): New variable.
(archive-mode-map, archive-summarize-files): Make it sort-of
work with Lucid Emacs.
(archive-mouse-extract): Use Lucid compatible code.
(archive-summarize-files, archive-lzh-chmod-entry): Guard
lambda with function.
1995-05-30 21:45:22 +00:00
Karl Heuer
628bc1e661 Remove version number. 1995-05-24 00:30:41 +00:00
Karl Heuer
665211a38b Initial revision 1995-05-23 01:53:12 +00:00