all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: byron.cordova.mora@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: gunzip problem on Windows
Date: Tue, 1 May 2018 02:55:46 -0700 (PDT)	[thread overview]
Message-ID: <f9205c7f-2e6b-43fc-96a6-f1a3210e7c34@googlegroups.com> (raw)
In-Reply-To: <87my2ubfv7.fsf@mundaneum.com>

El martes, 10 de noviembre de 2009, 9:42:52 (UTC-5), Sébastien Vauban  escribió:
> Eli Zaretskii wrote:
> >> From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
> >>>
> >>> It might work to copy gzip.exe into gunzip.exe.
> 
> Another solution, from the Net (don't know who anymore):
> 
> --8<---------------cut here---------------start------------->8---
>       (require 'dired-aux)
> 
>       (defun dired-call-process (program discard &rest arguments)
>         ;; 09Feb02, sailor overwrite this function because Gnu Emacs cannot
>         ;; recognize gunzip is a symbolic link to gzip. Thus, if the program
>         ;; is "gunzip", replace it with "gzip" and add an option "-d".
> 
>         ;; "Run PROGRAM with output to current buffer unless DISCARD is t.
>         ;; Remaining arguments are strings passed as command arguments to
>         ;; PROGRAM."
>         ;; Look for a handler for default-directory in case it is a
>         ;; remote file name.
>         (let ((handler
>                (find-file-name-handler (directory-file-name default-directory)
>                                        'dired-call-process)))
>           (if handler (apply handler 'dired-call-process
>                              program discard arguments)
>             (progn
>               (if (string-equal program "gunzip")
>                   (progn
>                     (setq program "gzip")
>                     (add-to-list 'arguments "-d")))
>               (apply 'call-process program nil (not discard) nil arguments)))))
> --8<---------------cut here---------------end--------------->8---
> 
> Seb
> 
> -- 
> Sébastien Vauban

#otra forma:
#ver donde esta gzip:
where gzip
#por ejemplo, presentaría:
C:\laragon\bin\git\usr\bin\gzip.exe
C:\Program Files\Git\usr\bin\gzip.exe

#ubicarse, por ejemplo: C:\Program Files\Git\usr\bin
#crear archivo: gunzip.bat
#contenido del bat: 
@echo off
gzip -d -f %1
# guardar y salir
# note: es necesario -f para forzar la descompresion


  reply	other threads:[~2018-05-01  9:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-04 16:32 gunzip problem on Windows Xah Lee
2009-11-04 17:34 ` Andreas Politz
2009-11-04 17:56 ` Eli Zaretskii
2009-11-05 14:26   ` Kevin Rodgers
2009-11-05 19:06     ` Eli Zaretskii
     [not found]     ` <mailman.10136.1257448020.2239.help-gnu-emacs@gnu.org>
2009-11-10 14:42       ` Sébastien Vauban
2018-05-01  9:55         ` byron.cordova.mora [this message]
     [not found]   ` <mailman.10126.1257431414.2239.help-gnu-emacs@gnu.org>
2009-11-05 19:38     ` Xah Lee
2009-11-05 13:22 ` Friedrich Dominicus
2009-11-05 19:37   ` Xah Lee
2009-11-05 19:34 ` Xah Lee
2009-11-05 20:23   ` Xah Lee
2009-11-06  8:28     ` Eli Zaretskii
     [not found] ` <mailman.10068.1257357458.2239.help-gnu-emacs@gnu.org>
2009-11-05 19:35   ` Xah Lee

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

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

  git send-email \
    --in-reply-to=f9205c7f-2e6b-43fc-96a6-f1a3210e7c34@googlegroups.com \
    --to=byron.cordova.mora@gmail.com \
    --cc=help-gnu-emacs@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 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.