From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Patch that adds help to isearch Date: Tue, 29 Nov 2005 11:04:29 +0200 Organization: JURTA Message-ID: <87veybkeqm.fsf@jurta.org> References: <4386466E.4090407@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1133268948 7144 80.91.229.2 (29 Nov 2005 12:55:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Nov 2005 12:55:48 +0000 (UTC) Cc: lennart.borgman.073@student.lu.se, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 29 13:55:44 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Eh1cp-0001CX-FM for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2005 10:18:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eh1co-0007gc-LF for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2005 04:18:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Eh1Wf-00059l-Jp for emacs-devel@gnu.org; Tue, 29 Nov 2005 04:11:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Eh1We-000590-07 for emacs-devel@gnu.org; Tue, 29 Nov 2005 04:11:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eh1Wd-00058u-FR for emacs-devel@gnu.org; Tue, 29 Nov 2005 04:11:47 -0500 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Eh1Wb-0004gf-S4; Tue, 29 Nov 2005 04:11:46 -0500 Original-Received: from mail.neti.ee (80-235-38-68-dsl.mus.estpak.ee [80.235.38.68]) by Relayhost1.neti.ee (Postfix) with ESMTP id 843741FBA; Tue, 29 Nov 2005 11:12:01 +0200 (EET) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Fri, 25 Nov 2005 23:22:48 -0500") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:46755 Archived-At: > Some months ago we discussed help for isearch-forward/backward. > I tried several alternatives at that time, but did not send in > any patch. The attached patch is a simple way to give help. > It simply defines C-h and f1 to call isearch-mode-help > > I don't want to make such a change now, and perhaps not ever. Too > many control characters are special already in isearch. (I turned off > one of them a couple of months ago.) What about enabling isearch-mode-help only when the search string is empty? I understand the need to exit the search with C-h when the search string is not empty like in the case of `C-s some-function-name C-h f RET' to call `describe-function' on the found function name. But I don't see the need to exit the search with C-h just after C-s as in `C-s C-h f'. OTOH, I can imagine users (especially novices) after typing C-s and seeing the prompt `I-search: ' wanting the help about what to do next. It is natural for them to type C-h in this case to see the Help buffer from `isearch-mode-help'. -- Juri Linkov http://www.jurta.org/emacs/