[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#34221: [PATCH] Make project-files work with remote files
From: |
Michael Albinus |
Subject: |
bug#34221: [PATCH] Make project-files work with remote files |
Date: |
Fri, 01 Feb 2019 09:14:45 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Dmitry Gutov <dgutov@yandex.ru> writes:
Hi Dmitry,
> Aside from that, '(concat remote-id file)' looks a bit iffy to me, but
> since you approved it, it must be fine.
It's according to the docs. remote-id is the result of a file-remote-p
call, which says in its docstring
--8<---------------cut here---------------start------------->8---
Tip: You can use this expansion of remote identifier components
to derive a new remote file name from an existing one. For
example, if FILE is "/sudo::/path/to/file" then
(concat (file-remote-p FILE) "/bin/sh")
returns a remote file name for file "/bin/sh" that has the
same remote identifier as FILE but expanded; a name such as
"/sudo:root@myhost:/bin/sh".
--8<---------------cut here---------------end--------------->8---
Best regards, Michael.
- bug#34221: [PATCH] Make project-files work with remote files,
Michael Albinus <=
- bug#34221: [PATCH] Make project-files work with remote files, Dmitry Gutov, 2019/02/01
- bug#34221: [PATCH] Make project-files work with remote files, Felicián Németh, 2019/02/02
- bug#34221: [PATCH] Make project-files work with remote files, Michael Albinus, 2019/02/02
- bug#34221: [PATCH] Make project-files work with remote files, Felicián Németh, 2019/02/02
- bug#34221: [PATCH] Make project-files work with remote files, Dmitry Gutov, 2019/02/02
- bug#34221: [PATCH] Make project-files work with remote files, Michael Albinus, 2019/02/02
- bug#34221: [PATCH] Make project-files work with remote files, Dmitry Gutov, 2019/02/07
- bug#34221: [PATCH] Make project-files work with remote files, Michael Albinus, 2019/02/07
- bug#34221: [PATCH] Make project-files work with remote files, Michael Albinus, 2019/02/02