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

77 Commits

Author SHA1 Message Date
Eli Zaretskii
e9fe3513c9 (archive-set-buffer-as-visiting-file): Comment fix. 2006-07-21 09:27:17 +00:00
Kenichi Handa
e0b582b8e1 (archive-set-buffer-as-visiting-file): Call
find-operation-coding-system with (FILENAME . BUFFER).
2006-05-26 04:47:36 +00:00
Eli Zaretskii
7893e58999 (archive-arc-summarize, archive-lzh-summarize): Convert csize to integer when
computing offsets within the compressed archive file.
2006-05-16 18:28:40 +00:00
Juri Linkov
ab3050bc5d (archive-set-buffer-as-visiting-file): Bind buffer-undo-list
to t (undo-ask is reproducible by visiting nested archives).
2006-05-09 23:10:24 +00:00
Eli Zaretskii
a12aece309 (archive-l-e): New optional argument `float' means generate a float value.
(archive-arc-summarize, archive-lzh-summarize)
(archive-zip-summarize, archive-zoo-summarize): Invoke archive-l-e with 3rd
argument non-nil when file's size is being computed.  Format the file sizes
with %8.0f instead of %8d.
2006-05-05 10:58:10 +00:00
Chong Yidong
9b1fad33f0 * arc-mode.el (archive-extract): Check if an existing buffer name
comes from a different archive.
2006-03-08 01:57:59 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Eli Zaretskii
b398503955 (archive-maybe-copy): Fix the way directories in the archive are created
in archive-tmpdir.
2006-02-03 11:05:29 +00:00
John Paul Wallington
440e20fca8 (archive-extract): Use posn-set-point' instead of mouse-set-point'
because the latter is not fbound when configured without X.
2005-11-26 19:05:52 +00:00
Richard M. Stallman
74725d463c (archive-zip-extract): Doc fix. 2005-10-16 17:06:40 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Juanma Barranquero
0cf1ef266f (archive-get-descr, archive-alternate-display): Doc fixes.
(archive-l-e): Improve argument/docstring consistency.
(archive-tmpdir, archive-unixdate, archive-unixtime, archive-chmod-entry):
Fix typos in docstrings.
(archive-unflag, archive-unflag-backwards, archive-unmark-all-files):
"?\ " -> "?\s".
2005-07-20 11:19:10 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Stefan Monnier
f2cd8acacc (archive-lzh-ogm): Reorder save excursion/restriction. 2005-07-04 18:47:07 +00:00
Stefan Monnier
fdaaf74388 (archive-extract): Make it work as a mouse binding.
(archive-mouse-extract): Make it an obsolete alias.
(archive-mode-map): Don't use archive-mouse-extract any more.
(archive-mode, archive-extract): write-contents-hooks ->
write-contents-functions.
(archive-arc-rename-entry, archive-lzh-rename-entry): Remove unused
first arg.
(archive-rename-entry): Update the call.
(archive-zip-summarize): Remove unused var `method'.
(archive-lzh-summarize): Remove unused var `creator'.
2005-06-30 22:17:01 +00:00
Stefan Monnier
e545bb99dd Bind inhibit-read-only rather than buffer-read-only.
(archive-zip-extract, archive-zip-expunge)
(archive-zip-update, archive-zip-update-case): Use executable-find.
(archive-resummarize, archive-flag-deleted, archive-unmark-all-files):
Use restore-buffer-modified-p.
(archive-extract, archive-add-new-member, archive-write-file-member):
Use with-current-buffer.
(archive-lzh-ogm, archive-zip-chmod-entry): Use dolist.
2005-06-30 21:52:17 +00:00
Lute Kamstra
21a88c56b3 (archive-mode): Use run-mode-hooks. 2005-05-26 12:11:10 +00:00
Stefan Monnier
941f97789e (archive-mode-map): Move initialization into
the declaration.  Override *all* bindings of `undo'.
(archive-lemacs): Remove, use (featurep 'xemacs) instead.
2005-04-09 19:18:25 +00:00
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