Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;; Red Hat Linux default .emacs initialization file ; -*- mode: emacs-lisp -*-
- ;; Set up the keyboard so the delete key on both the regular keyboard
- ;; and the keypad delete the character under the cursor and to the right
- ;; under X, instead of the default, backspace behavior.
- (global-set-key [delete] 'delete-char)
- (global-set-key [kp-delete] 'delete-char)
- ;; turn on font-lock mode
- (global-font-lock-mode t)
- ;; enable visual feedback on selections
- (setq-default transient-mark-mode t)
- ;; always end a file with a newline
- (setq require-final-newline t)
- ;; stop at the end of the file, not just add lines
- (setq next-line-add-newlines nil)
- (tool-bar-mode 0)
- (setq inhibit-startup-screen t)
- (when window-system
- ;; enable wheelmouse support by default
- (mwheel-install)
- ;; use extended compound-text coding for X clipboard
- (set-selection-coding-system 'compound-text-with-extensions))
- (defvar package-activated-list nil)
- (load-file "~/.emacs.d/slime/slime.el")
- (load-file "~/.emacs.d/clojure-mode/clojure-mode.el")
- (load-file "~/.emacs.d/swank-clojure/swank-clojure.el")
- (load-file "~/.emacs.d/paredit.el")
- (load-file "~/.emacs.d/ido/ido.el")
- (require 'assoc)
- (slime-setup '(slime-repl))
- (setq swank-clojure-binary "~/bin/clojure")
- (swank-clojure-reset-implementation)
- (add-hook 'clojure-mode-hook 'enable-paredit-mode)
- (ido-mode)
- ;;debugger
- (progn
- (setq cdt-dir "/Users/zach/.emacs.d/cdt")
- (setq cdt-source-path
- ":/Users/zach/.emacs.d/clojure-1.2.0/src/jvm:
- :/Users/zach/.emacs.d/clojure-1.2.0/src/clj:
- :/Users/zach/.emacs.d/clojure-contrib-1.2.0/src/main/clojure:
- :/Users/zach/clj/lamina/src/:")
- (load-file (format "%s/ide/emacs/cdt.el" cdt-dir)))
- (load-file "~/.emacs.d/durendal/durendal.el")
- (durendal-enable)
Add Comment
Please, Sign In to add comment