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

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?  Perhaps it should be, or perhaps the restriction
should be lifted?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

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=87tupqu10v.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=46917@debbugs.gnu.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).