On Tue, Dec 16, 2003 at 1:40:49AM +0100, Christian Ridderström wrote: > Furthermore, if you are searching for the same word (let's say gargoyle), > then try typing this the first time: > > M-x word-find-forward gargoyle <Enter> > > which will find you the firs ouccurence. Now, in order to find it again, > type: > M-x <Up> <Enter> > > When you press <Up>, the mini-buffer will be filled with the previous > command again (i.e. word-find-forward gargoyle) so when you press <Enter> > your search command is executed again.
It's even easier than that. If I bind \bind "C-f" "word-find-forward" then simply hitting C-f will find it again. All the pain is in the initial entry, having to type all (or most) of "word-find-forward". I'm using LyX 1.3.2-Qt, and following a hint from Andre, found that <Right-arrow> pops up what looks like an auto-complete function. But it seems, at least in 1.3.2, to just be a list of the possibliities, and I still need to type virtually the whole thing in, after putting the focus back in the minibuffer, as <Right-arrow> puts the focus back in the main screen after poping up the list! I'd expect I could select "word-find-forward" from the list poped up, but <Enter>, <Right-arrow> and <double-click> all do nothing. What's curious, per Andre's remarks, is that the command-execute "word-find-forward" and the "word-find-forward" function executed by the Search popup seem to be completely separate. I can search for "foo" in the Search popup, then M-X w-f-f "bar", and then I can alternately hop from "foo" to "foo" and "bar" to "bar" by pressing either the "Find_Next" popup button, or "C-f". Maybe there's utility in maintaining this separation, but I tend to think it'd be easier overall if the two mechanisms shared their strings. It'd sure make entering the initial w-f-f string easier! Thanks for all the insights. Jim