From: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
To: 45036@debbugs.gnu.org
Subject: bug#45036: Add archive-copy, just like dired-do-copy
Date: Fri, 04 Dec 2020 08:32:17 +0800 [thread overview]
Message-ID: <87im9i5s32.5.fsf@jidanni.org> (raw)
"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"
next reply other threads:[~2020-12-04 0:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-04 0:32 積丹尼 Dan Jacobson [this message]
2020-12-04 8:21 ` bug#45036: Add archive-copy, just like dired-do-copy Eli Zaretskii
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=87im9i5s32.5.fsf@jidanni.org \
--to=jidanni@jidanni.org \
--cc=45036@debbugs.gnu.org \
/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.