1 ;; Disable auto-save for all file buffers
2 (setq auto-save-default nil)
4 (global-set-key "\C-m" 'newline-and-indent)
5 (global-font-lock-mode t)
7 ;; Set the frame title to the name of the buffer, if supported.
8 (setq frame-title-format "%b")
10 ;; Currently needed to make Emacs 23 behave sanely.
11 '(diff-jump-to-old-file t)
13 ;; Disable the menu/tool bars when we're using X.
18 ;; And put the damned scroll bar on the correct side.
20 (set-scroll-bar-mode 'right))
22 ;; The most important statement in this file.
23 ;; Do not display a splash screen on startup.
24 (setq inhibit-splash-screen t)
27 (setq line-number-mode t)
28 (setq column-number-mode t)
32 ;; Don't force a newline at the end of every file.
33 ;; Doing so can screw up HTML, where a newline is more
34 ;; or less equivalent to a space.
35 (setq require-final-newline nil)
39 ;; (set-language-environment "UTF-8")
40 (prefer-coding-system 'utf-8-unix)
41 (set-terminal-coding-system 'utf-8-unix)
42 (set-keyboard-coding-system 'utf-8-unix)
44 (setq inhibit-iso-escape-detection t)
46 ;; Don't leave backups everywhere.
47 (setq backup-inhibited t)
49 ;; Add this to load-path manually, then add the rest in load-paths.el
50 (add-to-list 'load-path "~/.home/emacs/")
51 (load-library "load-paths")
53 (if (eq system-type 'cygwin)
54 (load-library "win32"))
57 ;; Need this for ignore-errors, and some modes.
60 (load-library "auto-modes")
61 (load-library "mode-hooks")
62 (load-library "autoloads")
72 (global-set-key "\C-ce" 'load-erc)
75 ;; Never ask me anything, emacs.
76 (setq save-abbrevs nil)
79 (load-library "diff-buffer-against-file")
80 (global-set-key "\C-cd" 'diff-buffer-against-file)
82 (load-library "fix-nonstandard-chars")
85 ;; These next functions override the defaults provided by emacs. They
86 ;; prevent warning messages related to file modification times,
87 ;; particularly on weird filesystems.
89 ;;(defun ask-user-about-supersession-threat (fn)
92 ;;(defun verify-visited-file-modtime (bf)