From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: michael_heerdegen@web.de
Cc: 11652-done@debbugs.gnu.org
Subject: bug#11652: 24.1.50; CL: diverse `labels' related code doesn't work anymore
Date: Mon, 11 Jun 2012 16:50:15 -0400 [thread overview]
Message-ID: <jwv8vftr3bi.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <874nqlu8s3.fsf@web.de> (Michael Heerdegen's message of "Fri, 08 Jun 2012 17:23:56 +0200")
> (apply
> 'add-dirs-to-load-path
> ==> Error: apply: Symbol's function definition is void:
> add-dirs-to-load-path
> This had worked before.
Yes, that was a bug: if you quote with ' then CL is not allowed to look
inside the quoted expression to replace this symbol with a lexical
reference to the function you've defined.
I.e. if you use (apply #'add-dirs-to-load-path ...) then it will work
like you want it.
> ==> Error equal: Symbol's value as variable is void: temp-idx
Oops, thanks for catching this. I've installed the patch below which
should fix it.
> 3. Just FYI: when I updated emacs-snapshot with aptitude on my Debian
> machine, the installation aborted because compilation of the Emms
> package files failed. I had to remove EMMS. This could be related,
> dunno.
Yes, please complain to Debian that such compilation errors should not
prevent installation of packages. Hopefully, at some point they will
understand that their current handling of errors is wrong, but for that
you need to make your voice heard (I already made mine heard a few times).
Stefan
=== modified file 'lisp/emacs-lisp/cl-macs.el'
--- lisp/emacs-lisp/cl-macs.el 2012-06-11 20:35:00 +0000
+++ lisp/emacs-lisp/cl-macs.el 2012-06-11 20:43:31 +0000
@@ -1108,7 +1108,7 @@
(let ((temp-len (make-symbol "--cl-len--")))
(push (list temp-len `(length ,temp-seq))
loop-for-bindings)
- (push (list var `(elt ,temp-seq temp-idx))
+ (push (list var `(elt ,temp-seq ,temp-idx))
cl--loop-symbol-macs)
(push `(< ,temp-idx ,temp-len) cl--loop-body))
(push (list var nil) loop-for-bindings)
prev parent reply other threads:[~2012-06-11 20:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-08 15:23 bug#11652: 24.1.50; CL: diverse `labels' related code doesn't work anymore Michael Heerdegen
2012-06-10 20:32 ` Michael Heerdegen
2012-06-11 20:50 ` Stefan Monnier [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv8vftr3bi.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=11652-done@debbugs.gnu.org \
--cc=michael_heerdegen@web.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).