Timeline for dired: is file under point local or remote?
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 29, 2014 at 3:23 | comment | added | Chris R |
The trick can work without a path; note that it uses buffer-file-name to extract a filename, but you could just as easily pass in a path and use that.
|
|
Sep 28, 2014 at 16:59 | comment | added | paprika | For the case at hand I was looking for a way to determine the "remoteness" of a file before opening it, i.e. there is no buffer associated with it (yet). Still, your trick is pretty neat! | |
Sep 28, 2014 at 14:45 | history | answered | Chris R | CC BY-SA 3.0 |