From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Extending paste to auto-archive a copied image Date: Fri, 11 Feb 2011 12:50:02 +0100 Message-ID: <87sjvuvlhx.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=45660 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PnrVg-0005vU-TN for emacs-orgmode@gnu.org; Fri, 11 Feb 2011 06:50:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PnrVf-0005BP-Ex for emacs-orgmode@gnu.org; Fri, 11 Feb 2011 06:50:00 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:59295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PnrVf-0005BJ-5k for emacs-orgmode@gnu.org; Fri, 11 Feb 2011 06:49:59 -0500 Received: by fxm12 with SMTP id 12so2754853fxm.0 for ; Fri, 11 Feb 2011 03:49:58 -0800 (PST) In-Reply-To: (Marcelo de Moraes Serpa's message of "Mon, 10 Jan 2011 10:38:49 -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: > So, I'm usign an emacs extension that renders links to image as the > image itself, it's a minor mode called iimage.el. It works great, but > the fact that I need to copy the image somewhere first is a time and > flow - killer. Is it possible to hook up to the paste command and, if > it's a image in the clipboard, auto-archive somewhere in the > filesystem it and then return its URL? Sorry I don't understand. Can you give an example? When you say "paste", is it pasting from X or from Emacs? Thanks, -- Bastien