From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: doc-view works with remote files, compressed files and files inside archives now Date: Thu, 10 Jan 2008 16:19:26 +0100 Message-ID: <87odbtk8sh.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199978390 29518 80.91.229.12 (10 Jan 2008 15:19:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jan 2008 15:19:50 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 10 16:20:08 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JCzCP-0005JC-5p for ged-emacs-devel@m.gmane.org; Thu, 10 Jan 2008 16:20:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCzC1-0001Re-2O for ged-emacs-devel@m.gmane.org; Thu, 10 Jan 2008 10:19:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCzBr-0001I0-Ep for emacs-devel@gnu.org; Thu, 10 Jan 2008 10:19:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCzBp-0001Fl-QC for emacs-devel@gnu.org; Thu, 10 Jan 2008 10:19:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCzBp-0001FV-Jq for emacs-devel@gnu.org; Thu, 10 Jan 2008 10:19:29 -0500 Original-Received: from out5.smtp.messagingengine.com ([66.111.4.29]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JCzBp-0002Ih-DA for emacs-devel@gnu.org; Thu, 10 Jan 2008 10:19:29 -0500 Original-Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id D853284A4B for ; Thu, 10 Jan 2008 10:19:28 -0500 (EST) Original-Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 10 Jan 2008 10:19:28 -0500 X-Sasl-enc: JGSriQb9uY/34wNS3RAifnpf2MW5njjCOk3AmKHflS/a 1199978368 Original-Received: from baldur (dslb-084-063-044-210.pools.arcor-ip.net [84.63.44.210]) by mail.messagingengine.com (Postfix) with ESMTP id 255C82D118 for ; Thu, 10 Jan 2008 10:19:27 -0500 (EST) Mail-Followup-To: emacs-devel@gnu.org User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:86702 Archived-At: Hi all, my latest changes to doc-view enable it to work with remote files, compressed files and files inside archives. If you open such a file a (uncompressed, extracted, local) copy is put into your doc-view-cache-directory which will be used for conversion (and md5-summing to find its cached images). When toggling from images to text and back again with C-c C-c all modifications of the text will cause a new conversion and the changes will be propagated back to the remote host, the compressed file or original file in the archive. Thus there should be no difference to plain, local PDF/PS/DVI files. I've tested it with some local files, files inside a local foo.tar.gz archive, local compressed files (foo.ps.gz), remote files accessed with TRAMP and remote compressed files (again TRAMP). I don't use any TRAMP specific code anymore, so I guess it should work the same with ange-ftp. Happy doc-viewing, Tassilo