From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jonas Bernoulli Newsgroups: gmane.emacs.bugs Subject: bug#16980: eieio-generic-call shouldn't load libraries Date: Sun, 16 Aug 2020 21:40:59 +0200 Message-ID: <877dtyv0ok.fsf@bernoul.li> References: <87wqg1hpfz.fsf@bernoul.li> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30780"; mail-complaints-to="usenet@ciao.gmane.io" To: 16980@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 16 21:42:28 2020 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 1k7OY0-0007vB-2a for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Aug 2020 21:42:28 +0200 Original-Received: from localhost ([::1]:39920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7OXy-0006oA-Fk for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Aug 2020 15:42:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7OXa-0006nz-0I for bug-gnu-emacs@gnu.org; Sun, 16 Aug 2020 15:42:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47032) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k7OXZ-0006hm-NR for bug-gnu-emacs@gnu.org; Sun, 16 Aug 2020 15:42:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k7OXZ-0008M6-K9 for bug-gnu-emacs@gnu.org; Sun, 16 Aug 2020 15:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jonas Bernoulli Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Aug 2020 19:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16980 X-GNU-PR-Package: emacs Original-Received: via spool by 16980-submit@debbugs.gnu.org id=B16980.159760686332033 (code B ref 16980); Sun, 16 Aug 2020 19:42:01 +0000 Original-Received: (at 16980) by debbugs.gnu.org; 16 Aug 2020 19:41:03 +0000 Original-Received: from localhost ([127.0.0.1]:58578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7OWd-0008Kb-7w for submit@debbugs.gnu.org; Sun, 16 Aug 2020 15:41:03 -0400 Original-Received: from mail.hostpark.net ([212.243.197.30]:55818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7OWb-0008K4-JP for 16980@debbugs.gnu.org; Sun, 16 Aug 2020 15:41:02 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id E70A91610F for <16980@debbugs.gnu.org>; Sun, 16 Aug 2020 21:40:59 +0200 (CEST) X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Original-Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail1.hostpark.net [127.0.0.1]) (amavisd-new, port 10124) with ESMTP id GniHBkmWuLek for <16980@debbugs.gnu.org>; Sun, 16 Aug 2020 21:40:59 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id BBCF1160DD for <16980@debbugs.gnu.org.>; Sun, 16 Aug 2020 21:40:59 +0200 (CEST) In-Reply-To: <87wqg1hpfz.fsf@bernoul.li> 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:185344 Archived-At: Jonas Bernoulli writes: > eieio-generic-call loads the respective library when the first method > argument is a symbol which also happens to be the name of an autoloaded > function. This function does not exist anymore and this behavior does not appear to have survived all the major refactorings. I also tried to reproduce the old behavior, but that too indicates that the issue is gone: ,---- | (cl-defmethod testibus ((arg (eql battery))) | arg) | | (list (featurep 'battery) | (testibus 'battery) | (featurep 'battery) | (require 'battery)) | => (nil battery nil battery) `---- So this can be close. Thanks.