From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lave Newsgroups: gmane.emacs.help Subject: Re: 'gzip -d' instead of 'gunzip' Date: Sat, 25 Oct 2008 11:29:51 +0800 Message-ID: <29de18070810242029y440afa77o80aab9b4ef81ce24@mail.gmail.com> References: <1224786847.134717@arno.fh-trier.de> <7sr667w1vw.fsf@one.net> <1224844314.854483@arno.fh-trier.de> <1224875802.590166@arno.fh-trier.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224905424 4923 80.91.229.12 (25 Oct 2008 03:30:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Oct 2008 03:30:24 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Andreas Politz" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 25 05:31:25 2008 connect(): Connection refused 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 1KtZs5-0006qV-3O for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Oct 2008 05:31:25 +0200 Original-Received: from localhost ([127.0.0.1]:54528 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtZqv-0002z8-CQ for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Oct 2008 23:30:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtZqe-0002yt-15 for help-gnu-emacs@gnu.org; Fri, 24 Oct 2008 23:29:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtZqb-0002yh-Lt for help-gnu-emacs@gnu.org; Fri, 24 Oct 2008 23:29:54 -0400 Original-Received: from [199.232.76.173] (port=39557 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtZqb-0002ye-H2 for help-gnu-emacs@gnu.org; Fri, 24 Oct 2008 23:29:53 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.242]:5600) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KtZqa-0004Np-W5 for help-gnu-emacs@gnu.org; Fri, 24 Oct 2008 23:29:53 -0400 Original-Received: by rv-out-0708.google.com with SMTP id k29so1373861rvb.6 for ; Fri, 24 Oct 2008 20:29:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ngMXiHF4tGJ/uDkHO/cb7VkTu7gnDE1H2D2L6moTuxk=; b=WoK6+Sr1gzuABg77i79LXIcm/p0ZZWjjBMIupBpmUigiJw6rRtcz8yjH46LqI4E6kW H2ABPPNYhl3eayL8qUqng5k2blZnyuXjxymw0IYnGiNiVlFSIFFxpc623qanzVKXF7fV UOGRqw/DKWgPA/5j5fV5iyJHl/V9VKAZXruz4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=xFNnJ5x5vSiUmPHNIVtr5bAIJZmuzMtbFEjo08+YXflnI5xeod5vbzEkWEvumiezBU e61d4bgupo8TcdcDPL8jKHLFgZXNSscSZej+qUlLSAoeeEZVM7c3wNx4oqsO1s3oXUOT QiWPQtt3udlVq4pobU7gbcGaFDqwCvk4NJqBE= Original-Received: by 10.140.163.12 with SMTP id l12mr1650504rve.137.1224905391304; Fri, 24 Oct 2008 20:29:51 -0700 (PDT) Original-Received: by 10.141.40.2 with HTTP; Fri, 24 Oct 2008 20:29:51 -0700 (PDT) In-Reply-To: <1224875802.590166@arno.fh-trier.de> Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:59146 Archived-At: It doesn't work too. The problem is: when dired-aux.el is loaded, dired-compress-file-suffixes has not exist yet. I ever added the unrar-stuff into that file. But isn't there a clearer solution ? And, dired-compress-file-suffixes can't contain args. I have to create another script storing 'unrar x'. I want to find a alternative solution. On 10/25/08, Andreas Politz wrote: > Lave wrote: > >> On 10/24/08, Andreas Politz wrote: >>> Chris McMahan wrote: >>>> Andreas Politz writes: >>>> >>>>> Leo wrote: >>>>>> Hi there, >>>>>> >>>>>> How to tell emacs to use 'gzip -d' instead of 'gunzip' whenever >>>>>> un-compressing in dired etc.? Thank you. >>>>>> >>>>>> Best, >>>>> (customize-option (quote jka-compr-compression-info-list)) >>>>> >>>>> In my emacs it does use 'gzip -d'. >>>>> >>>>> -ap >>>> Thanks! >>>> >>>> On a similar topic, is there a way to force quotes around the filename? >>>> My emacs always chokes on compressed files with spaces in their names. >>>> >>>> - Chris >>>> >>> I think I was wrong. Compression in this case seems to be controlled by >>> the >>> variable >>> `dired-compress-file-suffixes'. This topic is confusing me. >>> >>> -ap >>> >> >> > > I used dired-compress-file-suffixes before. But this variable is > > created after once compressing or uncompressing. If I add it in > > .emacs, it will get an error when start emacs. > > > > How can I do except add it into dired-aux.el as I did before? > > > > Could anyone help? > > > > I think you should either > > (require 'dired-aux) > > before you access the variable (maybe in a dired-mode-hook) > or you > > (eval-after-load "dired-aux" ... ) > > -ap > -- Regards, Lave