unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Remove the magic portion of a remote file name
@ 2014-04-16 13:38 Bozhidar Batsov
  2014-04-16 14:11 ` Michael Albinus
  0 siblings, 1 reply; 3+ messages in thread
From: Bozhidar Batsov @ 2014-04-16 13:38 UTC (permalink / raw
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

Hi guys,  

I wonder what's the authoritative way to obtain the local file name portion
of a remote file name? I’m looking for a function that would turn
"/ssh:root@192.168.1.1:/some/path/file" into "/some/path/file". I
know of `tramp-dissect-file-name', but I wonder if there's a better way, that doesn’t involve requiring tramp.


Perhaps there’s no such function and we can add one.  

--  
Cheers,
Bozhidar


[-- Attachment #2: Type: text/html, Size: 774 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-16 14:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-16 13:38 Remove the magic portion of a remote file name Bozhidar Batsov
2014-04-16 14:11 ` Michael Albinus
2014-04-16 14:52   ` Bozhidar Batsov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).