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
14 ;; And put the damned scroll bar on the correct side.
15 (set-scroll-bar-mode 'right)
17 ;; The most important statement in this file.
18 ;; Do not display a splash screen on startup.
19 (setq inhibit-splash-screen t)
22 (setq line-number-mode t)
23 (setq column-number-mode t)
27 ;; Don't force a newline at the end of every file.
28 ;; Doing so can screw up HTML, where a newline is more
29 ;; or less equivalent to a space.
30 (setq require-final-newline nil)
34 ;; (set-language-environment "UTF-8")
35 (prefer-coding-system 'utf-8-unix)
36 (set-terminal-coding-system 'utf-8-unix)
37 (set-keyboard-coding-system 'utf-8-unix)
39 (setq inhibit-iso-escape-detection t)
41 ;; Don't leave backups everywhere.
42 (setq backup-inhibited t)
44 ;; Add this to load-path manually, then add the rest in load-paths.el
45 (add-to-list 'load-path "~/.home/emacs/")
46 (load-library "load-paths")
48 (if (eq system-type 'cygwin)
49 (load-library "win32"))
52 ;; Need this for ignore-errors, and some modes.
55 (load-library "auto-modes")
56 (load-library "mode-hooks")
57 (load-library "autoloads")
67 (global-set-key "\C-ce" 'load-erc)
70 ;; Never ask me anything, emacs.
71 (setq save-abbrevs nil)
74 (load-library "diff-buffer-against-file")
75 (global-set-key "\C-cd" 'diff-buffer-against-file)
78 ;; These next functions override the defaults provided by emacs. They
79 ;; prevent warning messages related to file modification times,
80 ;; particularly on weird filesystems.
82 ;;(defun ask-user-about-supersession-threat (fn)
85 ;;(defun verify-visited-file-modtime (bf)