From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jeff Sparkes Newsgroups: gmane.emacs.devel Subject: Re: Modernize the default list of archives supported by dired guesses Date: Tue, 01 Mar 2011 10:59:32 -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 1299002624 1696 80.91.229.12 (1 Mar 2011 18:03:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Mar 2011 18:03:44 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 01 19:03:40 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 1PuTvA-0007AG-2V for ged-emacs-devel@m.gmane.org; Tue, 01 Mar 2011 19:03:40 +0100 Original-Received: from localhost ([127.0.0.1]:43608 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuTv9-0003TH-5N for ged-emacs-devel@m.gmane.org; Tue, 01 Mar 2011 13:03:39 -0500 Original-Received: from [140.186.70.92] (port=55874 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuTro-0001IF-6K for emacs-devel@gnu.org; Tue, 01 Mar 2011 13:00:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuTrm-0002V3-BN for emacs-devel@gnu.org; Tue, 01 Mar 2011 13:00:12 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:34077) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuTrm-0002Uc-5w for emacs-devel@gnu.org; Tue, 01 Mar 2011 13:00:10 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PuTrg-0005HP-Kn for emacs-devel@gnu.org; Tue, 01 Mar 2011 19:00:04 +0100 Original-Received: from waterloo.fw.opentext.com ([204.138.115.3]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Mar 2011 19:00:04 +0100 Original-Received: from jsparkes by waterloo.fw.opentext.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Mar 2011 19:00:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: waterloo.fw.opentext.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) Cancel-Lock: sha1:Tk1IX0tvumrd0HSd1edygGWTOow= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:136670 Archived-At: Antoine Levitt 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")))