unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Antoine Levitt <antoine.levitt@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Modernize the default list of archives supported by dired guesses
Date: Sun, 27 Feb 2011 22:33:16 -0500	[thread overview]
Message-ID: <jwv4o7o6dgs.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87fwr9ldn6.fsf@gmail.com> (Antoine Levitt's message of "Sun, 27 Feb 2011 16:07:25 +0100")

> 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")))
        



  reply	other threads:[~2011-02-28  3:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-27 15:07 Modernize the default list of archives supported by dired guesses Antoine Levitt
2011-02-28  3:33 ` Stefan Monnier [this message]
2011-02-28  8:03   ` Glenn Morris
2011-02-28 14:47     ` Stefan Monnier
2011-02-28  7:24 ` Glenn Morris
2011-02-28  7:34   ` Antoine Levitt
2011-02-28  7:39     ` Glenn Morris
2011-03-01 18:20     ` Richard Stallman
2011-03-01 18:29       ` Antoine Levitt
2011-03-02  9:45         ` Richard Stallman
2011-03-01 15:59 ` Jeff Sparkes

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv4o7o6dgs.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=antoine.levitt@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).