GNU bug report logs - #22935
W32 Binaries should have a top-level directory

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: phillip.lord@HIDDEN (Phillip Lord); dated Mon, 7 Mar 2016 21:14:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 22935 <at> debbugs.gnu.org:


Received: (at 22935) by debbugs.gnu.org; 8 Mar 2016 19:36:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 08 14:36:08 2016
Received: from localhost ([127.0.0.1]:40036 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1adNQO-0007Gt-1F
	for submit <at> debbugs.gnu.org; Tue, 08 Mar 2016 14:36:08 -0500
Received: from cloud103.planethippo.com ([31.216.48.48]:34384)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <phillip.lord@HIDDEN>) id 1adNQN-0007GQ-0O
 for 22935 <at> debbugs.gnu.org; Tue, 08 Mar 2016 14:36:07 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID:
 In-Reply-To:Date:References:Subject:Cc:To:From;
 bh=2rx5u5n3XTrGNRNQAiiC/C4tjsrJIpb6dtsxI9DnF8A=; b=rj4/LDO3FQxvux+oH4T8yJ3j0e
 LnFg8ZZB9ugLT67zqom6DXHdxUQrn0xiPElJJaFqWxs8/wfmNL8cq1XCCu/pTla/TElZKwUMbX0Lj
 e0DF5ZSzQno+cOdWiX1a/Ud4yPe+IVmpRH7XQ9vF3cbkeMY5wXkvEjb1eM9O3WcZbljbIRCP0U7os
 0heDFj0PeiNVrtcT05dlnurZzGyqGq9g6Ft8bqHerdfOb7ZIXlgkPSv/3yu9vIa+pREgJHTXg1taN
 +4Eym1aDZqd2YOJT0uID6LhbcVBsznJo+XwLIZUZ1Ai/yi622xNXeUst4wtfPRPBGnTLXEhRd6J0e
 FC1q6j5A==;
Received: from cpc1-benw10-2-0-cust373.gate.cable.virginm.net
 ([77.98.219.118]:49196 helo=russet.org.uk)
 by cloud103.planethippo.com with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128)
 (Exim 4.86) (envelope-from <phillip.lord@HIDDEN>)
 id 1adNQG-001zad-N9; Tue, 08 Mar 2016 19:36:00 +0000
From: phillip.lord@HIDDEN (Phillip Lord)
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#22935: W32 Binaries should have a top-level directory
References: <87fuw2m1pr.fsf@HIDDEN> <838u1sredr.fsf@HIDDEN>
Date: Tue, 08 Mar 2016 19:35:59 +0000
In-Reply-To: <838u1sredr.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 08 Mar
 2016 20:52:32 +0200")
Message-ID: <87pov4iwyo.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - cloud103.planethippo.com
X-AntiAbuse: Original Domain - debbugs.gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - russet.org.uk
X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id:
 phillip.lord@HIDDEN
X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@HIDDEN
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 22935
Cc: 22935 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: phillip.lord@HIDDEN (Phillip Lord)
>> Date: Mon, 07 Mar 2016 21:12:48 +0000
>> 
>> I would suggest that future Emacs zip files contain a top-level
>> directory with the same name as the zip file, underneath which comes
>> /var, /share, /bin, plus README.W32, plus COPYING. This still makes it
>> easily to install over an existing distribution with a copy command.
>
> I don't quite agree with the last sentence.  There's no 'cp' on
> Windows out of the box, so either people will use XCOPY or the Windows
> Explorer.  Both will by default nag users about overwriting existing
> files in the destination, and not everyone will know how to work
> around that.

Windows explorer is out-of-the-box, and it asks once whether to merge
the contents. I'm not sure how the windows explorer "extract" option
behaves

My own feeling is that most of the people who are worried about a
top-level directory will be power users and will work around the
problem. Probably by using "cp" from cygwin or msys.

> Besides, I think most people will simply leave the files in the
> directory where they were unpacked, and will then have to play with
> their PATH or rename the top-level directory.

I think most people will navigate to "bin", then short-cut
"runemacs.exe" to desktop.

> By contrast, if the zip archive does NOT have a top-level directory,
> it is easy to create one upon unpacking: the 'unzip' command has the
> "-d" switch for that, and unpacking from Explorer will actually
> suggest a separate directory by default.

Using the "-d" switch requires you to name the directory, which is
slightly irritating. And reversing the unpack if you forget is either
irritating (requiring three directory deletes) or very difficult (if you
already have any of the existing directories where you are unpacking.

My own archives without a top-level directory are for package management
systems, not for users. There is a reason archives like this are called
tarbombs.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#22935; Package emacs. Full text available.

Message received at 22935 <at> debbugs.gnu.org:


Received: (at 22935) by debbugs.gnu.org; 8 Mar 2016 18:52:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 08 13:52:35 2016
Received: from localhost ([127.0.0.1]:39990 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1adMkE-0006CA-Sh
	for submit <at> debbugs.gnu.org; Tue, 08 Mar 2016 13:52:35 -0500
Received: from eggs.gnu.org ([208.118.235.92]:43222)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <eliz@HIDDEN>) id 1adMkD-0006By-E1
 for 22935 <at> debbugs.gnu.org; Tue, 08 Mar 2016 13:52:33 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1adMk5-0001kh-3a
 for 22935 <at> debbugs.gnu.org; Tue, 08 Mar 2016 13:52:28 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45544)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1adMk5-0001kd-0p; Tue, 08 Mar 2016 13:52:25 -0500
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3030
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1adMk4-0006io-Eu; Tue, 08 Mar 2016 13:52:24 -0500
Date: Tue, 08 Mar 2016 20:52:32 +0200
Message-Id: <838u1sredr.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: phillip.lord@HIDDEN (Phillip Lord)
In-reply-to: <87fuw2m1pr.fsf@HIDDEN> (phillip.lord@HIDDEN)
Subject: Re: bug#22935: W32 Binaries should have a top-level directory
References: <87fuw2m1pr.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 22935
Cc: 22935 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> From: phillip.lord@HIDDEN (Phillip Lord)
> Date: Mon, 07 Mar 2016 21:12:48 +0000
> 
> I would suggest that future Emacs zip files contain a top-level
> directory with the same name as the zip file, underneath which comes
> /var, /share, /bin, plus README.W32, plus COPYING. This still makes it
> easily to install over an existing distribution with a copy command.

I don't quite agree with the last sentence.  There's no 'cp' on
Windows out of the box, so either people will use XCOPY or the Windows
Explorer.  Both will by default nag users about overwriting existing
files in the destination, and not everyone will know how to work
around that.

Besides, I think most people will simply leave the files in the
directory where they were unpacked, and will then have to play with
their PATH or rename the top-level directory.

By contrast, if the zip archive does NOT have a top-level directory,
it is easy to create one upon unpacking: the 'unzip' command has the
"-d" switch for that, and unpacking from Explorer will actually
suggest a separate directory by default.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#22935; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Mar 2016 21:13:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 07 16:13:04 2016
Received: from localhost ([127.0.0.1]:38401 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ad2Se-0004B2-KS
	for submit <at> debbugs.gnu.org; Mon, 07 Mar 2016 16:13:04 -0500
Received: from eggs.gnu.org ([208.118.235.92]:60495)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <phillip.lord@HIDDEN>) id 1ad2Sc-0004AY-Jg
 for submit <at> debbugs.gnu.org; Mon, 07 Mar 2016 16:13:02 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <phillip.lord@HIDDEN>) id 1ad2SW-00086L-GS
 for submit <at> debbugs.gnu.org; Mon, 07 Mar 2016 16:12:57 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:41563)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <phillip.lord@HIDDEN>) id 1ad2SW-00086H-Du
 for submit <at> debbugs.gnu.org; Mon, 07 Mar 2016 16:12:56 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51445)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <phillip.lord@HIDDEN>) id 1ad2SV-0004w4-Gs
 for bug-gnu-emacs@HIDDEN; Mon, 07 Mar 2016 16:12:56 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <phillip.lord@HIDDEN>) id 1ad2SQ-00084y-Ih
 for bug-gnu-emacs@HIDDEN; Mon, 07 Mar 2016 16:12:55 -0500
Received: from cloud103.planethippo.com ([31.216.48.48]:38323)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <phillip.lord@HIDDEN>) id 1ad2SQ-00084m-8h
 for bug-gnu-emacs@HIDDEN; Mon, 07 Mar 2016 16:12:50 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID:Date:
 Subject:To:From; bh=+5A7iM73vwHlkPEVaM+dCyJ5WGMG/OZVPUIopu/E2Yw=; b=VE20mTVGq
 7JaFJxoiSMvJv3udkYbiAhQmPQMDNE778ICBALDPWyanuajP/DUaLffyi4ZZYOWiL5SFrECmQ/b0v
 SDCf7T04e/w3L+wXfRSjnIVnmt9jpNwzAdgJPcPfV57F09A2x19Jv1UdS6MMhxH/QNfHT94xx9TYM
 U4zuGeu2o9Y7e9wLYVDTsr13DlYYBW76BQw1TlnnEP4HXnOuYfhf2HZTXItM3h3ts5zECwerRnDUp
 cgP5at83UwkvGBTfBXcv1WaM9G3tz3CplWUKiD27enizLbdG5oAdOVk25henS90uamuX4zLnaA1Bq
 vR9M1pvr+4bMFs/svKq0c5laA==;
Received: from cpc1-benw10-2-0-cust373.gate.cable.virginm.net
 ([77.98.219.118]:42784 helo=russet.org.uk)
 by cloud103.planethippo.com with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128)
 (Exim 4.86) (envelope-from <phillip.lord@HIDDEN>)
 id 1ad2SP-000fwX-H7
 for bug-gnu-emacs@HIDDEN; Mon, 07 Mar 2016 21:12:49 +0000
From: phillip.lord@HIDDEN (Phillip Lord)
To: bug-gnu-emacs@HIDDEN
Subject: W32 Binaries should have a top-level directory
Date: Mon, 07 Mar 2016 21:12:48 +0000
Message-ID: <87fuw2m1pr.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - cloud103.planethippo.com
X-AntiAbuse: Original Domain - gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - russet.org.uk
X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id:
 phillip.lord@HIDDEN
X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@HIDDEN
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)



I've just noticed that between 24.3 and 24.4 the directory structure of
the W32 binaries has changed significantly, and now lacks a top-level
directory. Instead, they have the unix style /var, /share, /bin
directories.

I have discussed the issue with Eli who thinks this is right, and
briefly summarise the reasons and my objections here.

1) It's a standard way of distributing MinGW binaryes

2) You can unpack a latter version on top of an existing version, and
run multiple versions without fiddling with PATH.


My counter is:

1) Having no top-level directory is fairly unexpected for software
containing zip file (outside of a package management system). For
example, the Emacs W-64 binaries on Sourceforge have a top-level Emacs
directory.

2) A top-level directory makes it easily to remove things again
afterwards.

3) The windows Emacs distribution now has no obvious README or COPYING
notice -- this cannot go top-level, without a top-level directory.


I would suggest that future Emacs zip files contain a top-level
directory with the same name as the zip file, underneath which comes
/var, /share, /bin, plus README.W32, plus COPYING. This still makes it
easily to install over an existing distribution with a copy command.








Acknowledgement sent to phillip.lord@HIDDEN (Phillip Lord):
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#22935; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 8 Mar 2016 19:45:02 UTC

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