GNU bug report logs - #7408
23.2.1 dolist -- subr.el and cl-macs differ with nil-block return

Previous Next

Package: emacs;

Reported by: Jari Aalto <jari.aalto <at> cante.net>

Date: Mon, 15 Nov 2010 10:47:02 UTC

Severity: normal

Found in version 23.2+1-4

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #61 received at 7408 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: jari <jari.aalto <at> cante.net>
Cc: monnier <at> iro.umontreal.ca, 7408 <at> debbugs.gnu.org
Subject: Re: bug#7408: 23.2.1 dolist -- subr.el and cl-macs differ
	with	nil-block return
Date: Sun, 21 Nov 2010 19:49:59 +0200
> Date: Sun, 21 Nov 2010 11:08:48 +0200
> From: jari <jari.aalto <at> cante.net>
> Cc: 7408 <at> debbugs.gnu.org
> 
> On 2010-11-21 00:45, Stefan Monnier wrote:
> | >     $ emacs -Q
> | 
> | >     (progn
> | >       (autoload 'return "cl-macs" nil nil 'macro)
> | >       (dolist (elt '(1 2))
> | >         (return elt)))
> | 
> | This causes cl-macs to be run at an unexpected time.  I.e. it's ruled
> | out for being a contrived example. 
> 
> Is the above code not valid?

Breaking news: you can easily hang yourself with a rope made of valid
ELisp code.




This bug report was last modified 14 years and 186 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.