bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12643: 24.2.50; TRAMP and ps-spool functions


From: Andreas Schwab
Subject: bug#12643: 24.2.50; TRAMP and ps-spool functions
Date: Sun, 14 Oct 2012 11:47:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Peter Dyballa <Peter_Dyballa@Freenet.DE> 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 ~/<whatever>
>
> 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."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]