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
Richard M. Stallman
5c6f2f2a47
(jka-compr-insert-file-contents): Don't run
...
after-insert-file-functions, since caller does that.
1998-06-14 19:01:34 +00:00
Karl Heuer
70c7850e9c
(jka-compr-write-region): Ensure
...
`last-coding-system-used' is updated, so that basic-save-buffer
sees the right value.
1998-06-05 15:54:48 +00:00
Richard M. Stallman
55319655c7
(jka-compr-compression-info-list): Add elts for bzip.
1998-05-23 00:50:04 +00:00
Richard M. Stallman
11757e2f52
(jka-compr-temp-name-template): Use temporary-file-directory.
1998-05-16 17:50:00 +00:00
Richard M. Stallman
7b559d168f
(jka-compr-temp-name-template): Use system-tmp-directory
1998-05-16 03:43:44 +00:00
Richard M. Stallman
eb915452f4
(jka-compr-use-shell) [ms-dos, windows-nt]: Do not use a shell.
...
(jka-compr-temp-name-template) [ms-dos, windows-nt]: Check common
locations for tmp directory.
1998-04-17 21:17:21 +00:00
Richard M. Stallman
6b10a52144
(jka-compr-compression-info-list): Fix previous change:
...
clear "append" flag for bzip.
1998-02-14 02:40:07 +00:00
Richard M. Stallman
060c3cc98f
(jka-compr-compression-info-list): Handle bzip.
1998-02-08 22:45:47 +00:00
Richard M. Stallman
bab0036837
(jka-compr-insert-file-contents):
...
If enable-multibyte-characters is nil, decode as raw-text.
1997-12-21 02:26:48 +00:00
Karl Heuer
9fdf055b7a
(jka-compr-inhibit): New variable.
...
(jka-compr-handler): Obey jka-compr-inhibit.
1997-10-23 07:00:59 +00:00
Richard M. Stallman
4eec33ae22
(jka-compr-added-to-file-coding-system-alist): New var.
...
(jka-compr-insert-file-contents): Set coding-system-for-read
according to file name after removing compression suffix.
(jka-compr-install): Add elemets to file-coding-system-alist.
(jka-compr-uninstall): Remove elements from file-coding-system-alist.
1997-07-27 00:06:20 +00:00
Kenichi Handa
baefb0160e
Fix previous changes.
1997-07-22 03:45:44 +00:00
Richard M. Stallman
a81635fcb8
(jka-compr-insert-file-contents): Bind coding-system-for-read.
...
(jka-compr-write-region): Bind coding-system-for-write.
Set buffer-file-type if dos or nt.
(jka-compr-call-process): Bind coding-system-for-read
and coding-system-for-write.
1997-07-20 04:50:25 +00:00
Richard M. Stallman
4228277d98
Comment change.
1997-05-27 17:46:19 +00:00
Richard M. Stallman
362b539a3f
(jka-compr-temp-name-template): Fix editing error.
1997-04-13 23:43:42 +00:00
Richard M. Stallman
bbf5eb2805
Add defgroup's; use defcustom for user vars.
1997-04-12 03:18:33 +00:00
Richard M. Stallman
75e9c107ee
(jka-compr-error): Use with-current-buffer.
...
(jka-compr-call-process, jka-compr-file-local-copy)
(jka-compr-write-region): Use with-current-buffer.
1997-01-27 02:40:00 +00:00
Richard M. Stallman
1d2517f2ed
(jka-compr-temp-name-template): Initialize using TMPDIR.
1996-12-07 21:22:27 +00:00
Richard M. Stallman
43a3bdccec
Comment change.
1996-04-26 19:31:40 +00:00
Erik Naggum
b578f267af
Update FSF's address.
1996-01-14 07:34:30 +00:00
Richard M. Stallman
e5220563c8
(auto-compression-mode): Add `interactive'.
...
Put \-newline in doc string.
(toggle-auto-compression): New arg MESSAGE. Don't use interactive-p.
1995-12-31 19:19:25 +00:00
Richard M. Stallman
b6dca218bb
(auto-compression-mode): This is now a stub function
...
that calls toggle-auto-compression, and is put bodily into loaddefs.el.
(toggle-auto-compression): Renamed from auto-compression-mode.
Not autloaded.
1995-12-29 05:47:49 +00:00
Richard M. Stallman
f4454a1467
(auto-compression-mode): Make arg optional.
1995-11-11 20:29:31 +00:00
Richard M. Stallman
be01074898
Comment change.
1995-10-30 17:35:01 +00:00
Richard M. Stallman
61793fbf5d
(auto-compression-mode): Add autoload cookie.
...
Renamed from toggle-auto-compression.
(toggle-auto-compression): Define as alias.
1995-09-24 03:59:02 +00:00
Richard M. Stallman
3068998dc3
(jka-compr-byte-compiler-base-file-name): New function.
...
Use it to handle byte-compiler-base-file-name operation.
1995-08-22 16:46:45 +00:00
Richard M. Stallman
9b37d8a910
(jka-compr-load): Bind load-force-doc-strings.
1995-08-02 23:56:20 +00:00
Richard M. Stallman
30c78e11b9
(jka-compr-write-region): Handle the append
...
argument correctly when the can-append flag is false.
(jka-compr-write-region): Make temp-buffer name unique to this fn.
(jka-compr-file-local-copy): Ditto.
1995-05-01 05:23:49 +00:00
Richard M. Stallman
ae849784b4
(jka-compr-insert-file-contents): When visiting,
...
bind buffer-file-name to nil temporarily.
1995-04-29 19:25:19 +00:00
Richard M. Stallman
919a07bb1d
(jka-compr-install): Doc fix.
...
(jka-compr-uninstall): Delete entries that jka-compr-install
added to inhibit-first-line-modes-suffixes.
1995-04-08 06:22:05 +00:00
Richard M. Stallman
469f4e8cfc
(jka-compr-install): Add items to inhibit-first-line-modes-suffixes.
1995-04-02 02:21:56 +00:00
Richard M. Stallman
74b2c73714
(jka-compr-mode-compression-info-list): Add .tgz extension.
...
(jka-compr-mode-alist-additions): New variable.
(jka-compr-install): Append jka...additions to auto-mode-alist.
(jka-compr-uninstall): Remove jka-...-additions from auto-mode-alist.
1994-10-12 23:12:25 +00:00
Richard M. Stallman
cff1bd9cff
Comment change.
1994-09-25 07:48:55 +00:00
Richard M. Stallman
094cf604a0
(jka-compr-compression-info-list): Expand regular
...
expressions to include backup files with version numbers.
(jka-compr-insert-file-contents): Run the
functions in after-insert-file-functions after the
buffer-file-name has been set, not before.
(jka-compr-insert-file-contents): Properly
handle the 'replace' argument for compressed files.
1994-09-16 04:54:58 +00:00
Richard M. Stallman
b38fda688b
(jka-compr-insert-file-contents): Run the
...
after-insert-file-functions.
1994-08-23 19:53:39 +00:00
Richard M. Stallman
ee139ed38b
(jka-compr-partial-uncompress): Handle the case where
...
LEN reaches to or past the end of the data.
1994-06-26 16:10:41 +00:00
Richard M. Stallman
8fb1a58347
Use plists to record handlers.
...
(jka-compr-insert-file-contents): Don't leave buffer locked.
Call the standard function, and file-local-copy,
using jka-compr-run-real-handler.
(jka-compr-file-local-copy): Call file-local-copy
using jka-compr-run-real-handler.
(jka-compr-write-region): Likewise.
(jka-compr-load): Don't alter file-name-handler-alist.
Do bind inhibit-file-name-handlers and inhibit-file-name-operation.
(jka-compr-handler): Don't alter file-name-handler-alist.
1994-06-20 18:30:06 +00:00
Richard M. Stallman
555235e687
(jka-compr-op-table, jka-compr-file-name-handler-entry): Move defvars.
1994-05-22 07:59:39 +00:00
Richard M. Stallman
ede9c6a855
(jka-compr-compression-info-list): Doc fix.
1994-05-22 07:57:30 +00:00
Richard M. Stallman
99bee6a4a4
Doc fixes.
...
(jka-compr-run-real-handler): New function.
jka-compr-handler): Call it, to reinvoke the Emacs primitive
using the new inhibit protocol.
1994-04-24 08:02:11 +00:00
Karl Heuer
1cb46df641
(jka-compr-handler): Save match data.
1994-04-11 20:54:33 +00:00
Richard M. Stallman
54b2aa5c65
(jka-compr-insert-file-contents): Handle 5th arg.
1994-03-05 23:28:35 +00:00
Richard M. Stallman
dfe05faccc
(jka-compr-partial-uncompress): Make dd give you
...
one more block than you think you need.
(jka-compr-dd-blocksize): Change default value to 256.
1994-02-23 16:18:10 +00:00
Richard M. Stallman
acd622ccdb
Initial revision
1994-02-18 22:50:05 +00:00