unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* File name handler for archive files
@ 2017-12-09 14:40 Michael Albinus
  2017-12-09 15:37 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Albinus @ 2017-12-09 14:40 UTC (permalink / raw)
  To: emacs-devel, tramp-devel

Hi,

it has been requested from time to time in the Emacs ML, so I gave it a
try. With commit d338325c2b to the Emacs master repository, I've
implemented file name handlers for archive files.

Given you have a file /path/to/archive.tar, you can open this now via
"C-x C-f /path/to/archive.tar/" in dired mode, seeing all contained
files. Note the trailing slash. Opening "C-x C-f
/path/to/archive.tar/file" opens a file in that archive.

Since the implementation uses Tramp's archive method of tramp-gvfs.el,
this works only on machines which run GVFS. Roughly spoken, on GNU/Linux
machines.

It doesn't work for tar archives only, but also for many other archive
formats. And for compressed archives. And for archives located an a
remote host. And for archives inside archives.

Read (info "(tramp) Archive file names") for the details. As usual,
feedback much appreciated!

Best regards, Michael.

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

* Re: File name handler for archive files
  2017-12-09 14:40 File name handler for archive files Michael Albinus
@ 2017-12-09 15:37 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2017-12-09 15:37 UTC (permalink / raw)
  To: Michael Albinus; +Cc: tramp-devel, emacs-devel

> From: Michael Albinus <michael.albinus@gmx.de>
> Date: Sat, 09 Dec 2017 15:40:37 +0100
> 
> it has been requested from time to time in the Emacs ML, so I gave it a
> try. With commit d338325c2b to the Emacs master repository, I've
> implemented file name handlers for archive files.

Thanks!



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

end of thread, other threads:[~2017-12-09 15:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-09 14:40 File name handler for archive files Michael Albinus
2017-12-09 15:37 ` Eli Zaretskii

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).