Re: [O] capture, attach, link files from web

2013-10-08 Thread Myles English
e...@...net writes: I've often thought it would be nice to link to images in an org file with http: links, then at some arbitrary point in time call a hypothetical org-localize-external-resources command. That command would wget all the external resources, put them somewhere local, and

Re: [O] capture, attach, link files from web

2013-10-08 Thread Myles English
Hi Oleh, ohwoeowho writes: I counter your tip with my own on capturing pdfs. Maybe you'll find some of this stuff useful for your case. My use case is slightly different: I am looking for pictures and want to insert a picture right here to show up in the exported document, and I have a

Re: [O] capture, attach, link files from web

2013-10-08 Thread Eric Abrahamsen
Myles English mylesengl...@gmail.com writes: e...@...net writes: I've often thought it would be nice to link to images in an org file with http: links, then at some arbitrary point in time call a hypothetical org-localize-external-resources command. That command would wget all the external

Re: [O] capture, attach, link files from web

2013-10-08 Thread Oleh
Hi Myles, Just a note, I think that there's an advantage to keep the attachments in sync with org files. This way they're never lost and are available wherever the org file is available. My system is a Firefox plugin that copies to clipboard the file name [D Gawin, L Sanavia] Simulation of

[O] capture, attach, link files from web

2013-10-07 Thread Myles English
Hello, Just thought I would share something I find useful. What the code below does is: 1) prompts for a link to a file on the internet 2) downloads the file 3) attaches the file to the current subtree 4) inserts at the current point a link to the attachment This is useful if (e.g.) you are

Re: [O] capture, attach, link files from web

2013-10-07 Thread Oleh
Hi Myles, I counter your tip with my own on capturing pdfs. Maybe you'll find some of this stuff useful for your case. My capture template captures a pdf file that I have to read. It works for: 1. A pdf file in doc-view mode. 2. Any dired buffer with point on a pdf file. What it does: 1. Create

Re: [O] capture, attach, link files from web

2013-10-07 Thread Eric Abrahamsen
Myles English mylesengl...@gmail.com writes: Hello, Just thought I would share something I find useful. What the code below does is: 1) prompts for a link to a file on the internet 2) downloads the file 3) attaches the file to the current subtree 4) inserts at the current point a link

Re: [O] capture, attach, link files from web

2013-10-07 Thread Myles English
Hi Eric, I am glad you like it. e...@ericabrahamsen.net writes: [..] Rather than sending downloaded files to $TMPDIR, it might be nice to have them just use whatever dir org-attach would have used. I use org-attach from time to time, and notice that everything ends up under ~/org/data/. I

Re: [O] capture, attach, link files from web

2013-10-07 Thread Eric Abrahamsen
Myles English mylesengl...@gmail.com writes: Hi Eric, I am glad you like it. e...@ericabrahamsen.net writes: [..] Rather than sending downloaded files to $TMPDIR, it might be nice to have them just use whatever dir org-attach would have used. I use org-attach from time to time, and