From: Lennart Borgman <lennart.borgman@gmail.com>
To: 7408@debbugs.gnu.org, monnier@iro.umontreal.ca
Cc: Jari Aalto <jari.aalto@cante.net>
Subject: bug#7408: 23.2.1 dolist -- subr.el and cl-macs differ with nil-block return
Date: Mon, 15 Nov 2010 18:49:52 +0100 [thread overview]
Message-ID: <AANLkTim-g20Fz90mTtyBabGLXR4s6A3zcDtX+9EeK1WX@mail.gmail.com> (raw)
In-Reply-To: <jwvtyjih597.fsf-monnier+emacs@gnu.org>
On Mon, Nov 15, 2010 at 6:22 PM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
>> The current definition of dolist in subr.el breaks lot of things that rely
>> on the standard 'dolist' behavior:
>
>> $ emacs -Q --debug-init --batch --eval "(dolist (elt '(1 2)) (return elt))"
>> Symbol's function definition is void: return
>
> By standard, you mean "CL", right? If you want CL behavior, then do
> (require 'cl), and it will then work.
So this is one of the reasons you should do
(eval-when-compile (require 'cl))
Or? ;-)
next prev parent reply other threads:[~2010-11-15 17:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-15 10:51 bug#7408: 23.2.1 dolist -- subr.el and cl-macs differ with nil-block return Jari Aalto
2010-11-15 17:22 ` Stefan Monnier
2010-11-15 17:49 ` Lennart Borgman [this message]
2010-11-15 19:38 ` Stefan Monnier
[not found] ` <handler.7408.D7408.12898423464754.notifdone@debbugs.gnu.org>
2010-11-15 21:21 ` bug#7408: closed (Re: bug#7408: 23.2.1 dolist -- subr.el and cl-macs differ with nil-block return) jari
2010-11-15 21:57 ` bug#7408: 23.2.1 dolist -- subr.el and cl-macs differ with nil-block return Glenn Morris
2010-11-21 23:19 ` bug#7408: Linux patchutils: Development of the project? MON KEY
[not found] <r6eo4w45.fsf@blue.sea.net>
[not found] ` <1213200935.4147.62.camel@cyberelk.elk>
2010-11-16 21:25 ` Jari Aalto
2010-11-16 22:21 ` Stefan Monnier
2010-11-17 12:47 ` Štěpán Němec
2010-11-17 13:39 ` Stefan Monnier
2010-11-18 22:02 ` bug#7408: 23.2.1 dolist -- subr.el and cl-macs differ with nil-block return Jari Aalto
2010-11-21 5:45 ` Stefan Monnier
2010-11-21 9:08 ` jari
2010-11-21 17:49 ` Eli Zaretskii
2010-11-21 18:51 ` Stefan Monnier
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=AANLkTim-g20Fz90mTtyBabGLXR4s6A3zcDtX+9EeK1WX@mail.gmail.com \
--to=lennart.borgman@gmail.com \
--cc=7408@debbugs.gnu.org \
--cc=jari.aalto@cante.net \
--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.