84
File name handler for archive files
source link: https://lists.gnu.org/archive/html/emacs-devel/2017-12/msg00263.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
File name handler for archive files
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
File name handler for archive files
From: | Michael Albinus |
Subject: | File name handler for archive files |
Date: | Sat, 09 Dec 2017 15:40:37 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) |
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.
reply via email to
[Prev in Thread] | Current Thread | [Next in Thread] |
- File name handler for archive files,
Michael Albinus <=
- Re: File name handler for archive files, Eli Zaretskii, 2017/12/09
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK