From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nicolas Petton Newsgroups: gmane.emacs.bugs Subject: bug#25129: 26.0.50; seq-some function Date: Wed, 07 Dec 2016 11:24:58 +0100 Message-ID: <87eg1k5951.fsf@petton.fr> References: <20161207.090954.2116981160523579782.devel@pollock-nageoire.net> <87h96g5dlu.fsf@petton.fr> <87vauwghyb.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1481106374 7210 195.159.176.226 (7 Dec 2016 10:26:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Dec 2016 10:26:14 +0000 (UTC) Cc: 25129@debbugs.gnu.org, tino.calancha@gmail.com To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 07 11:26:09 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEZQP-0001DH-K9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Dec 2016 11:26:09 +0100 Original-Received: from localhost ([::1]:37630 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEZQT-0004Rk-K1 for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Dec 2016 05:26:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEZQN-0004RT-Qa for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2016 05:26:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEZQI-00075K-GA for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2016 05:26:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43460) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cEZQI-00074h-92 for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2016 05:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cEZQH-0007iY-Ud for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2016 05:26:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Nicolas Petton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Dec 2016 10:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25129 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25129-submit@debbugs.gnu.org id=B25129.148110630829592 (code B ref 25129); Wed, 07 Dec 2016 10:26:01 +0000 Original-Received: (at 25129) by debbugs.gnu.org; 7 Dec 2016 10:25:08 +0000 Original-Received: from localhost ([127.0.0.1]:58859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEZPP-0007hE-NA for submit@debbugs.gnu.org; Wed, 07 Dec 2016 05:25:07 -0500 Original-Received: from petton.fr ([89.234.186.68]:50549) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEZPO-0007gg-Ib for 25129@debbugs.gnu.org; Wed, 07 Dec 2016 05:25:07 -0500 In-Reply-To: <87vauwghyb.fsf@gmail.com> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=petton.fr; s=mail; t=1481106300; bh=DcjUZzGWy4hEeTMol4eJcC3E4dKSJv88LY2gdI/jVIs=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID:MIME-Version:Content-Type; b=vsj0U9evhD5l+Sc03O6nYNeUIQNf5K8JBQzLLmnMK15s85qEqJJ75j1MCqY4qLrfX62CTuWWuCbzEbXYaX3HKLv+hxWIr9rpznisQIRh7W7KoHquTAjHRBv2svANHpLwRlUIytrdjdCJaGkxGVQTF79sctrGJ3Nv3PCfRzIdJIw= 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: 208.118.235.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:126593 Archived-At: --=-=-= Content-Type: text/plain Tino Calancha writes: > Nicolas Petton writes: > >> Pierre Lorenzon writes: >> >> Hi Pierre, >> >>> I well understand now that I must use seq-find instead of >>> seq-some but I think that I will not be the only one being >>> confused by these functions specifications ! >> >> There is a mistake (extra if) in the documentation, I will fix that. >> >> Other than that, is the following less confusing? >> >> Return non-nil if PRED returns non-nil for at least one element of SEQUENCE. >> If so, return the value returned by PRED. > The previous doc string contains more information: it explicitely says > that it returns the _first_ non-nil (PRED element). Indeed, what about: Return non-nil if PRED returns non-nil for at least one element of SEQUENCE. If so, return the first non-nil value returned by PRED. Cheers, Nico --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJYR+N6AAoJECM1h6R8IHkQYdkH/jMJ3Y8BzE5+jXUXA3kNclwq 7TFQHJTMlwN8Kj+JTwf//JLbsWGG0uEvKDlgV5TIjKZmKmMV05EHsCh+AWExvbKP Z3Rv+qKo1BwvKj0SVVO1Lx/VRPTHpTB56VHfYnuVzh+D8WRoTPtkLpHt6uUXigEc 4ZJNqhAfxwoyZqKXOzk1aCd7/iWlq3HtnfkEPlmWms6edusjPpRrvKRcnCGGYgL+ G5Wvgwqyzoc9Ix5Oz1KXVzTU2+NnsQ+Xkujf2yHR8ANyAqrROrC9ECw3+7DoPVi8 tEfnF9L24EowyiW07OSqFBHWOqX7VrtNXVOegzGN0gIR4fnPdY6EK8U+g6cgOxM= =/rsJ -----END PGP SIGNATURE----- --=-=-=--