unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Mauro Aranda <maurooaranda@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 46917@debbugs.gnu.org
Subject: bug#46917: 28.0.50; error when unloading feature after loading elp
Date: Thu, 04 Mar 2021 17:30:09 -0300	[thread overview]
Message-ID: <60414354.1c69fb81.a2784.235d@mx.google.com> (raw)
In-Reply-To: <87tupqu10v.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 04 Mar 2021 21:17:20 +0100)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Mauro Aranda <maurooaranda@gmail.com> writes:
>
>>> Starting from emacs -Q, do:
>>>
>>> 1. In the *scratch* buffer, type and evaluate (in any order):
>>> (require 'autoarg) ; Whatever feature.
>>> (require 'elp)
>>>
>>> 2. Type and evaluate
>>> (unload-feature 'autoarg)
>>>
>>> 3. Emacs signals an error:
>>> "Unsupported qualifiers in function loadhist-unload-element:
>>> (:before :extra \"elp\")"
>>>
>>
>> Looks like the problem is the order of the qualifiers; the attached
>> patch should fix it.
>
> [...]
>
>> * lisp/emacs-lisp/elp.el (loadhist-unload-element): The :extra
>> qualifier is expected to come before the other qualifiers, so do
>> that.  (Bug#46917)
>
> I had a quick look at the documentation -- this limitation doesn't seem
> to be stated anywhere?

It's hard to take a long look, since the documentation about :extra is
scarce ;-)

> Perhaps it should be, or perhaps the restriction should be lifted?

I don't really have an opinion.  My guess is that expecting :extra to
come first just makes the code simpler.





  reply	other threads:[~2021-03-04 20:30 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 [this message]
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

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=60414354.1c69fb81.a2784.235d@mx.google.com \
    --to=maurooaranda@gmail.com \
    --cc=46917@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /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).