From: Lave <lave.wang.w@gmail.com>
To: "Andreas Politz" <politza@fh-trier.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: 'gzip -d' instead of 'gunzip'
Date: Sat, 25 Oct 2008 11:29:51 +0800 [thread overview]
Message-ID: <29de18070810242029y440afa77o80aab9b4ef81ce24@mail.gmail.com> (raw)
In-Reply-To: <1224875802.590166@arno.fh-trier.de>
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 <politza@fh-trier.de> wrote:
> Lave wrote:
>
>> On 10/24/08, Andreas Politz <politza@fh-trier.de> wrote:
>>> Chris McMahan wrote:
>>>> Andreas Politz <politza@fh-trier.de> 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
next prev parent reply other threads:[~2008-10-25 3:29 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1894.1224759751.25473.help-gnu-emacs@gnu.org>
2008-10-23 17:39 ` 'gzip -d' instead of 'gunzip' Xah
2008-10-23 18:28 ` Andreas Politz
2008-10-23 19:24 ` Chris McMahan
2008-10-23 22:25 ` Nikolaj Schumacher
2008-10-24 10:26 ` Andreas Politz
2008-10-24 11:36 ` Lave
[not found] ` <mailman.1997.1224848218.25473.help-gnu-emacs@gnu.org>
2008-10-24 19:10 ` Andreas Politz
2008-10-25 3:29 ` Lave [this message]
2008-10-30 8:45 ` Leo
2008-10-26 10:30 ` Giorgos Keramidas
2008-10-23 23:18 ` Lave
2008-10-30 8:47 ` Leo
2008-10-23 11:02 Leo
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=29de18070810242029y440afa77o80aab9b4ef81ce24@mail.gmail.com \
--to=lave.wang.w@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=politza@fh-trier.de \
/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.