From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#17986: 24.3.92; Evaluating (setq default-directory nil) freezes Emacs Date: Tue, 15 Jul 2014 20:49:52 +0200 Message-ID: <878unusbhr.fsf@rosalinde.fritz.box> References: <87pphdwg99.fsf@rosalinde.fritz.box> <834myl9ums.fsf@gnu.org> <871ttm97e9.fsf@rosalinde.fritz.box> <83fvi28zob.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1405450294 30492 80.91.229.3 (15 Jul 2014 18:51:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jul 2014 18:51:34 +0000 (UTC) Cc: 17986@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 15 20:51:25 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X77ou-0003u3-CA for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Jul 2014 20:51:20 +0200 Original-Received: from localhost ([::1]:36197 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X77ot-0002Q9-Ud for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Jul 2014 14:51:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X77oj-0002Oz-F3 for bug-gnu-emacs@gnu.org; Tue, 15 Jul 2014 14:51:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X77oc-0004c3-UZ for bug-gnu-emacs@gnu.org; Tue, 15 Jul 2014 14:51:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X77oc-0004bn-RR for bug-gnu-emacs@gnu.org; Tue, 15 Jul 2014 14:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X77oc-0002Bg-8d for bug-gnu-emacs@gnu.org; Tue, 15 Jul 2014 14:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Jul 2014 18:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17986 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17986-submit@debbugs.gnu.org id=B17986.14054502148298 (code B ref 17986); Tue, 15 Jul 2014 18:51:02 +0000 Original-Received: (at 17986) by debbugs.gnu.org; 15 Jul 2014 18:50:14 +0000 Original-Received: from localhost ([127.0.0.1]:55818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X77nm-00029a-Gs for submit@debbugs.gnu.org; Tue, 15 Jul 2014 14:50:14 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:55462) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X77ne-00028j-TM for 17986@debbugs.gnu.org; Tue, 15 Jul 2014 14:50:07 -0400 Original-Received: from rosalinde.fritz.box ([89.245.106.212]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0M9aX9-1XHGYO1eu7-00D3RS; Tue, 15 Jul 2014 20:49:55 +0200 In-Reply-To: <83fvi28zob.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 15 Jul 2014 17:27:48 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) X-Provags-ID: V03:K0:IIpLzS4pe07Vq4jcI7F7bkKZy2kLZnawQIN2OsKWzsq38AiZyhM lROmSMxRqGFiEeuz/4hHmwrGif2I5E0HBPzU3fSfkbbe0YBE520hF+AXO0G2DW7cI/h2ffd UocM3aVOEHK/QAaTOCbrSmcDML3uj8FqFkF7bj77J/X7pSxFu+CequqrEmoO+7yV0RBYI+j ezu2snywcy7wpw3rLcSqg== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:91569 Archived-At: On Tue, 15 Jul 2014 17:27:48 +0300 Eli Zaretskii 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