From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: Re: dired-do-shell-command mention dired-guess-shell-alist-user Date: Sat, 01 Jan 2005 00:25:30 -0500 Message-ID: References: <87vfalx3ow.fsf@jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1104557613 3166 80.91.229.6 (1 Jan 2005 05:33:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 1 Jan 2005 05:33:33 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, jidanni@jidanni.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 01 06:33:27 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CkbtH-0002O1-00 for ; Sat, 01 Jan 2005 06:33:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Ckc4J-00083A-5A for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Jan 2005 00:44:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Ckc2p-0007BU-KK for bug-gnu-emacs@gnu.org; Sat, 01 Jan 2005 00:43:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Ckc2l-00079C-LC for bug-gnu-emacs@gnu.org; Sat, 01 Jan 2005 00:43:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Ckc2l-000799-Gk for bug-gnu-emacs@gnu.org; Sat, 01 Jan 2005 00:43:15 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CkbrX-0003AA-0X for bug-gnu-emacs@gnu.org; Sat, 01 Jan 2005 00:31:39 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Ckbla-0003Tr-CA; Sat, 01 Jan 2005 00:25:30 -0500 Original-To: Juri Linkov In-reply-to: <87vfalx3ow.fsf@jurta.org> (message from Juri Linkov on Wed, 29 Dec 2004 04:01:51 +0200) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:10269 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:10269 There were discussions about moving shell command guessing code from dired-x.el to dired-aux.el (or in dired.el). I think this should be done before the next release because it will eliminate an unfinished feature in dired.el which uses dired-view-command-alist and which partly started duplicating the functionality already present in dired-x.el. I could submit the patch to emacs-devel if Richard agrees. Dave Love suggested using the code from gnus-dired.el and mailcap.el. That code seems to be very clean, so I would like to use that. However, that code currently depends on various other parts of Gnus; it will be necessary to work on the code so as to eliminate the extra dependencies. Want to do that? Some additional advice of his: However, mailcap.el still needs fixing, as I reported before. It shouldn't override the system mailcap files by default -- otherwise it can fail the same way dired `v' does now. It shouldn't fail due to the viewer not being available -- it should check it's executable before trying to use it. I just deleted the code I had added to dired.el