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

2013-02-28 Thread Sigmund Tzeng
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 Date: Sat, 12 Feb 2011 12:25:43 +0100

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

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

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 bastien.gue...@wikimedia.fr wrote: Hi Marcelo, Marcelo de Moraes Serpa celose...@gmail.com writes: What I am suggesting is, somehow hook into the moment the file is pasted/dragged and run some

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

2011-02-11 Thread Bastien
Hi Marcelo, Marcelo de Moraes Serpa celose...@gmail.com 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

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

[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