Re: [STUMP] Stump, Emacs and X selection.

David Bjergaard <[email protected]>
Newsgroups gmane.comp.window-managers.stumpwm.devel
Message-ID <[email protected]>
Milan Zamazal <[email protected]> writes:

>>>>>> "DM" == Dimitri Minaev <[email protected]> writes:
>
>     DM> I don't understand how the app side is supposed to work, except
>     DM> for the obvious cases, like web browsers. Is it possible to
>     DM> trigger org-protocol requests from Okular, LibreOffice, xterm or
>     DM> another arbitrary application, like CoolReader?
>
> I don't know, basically the application must be able to run emacsclient.
> But I assume your idea was to use X selection instead and then you can
> simply invoke emacsclient from Stumpwm, right?
I'm not sure if this is how the firefox plugin does it, but remember that you
can do:
> emacsclient -e "(elisp expr)"
so from the stumpwm side, you just have to construct the right elisp expressions
and send them to emacsclient for their side-effects.  This might be a bit
cleaner than using stumpwm to send emacs the key presses.  Then you just have
to used stumpwm for interacting with non-extension aware apps (like skype
converstations).  You should be able to pull metadata out of the windows from
stumpwm.  This idea has a lot of potential! I hope you pursue it.

    David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.