Mercurial > hg > config
annotate .emacs @ 368:6f1e4562c06a
typo
| author | Jeff Hammel <jhammel@mozilla.com> | 
|---|---|
| date | Sun, 21 Jul 2013 04:33:33 -0700 | 
| parents | ad10f719d160 | 
| children | c805a31fe0f5 | 
| rev | line source | 
|---|---|
| 362 
ad10f719d160
hopefully fix this damn thing
 Jeff Hammel <jhammel@mozilla.com> parents: 
359diff
changeset | 1 (setq max-specpdl-size 5000) | 
| 
ad10f719d160
hopefully fix this damn thing
 Jeff Hammel <jhammel@mozilla.com> parents: 
359diff
changeset | 2 | 
| 347 | 3 (setq initial-scratch-message ";; scratch ;; | 
| 4 | |
| 5 ") | |
| 6 | |
| 335 
a9d3f1210506
what a piece of crap; disablign for now since i dont use anyway
 Jeff Hammel <jhammel@mozilla.com> parents: 
309diff
changeset | 7 ;; ;; ;; emacs server (what a piece of crap) | 
| 
a9d3f1210506
what a piece of crap; disablign for now since i dont use anyway
 Jeff Hammel <jhammel@mozilla.com> parents: 
309diff
changeset | 8 ;; (require 'server) | 
| 
a9d3f1210506
what a piece of crap; disablign for now since i dont use anyway
 Jeff Hammel <jhammel@mozilla.com> parents: 
309diff
changeset | 9 ;; (unless (server-running-p) | 
| 
a9d3f1210506
what a piece of crap; disablign for now since i dont use anyway
 Jeff Hammel <jhammel@mozilla.com> parents: 
309diff
changeset | 10 ;; (server-start)) | 
| 
a9d3f1210506
what a piece of crap; disablign for now since i dont use anyway
 Jeff Hammel <jhammel@mozilla.com> parents: 
309diff
changeset | 11 ;; ;; ;; An error has occurred while loading `/home/jhammel/.emacs': | 
| 
a9d3f1210506
what a piece of crap; disablign for now since i dont use anyway
 Jeff Hammel <jhammel@mozilla.com> parents: 
309diff
changeset | 12 ;; ;; ;; Symbol's function definition is void: server-running-p | 
| 
a9d3f1210506
what a piece of crap; disablign for now since i dont use anyway
 Jeff Hammel <jhammel@mozilla.com> parents: 
309diff
changeset | 13 ;; ;; ;; To ensure normal operation, you should investigate and remove the | 
| 
a9d3f1210506
what a piece of crap; disablign for now since i dont use anyway
 Jeff Hammel <jhammel@mozilla.com> parents: 
309diff
changeset | 14 ;; ;; ;; cause of the error in your initialization file. Start Emacs with | 
| 
a9d3f1210506
what a piece of crap; disablign for now since i dont use anyway
 Jeff Hammel <jhammel@mozilla.com> parents: 
309diff
changeset | 15 ;; ;; ;; the `--debug-init' option to view a complete error backtrace. | 
| 
a9d3f1210506
what a piece of crap; disablign for now since i dont use anyway
 Jeff Hammel <jhammel@mozilla.com> parents: 
309diff
changeset | 16 | 
| 
a9d3f1210506
what a piece of crap; disablign for now since i dont use anyway
 Jeff Hammel <jhammel@mozilla.com> parents: 
309diff
changeset | 17 ;; ;; ;; For information about GNU Emacs and the GNU system, type C-h C-a. | 
| 
a9d3f1210506
what a piece of crap; disablign for now since i dont use anyway
 Jeff Hammel <jhammel@mozilla.com> parents: 
309diff
changeset | 18 ;; ;; How to fix: | 
| 
a9d3f1210506
what a piece of crap; disablign for now since i dont use anyway
 Jeff Hammel <jhammel@mozilla.com> parents: 
309diff
changeset | 19 ;; http://stackoverflow.com/questions/9999320/how-to-check-if-a-function-e-g-server-running-p-is-available-under-emacs | 
| 297 | 20 | 
| 21 ;;;; bars | |
| 22 | |
| 23 ;; Turn off the status bar and on the mouse if we're not in a window system | |
| 24 (menu-bar-mode (if window-system 1 -1)) | |
| 25 | |
| 26 ;; no need for a tool bar | |
| 0 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 27 (if (boundp 'tool-bar-mode) (tool-bar-mode 0)) | 
| 297 | 28 | 
| 29 ;; ...or a startup message | |
| 309 | 30 ;; instead, it'd be nice to start with a list of recent files (recentf) | 
| 0 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 31 (setq inhibit-startup-message t) | 
| 297 | 32 | 
| 33 ;; no f-ing backup files | |
| 0 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 34 (setq make-backup-files nil) | 
| 297 | 35 | 
| 36 ;; show trailing whitespace | |
| 37 (setq-default show-trailing-whitespace t) | |
| 38 | |
| 300 | 39 ;;;; ??? no idea | 
| 297 | 40 | 
| 0 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 41 (put 'downcase-region 'disabled nil) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 42 (setq truncate-lines nil) | 
| 297 | 43 (setq truncate-partial-width-windows nil) | 
| 0 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 44 (setq use-file-dialog nil) | 
| 75 
89a64b0d6146
adding indentation for javascript
 Jeff Hammel <jhammel@mozilla.com> parents: 
62diff
changeset | 45 | 
| 280 | 46 ;; make directories when they don't exist | 
| 47 ;; from http://stackoverflow.com/questions/6830671/how-to-make-emacs-create-intermediate-dirs-when-saving-a-file | |
| 48 (add-hook 'before-save-hook | |
| 49 (lambda () | |
| 50 (when buffer-file-name | |
| 51 (let ((dir (file-name-directory buffer-file-name))) | |
| 52 (when (not (file-exists-p dir)) | |
| 53 (make-directory dir t)))))) | |
| 54 | |
| 297 | 55 ;;;; indentation | 
| 75 
89a64b0d6146
adding indentation for javascript
 Jeff Hammel <jhammel@mozilla.com> parents: 
62diff
changeset | 56 | 
| 
89a64b0d6146
adding indentation for javascript
 Jeff Hammel <jhammel@mozilla.com> parents: 
62diff
changeset | 57 ;; python indentation | 
| 120 
339805e00f03
set python spacing back to four, by popular demand
 Jeff Hammel <jhammel@mozilla.com> parents: 
75diff
changeset | 58 (setq python-indent 4) | 
| 
339805e00f03
set python spacing back to four, by popular demand
 Jeff Hammel <jhammel@mozilla.com> parents: 
75diff
changeset | 59 (setq-default py-indent-offset 4) | 
| 0 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 60 (setq python-guess-indent nil) | 
| 75 
89a64b0d6146
adding indentation for javascript
 Jeff Hammel <jhammel@mozilla.com> parents: 
62diff
changeset | 61 | 
| 
89a64b0d6146
adding indentation for javascript
 Jeff Hammel <jhammel@mozilla.com> parents: 
62diff
changeset | 62 ;; javascript indentation: http://www.brgeight.se/downloads/emacs/javascript.el | 
| 
89a64b0d6146
adding indentation for javascript
 Jeff Hammel <jhammel@mozilla.com> parents: 
62diff
changeset | 63 (setq javascript-indent-level 2) | 
| 148 | 64 (setq js-indent-level 2) | 
| 75 
89a64b0d6146
adding indentation for javascript
 Jeff Hammel <jhammel@mozilla.com> parents: 
62diff
changeset | 65 | 
| 0 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 66 (setq-default indent-tabs-mode nil) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 67 (defface extra-whitespace-face '((t (:background "pale green"))) "Used for tabs and such.") | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 68 | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 69 (autoload 'doctest-mode "doctest-mode" "doctest editing mode." t) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 70 | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 71 (transient-mark-mode 1) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 72 | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 73 (put 'upcase-region 'disabled nil) | 
| 297 | 74 | 
| 75 ;;;; line/col #s | |
| 309 | 76 ;;;; Show line and column numbers in the mode line | 
| 0 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 77 (line-number-mode 1) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 78 (column-number-mode 1) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 79 | 
| 309 | 80 | 
| 297 | 81 ;;;; modes | 
| 82 | |
| 83 ;; Bind major editing modes to certain file extensions | |
| 0 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 84 (setq auto-mode-alist (cons '("\\.zcml$" . sgml-mode) auto-mode-alist)) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 85 (setq auto-mode-alist (cons '("\\.pt$" . sgml-mode) auto-mode-alist)) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 86 (setq auto-mode-alist (cons '("\\.cpt$" . sgml-mode) auto-mode-alist)) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 87 (setq auto-mode-alist (cons '("\\.cpy$" . python-mode) auto-mode-alist)) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 88 (setq auto-mode-alist (cons '("\\.vpy$" . python-mode) auto-mode-alist)) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 89 | 
| 300 | 90 ;; set auto-fill for appropriate modes | 
| 0 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 91 (add-hook 'text-mode-hook 'turn-on-auto-fill) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 92 (add-hook 'sgml-mode-hook 'turn-off-auto-fill) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 93 | 
| 300 | 94 ;; set the grep command....for some reason | 
| 0 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 95 (setq grep-command "grep -liE") | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 96 | 
| 300 | 97 | 
| 98 ;;;; recent history stuff | |
| 0 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 99 (require 'recentf) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 100 (recentf-mode 1) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 101 (setq recentf-max-menu-items 25) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 102 (global-set-key "\C-x\ \C-r" 'recentf-open-files) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 103 | 
| 300 | 104 ;;;; full-steam-ahead-and-damn-the-torpedoes | 
| 0 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 105 (defun | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 106 full-steam-ahead-and-damn-the-torpedoes | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 107 (prompt) t) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 108 (defalias 'y-or-n-p | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 109 'full-steam-ahead-and-damn-the-torpedoes) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 110 (defalias 'yes-or-no-p | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 111 'full-steam-ahead-and-damn-the-torpedoes) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 112 | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 113 (require 'uniquify) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 114 (setq uniquify-buffer-name-style 'post-forward) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 115 | 
| 300 | 116 ;;;; | 
| 117 | |
| 0 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 118 ;; wheel mouse | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 119 (global-set-key [mouse-4] 'scroll-down) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 120 (global-set-key [mouse-5] 'scroll-up) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 121 | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 122 ;; substring buffer switching mode | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 123 (iswitchb-mode 1) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 124 | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 125 (global-set-key "\M-g" 'goto-line) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 126 | 
| 297 | 127 ;;;; python | 
| 128 | |
| 0 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 129 ;; (when (load "flymake" t) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 130 ;; (defun flymake-pyflakes-init () | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 131 ;; (let* ((temp-file (flymake-init-create-temp-buffer-copy | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 132 ;; 'flymake-create-temp-inplace)) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 133 ;; (local-file (file-relative-name | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 134 ;; temp-file | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 135 ;; (file-name-directory buffer-file-name)))) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 136 ;; (list "pyflakes" (list local-file)))) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 137 ;; (add-to-list 'flymake-allowed-file-name-masks | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 138 ;; '("\\.py\\'" flymake-pyflakes-init))) | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 139 | 
| 
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
 k0s <k0scist@gmail.com> parents: diff
changeset | 140 ;; (add-hook 'find-file-hook 'flymake-find-file-hook) | 
| 4 | 141 | 
| 142 (fset 'break "import pdb; pdb.set_trace();\C-a\C-i") | |
| 143 (add-hook 'python-mode-hook | |
| 144 '(lambda () | |
| 145 (local-set-key [(meta ?p) (meta ?p)] 'break))) | |
| 347 | 146 | 
| 147 (fset 'python-file "#!/usr/bin/env python | |
| 148 | |
| 149 import optparse | |
| 150 import os | |
| 151 import sys | |
| 152 | |
| 153 here = os.path.dirname(os.path.realpath(__file__)) | |
| 154 | |
| 155 def main(args=sys.argv[1:]): | |
| 156 | |
| 157 usage = '%prog [options]' | |
| 158 parser = optparse.OptionParser(usage=usage, description=__doc__) | |
| 368 | 159 options, args = parser.parse_args(args) | 
| 347 | 160 | 
| 161 if __name__ == '__main__': | |
| 162 main()") | |
| 348 
6004e00b602d
new hg file; TODO: incorporate!
 Jeff Hammel <jhammel@mozilla.com> parents: 
347diff
changeset | 163 ;; TODO: take directly from MakeItSo | 
| 347 | 164 | 
| 359 
07d01606da84
add a macro for mozbase tests
 Jeff Hammel <jhammel@mozilla.com> parents: 
348diff
changeset | 165 (fset 'mozbase-test "#!/usr/bin/env python | 
| 
07d01606da84
add a macro for mozbase tests
 Jeff Hammel <jhammel@mozilla.com> parents: 
348diff
changeset | 166 | 
| 
07d01606da84
add a macro for mozbase tests
 Jeff Hammel <jhammel@mozilla.com> parents: 
348diff
changeset | 167 # This Source Code Form is subject to the terms of the Mozilla Public | 
| 
07d01606da84
add a macro for mozbase tests
 Jeff Hammel <jhammel@mozilla.com> parents: 
348diff
changeset | 168 # License, v. 2.0. If a copy of the MPL was not distributed with this file, | 
| 
07d01606da84
add a macro for mozbase tests
 Jeff Hammel <jhammel@mozilla.com> parents: 
348diff
changeset | 169 # You can obtain one at http://mozilla.org/MPL/2.0/. | 
| 
07d01606da84
add a macro for mozbase tests
 Jeff Hammel <jhammel@mozilla.com> parents: 
348diff
changeset | 170 | 
| 
07d01606da84
add a macro for mozbase tests
 Jeff Hammel <jhammel@mozilla.com> parents: 
348diff
changeset | 171 import os | 
| 
07d01606da84
add a macro for mozbase tests
 Jeff Hammel <jhammel@mozilla.com> parents: 
348diff
changeset | 172 import unittest | 
| 
07d01606da84
add a macro for mozbase tests
 Jeff Hammel <jhammel@mozilla.com> parents: 
348diff
changeset | 173 | 
| 
07d01606da84
add a macro for mozbase tests
 Jeff Hammel <jhammel@mozilla.com> parents: 
348diff
changeset | 174 here = os.path.dirname(os.path.abspath(__file__)) | 
| 
07d01606da84
add a macro for mozbase tests
 Jeff Hammel <jhammel@mozilla.com> parents: 
348diff
changeset | 175 | 
| 
07d01606da84
add a macro for mozbase tests
 Jeff Hammel <jhammel@mozilla.com> parents: 
348diff
changeset | 176 class Test____(unittest.TestCase): | 
| 
07d01606da84
add a macro for mozbase tests
 Jeff Hammel <jhammel@mozilla.com> parents: 
348diff
changeset | 177 | 
| 
07d01606da84
add a macro for mozbase tests
 Jeff Hammel <jhammel@mozilla.com> parents: 
348diff
changeset | 178 if __name__ == '__main__': | 
| 
07d01606da84
add a macro for mozbase tests
 Jeff Hammel <jhammel@mozilla.com> parents: 
348diff
changeset | 179 unittest.main() | 
| 
07d01606da84
add a macro for mozbase tests
 Jeff Hammel <jhammel@mozilla.com> parents: 
348diff
changeset | 180 ") | 
| 
07d01606da84
add a macro for mozbase tests
 Jeff Hammel <jhammel@mozilla.com> parents: 
348diff
changeset | 181 | 
| 
07d01606da84
add a macro for mozbase tests
 Jeff Hammel <jhammel@mozilla.com> parents: 
348diff
changeset | 182 | 
| 347 | 183 ;;; TODO | 
| 184 ; - needless to say, zeitgeist integration | |
| 359 
07d01606da84
add a macro for mozbase tests
 Jeff Hammel <jhammel@mozilla.com> parents: 
348diff
changeset | 185 ; - http://pedrokroger.net/2010/07/configuring-emacs-as-a-python-ide-2/ | 
