GNU bug report logs - #45036
Add archive-copy, just like dired-do-copy

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Fri, 4 Dec 2020 01:26:02 UTC

Severity: wishlist

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 45036 in the body.
You can then email your comments to 45036 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#45036; Package emacs. (Fri, 04 Dec 2020 01:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 04 Dec 2020 01:26:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Add archive-copy, just like dired-do-copy
Date: Fri, 04 Dec 2020 08:32:17 +0800
"Zip-Archive mode defined in ‘arc-mode.el’:
Major mode for viewing an archive file in a dired-like way."

That's great, but how about letting "C" copy a file, like in dired.

I mean what's the big deal? We just want to copy it to /tmp, ~, etc.

Sure, raise some alarm if we want to copy it to some place _within the
archive_. But hey, you let us view a file with v, so why not copy with C?

Wait, there's

5 matches for "extract" in buffer: *Help*
     22:e .. f		archive-extract
     25:RET		archive-extract
     35:E		archive-extract-other-window
     45:o		archive-extract-other-window
     56:<mouse-2>	archive-extract

Must be important. Let's have a look.

"In archive mode, extract this entry of the archive into its own buffer."

I don't want to get tangled up (editing?) in the archive.
I don't want to even look at the file's contents.
I just want to copy it somewhere far far away (but still on the local
machine.)

So please add archive-copy or archive-copy-file, that, just like
dired-do-copy, preserves the date.

There I am, looking at

M Filemode      Length  Date         Time      File
- ----------  --------  -----------  --------  -----------------
  -rw-rw-rw-     30933   3-Dec-2020  12:04:16  doc.kml
  -rw-rw-rw-       481   3-Dec-2020  12:04:16  images/icon-1.png
  -rw-rw-rw-       478   3-Dec-2020  12:04:16  images/icon-2.png
  -rw-rw-rw-      1026   3-Dec-2020  12:04:16  images/icon-3.png
- ----------  --------  -----------  --------  -----------------
                 32918                         4 files

with the cursor on doc.kml .

OK, "C" should allow me to copy doc.kml to e.g., /tmp/doc.kml .

emacs-version "27.1"




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Fri, 04 Dec 2020 08:22:01 GMT) Full text and rfc822 format available.

Notification sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
bug acknowledged by developer. (Fri, 04 Dec 2020 08:22:01 GMT) Full text and rfc822 format available.

Message #10 received at 45036-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 45036-done <at> debbugs.gnu.org
Subject: Re: bug#45036: Add archive-copy, just like dired-do-copy
Date: Fri, 04 Dec 2020 10:21:29 +0200
> From: 積丹尼 Dan Jacobson
>  <jidanni <at> jidanni.org>
> Date: Fri, 04 Dec 2020 08:32:17 +0800
> 
> "Zip-Archive mode defined in ‘arc-mode.el’:
> Major mode for viewing an archive file in a dired-like way."
> 
> That's great, but how about letting "C" copy a file, like in dired.

This is already implemented for Emacs 28.

So I'm closing this bug report.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 01 Jan 2021 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 171 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.