* ediff-{tar,zip}-files?
@ 2019-01-08 18:50 Skip Montanaro
2019-01-08 19:51 ` ediff-{tar,zip}-files? Douglas Lewan
2019-01-08 20:13 ` ediff-{tar,zip}-files? Michael Albinus
0 siblings, 2 replies; 6+ messages in thread
From: Skip Montanaro @ 2019-01-08 18:50 UTC (permalink / raw)
To: Help GNU Emacs
Is there an add-on for ediff which allows it to treat archives like
tarfiles or zip archives as if they were directories? I suspect Emacs
has most of the groundwork already laid, as if you visit such a file
it brings up a listing of said archive. Kind of smash that
functionality together with ediff-directories? I checked the package
manager, did some web searching, and poked around the EmacsWiki a bit,
but found nothing obvious.
I can't be the only person who has ever needed this. In fact, outside
of Emacs, I've written a couple versions of "tar diff" in the past
(expand both archives into tmp dirs, run ediff -ru | less on them,
remove on exit). While that's workable, the ediff interface would be
so much nicer than just picking through diff -u output manually.
Thx,
Skip
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ediff-{tar,zip}-files?
2019-01-08 18:50 ediff-{tar,zip}-files? Skip Montanaro
@ 2019-01-08 19:51 ` Douglas Lewan
2019-01-08 20:13 ` ediff-{tar,zip}-files? Michael Albinus
1 sibling, 0 replies; 6+ messages in thread
From: Douglas Lewan @ 2019-01-08 19:51 UTC (permalink / raw)
To: help-gnu-emacs
On 01/08/2019 01:50 PM, Skip Montanaro wrote:
> Is there an add-on for ediff which allows it to treat archives like
> tarfiles or zip archives as if they were directories? I suspect Emacs
> has most of the groundwork already laid, as if you visit such a file
> it brings up a listing of said archive. Kind of smash that
Treating cpio archives like file systems is one goal of mine. Granted,
my idea is much simpler, but if I can find a solution, I would bet a
similar model would work for other archive modes.Unifying them would be
a much larger issue.
> I can't be the only person who has ever needed this. In fact, outside
> of Emacs,
--
,Doug
Douglas Lewan
+1 (908) 720-7908
Give me "assloads of config" over "some other person thought they could decide what I like" any day. - Szmo, on reddit, 2017 Sep 05
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ediff-{tar,zip}-files?
2019-01-08 18:50 ediff-{tar,zip}-files? Skip Montanaro
2019-01-08 19:51 ` ediff-{tar,zip}-files? Douglas Lewan
@ 2019-01-08 20:13 ` Michael Albinus
2019-01-08 21:01 ` ediff-{tar,zip}-files? Skip Montanaro
1 sibling, 1 reply; 6+ messages in thread
From: Michael Albinus @ 2019-01-08 20:13 UTC (permalink / raw)
To: Skip Montanaro; +Cc: Help GNU Emacs
Skip Montanaro <skip.montanaro@gmail.com> writes:
Hi Skip,
> Is there an add-on for ediff which allows it to treat archives like
> tarfiles or zip archives as if they were directories? I suspect Emacs
> has most of the groundwork already laid, as if you visit such a file
> it brings up a listing of said archive. Kind of smash that
> functionality together with ediff-directories? I checked the package
> manager, did some web searching, and poked around the EmacsWiki a bit,
> but found nothing obvious.
It is supported in Emacs 27.0.50 / Tramp 2.4.1. See
<https://www.gnu.org/software/tramp/#Archive-file-names>. It discusses
also an ediff example.
> Thx,
>
> Skip
Best regards, Michael.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ediff-{tar,zip}-files?
2019-01-08 20:13 ` ediff-{tar,zip}-files? Michael Albinus
@ 2019-01-08 21:01 ` Skip Montanaro
2019-01-09 8:04 ` ediff-{tar,zip}-files? Michael Albinus
0 siblings, 1 reply; 6+ messages in thread
From: Skip Montanaro @ 2019-01-08 21:01 UTC (permalink / raw)
To: Michael Albinus; +Cc: Help GNU Emacs
> It is supported in Emacs 27.0.50 / Tramp 2.4.1. See
> <https://www.gnu.org/software/tramp/#Archive-file-names>. It discusses
> also an ediff example.
Thanks, Michael. Looks like I just need to wait for a newer version of
Emacs to pop up here at work. :-)
Skip
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ediff-{tar,zip}-files?
2019-01-08 21:01 ` ediff-{tar,zip}-files? Skip Montanaro
@ 2019-01-09 8:04 ` Michael Albinus
2019-01-09 12:27 ` ediff-{tar,zip}-files? Skip Montanaro
0 siblings, 1 reply; 6+ messages in thread
From: Michael Albinus @ 2019-01-09 8:04 UTC (permalink / raw)
To: Skip Montanaro; +Cc: Help GNU Emacs
Skip Montanaro <skip.montanaro@gmail.com> writes:
Hi Skip,
>> It is supported in Emacs 27.0.50 / Tramp 2.4.1. See
>> <https://www.gnu.org/software/tramp/#Archive-file-names>. It discusses
>> also an ediff example.
>
> Thanks, Michael. Looks like I just need to wait for a newer version of
> Emacs to pop up here at work. :-)
You can install Tramp 2.4.1, <https://ftp.gnu.org/gnu/tramp/tramp-2.4.1.tar.gz>
It works with all Emacs versions 24 or later.
> Skip
Best regards, Michael.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ediff-{tar,zip}-files?
2019-01-09 8:04 ` ediff-{tar,zip}-files? Michael Albinus
@ 2019-01-09 12:27 ` Skip Montanaro
0 siblings, 0 replies; 6+ messages in thread
From: Skip Montanaro @ 2019-01-09 12:27 UTC (permalink / raw)
To: Michael Albinus; +Cc: Help GNU Emacs
Oh, cool. I thought your mention of Emacs 27 suggested it was a
requirement. Downloading just Tramp will be a bit easier.
On Wed, Jan 9, 2019, 2:04 AM Michael Albinus <michael.albinus@gmx.de wrote:
> Skip Montanaro <skip.montanaro@gmail.com> writes:
>
> Hi Skip,
>
> >> It is supported in Emacs 27.0.50 / Tramp 2.4.1. See
> >> <https://www.gnu.org/software/tramp/#Archive-file-names>. It discusses
> >> also an ediff example.
> >
> > Thanks, Michael. Looks like I just need to wait for a newer version of
> > Emacs to pop up here at work. :-)
>
> You can install Tramp 2.4.1, <
> https://ftp.gnu.org/gnu/tramp/tramp-2.4.1.tar.gz>
> It works with all Emacs versions 24 or later.
>
> > Skip
>
> Best regards, Michael.
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-01-09 12:27 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-08 18:50 ediff-{tar,zip}-files? Skip Montanaro
2019-01-08 19:51 ` ediff-{tar,zip}-files? Douglas Lewan
2019-01-08 20:13 ` ediff-{tar,zip}-files? Michael Albinus
2019-01-08 21:01 ` ediff-{tar,zip}-files? Skip Montanaro
2019-01-09 8:04 ` ediff-{tar,zip}-files? Michael Albinus
2019-01-09 12:27 ` ediff-{tar,zip}-files? Skip Montanaro
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).