GNU bug report logs - #16353
24.3.50; cl-position fails in 23.4.1

Previous Next

Package: emacs;

Reported by: joaotavora <at> gmail.com (João Távora)

Date: Sun, 5 Jan 2014 18:43:02 UTC

Severity: minor

Found in version 24.3.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: joaotavora <at> gmail.com (João Távora)
To: 16353 <at> debbugs.gnu.org
Subject: bug#16353: 24.3.50; cl-position fails in 23.4.1
Date: Sun, 05 Jan 2014 18:39:37 +0000
Hi,

This is GNU Emacs 23.4.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2012-09-08 on trouble, modified by Debian

Using that emacs and cl-lib-0.3.el this fails

/usr/bin/emacs --batch -Q -l cl-lib.el \
               --eval "(princ (cl-position 2 '(1 2 3)))"

where it should have printed "1". This works

/usr/bin/emacs --batch -Q -l cl-lib.el \
               --eval "(princ (cl-position-if #'(lambda (n) (eq n 2)) '(1 2 3)))"

All other cl-lib functions seem ok. This might be a debian bug.

João




This bug report was last modified 11 years and 168 days ago.

Previous Next


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