From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: emacsW32 can't find gunzip Date: Sun, 12 Jul 2009 22:29:42 +0300 Message-ID: <83ab39snrt.fsf@gnu.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1247427017 16293 80.91.229.12 (12 Jul 2009 19:30:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Jul 2009 19:30:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 12 21:30:11 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MQ4kQ-0000GR-Ba for geh-help-gnu-emacs@m.gmane.org; Sun, 12 Jul 2009 21:30:06 +0200 Original-Received: from localhost ([127.0.0.1]:59800 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQ4kP-0000o9-LQ for geh-help-gnu-emacs@m.gmane.org; Sun, 12 Jul 2009 15:30:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQ4k7-0000nu-6a for help-gnu-emacs@gnu.org; Sun, 12 Jul 2009 15:29:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQ4k5-0000ni-Dq for help-gnu-emacs@gnu.org; Sun, 12 Jul 2009 15:29:45 -0400 Original-Received: from [199.232.76.173] (port=58930 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQ4k5-0000nf-AZ for help-gnu-emacs@gnu.org; Sun, 12 Jul 2009 15:29:45 -0400 Original-Received: from mtaout6.012.net.il ([84.95.2.16]:14115) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MQ4k4-0002SZ-Sg for help-gnu-emacs@gnu.org; Sun, 12 Jul 2009 15:29:45 -0400 Original-Received: from conversion-daemon.i-mtaout6.012.net.il by i-mtaout6.012.net.il (HyperSendmail v2007.08) id <0KMO00E00OCZ0Z00@i-mtaout6.012.net.il> for help-gnu-emacs@gnu.org; Sun, 12 Jul 2009 22:29:43 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.126.66.189]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KMO00BOLOTIAF20@i-mtaout6.012.net.il> for help-gnu-emacs@gnu.org; Sun, 12 Jul 2009 22:29:43 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65999 Archived-At: > From: Xah Lee > Date: Sat, 11 Jul 2009 22:14:33 -0700 (PDT) >=20 > when using emacsW32, in dired, i press Z to uncompress a file, but = i > got this error: >=20 > apply: Searching for program: no such file or directory, gunzip >=20 > any idea how to fix that? Make sure gzip.exe is in some directory mentioned in exec-path (insid= e Emacs) or in Path (outside Emacs). > I have cygwin installed. =E2=80=9Cwhich gunzip=E2=80=9D shows =E2= =80=9C/usr/bin/gunzip=E2=80=9D. There's no such thing as "/usr/bin/gunzip" on Windows: every absolute file name must begin with a drive letter or two slashes. Cygwin hide= s the drive letter (and possibly also a few leading directories) to pretend there's a Posix-standard directory tree on your machine, but that's an illusion that only Cygwin programs can share. EmacsW32, being a native Windows program, cannot. > Manually gunning gunzip or gzip -d with shell-command works fine. Probably because your shell is set to the Cygwin shell. But Z invoke= s gzip via call-process, which bypasses the shell, so you need to play by the Windows rules.