Amazon.com Widgets
Twitter » Linkedin » Flickr » DjangoPeople » Feed
...not so private reflections of greg.newman
RSS feed - Categories & Search

Emacs mode for dpaste.com

Since Paul Bissex announced the api for Django-powered dpaste.com last week I've had it's been on my todo list to make a emacs mode for posting pasties.

Last evening, again while watching football, I whipped up a emacs mode and have it hosted over at github.

git clone git://github.com/gregnewman/dpaste.el.git and add to your .emacs

or track the changes within your .emacs configs

git submodule add git://github.com/gregnewman/dpaste.el.git vendor/dpaste

M-x dpaste-buffer

Will post the current buffer to dpaste.com and put the curl to the paste in the kill-ring

M-x dpaste-region-or-buffer

Will post the marked region or current buffer to dpaste.com and put the curl to the paste in the kill-ring

If there is any interest, I can also make a version for my vim using friends.

I have a few items remaining that I want to do with it but at this point it is fully functional. If you have a wish or a bug, either leave a comment here or at the github project. I hope you find it useful.

0 TrackBacks

Listed below are links to blogs that reference this entry: Emacs mode for dpaste.com.

TrackBack URL for this entry: http://www.20seven.org/cgi-bin/mt/mt-tb.cgi/53

4 Comments

Thanks, will come in handy!

Sure, I wouldn't mind a vim version :)

Another vote for a vim version - that would be really sweet!

Thanks! Really useful :)

Leave a comment