From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.bugs Subject: bug#222: isearch-repeat-forward: wrong overlay after failure Date: Mon, 12 May 2008 00:54:29 +0200 Message-ID: <85iqxke9ju.fsf__19205.4310384721$1210549233$gmane$org@lola.goethe.zz> References: <87tzh4rd41.fsf@jurta.org> <1D559CDD-D9EE-42D5-94F3-D7D33B9A1326@gmail.com> Reply-To: David Kastrup , 222@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1210549189 965 80.91.229.12 (11 May 2008 23:39:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 May 2008 23:39:49 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, 222@emacsbugs.donarmstrong.com To: David Reitter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 12 01:40:25 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JvL9U-0008ID-Vq for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 May 2008 01:40:25 +0200 Original-Received: from localhost ([127.0.0.1]:58914 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvL8m-0001W5-6F for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 May 2008 19:39:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JvKhj-0007Gj-Nn for bug-gnu-emacs@gnu.org; Sun, 11 May 2008 19:11:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JvKhi-0007FK-6H for bug-gnu-emacs@gnu.org; Sun, 11 May 2008 19:11:43 -0400 Original-Received: from [199.232.76.173] (port=39268 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvKhh-0007FE-Pl for bug-gnu-emacs@gnu.org; Sun, 11 May 2008 19:11:41 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52831) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JvKhh-00033U-9W for bug-gnu-emacs@gnu.org; Sun, 11 May 2008 19:11:41 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4BNBdZT025307; Sun, 11 May 2008 16:11:39 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m4BN03w5022727; Sun, 11 May 2008 16:00:03 -0700 X-Loop: don@donarmstrong.com Resent-From: David Kastrup Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 11 May 2008 23:00:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 222 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 222-submit@emacsbugs.donarmstrong.com id=B222.121054647622015 (code B ref 222); Sun, 11 May 2008 23:00:02 +0000 Original-Received: (at 222) by emacsbugs.donarmstrong.com; 11 May 2008 22:54:36 +0000 Original-Received: from mail-in-04.arcor-online.net (mail-in-04.arcor-online.net [151.189.21.44]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4BMsWok022009 for <222@emacsbugs.donarmstrong.com>; Sun, 11 May 2008 15:54:34 -0700 Original-Received: from mail-in-08-z2.arcor-online.net (mail-in-08-z2.arcor-online.net [151.189.8.20]) by mail-in-04.arcor-online.net (Postfix) with ESMTP id D0ECF17F63E; Mon, 12 May 2008 00:54:31 +0200 (CEST) Original-Received: from mail-in-13.arcor-online.net (mail-in-13.arcor-online.net [151.189.21.53]) by mail-in-08-z2.arcor-online.net (Postfix) with ESMTP id C4208212FAE; Mon, 12 May 2008 00:55:26 +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 93278225121; Mon, 12 May 2008 00:54:31 +0200 (CEST) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 263A61C460C9; Mon, 12 May 2008 00:54:29 +0200 (CEST) In-Reply-To: <1D559CDD-D9EE-42D5-94F3-D7D33B9A1326@gmail.com> (David Reitter's message of "Sun, 11 May 2008 22:48:58 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Virus-Scanned: ClamAV 0.92.1/7092/Sun May 11 22:50:33 2008 on mail-in-13.arcor-online.net X-Virus-Status: Clean X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sun, 11 May 2008 19:11:43 -0400 X-Mailman-Approved-At: Sun, 11 May 2008 19:39:35 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17966 Archived-At: 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. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum