emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modernize the default list of archives supported by dired guesses


From: Jeff Sparkes
Subject: Re: Modernize the default list of archives supported by dired guesses
Date: Tue, 01 Mar 2011 10:59:32 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt)

Antoine Levitt <address@hidden> writes:

> Here's a trivial patch to add 7z and unrar (both free software) to the
> list of guessed archivers. Can you merge it? 

On cygwin, it's "p7zip".  You could search for either 7z or p7zip.  Most
of the entries aren't validated though.  It's a shame it's not an alist.

>
> Antoine
>
> 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")fdired-x
>  
>     ;; Compression.
>     (list "\\.g?z$" '(concat "gunzip" (if dired-guess-shell-gzip-quiet " 
> -q")))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]