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#12119: 24.1.50; symbol-macrolet regresssion Date: Thu, 02 Aug 2012 15:13:03 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1343913225 7359 80.91.229.3 (2 Aug 2012 13:13:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Aug 2012 13:13:45 +0000 (UTC) To: 12119@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 02 15:13:45 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 1SwvDl-0008Pz-4L for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Aug 2012 15:13:45 +0200 Original-Received: from localhost ([::1]:58651 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwvDj-0005Hr-QM for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Aug 2012 09:13:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwvDc-0005FY-LI for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 09:13:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwvDY-0006Jt-3u for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 09:13:36 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwvDX-0006Jo-Th for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 09:13:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SwvKn-0002RD-Sl for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 09:21: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: Thu, 02 Aug 2012 13:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12119 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.13439136609361 (code B ref -1); Thu, 02 Aug 2012 13:21:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Aug 2012 13:21:00 +0000 Original-Received: from localhost ([127.0.0.1]:56433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwvKl-0002Qw-Ib for submit@debbugs.gnu.org; Thu, 02 Aug 2012 09:21:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41030) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwvKk-0002Qp-7f for submit@debbugs.gnu.org; Thu, 02 Aug 2012 09:20:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwvDP-0006IF-N2 for submit@debbugs.gnu.org; Thu, 02 Aug 2012 09:13:27 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:39800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwvDP-0006IB-Ja for submit@debbugs.gnu.org; Thu, 02 Aug 2012 09:13:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwvDG-00055v-5G for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 09:13:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwvDA-0006Fr-3l for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 09:13:14 -0400 Original-Received: from mail-wi0-f177.google.com ([209.85.212.177]:38114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwvD9-0006FW-Tz for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 09:13:08 -0400 Original-Received: by wibhm11 with SMTP id hm11so3770629wib.12 for ; Thu, 02 Aug 2012 06:13:06 -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=8wIBCf3IH1AkIopSX8TeT2Asxjmm8ZQzyvgBB4nmafY=; b=mgL5OWS89aZUZU5Y524lYL8n4G7io5X/cS2Kie98XnGaQ9bJ7JJNH4k843+q/9c1zP +l/r3pRc7ob9sxsFg84kYtPVccJO/k8k52TjLPsbLlieYqeJWuDHk119LCg8XtM6Hoep +DOSn5urfue59knfjJdeVE2OTVKiyj1Bp5NA3+irHqjMH28bZauNh0DnYaRyaKZqk4GH jDZMqoizheu0xGwDob5NmL0VH1BGvOec3+wo447OFcmXY6TVyNU82ywZCztPodmIA7nI kdXm6O70YABccb8g+HO4e7iETHdS/6Gi/4d2HF7D8kYfnvs0XKDyeGyGthFQRGiH/ALP 0Q9A== Original-Received: by 10.216.41.195 with SMTP id h45mr11233442web.74.1343913186775; Thu, 02 Aug 2012 06:13:06 -0700 (PDT) Original-Received: from ix (dial-176254.pool.broadband44.net. [212.46.176.254]) by mx.google.com with ESMTPS id fr4sm17178735wib.8.2012.08.02.06.13.05 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 02 Aug 2012 06:13:06 -0700 (PDT) Original-Received: from helmut by ix with local (Exim 4.72) (envelope-from ) id 1SwvD5-0006O9-61 for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 15:13:03 +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:62751 Archived-At: In Emacs 24, bzr revno 109393, this file (require 'cl) (defun foo () (let ((outer '42)) (symbol-macrolet ((x outer)) (let ((x 'inner)) (assert (eq x 'inner)))))) (foo) when executed with: emacs -Q -batch -l symbol-macrolet.el produces: Assertion failed: (eq x (quote inner)) With Emacs 22 the assertions doesn't fail. Also, in Emacs 22 the macroepansion (via cl-macroexpand-all) produces something like (let ((outer '42)) (let ((outer 'inner)) (progn (or (eq outer 'inner) (signal 'cl-assertion-failed (list '(eq x 'inner)))) nil))) while in Emacs 24 it looks like (let ((outer '42)) (progn (let ((x 'inner)) (progn (or (eq outer 'inner) (signal 'cl-assertion-failed (list '(eq x 'inner)))) nil)))) Such a change should be documented. In GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of 2012-08-02 on ix Bzr revision: 109400 eggert@cs.ucla.edu-20120802104919-u42w0m8vbqm4p2l4 Windowing system distributor `The X.Org Foundation', version 11.0.10707000 Configured using: `configure '--with-jpeg=no' '--with-gif=no' '--with-tiff=no'' Important settings: value of $LANG: en_US locale-coding-system: iso-latin-1-unix default enable-multibyte-characters: nil