From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: robert.thorpe@antenova.com (Rob Thorpe) Newsgroups: gmane.emacs.help Subject: Re: Cool and Useful LISP for the .emacs file Date: 7 Nov 2003 09:19:36 -0800 Organization: http://groups.google.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1a61f7e5.0311070919.6fda372f@posting.google.com> References: NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1068227703 21255 80.91.224.253 (7 Nov 2003 17:55:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 7 Nov 2003 17:55:03 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 07 18:55:01 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AIAp2-0000pf-00 for ; Fri, 07 Nov 2003 18:55:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AIBdC-0001jw-1K for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Nov 2003 13:46:50 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: 212.135.40.163 Original-X-Trace: posting.google.com 1068225576 29954 127.0.0.1 (7 Nov 2003 17:19:36 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 7 Nov 2003 17:19:36 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:117970 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13907 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13907 gareth.rees@pobox.com (Gareth Rees) wrote in message news:... > Dan Anderson wrote: > > I was wondering what other people have in their .emacs file. I would > > like to challenge everyone to add at least one cool tip / trick to: > > 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. I'm not so extreme. I would say: - Never use lisp code you don't understand - Customize as little as you can possibly bear with - Don't customize things because its cool - Examine your .emacs code every few weeks, remove what isn't used. - Remember everything that's in it. For all my good intentions my biggest .emacs file is 80 lines long.