From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Extending paste to auto-archive a copied image Date: Sat, 12 Feb 2011 12:25:43 +0100 Message-ID: <87bp2htmwk.fsf@altern.org> References: <87sjvuvlhx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=49607 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PoFJH-00031M-Of for emacs-orgmode@gnu.org; Sat, 12 Feb 2011 08:14:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PoFJG-000231-7l for emacs-orgmode@gnu.org; Sat, 12 Feb 2011 08:14:47 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:51815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PoFJF-000228-VX for emacs-orgmode@gnu.org; Sat, 12 Feb 2011 08:14:46 -0500 Received: by mail-fx0-f41.google.com with SMTP id 12so3847486fxm.0 for ; Sat, 12 Feb 2011 05:14:45 -0800 (PST) In-Reply-To: (Marcelo de Moraes Serpa's message of "Fri, 11 Feb 2011 13:57:34 -0600") 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: Marcelo de Moraes Serpa Cc: Org Mode 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. I'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. -- Bastien