From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: dired-x 'mother knows best' shell guess attitude
Date: Wed, 16 Apr 2003 11:31:28 -0600 [thread overview]
Message-ID: <3E9D9370.5040101@yahoo.com> (raw)
In-Reply-To: mailman.4704.1050480324.21513.bug-gnu-emacs@gnu.org
Dan Jacobson wrote:
> 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.
Yes, M-p should put "wc" in the minibuffer. "tar xvf" should be available via
M-n.
> 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.
Interesting idea. Why don't you implement it?
--
<a href="mailto:<kevin.rodgers@ihs.com>">Kevin Rodgers</a>
next parent reply other threads:[~2003-04-16 17:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.4704.1050480324.21513.bug-gnu-emacs@gnu.org>
2003-04-16 17:31 ` Kevin Rodgers [this message]
2003-04-16 1:49 dired-x 'mother knows best' shell guess attitude Dan Jacobson
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3E9D9370.5040101@yahoo.com \
--to=ihs_4664@yahoo.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.