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 09:48:29 +0100 Message-ID: <87h96g5dlu.fsf@petton.fr> References: <20161207.090954.2116981160523579782.devel@pollock-nageoire.net> 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 1481100773 27195 195.159.176.226 (7 Dec 2016 08:52:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Dec 2016 08:52:53 +0000 (UTC) To: Pierre Lorenzon , 25129@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 07 09:52:46 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 1cEXy1-0005b0-IG for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Dec 2016 09:52:45 +0100 Original-Received: from localhost ([::1]:37142 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEXy5-00074Z-GO for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Dec 2016 03:52:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEXuY-0004HS-4W for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2016 03:49:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEXuT-0005aH-Lm for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2016 03:49:10 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43422) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cEXuT-0005ZY-Ev for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2016 03:49:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cEXuQ-0003iH-5k for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2016 03:49:02 -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 08:49:02 +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.148110051914245 (code B ref 25129); Wed, 07 Dec 2016 08:49:02 +0000 Original-Received: (at 25129) by debbugs.gnu.org; 7 Dec 2016 08:48:39 +0000 Original-Received: from localhost ([127.0.0.1]:58821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEXu3-0003hh-Fs for submit@debbugs.gnu.org; Wed, 07 Dec 2016 03:48:39 -0500 Original-Received: from petton.fr ([89.234.186.68]:49613) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEXu1-0003hP-N1 for 25129@debbugs.gnu.org; Wed, 07 Dec 2016 03:48:38 -0500 In-Reply-To: <20161207.090954.2116981160523579782.devel@pollock-nageoire.net> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=petton.fr; s=mail; t=1481100511; bh=Z4h4/kQ0+Lgau7fHdlumzot1zkQUEW+IbLMvCjrFWjY=; h=From:To:Subject:In-Reply-To:References:Date:Message-ID:MIME-Version:Content-Type; b=RZuac3RGuo/rhA7l9CF/V4C7vLif/xsB+WfbDeZ5GORdnl+n0iiOWea/34X7CPzdGMXto0VQoiC8VMWInlfis3OZiUrlwIDFLT4JLMh1Okw1etivtJv3P4dfyteyu/UW+6LURRHTKXRn0+09Cy7IVjM/DSdTOTK8DZJmE1ldDGE= 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:126590 Archived-At: --=-=-= Content-Type: text/plain 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. Cheers, Nico --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJYR8zdAAoJECM1h6R8IHkQR1UIAKwoSVvtz/wZ0kTanYeIgCeC ds8PQIuhWeGEA4fZB9e/aJ3HXD53q3NS9tirDY+PZT1daY05KwthmQRSRcUTEV65 Ah6x+1RP8nXLTdp1APbZqz2v3TxiC8DffPvGsIdiDRXGNWQCst9wKy5q2BHwZ+O/ /nsBd+9NtXfmzRm+fgvlaZxzt2uB7LedPBO/2n0DKJg5pCViT1u2cz6mM/oZ5PCg Jx87HaQK+EB2izkDbiYq1kGZLLv+hwo1v4TsmDXY8Js10luvwc+7WoWWgd183iNh wDGMn+kVYhSTQfWGxDXJOD7Q2Wio+c5t4meWT44LxAZhqkmnTmkgf4x/ZWoNKPs= =enUz -----END PGP SIGNATURE----- --=-=-=--