From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: emacs 25 broken? Date: Tue, 24 Feb 2015 22:09:42 -0500 Message-ID: References: <85wq37cidj.fsf@stephe-leake.org> <83h9ub6vm5.fsf@gnu.org> <85oaojc8q3.fsf@stephe-leake.org> <85mw43nfiy.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1424833812 15442 80.91.229.3 (25 Feb 2015 03:10:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Feb 2015 03:10:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 25 04:10:05 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YQSMO-0001qh-Rf for ged-emacs-devel@m.gmane.org; Wed, 25 Feb 2015 04:10:04 +0100 Original-Received: from localhost ([::1]:52583 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQSMN-00043i-W8 for ged-emacs-devel@m.gmane.org; Tue, 24 Feb 2015 22:10:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQSM7-00041k-HA for emacs-devel@gnu.org; Tue, 24 Feb 2015 22:09:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQSM4-0008UA-CF for emacs-devel@gnu.org; Tue, 24 Feb 2015 22:09:47 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:8248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQSM4-0008Tw-9J for emacs-devel@gnu.org; Tue, 24 Feb 2015 22:09:44 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArsTAPOG1lRsoXmY/2dsb2JhbABbgwaDX4VTwGUEAgKBDUQBAQEBAQF8hA0BBAFWIwULCzQSFBgNJIg4CM4jAQEBBwEBAQEej3gHhCoFiiefS4FFIoQMIIJzAQEB X-IPAS-Result: ArsTAPOG1lRsoXmY/2dsb2JhbABbgwaDX4VTwGUEAgKBDUQBAQEBAQF8hA0BBAFWIwULCzQSFBgNJIg4CM4jAQEBBwEBAQEej3gHhCoFiiefS4FFIoQMIIJzAQEB X-IronPort-AV: E=Sophos;i="5.09,536,1418101200"; d="scan'208";a="111403642" Original-Received: from 108-161-121-152.dsl.teksavvy.com (HELO pastel.home) ([108.161.121.152]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 24 Feb 2015 22:09:43 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id F32F9280A; Tue, 24 Feb 2015 22:09:42 -0500 (EST) In-Reply-To: <85mw43nfiy.fsf@stephe-leake.org> (Stephen Leake's message of "Tue, 24 Feb 2015 15:52:37 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:183475 Archived-At: > I don't understand the change in eval.c, so I don't know how to fix it. IIUC the problem is not in eval.c but in edebug.el, but I haven't found the time to dig into it. What the eval.c change does is that backtrace-eval now doesn't only restore the variable bindings to what they were in the relevant stack frame, but also restores the current-buffer (and point). It looks like Edebug evaluates its code in a frame where current-buffer is wrong or something like that, or tries to force the use of the right buffer "by hand" and this ends up backfiring with the new system which tries to do it "automatically". Stefan