From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: isearch-repeat-forward: wrong overlay after failure Date: Mon, 12 May 2008 01:00:22 +0200 Message-ID: <48277A86.9070606@gmail.com> References: <87tzh4rd41.fsf@jurta.org> <1D559CDD-D9EE-42D5-94F3-D7D33B9A1326@gmail.com> <85iqxke9ju.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1210546856 28327 80.91.229.12 (11 May 2008 23:00:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 May 2008 23:00:56 +0000 (UTC) Cc: Juri Linkov , David Reitter , 222@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 12 01:01:32 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 1JvKXr-00006r-K4 for ged-emacs-devel@m.gmane.org; Mon, 12 May 2008 01:01:31 +0200 Original-Received: from localhost ([127.0.0.1]:57675 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvKX8-0003fJ-Vy for ged-emacs-devel@m.gmane.org; Sun, 11 May 2008 19:00:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JvKX4-0003f4-N6 for emacs-devel@gnu.org; Sun, 11 May 2008 19:00:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JvKX2-0003es-CS for emacs-devel@gnu.org; Sun, 11 May 2008 19:00:41 -0400 Original-Received: from [199.232.76.173] (port=35049 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvKX2-0003ep-5v for emacs-devel@gnu.org; Sun, 11 May 2008 19:00:40 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:55087) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JvKX1-0000vH-Tg for emacs-devel@gnu.org; Sun, 11 May 2008 19:00:40 -0400 Original-Received: from mail.gnu.org ([199.232.76.166]:51339 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JvKWB-0002La-5o for emacs-pretest-bug@gnu.org; Sun, 11 May 2008 18:59:47 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JvKWy-0000ul-0z for emacs-pretest-bug@gnu.org; Sun, 11 May 2008 19:00:39 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]:35939) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JvKWs-0000to-Ev; Sun, 11 May 2008 19:00:30 -0400 Original-Received: from c83-254-150-27.bredband.comhem.se ([83.254.150.27]:62107 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JvKWq-0005ME-5q; Mon, 12 May 2008 01:00:29 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <85iqxke9ju.fsf@lola.goethe.zz> X-Antivirus: avast! (VPS 080511-0, 2008-05-11), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.150.27 X-ACL-Warn: Too high rate of unknown addresses received from you X-Scan-Result: No virus found in message 1JvKWq-0005ME-5q. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1JvKWq-0005ME-5q e7ae0b2db7656a2e397bf684f2fe74cc X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:96990 gmane.emacs.pretest.bugs:22273 Archived-At: 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?