Re: Possibility to copy text outside EMACS and send it to orgmode document

2021-01-09 Thread TRS-80
On 2021-01-07 01:29, Gerardo Moro wrote: Thanks. Then why is in https://orgmode.org/worg/org-contrib/org-protocol.html#installation this confusing bit? INSTALLATION * To load org-protocol.el add the following to your .emacs: (server-start) (add-to-list 'load-path

Re: Possibility to copy text outside EMACS and send it to orgmode document

2021-01-06 Thread Ihor Radchenko
Gerardo Moro writes: > Thanks. Then why is in > https://orgmode.org/worg/org-contrib/org-protocol.html#installation this > confusing bit? Here is more detailed instruction: https://github.com/alphapapa/org-protocol-capture-html#org-protocol-instructions

Re: Possibility to copy text outside EMACS and send it to orgmode document

2021-01-06 Thread Gerardo Moro
Thanks. Then why is in https://orgmode.org/worg/org-contrib/org-protocol.html#installation this confusing bit? Installation - To load org-protocol.el add the following to your .emacs: (server-start) (add-to-list 'load-path "~/path/to/org/protocol/") (require 'org-protocol)

Re: Possibility to copy text outside EMACS and send it to orgmode document

2021-01-06 Thread Tom Gillespie
It is built into the core org distribution.

Re: Possibility to copy text outside EMACS and send it to orgmode document

2021-01-06 Thread Gerardo Moro
Thanks. I have been trying to set org-protocol up, but... I can't find where this package is (silly, innit?). Where is the official org-protocol page where to download it? Thanks! El jue, 7 ene 2021 a las 7:10, Ihor Radchenko () escribió: > Gerardo Moro writes: > > > Thanks, guys. > > I'll have

Re: Possibility to copy text outside EMACS and send it to orgmode document

2021-01-06 Thread Ihor Radchenko
Gerardo Moro writes: > Thanks, guys. > I'll have a look. > I understand that using org-protocol in combo with org-capture I would have > to visit the Emacs window for capturing the copied text or not? > Because this is crucial, as I aim to avoid this step. > Thanks! If your capture template has

Re: Possibility to copy text outside EMACS and send it to orgmode document

2021-01-06 Thread Gerardo Moro
This is very cool, thanks, and I very much use Automator. I will have a look later, but it seems that you have to move focus to Emacs, so it does not directly send something to a orgmode document straight from the copy action in the browser. El mié, 6 ene 2021 a las 17:56, Tim Visher () escribió:

Re: Possibility to copy text outside EMACS and send it to orgmode document

2021-01-06 Thread Bob Newell
I've done similar sorts of things in Linux with xdotool and xclip. These are very useful tools although a bit fiddly in their usage. -- Bob Newell Honolulu, Hawai`i - Via GNU/Linux/Emacs/Gnus/BBDB

Re: Possibility to copy text outside EMACS and send it to orgmode document

2021-01-06 Thread Juan Manuel Macías
Gerardo Moro writes: > Basically that: as I copy (Control-C) text from the browser (Chrome), > I would like those copied sentences to be sent to a ordered list in an > OrgMode document: > > - copied text 1 > - copied text 2 > - etc. > > Any ideas? This would be very useful. > Thanks! I don't

Re: Possibility to copy text outside EMACS and send it to orgmode document

2021-01-06 Thread Maxim Nikulin
On 06/01/2021 13:41, Gerardo Moro wrote: Basically that: as I copy (Control-C) text from the browser (Chrome), I would like those copied sentences to be sent to a ordered list in an OrgMode document: - copied text 1 - copied text 2 - etc. Any ideas? This would be very useful. To add to

Re: Possibility to copy text outside EMACS and send it to orgmode document

2021-01-06 Thread Tim Visher
On Wed, Jan 6, 2021 at 1:43 AM Gerardo Moro wrote: > Basically that: as I copy (Control-C) text from the browser (Chrome), I > would like those copied sentences to be sent to a ordered list in an > OrgMode document: > > - copied text 1 > - copied text 2 > - etc. > > Any ideas? This would be very

Re: Possibility to copy text outside EMACS and send it to orgmode document

2021-01-05 Thread Gerardo Moro
Thanks, guys. I'll have a look. I understand that using org-protocol in combo with org-capture I would have to visit the Emacs window for capturing the copied text or not? Because this is crucial, as I aim to avoid this step. Thanks! El mié, 6 ene 2021 a las 8:49, Tom Gillespie () escribió: >

Re: Possibility to copy text outside EMACS and send it to orgmode document

2021-01-05 Thread Tom Gillespie
You can achieve something a bit like this using org-protocol-capture-html https://github.com/alphapapa/org-protocol-capture-html. I'm not entirely sure whether you can bind the equivalent of a hook in javascript to run every time you C-c, but if you can, then it should be possible to match this

Re: Possibility to copy text outside EMACS and send it to orgmode document

2021-01-05 Thread Samuel Wales
there is a tricky org-protocol thing you can do with emacsclient and a capture template, but i suspect that chrome has an extension just like firefox does called org-capture that does some of that in the browser itself. in firefox-esr, i select text and click the unicorn icon. you will have to