From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: LENNART BORGMAN Newsgroups: gmane.emacs.devel Subject: Re: Patch that adds help to isearch Date: Tue, 29 Nov 2005 11:23:11 +0100 Message-ID: <36dd4d936dd9fb.36dd9fb36dd4d9@net.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1133272629 22476 80.91.229.2 (29 Nov 2005 13:57:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Nov 2005 13:57:09 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 29 14:57:03 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Eh46t-0005jt-6P for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2005 12:57:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eh46s-0007WW-0w for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2005 06:57:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Eh2ds-0008PC-Tl for emacs-devel@gnu.org; Tue, 29 Nov 2005 05:23:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Eh2dq-0008Ot-74 for emacs-devel@gnu.org; Tue, 29 Nov 2005 05:23:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eh2dp-0008Oe-8B for emacs-devel@gnu.org; Tue, 29 Nov 2005 05:23:17 -0500 Original-Received: from [130.235.208.46] (helo=piraten.student.lu.se) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Eh2dl-0007dG-K9; Tue, 29 Nov 2005 05:23:14 -0500 Original-Received: from net.lu.se (localhost [127.0.0.1]) by piraten.student.lu.se (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0IQP0028ZOUNOG@piraten.student.lu.se>; Tue, 29 Nov 2005 11:23:11 +0100 (MET) Original-Received: from [212.209.42.132] by piraten.student.lu.se (mshttpd); Tue, 29 Nov 2005 11:23:11 +0100 Original-To: Juri Linkov X-Mailer: iPlanet Messenger Express 5.2 HotFix 1.14 (built Mar 18 2003) Content-language: sv Content-disposition: inline X-Accept-Language: sv Priority: normal 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:46760 Archived-At: From: Juri Linkov > 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'. Thanks for the explanation about why C-h is needed for an experienced user. I think however that enabling the help only for the state when the search string is empty would be confusing. I would prefer a defcustom to enable/disable isearch-mode-help on C-h instead. Could that satisfy experienced users?