From: Stephen Berman <stephen.berman@gmx.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 17986@debbugs.gnu.org
Subject: bug#17986: 24.3.92; Evaluating (setq default-directory nil) freezes Emacs
Date: Tue, 15 Jul 2014 20:49:52 +0200 [thread overview]
Message-ID: <878unusbhr.fsf@rosalinde.fritz.box> (raw)
In-Reply-To: <83fvi28zob.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 15 Jul 2014 17:27:48 +0300")
On Tue, 15 Jul 2014 17:27:48 +0300 Eli Zaretskii <eliz@gnu.org> wrote:
>> I tried doing this, but neither with `s' nor with `f' did gdb show what
>> I could recognize as an infloop (`f' always went straight to frame #0,
>> and `s' never got to a loop, though I entered it very many times). Is
>> there something more specific I could do the next time?
>
> etc/DEBUG doesn't say to use `s' and `f', it says to use 'finish' and
> 'next'. 'f' is not an abbreviation of 'finish', it is an abbreviation
> of 'frame'. Also, 'step', or 's', is not useful in this situation,
> because it simply undoes what you did with 'finish', by getting you
> deeper and deeper into the code from which you just emerged.
Oh, dear. I apologize for my hasty and careless reading of etc/DEBUG.
> The idea of that procedure is to first find the function where Emacs
> loops, by repeated 'finish' commands until 'finish' doesn't return,
> i.e. does not print a higher frame number and the value returned by
> the lower frame. Then step with 'next' through the looping function
> and see why it loops, i.e. why it fails to return. (In this case, it
> failed to return because displaying the mode line signaled an error,
> which immediately triggered another redisplay.)
Thanks for the elucidation; I'll try to remember to apply it the next time.
Steve Berman
prev parent reply other threads:[~2014-07-15 18:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-10 12:27 bug#17986: 24.3.92; Evaluating (setq default-directory nil) freezes Emacs Stephen Berman
2014-07-13 14:54 ` Eli Zaretskii
2014-07-15 11:41 ` Stephen Berman
2014-07-15 14:27 ` Eli Zaretskii
2014-07-15 18:49 ` Stephen Berman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878unusbhr.fsf@rosalinde.fritz.box \
--to=stephen.berman@gmx.net \
--cc=17986@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.