[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#34221: [PATCH] Make project-files work with remote files
From: |
Felicián Németh |
Subject: |
bug#34221: [PATCH] Make project-files work with remote files |
Date: |
Sat, 2 Feb 2019 11:16:25 +0100 |
Hi Michael,
[...]
> With this simple body, it might even not needed as function. We would
> have then (untested)
>
> (let ((default-directory dir)
> (remote-id (file-remote-p dir)
>
> ...
>
> (mapcar (lambda (file) (concat remote-id file))
> (split-string (shell-command-to-string command) "\0" t))
>
> WDYT? Do you want to prepare a patch along these lines?
Originally, I wanted to avoid this approach, because mapcar iterates
over the result even if remote-id is nil, but I guess the overhead is
negligible. I've attached the simplified patch.
Thanks,
Felicián
0001-Make-project-files-work-with-remote-files.patch
Description: Text Data
- bug#34221: [PATCH] Make project-files work with remote files, Michael Albinus, 2019/02/01
- 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 <=
- 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