From: Juanma Barranquero <lekktu@gmail.com>
To: michael_heerdegen@web.de, Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 11241@debbugs.gnu.org
Subject: bug#11241: 24.1.50; emacs-lock is ill uncompiled (lexical binding problem?)
Date: Sat, 14 Apr 2012 04:06:19 +0200 [thread overview]
Message-ID: <CAAeL0SS0CM4=+K+j+9bB5K2Liy3baHavd7w20DzJCk-OHeaKOA@mail.gmail.com> (raw)
In-Reply-To: <86d37b3xzi.fsf@web.de>
> `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=#: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?
Juanma
next prev parent reply other threads:[~2012-04-14 2:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-14 1:26 bug#11241: 24.1.50; emacs-lock is ill uncompiled (lexical binding problem?) Michael Heerdegen
2012-04-14 2:06 ` Juanma Barranquero [this message]
2012-04-14 12:47 ` Stefan Monnier
2012-04-14 13:31 ` Juanma Barranquero
2012-04-14 13:35 ` Juanma Barranquero
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='CAAeL0SS0CM4=+K+j+9bB5K2Liy3baHavd7w20DzJCk-OHeaKOA@mail.gmail.com' \
--to=lekktu@gmail.com \
--cc=11241@debbugs.gnu.org \
--cc=michael_heerdegen@web.de \
--cc=monnier@iro.umontreal.ca \
/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.