comparison .emacs @ 571:0dbde82d1c82

STUB: .emacs
author Jeff Hammel <k0scist@gmail.com>
date Thu, 16 Jan 2014 15:32:15 -0800
parents c30cd6473984
children 980fd762e354
comparison
equal deleted inserted replaced
570:fb4e54f50dd2 571:0dbde82d1c82
147 147
148 (fset 'break "import pdb; pdb.set_trace();\C-a\C-i") 148 (fset 'break "import pdb; pdb.set_trace();\C-a\C-i")
149 (add-hook 'python-mode-hook 149 (add-hook 'python-mode-hook
150 '(lambda () 150 '(lambda ()
151 (local-set-key [(meta ?p) (meta ?p)] 'break))) 151 (local-set-key [(meta ?p) (meta ?p)] 'break)))
152
153 (fset 'pytodo "raise NotImplementedError('TODO') # -> record")
152 154
153 (fset 'python-file "#!/usr/bin/env python 155 (fset 'python-file "#!/usr/bin/env python
154 156
155 import optparse 157 import optparse
156 import os 158 import os