From: Douglas Lewan <d.lewan2000@gmail.com>
To: emacs-devel@gnu.org
Subject: Fwd: cpio-mode version 0.08
Date: Tue, 5 Jun 2018 09:21:53 +0000 [thread overview]
Message-ID: <CAAn-m8DB-CbO3avym4OF-uf5b7WEtRNukCQwKdifyf359Q_47w@mail.gmail.com> (raw)
In-Reply-To: <CAAn-m8DAgo-xdoOL_DKkojQ0Bvn4ZvVKEG9FfMpmhnNeH+qvvw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1633 bytes --]
On Tue, Jun 5, 2018 at 7:07 AM, Michael Albinus <michael.albinus@gmx.de>
wrote:
> Tom Tromey <tom@tromey.com> writes:
>
> Hi Tom,
>
> > It would be cool to have a cpio (and other archive type) file name
> > handler, so that dired could just be reused rather than reimplemented.
> > I realize this is possible with Tramp+GVFS now, but a pure elisp
> > implementation would be even better.
>
> ... and harder. Tramp uses GVFS only as transition layer, because it
> offers an API for libarchive(3). Switching to a direct access of the
> libarchive C API would have advantages:
>
> * Not bound to GVFS anymore, available on other platforms therefore.
> * Not bound to the restrictions GVFS has taken to libarchive, like no
> support for writing into archives, missing proper file attributes, etc.
>
> I have been lazy so far, because Tramp knows already the GVFS API, and
> it was easy to add this support. But if there are heavy demands for
> change, I could consider to switch to libarchive.
>
> A pure Lisp implementation is wasted work, I believe. Look at the list
> of file formats libarchive supports. (info "(tramp) Archive file names")
>
> > Tom
>
> Best regards, Michael.
>
Indeed. I'd be more than happy to surrender to work to someone
who can provide a simpler implementation. I don't happen to know GVFS or
libarchive
or the question of how to bind lisp to a C library.
In the meantime, cpio-mode looks usable now for the archives it supports.
What remains is testing and polish. I would very much appreciate testing
from anyone who can help with it.
Thanks.
--
,Doug
Douglas Lewan
(908) 720-7908
Member of the PKRA.
[-- Attachment #2: Type: text/html, Size: 2770 bytes --]
next prev parent reply other threads:[~2018-06-05 9:21 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-04 18:36 cpio-mode version 0.08 Douglas Lewan
2018-06-05 2:26 ` Tom Tromey
2018-06-05 7:07 ` Michael Albinus
2018-06-05 9:20 ` Douglas Lewan
2018-06-05 9:21 ` Douglas Lewan [this message]
2018-06-05 9:44 ` Michael Albinus
2018-06-05 10:38 ` Douglas Lewan
2018-06-05 15:55 ` Douglas Lewan
2018-06-05 16:10 ` Michael Albinus
2018-06-05 18:57 ` Douglas Lewan
2018-06-05 19:14 ` Robert Pluim
2018-06-05 19:30 ` Michael Albinus
2018-06-05 19:45 ` Douglas Lewan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAAn-m8DB-CbO3avym4OF-uf5b7WEtRNukCQwKdifyf359Q_47w@mail.gmail.com \
--to=d.lewan2000@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.