From xemacs-m  Tue Feb  4 11:19:22 1997
Received: from sonne.darmstadt.gmd.de (sonne.darmstadt.gmd.de [141.12.62.20])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id LAA06240
	for <xemacs-beta@xemacs.org>; Tue, 4 Feb 1997 11:19:19 -0600 (CST)
Received: from deimos.darmstadt.gmd.de (deimos [141.12.63.54]) by sonne.darmstadt.gmd.de (8.8.5/8.8.2) with SMTP id SAA21904; Tue, 4 Feb 1997 18:18:41 +0100 (MET)
Date: Tue, 4 Feb 1997 18:18:41 +0100 (MET)
Message-Id: <199702041718.SAA21904@sonne.darmstadt.gmd.de>
From: Roland Rieke <rieke@darmstadt.gmd.de>
To: sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor])
CC: xemacs-beta@xemacs.org
Subject: Re: EFS 1.15 for XEmacs, release x2
In-Reply-To: <y9ld8ugwsge.fsf@modas.informatik.uni-tuebingen.de>
References: <y9llo94x5b2.fsf@modas.informatik.uni-tuebingen.de>
	<kigenewmzp7.fsf@jagor.srce.hr>
	<y9ld8ugwsge.fsf@modas.informatik.uni-tuebingen.de>


With the following quick-and-dirty diff it is possible 
to open remote *.tar.gz files 
(you need (require 'tar-mode)(setq tar-regexp "\\.tar$")(require 'jka-compr))
The problem is that the local temp-file-name does not reflect the
filename structure FILE.TYPE that is used by jka-compr and tar ...

Roland

--------------------------------------------------------------------
diff -u --recursive efs.el~ efs.el
--- efs.el~	Sat Jan 25 16:49:42 1997
+++ efs.el	Tue Feb  4 17:59:43 1997
@@ -7425,9 +7425,11 @@
 		     efs-files-hashtable)
 		    (file-exists-p filename))))
 	    
-	    (let ((temp (car (efs-make-tmp-name nil host)))
+	    (let* (
 		  (type (efs-xfer-type host-type filename nil nil))
 		  (abbr (efs-relativize-filename filename))
+		  (temp (concat (car (efs-make-tmp-name nil host))
+				(or (substring abbr (string-match "\\." abbr)) "")))
 		  (i-f-c-size 0))
 	      
 	      (unwind-protect

