(update version with language selection feature)
|(9 intermediate revisions by 2 users not shown)|
Latest revision as of 04:06, 19 September 2010
hpaste.el is an Emacs Lisp library that integrates hpaste into Emacs. It provides three functions:
hpaste-paste-buffer send the region or buffer to the hpaste server as required, and
hpaste-get-paste fetches a paste from the server and puts it in a new buffer. It allows annotation of existing pastes, controls the announcement on #haskell, and tries to be smart about keeping track of the last paste to ease annotation. Most things are customisable: do M-x customize and browse to the Hpaste group to see what you can change. Code is available under the GPL license. (see the talk page for a makefile allowing you to keep up-to-date on this programatically).
This file is also hosted in git here, where I've (andrewsw) been doing some work on it. Enjoy!
- Update 18 Sep 10: version 1.2 -- implement language selection feature
- Update 16 Sep 10: version 1.1 -- update to operate with new hpaste site. Changes to hpaste-get-paste, hpaste-paste-region and hpaste-after-paste.
- Update 13 Mar 08: display URL of paste in minibuffer, and add it to kill ring. Add hpaste-get-paste.
- Update 13 Dec 07: fixed problems with "Wrong type argument: stringp, nil" appearing after pasting.