all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs complains about missing gzip when accessing .el.gz file
@ 2016-08-01 21:39 Óscar Fuentes
  2016-08-02  2:32 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Óscar Fuentes @ 2016-08-01 21:39 UTC (permalink / raw)
  To: help-gnu-emacs

On Windows, when I try to access some installed .el.gz file (with
`find-function', for instance) Emacs complains:

  Uncompression program `gzip' not found

Since Emacs has built-in support for zlib (this build lists ZLIB among
its configured features) why does it need gzip?

Emacs version 25.1.50.1 of 2016-06-06 (i686-w64-mingw32) (built on the
MSYS2 environment.)




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Emacs complains about missing gzip when accessing .el.gz file
  2016-08-01 21:39 Emacs complains about missing gzip when accessing .el.gz file Óscar Fuentes
@ 2016-08-02  2:32 ` Eli Zaretskii
  2016-08-02  3:34   ` Óscar Fuentes
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2016-08-02  2:32 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Óscar Fuentes <ofv@wanadoo.es>
> Date: Mon, 01 Aug 2016 23:39:38 +0200
> 
> On Windows, when I try to access some installed .el.gz file (with
> `find-function', for instance) Emacs complains:
> 
>   Uncompression program `gzip' not found
> 
> Since Emacs has built-in support for zlib (this build lists ZLIB among
> its configured features) why does it need gzip?

Because (a) zlib support is optional, and (b) no one has written code
to use that as an alternative to gzip.

Patches welcome.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Emacs complains about missing gzip when accessing .el.gz file
  2016-08-02  2:32 ` Eli Zaretskii
@ 2016-08-02  3:34   ` Óscar Fuentes
  2016-08-02 15:14     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Óscar Fuentes @ 2016-08-02  3:34 UTC (permalink / raw)
  To: help-gnu-emacs

Eli Zaretskii <eliz@gnu.org> writes:

> Because (a) zlib support is optional, and (b) no one has written code
> to use that as an alternative to gzip.

Thanks.

> Patches welcome.

Adapting jka-compr-insert-file-contents for detecting .gz files and
using zlib-decompress-region (if available) instead of calling gzip
would add ugliness to an already hairy function.

I'll add --without-compress-install to the MSYS2 build instead. Having
gzipped sources and info files on MS Windows are not all that convenient
anyway.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Emacs complains about missing gzip when accessing .el.gz file
  2016-08-02  3:34   ` Óscar Fuentes
@ 2016-08-02 15:14     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2016-08-02 15:14 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Óscar Fuentes <ofv@wanadoo.es>
> Date: Tue, 02 Aug 2016 05:34:11 +0200
> 
> I'll add --without-compress-install to the MSYS2 build instead. Having
> gzipped sources and info files on MS Windows are not all that convenient
> anyway.

That's already supported at "make install" time.  Something like this:

  make install GZIP_PROG=''



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-02 15:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-01 21:39 Emacs complains about missing gzip when accessing .el.gz file Óscar Fuentes
2016-08-02  2:32 ` Eli Zaretskii
2016-08-02  3:34   ` Óscar Fuentes
2016-08-02 15:14     ` Eli Zaretskii

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.