stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: David Bjergaard
Subject: Re: [STUMP] Stump, Emacs and X selection.
Date: Sat, 21 May 2016 11:52:35 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Milan Zamazal <address@hidden> writes:

>>>>>> "DM" == Dimitri Minaev <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]