Re: [STUMP] Stump, Emacs and X selection.
Dimitri Minaev <[email protected]>
| Newsgroups | gmane.comp.window-managers.stumpwm.devel |
|---|---|
| Message-ID | <CANTUpDBg3VJNQ1XGk-VQvLNTfyepPpaZwXFrg_ZEOxBMKsOQ7Q@mail.gmail.com> |
David, It's a deal -- I add the code to the contribs, and you fix the problem with non-latin characters :) On 17 May 2016 at 17:25, David Bjergaard <[email protected]> wrote: > Hi Dimitri, > > I'm excited to hear that you are going to extend this beyond firefox. When > you're ready, feel free to open a PR with stumpwm-contrib and we can add it > there. > > David > > > Dimitri Minaev <[email protected]> writes: > >> 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