Chong Yidong
dc2cef7741
(jka-compr-partial-uncompress, jka-compr-call-process): Rebind
...
default-directory if it is invalid. Suggested by Chris Moore.
2007-01-29 02:51:41 +00:00
Juanma Barranquero
04b5376f70
(jka-compr-shell): Doc fix.
2007-01-27 11:55:59 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Glenn Morris
c90f275771
Update copyright years.
2006-12-05 07:06:08 +00:00
Luc Teirlinck
0c53638a03
(jka-compr-uninstall): Replace mapcar' with
mapc'.
...
Update `load-file-rep-suffixes' instead of `load-suffixes'.
Use jka-compr-compression-info-list--internal,
jka-compr-mode-alist-additions--internal and
jka-compr-load-suffixes--internal.
2006-02-27 01:51:17 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
Stefan Monnier
f6cb7e0afb
Require 'jka-cmpr-hook.
...
(jka-compr-info-compress-message, jka-compr-info-compress-program)
(jka-compr-info-compress-args, jka-compr-info-uncompress-message)
(jka-compr-info-uncompress-program, jka-compr-info-uncompress-args)
(jka-compr-info-can-append, jka-compr-info-strip-extension)
(jka-compr-info-file-magic-bytes, jka-compr-get-compression-info)
(jka-compr-info-regexp): Remove. Provided by jka-cmpr-hook.
(jka-compr-uninstall): Remove entries from
jka-compr-added-to-file-coding-system-alist after they are used.
(jka-compr-error): Remove unused var `curbuf'.
(jka-compr-file-local-copy): Remove unused var `notfound'.
2005-11-11 02:54:08 +00:00
Thien-Thi Nguyen
0d30b33766
Update years in copyright notice; nfc.
2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519
Update FSF's address.
2005-07-04 23:32:44 +00:00
Richard M. Stallman
7bbae30c23
(jka-compr-insert-file-contents):
...
Special handling if cannot find the uncompression program.
2005-06-25 14:14:21 +00:00
Eli Zaretskii
233c955de4
(jka-compr-uninstall): Add autoload cookie.
2005-05-06 11:22:21 +00:00
Richard M. Stallman
0e2846fbad
Many functions and vars moved to jka-compr-hook.el.
...
(jka-compr-handler): Add autoload. `put' calls moved
to jka-compr-hook.el.
(compression, jka-compr): defgroups moved to jka-compr-hook.el.
(jka-compr-inhibit): Autoload.
2005-04-30 20:18:10 +00:00
Richard M. Stallman
e21c148e2c
(jka-compr-compression-info-list): Fix custom type.
2005-04-17 16:00:48 +00:00
Richard M. Stallman
dd83d95af1
(jka-compr-really-do-compress): Make variable buffer-local.
2005-03-21 17:44:27 +00:00
Juri Linkov
cc8b577ede
(jka-compr-compression-info-list): Add tbz and dz.
...
(jka-compr-mode-alist-additions): Add tbz.
(jka-compr-write-region): Add error message for undefined compress-program.
(jka-compr-insert-file-contents): Add message for undefined compress-program.
(jka-compr-write-region): Remove redundant var bindings.
2004-03-23 07:38:04 +00:00
Eli Zaretskii
1550204223
* progmodes/idlwave.el (idlwave-make-tags):
...
* textmodes/flyspell.el (flyspell-large-region):.
* progmodes/make-mode.el (makefile-query-by-make-minus-q):
* emulation/viper-util.el (viper-glob-unix-files):
* emacs-lisp/shadow.el (shadow-same-file-or-nonexistent):
* man.el (Man-init-defvars):
* jka-compr.el (jka-compr-call-process):
* files.el (get-free-disk-space,insert-directory):
* ediff-ptch.el (ediff-test-patch-utility):
* ediff-diff.el (ediff-test-utility):
* dired-aux.el (dired-check-process):
* mail/sendmail.el (sendmail-send-it): Don't use = or zerop to
test the return value of call-process, because it can be a string.
2004-01-03 12:12:01 +00:00
Andreas Schwab
8290faa335
(jka-compr-insert-file-contents): Avoid error when
...
file not found.
2003-12-25 11:06:14 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Richard M. Stallman
31b55e801d
(jka-compr-insert-file-contents):
...
When REPLACE, delete the proper range of text.
2003-05-28 11:21:36 +00:00
Juanma Barranquero
f1180544bb
Trailing whitespace deleted.
2003-02-04 12:29:42 +00:00
Kenichi Handa
8bdf601fe8
(jka-compr-insert-file-contents): Call
...
docode-coding-inserted-region.
2003-01-24 13:28:24 +00:00
Andreas Schwab
d7c3385451
(jka-compr-insert-file-contents): Fix typo in last change.
2003-01-22 18:45:49 +00:00
Kenichi Handa
f54a716805
(jka-compr-insert-file-contents): Read a process
...
output without decoding. Decode the result by
decode-coding-region-as-inserted-from-file.
2003-01-22 02:33:55 +00:00
Richard M. Stallman
68890d7ebc
(jka-compr-handler): Add safe-magic property.
2002-09-01 13:26:06 +00:00
Eli Zaretskii
5f320490f4
Fix a typo in a comment.
2002-06-09 17:13:56 +00:00
Richard M. Stallman
b6e8d2388c
(jka-compr-write-region): If START = nil, use whole buf.
2002-01-01 07:23:31 +00:00
Eli Zaretskii
152e2693f1
(jka-compr-partial-uncompress): Use null-device instead of a literal
...
/dev/null. Reported by Jens Schmidt <schmidt@mathematik.uni-kl.de>.
2001-12-21 12:43:55 +00:00
Richard M. Stallman
83709c9f91
(jka-compr-partial-uncompress): Fix previous change.
2001-11-15 21:17:19 +00:00
Richard M. Stallman
242d2673d9
(jka-compr-partial-uncompress): Support an alternative of not using dd.
...
(jka-compr-dd-program): Use defcustom to define this.
(jka-compr-load-suffixes): Use defcustom.
(jka-compr-mode-alist-additions): Use defcustom.
2001-11-06 17:14:53 +00:00
Stefan Monnier
aab8a6e351
(jka-compr-load-suffixes): New var.
...
(jka-compr-install): Add its content to load-suffixes.
(jka-compr-uninstall): Remove its content from load-suffixes.
2001-10-12 16:28:16 +00:00
Pavel Janík
5553563924
Some fixes to follow coding conventions in files maintained by FSF.
2001-07-15 16:15:35 +00:00
Kenichi Handa
ee753ec8cf
(jka-compr-partial-uncompress): Don't use `concat' for numbers.
2000-12-20 11:07:03 +00:00
Dave Love
a3fdb58aaa
(jka-compr-compression-info-list): Fix :type.
2000-12-07 12:14:58 +00:00
Stefan Monnier
754005f70d
(auto-compression-mode): Drop unneeded positional args.
2000-11-03 22:25:46 +00:00
Miles Bader
7391213dad
Doc fix.
2000-10-15 11:21:33 +00:00
Miles Bader
7dbc9c8a2c
Don't call `jka-compr-install' when loading (it will be done by the
...
definition of `auto-compression-mode' if necessary).
Move code to uninstall existing file-name handler before definition of
`auto-compression-mode'.
2000-10-08 23:35:47 +00:00
Miles Bader
6fee86a3c9
(auto-compression-mode): Move to the end of the file, because
...
`define-minor-mode' actually calls the mode-function if the associated
variable is non-nil, which requires that all needed functions be already
defined.
(with-auto-compression-mode): Add autoload cookie.
2000-10-08 02:58:24 +00:00
Stefan Monnier
defdd32e04
(auto-compression-mode): Use define-minor-mode.
...
(toggle-auto-compression): Remove.
(jka-compr-build-file-regexp): Remove useless grouping.
2000-09-29 02:38:03 +00:00
Miles Bader
523b128cff
(with-auto-compression-mode): New macro.
2000-09-20 04:44:35 +00:00
Gerd Moellmann
0166aed1b5
(jka-compr-compression-info-list): Add `.z'
...
to extensions handled by gzip.
2000-04-03 13:30:55 +00:00
Dave Love
e645e77b4b
(jka-compr-load): Fix up load-history.
2000-01-30 17:52:18 +00:00
Richard M. Stallman
e073a3561b
(jka-compr-info-file-magic-bytes): New function.
...
(jka-compr-compression-info-list): Add new elt to each vector.
(jka-compr-write-region): Don't compress the data if it is already compressed.
(jka-compr-really-do-compress): New variable.
(jka-compr-insert-file-contents): Set jka-compr-really-do-compress if visiting.
(jka-compr-write-region): Set jka-compr-really-do-compress
if visiting. Test it when deciding to compress.
1999-12-25 23:00:57 +00:00
Stefan Monnier
767d12f23e
Use make-temp-file.
1999-10-15 16:03:59 +00:00
Dave Love
e5e5ef2436
Copyright update.
1999-08-16 11:48:41 +00:00
Dave Love
9699776ccb
(auto-compression-mode): New variable for customization.
1999-08-16 11:46:07 +00:00
Dave Love
f8d8f6270e
(jka-compr-insert-file-contents): Fix previous
...
change to use jka-compr-byte-compiler-base-file-name.
1999-04-12 08:50:02 +00:00
Richard M. Stallman
c352d95951
(jka-compr-insert-file-contents):
...
Use auto-coding-alist-lookup to check for files that
should not have eol conversion, in the unibyte case.
1999-04-08 22:26:13 +00:00
Richard M. Stallman
312bdc0dcb
(jka-compr-insert-file-contents):
...
Use raw-text-unix when we want no conversion.
1999-04-06 18:43:26 +00:00
Dave Love
df312987d6
(jka-compr-compression-info-list): Remove "-c" from
...
bzip2 args.
1998-09-29 10:41:20 +00:00
Richard M. Stallman
7ec4806e71
(jka-compr-insert-file-contents): Replace incorrect
...
inline code with call to find-operation-coding-system.
1998-07-13 01:10:09 +00:00