Jim Osborn wrote:
> On Sun, Dec 14, 2003 at 12:21:05PM +0000, Angus Leeming wrote:
>> Jim Osborn wrote:
>> > Entering "word-find-forward" (without the quotes) directly into
>> > the minibuffer produces a message: "(word-find-forward)" below
>> > the minibuffer. After about five seconds, the message is replaced
>> > by "Font: Default" but nothing has happened, the cursor in the
>> > main window hasn't moved, etc.
>> 
>> "M-x word-find-forward <your word>", perhaps?
> 
> Thanks again, Angus.
> 
> I think I understand now, there's no real communication between the
> Search popup (bound to C-s in the standard emacs.bind), useful for
> doing Find/Replace, and the M-x word-find-forward lfun.  That is,
> they don't share the search string in their respective buffers, it
> seems, as Emacs does.

Think of the dialogs as independent programs, communicating with the 
LyX kernel by posting exactly the same lfuns as you are typing in the 
minibuffer. They aren't independent programs, but we'd like them to 
be. Conceptually, anyway.

> Binding word-find-forward to a key, then starting things rolling
> by typing;
>  M-x word-find-forward <my word><ret>
> allows me to jump to subsequent instances of <my word> by pressing
> the key w-f-f is bound to, so that's handy for searching when
> the cost of all that typing makes it worth it. :)
> 
> I don't suppose there's a way to get that "M-x word-find-forward"
> bit into the minibuffer without having to type it all in, is there?
> I notice the minibuffer doesn't do auto-completion.

There is. If you're using the xforms frontend, use the <tab> key. If 
you're using the qt frontend, use the <right arrow> key. This latter 
has changed in the 1.4.x program to the <tab> key also.

> I tried binding "command-execute word-find-forward" but that just
> seems to pop me into the minibuffer, and when I type <my word>, I
> get (Unknown function: <my word>).  I couldn't seem to find a
> variant with command-sequence that helped.

I'm no expert. Christian seems to have this bind stuff sorted. Maybe 
he can advise?

> Thanks again for all your help, Angus; I really appreciate it.

My pleasure.

-- 
Angus

Reply via email to