From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.bugs Subject: bug#12502: 24.2.50; Debugger messes up current-buffer Date: Mon, 24 Sep 2012 10:31:04 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1348475544 3123 80.91.229.3 (24 Sep 2012 08:32:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Sep 2012 08:32:24 +0000 (UTC) To: 12502@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 24 10:32:28 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1TG45Z-0002uQ-Ie for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Sep 2012 10:32:25 +0200 Original-Received: from localhost ([::1]:37275 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TG45U-0005Nz-Pf for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Sep 2012 04:32:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TG45P-0005N5-97 for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2012 04:32:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TG45J-0002jH-HL for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2012 04:32:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TG45J-0002jD-Di for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2012 04:32:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TG477-0000iG-U6 for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2012 04:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Helmut Eller Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Sep 2012 08:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12502 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13484755852662 (code B ref -1); Mon, 24 Sep 2012 08:34:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Sep 2012 08:33:05 +0000 Original-Received: from localhost ([127.0.0.1]:52084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TG46C-0000gs-Bl for submit@debbugs.gnu.org; Mon, 24 Sep 2012 04:33:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51348) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TG46A-0000gm-KR for submit@debbugs.gnu.org; Mon, 24 Sep 2012 04:33:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TG44K-0002eC-Rl for submit@debbugs.gnu.org; Mon, 24 Sep 2012 04:31:09 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:46827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TG44K-0002e8-H4 for submit@debbugs.gnu.org; Mon, 24 Sep 2012 04:31:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39439) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TG44J-0005KW-KH for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2012 04:31:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TG44H-0002do-L9 for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2012 04:31:07 -0400 Original-Received: from mail-we0-f169.google.com ([74.125.82.169]:60034) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TG44H-0002dd-Bg for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2012 04:31:05 -0400 Original-Received: by weyu3 with SMTP id u3so1772361wey.0 for ; Mon, 24 Sep 2012 01:31:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=/2k46PAIVWC2YbDSfAqyaSM3OZq4/6+4daP8BpAxkpM=; b=diaT/PPCelt/SE7AMRYAQ9GFJVvfA9rY0h7cF17LQCKdSnxjg/+bWcge5bWub6BDA2 5OGXQDFm9EimnfHCTh9bMr3BfdUh8KOas8/cC2SQRKh3rMYTCbmY/WECEvXpwn6BDFr4 uV0I/GJ6WPuObHMEbc2IhyRA+Icm6gw/IUJ0sGdE1G6keEIhjvdTZ2k1sYFwiam4wXya wWRHpV5SWOjcfYWC5xlmp4LvXyvCbCxRApzIYvBiZgDEywi5YeGdBzJApqaJGyFuusCs 6RZk4t3rb7iVR3WmmfxpDBK4ruJAJpZluXxDDTUndxkY2s4zKg8e9jtrTnwnemV6h58H Of1Q== Original-Received: by 10.180.75.67 with SMTP id a3mr5227543wiw.1.1348475464585; Mon, 24 Sep 2012 01:31:04 -0700 (PDT) Original-Received: from ix (dial-181022.pool.broadband44.net. [212.46.181.22]) by mx.google.com with ESMTPS id l5sm15561970wix.5.2012.09.24.01.31.03 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 24 Sep 2012 01:31:04 -0700 (PDT) Original-Received: from helmut by ix with local (Exim 4.72) (envelope-from ) id 1TG44G-0000iX-B0 for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2012 10:31:04 +0200 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:64841 Archived-At: 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)), #, # 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''