[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [found the culprit]
From: |
Eli Zaretskii |
Subject: |
Re: [found the culprit] |
Date: |
Wed, 14 Nov 2018 21:59:09 +0200 |
> From: Stefan Monnier <address@hidden>
> Date: Wed, 14 Nov 2018 11:39:56 -0500
>
> > I do think that Z on a compressed Tar archive, be it a .tar.gz or .tgz
> > file, should not by default unpack the archive. We could have a
> > special prefix arg to request that, and by default we should just
> > uncompress the file. But that's a different issue.
>
> FWIW, I consider ".tar.gz" (or "tar.lz", ...) as the archive format
> (rather than as a combination of tar and compression): since the tar
> format does not support random access anyway there's very little benefit
> to having it uncompressed (unless the content can't be compressed
> e.g. because it's already compressed).
But then 'Z' shouldn't invoke unpacking, because it is documented as
"uncompress" operation. By unpacking the archive we second-guess the
users, and decide for them that they meant to uncompress a directory
(or several directories), which is just one of two possible
interpretations.
Maybe the solution is to define a new command, "archive", which could
work on one or more files or directories for compression, and remove
the directory compression from what 'Z' does. Then the inverse for
the new command would both decompress and unpack the archive.
- Re: [found the culprit] (was: [emacs -q versus empty .emacs file]), (continued)
- Re: [found the culprit], Stefan Monnier, 2018/11/14
- Re: [found the culprit], Uwe Brauer, 2018/11/14
- RE: [found the culprit], Drew Adams, 2018/11/14
- Re: [found the culprit], Stefan Monnier, 2018/11/14
- RE: [found the culprit], Drew Adams, 2018/11/14
- Re: [found the culprit], Eli Zaretskii, 2018/11/14
- Re: [found the culprit], Stefan Monnier, 2018/11/14
- Re: [found the culprit],
Eli Zaretskii <=
- Re: [found the culprit], Stefan Monnier, 2018/11/14
- Re: [found the culprit], jpff, 2018/11/14
- Re: [found the culprit], Van L, 2018/11/16
- Re: [found the culprit] (was: [emacs -q versus empty .emacs file]), Richard Stallman, 2018/11/15
- Re: [emacs -q versus empty .emacs file] (was: tgz extension and dired-do-compress), Alan Mackenzie, 2018/11/14
- Re: [emacs -q versus empty .emacs file], Uwe Brauer, 2018/11/14