(global-font-lock-mode t)
(line-number-mode 1)
(column-number-mode 1)
(setq load-path (cons "/home/biskit/emacs/" load-path))

(cond (window-system
      (setq default-frame-alist
            (append `((font . "-Misc-Fixed-medium-r-normal--15-140-75-75-C-90-ISO8859-1"))
             default-frame-alist))))


;; activate python mode
(setq auto-mode-alist (cons '("\\.py$" . python-mode) auto-mode-alist))
(setq interpreter-mode-alist (cons '("python" . python-mode)
                              interpreter-mode-alist))
(autoload 'python-mode "python-mode" "Python editing mode." t)

;; python-docu lookup from emacs
(require 'haddoc)
;; (define-key py-mode-map [(control c)(?.)] 'haddoc-lookup)

(global-set-key [home] 'beginning-of-buffer)
(global-set-key [end] 'end-of-buffer)
(tool-bar-mode -1)

(custom-set-variables
  ;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 '(browse-url-netscape-program "firefox")
 '(case-fold-search t)
 '(current-language-environment "Latin-1")
 '(default-input-method "latin-1-prefix")
 '(delete-selection-mode nil nil (delsel))
 '(global-font-lock-mode t nil (font-lock))
 '(lpr-headers-switches nil)
 '(lpr-switches (quote ("-h")))
 '(menu-bar-mode t)
 '(mouse-wheel-mode t nil (mwheel))
 '(printer-name nil)
 '(ps-lpr-switches (quote ("-h")))
 '(ps-paper-type (quote a4))
 '(ps-printer-name nil)
 '(ps-printer-name-option "-P ")
 '(py-beep-if-tab-change nil)
 '(py-honor-comment-indentation nil)
 '(py-jump-on-exception t)
 '(py-python-command "python")
 '(py-smart-indentation nil)
 '(scroll-bar-mode (quote right))
 '(text-mode-hook (quote (turn-on-auto-fill text-mode-hook-identify)))
 '(transient-mark-mode t))
(custom-set-faces
  ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 )

;; C-TAB cycles through the input methods
(global-set-key (kbd "M-RET") 'dabbrev-expand)
