On Mon, Jan 29, 2001 at 07:53:00PM +0000, Mark Fowler wrote:
> I like my .emacs file. It sets nice fonts and colours, and sets the
> editing mode and wrapping mode of choice ;-)
>
> I'm sure it can do more...
>
> 1) Where do I find handy things to put into my .emacs file on the web?
> 2) Got any nice bits of your .emacs file to share?
>
> Note that (shock, horror) I can't program lisp properly (duh, I program
> perl) so that I may sound stupid when it comes to these things.
The real trick is trying to write something portable between emacs
and xemacs. Anyway...
;; inhibit annoying messages
(setq inhibit-startup-echo-area-message t)
(setq inhibit-startup-message t)
;; set general defaults
(setq tab-width 2)
(setq indent-tabs-mode nil)
(setq initial-major-mode 'text-mode)
(setq default-major-mode 'text-mode)
;; add my libraries to load-path
(setq load-path
(append (list (expand-file-name "~michaels/etc/emacs"))
load-path))
p4.el available from http://www.dsmit.com/p4/ is kinda nice if you're
working with perforce.
Michael