[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to attach data in clipboard directly?
From: |
Sebastien Vauban |
Subject: |
Re: [O] How to attach data in clipboard directly? |
Date: |
Fri, 24 Jun 2011 16:03:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) |
Hi Carlos Russo,
Carlos Russo wrote:
> Hello,
>
> I often need to paste fragments of pictures/images to my org file.
>
> Typically, I manually paste the fragment to a file, and then use C-c C-a m
> to attach that file to my org-file. This is rather tedious, because there
> are a few steps and extra programs involved, and I guess there must be a
> better way to do this.
>
> What I want is that emacs/orgmode understands the contents of the clipboard
> and creates that file for me. For instance, if it detects that the contents
> of the clipboard is an image or some sort of non-text format, emacs would
> dump the clipboard data to a file, auto-generate a filename, guessing the
> data type, and attach that file to my org-file via org-attach-attach.
>
> I'm thinking of a org-attach-clipboard sort of command, accessible via the
> C-c C-a (org-attach) menu.
>
> Perhaps I'm demanding too much from emacs and org-mode, but hey, couldn't it
> be done? It would be a cool feature... More important, _hasn't_ this been
> done already?
See Automatic screenshot insertion on Worg:
http://orgmode.org/worg/org-hacks.html#sec-3-8
Best regards,
Seb
--
Sebastien Vauban