256433806eae608c6771f8daea6d4865565d2d32
[dot-emacs] / misc-disabled.el
1 ;; git version of gnus
2 ;; (add-to-list 'load-path "~/.emacs.d/src/gnus/lisp")
3 ;; (eval-after-load "info"
4 ;; (quote (add-to-list 'Info-default-directory-list "~/.emacs.d/src/gnus/texi")))
5
6 ;; needed for git version
7 ;;(add-to-list 'load-path "~/.emacs.d/src/haskell-mode")
8 ;;(require 'haskell-mode-autoloads)
9 ;;(add-to-list 'Info-default-directory-list "~/.emacs.d/src/haskell-mode")
10
11 ;; for using custom/upstream bbdb
12 ;;(require 'bbdb-loaddefs "~/.emacs.d/src/bbdb/lisp/bbdb-loaddefs.el")
13 ;;(setq bbdb-print-tex-path "~/.emacs.d/src/bbdb/tex")
14
15
16 ;; iank: dunno what this was about
17 ;;(add-hook 'server-visit-hook 'raise-frame)
18
19
20 ;;;; alternate keyboards
21 ;; todo, figure out an easy way to disable this when using external keyboard
22 ;; (if (display-graphic-p)
23 ;; (setq
24 ;; enter-key (kbd "<return>")
25 ;; s-enter-key (kbd "<S-return>")
26 ;; c-m-enter-key (kbd "<C-M-return>")
27 ;; m-enter (kbd "<M-return>")
28 ;; c-enter (kbd "<C-return>"))
29 ;; (setq
30 ;; enter-key (kbd "C-m")
31 ;; s-enter-key (kbd "C-8")
32 ;; c-m-enter-key (kbd "C-M-8")
33 ;; m-enter (kbd "M-m")
34 ;; c-enter (kbd "C-8")))
35
36
37 (setq tp (string= (system-name) "tp"))
38 (setq x200 (string= (system-name) "x2"))
39 (setq laptop-keyboard (or tp x200))
40
41
42
43 ;;; abreviations
44 ;; turn on abbrev mode globally
45 (setq-default abbrev-mode t)
46
47 ;; default abbreviation mode file is .emacs.d/abbrev_defs.
48 ;; add-global-abbrev, add-mode-abbrev for expansion at point
49 ;; if all else fails, edit the abbrev file