all messages for Emacs-related lists mirrored at yhetil.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.