GNU bug report logs - #18253
24.4.50; doc string of `remq': correct it per the doc of `remove'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Tue, 12 Aug 2014 15:00:02 UTC

Severity: minor

Found in version 24.4.50

Done: Christoph <cschol2112 <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 18253 <at> debbugs.gnu.org, tsugutomo.enami <at> jp.sony.com, Christoph <cschol2112 <at> gmail.com>
Subject: bug#18253: 24.4.50; doc string of `remq': correct it per the doc of `remove'
Date: Tue, 26 Aug 2014 14:34:00 -0400
>  If the only elements in LIST that are `eq' to ELT occur before any
>  other elements then a copy is not made: the tail after the last such
>  occurrence is returned.
> Whatever language we choose, it should be precise wrt what the behavior
> is.

I don't see a need for precision.  It should just say that the returned list
may share some elements with the original argument, but that no element
was modified by side-effect.


        Stefan




This bug report was last modified 10 years and 329 days ago.

Previous Next


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