From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#27584: 26.0.50; alist-get: Add optional arg TESTFN Date: Thu, 6 Jul 2017 19:55:08 +0900 (JST) Message-ID: References: <87tw2rva7v.fsf@calancha-pc> <87mv8j6y1z.fsf@petton.fr> <87y3s2m76v.fsf@calancha-pc> <87van56h6b.fsf@petton.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: blaine.gmane.org 1499338579 30738 195.159.176.226 (6 Jul 2017 10:56:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Jul 2017 10:56:19 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: Tino Calancha , 27584@debbugs.gnu.org, Stefan Monnier To: Nicolas Petton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 06 12:56:13 2017 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 1dT4S7-0007OO-QR for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Jul 2017 12:56:07 +0200 Original-Received: from localhost ([::1]:50607 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dT4SB-0004Hl-Qq for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Jul 2017 06:56:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dT4S6-0004HZ-1U for bug-gnu-emacs@gnu.org; Thu, 06 Jul 2017 06:56:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dT4S2-0004HU-S4 for bug-gnu-emacs@gnu.org; Thu, 06 Jul 2017 06:56:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51586) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dT4S2-0004HQ-Mc for bug-gnu-emacs@gnu.org; Thu, 06 Jul 2017 06:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dT4S2-0006y4-G4 for bug-gnu-emacs@gnu.org; Thu, 06 Jul 2017 06:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Jul 2017 10:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27584 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27584-submit@debbugs.gnu.org id=B27584.149933852526739 (code B ref 27584); Thu, 06 Jul 2017 10:56:02 +0000 Original-Received: (at 27584) by debbugs.gnu.org; 6 Jul 2017 10:55:25 +0000 Original-Received: from localhost ([127.0.0.1]:54263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dT4RQ-0006xD-UQ for submit@debbugs.gnu.org; Thu, 06 Jul 2017 06:55:25 -0400 Original-Received: from mail-pf0-f195.google.com ([209.85.192.195]:34237) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dT4RP-0006x0-Kh for 27584@debbugs.gnu.org; Thu, 06 Jul 2017 06:55:24 -0400 Original-Received: by mail-pf0-f195.google.com with SMTP id c24so2779098pfe.1 for <27584@debbugs.gnu.org>; Thu, 06 Jul 2017 03:55:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=BAgpUij3bF/geC6YclqVmccIOaubQJbZgrHtAigxiO0=; b=HhDDLAc87A06D1JIuASbnho0mCQhlqZTzBpeqiJEH84ukxVBcNhGbEaG+T33TFpCKT ITqaFD9KWBqJkDerc1Ey5bdi4LTXrG3SenoK/kqONthWev9VSUu2o/HMIl1BzirRAG7l SQaCE3DmmhA8LDndqvJUgWTqTMNRK/OeIi2yJvql0o+Uvga9AG4+rZOJe0zQEKwxidnH AJ2uwtbHp+v73MYc3F5ubxolLgcFa2Sig3soexEbaus4Jmp07OncqXrEqRQULj+/pHMZ LMpkuhWNKbsHKbhN55nk3T864ryrCZmloBWYYzQAwBnxTpKRF4M0DP9kKeh9dgIo+GfL /BRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=BAgpUij3bF/geC6YclqVmccIOaubQJbZgrHtAigxiO0=; b=KaYBbLmfLj/nGhiYbf9c3siPh7r8fvm3uo6krQDjLrOPZc2i4Nc16csOjyABxsCzd0 uw6A85dOsGA3u3WS+NO2oIElAk5J5Sm9m/oybbtf8OZmrJrusUkQzWwr2saA2TVR/Qm2 7t7iR7JMYSnBdyaOoqmBjmr3dqf0q9sBAGZs4ilKQRqyJKAK1HNVSkxVeAKwcH/bUGG7 DIRT5OcbxaUViafvnqjx2M/tlbTrCy0vZvqJacj/l4iXY5GjKYVE5GpU1/CS8ZcT7ZKi t3hOmmfowrv0W6a3a++maUYmRImD5XgpqcUQEJEvVP3auboP3N5EK/yg5KP8O+tjsOFF CPQQ== X-Gm-Message-State: AIVw111lmRtwJ/ApmCIHr0oezKLf+K4LKPW1kaunivKUsD0XdaPXXjll xhSHa7Jv6S+Eng== X-Received: by 10.98.224.11 with SMTP id f11mr25576866pfh.118.1499338517782; Thu, 06 Jul 2017 03:55:17 -0700 (PDT) Original-Received: from calancha-pc (222.139.137.133.dy.bbexcite.jp. [133.137.139.222]) by smtp.gmail.com with ESMTPSA id g73sm4322633pfk.19.2017.07.06.03.55.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Jul 2017 03:55:17 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: <87van56h6b.fsf@petton.fr> 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:134254 Archived-At: On Thu, 6 Jul 2017, Nicolas Petton wrote: > Tino Calancha writes: > >>> It's been called cl-assoc so far ;-) > >> Some day your dream will be fulfilled, and `cl-lib' will be preloaded at >> startup. Then, we will not need things like `assoc-predicate'. > > map.el could require cl-lib and use cl-assoc? Actually, it already does require cl-lib, because the following chain: * map.el requires `seq' * seq.el requires `cl-lib' Indeed, in my patch `assoc-predicate' doesn't appear in map.el, so it's not just a matter of replace: assoc-predicate ---> cl-assoc `assoc-predicate' appears in the implementation (subr.el) and setter expansion (gv.el) of `alist-get'. Neither subr.el nor gv.el are requiring `cl-lib'.