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

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

Re: Saving a remote buffer into a local file


From: Stefan Monnier
Subject: Re: Saving a remote buffer into a local file
Date: Tue, 24 Jan 2017 11:10:06 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

> Suppose I visit some remote file:
>    C-x C-f /ssh:user1@host1:/path1/file1
> Now, I want to save the resulting buffer into a local file.  Doing:
>   C-x C-w ~/file2
> does not work, since in will create a file in the remote host (host1).

It works for me if I add a "C-a C-k":

    C-x C-w C-a C-k ~/file2

Yet, if I do like you suggest, I see a bug: while typing "~/file2" the
leading "/ssh:user1@host1:/path1/" text is greyed out, giving the
incorrect impression that it won't be used.


        Stefan




reply via email to

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