From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: Where is the mistake? Date: Mon, 13 Feb 2006 00:18:56 +0100 Organization: sometimes Message-ID: <7e64nkjhcv.fsf@ada2.unipv.it> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139786606 5635 80.91.229.2 (12 Feb 2006 23:23:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Feb 2006 23:23:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 13 00:23:23 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 1F8QYq-00011B-Ap for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Feb 2006 00:23:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F8QW8-0005NT-BD for geh-help-gnu-emacs@m.gmane.org; Sun, 12 Feb 2006 18:20:32 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news-stu1.dfn.de!news.belwue.de!LF.net!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: ada2.unipv.it Original-X-Trace: quimby.gnus.org 1139786336 4638 193.204.44.145 (12 Feb 2006 23:18:56 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sun, 12 Feb 2006 23:18:56 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:H+gBlejU1iAMXq2/LWWm0swH++E= Original-Xref: shelby.stanford.edu gnu.emacs.help:137544 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:33169 Archived-At: Sebastian Meisel writes: > What did I do wrong? there are many things you did suboptimally, so any single answer will only partially satisfy. here is a suggestion, instead: try placing point in the defun and typing `M-x edebug-defun RET'. this will allow you to step through the next invocation of that function by typing `SPC'. during execution, you can type `p' to temporarily move the cursor to where point is. be sure to try to predict where it should be (before typing `p') so that you can determine whether or not your assumptions about the code's behavior are supported. in other words, answer this: what do you think you did right? thi