Part of a series of examples. See:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Modified flycheck.el | |
diff --git a/flycheck.el b/flycheck.el | |
index 5cec74d..aff2d48 100644 | |
--- a/flycheck.el | |
+++ b/flycheck.el | |
@@ -236,7 +236,7 @@ overlay setup)." | |
"---" | |
["Describe syntax checker" flycheck-describe-checker t] | |
["Read the Flycheck manual" flycheck-info t]) | |
- "Spell Checking") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test(x): | |
if x > 5: | |
print x-5 | |
else: | |
print x | |
if x < 0: | |
print "less than zero" | |
if __name__ == "__main__": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'package) | |
(setq package-user-dir "~/.emacs.d/elpa/") | |
(add-to-list 'package-archives | |
'("marmalade" . "http://marmalade-repo.org/packages/") t) | |
(add-to-list 'package-archives | |
'("melpa" . "http://melpa.milkbox.net/packages/") t) | |
(setq package-archive-exclude-alist '(("melpa" paredit))) | |
(package-initialize) | |
(defmacro require! (package) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Aquaterm <Formula | |
url 'http://sourceforge.net/projects/aquaterm/files/AquaTerm/v1.0.1/aquaterm_src.1.0.1.tar.gz/download' | |
homepage 'http://aquaterm.sourceforge.net/' | |
md5 'e9d3ecdfe770d6f09a748add9886d1a9' | |
version '1.0.1' | |
head 'git://aquaterm.git.sourceforge.net/gitroot/aquaterm/aquaterm' | |
def install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(deftheme molokai | |
"emacs24 port of molokai for vim") | |
(custom-theme-set-faces | |
'molokai | |
'(cursor ((t (:background "#f8f8f0")))) | |
'(font-lock-builtin-face ((t (:foreground "#ae81ff")))) | |
'(font-lock-function-name-face ((t (:foreground "#a6e22e")))) | |
'(font-lock-type-face ((t (:foreground "#66d9ef")))) | |
'(font-lock-warning-face ((t (:inherit error)))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(deftheme ir_black | |
"The last emacs24 theme you'll ever need.") | |
(custom-theme-set-faces | |
'ir_black | |
'(cursor ((t (:background "#ffa560")))) | |
'(mode-line ((t (:background "#202020" :foreground "#9c9c9c" :box nil :slant italic :height 0.9)))) | |
'(mode-line-inactive ((t (:background "#202020" :foreground "#4a4a4a" :box nil :slant normal)))) | |
'(font-lock-builtin-face ((t (:foreground "#96cbfe")))) | |
'(font-lock-regexp-grouping-construct ((t (:inherit bold :foreground "#e9c062")))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; pastels-on-dark-theme.el --- Pastels on Dark theme for Emacs 24 | |
;; Author: Mats Persson | |
;; Maintainer: Shane Celis <shane (at) gnufoo (dot) org> | |
;; URL: http://gist.github.com/1906662 | |
;; Version: 0.3 | |
;; Keywords: theme, color | |
;;; Commentary: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** glibc detected *** -zsh: malloc(): smallbin double linked list corrupted: 0x098d7de0 *** | |
======= Backtrace: ========= | |
/lib/tls/i686/cmov/libc.so.6(+0x6b591)[0xb76a9591] | |
/lib/tls/i686/cmov/libc.so.6(+0x6e710)[0xb76ac710] | |
/lib/tls/i686/cmov/libc.so.6(__libc_malloc+0x5c)[0xb76adf9c] | |
-zsh(zalloc+0x24)[0x808eb74] | |
-zsh(pushheap+0x34)[0x808ec84] | |
-zsh(execfor+0x142)[0x808b7c2] | |
-zsh[0x806c756] | |
-zsh[0x806d75f] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun package-build-pkg-file (pkg-file pkg-info) | |
"Write PKG-FILE containing PKG-INFO." | |
(package-build-dump | |
`(define-package | |
,(aref pkg-info 0) | |
,(aref pkg-info 3) | |
,(aref pkg-info 2) | |
,(mapcar | |
(lambda (elt) | |
(list (car elt) |