Mercurial > emacs
comparison lisp/jka-cmpr-hook.el @ 91897:87f9ccff5dd6
Comment.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 16 Feb 2008 23:54:28 +0000 |
parents | 02006e2b1e2a |
children | ee5932bf781d |
comparison
equal
deleted
inserted
replaced
91896:dc9cca14cbb1 | 91897:87f9ccff5dd6 |
---|---|
177 (set-default variable value) | 177 (set-default variable value) |
178 (jka-compr-update)) | 178 (jka-compr-update)) |
179 | 179 |
180 ;; I have this defined so that .Z files are assumed to be in unix | 180 ;; I have this defined so that .Z files are assumed to be in unix |
181 ;; compress format; and .gz files, in gzip format, and .bz2 files in bzip fmt. | 181 ;; compress format; and .gz files, in gzip format, and .bz2 files in bzip fmt. |
182 | |
183 ;; FIXME? It seems ugly that one has to add "\\(~\\|\\.~[0-9]+~\\)?" to | |
184 ;; all the regexps here, in order to match backup files etc. | |
185 ;; It's trivial to modify jka-compr-get-compression-info to match | |
186 ;; regexps against file-name-sans-versions, but this regexp is also | |
187 ;; used to build a file-name-handler-alist entry. | |
188 ;; find-file-name-handler does not use file-name-sans-versions. | |
189 ;; Perhaps it should, | |
190 ;; http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg00812.html, | |
191 ;; but it's used all over the place and there are probably other ramifications. | |
192 ;; One could modify jka-compr-build-file-regexp to add the backup regexp, | |
193 ;; but jka-compr-compression-info-list is a defcustom to which | |
194 ;; anything could be added, so it's easiest to leave things as they are. | |
182 (defcustom jka-compr-compression-info-list | 195 (defcustom jka-compr-compression-info-list |
183 ;;[regexp | 196 ;;[regexp |
184 ;; compr-message compr-prog compr-args | 197 ;; compr-message compr-prog compr-args |
185 ;; uncomp-message uncomp-prog uncomp-args | 198 ;; uncomp-message uncomp-prog uncomp-args |
186 ;; can-append strip-extension-flag file-magic-bytes] | 199 ;; can-append strip-extension-flag file-magic-bytes] |