unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
To: emacs-devel@gnu.org
Subject: Re: emacs 25 broken?
Date: Tue, 24 Feb 2015 15:52:37 -0600	[thread overview]
Message-ID: <85mw43nfiy.fsf@stephe-leake.org> (raw)
In-Reply-To: <85oaojc8q3.fsf@stephe-leake.org> (Stephen Leake's message of "Tue, 24 Feb 2015 15:15:00 -0600")

Stephen Leake <stephen_leake@stephe-leake.org> writes:

> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> From: Stephen Leake <stephen_leake@stephe-leake.org>
>>> Date: Tue, 24 Feb 2015 11:46:32 -0600
>>> 
>>> Whenever I try to use emacs 25, something doesn't work right, and when
>>> trying to debug it I always run into bug #19611; "e (current-buffer)" in
>>> edebug returns the wrong buffer.
>>> 
>>> Does anyone else see this problem? It's blocking all my work on master.
>>
>> Why do you need "e (current-buffer)" in Edebug so badly that it blocks
>> your work?
>
> Seriously? If I can't trust the debugger, how am I supposed to make
> progress?
>
> The real bug (in ada-mode) I'm trying to fix is in code that switches
> buffers. (That bug does not exist when the same code is run in emacs
> 24). Any expression I evaluate that relies on the current buffer is
> wrong in the debugger, so it's impossible to figure out what's going on.
>
> I did not record in the bug that `with-current-buffer' is not broken;
> executing M-x sal-debug gives the correct results.
>
> Any suggestions for further investigation?

I just noticed on the bug report that Andreas Politz isolated the commit
that broke it: commit 6194477a622ce9293162d16a7ba98c9cfc18d124 by Stefan
(I'm guessing Andreas ran git-bisect; I should have tried that).

That's a fairly small change to src/eval.c; reverting that commit does
fix bug #19611, and lets me make progress on my ada-mode bug.

I don't understand the change in eval.c, so I don't know how to fix it.

-- 
-- Stephe



  reply	other threads:[~2015-02-24 21:52 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 [this message]
2015-02-25  3:09       ` Stefan Monnier
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=85mw43nfiy.fsf@stephe-leake.org \
    --to=stephen_leake@stephe-leake.org \
    --cc=emacs-devel@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 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).