annotate .elisp/settings/10.require.el @ 354:3d46ce32c14e

which-function-mode: only enable in emacs 24.4 and later Emacs 24.3.x has a bug in which-function-mode that causes my emacs to lock up for several seconds. Rather than tolerate that, just disable which-function-mode on those systems.
author Augie Fackler <raf@durin42.com>
date Tue, 18 Nov 2014 17:17:36 -0500
parents 7cb31ed262f0
children c2a49960f11f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
77
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
1 ;; Better buffer switching and file loading (load first in case we need the
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
2 ;; * Messages * buffer)
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
3 (require 'ido)
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
4 (setq ido-enable-flex-matching t)
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
5 (ido-mode t)
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
6
236
3e1ec121efaf emacs: use smex as a replacement for execute-extended-command
Augie Fackler <durin42@gmail.com>
parents: 217
diff changeset
7 (smex-initialize)
3e1ec121efaf emacs: use smex as a replacement for execute-extended-command
Augie Fackler <durin42@gmail.com>
parents: 217
diff changeset
8
216
a01712792c2b emacs requires: cleanup and organize a little
Augie Fackler <durin42@gmail.com>
parents: 214
diff changeset
9 ;; Python
77
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
10 (require 'python-mode)
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
11 (require 'ipython)
217
e4842709368a emacs: move colors to their own file and migrate to whitespace from wspace
Augie Fackler <durin42@gmail.com>
parents: 216
diff changeset
12
e4842709368a emacs: move colors to their own file and migrate to whitespace from wspace
Augie Fackler <durin42@gmail.com>
parents: 216
diff changeset
13 ;; VCS
77
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
14 (require 'mercurial)
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
15 (require 'diff-mode-)
217
e4842709368a emacs: move colors to their own file and migrate to whitespace from wspace
Augie Fackler <durin42@gmail.com>
parents: 216
diff changeset
16 (require 'magit)
e4842709368a emacs: move colors to their own file and migrate to whitespace from wspace
Augie Fackler <durin42@gmail.com>
parents: 216
diff changeset
17
e4842709368a emacs: move colors to their own file and migrate to whitespace from wspace
Augie Fackler <durin42@gmail.com>
parents: 216
diff changeset
18 ;; Hygene
e4842709368a emacs: move colors to their own file and migrate to whitespace from wspace
Augie Fackler <durin42@gmail.com>
parents: 216
diff changeset
19 (require 'whitespace)
77
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
20 (require 'midnight)
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
21
216
a01712792c2b emacs requires: cleanup and organize a little
Augie Fackler <durin42@gmail.com>
parents: 214
diff changeset
22 ;; other
77
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
23 (require 'textmate)
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
24 (textmate-mode)
150
616075bfadb5 textmate: override project root definitions
Augie Fackler <durin42@gmail.com>
parents: 144
diff changeset
25 ;; override what makes a project root
616075bfadb5 textmate: override project root definitions
Augie Fackler <durin42@gmail.com>
parents: 144
diff changeset
26 (setq *textmate-project-roots* '(".git" ".hg"))
77
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
27
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
28 (require 'yaml-mode)
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
29 (add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode))
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
30
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
31 (require 'nose)
143
35eef880a5ac emacs: add http-twiddle for POST debugging
Augie Fackler <durin42@gmail.com>
parents: 86
diff changeset
32 (require 'http-twiddle)
263
14f08dbdba1b emacs: require js2-mode, since autoload seems to fail for it
Augie Fackler <durin42@gmail.com>
parents: 236
diff changeset
33
14f08dbdba1b emacs: require js2-mode, since autoload seems to fail for it
Augie Fackler <durin42@gmail.com>
parents: 236
diff changeset
34 (require 'js2-mode)
314
7cb31ed262f0 emacs: require markdown-mode
Augie Fackler <raf@durin42.com>
parents: 263
diff changeset
35 (require 'markdown-mode)