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, but I
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 rlad...@adamsinfoserv.comwrote:
On Sun, Jan 15, 2012 at 12:37:16AM -0600, Marcelo de Moraes
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
Skip Collins skip.coll...@gmail.com writes:
2012/1/10 François Pinard pin...@iro.umontreal.ca:
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
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 get
On Wed, Jan 11, 2012 at 12:50 AM, Jambunathan K kjambunat...@gmail.com 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
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
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
Eric S Fraga e.fr...@ucl.ac.uk 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
pin...@iro.umontreal.ca (François Pinard) writes:
Eric S Fraga e.fr...@ucl.ac.uk 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.
Eric S Fraga e.fr...@ucl.ac.uk 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.
2012/1/10 François Pinard pin...@iro.umontreal.ca:
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.
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
Skip Collins skip.coll...@gmail.com writes:
2012/1/10 François Pinard pin...@iro.umontreal.ca:
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
pin...@iro.umontreal.ca (François Pinard) writes:
Russell Adams rlad...@adamsinfoserv.com 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
Eric S Fraga e.fr...@ucl.ac.uk 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
Russell Adams rlad...@adamsinfoserv.com 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
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 ()
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
(adapt import to your
Hi Jonathan,
Jonathan BISSON bissonjonat...@gmail.com writes:
Here is a little function that allows a user to insert a screenshot
easily. Only works on unix-like systems where ImageMagick is installed
(adapt import to your screenshot program if needed).
I added this to worg/org-hacks.org
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
(adapt import to your screenshot program if needed).
Nice. Do you mind of I put the function
Here is a little function that allows a user to insert a screenshot
easily. Only works on unix-like systems where ImageMagick is installed
(adapt import to your screenshot program if needed).
(defun my-screenshot ()
Take a screenshot into a unique-named file in the current buffer file
22 matches
Mail list logo