unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Stephen Leake <stephen_leake@stephe-leake.org>
Cc: emacs-devel@gnu.org
Subject: Re: emacs 25 broken?
Date: Tue, 24 Feb 2015 22:09:42 -0500	[thread overview]
Message-ID: <jwvlhjmitf1.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <85mw43nfiy.fsf@stephe-leake.org> (Stephen Leake's message of "Tue, 24 Feb 2015 15:52:37 -0600")

> 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



  reply	other threads:[~2015-02-25  3:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-24 17:46 emacs 25 broken? Stephen Leake
2015-02-24 17:57 ` Eli Zaretskii
2015-02-24 21:15   ` Stephen Leake
2015-02-24 21:52     ` Stephen Leake
2015-02-25  3:09       ` Stefan Monnier [this message]
2015-02-25  3:17       ` Stefan Monnier
2015-02-24 22:08     ` Artur Malabarba
2015-02-25  3:45     ` Eli Zaretskii
2015-02-25 18:29       ` Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvlhjmitf1.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=stephen_leake@stephe-leake.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).