all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: David Reitter <david.reitter@gmail.com>
Cc: Juri Linkov <juri@jurta.org>,
	emacs-pretest-bug@gnu.org, 222@emacsbugs.donarmstrong.com
Subject: Re: isearch-repeat-forward: wrong overlay after failure
Date: Mon, 12 May 2008 00:54:29 +0200	[thread overview]
Message-ID: <85iqxke9ju.fsf@lola.goethe.zz> (raw)
In-Reply-To: <1D559CDD-D9EE-42D5-94F3-D7D33B9A1326@gmail.com> (David Reitter's message of "Sun, 11 May 2008 22:48:58 +0100")

David Reitter <david.reitter@gmail.com> 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




  reply	other threads:[~2008-05-11 22:54 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-11 15:52 isearch-repeat-forward: wrong overlay after failure David Reitter
2008-05-11 16:59 ` Juri Linkov
2008-05-11 21:48   ` bug#222: " David Reitter
2008-05-11 21:48   ` David Reitter
2008-05-11 22:54     ` David Kastrup [this message]
2008-05-11 23:00       ` bug#222: " Lennart Borgman (gmail)
2008-05-11 23:00       ` Lennart Borgman (gmail)
2008-05-11 23:25         ` David Kastrup
2008-05-11 23:59           ` Juri Linkov
2008-05-12  7:21             ` David Reitter
2008-05-12  7:21             ` bug#222: " David Reitter
2008-05-12  7:56               ` David Reitter
2008-05-13  0:30                 ` Juri Linkov
2008-05-12  7:56               ` David Reitter
2008-05-11 23:59           ` Juri Linkov
2008-05-11 23:25         ` David Kastrup
2008-05-12 14:41       ` Stefan Monnier
2011-07-09 17:39         ` bug#222: " Glenn Morris
2008-05-12 14:41       ` Stefan Monnier
2008-05-11 22:54     ` David Kastrup

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85iqxke9ju.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=222@emacsbugs.donarmstrong.com \
    --cc=david.reitter@gmail.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=juri@jurta.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.