1 (load-library "zenburn")
4 ;; Disable auto-save for all file buffers
5 (setq auto-save-default nil)
7 (global-set-key "\C-m" 'newline-and-indent)
8 (global-font-lock-mode t)
10 ;; These are otherwise bound to C-Up and C-Down. To heck with that
11 ;; nonsense, M-n and M-p are unused and analogous to C-f, C-b and M-f,
13 (global-set-key "\M-p" 'backward-paragraph)
14 (global-set-key "\M-n" 'forward-paragraph)
16 ;; Gentoo *or somebody* made the default too small.
17 ;; Make it too big to overcompensate.
18 (set-default-font "DejaVu Sans Mono-14")
20 ;; Set the frame title to the name of the buffer, if supported.
21 (setq frame-title-format "%b")
23 ;; Currently needed to make Emacs 23 behave sanely.
24 '(diff-jump-to-old-file t)
26 ;; Disable the menu/tool bars when we're using X.
31 ;; And put the damned scroll bar on the correct side.
33 (set-scroll-bar-mode 'right))
35 ;; The most important statement in this file.
36 ;; Do not display a splash screen on startup.
37 (setq inhibit-splash-screen t)
40 (setq line-number-mode t)
41 (setq column-number-mode t)
45 ;; Don't force a newline at the end of every file.
46 ;; Doing so can screw up HTML, where a newline is more
47 ;; or less equivalent to a space.
48 (setq require-final-newline nil)
52 ;; (set-language-environment "UTF-8")
53 (prefer-coding-system 'utf-8-unix)
54 (set-terminal-coding-system 'utf-8-unix)
55 (set-keyboard-coding-system 'utf-8-unix)
57 (setq inhibit-iso-escape-detection t)
59 ;; Don't leave backups everywhere.
60 (setq backup-inhibited t)
62 ;; Add this to load-path manually, then add the rest in load-paths.el
63 (add-to-list 'load-path "~/.home/emacs/")
64 (load-library "load-paths")
66 (if (eq system-type 'cygwin)
67 (load-library "win32"))
70 ;; Need this for ignore-errors, and some modes.
73 (load-library "auto-modes")
74 (load-library "mode-hooks")
75 (load-library "autoloads")
78 ;; Open private IRC messages in a new buffer.
79 (setq erc-auto-query 'buffer)
81 ;; Never ask me anything, emacs.
82 (setq save-abbrevs nil)
85 (load-library "diff-buffer-against-file")
86 (global-set-key "\C-cd" 'diff-buffer-against-file)
88 (load-library "fix-nonstandard-chars")
91 ;; Enable dired-find-alternate-file without having to stop
92 ;; and explain myself to Emacs.
93 (put 'dired-find-alternate-file 'disabled nil)
96 ;; Enable the downcase-region function.
97 (put 'downcase-region 'disabled nil)