Re: [O] [Orgmode] Extending paste to auto-archive a copied image

2013-02-28 Thread Sigmund Tzeng
nction is named "x-selection-value2", attached at the end of this mail. I'm binding it to C-v. The naming of the yanked file is kind of casual. Please feel free to change it. >From: Bastien >Subject:     Re: [Orgmode] Extending paste to auto-archive a copied image

Re: [O] [Orgmode] Extending paste to auto-archive a copied image

2011-10-04 Thread Marcelo de Moraes Serpa
*bump* 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,

Re: [Orgmode] Extending paste to auto-archive a copied image

2011-02-12 Thread Marcelo de Moraes Serpa
It'd be an awesome feature IMO :) Thanks! Marcelo. On Sat, Feb 12, 2011 at 5:25 AM, Bastien wrote: > Hi Marcelo, > > Marcelo de Moraes Serpa 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.

Re: [Orgmode] Extending paste to auto-archive a copied image

2011-02-12 Thread Bastien
Hi Marcelo, Marcelo de Moraes Serpa 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 per

Re: [Orgmode] Extending paste to auto-archive a copied image

2011-02-11 Thread Marcelo de Moraes Serpa
Hi Bastien, Let's say I copy a file from my desktop. If I copy it (C-c) and then yank into emacs, the filename is pasted. Now, if I drag and drop it into an emacs buffer, emacs inserts the contents of the file. These two scenarios sum up something I think would be an awesome addition to org, if

Re: [Orgmode] Extending paste to auto-archive a copied image

2011-02-11 Thread Bastien
Hi Marcelo, Marcelo de Moraes Serpa writes: > So, I'm usign an emacs extension that renders links to image as the > image itself, it's a minor mode called iimage.el. It works great, but > the fact that I need to copy the image somewhere first is a time and > flow - killer. Is it possible to hook

[Orgmode] Extending paste to auto-archive a copied image

2011-01-10 Thread Marcelo de Moraes Serpa
Hi list, So, I'm usign an emacs extension that renders links to image as the image itself, it's a minor mode called iimage.el. It works great, but the fact that I need to copy the image somewhere first is a time and flow - killer. Is it possible to hook up to the paste command and, if it's a image