From mboxrd@z Thu Jan 1 00:00:00 1970 From: Piter_ Subject: insert picture feature request. Date: Mon, 2 May 2011 14:42:41 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGsSb-0006bi-FA for emacs-orgmode@gnu.org; Mon, 02 May 2011 08:42:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGsSa-0007eE-7k for emacs-orgmode@gnu.org; Mon, 02 May 2011 08:42:45 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:49060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGsSZ-0007e7-RA for emacs-orgmode@gnu.org; Mon, 02 May 2011 08:42:44 -0400 Received: by wwb39 with SMTP id 39so5213678wwb.30 for ; Mon, 02 May 2011 05:42:42 -0700 (PDT) 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 Hi all. I use org-mode for making note while reading articles. Sometimes I want to insert picture into notes. Now it takes to much time. I have to copy paste it into picture editor, save it and than make a link to it. I would like to do it in other way. Copy picture into clipboard (from pdf reader for example), and than run a function in emacs which will ask for file name, save the picture from clipboard into preset folder and insert link into org file for it. I have found those links. http://stackoverflow.com/questions/1868734/how-to-copy-to-clipboard-with-x11 http://stackoverflow.com/questions/3571179/how-does-x11-clipboard-handle-multiple-data-formats About handling clipboard images from python. I think it is possible to write a simple python script which can save clipboard picture into file, and than some lisp function which do all I described above using this script. Unfortunately I dont know python and lisp on level which allow me to do it fast end easy. So I ask if someone can do it. I think it would be useful addition for org-mode. May be even someone have implemented it, or made another work arround this problem. Thanks. Petro. P.S. Sorry if you get two copies of request. I had some troubles with sending it and may sent two versions of this mail.