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

Dimitri Minaev <[email protected]>
Newsgroups gmane.comp.window-managers.stumpwm.devel
Message-ID <CANTUpDA8A+y-afbP-H6oz3JOP_Or9fv4N3JticYtVMDxLNEJCA@mail.gmail.com>
Milan,

Thank you very much for the idea. It doesn't seem to be general
enough, but it might work with Firefox. I planned to extend that
command to support other applications. So, in Thunderbird we can get a
link to the current message with Thunderlink extension. In Okular the
current document and the page number may be obtained via dbus -- an
awkward but sometimes useful contraption. That Stumpwm command works
with any program supporting X selections -- xterm, mutt, vim, Skype,
etc. They may have different ways to get the metadata, if any, but the
selected piece of text will be there, available for any other program.
I'm not yet sure if the same can be done using org-protocol.
Thunderbird does support it, but Okular, from what I can tell, does
not.


On 13 May 2016 at 22:11, Milan Zamazal <[email protected]> wrote:
>>>>>> "DM" == Dimitri Minaev <[email protected]> writes:
>
>     DM> that would create a note in Org-mode and paste the current
>     DM> selection and some other info taken from Firefox -- the URL and
>     DM> the tab title.
>
> Off-topic, but maybe still useful for someone here: This can be done
> without StumpWM, just with Emacs and Firefox:
>
> https://github.com/alphapapa/org-protocol-capture-html
>
>
>
> _______________________________________________
> Stumpwm-devel mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/stumpwm-devel



-- 
With best regards,
Dimitri Minaev
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.