help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: edebug question - context of calling function


From: jan
Subject: Re: edebug question - context of calling function
Date: 25 Oct 2003 20:13:16 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

"David Vanderschel" <DJV1@Austin.RR.com> 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]