emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marcelo de Moraes Serpa <celoserpa@gmail.com>
To: Bastien <bastien.guerry@wikimedia.fr>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: [Orgmode] Extending paste to auto-archive a copied image
Date: Tue, 4 Oct 2011 13:46:40 -0500	[thread overview]
Message-ID: <CACHMzOEULmLbx=r2WbwfXqkj5hoTe6V1Wh38jASBT0gxJhctpQ@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikJUtOA627mJPGKfos75EQjL3Vn2wAbB3J5CW=+@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1440 bytes --]


I think this would be an awesome feature. Some of us use highly-graphic OSes
such as OSX and Windows (or maybe Linux with Gnome), and being able to
interact with the desktop is a great feature. Imagine being able to drag and
drop a file directly to emacs and delegate the attachment to org, besides,
optionally, an icon could be shown (not really needed).

Copying and pasting an image would also be nice. Right now, I can't do this.
I can drag and drop files but emacs will just insert the contents of the
file inline. There must be a way to tell emacs to run a custom piece of
elisp code with the basic event information gathered from the paste/drag and
drop... or there isn't?


- Marcelo.

On Sat, Feb 12, 2011 at 4:22 PM, Marcelo de Moraes Serpa <
celoserpa@gmail.com> wrote:

> It'd be an awesome feature IMO :)
> Thanks!
> Marcelo.
> On Sat, Feb 12, 2011 at 5:25 AM, Bastien <bastien.guerry@wikimedia.fr>
> wrote:
> > Hi Marcelo,
> >
> > Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:
> >
> >> What I am suggesting is, somehow hook into the moment the file is
> >> pasted/dragged and run some code.
> >
> > This would require code in Emacs.  I'm not familiar at all with Emacs
> > ability to recognize drag'n droped files (as I don't use drag'n drop)
> > but perhaps other do and might suggest how to set a hook when Emacs
> > copies external content/files/whatever from X.
> >
> > --
> >  Bastien
> >

[-- Attachment #2: Type: text/html, Size: 2091 bytes --]

  reply	other threads:[~2011-10-04 18:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-10 16:38 Extending paste to auto-archive a copied image Marcelo de Moraes Serpa
2011-01-12 20:09 ` Marcelo de Moraes Serpa
2011-02-11 11:50 ` Bastien
2011-02-11 19:57   ` Marcelo de Moraes Serpa
2011-02-12 11:25     ` Bastien
2011-02-12 22:22       ` Marcelo de Moraes Serpa
2011-10-04 18:46         ` Marcelo de Moraes Serpa [this message]
2013-03-01  1:59 [Orgmode] " Sigmund Tzeng

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:

  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='CACHMzOEULmLbx=r2WbwfXqkj5hoTe6V1Wh38jASBT0gxJhctpQ@mail.gmail.com' \
    --to=celoserpa@gmail.com \
    --cc=bastien.guerry@wikimedia.fr \
    --cc=emacs-orgmode@gnu.org \


* 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


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).