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: isearch-forward and Info-search Date: Fri, 11 Mar 2005 09:28:59 +0200 Organization: JURTA Message-ID: <877jkfq7v0.fsf@jurta.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1110526804 6760 80.91.229.2 (11 Mar 2005 07:40:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Mar 2005 07:40:04 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 11 08:40:04 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D9ek2-0005ax-8w for ged-emacs-devel@m.gmane.org; Fri, 11 Mar 2005 08:39:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D9ez3-0002gS-70 for ged-emacs-devel@m.gmane.org; Fri, 11 Mar 2005 02:54:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D9ey1-0002L7-HG for emacs-devel@gnu.org; Fri, 11 Mar 2005 02:53:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D9exz-0002Ja-PJ for emacs-devel@gnu.org; Fri, 11 Mar 2005 02:53:53 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D9exz-0002Ie-Cs for emacs-devel@gnu.org; Fri, 11 Mar 2005 02:53:51 -0500 Original-Received: from [194.126.101.111] (helo=MXR-5.estpak.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D9egL-0004CM-Kq for emacs-devel@gnu.org; Fri, 11 Mar 2005 02:35:37 -0500 Original-Received: from mail.neti.ee (80-235-33-158-dsl.mus.estpak.ee [80.235.33.158]) by MXR-5.estpak.ee (Postfix) with ESMTP id 12427E2887; Fri, 11 Mar 2005 09:35:33 +0200 (EET) Original-To: "Drew Adams" In-Reply-To: (Drew Adams's message of "Thu, 10 Mar 2005 09:19:21 -0800") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/22.0.50 (gnu/linux) 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34460 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34460 "Drew Adams" writes: > Would you like it if isearch failed before proceeding to the > next Info node? > > I would. I suggested this long ago. It should first wrap, as Richard > suggested. After the entire Info node has been searched, it should > fail. A subsequent invocation should continue through the manual. > > IOW, isearch the node completely first (wrapping), then inform the > user that there are no more occurrences in the node, then continue > on to other nodes. IMO, this behavior is too confusing. Imagine the situation where isearch was wrapped once and after overwrapping it landed again on the first matching point. Now the user sees lazy-highlighted matches below point, and when he types C-s again, isearch skips these matches and continues on to the next node. Even though these matches were visited once, the user may forget this, so it would be confusing when the user expects that C-s will go to the next lazy-highlighted match, but it goes to the next node instead. It's better is to go to the next node after the first failure without wrapping. -- Juri Linkov http://www.jurta.org/emacs/