aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/jka-compr.el
Commit message (Collapse)AuthorAgeFilesLines
* (jka-compr-partial-uncompress): Don't use `concat' for numbers.Kenichi Handa2000-12-201-1/+1
|
* (jka-compr-compression-info-list): Fix :type.Dave Love2000-12-071-1/+2
|
* (auto-compression-mode): Drop unneeded positional args.Stefan Monnier2000-11-031-1/+1
|
* Doc fix.Miles Bader2000-10-151-4/+4
|
* Don't call `jka-compr-install' when loading (it will be done by theMiles Bader2000-10-081-10/+12
| | | | | | | definition of `auto-compression-mode' if necessary). Move code to uninstall existing file-name handler before definition of `auto-compression-mode'.
* (auto-compression-mode): Move to the end of the file, becauseMiles Bader2000-10-081-28/+30
| | | | | | | `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.
* (auto-compression-mode): Use define-minor-mode.Stefan Monnier2000-09-291-56/+10
| | | | | (toggle-auto-compression): Remove. (jka-compr-build-file-regexp): Remove useless grouping.
* (with-auto-compression-mode): New macro.Miles Bader2000-09-201-1/+16
|
* (jka-compr-compression-info-list): Add `.z'Gerd Moellmann2000-04-031-1/+1
| | | | to extensions handled by gzip.
* (jka-compr-load): Fix up load-history.Dave Love2000-01-301-2/+7
|
* (jka-compr-info-file-magic-bytes): New function.Richard M. Stallman1999-12-251-95/+124
| | | | | | | | | | (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.
* Use make-temp-file.Stefan Monnier1999-10-151-40/+2
|
* Copyright update.Dave Love1999-08-161-1/+1
|
* (auto-compression-mode): New variable for customization.Dave Love1999-08-161-0/+13
|
* (jka-compr-insert-file-contents): Fix previousDave Love1999-04-121-3/+1
| | | | change to use jka-compr-byte-compiler-base-file-name.
* (jka-compr-insert-file-contents):Richard M. Stallman1999-04-081-1/+5
| | | | | Use auto-coding-alist-lookup to check for files that should not have eol conversion, in the unibyte case.
* (jka-compr-insert-file-contents):Richard M. Stallman1999-04-061-1/+1
| | | | Use raw-text-unix when we want no conversion.
* (jka-compr-compression-info-list): Remove "-c" fromDave Love1998-09-291-2/+5
| | | | bzip2 args.
* (jka-compr-insert-file-contents): Replace incorrectRichard M. Stallman1998-07-131-10/+4
| | | | inline code with call to find-operation-coding-system.
* (jka-compr-insert-file-contents): Don't runRichard M. Stallman1998-06-141-12/+16
| | | | after-insert-file-functions, since caller does that.
* (jka-compr-write-region): EnsureKarl Heuer1998-06-051-2/+11
| | | | | `last-coding-system-used' is updated, so that basic-save-buffer sees the right value.
* (jka-compr-compression-info-list): Add elts for bzip.Richard M. Stallman1998-05-231-2/+2
|
* (jka-compr-temp-name-template): Use temporary-file-directory.Richard M. Stallman1998-05-161-1/+1
|
* (jka-compr-temp-name-template): Use system-tmp-directoryRichard M. Stallman1998-05-161-5/+1
|
* (jka-compr-use-shell) [ms-dos, windows-nt]: Do not use a shell.Richard M. Stallman1998-04-171-3/+6
| | | | | (jka-compr-temp-name-template) [ms-dos, windows-nt]: Check common locations for tmp directory.
* (jka-compr-compression-info-list): Fix previous change:Richard M. Stallman1998-02-141-1/+1
| | | | clear "append" flag for bzip.
* (jka-compr-compression-info-list): Handle bzip.Richard M. Stallman1998-02-081-1/+5
|
* (jka-compr-insert-file-contents):Richard M. Stallman1997-12-211-0/+4
| | | | If enable-multibyte-characters is nil, decode as raw-text.
* (jka-compr-inhibit): New variable.Karl Heuer1997-10-231-1/+6
| | | | (jka-compr-handler): Obey jka-compr-inhibit.
* (jka-compr-added-to-file-coding-system-alist): New var.Richard M. Stallman1997-07-271-3/+40
| | | | | | | (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.
* Fix previous changes.Kenichi Handa1997-07-221-23/+34
|
* (jka-compr-insert-file-contents): Bind coding-system-for-read.Richard M. Stallman1997-07-201-8/+14
| | | | | | | (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.
* Comment change.Richard M. Stallman1997-05-271-0/+1
|
* (jka-compr-temp-name-template): Fix editing error.Richard M. Stallman1997-04-131-0/+1
|
* Add defgroup's; use defcustom for user vars.Richard M. Stallman1997-04-121-9/+34
|
* (jka-compr-error): Use with-current-buffer.Richard M. Stallman1997-01-271-34/+24
| | | | | (jka-compr-call-process, jka-compr-file-local-copy) (jka-compr-write-region): Use with-current-buffer.
* (jka-compr-temp-name-template): Initialize using TMPDIR.Richard M. Stallman1996-12-071-1/+2
|
* Comment change.Richard M. Stallman1996-04-261-1/+1
|
* Update FSF's address.Erik Naggum1996-01-141-75/+76
|
* (auto-compression-mode): Add `interactive'.Richard M. Stallman1995-12-311-6/+10
| | | | | Put \-newline in doc string. (toggle-auto-compression): New arg MESSAGE. Don't use interactive-p.
* (auto-compression-mode): This is now a stub functionRichard M. Stallman1995-12-291-3/+12
| | | | | | that calls toggle-auto-compression, and is put bodily into loaddefs.el. (toggle-auto-compression): Renamed from auto-compression-mode. Not autloaded.
* (auto-compression-mode): Make arg optional.Richard M. Stallman1995-11-111-1/+17
|
* Comment change.Richard M. Stallman1995-10-301-1/+2
|
* (auto-compression-mode): Add autoload cookie.Richard M. Stallman1995-09-241-3/+4
| | | | | Renamed from toggle-auto-compression. (toggle-auto-compression): Define as alias.
* (jka-compr-byte-compiler-base-file-name): New function.Richard M. Stallman1995-08-221-0/+9
| | | | Use it to handle byte-compiler-base-file-name operation.
* (jka-compr-load): Bind load-force-doc-strings.Richard M. Stallman1995-08-021-1/+2
|
* (jka-compr-write-region): Handle the appendRichard M. Stallman1995-05-011-35/+15
| | | | | | 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.
* (jka-compr-insert-file-contents): When visiting,Richard M. Stallman1995-04-291-7/+12
| | | | bind buffer-file-name to nil temporarily.
* (jka-compr-install): Doc fix.Richard M. Stallman1995-04-081-2/+13
| | | | | (jka-compr-uninstall): Delete entries that jka-compr-install added to inhibit-first-line-modes-suffixes.
* (jka-compr-install): Add items to inhibit-first-line-modes-suffixes.Richard M. Stallman1995-04-021-8/+15
|