From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#12643: 24.2.50; TRAMP and ps-spool functions Date: Sun, 14 Oct 2012 11:47:48 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1350208088 12603 80.91.229.3 (14 Oct 2012 09:48:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Oct 2012 09:48:08 +0000 (UTC) Cc: 12643@debbugs.gnu.org To: Peter Dyballa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 14 11:48:14 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TNKnt-0002G5-QU for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Oct 2012 11:48:13 +0200 Original-Received: from localhost ([::1]:44421 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNKnn-0003yk-0i for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Oct 2012 05:48:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNKnk-0003yT-3j for bug-gnu-emacs@gnu.org; Sun, 14 Oct 2012 05:48:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TNKni-0002Ux-J4 for bug-gnu-emacs@gnu.org; Sun, 14 Oct 2012 05:48:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNKni-0002Uq-FU for bug-gnu-emacs@gnu.org; Sun, 14 Oct 2012 05:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TNKog-0006Sn-9f for bug-gnu-emacs@gnu.org; Sun, 14 Oct 2012 05:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Oct 2012 09:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12643 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12643-submit@debbugs.gnu.org id=B12643.135020813424830 (code B ref 12643); Sun, 14 Oct 2012 09:49:02 +0000 Original-Received: (at 12643) by debbugs.gnu.org; 14 Oct 2012 09:48:54 +0000 Original-Received: from localhost ([127.0.0.1]:43246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNKoY-0006SR-0y for submit@debbugs.gnu.org; Sun, 14 Oct 2012 05:48:54 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:56192) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNKoV-0006SJ-CE for 12643@debbugs.gnu.org; Sun, 14 Oct 2012 05:48:52 -0400 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3XfdHn5pfMz3hhdB; Sun, 14 Oct 2012 11:47:49 +0200 (CEST) X-Auth-Info: OVdGxqcJXp6pSvS9YL8VC14FxMljrIaPHB90FZ8Lgck= Original-Received: from linux.local (ppp-93-104-139-87.dynamic.mnet-online.de [93.104.139.87]) by mail.mnet-online.de (Postfix) with ESMTPA id 3XfdHn503vzbbfb; Sun, 14 Oct 2012 11:47:49 +0200 (CEST) Original-Received: by linux.local (Postfix, from userid 501) id 7FFB61E5326; Sun, 14 Oct 2012 11:47:48 +0200 (CEST) X-Yow: ..The TENSION mounts as I MASSAGE your RIGHT ANKLE according to ancient Tibetan ACCOUNTING PROCEDURES..are you NEUROTIC yet?? In-Reply-To: (Peter Dyballa's message of "Sun, 14 Oct 2012 11:21:34 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65584 Archived-At: Peter Dyballa writes: > When I open /ftp:anonymous@ftp.math.s.chiba-u.ac.jp:/emacs and then invoke > ps-spool-buffer-with-faces I get a *PostScript* buffer. When I want to > save it (C-x C-w), GNU Emacs offers in mini-buffer with a prompt: > > Write file: /ftp:anonymous@ftp.math.s.chiba-u.ac.jp:/emacs/ > > which does not seem clever. The *PostScript* buffer is something local, What is so special about this buffer that it wouldn't make sense to store it somewhere remote? > Saving that buffer by adding for example "~/" plus some characters and > hoping that file name completion will handle this, also fails since > GNU Emacs still assumes the "~/" has to be expanded on the remote > system where this user (anonymous) does not exist. This seems to be > another bug, since I can open a file from directory X and type > > C-x C-w ~/ > > and the file name is expanded and the file is saved in my home > directory. Why is TRAMP behaving differently? This is a very useful feature of TRAMP, because it makes it convenient to refer to other directories on the remote host. > Can this deviating behaviour be customised? If you want to refer to a local directory you only need to type an extra slash before the local file name. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."