From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: How to attach data in clipboard directly?
Date: Fri, 24 Jun 2011 16:03:03 +0200 [thread overview]
Message-ID: <80pqm3499k.fsf@somewhere.org> (raw)
In-Reply-To: 98495103-9583-4D34-A516-85B15DAD785F@gmail.com
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
next prev parent reply other threads:[~2011-06-24 14:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-24 10:21 How to attach data in clipboard directly? Carlos Russo
2011-06-24 14:03 ` Sebastien Vauban [this message]
2011-06-25 10:06 ` Carlos Russo
2011-06-27 16:44 ` Bastien
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=80pqm3499k.fsf@somewhere.org \
--to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).