From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: isearch-repeat-forward: wrong overlay after failure Date: Mon, 12 May 2008 01:25:58 +0200 Message-ID: <85bq3ce83d.fsf@lola.goethe.zz> References: <87tzh4rd41.fsf@jurta.org> <1D559CDD-D9EE-42D5-94F3-D7D33B9A1326@gmail.com> <85iqxke9ju.fsf@lola.goethe.zz> <48277A86.9070606@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1210548390 31685 80.91.229.12 (11 May 2008 23:26:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 May 2008 23:26:30 +0000 (UTC) Cc: Juri Linkov , David Reitter , 222@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org To: "Lennart Borgman \(gmail\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 12 01:27:06 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JvKwZ-0005Ss-CY for ged-emacs-devel@m.gmane.org; Mon, 12 May 2008 01:27:03 +0200 Original-Received: from localhost ([127.0.0.1]:60436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvKvq-0005EF-Di for ged-emacs-devel@m.gmane.org; Sun, 11 May 2008 19:26:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JvKvl-0005Du-CI for emacs-devel@gnu.org; Sun, 11 May 2008 19:26:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JvKvi-0005B9-6E for emacs-devel@gnu.org; Sun, 11 May 2008 19:26:12 -0400 Original-Received: from [199.232.76.173] (port=55751 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvKvh-0005Az-RF for emacs-devel@gnu.org; Sun, 11 May 2008 19:26:09 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:56609) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JvKvh-0005n1-Jf for emacs-devel@gnu.org; Sun, 11 May 2008 19:26:09 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]:52539) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JvKur-00033h-2A for emacs-pretest-bug@gnu.org; Sun, 11 May 2008 19:25:17 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JvKvd-0005mN-8H for emacs-pretest-bug@gnu.org; Sun, 11 May 2008 19:26:09 -0400 Original-Received: from mail-in-04.arcor-online.net ([151.189.21.44]:39652) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JvKvc-0005mF-Qr for emacs-pretest-bug@gnu.org; Sun, 11 May 2008 19:26:05 -0400 Original-Received: from mail-in-05-z2.arcor-online.net (mail-in-05-z2.arcor-online.net [151.189.8.17]) by mail-in-04.arcor-online.net (Postfix) with ESMTP id A9C1817F65E; Mon, 12 May 2008 01:26:03 +0200 (CEST) Original-Received: from mail-in-13.arcor-online.net (mail-in-13.arcor-online.net [151.189.21.53]) by mail-in-05-z2.arcor-online.net (Postfix) with ESMTP id 4B1BD2DAABA; Mon, 12 May 2008 01:25:36 +0200 (CEST) Original-Received: from lola.goethe.zz (dslb-084-061-098-196.pools.arcor-ip.net [84.61.98.196]) by mail-in-13.arcor-online.net (Postfix) with ESMTP id 66A6423D1E1; Mon, 12 May 2008 01:26:03 +0200 (CEST) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 13F051C408B4; Mon, 12 May 2008 01:26:00 +0200 (CEST) In-Reply-To: <48277A86.9070606@gmail.com> (Lennart Borgman's message of "Mon, 12 May 2008 01:00:22 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Virus-Scanned: ClamAV 0.92.1/7093/Sun May 11 23:37:20 2008 on mail-in-13.arcor-online.net X-Virus-Status: Clean X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:96995 gmane.emacs.pretest.bugs:22274 Archived-At: "Lennart Borgman (gmail)" writes: > David Kastrup wrote: >> David Reitter writes: >> >>> On 11 May 2008, at 17:59, Juri Linkov wrote: >>>> `isearch-repeat-forward' is not an entry point to the incremental >>>> search: >>>> it doesn't activate isearch mode neither deactivates it. IIUC, it was >>>> never intended for non-incremental search, so it doesn't guarantee to >>>> work when isearch mode is not active. >>>> >>>> If you want to find the next occurrence without highlighting it >>>> and without activating isearch mode, you can use the command >>>> `search-forward'. >>> isearch-repeat-forward is interactive, which is why I thought it would >>> be a decent entry point. >> >> Which I would call a reasonable expectation. However, keybindings even >> in specialized keymaps need to be bound to interactive functions. So if >> we have functions that are only intended for use in specialized keymaps, >> there is no way to keep people from binding them to normal keymaps. >> >> So it is sort of a combined documentation/expectation problem. I have >> no good idea how to approach this. > > Maybe an error message that explains/points to an explanation? What should trigger an error here? -- David Kastrup, Kriemhildstr. 15, 44793 Bochum