From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Modernize the default list of archives supported by dired guesses Date: Sun, 27 Feb 2011 22:33:16 -0500 Message-ID: References: <87fwr9ldn6.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298864009 14737 80.91.229.12 (28 Feb 2011 03:33:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Feb 2011 03:33:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: Antoine Levitt Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 28 04:33:25 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PttrQ-0000RJ-W2 for ged-emacs-devel@m.gmane.org; Mon, 28 Feb 2011 04:33:25 +0100 Original-Received: from localhost ([127.0.0.1]:47346 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PttrQ-0005hM-9M for ged-emacs-devel@m.gmane.org; Sun, 27 Feb 2011 22:33:24 -0500 Original-Received: from [140.186.70.92] (port=54877 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PttrK-0005hH-Rb for emacs-devel@gnu.org; Sun, 27 Feb 2011 22:33:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PttrJ-0008FX-My for emacs-devel@gnu.org; Sun, 27 Feb 2011 22:33:18 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:34103 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PttrJ-0008FS-Gt for emacs-devel@gnu.org; Sun, 27 Feb 2011 22:33:17 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAMOlak1FxKsT/2dsb2JhbACmQ3W6TIVhBIUQj18 X-IronPort-AV: E=Sophos;i="4.62,237,1297054800"; d="scan'208";a="93759331" Original-Received: from 69-196-171-19.dsl.teksavvy.com (HELO ceviche.home) ([69.196.171.19]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 27 Feb 2011 22:33:17 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id D377A660D6; Sun, 27 Feb 2011 22:33:16 -0500 (EST) In-Reply-To: <87fwr9ldn6.fsf@gmail.com> (Antoine Levitt's message of "Sun, 27 Feb 2011 16:07:25 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.183 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:136586 Archived-At: > 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")))