From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Douglas Lewan Newsgroups: gmane.emacs.devel Subject: Re: cpio-mode version 0.08 Date: Tue, 5 Jun 2018 10:38:48 +0000 Message-ID: References: <87d0x63r58.fsf@tromey.com> <87o9gpww28.fsf@gmx.de> <87efhlh8kb.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d71d85056de2a735" X-Trace: blaine.gmane.org 1528195011 31043 195.159.176.226 (5 Jun 2018 10:36:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 5 Jun 2018 10:36:51 +0000 (UTC) Cc: Tom Tromey , emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 05 12:36:47 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQ9KY-0007zu-Nf for ged-emacs-devel@m.gmane.org; Tue, 05 Jun 2018 12:36:46 +0200 Original-Received: from localhost ([::1]:45560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQ9Mf-0004zJ-Qn for ged-emacs-devel@m.gmane.org; Tue, 05 Jun 2018 06:38:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQ9MZ-0004zC-Jg for emacs-devel@gnu.org; Tue, 05 Jun 2018 06:38:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQ9MY-0005iS-Jy for emacs-devel@gnu.org; Tue, 05 Jun 2018 06:38:51 -0400 Original-Received: from mail-ot0-x22e.google.com ([2607:f8b0:4003:c0f::22e]:40461) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fQ9MY-0005i2-Dh for emacs-devel@gnu.org; Tue, 05 Jun 2018 06:38:50 -0400 Original-Received: by mail-ot0-x22e.google.com with SMTP id n1-v6so2183567otf.7 for ; Tue, 05 Jun 2018 03:38:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5Yf1q0hzsbGCcW+JLSdVtBGIReHlGm+zlcP/oy24u7Y=; b=aUaxtc/jRgtGE5BrhPHpFzMxttwfUtKF3MMoHfnzQLDC7FIx0TWnWdB6nEBnDouvNf n6gXSz1FZbuIdu5AwYBdkTwSV4AkSEdUY3zfWajGARwfSGZpofa6XwLxSTTKRMMjTez7 ZSbhR9qwW+hYWFpFs3p98FppwivwPnz2RdkiJhBUqmS1EUCIcg77X1JUvHjZCDVMzzi1 gh+LvUucF9ITjY/x6nSIbwm5YRvNjhPLjl/vhlLnAMFX++lxQMyt7ha6El1fMbTlsQDx fhA+kyX0xJ83MV/g3v3IjzWvin148Rc84ypsFIWK2pJcxO7JWLt8hVc5WUxMTCgiDNFk gBkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5Yf1q0hzsbGCcW+JLSdVtBGIReHlGm+zlcP/oy24u7Y=; b=VFOE5aFsPlJpRv3abOjcONKMbpsRqUPDt6f2apiHUZBVId4Di4Nt55BRzi7M+969rb TFK/qVVj6BXhXo8NcrcVXcO+Ufo/TiqNDmrtufcfU4y+FUkMa7UCX5RI034UHSJg/DnT aa8lmiYGzQwRedq3lHvYXq0lBpTsD7H0Pgx8p1JssvBVFxy142LDkFv+vz4wZBRHndFJ /yiKcUc3JNOadw6DO1qWtKgdU7wQIxUB5jro/Im6LYX1KQd0s28xH8KV5c6vZtuOeVXc RwqHRUx8FQZUFno0GifAucEnkusiHA9ln6BSLfCYW1svm5iivWiYXnDj+oV8lJJgQ3E5 2EPw== X-Gm-Message-State: APt69E2kbYrdlEyqLf4IlFr8TkW/qdx1l9hyLYal0TE0C/buB2P5A43d 3hDr7oCMjtdmiG7uTSqtnUcuW3g00GkmQJV6fg== X-Google-Smtp-Source: ADUXVKKGlx1iRivhtpfI8BevSmSe/Jm0brUjBw/q9teJXCE6wPPBTXE8rbxU52+HJVL3+nYrn1oXb1C4VF8murHokeA= X-Received: by 2002:a9d:2fda:: with SMTP id b26-v6mr16181492otd.177.1528195129481; Tue, 05 Jun 2018 03:38:49 -0700 (PDT) Original-Received: by 2002:a4a:c619:0:0:0:0:0 with HTTP; Tue, 5 Jun 2018 03:38:48 -0700 (PDT) In-Reply-To: <87efhlh8kb.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c0f::22e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:226028 Archived-At: --000000000000d71d85056de2a735 Content-Type: text/plain; charset="UTF-8" Michael, Thanks for the pointers. I'll have a look when I get a few minutes. On Tue, Jun 5, 2018 at 9:44 AM, Michael Albinus wrote: > Douglas Lewan writes: > > Hi Doug, > > > 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. > > Thanks for the offer. At first step, you might just try the > tramp-archive solution, and provide feedback about usability (nobody did > so far). Just open a file like "/path/to/file.cpio/", and play with > it. The point is the trailing slash. You could open even compressed > archives, like ".../file.cpio.gz/". > > For knowing libarchive and binding Lisp to a C library ... all of this I > didn't know either when starting to contribute to Emacs. I've learned it > by doing, which seems the only way to do it :-) > > > 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. > > I have written test/lisp/net/tramp-archive-tests.el for such > purposes. Maybe you can steal some ideas or code from there ... > > And of course, you could ask me whatever you want about. > > > Thanks. > > Best regards, Michael. > -- ,Doug Douglas Lewan (908) 720-7908 Member of the PKRA. --000000000000d71d85056de2a735 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Michael,

Thanks for the pointers. I'= ll have a look when I get a few minutes.

On Tue, Jun 5, 2018 at 9:44 AM, Michael Al= binus <michael.albinus@gmx.de> wrote:
Douglas Lewan <d.lewan2000@gmail.com> writes:

Hi Doug,

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

Thanks for the offer. At first step, you might just try the
tramp-archive solution, and provide feedback about usability (nobody did so far). Just open a file like "/path/to/file.cpio/", and play wi= th
it. The point is the trailing slash. You could open even compressed
archives, like ".../file.cpio.gz/".

For knowing libarchive and binding Lisp to a C library ... all of this I didn't know either when starting to contribute to Emacs. I've learn= ed it
by doing, which seems the only way to do it :-)

> In the meantime, cpio-mode looks usable now for the archives it
> supports.=C2=A0 What remains is testing and polish. I would very much<= br> > appreciate testing from anyone who can help with it.

I have written test/lisp/net/tramp-archive-tests.el for such purposes. Maybe you can steal some ideas or code from there ...

And of course, you could ask me whatever you want about.

> Thanks.

Best regards, Michael.



--
,Doug
Douglas Lewan
(908) 720-7908
M= ember of the PKRA.
--000000000000d71d85056de2a735--