comparison .emacs @ 572:980fd762e354

STUB: .emacs
author Jeff Hammel <k0scist@gmail.com>
date Thu, 16 Jan 2014 15:32:55 -0800
parents 0dbde82d1c82
children 1e3b778be7e4
comparison
equal deleted inserted replaced
571:0dbde82d1c82 572:980fd762e354
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 152
153 (fset 'pytodo "raise NotImplementedError('TODO') # -> record") 153 (fset 'pytodo "raise NotImplementedError('TODO') # -> record TODO items")
154 154
155 (fset 'python-file "#!/usr/bin/env python 155 (fset 'python-file "#!/usr/bin/env python
156 156
157 import optparse 157 import optparse
158 import os 158 import os