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

59 Commits

Author SHA1 Message Date
Eli Zaretskii
aecb322b96 (archive-maybe-copy): If ARCHIVE includes leading
directories, make sure they exist under archive-tmpdir.
2004-04-27 12:45:26 +00:00
Richard M. Stallman
52f2cda2f4 Update author email addr. 2003-12-29 19:03:08 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Richard M. Stallman
a28fe04bbd (archive-lzh-summarize): Calculate correct total
header size for LZH level 1 header.
2003-05-23 12:45:49 +00:00
Kenichi Handa
a38ac4c2d8 (archive-set-buffer-as-visiting-file): Use
after-insert-file-set-coding, not
after-insert-file-set-buffer-file-coding-system.
2003-05-06 05:08:32 +00:00
John Paul Wallington
194600a8fa * files.el (recover-session): Error if there are no previous
sessions to recover.

* subr.el (posn-col-row): Simplify.

* arc-mode.el (archive-subtype, archive-file-list-start)
(archive-file-list-end, archive-proper-file-start)
(archive-read-only, archive-local-name, archive-mode-map)
(archive-file-name-indent, archive-remote)
(archive-alternate-display, archive-superior-buffer)
(archive-subfile-mode): Doc fixes.
2003-03-14 22:38:46 +00:00
Juanma Barranquero
71296446d3 Trailing whitespace deleted. 2003-02-04 11:26:42 +00:00
Juanma Barranquero
d2c6d9752b (archive-lzh-summarize): Fix previous change. 2003-01-29 07:24:26 +00:00
Richard M. Stallman
5f23d8367c (archive-unixdate): Corrected the date field string.
(archive-lzh-summarize): Extended it to allow the LZH level 2 header
type (which is most prevalent now), in addition to the already
supported level 0 and 1 header types.
2003-01-25 19:34:15 +00:00
Kim F. Storm
9dacec4c44 (archive-arc-rename-entry): Fix error message.
(archive-lzh-summarize): Replace local var `path' with `dir'.
(archive-unique-fname) [!MSDOS]: Avoid byte-compiler warning.
2003-01-14 22:32:21 +00:00
Andreas Schwab
f3446bb2f9 (archive-mode-map): Use command remapping instead of substitute-key-definition. 2003-01-12 20:45:19 +00:00
Stefan Monnier
8627813e5b (archive-zip-summarize): Don't hardcode (point-min) = 1. 2002-11-08 23:42:15 +00:00
Richard M. Stallman
91f50d610e Fix previous change. 2002-05-19 16:03:51 +00:00
Richard M. Stallman
f44a616b70 (archive-zip-use-pkzip): Variable deleted.
(archive-zip-extract, archive-zip-expunge, archive-zip-update)
(archive-zip-update-case): Use locate-file to decide whether
to use pkzip.
2002-05-19 16:00:48 +00:00
Richard M. Stallman
8053add847 Comment change. 2002-03-03 21:44:59 +00:00
Pavel Janík
246e869591 Fix typo. 2002-01-13 09:02:35 +00:00
Eli Zaretskii
70569550f7 (archive-dostime): Fix a typo in minutes' computation. 2001-09-07 12:42:12 +00:00
Pavel Janík
1cd7adc68a Emacs lisp coding convention fixes. 2001-07-14 11:21:08 +00:00
Eli Zaretskii
27a1722977 (archive-summarize-files): Add help-echo to mouse-highlighted text. 2001-06-17 11:16:18 +00:00
Stefan Monnier
ff39b9a101 (archive-int-to-mode): Construct the string directly.
(archive-mode): Use capitalize.
(archive-unique-fname): Use make-temp-file.
2001-05-09 20:29:56 +00:00
Stefan Monnier
0233a18999 (archive-zoo-summarize): Fix from gnu.emacs.bug. 2000-10-15 04:53:01 +00:00
Eli Zaretskii
2890bd0cc2 (archive-mode-map): Use the new menu-item format for
menu-bar menus.  Add help strings.  Don't remove the Edit menu
from the menu bar, as the menu bar has enough space now.
2000-06-15 16:13:41 +00:00
Gerd Moellmann
f7094f4920 (archive-zip-update): Add `-P' for pkzip. 2000-03-12 15:21:26 +00:00
Richard M. Stallman
d4e672cabf (archive-mode-map): Bind q to quit-window. 1999-12-31 21:13:57 +00:00
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