Re: [Feature Request] Using Tramp to transparently edit files in zip/tarball/cpio/hddimage etc.

2016-10-03 Thread Michael Albinus
"Tim O'Callaghan"  writes:

> Hi,

H Tim,

> I want to be able to keep a set of files in an encrypted archive file
> (such as a password protected zip) and work on them in emacs as if
> they were a remote filesystem. I thought of tramp as being the natural
> mechanism for this.
> If i take the concept further, being able to work with other password
> protected archive formats in the same way would also be great.

This idea has been expressed already. Stefan Monnier, the former Emacs
maintainer, said a while ago, that he would like to replace tar-mode by
something which uses the file handler approach.

One possibility would be to implement something like tramp-archive.el
from scratch.

Another alternative could be to use the support of the "archive" backend
in GVS. This would succeed with much less implementation effort, but
OTOH it would be usable only under GNU/Linux.

> best regards,
>
> Tim.

Best regards, Michael.

___
Tramp-devel mailing list
Tramp-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/tramp-devel


Re: [Feature Request] Using Tramp to transparently edit files in zip/tarball/cpio/hddimage etc.

2016-10-03 Thread Tim O'Callaghan
Hi,

I knew about archive mode already, but there are some major issues
with this approach.

1- It does not deal with password protected zip files.

2- It does not treat the zipfile like a filesystem, so other tools
don't work well with it. My thinking was more along tramp vfs lines
like here:
https://commons.apache.org/proper/commons-vfs/filesystems.html

3- tramp URI's work better when referring to a file inside an archive
somewhere, especially on a remote server. could not confirm how to do
this in archive-mode.

Tim.


On 3 October 2016 at 14:16, yary  wrote:
> There is archive-mode for editing inside archives
>
> https://www.emacswiki.org/emacs/ArchiveMode
>
> It supports editing inside zip, and zip supports encryption, so what
> you want may already work!
>
> -y

___
Tramp-devel mailing list
Tramp-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/tramp-devel


Re: [Feature Request] Using Tramp to transparently edit files in zip/tarball/cpio/hddimage etc.

2016-10-03 Thread yary
There is archive-mode for editing inside archives

https://www.emacswiki.org/emacs/ArchiveMode

It supports editing inside zip, and zip supports encryption, so what
you want may already work!

-y

___
Tramp-devel mailing list
Tramp-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/tramp-devel


[Feature Request] Using Tramp to transparently edit files in zip/tarball/cpio/hddimage etc.

2016-10-03 Thread Tim O'Callaghan
Hi,

I want to be able to keep a set of files in an encrypted archive file
(such as a password protected zip) and work on them in emacs as if
they were a remote filesystem. I thought of tramp as being the natural
mechanism for this.
If i take the concept further, being able to work with other password
protected archive formats in the same way would also be great.

best regards,

Tim.

___
Tramp-devel mailing list
Tramp-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/tramp-devel