Skip to content

Instantly share code, notes, and snippets.

@jhaubrich
Created November 12, 2015 23:17
Show Gist options
  • Save jhaubrich/c31c9e1e291c90926cfd to your computer and use it in GitHub Desktop.
Save jhaubrich/c31c9e1e291c90926cfd to your computer and use it in GitHub Desktop.

ert

(ert-deftest foo ()
  (assert nil))

Now: M-x ert RET foo RET

apropos

Emacs makes discovery easier.

  • M-x apropos
  • M-x apropos-command
  • M-x apropos-variable

specialized keybindings

(bind-key "C-c e b" 'do-eval-buffer)
(bind-key "C-c e e" 'toggle-debug-on-error)
(bind-key "C-c e f" 'emacs-lisp-byte-compile-and-load)
(bind-key "C-c e r" 'eval-region)
(bind-key "C-c e s" 'scratch)

(bind-key "C-h e" 'lisp-find-map)

(bind-key "C-h e e" 'view-echo-area-messages)
(bind-key "C-h e f" 'find-function)
(bind-key "C-h e k" 'find-function-on-key)
(bind-key "C-h e l" 'find-library)
(bind-key "C-h e v" 'find-variable)
(bind-key "C-h e V" 'apropos-value)

macrostep (C-c e m)

eval-expr, M-C-x, C-x C-e

paredit

check-parens

(add-hook 'after-save-hook 'check-parens nil t)

redshank

(let (a)
  (progn
    (foo (hello-world))))

elp

(memory-use-counts)

edebug

elint

eldoc

ielm/eshell

slime nav

dimming parens and pretty lambdas

(((lambda (x) (+ x 1))))

workgroups

yasnippet

highlight-cl

Info-lookmore

backup-each-save

ace-jump-mode

magit

ediff, compare-windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment