From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#2414: 23.0.90; use dired-guess-default too for minibuffer-default-add-shell-commands Date: Mon, 23 Feb 2009 01:37:45 +0200 Organization: JURTA Message-ID: <8763j283ay.fsf@jurta.org> References: <000601c99396$05d396a0$0200a8c0@us.oracle.com> <87r61qf8ph.fsf@jurta.org> <001b01c99541$f91510d0$0200a8c0@us.oracle.com> Reply-To: Juri Linkov , 2414@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1235347488 20531 80.91.229.12 (23 Feb 2009 00:04:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Feb 2009 00:04:48 +0000 (UTC) Cc: 2414@emacsbugs.donarmstrong.com To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 23 01:06:02 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LbOJy-0000Ht-Jx for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Feb 2009 01:05:48 +0100 Original-Received: from localhost ([127.0.0.1]:40278 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LbOId-0006J7-LI for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Feb 2009 19:03:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LbOIQ-0006Eq-7O for bug-gnu-emacs@gnu.org; Sun, 22 Feb 2009 19:03:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LbOIO-0006E3-6W for bug-gnu-emacs@gnu.org; Sun, 22 Feb 2009 19:03:41 -0500 Original-Received: from [199.232.76.173] (port=58148 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LbOIN-0006Dz-U9 for bug-gnu-emacs@gnu.org; Sun, 22 Feb 2009 19:03:39 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34859) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LbOIN-0003gr-5J for bug-gnu-emacs@gnu.org; Sun, 22 Feb 2009 19:03:39 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1N03aUm011182; Sun, 22 Feb 2009 16:03:37 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1MNj2PP006498; Sun, 22 Feb 2009 15:45:02 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juri Linkov Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 22 Feb 2009 23:45:02 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2414 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2414-submit@emacsbugs.donarmstrong.com id=B2414.12353459955247 (code B ref 2414); Sun, 22 Feb 2009 23:45:02 +0000 Original-Received: (at 2414) by emacsbugs.donarmstrong.com; 22 Feb 2009 23:39:55 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from relay02.kiev.sovam.com (relay02.kiev.sovam.com [62.64.120.197]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1MNdpp1005241 for <2414@emacsbugs.donarmstrong.com>; Sun, 22 Feb 2009 15:39:52 -0800 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay02.kiev.sovam.com with esmtp (Exim 4.69) (envelope-from ) id 1LbNvK-00099g-K3; Mon, 23 Feb 2009 01:39:50 +0200 In-Reply-To: <001b01c99541$f91510d0$0200a8c0@us.oracle.com> (Drew Adams's message of "Sun, 22 Feb 2009 15:04:53 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (x86_64-pc-linux-gnu) X-Scanner-Signature: 068dd79c68aafbc760c35e97c5d420ed X-DrWeb-checked: yes X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 22 Feb 2009 19:03:41 -0500 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: news.gmane.org gmane.emacs.bugs:25612 Archived-At: > Come to think of it, there might be a reason for Dired to keep its own > set of such rules, in *addition* to creating a global set. That might > be handy for use by code and hooks etc. Dunno. > > But the main thing is to move these two alists out of Dired-X and make > their associations available generally, in the same way as the MIME > associations are available generally. I mostly agree but such a general task is for after the release. However, now I fixed an omission in dired-x.el to use exactly the same functions as were implemented for dired-aux.el (using read-shell-command instead of read-from-minibuffer and correctly setting minibuffer-default-add-dired-shell-commands in dired-read-shell-command). This causes MIME commands to be automatically added after guess-shell commands. So currently Dired-x users can be more happy because they have both command sets. -- Juri Linkov http://www.jurta.org/emacs/