From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: dired-x doesn't have default action for .cpio's Date: Wed, 16 Apr 2003 09:50:44 +0800 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87smsj9pmz.fsf@jidanni.org> Reply-To: Dan Jacobson NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050481974 9022 80.91.224.249 (16 Apr 2003 08:32:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 16 Apr 2003 08:32:54 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 16 10:32:53 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 195iLd-0002LK-00 for ; Wed, 16 Apr 2003 10:32:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195iL9-0001kR-01 for gnu-bug-gnu-emacs@m.gmane.org; Wed, 16 Apr 2003 04:32:23 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 195iKx-0001ji-00 for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2003 04:32:11 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 195iKv-0001j6-00 for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2003 04:32:10 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195iKv-0001io-00 for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2003 04:32:09 -0400 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 195iJ6-00028e-00 for ; Wed, 16 Apr 2003 10:30:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: bug-gnu-emacs@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 195hp1-0000Gm-00 for ; Wed, 16 Apr 2003 09:59:11 +0200 Original-Lines: 15 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4811 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4811 dired-do-shell-command of dired-aux doesn't know what to suggest as a good default action when presented with a file.cpio . Go ahead, try it yourself, $ touch a.tar a.cpio $ emacs -l dired-x . Then use "!" on them and see what you are prompted with. Looks like pure favoritism towards tar. Indeed, were talking oversight here: 21.2/lisp/dired-x.el: ;; Some other popular archivers. '("\\.zip$" "unzip")... but no cpio. Maybe dired-guess-shell-alist-default should add "cpio -iv < " as the cpio default.