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 ;; Disable the menu/tool bars when we're using X.
15 ;; And put the damned scroll bar on the correct side.
17 (set-scroll-bar-mode 'right))
19 ;; The most important statement in this file.
20 ;; Do not display a splash screen on startup.
21 (setq inhibit-splash-screen t)
24 (setq line-number-mode t)
25 (setq column-number-mode t)
29 ;; Don't force a newline at the end of every file.
30 ;; Doing so can screw up HTML, where a newline is more
31 ;; or less equivalent to a space.
32 (setq require-final-newline nil)
36 ;; (set-language-environment "UTF-8")
37 (prefer-coding-system 'utf-8-unix)
38 (set-terminal-coding-system 'utf-8-unix)
39 (set-keyboard-coding-system 'utf-8-unix)
41 (setq inhibit-iso-escape-detection t)
43 ;; Don't leave backups everywhere.
44 (setq backup-inhibited t)
46 ;; Add this to load-path manually, then add the rest in load-paths.el
47 (add-to-list 'load-path "~/.home/emacs/")
48 (load-library "load-paths")
50 (if (eq system-type 'cygwin)
51 (load-library "win32"))
54 ;; Need this for ignore-errors, and some modes.
57 (load-library "auto-modes")
58 (load-library "mode-hooks")
59 (load-library "autoloads")
69 (global-set-key "\C-ce" 'load-erc)
72 ;; Never ask me anything, emacs.
73 (setq save-abbrevs nil)
76 (load-library "diff-buffer-against-file")
77 (global-set-key "\C-cd" 'diff-buffer-against-file)
80 ;; These next functions override the defaults provided by emacs. They
81 ;; prevent warning messages related to file modification times,
82 ;; particularly on weird filesystems.
84 ;;(defun ask-user-about-supersession-threat (fn)
87 ;;(defun verify-visited-file-modtime (bf)