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