Mercurial > hg > config
comparison .emacs @ 585:1e3b778be7e4
STUB: .emacs
| author | Jeff Hammel <k0scist@gmail.com> | 
|---|---|
| date | Thu, 23 Jan 2014 11:27:02 -0800 | 
| parents | 980fd762e354 | 
| children | e14ba4fbc0e7 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 584:ed99a36df540 | 585:1e3b778be7e4 | 
|---|---|
| 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 TODO items") | 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 # -*- coding: utf-8 -*- | 
| 157 import optparse | 157 | 
| 158 import argpase | |
| 158 import os | 159 import os | 
| 159 import sys | 160 import sys | 
| 160 | 161 | 
| 161 here = os.path.dirname(os.path.realpath(__file__)) | 162 here = os.path.dirname(os.path.realpath(__file__)) | 
| 162 | 163 | 
| 163 def main(args=sys.argv[1:]): | 164 def main(args=sys.argv[1:]): | 
| 164 | 165 | 
| 165 usage = '%prog [options]' | 166 usage = '%prog [options]' | 
| 166 parser = optparse.OptionParser(usage=usage, description=__doc__) | 167 parser = argparse.ArgumentParser(usage=usage, description=__doc__) | 
| 167 options, args = parser.parse_args(args) | 168 options, args = parser.parse_args(args) | 
| 168 | 169 | 
| 169 if __name__ == '__main__': | 170 if __name__ == '__main__': | 
| 170 main()") | 171 main()") | 
| 171 ;; TODO: take directly from MakeItSo | 172 ;; TODO: take directly from MakeItSo | 
