(setq inferior-lisp-program "/opt/local/bin/openmcl") (add-to-list 'load-path "/usr/local/share/emacs/site-lisp") (require 'slime) (add-hook 'lisp-mode-hook 'slime-mode) (add-hook 'lisp-mode-hook 'turn-on-font-lock) (add-hook 'lisp-mode-hook 'turn-on-auto-fill) ;(defun slime-connect-if-needed () ; (unless (slime-connected-p) ; (let ((buffer (current-buffer))) ; (slime) ; (display-buffer buffer)))) ;(add-hook 'lisp-mode-hook 'slime-connect-if-needed) (add-to-list 'auto-mode-alist '("\\.cl\\'" . lisp-mode)) ;(setup-slime) (column-number-mode t) (setq inhibit-startup-message t) (load "~/.emacs.d/aqua-finnish-keyboard-fn.el") (autoload 'lyskom "lyskom" "Start LysKOM" t) (require 'tex-site) (setq reftex-plug-into-AUCTeX t) (setq TeX-auto-save t) (setq TeX-parse-self t) (setq-default TeX-master nil) ;(add-hook 'LaTeX-mode-hook latex-mode-hook) (add-hook 'LaTeX-mode-hook 'turn-on-auto-fill) (add-hook 'LaTeX-mode-hook 'turn-on-font-lock) ;(add-hook 'LaTeX-mode-hook 'reftex-parse-all) (add-hook 'LaTeX-mode-hook 'turn-on-reftex) (add-hook 'bibtex-mode-hook 'turn-on-auto-fill) (add-hook 'bibtex-mode-hook 'turn-on-font-lock) (setq lyskom-default-server "kom.lysator.liu.se") (setq lyskom-default-user-name "clacke") (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(LaTeX-command "/opt/local/bin/latex") '(TeX-PDF-mode t) '(TeX-command "/opt/local/bin/tex")) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. )