[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Modernize the default list of archives supported by dired guesses
From: |
Stefan Monnier |
Subject: |
Re: Modernize the default list of archives supported by dired guesses |
Date: |
Sun, 27 Feb 2011 22:33:16 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> Here's a trivial patch to add 7z and unrar (both free software) to the
> list of guessed archivers. Can you merge it?
That looks right, but please whoever installs this patch, replace the
dollars with \\' in this list of regexps.
Stefan
> diff --git a/lisp/dired-x.el b/lisp/dired-x.el
> index ce07676..6ed3cd1 100644
> --- a/lisp/dired-x.el
> +++ b/lisp/dired-x.el
> @@ -988,6 +988,8 @@ replace it with a dir-locals-file `./%s'"
> '("\\.lzh$" "lharc x")
> '("\\.arc$" "arc x")
> '("\\.shar$" "unshar")
> + '("\\.rar$" "unrar x")
> + '("\\.7z$" "7z x")
> ;; Compression.
> (list "\\.g?z$" '(concat "gunzip" (if dired-guess-shell-gzip-quiet "
> -q")))