From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: dired-view-command-alist Date: Tue, 04 Jan 2005 22:30:49 -0500 Message-ID: References: <878y79hccd.fsf@jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1104896306 27060 80.91.229.6 (5 Jan 2005 03:38:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Jan 2005 03:38:26 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 05 04:38:16 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 1Cm200-0000JF-00 for ; Wed, 05 Jan 2005 04:38:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cm2BE-0006H6-E1 for ged-emacs-devel@m.gmane.org; Tue, 04 Jan 2005 22:49:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Cm2AX-000616-Q7 for emacs-devel@gnu.org; Tue, 04 Jan 2005 22:49:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Cm2AV-0005zE-1F for emacs-devel@gnu.org; Tue, 04 Jan 2005 22:49:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cm2AU-0005yw-Rk for emacs-devel@gnu.org; Tue, 04 Jan 2005 22:49:06 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cm1z9-0003ID-M2 for emacs-devel@gnu.org; Tue, 04 Jan 2005 22:37:23 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Cm1sn-0003AY-C5; Tue, 04 Jan 2005 22:30:49 -0500 Original-To: Juri Linkov In-reply-to: <878y79hccd.fsf@jurta.org> (message from Juri Linkov on Tue, 04 Jan 2005 11:03:48 +0200) 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: main.gmane.org gmane.emacs.devel:31861 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31861 1. Moving MIME-related files out of Gnus and eliminating the dependencies is a too drastic change. Why do you think so? 2. Mailcap may contain different commands for viewing a file. Before running one of them, dired should ask the user which command to run. Even if there is only one command, dired should ask for confirmation and allow the user to edit that command. I agree. A user interface for that already exists in `dired-guess-default' in dired-x.el. But there is one difference: dired uses ? and * to substitute file names in shell commands, while mailcap uses %s. Using %s instead of special markers ? and * in Dired shell commands might solve the problem of their ambiguity where the same symbol is used for the list of Dired file names or shell wildcards. It might be a good solution, but this is a substantial incompatibility. Not big enough that I should reject it immediately, but big enough we need to see what other people think about the change. What do others think?