Skip to content

mgsk/emacs-haste-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

emacs-haste-client

Emacs client for hastebin (hastebin.com/about.md).

Installation

git clone https://github.com/rlister/emacs-haste-client

Configuration

Add the following to your emacs config:

(add-to-list 'load-path "~/path/to/emacs-haste-client")
(require 'haste nil 'noerror)

Server defaults to hastebin.com, but you can override to a local server installation by setting environment variable:

export HASTE_SERVER=http://hastebin.mydomain.com

or in emacs, with:

(setq haste-server "http://hastebin.mydomain.com")

Usage

Paste code to hastebin:

M-x haste

If the mark is set, the contents of the region will be posted, otherwise the whole buffer. Your new hastebin url will be echoed to the minibuffer and pushed onto the kill-ring ready for use. You can also retrieve it from the buffer Messages.

Copyright © 2012 Richard Lister.

About

Native emacs lisp client for hastebin.com.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%