Dired 7.5 bug: Grepping gzipped files problem

Adrian Phillips (adrian.phillips@dnmi.no)
Thu, 29 Sep 94 11:39:58 +0100


Hi Folks,

    If I do E in dired on one or more gzipped files:

  -rw-r--r--    1 tandem   user       59704 Sep 19 14:21 0919.gz
  -rw-r--r--    1 tandem   user       29650 Sep 20 14:17 0920.gz
  -rw-r--r--    1 tandem   user       20851 Sep 21 15:11 0921.gz

the following messages appear:
Hits for grep "qemm" in
   /usr/people/tandem/News/groups/comp.sys.ibm.pc.hardware.misc/0919.gz:

zcat: stdin: not in gzip format

Hits for grep "qemm" in
   /usr/people/tandem/News/groups/comp.sys.ibm.pc.hardware.misc/0920.gz:

zcat: stdin: not in gzip format

Hits for grep "qemm" in
   /usr/people/tandem/News/groups/comp.sys.ibm.pc.hardware.misc/0921.gz:

I had a look in dired-drep.el: dired-grep-file but hopeless elisp
hacker that I am I coudln't figure it out :-(

Thanks,

Adrian

Emacs  : GNU Emacs 19.27.1 (mips-sgi-irix5.2, X toolkit) of Mon Sep 19 1994 on freeze
Package: Dired

current state:
==============
(setq
 dired-version "7.5"
 dired-after-readin-hook nil
 dired-auto-shell-command-alist nil
 dired-backup-if-overwrite nil
 dired-before-readin-hook '(efs-dired-before-readin)
 dired-bibtex-unclean-extensions '(".blg" ".bbl")
 dired-chown-program "chown"
 dired-cleanup-alist '(("tex" ".cp" ".cps" ".fn" ".fns" ".ky"
			".kys" ".pg" ".pgs" ".tp" ".tps" ".vr" ".vrs" ".toc" ".log" ".aux"
			".idx" ".lof" ".lot" ".glo" ".blg" ".bbl")
		       ("patch" ".rej" ".orig")
		       )
 dired-compression-method 'gzip
 dired-compression-method-alist '((gzip ".gz" ("gzip") ("gzip" "-d") "-f")
				  (compress ".Z" ("compress" "-f") ("compress" "-d") "-f")
				  (pack ".z" ("pack" "-f") ("unpack"))
				  (compact ".C" ("compact") ("uncompact"))
				  )
 dired-copy-preserve-time t
 dired-dwim-target nil
 dired-failed-marker-shell 33
 dired-filename-re-ext "\\..+$"
 dired-find-subdir nil
 dired-gnutar-program "tar"
 dired-grep-load-hook '(#[nil "@ABC#" [efs-overwrite-fn "efs"
							    dired-grep-delete-local-temp-file efs-diff/grep-del-temp-file] 4]
			)
 dired-grep-pop-up-buffer t
 dired-keep-marker-compress t
 dired-keep-marker-copy 67
 dired-keep-marker-hardlink 72
 dired-keep-marker-kill 75
 dired-keep-marker-rename t
 dired-keep-marker-symlink 89
 dired-keep-marker-uucode 85
 dired-kept-versions 2
 dired-latex-unclean-extensions '(".idx" ".lof" ".lot" ".glo")
 dired-listing-switches "-al"
 dired-load-hook '(#[nil "@A!" [require efs-dired] 2])
 dired-local-variables-file ".dired"
 dired-ls-F-marks-symlinks nil
 dired-ls-program "ls"
 dired-mail-reader 'rmail
 dired-mode-hook nil
 dired-mode-line-modified "-%s%s%s-"
 dired-no-confirm nil
 dired-omit-extensions '(".o"
			 ".elc"
			 "~"
			 ".bin"
			 ".lbin"
			 ".fasl"
			 ".dvi"
			 ".toc"
			 ".log"
			 ".aux"
			 ".a"
			 ".ln"
			 ".lof"
			 ".blg"
			 ".bbl"
			 ".glo"
			 ".idx"
			 ".lot"
			 ".fmt"
			 ".cp"
			 ".cps"
			 ".fn"
			 ".fns"
			 ".ky"
			 ".kys"
			 ".pg"
			 ".pgs"
			 ".tp"
			 ".tps"
			 ".vr"
			 ".vrs"
			 ".toc"
			 ".log"
			 ".aux"
			 ".idx"
			 ".lof"
			 ".lot"
			 ".glo"
			 ".blg"
			 ".bbl"
			 ".rej"
			 ".orig"
			 )
 dired-omit-files nil
 dired-omit-files-regexp "^[#.]"
 dired-patch-unclean-extensions '(".rej" ".orig")
 dired-shell-failure-marker 33
 dired-shell-load-hook nil
 dired-show-ls-switches nil
 dired-tex-unclean-extensions '(".toc" ".log" ".aux")
 dired-texinfo-unclean-extensions '(".cp"
				    ".cps"
				    ".fn"
				    ".fns"
				    ".ky"
				    ".kys"
				    ".pg"
				    ".pgs"
				    ".tp"
				    ".tps"
				    ".vr"
				    ".vrs"
				    )
 dired-trivial-filenames "^\\.\\.?$\\|^#"
 dired-unshar-program nil
 dired-use-file-transformers nil
 dired-verify-modtimes t
 reporter-version "2.12"
 )


-- 
-------------------------------------------------------------------------
= Adrian Phillips at            | BUT any thoughts in this are purely    =
= The Norwegian Meteorological  | my own and have nothing to do with     =
= Institute   	    	        | this establishment, thankfully.        =
= Net: adrian.phillips@dnmi.no  | Phone: 47 22 96 32 09 Fax: 47 22 96 30 50