[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: jka-compr.el doesn't recognise .svgz.~1~ or .sifz files as being gzi
From: |
Andreas Schwab |
Subject: |
Re: jka-compr.el doesn't recognise .svgz.~1~ or .sifz files as being gzipped |
Date: |
Thu, 24 Jan 2008 11:07:46 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) |
"Chris Moore" <address@hidden> writes:
> So here's a patch for both problems, based on the filenames:
>
> *** jka-cmpr-hook.el.~1.22.~ 2008-01-17 09:46:16.000000000 +0100
> --- jka-cmpr-hook.el 2008-01-24 09:57:09.000000000 +0100
> ***************
> *** 200,206 ****
> "bzip2ing" "bzip2" nil
> "bunzip2ing" "bzip2" ("-d")
> nil nil "BZh"]
> ! ["\\.\\(?:tgz\\|svgz\\)\\'"
> "compressing" "gzip" ("-c" "-q")
> "uncompressing" "gzip" ("-c" "-q" "-d")
> t nil "\037\213"]
> --- 200,206 ----
> "bzip2ing" "bzip2" nil
> "bunzip2ing" "bzip2" ("-d")
> nil nil "BZh"]
> ! ["\\.\\(?:tgz\\|svgz\\|sifz\\)\\(~\\|\\.~[0-9]+~\\)?\\'"
> "compressing" "gzip" ("-c" "-q")
> "uncompressing" "gzip" ("-c" "-q" "-d")
> t nil "\037\213"]
Why aren't they matched against file-name-sans-versions?
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."