Jean Louis <bugs@gnu.support> writes:
> I can see that Python is reading QUTE FIFO and then sending commands
> to browser from there.

Yes, but QUTE_FIFO variable is only available for the userscripts called
from inside qutebrowser. Probably, there is some way to obtain FIFO
location, but I am not aware about it.

> Then I could instruct Emacs to do the same, do you think so? Instead
> of invoking command from qutebrowser maybe I could invoke it from
> Emacs?

You can indeed send commands to qutebrowser from Emacs.
Here is an example how I did it:
https://github.com/yantar92/org-capture-ref/blob/master/org-capture-ref.el#L754

> I could make X Window Manager keybinding that invokes Emacs that sends
> command to qutebrowser to obtain information.

I don't think that you can easily obtain information that way. AFAIK,
FIFO is only for sending commands.

On the other hand, there is in-progress plugin API. That should be more
powerful once released. I think it is usable even now, but there is no
official documentation yet (which didn't stop some people from using it).

Best,
Ihor


Reply via email to