emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Piter_ <x.piter@gmail.com>
To: emacs-orgmode@gnu.org
Subject: insert picture feature request.
Date: Mon, 2 May 2011 14:42:41 +0200	[thread overview]
Message-ID: <BANLkTimSpunsZcKqKWbEkpdDhPK+-Rta4w@mail.gmail.com> (raw)

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.

             reply	other threads:[~2011-05-02 12:42 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-02 12:42 Piter_ [this message]
2011-05-02 13:28 ` insert picture feature request Russell Adams
2011-05-02 14:23   ` brian powell
2011-05-02 23:34     ` Piter_
2011-05-04  0:37   ` Mark S.
2011-05-04 10:01     ` Rainer Stengele
2011-05-04 12:38       ` Jambunathan K
2011-05-04 14:10         ` Jambunathan K
2011-05-04 13:19       ` Russell Adams
2011-05-07 21:33         ` Mark S.
2011-05-08  4:29           ` Aankhen
2011-05-08 16:28             ` Mark S.
2011-05-08 18:51               ` Mark S.
2011-05-08 23:11                 ` Nick Dokos
2011-05-09  2:05                   ` Mark S.
2011-05-16  8:32                     ` Aankhen
2011-05-25  9:00           ` Stinky Wizzleteet
2011-05-04 13:28       ` Rainer Stengele

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTimSpunsZcKqKWbEkpdDhPK+-Rta4w@mail.gmail.com \
    --to=x.piter@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).