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 'mother knows best' shell guess attitude Date: Wed, 16 Apr 2003 09:49:26 +0800 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87u1cz9pp5.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 1050480339 2538 80.91.224.249 (16 Apr 2003 08:05:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 16 Apr 2003 08:05:39 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 16 10:05:36 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 195hvE-0000ed-00 for ; Wed, 16 Apr 2003 10:05:36 +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 195hvJ-0001oP-00 for gnu-bug-gnu-emacs@m.gmane.org; Wed, 16 Apr 2003 04:05:41 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 195huX-0000Wh-00 for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2003 04:04:53 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 195hso-0006yF-00 for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2003 04:03:09 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195hrj-0006VV-00 for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2003 04:01:59 -0400 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 195hqE-0000LN-00 for ; Wed, 16 Apr 2003 10:00:26 +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 195hon-0000GF-00 for ; Wed, 16 Apr 2003 09:58:57 +0200 Original-Lines: 20 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:4809 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4809 Gentlemen, isn't emacs rather rude when it second guesses the user's idea of a good command to run: $ mkdir x; cd x; touch a.tar $ emacs -l dired-x . ! w c RET ! ESC p It now already knows I want to use wc. However it insists mother knows best and still offers tar. I could have already used wc 1000 times and it still wouldn't get a hint about what I like. Worse yet is when there are several of its "better choices", not just one. In this case we have to plod thru each one of those with ESC p till we get to the one we just used, now way in the back of the bus. E.g. for .dvi, see dired-guess-shell-alist-default. Note, if I used wc on tar files, and sum on cpio files, then if I am on a cpio file, it should prompt like: sum, cpio -iv <, wc In that order, I suppose. -- http://jidanni.org/ Taiwan(04)25854780