From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Drag and drop, pasting images and files Date: Mon, 24 Feb 2014 11:52:09 -0600 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8ff250426c1fb704f32aa1e1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHzhS-00020I-Bj for emacs-orgmode@gnu.org; Mon, 24 Feb 2014 12:52:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHzhK-0005l3-Cs for emacs-orgmode@gnu.org; Mon, 24 Feb 2014 12:52:18 -0500 Received: from mail-oa0-x22e.google.com ([2607:f8b0:4003:c02::22e]:65360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHzhK-0005kj-7h for emacs-orgmode@gnu.org; Mon, 24 Feb 2014 12:52:10 -0500 Received: by mail-oa0-f46.google.com with SMTP id l6so780567oag.19 for ; Mon, 24 Feb 2014 09:52:09 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode --e89a8ff250426c1fb704f32aa1e1 Content-Type: text/plain; charset=ISO-8859-1 I actually posted it here: https://github.com/railwaycat/emacs-mac-port/issues/43 Emacs + orgmode is the best combo for everything related to information management. I've tried Evernote a couple of times, but the workflow feels slow and awkward, no matter how polished they make the app. One things that I miss is a fast workflow for "embedding" images and files in my org files, though. See the ticket description for more details. I'd be willing to actually take the time and try to implement it, could be a good learning experience. Does anyone else think these new features would be a nice addition? I want to make sure it's not possible with a simpler approach as well, so if you know a similar workflow is possible, please share. --e89a8ff250426c1fb704f32aa1e1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I actually posted it here:


Emacs += orgmode is the best combo for everything related to information management= . I've tried Evernote a couple of times, but the workflow feels slow an= d awkward, no matter how polished they make the app.

One things that I miss is a fast workflow for "emb= edding" images and files in my org files, though. See the ticket descr= iption for more details.

I'd be willing to act= ually take the time and try to implement it, could be a good learning exper= ience.=A0

Does anyone else think these new features would be a ni= ce addition?=A0

I want to make sure it's not p= ossible with a simpler approach as well, so if you know a similar workflow = is possible, please share.


--e89a8ff250426c1fb704f32aa1e1-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleh Subject: Re: Drag and drop, pasting images and files Date: Mon, 24 Feb 2014 19:01:18 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHzqC-0005xU-7M for emacs-orgmode@gnu.org; Mon, 24 Feb 2014 13:01:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHzqB-0000wx-BF for emacs-orgmode@gnu.org; Mon, 24 Feb 2014 13:01:20 -0500 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:33945) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHzqB-0000wn-4V for emacs-orgmode@gnu.org; Mon, 24 Feb 2014 13:01:19 -0500 Received: by mail-wi0-f172.google.com with SMTP id e4so3425813wiv.5 for ; Mon, 24 Feb 2014 10:01:18 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode > I actually posted it here: > > https://github.com/railwaycat/emacs-mac-port/issues/43 > > Emacs + orgmode is the best combo for everything related to information > management. I've tried Evernote a couple of times, but the workflow feels > slow and awkward, no matter how polished they make the app. > > One things that I miss is a fast workflow for "embedding" images and files > in my org files, though. See the ticket description for more details. > > I'd be willing to actually take the time and try to implement it, could be a > good learning experience. > > Does anyone else think these new features would be a nice addition? > > I want to make sure it's not possible with a simpler approach as well, so if > you know a similar workflow is possible, please share. > > Image drag and drop is already implemented at org-mode/contrib/lisp/org-download.el. All you have to do is: (require 'org-download) It also does screenshots. Any issues can be reported to https://github.com/abo-abo/org-download/issues regards, Oleh From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: Drag and drop, pasting images and files Date: Tue, 25 Feb 2014 11:20:30 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=14dae9399b1314a76c04f33e4e25 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WILgG-0005tc-Ip for emacs-orgmode@gnu.org; Tue, 25 Feb 2014 12:20:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WILgF-000400-5T for emacs-orgmode@gnu.org; Tue, 25 Feb 2014 12:20:32 -0500 Received: from mail-oa0-x229.google.com ([2607:f8b0:4003:c02::229]:46363) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WILgE-0003zs-VM for emacs-orgmode@gnu.org; Tue, 25 Feb 2014 12:20:31 -0500 Received: by mail-oa0-f41.google.com with SMTP id o6so754409oag.28 for ; Tue, 25 Feb 2014 09:20:30 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Oleh Cc: Org Mode --14dae9399b1314a76c04f33e4e25 Content-Type: text/plain; charset=ISO-8859-1 Niiice! Thanks for sharing Oleh. Does anyone know if a paste hook would be possible for the exact same use case? On Mon, Feb 24, 2014 at 12:01 PM, Oleh wrote: > > I actually posted it here: > > > > https://github.com/railwaycat/emacs-mac-port/issues/43 > > > > Emacs + orgmode is the best combo for everything related to information > > management. I've tried Evernote a couple of times, but the workflow feels > > slow and awkward, no matter how polished they make the app. > > > > One things that I miss is a fast workflow for "embedding" images and > files > > in my org files, though. See the ticket description for more details. > > > > I'd be willing to actually take the time and try to implement it, could > be a > > good learning experience. > > > > Does anyone else think these new features would be a nice addition? > > > > I want to make sure it's not possible with a simpler approach as well, > so if > > you know a similar workflow is possible, please share. > > > > > > Image drag and drop is already implemented at > org-mode/contrib/lisp/org-download.el. > All you have to do is: > > (require 'org-download) > > It also does screenshots. > Any issues can be reported to > https://github.com/abo-abo/org-download/issues > > regards, > Oleh > > --14dae9399b1314a76c04f33e4e25 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Niiice! Thanks for sharing Oleh.

Does a= nyone know if a paste hook would be possible for the exact same use case?



On Mon, Feb 24, 2014 at 12:01 PM, Oleh <ohwoeowho@gmail.com> wrote:
> I actually posted it here:
>
> https://github.com/railwaycat/emacs-mac-port/issues/43 >
> Emacs + orgmode is the best combo for everything related to informatio= n
> management. I've tried Evernote a couple of times, but the workflo= w feels
> slow and awkward, no matter how polished they make the app.
>
> One things that I miss is a fast workflow for "embedding" im= ages and files
> in my org files, though. See the ticket description for more details.<= br> >
> I'd be willing to actually take the time and try to implement it, = could be a
> good learning experience.
>
> Does anyone else think these new features would be a nice addition? >
> I want to make sure it's not possible with a simpler approach as w= ell, so if
> you know a similar workflow is possible, please share.
>
>

Image drag and drop is = already implemented at
org-mode/contrib/lisp/org-download.el.
All you have to do is:

=A0 =A0 (require 'org-download)

It also does screenshots.
Any issues can be reported to https://github.com/abo-abo/org-download/iss= ues

regards,
Oleh


--14dae9399b1314a76c04f33e4e25-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleh Subject: Re: Drag and drop, pasting images and files Date: Tue, 25 Feb 2014 18:28:50 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WILoP-0006fn-Qd for emacs-orgmode@gnu.org; Tue, 25 Feb 2014 12:28:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WILoK-0006he-7V for emacs-orgmode@gnu.org; Tue, 25 Feb 2014 12:28:57 -0500 Received: from mail-wg0-x230.google.com ([2a00:1450:400c:c00::230]:48637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WILoJ-0006hM-RO for emacs-orgmode@gnu.org; Tue, 25 Feb 2014 12:28:52 -0500 Received: by mail-wg0-f48.google.com with SMTP id b13so689032wgh.19 for ; Tue, 25 Feb 2014 09:28:50 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Marcelo de Moraes Serpa Cc: Org Mode > Niiice! Thanks for sharing Oleh. > > Does anyone know if a paste hook would be possible for the exact same use > case? > `org-download-yank` will insert the image based on the address in the kill ring. Address can be a path to a local file (remember "0 w" in `dired`) or a http link. regards, Oleh From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: Drag and drop, pasting images and files Date: Tue, 25 Feb 2014 12:07:29 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2e1901e89aa04f33ef6f0 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIMPj-00082P-A6 for emacs-orgmode@gnu.org; Tue, 25 Feb 2014 13:07:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIMPi-0004Q9-Hj for emacs-orgmode@gnu.org; Tue, 25 Feb 2014 13:07:31 -0500 Received: from mail-oa0-x22f.google.com ([2607:f8b0:4003:c02::22f]:51178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIMPi-0004Py-Cd for emacs-orgmode@gnu.org; Tue, 25 Feb 2014 13:07:30 -0500 Received: by mail-oa0-f47.google.com with SMTP id h16so818806oag.34 for ; Tue, 25 Feb 2014 10:07:29 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Oleh Cc: Org Mode --001a11c2e1901e89aa04f33ef6f0 Content-Type: text/plain; charset=ISO-8859-1 That's simply awesome. I'll test it out. Thanks Oleh. On Tue, Feb 25, 2014 at 11:28 AM, Oleh wrote: > > Niiice! Thanks for sharing Oleh. > > > > Does anyone know if a paste hook would be possible for the exact same use > > case? > > > > `org-download-yank` will insert the image based on the address in the kill > ring. > Address can be a path to a local file (remember "0 w" in `dired`) > or a http link. > > regards, > Oleh > --001a11c2e1901e89aa04f33ef6f0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
That's simply awesome. I'll test it out. Thanks Ol= eh.


On T= ue, Feb 25, 2014 at 11:28 AM, Oleh <ohwoeowho@gmail.com> w= rote:
> Niiice! Thanks for shar= ing Oleh.
>
> Does anyone know if a paste hook would be possible for the exact same = use
> case?
>

`org-download-yank` will insert the image based on the address in the= kill ring.
Address can be a path to a local file (remember "0 w" in `dired`)=
or a http link.

regards,
Oleh

--001a11c2e1901e89aa04f33ef6f0-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Drag and drop, pasting images and files Date: Wed, 26 Feb 2014 14:05:47 +0800 Message-ID: <87bnxuh0hw.fsf@ericabrahamsen.net> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIXar-0004ZB-F8 for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 01:03:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIXaj-0001eW-Sd for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 01:03:45 -0500 Received: from plane.gmane.org ([80.91.229.3]:49401) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIXaj-0001eR-Mo for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 01:03:37 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WIXae-0006h0-52 for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 07:03:32 +0100 Received: from 111.197.162.167 ([111.197.162.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Feb 2014 07:03:32 +0100 Received: from eric by 111.197.162.167 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Feb 2014 07:03:32 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Marcelo de Moraes Serpa writes: > That's simply awesome. I'll test it out. Thanks Oleh. > > > On Tue, Feb 25, 2014 at 11:28 AM, Oleh wrote: > > > Niiice! Thanks for sharing Oleh. > > > > Does anyone know if a paste hook would be possible for the > exact same use > > case? > > > > `org-download-yank` will insert the image based on the address in > the kill ring. > Address can be a path to a local file (remember "0 w" in `dired`) > or a http link. You can also just call org-insert-link with a "C-u" prefix. That will give you the regular find-file interface, and then insert a link to whatever file you find. Very useful!