From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#11241: 24.1.50; emacs-lock is ill uncompiled (lexical binding problem?) Date: Sat, 14 Apr 2012 04:06:19 +0200 Message-ID: References: <86d37b3xzi.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1334369271 31484 80.91.229.3 (14 Apr 2012 02:07:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 14 Apr 2012 02:07:51 +0000 (UTC) Cc: 11241@debbugs.gnu.org To: michael_heerdegen@web.de, Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 14 04:07:50 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 1SIsOx-0004K0-KV for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Apr 2012 04:07:47 +0200 Original-Received: from localhost ([::1]:33217 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIsOw-0006fq-R1 for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Apr 2012 22:07:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIsOu-0006fh-0I for bug-gnu-emacs@gnu.org; Fri, 13 Apr 2012 22:07:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SIsOs-0006gd-Av for bug-gnu-emacs@gnu.org; Fri, 13 Apr 2012 22:07:43 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIsOs-0006gX-4x for bug-gnu-emacs@gnu.org; Fri, 13 Apr 2012 22:07:42 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SIsQA-0003P6-Fm for bug-gnu-emacs@gnu.org; Fri, 13 Apr 2012 22:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Apr 2012 02:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11241 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11241-submit@debbugs.gnu.org id=B11241.133436930913044 (code B ref 11241); Sat, 14 Apr 2012 02:09:02 +0000 Original-Received: (at 11241) by debbugs.gnu.org; 14 Apr 2012 02:08:29 +0000 Original-Received: from localhost ([127.0.0.1]:57842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SIsPd-0003OK-7A for submit@debbugs.gnu.org; Fri, 13 Apr 2012 22:08:29 -0400 Original-Received: from mail-pb0-f44.google.com ([209.85.160.44]:55834) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SIsPW-0003O7-8H for 11241@debbugs.gnu.org; Fri, 13 Apr 2012 22:08:23 -0400 Original-Received: by pbbrp16 with SMTP id rp16so2022331pbb.3 for <11241@debbugs.gnu.org>; Fri, 13 Apr 2012 19:07:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=p5JyrITcRd64fhT8byGH6NxvxKaqJixW9wAoTtdNVdo=; b=apNUfYMkBrq0FGMqw7yKMut4fjfPNieQruZU4UiJpLDDVkxHRkNHMD74WuuonalbCh gAmTAlFt4LFX13DljNQF+UVP0pymlWLmouuipHEUdWBulNvG14+0SJ4RuBYM7p4yZNz9 KOzAU8PZBtyCYRWpxgo5zKhW2RFL5tPih7vx2PS/rucbRChJ7Vo0kgq6n7j3/ySu/Kbk v1giaxHCCblTyQV2/+DeDuA2lHvgbQTYmVJjyMQvHrX+wdyvYv2bGdI20Y3xlHfhMsAx Db7R2C0p0JaKcMRiQ+G9nE4R4dZwmx3C+CBIN8fSAHrAZiA8Ydwmm9aJBYtgCV6vACVw gthw== Original-Received: by 10.68.135.7 with SMTP id po7mr1576740pbb.33.1334369220001; Fri, 13 Apr 2012 19:07:00 -0700 (PDT) Original-Received: by 10.142.204.14 with HTTP; Fri, 13 Apr 2012 19:06:19 -0700 (PDT) In-Reply-To: <86d37b3xzi.fsf@web.de> 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:59025 Archived-At: > `arg' is free in the anonymous mode setter function in the definition > of `emacs-lock-mode': Not really, if you look at the macroexpansion of the define-minor-mode-call (defun emacs-lock-mode (&optional arg) "..." (interactive (list (or current-prefix-arg 'toggle))) (let ((#1=3D#:last-message (current-message))) ((lambda (mode) (emacs-lock--set-mode mode arg)) ... > Seems this is related to lexical binding. Yes > You don't get that error when you use the compiled code, however. Stefan, I can "fix" this for 24.1 just by making emacs-lock.el not use lexical-binding. But is this difference between compiled and non-compiled code a bug in the lexical-binding support or something expected? =C2=A0 =C2=A0 Juanma