From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.help Subject: Re: how NOT to remove trailing whitespace? Date: Sun, 08 Oct 2006 15:49:43 +0200 Message-ID: References: <1160174779.720222.326420@h48g2000cwc.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1160318486 15154 80.91.229.2 (8 Oct 2006 14:41:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 8 Oct 2006 14:41:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 08 16:41:25 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GWZpl-0001Sy-MO for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Oct 2006 16:40:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GWZpl-0000ER-6z for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Oct 2006 10:40:53 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 10 Original-X-Trace: individual.net qTIVFk2834OOW0iBk+67YQOKpmP+Iuew4JXJYnQqxFFEWugXuK User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:09aZEfQiiLHk6CrsQ7jfKxXYSXQ= Original-Xref: shelby.stanford.edu gnu.emacs.help:142278 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37897 Archived-At: Eric Hanchrow writes: > Rather than asking us to debug your .emacs for you, I suggest you do > what I do when faced with similar mysteries: binary-search your > .emacs to find the culprit. That is, start with an empty .emacs; > see if the problem repros. If it does, your .emacs is off the hook. > If not, then try the first half of the forms in it, and so on. I usually put an (error "stopping here") statement to do such a binary search debug. That way I don't have to change my .emacs file much.