;;; main.el --- MAIN FILE

;;----------------------------------------------
;; Joerg Arndt's  emacs startup files
;; ... online at http://www.jjj.de/
;; your feedback is welcome  mailto: arndt (AT) jjj.de
;; version: 2010-March-31 (18:13)
;;----------------------------------------------

;; (to be loaded from the ~/.emacs file)
;; i.e. your ~/.emacs file should contain the line
;; (load "~/.jjemacs/main.el")

;; also see the System wide start file for emacs:
;; /usr/share/emacs/site-lisp/site-start.el


;;; Commentary:
;; 


;;; History:
;;                 
                   
;;; Code:          
                   
;; append current dir to load-path
;; edit if your directory for these files is different:
(setq load-path (append load-path '("~/.jjemacs/")))
(setq load-path (append load-path '("~/.jjemacs/other/")))
;;(setq load-path (append load-path '("~/.jjemacs/other/pari/")))
(setq load-path (append load-path '("/usr/local/share/emacs/site-lisp/pari/")))


;; used with mode-line and frame title:
(setq hostname (getenv "HOSTNAME"))


(load "modes.el")
(load "hooks.el")
(load "comments.el")
(load "funcs.el")
(load "keys.el")
(load "menu.el")
(load "mode-line.el")
(load "xwin.el")
(load "my-font-lock.el")
;;(load "dim-colors.el") ; loaded by my-font-lock.el
(load "settings.el")
(load "jjproject.el")
(load "playground.el")

;; pari/gp's files are under other/pari:
;;(autoload 'gp-script-mode "/usr/local/lib/pari/emacs/pari" "pari gp" nil  t)
(autoload 'gp-script-mode "pari" "pari gp" nil  t)
(autoload 'gp "pari" "pari gp" nil t)
(autoload 'gp-mode "pari" "pari gp" nil  t)
(autoload 'gpman "pari" "pari-gp manual" nil  t)
;;(autoload 'gp "pari" "pari gp" t)
;;(autoload 'gpman "pari" " pari-gp manual" t)

(setq load-path (append load-path '("~/.jjemacs/other/maxima/")))
(autoload 'maxima-mode "maxima/maxima.el" "Maxima mode" t)

(autoload 'mupad-mode "mupad-mode" "mupad Mode" t)

(autoload 'maplev-mode "maplev" "maple Mode" t)

(autoload 'ruby-mode "ruby-mode" "ruby Mode" t)

(autoload 'gnuplot-mode "gnuplot" "gnuplot major mode" t)
(autoload 'gnuplot-make-buffer "gnuplot" "open a buffer in gnuplot mode" t)

;;(autoload 'html-helper-mode "html-helper-mode" "HTML Helper Mode" t)


;;(require 'htmlize)
(autoload 'htmlize-buffer "htmlize" "htmlize" t)
(autoload 'htmlize-file "htmlize" "htmlize" t)
(autoload 'htmlize-region "htmlize" "htmlize" t)

;;(autoload 'python-mode "python-mode" "python Mode" t)

(autoload 'c++-mode  "cc-mode" "C++ Editing Mode" t)
(autoload 'c-mode    "cc-mode" "C Editing Mode" t)



;;(provide 'main)

;;; main.el ends here
