emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-bug-tracker] bug#7408: closed (23.2.1 dolist -- subr.el and cl-ma


From: GNU bug Tracking System
Subject: [Emacs-bug-tracker] bug#7408: closed (23.2.1 dolist -- subr.el and cl-macs differ with nil-block return)
Date: Mon, 15 Nov 2010 17:33:02 +0000

Your message dated Mon, 15 Nov 2010 12:22:54 -0500
with message-id <address@hidden>
and subject line Re: bug#7408: 23.2.1 dolist -- subr.el and cl-macs differ with 
nil-block return
has caused the GNU bug report #7408,
regarding 23.2.1 dolist -- subr.el and cl-macs differ with nil-block return
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
7408: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7408
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 23.2.1 dolist -- subr.el and cl-macs differ with nil-block return Date: Mon, 15 Nov 2010 12:51:20 +0200
Package: emacs
Version: 23.2+1-4
Severity: serious

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

    $ macs -Q -l cl-macs --debug-init --batch --eval "(dolist (elt '(1 2)) 
(return elt))"
    <no errors>

Please update subr.el::dolist in respect to 'return'.

Jari

-- System Information
Debian Release: squeeze/sid
  APT Prefers testing
  APT policy: (990, testing) (500, unstable) (1, experimental)
Architecture: amd64
Kernel: Linux picasso 2.6.32-5-amd64 #1 SMP Fri Sep 17 21:50:19 UTC 2010 x86_64 
GNU/Linux
Locale: LANG=en_DK.UTF-8

-- Versions of packages `emacs depends on'.
Depends:
emacs23         23.2+1-4        GNU Emacs is the extensible self-documenting 
emacs23-lucid   23.2+1-4        GNU Emacs is the extensible self-documenting 
emacs23-nox     23.2+1-4        GNU Emacs is the extensible self-documenting 



--- End Message ---
--- Begin Message --- Subject: Re: bug#7408: 23.2.1 dolist -- subr.el and cl-macs differ with nil-block return Date: Mon, 15 Nov 2010 12:22:54 -0500 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)
> 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.


        Stefan


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]