unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: phillip.lord@russet.org.uk (Phillip Lord)
To: Eli Zaretskii <eliz@gnu.org>
Cc: 22935@debbugs.gnu.org
Subject: bug#22935: W32 Binaries should have a top-level directory
Date: Tue, 08 Mar 2016 19:35:59 +0000	[thread overview]
Message-ID: <87pov4iwyo.fsf@russet.org.uk> (raw)
In-Reply-To: <838u1sredr.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 08 Mar 2016 20:52:32 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: phillip.lord@russet.org.uk (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.





  reply	other threads:[~2016-03-08 19:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-07 21:12 bug#22935: W32 Binaries should have a top-level directory Phillip Lord
2016-03-08 18:52 ` Eli Zaretskii
2016-03-08 19:35   ` Phillip Lord [this message]
2016-03-08 20:01     ` Eli Zaretskii
2021-08-15 12:44       ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pov4iwyo.fsf@russet.org.uk \
    --to=phillip.lord@russet.org.uk \
    --cc=22935@debbugs.gnu.org \
    --cc=eliz@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).