[Top][All Lists]

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

Re: Improved help from minibuffer prompts

From: Miles Bader
Subject: Re: Improved help from minibuffer prompts
Date: 13 Apr 2004 15:57:58 +0900

Stefan Reichör <address@hidden> writes:
> Now you can hit f1 when a minibuffer prompt is displayed and you get
> the function's docstring.

It's kind of a neat idea, but F1 doesn't seem like a great
key-binding to me...

How about having the completion-help display code[*] do it:
when showing completions, if there's only a single unique completion,
show instead the help buffer.

That way, you could either hit `?' after typing the command, or e.g. hit
TAB a few times -- once to complete the command, and another time to
display help.

[*] Probably not the generic completion-help code, but some specialized
    version used when completing functions/commands -- though perhaps
    the option of doing something special for completion-help-with-only-
    one-completion could be made a general feature for users of completion.

F1 currently does normal help without a prompt in the minibuffer, which
is a bit awkward; maybe it should just do the same thing as `?' in the
minibuffer -- which combined with the above technique, would actually
make it work the same as your suggestion... :-]

[|nurgle|]  ddt- demonic? so quake will have an evil kinda setting? one that
            will  make every christian in the world foamm at the mouth?
[iddt]      nurg, that's the goal

reply via email to

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