From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: dick Newsgroups: gmane.emacs.bugs Subject: bug#46722: test-map-into fails Date: Tue, 04 Jan 2022 16:56:34 -0500 Message-ID: <87czl7w4fh.fsf@dick> References: <871r2yu8b1.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21613"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.14 (Gnus v5.14) Commercial/29.0.50 (gnu/linux) Cc: contovob@tcd.ie, Lars Ingebrigtsen , smonnier , Stefan Kangas , 46722@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 04 23:22:24 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n4sCF-0005Tf-Cu for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Jan 2022 23:22:23 +0100 Original-Received: from localhost ([::1]:58564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4sCE-0006Ge-AN for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Jan 2022 17:22:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4sBv-0006GH-Ra for bug-gnu-emacs@gnu.org; Tue, 04 Jan 2022 17:22:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55650) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4sBv-0001mU-6r for bug-gnu-emacs@gnu.org; Tue, 04 Jan 2022 17:22:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4sBv-00033C-3U for bug-gnu-emacs@gnu.org; Tue, 04 Jan 2022 17:22:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: dick Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Jan 2022 22:22:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46722 X-GNU-PR-Package: emacs Original-Received: via spool by 46722-submit@debbugs.gnu.org id=B46722.164133489811677 (code B ref 46722); Tue, 04 Jan 2022 22:22:03 +0000 Original-Received: (at 46722) by debbugs.gnu.org; 4 Jan 2022 22:21:38 +0000 Original-Received: from localhost ([127.0.0.1]:38961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4sBV-00032G-LE for submit@debbugs.gnu.org; Tue, 04 Jan 2022 17:21:38 -0500 Original-Received: from mail-qk1-f173.google.com ([209.85.222.173]:34429) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4rnM-0002R4-VL for 46722@debbugs.gnu.org; Tue, 04 Jan 2022 16:56:42 -0500 Original-Received: by mail-qk1-f173.google.com with SMTP id b85so36335108qkc.1 for <46722@debbugs.gnu.org>; Tue, 04 Jan 2022 13:56:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=9MrwubVl4SGWt4REOvIAtVCEMGxa6jp9OYE9YRiD80g=; b=jV4oBnipTna9W+FIBPvnEpODpuUX/yaiKsjaAbJzMBLloFomhb3p9Ya6FrUhntQOCr 7lPdefnlpFU/x6+zOna7pwlI+wKG62QoEvZPDl5+8+w12rsKQwT6WaGdkiZDfNor7wWn QnckuMF2DIKZodi68+uM2m0v4kOvaWVpzeZSnrLTciga5KGJMag61PtijjkKpzXD04Q5 rjV10GzQFE1ks3ORVoN9P4tsKAXkad05GpyM7v98Zfnv1ByXA0zIvZO0oz16GuN8MamO NykwoN5g87nQDZxDhqndenX0/m1OAq6bf7xLoRuBP8wkoN7OfyjN0Xqg7P+MNziatDek DeQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=9MrwubVl4SGWt4REOvIAtVCEMGxa6jp9OYE9YRiD80g=; b=jKejb+3ckLedNnhvzxZYtBIMJGV+uXwOSlHztmWNloKORiKMNblLgQGj0qYjxjqum+ 6gT8ViWxL9EopBcbTF0T+rHQQ4ffx+6eTkaxGvWlw9FQMPQYIrOWIfNf0+TMqxTMgoUL aBnbJSE4XJue+A3oMjtiScd18zC2HxSKhE12KwcVcUkMr3eurX+DF9X8Z8R2hCLTXGTk jXBZSYRxRmFhmfKxTXhrCSqqh94cRktsk062gpPvgxXVRfDWI3hcdyMv0OSUYBp7P2CD iT7wJlUYUt+e9YpQpPGduVt14x9QcbX/XUuJs+G3km80N4/GZUmOvjwde03tQ+9r570v WTiw== X-Gm-Message-State: AOAM533WYhwHBM7aPtE2T93FCZXihKJCGmX5BWlFmuZ7g3dKzGnGvLEM IlGUv6yAmtgag6uuk0Kw74bdlcRP0j0= X-Google-Smtp-Source: ABdhPJyWFq4U5pAV0Uqpp/JfQH+fGUrGRbeoXlEtlD2i5xtQ10qrgm4FpNciUSNIqFxmo/w3zMhv/g== X-Received: by 2002:a05:620a:400f:: with SMTP id h15mr37744029qko.226.1641333395341; Tue, 04 Jan 2022 13:56:35 -0800 (PST) Original-Received: from localhost (pool-96-232-253-158.nycmny.fios.verizon.net. [96.232.253.158]) by smtp.gmail.com with ESMTPSA id u7sm34258937qkp.17.2022.01.04.13.56.34 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 04 Jan 2022 13:56:34 -0800 (PST) In-Reply-To: (Glenn Morris's message of "Mon, 29 Nov 2021 13:40:41 -0500") X-Mailman-Approved-At: Tue, 04 Jan 2022 17:21:37 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:223670 Archived-At: You can't do, (funcall (funcall (backquote (lambda (arg) (lambda () arg))) t)) which is what `cl--generic-get-dispatcher` tries to do. You need an apply-partially somewhere in there. Also in same function, `method-cache` buys you nothing, so getting rid of it along with `with-memoization` and `(require subr-x)` is a not insubstantial win. Fixing may or may not put the kibosh on the heisen-flap.