From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Nicolas Petton Newsgroups: gmane.emacs.bugs Subject: bug#34852: 26.1; seq-intersection ignores nil as element Date: Mon, 18 Mar 2019 21:14:27 +0100 Message-ID: <87y35cgct8.fsf@petton.fr> References: <87zhpxabn3.fsf@tcd.ie> <87va0lmwlg.fsf@web.de> <87d0mtpfqb.fsf@petton.fr> <87k1h1criw.fsf@tcd.ie> <87h8c0mm74.fsf@petton.fr> <87va0gq9x2.fsf@web.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="122314"; mail-complaints-to="usenet@blaine.gmane.org" Cc: "Basil L. Contovounesios" , "Miguel V. S. Frasson" , 34852@debbugs.gnu.org, Stefan Monnier To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 18 21:15:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h5yfA-000VhV-9A for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Mar 2019 21:15:12 +0100 Original-Received: from localhost ([127.0.0.1]:46930 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5yf9-0005AE-2t for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Mar 2019 16:15:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5yf1-00059v-Ca for bug-gnu-emacs@gnu.org; Mon, 18 Mar 2019 16:15:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5yf0-00006B-Np for bug-gnu-emacs@gnu.org; Mon, 18 Mar 2019 16:15:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35684) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h5yez-00005c-Td for bug-gnu-emacs@gnu.org; Mon, 18 Mar 2019 16:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h5yez-0004lZ-OO for bug-gnu-emacs@gnu.org; Mon, 18 Mar 2019 16:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nicolas Petton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Mar 2019 20:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34852 X-GNU-PR-Package: emacs Original-Received: via spool by 34852-submit@debbugs.gnu.org id=B34852.155294008218282 (code B ref 34852); Mon, 18 Mar 2019 20:15:01 +0000 Original-Received: (at 34852) by debbugs.gnu.org; 18 Mar 2019 20:14:42 +0000 Original-Received: from localhost ([127.0.0.1]:49228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h5yeg-0004ko-1k for submit@debbugs.gnu.org; Mon, 18 Mar 2019 16:14:42 -0400 Original-Received: from petton.fr ([89.234.186.68]:56382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h5yed-0004kV-7s for 34852@debbugs.gnu.org; Mon, 18 Mar 2019 16:14:40 -0400 In-Reply-To: <87va0gq9x2.fsf@web.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=petton.fr; s=mail; t=1552940072; bh=B9T6fDTjVcAQv0iHC/Gw4F0CnI9lfJl+gK4z1jfIXz0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID:MIME-Version:Content-Type; b=nW1O51fTfGMFzvGsVyszsxO0uSc3hEzHgkopUfDDn6aCQ9AmTh/moW/Up1fU+Ky1YTxuqDeR2i/CgFmXnmBW2isyrMEyLNfQ85CTdiF0t+tzurTUlbPKkmMSRNbsAGk2Xi6MqsbHDk3s7oovFmCWCg8JiiG9BAXKhodDWXjmaJU= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:156466 Archived-At: --=-=-= Content-Type: text/plain Michael Heerdegen writes: > I think most current appearances are using it as a predicate, however. You have a point and we also have `seq-find' which returns the element found. > What do you intend - obsolete seq-contains? I don't think we should > have an additional function - seq-contains already overlaps with > seq-some. I didn't think about it, obsoleting `seq-contains' would work as well, and it can actually make sense. I would then name the new function `seq-contains-p'. > Why would you have to rename it btw? To add a -p (I ask because > seq-some also doesn't end with -p)? Yes, to add a -p suffix. Nicolas --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE1AWqLIYsVPF+7mvg6LzXhmr8+XgFAlyP/CMACgkQ6LzXhmr8 +XiACQgAhkznXmQjVn6VOWX9Nkukbf41joNCxQXDkt1eRnhUj+SwQu9+5dG8DSaB 3OsVU1j4RIDPUtqsrWNXb1+TRyUtSvjLvDNWJuY+MTZx6f43yEh+ihLHQnlj8DVJ uhje8VFLzWsg0VsLPWEEL+1nTYJrzxv4L2FotbbKYzytDjkYBBf+OfFthchaxcoT kO/xHvSTGCzOXYFoVMxU0PEq5ajFEOs+HNlpjIlkg422qu50XJ3yTtHeLnQCeTTB xH+d8Srp22Qc3mor2utw4B5fB07SgizOJbovnwrFeSDRYbUKbNR4ZIqGjsnXXlYF R7bJ4oZVIOXyNGK0Da4+N7YqS7V3Qg== =R3OQ -----END PGP SIGNATURE----- --=-=-=--