[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cool and Useful LISP for the .emacs file
From: |
Dan Anderson |
Subject: |
Re: Cool and Useful LISP for the .emacs file |
Date: |
Fri, 07 Nov 2003 11:54:55 -0500 |
> Here's my cool tip:
>
> Delete your .emacs!
>
> This means that you can go to a new machine, run Emacs on it, and it
> works just the same as on your old machine! No more confusion over
> non-default keybindings, unusual settings for variables, bizarre mode
> hooks, etc. And when you find a problem you know it's really to do with
> Emacs and not with some "cool" trick you copied out of someone else's
> .emacs without understanding it.
Start emacs with -q when you have a problem. It sets it to default
mode. If you can only reproduce the problem when using your .emacs you
can go about debugging your .emacs file.
Of course, some people are probably saying "but debugging LISP is
hard!" Well, fear not. Remove the last thing you inserted. It's
probably what's causing the screw up. (Or restore the backup you made
of your .emacs from the last time you edited it. Didn't make one? Try
loading ~/.emacs~)
I'd also like to point out that many of us who use Emacs and customize
it until we couldn't think of another feature to code use Emacs for
coding. Learning LISP is not hard and we are certainly qualified to
make changes to the .emacs
I'd also like to point out that your site administrator probably has
created a site lisp file similar to the .emacs to customize emacs for
your company or organization. That or you've never needed to install a
single .el file. (Come on, not everything is stock).
Plus, if you've ever changed anything in Emacs and hit the save button
you probably /have/ created machine generated in your .emacs to save
your settings.
-Dan
- Re: Cool and Useful LISP for the .emacs file, (continued)
- Re: Cool and Useful LISP for the .emacs file, Kevin Rodgers, 2003/11/06
- Re: Cool and Useful LISP for the .emacs file, Bruce Ingalls, 2003/11/06
- Re: Cool and Useful LISP for the .emacs file, address@hidden, 2003/11/07
- Re: Cool and Useful LISP for the .emacs file, Gareth Rees, 2003/11/07
- Re: Cool and Useful LISP for the .emacs file,
Dan Anderson <=
- Re: Cool and Useful LISP for the .emacs file, Rob Thorpe, 2003/11/07
- Message not available
- Re: Cool and Useful LISP for the .emacs file, Jody M. Klymak, 2003/11/07
- Re: Cool and Useful LISP for the .emacs file, Kevin Rodgers, 2003/11/07
- Re: Cool and Useful LISP for the .emacs file, Dan Anderson, 2003/11/07
- Message not available
- Re: Cool and Useful LISP for the .emacs file, Jody M. Klymak, 2003/11/07
- Re: Cool and Useful LISP for the .emacs file, Jesper Harder, 2003/11/07
- Re: Cool and Useful LISP for the .emacs file, Kin Cho, 2003/11/07
- Re: Cool and Useful LISP for the .emacs file, Artur Hefczyc, 2003/11/08
- Re: Cool and Useful LISP for the .emacs file, Thien-Thi Nguyen, 2003/11/08
- Re: Cool and Useful LISP for the .emacs file, David Kastrup, 2003/11/08