John J Foerch <[EMAIL PROTECTED]> writes:
> Nelson Elhage <[EMAIL PROTECTED]> writes:
>> Would it make sense to define this as a function in conkeror so you
>> could just do `conkeror -batch -e 'regain_focus()'`?
>
> Since all I'm really doing is calling the command `unfocus' by other
> means, something in terms of the interactive system would be cleaner.
> Something like emacs' `-f' command switch.  I'm looking into it now.

  I just pushed this change to the repo, so the command line I gave
yesterday can be simplified to:

  conkeror -batch -f unfocus

  Is `f' a good letter?  It is not quite the same as -f in emacs,
because with emacs you can call any function, but in conkeror it is only
for commands.

  I have noticed that using this workaround is not as simple as I had
hoped.  If the active window of conkeror is focused in the wm, I have to
either hit the key twice, or hit it once, and switch to another window
and back before focus is recovered.  I am mystified to the reason for
this behavior--whether it is a mozilla bug or a conkeror bug.

-- 
John Foerch

_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to