From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Edward Welbourne Newsgroups: gmane.emacs.bugs Subject: Re: recover-session doesn't Date: Thu, 01 Aug 2002 10:58:22 +0200 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: References: Reply-To: eddy@opera.no NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1028192315 25726 127.0.0.1 (1 Aug 2002 08:58:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 1 Aug 2002 08:58:35 +0000 (UTC) Cc: rms@gnu.org, bug-gnu-emacs@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17aBmy-0006go-00 for ; Thu, 01 Aug 2002 10:58:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17aBnV-0002y2-00; Thu, 01 Aug 2002 04:59:05 -0400 Original-Received: from pat.opera.com ([193.69.113.22] helo=whorl.intern.opera.no) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17aBnN-0002tl-00; Thu, 01 Aug 2002 04:58:57 -0400 Original-Received: from eddy by whorl.intern.opera.no with local (Exim 3.35 #1 (Debian)) id 17aBmo-0003du-00; Thu, 01 Aug 2002 10:58:22 +0200 Original-To: eliz@is.elta.co.il In-Reply-To: (message from Eli Zaretskii on Thu, 1 Aug 2002 08:26:33 +0300 (IDT)) Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3059 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3059 > In a nutshell, you instrument the function you want to debug with > edebug-defun, then use Edebug commands to step through the code. thanks. Some notes on the Help here ... the help on edebug-defun didn't make it clear *how* to select the top-level form on which it acts; the xref to eval-defun did help me out, but it'd be worth using eval-defun's more helpful wording Evaluate the top-level form containing point, or after point. in the edebug-defun text. Now all I have to do is find the definition of recover-session-finish; help tells me it's in `files'. Is there a convenient elisp mechanism for discovering the path of the file (load '...) actually reads ? I resorted to "locate files.el" and discover that the file I need is /usr/share/emacs/21.2/lisp/files.elc, so this isn't urgent ... I take it I *can* use the debugger, in particular edebug-defun, on a compiled .elc file ? Not that I'm going to understand the results *at all* ... but I can probably manage to report them. Eddy.