From: Eli Zaretskii <eliz@gnu.org>
To: Stephen Leake <stephen_leake@stephe-leake.org>
Cc: emacs-devel@gnu.org
Subject: Re: emacs 25 broken?
Date: Wed, 25 Feb 2015 05:45:13 +0200 [thread overview]
Message-ID: <83385u7iye.fsf@gnu.org> (raw)
In-Reply-To: <85oaojc8q3.fsf@stephe-leake.org>
> From: Stephen Leake <stephen_leake@stephe-leake.org>
> Date: Tue, 24 Feb 2015 15:15:00 -0600
>
> 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?
There's a large gap between "e (current-buffer)" shows something other
than what you expect and "I cannot trust the debugger". There's
nothing wrong with Edebug in general, so I don't see how that
particular issue can block any work. FWIW, I use Edebug every day
(and yes, I do see the same issue with current-buffer).
> 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.
You can always work around this. E.g., add a variable that gets
assigned the buffer and look at it. Or even add a 'message' call that
prints it.
> I did not record in the bug that `with-current-buffer' is not broken;
> executing M-x sal-debug gives the correct results.
There you go.
next prev parent reply other threads:[~2015-02-25 3:45 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
2015-02-25 3:17 ` Stefan Monnier
2015-02-24 22:08 ` Artur Malabarba
2015-02-25 3:45 ` Eli Zaretskii [this message]
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=83385u7iye.fsf@gnu.org \
--to=eliz@gnu.org \
--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).