From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: Extending paste to auto-archive a copied image Date: Sat, 12 Feb 2011 16:22:26 -0600 Message-ID: References: <87sjvuvlhx.fsf@gnu.org> <87bp2htmwk.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=33549 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PoNrJ-0004Ty-9E for emacs-orgmode@gnu.org; Sat, 12 Feb 2011 17:22:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PoNrH-0004ll-WE for emacs-orgmode@gnu.org; Sat, 12 Feb 2011 17:22:29 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:35327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PoNrH-0004lT-SA for emacs-orgmode@gnu.org; Sat, 12 Feb 2011 17:22:27 -0500 Received: by iyi20 with SMTP id 20so3935119iyi.0 for ; Sat, 12 Feb 2011 14:22:26 -0800 (PST) In-Reply-To: <87bp2htmwk.fsf@altern.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: Org Mode It'd be an awesome feature IMO :) Thanks! Marcelo. On Sat, Feb 12, 2011 at 5:25 AM, Bastien wrot= e: > Hi Marcelo, > > Marcelo de Moraes Serpa writes: > >> What I am suggesting is, somehow hook into the moment the file is >> pasted/dragged and run some code. > > This would require code in Emacs. =A0I'm not familiar at all with Emacs > ability to recognize drag'n droped files (as I don't use drag'n drop) > but perhaps other do and might suggest how to set a hook when Emacs > copies external content/files/whatever from X. > > -- > =A0Bastien >