From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#13336: 24.3.50; `next-frame' should not choose a frame (e.g. *Backtrace*) that did not exist when it was invoked Date: Mon, 30 Jan 2017 01:33:22 -0500 Message-ID: <87sho1qcp9.fsf@users.sourceforge.net> References: <1776CE98469A44C484752764DD29E2DE@us.oracle.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1485757992 11534 195.159.176.226 (30 Jan 2017 06:33:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 30 Jan 2017 06:33:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 13336@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 30 07:33:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cY5WU-0002n3-H4 for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jan 2017 07:33:06 +0100 Original-Received: from localhost ([::1]:58150 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cY5WZ-00087O-7r for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jan 2017 01:33:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cY5WT-000861-Lm for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2017 01:33:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cY5WQ-0005Vb-H4 for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2017 01:33:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52474) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cY5WQ-0005V7-DU for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2017 01:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cY5WQ-0000Qi-1R for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2017 01:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Jan 2017 06:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13336 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13336-submit@debbugs.gnu.org id=B13336.14857579431608 (code B ref 13336); Mon, 30 Jan 2017 06:33:01 +0000 Original-Received: (at 13336) by debbugs.gnu.org; 30 Jan 2017 06:32:23 +0000 Original-Received: from localhost ([127.0.0.1]:50673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cY5Vn-0000Pn-LI for submit@debbugs.gnu.org; Mon, 30 Jan 2017 01:32:23 -0500 Original-Received: from mail-io0-f177.google.com ([209.85.223.177]:35115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cY5Vl-0000PU-5O; Mon, 30 Jan 2017 01:32:21 -0500 Original-Received: by mail-io0-f177.google.com with SMTP id j18so100672570ioe.2; Sun, 29 Jan 2017 22:32:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Z03RnOCrsVOIJLsodf5yeueCf1JGHIe7nLRRawyday0=; b=JlJUCxxUWnHnLFdJqTfmjph3mDx7X+cbcgGXQDxmGY7rKg+/a+M59QsAiF0ZtKLVdz BXxN/8EECla3uQHrKri55K+R0oMRbBOUDMGl7EalDdaS1MfZex8wNJrdpdMy/hiuCKkP 6dueWfuLftDlEC5spucofTgG0Ot5M5XyL4jGE5UNE3jH37IO2NahNh/V9RSCbxwGk9b0 7IwQBIzVXD57duJ/B15Ouobse5XNrN/U+j+THgaDniDRd3JzUckpN3937Yccgc4Q0k6T LP3/5qfs15eiX+VNLX9ktOw+s5SNJhFwxniASXf0Fkmiuh9pfqyucLi5RJYkoICkrsZI HdUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=Z03RnOCrsVOIJLsodf5yeueCf1JGHIe7nLRRawyday0=; b=nLJIuOdz0bsUXA63f5Om6OObmFBrlqJB+Ce+MFufOPIZDHfCcGCbAV72/qdqfSNLKM h1rD+XN3qb4vgXEzJPhBG6M9kkSHIAVHmw7+zM3joY7WPCvl83ObI0Dhz+ULl4DbzlcH X+yzT2x9TmZjvmsj8R+QxkvH2ktbx32v5iRmJbHg3yz8V7+DPZd01n00bGZlUt4pkGcX G1Xmu4vMkoEmw40YKz0xZhNOoLFVCBs7KDb5LZiHEWlvtLPODqAZIl5MZSbja1AQU2Mm sG60km6wDQa9mcO3TqCmm933oafaUFGYxifp4KSUZgVRfydGMYWFAezjiG2UZCP33NYz f50Q== X-Gm-Message-State: AIkVDXI9yqTnERx+Tz2nEaxgk/M3dpmFtGqggpuPXNX52ciMRgCmvpApTkYb2+c8IAmGJA== X-Received: by 10.107.18.162 with SMTP id 34mr17971820ios.14.1485757935584; Sun, 29 Jan 2017 22:32:15 -0800 (PST) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id p82sm3878036itg.15.2017.01.29.22.32.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 29 Jan 2017 22:32:15 -0800 (PST) In-Reply-To: <1776CE98469A44C484752764DD29E2DE@us.oracle.com> (Drew Adams's message of "Wed, 2 Jan 2013 10:13:01 -0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:128780 Archived-At: retitle 13336 `other-frame' should not choose a frame (e.g. *Backtrace*) that did not exist when it was invoked severity 13336 wishlist quit "Drew Adams" writes: > Set `special-display-regexps' or other so that `*Backtrace*' gets > displayed in its own (special-display) frame. > > Evaluate the source code for `next-frame', then I suppose you meant `other-frame' here (next-frame is a C function) and in the title. > M-x debug-on-entry next-frame, then C-x o. > > When stepping through the debugger, the next frame should never be > *Backtrace* (unless a *Backtrace* frame existed before invoking `next > frame'), but it can be. This is a bug IMO. I again suppose you mean `other-frame' here, otherwise I would say it's not a bug, since the the *Backtrace* frame does exist by the time `next-frame' is called. By the way, from your backtrace it looks like you did debug-on-entry on `other-frame', but in that case there's no way for it to "snapshot" the list of existing frames "before" the call, since you've stopped in the debugger before any of its code is executed. It's only possible to fix the case where you stop only later on next-frame.