github github
  • Home
  • Pricing and Signup
  • Training
  • Gist
  • Blog
  • Login

ruediger / emacs-codepad

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 19
    • 2
  • Source
  • Commits
  • Network (2)
  • Issues (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Switch Branches (1)
    • master ✓
  • Switch Tags (0)
  • Branch List
Sending Request…

Emacs integration for codepad.org — Read more

  Cancel

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

thx to Lorenzo Villani 
ruediger (author)
Sat Jun 05 08:44:07 -0700 2010
commit  d87be11de908e767c743
tree    89bbf501c71cf84cd364
parent  0e5bb3397e8ec5a4c4ed
emacs-codepad /
name age
history
message
file .gitignore Sun Nov 29 17:38:55 -0800 2009 added .gitignore [ruediger]
file Makefile Tue Jan 12 12:41:49 -0800 2010 added Makefile [ruediger]
file README Sat Jun 05 08:44:07 -0700 2010 thx to Lorenzo Villani [ruediger]
file codepad.el Sat Jun 05 08:40:23 -0700 2010 fix "error in process filter: Symbol's value as... [lvillani]
README
codepad.el --- Emacs integration for codepad.org

See http://codepad.org

Codepad is a pastebin where you can paste code and share it on a chat or via email. Codepad also provides an online 
compiler/interpreter and can run your programs online.

emacs-codepad provides an Emacs integration for Codepad. Currently you can use it to paste your code to and fetch code 
from Codepad.

Contributors are welcome!

codepad.el is based on gist.el ( http://github.com/defunkt/gist.el/blob/master/gist.el ) which was written by Christian 
Neukirchen and others. codepad.el is written by Rüdiger Sonderfeld. You can contact me via E-Mail: 
ruediger@c-plusplus.de.

Thanks to Thomas Weidner <thomas001le@gmail.com> for his patches and help. Thanks to Lorenzo Villani 
<lvillani@binaryhelix.net> for fixing the "error in process filter: Symbol's value as variable is void: 
url-max-redirections" issue.

== Installation ==
I'm using Emacs 23.1. codepad.el has problems with older versions of Emacs (url.el)! If codepad.el won't work please 
upgrade your Emacs.

Installation is straight forward:

Add the following lines to your ~/.emacs

  (add-to-list 'load-path "PATH") ;; replace PATH with the path to codepad.el
  (autoload 'codepad-paste-region "codepad" "Paste region to codepad.org." t)
  (autoload 'codepad-paste-buffer "codepad" "Paste buffer to codepad.org." t)
  (autoload 'codepad-fetch-code "codepad" "Fetch code from codepad.org." t)

Restart Emacs (or evaluate those lines) and you can use codepad.el by calling M-x codepad-paste-region to paste the 
current selected region or M-x codepad-paste-buffer to paste the current selected buffer.

You can configure codepad.el by calling M-x customize-group codepad

Good news Gentoo users: codepad.el is currently part of Gentoo's Emacs Overlays ( 
http://overlays.gentoo.org/proj/emacs/browser/emacs-overlay/app-emacs/codepad ) and it will move to the official tree in 
the near future.
Dedicated Server Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
  • Blog
  • Support
  • Training
  • Job Board
  • Shop
  • Contact
  • API
  • Status
  • © 2010 GitHub Inc. All rights reserved.
  • Terms of Service
  • Privacy
  • Security
  • English
  • Deutsch
  • Français
  • 日本語
  • Português (BR)
  • 中文
  • See all available languages

Your current locale selection: English. Choose another?

  • English
  • Afrikaans
  • Català
  • Čeština
  • Deutsch
  • Español
  • Français
  • Hrvatski
  • Indonesia
  • Italiano
  • 日本語
  • Nederlands
  • Norsk
  • Polski
  • Português (BR)
  • Српски
  • Svenska
  • 中文