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

104 Commits

Author SHA1 Message Date
Eli Zaretskii
6a801864b1 Fix bug #5447, whereby loading C:/foo.el.gz on MS-Windows would fail.
jka-compr.el (jka-compr-load): If load-file is not in load-history, 
 try its file-truename version.
2010-01-22 12:23:25 +02:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Lute Kamstra
9201cc281b * align.el:
* allout.el:
* apropos.el:
* arc-mode.el:
* autoinsert.el:
* avoid.el:
* battery.el:
* bookmark.el:
* buff-menu.el:
* calculator.el:
* chistory.el:
* cmuscheme.el:
* comint.el:
* compare-w.el:
* dabbrev.el:
* delim-col.el:
* desktop.el:
* diff-mode.el:
* diff.el:
* dired-aux.el:
* dired-x.el:
* dired.el:
* dos-vars.el:
* ediff-diff.el:
* ediff-help.el:
* ediff-init.el:
* ediff-merg.el:
* ediff-mult.el:
* ediff-ptch.el:
* ediff-vers.el:
* ediff-wind.el:
* ediff.el:
* emerge.el:
* facemenu.el:
* faces.el:
* ffap.el:
* filecache.el:
* find-dired.el:
* font-core.el:
* font-lock.el:
* forms.el:
* fringe.el:
* help-at-pt.el:
* hippie-exp.el:
* ido.el:
* image-file.el:
* imenu.el:
* indent.el:
* info.el:
* isearchb.el:
* iswitchb.el:
* jit-lock.el:
* jka-compr.el:
* log-edit.el:
* lpr.el:
* ls-lisp.el:
* man.el:
* menu-bar.el:
* midnight.el:
* mouse-sel.el:
* mouse.el:
* msb.el:
* outline.el:
* paren.el:
* pcmpl-cvs.el:
* pcmpl-gnu.el:
* pcomplete.el:
* pcvs-info.el:
* pcvs-parse.el:
* printing.el:
* ps-mule.el:
* ps-print.el:
* replace.el:
* ruler-mode.el:
* saveplace.el:
* sb-image.el:
* scroll-bar.el:
* sha1.el:
* shadowfile.el:
* shell.el:
* sort.el:
* speedbar.el:
* strokes.el:
* tempo.el:
* term.el:
* terminal.el:
* time-stamp.el:
* time.el:
* tree-widget.el:
* type-break.el:
* vc-cvs.el:
* vc-hg.el:
* vc-mcvs.el:
* vc-rcs.el:
* vc-sccs.el:
* vc.el:
* view.el:
* w32-vars.el:
* whitespace.el:
* wid-edit.el: Remove leading * from docstrings of defcustoms,
deffaces, defconsts and defuns.
2008-12-03 05:48:14 +00:00
Stefan Monnier
5e84e8f9ac (jka-compr-write-region): Typo. 2008-05-28 17:37:04 +00:00
Stefan Monnier
ab1d38354d * progmodes/flymake.el (flymake-save-buffer-in-file):
* shadowfile.el (shadow-copy-file):
* arc-mode.el (archive-*-write-file-member):
* files.el (diff-buffer-with-file):
* subr.el (with-temp-file): Pass nil to write-region.
* jka-compr.el (jka-compr-write-region): Preserve `start's nullness.
2008-05-28 17:35:34 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Stefan Monnier
82fb0b42f0 (jka-compr-insert-file-contents): Reduce indentation slightly. 2008-04-03 20:02:47 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
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