From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Improved help from minibuffer prompts Date: 14 Apr 2004 12:04:58 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1081931339 24507 80.91.224.253 (14 Apr 2004 08:28:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Apr 2004 08:28:59 +0000 (UTC) Cc: emacs-devel , =?utf-8?b?U3RlZmFuIFJlaWNow7Zy?= Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Apr 14 10:28:50 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BDflK-0003oF-00 for ; Wed, 14 Apr 2004 10:28:50 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BDflK-00061A-00 for ; Wed, 14 Apr 2004 10:28:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BDffp-0001G2-0W for emacs-devel@quimby.gnus.org; Wed, 14 Apr 2004 04:23:09 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BDffh-0001Eu-Cz for emacs-devel@gnu.org; Wed, 14 Apr 2004 04:23:01 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BDfOY-0005Bm-Sd for emacs-devel@gnu.org; Wed, 14 Apr 2004 04:05:50 -0400 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.30) id 1BDfOY-0005BE-21 for emacs-devel@gnu.org; Wed, 14 Apr 2004 04:05:18 -0400 Original-Received: (qmail 77653 invoked from network); 14 Apr 2004 08:05:15 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 14 Apr 2004 08:05:15 -0000 Original-To: Miles Bader In-Reply-To: Original-Lines: 42 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21618 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21618 > Stefan Reich=C3=B6r writes: > > I have the following use for the C-h bindings from the minibuffer: > > C-h b to describe the bindings I also use C-h k quite often. Miles Bader writes: > I think it would be bad to have F1 and C-h be sometimes the same and > sometimes different.=20=20 Agree. > Here's an idea: Use the normal binding for `describe-function' (`C-h f', > or `F1 f') and either have it directly pop up the help for the currently > executing command (i.e., don't prompt for a function name as usual), or > else prompt as usual, but set the default value for the prompt to the > function currently executing command (so that you'd typically use `C-h f > RET' to get help in the situation you describe). Since users will probab= ly > be used to `C-h f' to get function help in other contexts, it should be > easier to remember in the minibuffer too. That would be ok. Other possibilities are: C-h . =3D> help at point This could behave differently if point is in minibuffer, as there is usually no specific help "at point" in there. C-h m =3D> mode specific help (minibuffer specific help) I often use this to get help specific to the current context, so extending this to understand "minibuffer context" seems logical to me. C-h C-h =3D> maybe we don't need the "help menu" when operating on the minibuffer =20=20=20=20=20=20=20=20=20 --=20 Kim F. Storm http://www.cua.dk