all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Douglas Lewan <d.lewan2000@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Tom Tromey <tom@tromey.com>, emacs-devel@gnu.org
Subject: Re: cpio-mode version 0.08
Date: Tue, 5 Jun 2018 18:57:56 +0000	[thread overview]
Message-ID: <CAAn-m8DWGz-dB566T04Pf+vFMXHcimUm5nXyW+JZ63jB2570Cw@mail.gmail.com> (raw)
In-Reply-To: <87wovdi584.fsf@gmx.de>

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

On Tue, Jun 5, 2018 at 4:10 PM, Michael Albinus <michael.albinus@gmx.de>
wrote:

> Douglas Lewan <d.lewan2000@gmail.com> writes:
>
> > Michael,
>
> Hi Doug,
>
> > So far, I've downloaded source for emacs 26.1 and built it
> > (in a somewhat hobbled development environment -- no X development,
> > no image support, without gnutls).
> > I've loaded tramp and url-tramp and opened test files (with names
> > ending in '.cpio).
> > All I get is "File not found and directory is write-protected".
> >
> > I assume I'm missing something. Can you help?
>
> tramp-archive.el is new in Emacs 27 and Tramp 2.4. So you might use
> latest sources from either Emacs or Tramp repository.
>

Forgive me, but I don't know where the latest sources are.
People write of them, but don't give explicit references.


> > Also, a quick look suggests that libarchive may not be universally
> > available.  I'm a big fan of portability, if it's possible, so, if
> > that's the case, then I might prefer to avoid it. Any thoughts?
>
> Yes, that's a problem. Maybe we could do something like Emacs does for
> dired. Where applicable, it uses the external "ls" command, otherwise it
> uses the ls-lisp library.
>
> This means, we should use an Elisp implementation (like your cpio code)
> on systems which have no libarchive(3) support, for the cost of
> supporting less archive formats. The upper interface would still be a
> file name handler like tramp-archive provides as of today; all other
> packages using this wouldn't care the underlying implementation.
>

Seems reasonable. This would probably be a late addition for my cpio-mode,
but I'm more than willing to do it.
Does your tramp code allow for editing of archive entries and their
attributes?
That would be a necessary piece of guaranteeing a consistent user
experience.



-- 
,Doug
Douglas Lewan
(908) 720-7908
Member of the PKRA.

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

  reply	other threads:[~2018-06-05 18:57 UTC|newest]

Thread overview: 14+ 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       ` Fwd: " Douglas Lewan
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 [this message]
2018-06-05 19:14                 ` Robert Pluim
2018-06-05 19:30                 ` Michael Albinus
2018-06-05 19:45                   ` Douglas Lewan
  -- strict thread matches above, loose matches on Subject: below --
2018-06-09  6:20 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-m8DWGz-dB566T04Pf+vFMXHcimUm5nXyW+JZ63jB2570Cw@mail.gmail.com \
    --to=d.lewan2000@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=michael.albinus@gmx.de \
    --cc=tom@tromey.com \
    /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.