unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Douglas Lewan <d.lewan2000@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: emacs-devel@gnu.org
Subject: Re: cpio-mode
Date: Fri, 2 Feb 2018 10:47:54 -0500	[thread overview]
Message-ID: <CAAn-m8AJ7+v-Z-pzxo4tYY7G3_RSd4Jpi21DxxKBeV9bySEXAg@mail.gmail.com> (raw)
In-Reply-To: <87tvuzh597.fsf@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 2971 bytes --]

Michael,

First: Oh, my! I've been reading about a missing cpio mode in the emacs
TODO file for years, I'd sort of assumed that there was little work on it.
(I do admit that when I'd last joined this list, I did receive a few
attempts to start such a project.)

Your work sounds similar to mine. Indeed, my goal is to write something
like a dired front end to all the cpio formats, with relatively easy
extensibility to others. This should include editing, adding and deleting
archive members. That's turned out to be a little more than I was
expecting. Once I started looking more closely, dired is much larger that I
was expecting.

FYI The design is coarsely given in this diagram.

;; +----------------------+   +-------------+   +-------------+
;; | Format specific code |   |             |   |             |
;; | +---------------+    |   |             |   |             |
;; | | cpio-bin      |    |   |             |   |             |
;; | | +--------------+   |   |    CPIO     |   | dired-like  |
;; | +-|cpio-crc      |   |<->|    Logic    |<->|     UI      |
;; |   | +-------------+  |   |             |   |             |
;; |   +-| hpbin       |  |   |             |   |             |
;; |     | +------------+ |   |             |   |             |
;; |     +-| ···        | |   |             |   |             |
;; |       +------------+ |   |             |   |             |
;; +----------------------+   +-------------+   +-------------+
;;             Λ                     Λ                 Λ
;;             |                     |                 |
;;             V                     V                 V
;; +----------------------------------------------------------+
;; | generic code                                             |
;; |          +------------+ +--------------+ +-----+         |
;; |          | cpio-modes | | cpio-generic | | ··· |         |
;; |          +------------+ +--------------+ +-----+         |
;; +----------------------------------------------------------+

Could you point me to your code? Thanks.


On Fri, Feb 2, 2018 at 8:48 AM, Michael Albinus <michael.albinus@gmx.de>
wrote:

> Douglas Lewan <d.lewan2000@gmail.com> writes:
>
> > All,
>
> Hi Doug,
>
> > Two or three years ago I joined this mailing list and announced that I
> > wanted to write a cpio mode for emacs.
> >
> > Well, after various surprising events and mishaps I'm back, and expect
> > to have something worth showing soon.
>
> Time passes, and I have committed tramp-archive.el to Emacs' master
> branch, which supports also cpio archives (read-only for now). See
> <http://lists.gnu.org/archive/html/emacs-devel/2017-12/msg00263.html>.
>
> Could you pls compare this with your work?
>
> > Thanks.
>
> Best regards, Michael.
>



-- 
,Doug
Douglas Lewan
(908) 720-7908
What one programmer can do in one month, two programmers can do in two
months. -- Fred Brooks

[-- Attachment #2: Type: text/html, Size: 5237 bytes --]

  reply	other threads:[~2018-02-02 15:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-02  4:14 cpio-mode Douglas Lewan
2018-02-02 13:48 ` cpio-mode Michael Albinus
2018-02-02 15:47   ` Douglas Lewan [this message]
2018-02-02 16:30     ` cpio-mode Michael Albinus

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAn-m8AJ7+v-Z-pzxo4tYY7G3_RSd4Jpi21DxxKBeV9bySEXAg@mail.gmail.com \
    --to=d.lewan2000@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=michael.albinus@gmx.de \
    /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 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).