From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.help Subject: Re: Saving a remote buffer into a local file Date: Tue, 24 Jan 2017 10:37:23 +0100 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1485268758 6453 195.159.176.226 (24 Jan 2017 14:39:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 24 Jan 2017 14:39:18 +0000 (UTC) To: "help-gnu-emacs@gnu.org list" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 24 15:39:14 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cW2FP-0000BM-Ld for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Jan 2017 15:38:59 +0100 Original-Received: from localhost ([::1]:50384 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cW2FU-0008ED-Sg for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Jan 2017 09:39:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVxXb-0003qN-4S for help-gnu-emacs@gnu.org; Tue, 24 Jan 2017 04:37:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVxXa-00005N-Do for help-gnu-emacs@gnu.org; Tue, 24 Jan 2017 04:37:27 -0500 Original-Received: from mail-lf0-x22c.google.com ([2a00:1450:4010:c07::22c]:36257) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cVxXa-0008Ul-6S for help-gnu-emacs@gnu.org; Tue, 24 Jan 2017 04:37:26 -0500 Original-Received: by mail-lf0-x22c.google.com with SMTP id z134so107590753lff.3 for ; Tue, 24 Jan 2017 01:37:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=+IgsO5NcEfUgGaYUr27aFGU774df7SWSlLDtInWys/0=; b=fdnB5b2anSvlZnpUfoHFRfZEGLZpqRuzJv8X5Bql0CBHAiXSn2afludWJUsHcrY+vc /Seg4PkaPb0DwA1lT49rnJTY3CwXbvOXba/cZE2G9hguluzneZ2lGDVlaXI2DNzcY24H h5/VyxrcfQ5phBWu3zrRJBWvLRgPyG0PeHr5T+ACSyZul5tfFn462GVGsfK6a6dKQLid BB9oa+XxrWHw2t3naA/p+BFctiFsaqP1UEyrSG6iBsOeqJQHI4jYZ/RHkQoiJkJGCyQe nZRcltKuX6umZ1LB6hBJgr4HufWD/xss4vZZRLsAdEm/yAQAG8qyK9Gedz8A5G3a3tVi Qxrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=+IgsO5NcEfUgGaYUr27aFGU774df7SWSlLDtInWys/0=; b=rkAsfa2IV9u7BR9cUEIiaZxmgOjqER3doDGjhupHW8zvNxNeAANnchCKodPZLSgwRu 9qPEKlhV7Kb6LuJa/Yi4t/5aSq0421Q7JCUI+D/enZInQikdSASmi8M+qaTMiirGaBc/ Xi1o+2HJHflZj9K+gTNHNlr3vanzWEnobUDSvZckJHPv00gNMDOy2Mguq1yGdmD6CFf4 LcbWhRnjIyKonXNc4+PELfgvmUs3VGKb1SJYzTgftzJzYbh4hScMNVjAOVabQu3T2aXL RYuTAVLymqwl92l7iVUeEWUA7xAwMRmyn5bneeCaLxhueNXL8P/dU0rxldXdSGXO865T a8kg== X-Gm-Message-State: AIkVDXI4r/7E1HECWnvx7YvX7NOMJ8S2stTVipidc5VLRtn1kd0Pw+mHtrGzjh9sKkSUdJesAjvKGSbRt3ydAw== X-Received: by 10.25.155.11 with SMTP id d11mr11282346lfe.110.1485250644329; Tue, 24 Jan 2017 01:37:24 -0800 (PST) Original-Received: by 10.25.24.194 with HTTP; Tue, 24 Jan 2017 01:37:23 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::22c X-Mailman-Approved-At: Tue, 24 Jan 2017 09:35:21 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112151 Archived-At: > I think it would be nice to have some special syntax, so that I can > specify a path in my local host (and avoid the cumbersome > "/localuser@localhost:/localpath"). > > Is there such a syntax? Answering myself: Yes, it seems so: Just quote the local path with "/:": C-x C-w /:~/file2 This feature is documented in the Emacs manual. Node "Quoted File Names". Thanks. -- Dani Moncayo