[O] Help, I need to paste raw image from clipboard into emacs/orgmode

2011-07-24 Thread Medhat Essmat
Dear All, Please Help, I need to paste raw image from clipboard into emacs/orgmode, I am a microsoft onenote user and I got used to take a lot of snapshots and embed it into my notes, I think if I could know how to embed images directly into emacs/orgmode from clipboard, I will switch to emacs ve

[O] Help, I need to paste raw image from clipboard into emacs/orgmode

2013-06-06 Thread Klaus-Dieter Bauer
> > Dear All, > Please Help, > I need to paste raw image from clipboard into emacs/orgmode, I am a > microsoft onenote user and I got used to take a lot of snapshots and embed > it into my notes, I think if I could know how to embed images directly into > emacs/orgmode from clipboard, I will switch

Re: [O] Help, I need to paste raw image from clipboard into emacs/orgmode

2011-07-24 Thread suvayu ali
On Wed, Jul 20, 2011 at 4:59 PM, Medhat Essmat wrote: > I need to paste raw image from clipboard into emacs/orgmode, I am a > microsoft onenote user and I got used to take a lot of snapshots and embed > it into my notes, I think if I could know how to embed images directly into > emacs/orgmode fro

Re: [O] Help, I need to paste raw image from clipboard into emacs/orgmode

2011-07-24 Thread Rainer Stengele
Am 20.07.2011 16:59, schrieb Medhat Essmat: > Dear All, > > Please Help, > > I need to paste raw image from clipboard into emacs/orgmode, I am a microsoft > onenote user and I got used to take a lot of snapshots and embed it into my > notes, I think if I could know how to embed images directly

Re: [O] Help, I need to paste raw image from clipboard into emacs/orgmode

2013-06-07 Thread Vitalie Spinu
Thanks for the tip. Do you have an elisp piece that handles the image insertion into org buffers? Thanks, Vitalie >> Klaus-Dieter Bauer >> on Thu, 6 Jun 2013 19:16:26 +0200 wrote: > Dear All, > Please Help, > I need to paste raw image from clipboard into emacs/orgmode, I

Re: [O] Help, I need to paste raw image from clipboard into emacs/orgmode

2013-06-07 Thread Klaus-Dieter Bauer
(defun my-org-insert-clipboard () (interactive) (let* ((image-file "clipboard.png") (exit-status (call-process "convert" nil nil nil "clipboard:" image-file))) (org-insert-link nil (concat "file:" image-file) "") (org-display-inline-images))) That works for me (Emacs 24.3, Windows 7

Re: [O] Help, I need to paste raw image from clipboard into emacs/orgmode

2013-11-06 Thread Alexander Vorobiev
Hi Klaus, I found the function very useful so I expanded it a little to have more flexible image file names. First, I use the base name of the file in the current buffer as a prefix to the image file name. Then I added an integer buffer-local variable to be the image file name's suffix (preceded b