unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Stephen J. Turnbull" <stephen@xemacs.org>
Cc: emacs-devel@gnu.org
Subject: Re: Compressing the Lisp and Info files in the MS-Windows installation
Date: Tue, 16 Apr 2013 12:10:48 +0300	[thread overview]
Message-ID: <83y5ci4z8n.fsf@gnu.org> (raw)
In-Reply-To: <87fvyq51o5.fsf@uwakimon.sk.tsukuba.ac.jp>

> From: "Stephen J. Turnbull" <stephen@xemacs.org>
> Cc: emacs-devel@gnu.org
> Date: Tue, 16 Apr 2013 17:18:18 +0900
> 
> Wouldn't the sensible thing to do on Windows be to use zip

Maybe so, but it isn't trivial: Emacs doesn't support transparent
decompression of zip-compressed files as it does with gzip (and other
formats that compress single files).  So it's a separate project, and
not a trivial one, i.e. not limited to the configury stuff, which is
what I'm working on now.

> [zip] which in some form seems to always be available [on Windows]?

That's actually false, or at least not true in the sense you seem to
assume or imply.

What _is_ true is that Windows nowadays supports zip archives out of
the box in its File Manager (a.k.a. "Explorer").  But that support
comes from inside the application; there isn't any zip.exe or
unzip.exe when you install Windows, unless you install some optional
3rd-party package.

From my experience, that 3rd party packages tend to be GUI
applications, which Emacs cannot use anyway.  Not sure how this
compares with what others see.  (I personally use InfoZip's zip all
the time, but that's me; I see others like 7z etc.)

> While it doesn't directly address Drew's gripe that it's a PITA for
> the user who wants to grep, it does make it easier to undo the
> operation since there's only one zipfile for the elisp and one for
> the info.

Having the Info files in a single zip archive will need also support
from Texinfo's stand-alone Info reader, before it can be considered as
acceptable.  By contrast, gzip-compressed Info files are already
supported by Texinfo.

> Many programs will now treat a zipfile as a filesystem mounted at the
> zipfile's path, as well.

That's true, and so does Emacs.  But to grep this, we need _grep_ to
support that, which it doesn't.

> Dunno if grep or Emacs can do that

It cannot.

> on Windows, [...] Explorer has treated a zipfile as a directory
> rather than an archive since Windows XP I think

True.



      reply	other threads:[~2013-04-16  9:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-15 15:26 Compressing the Lisp and Info files in the MS-Windows installation Eli Zaretskii
2013-04-15 20:02 ` Stefan Monnier
2013-04-15 20:13   ` Drew Adams
2013-04-16  8:55     ` Eli Zaretskii
2013-04-16 13:23       ` Drew Adams
2013-05-08 13:02       ` Steinar Bang
2013-04-16  8:50   ` Eli Zaretskii
2013-04-16 13:10     ` Stefan Monnier
2013-04-16 14:33       ` Eli Zaretskii
2013-04-16  8:18 ` Stephen J. Turnbull
2013-04-16  9:10   ` Eli Zaretskii [this message]

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=83y5ci4z8n.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=stephen@xemacs.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).