unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 46917@debbugs.gnu.org, Mauro Aranda <maurooaranda@gmail.com>
Subject: bug#46917: 28.0.50; error when unloading feature after loading elp
Date: Fri, 05 Mar 2021 12:18:55 -0500	[thread overview]
Message-ID: <jwvv9a5ed8a.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87im65pojl.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 05 Mar 2021 17:12:46 +0100")

>> 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






      reply	other threads:[~2021-03-05 17:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-04 12:50 bug#46917: 28.0.50; error when unloading feature after loading elp Mauro Aranda
2021-03-04 12:56 ` Mauro Aranda
2021-03-04 20:17   ` Lars Ingebrigtsen
2021-03-04 20:30     ` Mauro Aranda
2021-03-05 13:28       ` Lars Ingebrigtsen
2021-03-05 13:53         ` Mauro Aranda
2021-03-05 15:36         ` Stefan Monnier
2021-03-05 16:12           ` Lars Ingebrigtsen
2021-03-05 17:18             ` Stefan Monnier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvv9a5ed8a.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=46917@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=maurooaranda@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).