unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Jacobson <jidanni@dman.ddts.net>
Subject: dired-x 'mother knows best' shell guess attitude
Date: Wed, 16 Apr 2003 09:49:26 +0800	[thread overview]
Message-ID: <87u1cz9pp5.fsf@jidanni.org> (raw)

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

             reply	other threads:[~2003-04-16  1:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-16  1:49 Dan Jacobson [this message]
     [not found] <mailman.4704.1050480324.21513.bug-gnu-emacs@gnu.org>
2003-04-16 17:31 ` dired-x 'mother knows best' shell guess attitude Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87u1cz9pp5.fsf@jidanni.org \
    --to=jidanni@dman.ddts.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).