Subject: Re: bug#29489: Obsolete gnus-remove-if and gnus-remove-if-not

From: Noam Postavsky <[email-masked]>
Date: Tue, 28 Nov 2017 21:36:31 -0500

Eric Abrahamsen <[email-masked]> writes:

> For the interim, all that matters is consistency:
>
> (let ((list nil)
>       (ob (make-vector 3 0)))
>   (intern "foo" ob)
>   (intern "bar" ob)
>   (intern "xxx" ob)
>   (gnus-remove-if-not (lambda (_) t) ob)) ;=> (xxx 0 0)

But:

(let ((list nil)
      (ob (make-vector 3 0)))
  (intern "foo" ob)
  (intern "bar" ob)
  (intern "xxx" ob)
  (gnus-remove-if-not (lambda (_) t)
                      ob t)) ;=> (xxx bar foo)