Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am a Microsoft OneNote user and I have got used to taking a lot of snapshots and embedding them into my notes.

I think that if I could easily embed images directly into Emacs/orgmode from clipboard, then I will be able to switch to Emacs very easily. How do I go about doing so?

share|improve this question

migrated from stackoverflow.com Jul 20 '11 at 11:53

This question came from our site for professional and enthusiast programmers.

See lists.gnu for the windows answer. If you add hotkey for snipping tool and use a modified version where you call 'org-mode just before org-display-inline-images like this

(funcall 'org-mode)
(org-display-inline-images))

and add F4 as hot key for the function in emacs

(global-set-key [f5] 'org-screenshot)

then you can copy paste with just F4, F5 which is pretty handy. The only problem is that your buffer needs to be saved to a file before the function will work, otherwise you get a array-null-p error because of the call to buffer-file-name

share|improve this answer

There is a small tip on Worg dealing with this issue. However this solution uses the ImageMagick library. I am not sure this is available on Windows. Maybe you can adapt this and find a solution that fits your need.

share|improve this answer
    
Not sure why an Emacs question was moved from SO to SU though. – suvayu Jul 21 '11 at 23:40

You must log in to answer this question.