From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#46917: 28.0.50; error when unloading feature after loading elp Date: Fri, 05 Mar 2021 12:18:55 -0500 Message-ID: References: <6040d799.1c69fb81.936e9.ec05@mx.google.com> <60414354.1c69fb81.a2784.235d@mx.google.com> <87ft19rap3.fsf@gnus.org> <87im65pojl.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="37700"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 46917@debbugs.gnu.org, Mauro Aranda To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 05 19:10:50 2021 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 1lIEuX-0009gQ-F5 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Mar 2021 19:10:49 +0100 Original-Received: from localhost ([::1]:59798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lIEuW-0008Me-CR for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Mar 2021 13:10:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lIE7P-0003jf-0J for bug-gnu-emacs@gnu.org; Fri, 05 Mar 2021 12:20:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52045) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lIE7O-000166-O1 for bug-gnu-emacs@gnu.org; Fri, 05 Mar 2021 12:20:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lIE7O-000720-Gd for bug-gnu-emacs@gnu.org; Fri, 05 Mar 2021 12:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Mar 2021 17:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46917 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed patch Original-Received: via spool by 46917-submit@debbugs.gnu.org id=B46917.161496474626947 (code B ref 46917); Fri, 05 Mar 2021 17:20:02 +0000 Original-Received: (at 46917) by debbugs.gnu.org; 5 Mar 2021 17:19:06 +0000 Original-Received: from localhost ([127.0.0.1]:35355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lIE6T-00070Y-VN for submit@debbugs.gnu.org; Fri, 05 Mar 2021 12:19:06 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:64295) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lIE6S-000702-4T for 46917@debbugs.gnu.org; Fri, 05 Mar 2021 12:19:04 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 4943C100250; Fri, 5 Mar 2021 12:18:58 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id B1302100225; Fri, 5 Mar 2021 12:18:56 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1614964736; bh=QXPYiWv6i2IKR2Nbuy4W9lhnOLG6v1/QO+z9/ad2mm8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=DEZphUwy80DjsnBuhDA+LA8fzcV8Idt9LoCVP4dp/6dnx9qBtzYHlZecsfIfyqrT+ Xps11+29XWoA7XphyZo8cPMDmLQ4ttLa6MIKLjnsJl/zmlVHYBoH5JvsNaqDjWMdrx NxWn2CMuV3oMBzifezEW5pn/uanzNSViYNzxcUnMGP2lZcc+sTiqWIlMl6d0uZq2n/ 0x4nE2OJxKFrwHB48tV9Znw37jnlsCqBcZppIHol51ykI4t5816g/HZKnqmcPEQvQi tSjkUUss5EJyjq3U1A9F0AsGOrhxn+Nod4CnZXyagwpTSuo20kVvVrPTEAWNJSdGLY +3suYwwhmqk5w== Original-Received: from alfajor (unknown [216.154.43.249]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 8359E120313; Fri, 5 Mar 2021 12:18:56 -0500 (EST) In-Reply-To: <87im65pojl.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 05 Mar 2021 17:12:46 +0100") 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:201565 Archived-At: >> It's because it's supposed to be a "list of qualifiers". > The three ones that are supported, though, are mutually exclusive, I think? >> Strictly speaking, the set of possible qualifiers can be changed by >> adding a new method to `cl-generic-combine-methods`. > Perhaps that should be mentioned somewhere. :-) Except that it's a bad hook, really, because there's not much on which you can "dispatch" nor can you satisfactorily use the result of `cl-call-next-method`, so all you can do is override the default with a fresh new implementation. I think it's just barely sufficient so you can use a different method combination for specific generic functions (i.e. we could implement something like CLOS's support for specifying in `defgeneric` a particular method combination to use for that generic function), but it's not sufficient to be able to extend the set of qualifiers supported "by default". Stefan