[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cool and Useful LISP for the .emacs file
From: |
David Kastrup |
Subject: |
Re: Cool and Useful LISP for the .emacs file |
Date: |
07 Nov 2003 15:28:03 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Adam Hardy <emacs@cyberspaceroad.com> writes:
> On 11/07/2003 12:27 PM Gareth Rees wrote:
> > 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.
>
> Can you provide some lisp to put in my .emacs to do that? ;)
(condition-case error
(delete-file user-init-file)
(error (message "While trying to delete .emacs:%s"
error-message-string error)))
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Cool and Useful LISP for the .emacs file, Dan Anderson, 2003/11/06
- 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, 2003/11/07
- 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