Marcelo,
You can check out the Emacs DND (drag-n-drop) help files for more
information. I'm not sure what other capabilities it has. I know that
I was subscribing my function to the files event only, there were a
few other types.
Thanks.
On Sun, Jan 15, 2012 at 01:31:02PM -0600, Marcelo de Morae
Awesome! I will try that out.
What about hooking into the pasting event and check when it's an image (or
whatever file you want) ?
Thanks,
- Marcelo.
On Sun, Jan 15, 2012 at 6:10 AM, Russell Adams wrote:
> On Sun, Jan 15, 2012 at 12:37:16AM -0600, Marcelo de Moraes Serpa wrote:
> > A bit OT, b
On Sun, Jan 15, 2012 at 12:37:16AM -0600, Marcelo de Moraes Serpa wrote:
> A bit OT, but related.
>
> ---
> It would be *awesome* if we could somehow hook into the emacs
> paste/(drag-and)drop events and automatically "paste" or "drop" the image
> in an org buffer. I don't know if it's possible, bu
A bit OT, but related.
---
It would be *awesome* if we could somehow hook into the emacs
paste/(drag-and)drop events and automatically "paste" or "drop" the image
in an org buffer. I don't know if it's possible, but I imagine that if
hooking into those events was somehow possible, then we could ge
Skip Collins writes:
> 2012/1/10 François Pinard :
>> Some sad people think of me as a programmer. While deep down, I am
>> fundamentally an artist. Programming is mere mean of expression :-).
> You and Jambunathan K. should form a club.
I do not know Jambunathan, but I'll pay attention! :-)
Hi Skip,
I love OCD! Thanks for that one.
And, thank goodness the Org mode community is big enough for artists,
artisans, and crafts people.
I find it fascinating to use software created by such a diverse
community. I've often thought I'm glimpsing the future.
All the best,
Tom
Skip Colli
On Wed, Jan 11, 2012 at 12:50 AM, Jambunathan K wrote:
>> You and Jambunathan K. should form a club.
>
> Since I am being dragged in to the conversaion,
Of course I intend no disrespect for you or François. I have noticed
that org, perhaps not surprisingly, attracts people with a certain
detail-o
Skip Collins writes:
> 2012/1/10 François Pinard :
>> Some sad people think of me as a programmer. While deep down, I am
>> fundamentally an artist. Programming is mere mean of expression :-).
>
> You and Jambunathan K. should form a club.
Since I am being dragged in to the conversaion, I am d
pin...@iro.umontreal.ca (François Pinard) writes:
> Some sad people think of me as a programmer. While deep down, I am
> fundamentally an artist. Programming is mere mean of expression :-).
Hence:
D Knuth: The Art of computer programming
https://en.wikipedia.org/wiki/The_Art_of_Computer_Progra
2012/1/10 François Pinard :
> Some sad people think of me as a programmer. While deep down, I am
> fundamentally an artist. Programming is mere mean of expression :-).
You and Jambunathan K. should form a club.
Eric S Fraga writes:
> I appreciate your reasoning in each case I've elided but, in the end,
> the different versions or approaches you mention are all essentially
> equivalent (computationally)... :-)
Who cares about computation! :-)
Some sad people think of me as a programmer. While deep dow
pin...@iro.umontreal.ca (François Pinard) writes:
> Eric S Fraga writes:
>
> Hi again, Eric. I'll be using your corrections on the code, thanks!
You're welcome!
>> I had to add a call to expand-file-name for getting a file name which
>> worked on my system for some reason.
>
> (make-temp-nam
Eric S Fraga writes:
Hi again, Eric. I'll be using your corrections on the code, thanks!
> I had to add a call to expand-file-name for getting a file name which
> worked on my system for some reason.
(make-temp-name
(expand-file-name
(concat (file-name-as-directory name)
(
pin...@iro.umontreal.ca (François Pinard) writes:
[...]
> Hi, Eric. Sorry. Here is a quick correction for that problem. This is
> only this week that I plan to use that function for actual work; last
> week was rather an exploration of the capability of various tools. Of
> course, do not hesi
Eric S Fraga writes:
> pin...@iro.umontreal.ca (François Pinard) writes:
> Thanks! However, if I give it a directory name, the function fails
> with "Cannot create image file" in the mini-buffer. [...] In
> summary, if I give it an existing file name, that works; if I give it
> a non-existing
pin...@iro.umontreal.ca (François Pinard) writes:
> Russell Adams writes:
>> On Sun, Nov 28, 2010 at 08:35:23PM +0100, David Maus wrote:
>>> At Thu, 18 Nov 2010 18:16:22 +0100, Jonathan BISSON wrote:
>
>>> > Here is a little function that allows a user to insert a screenshot
>>> > easily. Only wo
Russell Adams writes:
> On Sun, Nov 28, 2010 at 08:35:23PM +0100, David Maus wrote:
>> At Thu, 18 Nov 2010 18:16:22 +0100, Jonathan BISSON wrote:
>> > Here is a little function that allows a user to insert a screenshot
>> > easily. Only works on unix-like systems where ImageMagick is installed
>>
At Tue, 29 Mar 2011 09:43:27 -0500,
Russell Adams wrote:
> I made a minor change. File names are now generated by using the
> current org buffer filename, plus the date and time, and a unique
> number. This allows me to sort out the images better.
>
> (defun org-screenshot
18 matches
Mail list logo