From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: 23.0.50; Small problems with doc-view.el Date: Wed, 09 Jan 2008 21:01:26 -0500 Message-ID: References: <016C93BC-D9CB-4C81-AA21-9CC1F6B5036F@Web.DE> <87ve63cqu5.fsf@member.fsf.org> <87r6grcmve.fsf@member.fsf.org> <87k5mid9fz.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 1199930504 21081 80.91.229.12 (10 Jan 2008 02:01:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jan 2008 02:01:44 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 10 03:02:06 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 1JCmk8-0005JJ-Fq for ged-emacs-devel@m.gmane.org; Thu, 10 Jan 2008 03:02:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCmjl-0001un-99 for ged-emacs-devel@m.gmane.org; Wed, 09 Jan 2008 21:01:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCmjb-0001oy-4j for emacs-devel@gnu.org; Wed, 09 Jan 2008 21:01:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCmjY-0001nk-OB for emacs-devel@gnu.org; Wed, 09 Jan 2008 21:01:30 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCmjY-0001nY-HW for emacs-devel@gnu.org; Wed, 09 Jan 2008 21:01:28 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JCmjY-0005os-3b for emacs-devel@gnu.org; Wed, 09 Jan 2008 21:01:28 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAALIKhUfO+IQqdGdsb2JhbACQHQEwmQKBAA X-IronPort-AV: E=Sophos;i="4.24,264,1196658000"; d="scan'208";a="12492081" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 09 Jan 2008 21:01:27 -0500 Original-Received: from pastel.home ([206.248.132.42]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id QDL21827; Wed, 09 Jan 2008 21:01:27 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id CC93C7F44; Wed, 9 Jan 2008 21:01:26 -0500 (EST) In-Reply-To: <87k5mid9fz.fsf@member.fsf.org> (Tassilo Horn's message of "Wed, 09 Jan 2008 21:34:56 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) 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:86669 Archived-At: >> Does it also work for files accessed via Tramp, now? > Yes, now it does. But it looses the connection to the original remote > file, so if you open a remote pdf and do C-c C-c to edit it, these > changes won't be propagated back to the remote host. The same applies > to compressed documents and documents in archives. > If you edit a remote PS file with tramp C-x C-s will save the updated > file to the remote host. But as soon as you hit C-c C-c the current > buffer contents are saved to a file in doc-view-cache-directory which is > then converted. Switching back to editing will open that file instead > of the original file. That might be a problem... Indeed, that's not a feature. Why is that? Can't you just save the buffer's contents to some temp local file and save the name of that file to doc-view-buffer-file-name or somesuch? Stefan