Permalink
Browse files

Update.

  • Loading branch information...
1 parent 2d52f63 commit 291d7ef949c4795bd9868758344ae4df7dffa136 @Raynes committed May 11, 2012
@@ -20,6 +20,15 @@
(debbugs .
[(0 3)
nil "SOAP library to access debbugs servers" tar])
+ (dict-tree .
+ [(0 12 7)
+ ((trie
+ (0 2 5))
+ (tNFA
+ (0 1 1))
+ (heap
+ (0 3)))
+ "Dictionary data structure package" single])
(djvu .
[(0 5)
nil "Edit and view Djvu files via djvused" single])
@@ -35,6 +44,9 @@
(f90-interface-browser .
[(1 0)
nil "Parse and browse f90 interfaces" single])
+ (heap .
+ [(0 3)
+ nil "Heap (a.k.a. priority queue) data structure" single])
(ioccur .
[(2 4)
nil "Incremental occur" single])
@@ -64,16 +76,19 @@
nil "Authoring and publishing tool" tar])
(nhexl-mode .
[(0 1)
- nil "Minor mode to edit files via hex-dump format -*- lexical-binding: t -*-" single])
+ nil "Minor mode to edit files via hex-dump format" single])
(oauth2 .
- [(0 3)
+ [(0 4)
nil "OAuth 2.0 Authorization Protocol" single])
(org .
- [(20120425)
+ [(20120509)
nil "Outline-based notes management and organizer" tar])
(quarter-plane .
[(0 1)
nil "Minor mode for quarter-plane style editing" single])
+ (queue .
+ [(0 1)
+ nil "Queue data structure" single])
(rainbow-mode .
[(0 2)
nil "Colorize color names in buffers" single])
@@ -89,8 +104,22 @@
(svg-clock .
[(0 4)
nil "Analog clock using Scalable Vector Graphics" single])
+ (tNFA .
+ [(0 1 1)
+ ((queue
+ (0 1)))
+ "Tagged non-deterministic finite-state automata" single])
+ (trie .
+ [(0 2 5)
+ ((emacs
+ (24 1))
+ (tNFA
+ (0 1 1))
+ (heap
+ (0 3)))
+ "Trie data structure" single])
(undo-tree .
- [(0 3 3)
+ [(0 4)
nil "Treat undo history as a tree" single])
(uni-confusables .
[(0 1)
Oops, something went wrong.
@@ -0,0 +1,44 @@
+;;; refheap-autoloads.el --- automatically extracted autoloads
+;;
+;;; Code:
+
+
+;;;### (autoloads (refheap-paste-buffer-private refheap-paste-buffer
+;;;;;; refheap-paste-region-private refheap-paste-region) "refheap"
+;;;;;; "refheap.el" (20390 57418))
+;;; Generated autoloads from refheap.el
+
+(autoload 'refheap-paste-region "refheap" "\
+
+
+\(fn BEGIN END &optional PRIVATE)" t nil)
+
+(autoload 'refheap-paste-region-private "refheap" "\
+
+
+\(fn BEGIN END)" t nil)
+
+(autoload 'refheap-paste-buffer "refheap" "\
+
+
+\(fn &optional PRIVATE)" t nil)
+
+(autoload 'refheap-paste-buffer-private "refheap" "\
+
+
+\(fn)" t nil)
+
+;;;***
+
+;;;### (autoloads nil nil ("refheap-pkg.el") (20390 57419 51734))
+
+;;;***
+
+(provide 'refheap-autoloads)
+;; Local Variables:
+;; version-control: never
+;; no-byte-compile: t
+;; no-update-autoloads: t
+;; coding: utf-8
+;; End:
+;;; refheap-autoloads.el ends here
@@ -0,0 +1 @@
+(define-package "refheap" "0.0.2" "A library for pasting to https://refheap.com" (quote nil))
Binary file not shown.
@@ -0,0 +1,128 @@
+;;; refheap.el --- A library for pasting to https://refheap.com
+;;; Copyright 2012 Anthony Grimes
+;;; Author: Anthony Grimes
+;;; URL: https://github.com/Raynes/refheap.el
+;;; Version: 0.0.2
+
+(require 'json)
+(require 'url)
+
+(defgroup refheap nil
+ "A library for pasting to refheap.com"
+ :prefix "refheap-"
+ :group 'applications)
+
+(defvar refheap-supported-modes '((clojure-mode . "Clojure")
+ (diff-mode . "Diff")
+ (fancy-mode . "Fancy")
+ (groovy-mode . "Groovy")
+ (grails-mode . "Groovy")
+ (io-mode . "Io")
+ (ioke-mode . "Ioke")
+ (lua-mode . "Lua")
+ (perl-mode . "Perl")
+ (python-mode . "Python")
+ (ruby-mode . "Ruby")
+ (c-mode . "C")
+ (c++-mode . "C++")
+ (tcl-mode . "Tcl")
+ (ada-mode . "Ada")
+ (d-mode . "D")
+ (delphi-mode . "Delphi")
+ (dylan-mode . "Dylan")
+ (fortran-mode . "Fortran")
+ (go-mode . "Go")
+ (java-mode . "Java")
+ (nimrod-mode . "Nimrod")
+ (objc-mode . "Objective C")
+ (ooc-mode . "ooc")
+ (prolog-mode . "Prolog")
+ (scala-mode . "Scala")
+ (vala-mode . "Vala")
+ (boo-mode . "Boo")
+ (csharp-mode . "C#")
+ (fsharp-mode . "F#")
+ (vbnet-mode . "VB.NET")
+ (common-lisp-mode . "Common Lisp")
+ (erlang . "Erlang")
+ (haskell-mode . "Haskell")
+ (tuareg-mode . "OCaml")
+ (scheme-mode . "Scheme")
+ (emacs-lisp-mode . "Scheme")
+ (r-mode . "R")
+ (applescript-mode "AppleScript")
+ (sh-mode . "Bash")
+ (batch-mode . "Batch")
+ (newspeak-mode . "NewSpeak")
+ (protobuf-mode . "Protobuf")
+ (rebol-mode . "REBOL")
+ (latex-mode . "LaTeX")
+ (actionscript-mode . "ActionScript")
+ (yaml-mode . "YAML")
+ (coffeescript-mode . "CoffeeScript")
+ (css-mode . "CSS")
+ (html-mode . "HTML")
+ (haml-mode . "HAML")
+ (js-mode . "Javascript")
+ (php-mode . "PHP")
+ (text-mode . "Plain Text")
+ (sass-mode . "SASS")
+ (xml-mode . "XML")))
+
+(defcustom refheap-user nil
+ "Your RefHeap username."
+ :type 'string
+ :group 'refheap)
+
+(defcustom refheap-token nil
+ "Your RefHeap API token."
+ :type 'string
+ :group 'refheap)
+
+(defun read-url (status)
+ (search-forward "\n\n")
+ (let ((location (cdr (assoc 'url
+ (json-read-from-string
+ (buffer-substring (point)
+ (point-max)))))))
+ (message "Paste created: %s" location)
+ (kill-new location)
+ (kill-buffer (current-buffer))))
+
+(defun refheap-paste (text mode private)
+ (let ((url-request-method "POST")
+ (url-request-extra-headers
+ '(("Content-Type" . "application/x-www-form-urlencoded")))
+ (url-request-data
+ (concat "private=" (if private "true" "false") "&"
+ "language=" (url-hexify-string mode) "&"
+ "contents=" (url-hexify-string text)
+ (when (and refheap-user refheap-token)
+ (concat "&username=" refheap-user "&"
+ "token=" (url-hexify-string refheap-token))))))
+ (url-retrieve "https://www.refheap.com/api/paste" 'read-url)))
+
+;;;###autoload
+(defun refheap-paste-region (begin end &optional private)
+ (interactive "r\nP")
+ (let ((hl (or (cdr (assoc major-mode refheap-supported-modes))
+ "Plain Text")))
+ (refheap-paste (buffer-substring begin end) hl private)))
+
+;;;###autoload
+(defun refheap-paste-region-private (begin end)
+ (interactive "r")
+ (refheap-paste-region begin end t))
+
+;;;###autoload
+(defun refheap-paste-buffer (&optional private)
+ (interactive "P")
+ (refheap-paste-region (point-min) (point-max) private))
+
+;;;###autoload
+(defun refheap-paste-buffer-private ()
+ (interactive)
+ (refheap-paste-buffer t))
+
+(provide 'refheap)
+;;; refheap.el ends here
Binary file not shown.
@@ -0,0 +1,26 @@
+;;; twilight-theme-autoloads.el --- automatically extracted autoloads
+;;
+;;; Code:
+
+
+;;;### (autoloads nil "twilight-theme" "twilight-theme.el" (20382
+;;;;;; 17353))
+;;; Generated autoloads from twilight-theme.el
+
+(when load-file-name (add-to-list 'custom-theme-load-path (file-name-as-directory (file-name-directory load-file-name))))
+
+;;;***
+
+;;;### (autoloads nil nil ("twilight-theme-pkg.el") (20382 17353
+;;;;;; 946203))
+
+;;;***
+
+(provide 'twilight-theme-autoloads)
+;; Local Variables:
+;; version-control: never
+;; no-byte-compile: t
+;; no-update-autoloads: t
+;; coding: utf-8
+;; End:
+;;; twilight-theme-autoloads.el ends here
@@ -0,0 +1 @@
+(define-package "twilight-theme" "1.0.0" "Twilight theme for GNU Emacs 24 (deftheme)" (quote nil))
Binary file not shown.
@@ -0,0 +1,73 @@
+;;; twilight-theme.el --- Twilight theme for GNU Emacs 24 (deftheme)
+;; Version: 1.0.0
+;; Author: Nick Parker <nickp@developernotes.com>
+;;
+;; Defines a colour scheme resembling that of the original TextMate Twilight colour theme.
+;; To use add the following to your .emacs file (requires the color-theme package):
+;;
+;; (require 'color-theme)
+;; (color-theme-initialize)
+;; (load-file "~/.emacs.d/twilight-emacs/color-theme-twilight.el")
+;;
+;; And then (color-theme-twilight) to activate it.
+;;
+;; Several areas still require improvement such as recognition of code that ruby-mode doesn't
+;; yet pick up (eg. parent classes), Rails/Merb keywords, or non Ruby code related areas
+;; (eg. dired, HTML, etc). Please feel free to customize further and send in any improvements,
+;; patches most welcome.
+;;
+;; MIT License Copyright (c) 2008 Marcus Crafter <crafterm@redartisan.com>
+;; Credits due to the excellent TextMate Twilight theme
+;;
+;; Thanks to Travis Jeffery for ido-mode and fixes to the minibuffer-prompt to fit in with the rest of the theme
+;;
+
+(deftheme twilight
+ "Twilight color theme")
+
+(custom-theme-set-faces
+ 'twilight
+ '(default ((t (:background "#141414" :foreground "#f8f8f8"))))
+ '(cursor ((t (:foreground "#a7a7a7"))))
+ '(region ((t (:background "#27292a"))))
+ '(blue ((t (:foreground "blue"))))
+ '(border-glyph ((t (nil))))
+ '(buffers-tab ((t (:background "#141414" :foreground "#CACACA"))))
+ '(font-lock-builtin-face ((t (:foreground "#CACACA"))))
+ '(font-lock-comment-face ((t (:foreground "#5F5A60"))))
+ '(font-lock-constant-face ((t (:foreground "#CF6A4C"))))
+ '(font-lock-doc-string-face ((t (:foreground "DarkOrange"))))
+ '(font-lock-function-name-face ((t (:foreground "#9B703F"))))
+ '(font-lock-keyword-face ((t (:foreground "#CDA869"))))
+ '(font-lock-preprocessor-face ((t (:foreground "Aquamarine"))))
+ '(font-lock-reference-face ((t (:foreground "SlateBlue"))))
+ '(font-lock-regexp-grouping-backslash ((t (:foreground "#E9C062"))))
+ '(font-lock-regexp-grouping-construct ((t (:foreground "red"))))
+ '(minibuffer-prompt ((t (:foreground "#5F5A60"))))
+ '(ido-subdir ((t (:foreground "#CF6A4C"))))
+ '(ido-first-match ((t (:foreground "#8F9D6A"))))
+ '(ido-only-match ((t (:foreground "#8F9D6A"))))
+ '(mumamo-background-chunk-submode ((t (:background "#222222"))))
+ '(font-lock-string-face ((t (:foreground "#8F9D6A"))))
+ '(font-lock-type-face ((t (:foreground "#9B703F"))))
+ '(font-lock-variable-name-face ((t (:foreground "#7587A6"))))
+ '(font-lock-warning-face ((t (:background "#EE799F" :foreground "red"))))
+ '(gui-element ((t (:background "#D4D0C8" :foreground "black"))))
+ '(region ((t (:background "#27292A"))))
+ '(mode-line ((t (:background "grey75" :foreground "black"))))
+ '(highlight ((t (:background "#111111"))))
+ '(highline-face ((t (:background "SeaGreen"))))
+ '(left-margin ((t (nil))))
+ '(text-cursor ((t (:background "yellow" :foreground "black"))))
+ '(toolbar ((t (nil))))
+ '(underline ((nil (:underline nil))))
+ '(zmacs-region ((t (:background "snow" :foreground "blue")))))
+
+;;;###autoload
+(when load-file-name
+ (add-to-list 'custom-theme-load-path
+ (file-name-as-directory (file-name-directory load-file-name))))
+
+(provide-theme 'twilight)
+
+;;; twilight-theme.el ends here
Binary file not shown.
Oops, something went wrong.

0 comments on commit 291d7ef

Please sign in to comment.