[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TAB completions in *shell*: why need one character hint?

From: Dan Jacobson
Subject: TAB completions in *shell*: why need one character hint?
Date: 23 Feb 2001 14:44:07 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

ESC x s h e l l RET c a t SPC TAB TAB TAB
Why can't it show me filename choices at this point?  Why does it
insist that I give it at least one character to start with?  Bash
wouldn't treat me this way.

If it's so smart that it knows the first item is a command, and the
second is a filename, one would think that it could expand with no
need for me to give it a one letter hint.  I mean the directory I was
in only had a few files in it.

By the way, doing C-h k TAB shows

     TAB runs the command comint-dynamic-complete
     which is an interactive compiled Lisp function in `comint'.

     Dynamically perform completion at point.
     Calls the functions in `comint-dynamic-complete-functions' to perform
     completion until a function returns non-nil, at which point completion is
     assumed to have occurred.

That's no way to talk to a user.  You want to at least mention things
like "if used at the first item after the [shell] prompt, expands
command names, otherwise expands filenames. Just like bash."
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]