From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jan Newsgroups: gmane.emacs.help Subject: Re: edebug question - context of calling function Date: 25 Oct 2003 20:13:16 -0700 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <0tWdnZ-zD5A5zBKiRTvUqg@texas.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1067076331 31923 80.91.224.253 (25 Oct 2003 10:05:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Oct 2003 10:05:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 25 12:05:29 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 1ADLIX-0007Qj-00 for ; Sat, 25 Oct 2003 12:05:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ADLGn-0003m7-4h for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Oct 2003 06:03:41 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ADLGG-0003lv-Rl for help-gnu-emacs@gnu.org; Sat, 25 Oct 2003 06:03:08 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ADLFj-0003jK-VW for help-gnu-emacs@gnu.org; Sat, 25 Oct 2003 06:03:07 -0400 Original-Received: from [210.50.76.52] (helo=smtp02.syd.iprimus.net.au) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ADLFi-0003j2-SY for help-gnu-emacs@gnu.org; Sat, 25 Oct 2003 06:02:35 -0400 Original-Received: from ABE (210.50.171.84) by smtp02.syd.iprimus.net.au (7.0.020) id 3F8F522A0029FB52; Sat, 25 Oct 2003 20:02:31 +1000 Original-To: "David Vanderschel" In-Reply-To: Original-Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 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:13536 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13536 "David Vanderschel" writes: > I did not post in order to get advice on programming style. Consider it a bonus ;-) Actually, I didn't mean to offend, I haven't seen your code and was stabbing in the dark at possible causes of your problem. > I already know which is the calling the function. The problem is > that that code contains multiple invocations of the function which > notices the error condition, and I want to know which _one_ of those > invocations made the call exhibiting the problem. Sorry, I misunderstood this before. > Unfortunately, I am not in a position to recompile emacs. However, > even if I were, I fear that I have missed the point of jan's > edebug-symbol-values. Perhaps the doc strings didn't make much sense, here is an example: (let ((a 1)) (let ((a 3)) (symbol-values 'a))) => (3 1 unbound) (setq a 5) => 5 (let ((a 1)) (let ((a 3)) (symbol-values 'a))) => (3 1 5) but it doesn't work with lexical-let. -- jan