From: Helmut Eller <eller.helmut@gmail.com>
To: 12502@debbugs.gnu.org
Subject: bug#12502: 24.2.50; Debugger messes up current-buffer
Date: Mon, 24 Sep 2012 10:31:04 +0200 [thread overview]
Message-ID: <m2lifzizzr.fsf@gmail.com> (raw)
The debugger now changes the current buffer in the following situation:
1. Create a file foo.el with this code:
(progn
(require 'cl)
(defun foo ()
(with-current-buffer (get-buffer-create "test")
(let ((b (current-buffer)))
(debug)
(assert (eq b (current-buffer)) t))))
(foo))
2. In the foo.el buffer, evaluate the expression with C-x C-e
3. The debugger pops up with this message:
Debugger entered: nil
4. Press c (i.e. debugger-continue)
5. The assertion fails with:
Assertion failed: (eq b (current-buffer)), #<buffer test>, #<buffer foo.el>
This is a regression to older versions.
In GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
of 2012-09-22 on ix
Bzr revision: 110128 cyd@gnu.org-20120922032937-yf6yua64ed45tzap
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Configured using:
`configure '--with-jpeg=no' '--with-gif=no' '--with-tiff=no''
next reply other threads:[~2012-09-24 8:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-24 8:31 Helmut Eller [this message]
2012-09-24 12:38 ` bug#12502: 24.2.50; Debugger messes up current-buffer martin rudalics
2012-09-25 15:36 ` Helmut Eller
2012-09-25 16:45 ` martin rudalics
2012-10-03 9:14 ` martin rudalics
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2lifzizzr.fsf@gmail.com \
--to=eller.helmut@gmail.com \
--cc=12502@debbugs.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.