[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: isearch hooks
From: |
Richard Stallman |
Subject: |
Re: isearch hooks |
Date: |
Tue, 22 Jun 2004 19:17:47 -0400 |
In the initial proposal the search scope is restricted to the current
Info node, and wrapping is going to the next Info node with the search
result.
That would be a coherent kind of extension, but we would
not want to call it "wrapping". "Wrapping" means going up to the top
and searching the same material.
In the solution you suggested with `isearch-search-fun' the search
scope is the whole Info manual. But even in this case a wrapping
hook is still needed: it should wrap the failed search to the
top/final Info node.
I agree.
There were some problems with this approach: lazy highlighting uses
the same function `isearch-search-fun' to highlight other matches.
It could well be that the existing hook isearch-search-fun is not adequate.
An additional hook for searching other places, before "failing" but
not used by lazy highlighting, could be useful.
There are some inconveniences: the user can't delete the last input
by DEL and can't return the point to the search beginning by cancelling
the search with C-g.
Can you design the hooks to fix all these problems?
- Re: query-replace-interactive not documented, Juri Linkov, 2004/06/08
- Re: query-replace-interactive not documented, Juri Linkov, 2004/06/11
- Re: query-replace-interactive not documented, Richard Stallman, 2004/06/11
- Re: isearch hooks (was: query-replace-interactive not documented), Richard Stallman, 2004/06/18
- Re: isearch hooks, Juri Linkov, 2004/06/19
- Re: isearch hooks, Richard Stallman, 2004/06/20
- Re: isearch hooks, Juri Linkov, 2004/06/21
- Re: isearch hooks,
Richard Stallman <=
- Re: isearch hooks, Juri Linkov, 2004/06/25
- Re: isearch hooks, Richard Stallman, 2004/06/27
- Re: isearch hooks, Juri Linkov, 2004/06/27
- Re: isearch hooks, Richard Stallman, 2004/06/28
- Re: isearch hooks (was: query-replace-interactive not documented), Stefan, 2004/06/28
- Re: isearch hooks, Juri Linkov, 2004/06/28