2 This contains an emacs tree a'la Steve Yeggee (except that it's not an entire directory--see his take on it below)
\r
3 See MANIFEST for a list of what's in the repository
\r
4 #################################################################################################################################################################
\r
5 http://steve.yegge.googlepages.com/my-dot-emacs-file
\r
6 ;; I keep all my emacs-related stuff under ~/emacs
\r
7 (defvar emacs-root (if (or (eq system-type 'cygwin)
\r
8 (eq system-type 'gnu/linux)
\r
9 (eq system-type 'linux))
\r
10 "/home/stevey/" "c:/home/stevey/")
\r
11 "My home directory — the root of my personal emacs load-path.")
\r
13 ;; add all the elisp directories under ~/emacs to my load path
\r
14 (labels ((add-path (p)
\r
15 (add-to-list 'load-path
\r
16 (concat emacs-root p))))
\r
17 (add-path "emacs/lisp") ;; all my personal elisp code
\r
18 (add-path "emacs/lisp/ttest") ;; a typing-test package I wrote
\r
19 (add-path "emacs/site-lisp") ;; elisp stuff I find on the 'net
\r
20 (add-path "emacs/calc-2.02f") ;; fix for M-x calc on NT Emacs
\r
21 (add-path "emacs/vm-7.04") ;; a fancy mail client
\r
22 (add-path "emacs/jde-2.3.2/lisp") ;; Java IDE support
\r
23 (add-path "emacs/jde-2.3.2/elib-1.0")
\r
24 (add-path "emacs/jde-2.3.2/eieio-0.17")
\r
25 (add-path "emacs/jde-2.3.2/speedbar-0.14beta4")
\r
26 (add-path "emacs/jde-2.3.2/semantic-1.4.4")
\r
28 (add-path "emacs/site-lisp/nxml-mode") ;; XML support
\r
29 (add-path "emacs/site-lisp/tuareg-mode-1.41.5") ;; OCaml support
\r
30 (add-path "emacs/site-lisp/emacs-wiki-2.67.1") ;; personal Wiki
\r
33 My .emacs "file" is actually a directory tree, which I always keep under my home directory: /home/stevey/emacs. I have about 10k lines of Emacs-lisp code of my own,
\r
34 and a quarter million lines, in over 400 files, that I've gotten off the net from various places, such as this one.
\r
36 My emacs tree also has a fonts/ directory with Windows versions of some of my favorite Unix fonts (the sony fixed-width ones, my favorite being the one called "7x13"),
\r
37 an info/ directory with over 400 Emacs info files (individually gzipped, of course), and misc odds and ends: stuff written in perl, java, python, all tools to
\r
38 help integrate Emacs with my other applications.
\r
40 The whole thing is under CVS (soon to be Subversion) control, with the repository hosted on a server in the Westin building in downtown Seattle, for which
\r
41 I pay a monthly colocation fee.
\r
43 The server is remote-controlled via radio waves emitted by a giant radioactive moth from a concrete bunker at the center of a huge blimp that orbits Jupiter.
\r
44 Or so it would seem, since it's the only possible explanation for why server only seems to go down on Friday afternoons, right before my ISP's employees leave
\r
45 on holiday. Other than that, it works great.
\r
47 I can check out my Emacs tree onto any computer with Linux or Cygwin, make a handful of local tweaks to the .emacs file, and I'm up and running.
\r
48 The same set of files works no matter how I'm running Emacs, including:
\r
50 on a Windows machine (NT Emacs)
\r
51 on a Linux machine under X (GNU Emacs)
\r
52 on a Windows machine using the Cygwin-compiled GNU Emacs
\r
53 ssh'ed remotely into a Linux box
\r
54 ssh'ed remotely into a Windows box, running Cygwin bash
\r
55 misc video modes and screen resolutions
\r
56 I try to keep things working with XEmacs, or at least loading without errors. I use XEmacs occasionally, but it's never been stable enough for me to get hooked on it.
\r
57 #################################################################################################################################################################
\r