Emacs

Emacs is not an editor. Emacs is a way of thinking about the world, and as such is a way of thinking about editors. The process of editing is Emacs, but Emacs is more than the process of editing. When you ask what Emacs does, you are asking a question with no answer, because Emacs doesn’t do, it is done to. Emacs just is. … I hope this makes things clearer.
– Scott Dorsey

I’m no longer using emacs on a day to day basis, this is page remains for archival/reference purposes

The following .emacs file works on MacOS X, Windows, and Linux using a relatively current CVS build. It requires the emacs_elisp directory from this page as well.

On windows home is assumed to be c:\documents adn settings\%USERNAME% and the elisp and backup directories are assumed to be ~\emacs\emacs_elisp and ~\emacs\emacs.backups …. I’ve found that on windows the .emacs files mut be named _emacs and placed in the root of your home directory. I had to rename the file using a cmd prompt, explorer won’t allow a filename to begin with an underscore.

On MacOS X and Linux .emacs and .emacs_elisp go into your home directory.

Features of this setup: Nothing really special, just everything (almost) that i wanted rolled up into one config file and a directory of emacs lisp files.

  • One .emacs file works across multiple OSs
  • tabbar mode
  • nXML mode for editing XML and SGML
  • C# major mode
  • Ruby Major Mode
  • Procmail Major Mode (Syntax Highlighting only)
  • Spam Assassin Major Mode (Syntax Highlighting only)
  • PHP Mode
  • CSS Major Mode
  • Javascript Major Mode
  • mmm-mode : Multiple Major modes (highlights php, javascript, and css when included in an HTML file with their own syntax highlighting
  • Apache Major Mode
  • Sane Defaults for backups and autosaves
  • Custom keybindings to match various OSes
  • Selected Regions behave (almost) normally [still copies when text is selected.]
  • 11-6-2005: Added support for scrolling with the Griffin Powermate

Files: