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: Suggestions for the temporary windows used from the minibuffer Date: Tue, 09 Aug 2005 18:24:32 +0200 Message-ID: <42F8D8C0.6080904@student.lu.se> References: <42F34A82.9070703@student.lu.se> <42F3F3D7.7060506@student.lu.se> <42F68B76.7030109@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1123605968 29668 80.91.229.2 (9 Aug 2005 16:46:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Aug 2005 16:46:08 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 09 18:46:00 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E2XBy-0006bu-P8 for ged-emacs-devel@m.gmane.org; Tue, 09 Aug 2005 18:43:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2XF3-0005Fa-1y for ged-emacs-devel@m.gmane.org; Tue, 09 Aug 2005 12:46:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E2X82-0002P6-6a for emacs-devel@gnu.org; Tue, 09 Aug 2005 12:39:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E2X7p-0002Ih-9R for emacs-devel@gnu.org; Tue, 09 Aug 2005 12:38:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2X7p-0002Fe-6x for emacs-devel@gnu.org; Tue, 09 Aug 2005 12:38:49 -0400 Original-Received: from [81.228.8.164] (helo=pne-smtpout2-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E2X7y-00020U-3J; Tue, 09 Aug 2005 12:38:58 -0400 Original-Received: from [192.168.123.121] (83.249.204.33) by pne-smtpout2-sn2.hy.skanova.net (7.2.060.1) id 42B94E290075CB12; Tue, 9 Aug 2005 18:24:32 +0200 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Original-To: rms@gnu.org In-Reply-To: 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:41800 Richard M. Stallman wrote: > + (define-key map [(f1)] 'isearch-help-for-help) > + (define-key map "\C-h" 'isearch-mode-help) > + (define-key map [(meta prior)] 'isearch-scroll-other-down) > + (define-key map [(meta next)] 'isearch-scroll-other-up) > + (define-key map [(prior)] 'isearch-scroll-other-down) > + (define-key map [(next)] 'isearch-scroll-other-up) > >I think there are already too many useful keys that fail to exit >isearch as I expect them to. (Yesterday the fact that M-c is special >in isearch caused me trouble.) So I won't say yes to this. > >I might perhaps say yes to part of it, after some discussion. > > I missed that you could exit isearch that way. Then I would for sure drop 5 and 6 and keep 1-4 to be able to give help in isearch. Some people use 1 and some 2. 3 and 4 are needed to be able to scroll the help and are probably expected to do that by many users. > +(defun isearch-mode-help-when-active() > + (interactive) > >What is this function for? What job does it do? > It gives help when doing an isearch and is used by the keys above. There are many keys to use in isearch mode so I think it is needed. I hesitated a bit but then I decided to implement it in two steps: 1) Typing f1 or C-h starts the usual help available on this keys. 2) However this help now has an additional entry that is available by typing a certain character (I choose ?x at the moment). This brings up the special help describing all the keys in isearch. This additional entry is mentioned first, before the normal entries since you probably want this one first. Well, it is just a suggestion and trying it out is perhaps the best to see how it works. My rational for doing it this way was that many users might find it convenient to just check for one key the same way as they are used to while other wants to see all keys that are special to isearch. Might be overkill but it is easy to use and isearch is a great tool that deserves good help functionality.