From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Stefan Monnier <monnier@iro.umontreal.ca>
Newsgroups: gmane.emacs.devel
Subject: Re: [found the culprit]
Date: Fri, 16 Nov 2018 08:04:15 -0500
Message-ID: <jwvpnv541lc.fsf-monnier+gmane.emacs.devel@gnu.org>
References: <27024.1542249282@alto> <E1gNSQ6-0007XH-6Y@fencepost.gnu.org>
	<d610c2eb-f059-8008-af6d-98009817c5b5@gmail.com>
	<83efbl799z.fsf@gnu.org>
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: blaine.gmane.org 1542373397 7020 195.159.176.226 (16 Nov 2018 13:03:17 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Fri, 16 Nov 2018 13:03:17 +0000 (UTC)
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
To: emacs-devel@gnu.org
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 16 14:03:13 2018
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Envelope-to: ged-emacs-devel@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1gNdm8-0001dE-Nm
	for ged-emacs-devel@m.gmane.org; Fri, 16 Nov 2018 14:03:08 +0100
Original-Received: from localhost ([::1]:44745 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1gNdoF-0003XB-7e
	for ged-emacs-devel@m.gmane.org; Fri, 16 Nov 2018 08:05:19 -0500
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37224)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ged-emacs-devel@m.gmane.org>) id 1gNdnZ-0003X4-EB
	for emacs-devel@gnu.org; Fri, 16 Nov 2018 08:04:40 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ged-emacs-devel@m.gmane.org>) id 1gNdnQ-0006uj-BZ
	for emacs-devel@gnu.org; Fri, 16 Nov 2018 08:04:34 -0500
Original-Received: from [195.159.176.226] (port=34394 helo=blaine.gmane.org)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <ged-emacs-devel@m.gmane.org>)
	id 1gNdnP-0006rA-2r
	for emacs-devel@gnu.org; Fri, 16 Nov 2018 08:04:28 -0500
Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2)
	(envelope-from <ged-emacs-devel@m.gmane.org>) id 1gNdlC-0000SL-TL
	for emacs-devel@gnu.org; Fri, 16 Nov 2018 14:02:10 +0100
X-Injected-Via-Gmane: http://gmane.org/
Original-Lines: 13
Original-X-Complaints-To: usenet@blaine.gmane.org
Cancel-Lock: sha1:IPqMvELWbkZUKrcGF3W2f434Ugo=
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 195.159.176.226
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-devel/>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Original-Sender: "Emacs-devel" <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.devel:231183
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/231183>

> But with .tar.gz files, decompressing and unpacking are two separate
> actions, so there's an ambiguity what Z might mean.  And IMO (and also
> in Richard's, AFAIU), the ambiguity should be resolved in the least
> surprising way.  Having all the files from an archive extracted
> without my explicit permission is a surprise, might even be unpleasant
> surprise.

Could we have a config flag for that, then?  un/packing tar.gz is
the behavior I expect from `Z`, whereas uncompressing tar.gz and
signaling an error on directories is completely useless to me.


        Stefan