Subject: Re: bug#21743: Allow unloading single features for tests

From: [email-masked]
Date: Thu, 30 Jun 2016 22:47:08 -0400

tags 21743 moreinfo
quit

Juanma Barranquero <[email-masked]> writes:

> On Fri, Oct 23, 2015 at 11:29 AM, Andreas Röhler <[email-masked]> wrote:
>
>> Whilest python-mode.el and python.el in general don't conflict, when testing python-mode.el unloading the built-in python.el seems preferable.
>>
>> Unfortunatly, with CEDET loadet, get the following:
>>
>> error: "Loaded libraries (\"/usr/share/emacs/24.4/lisp/cedet/semantic/wisent/python.elc\") depend on /usr/share/emacs/24.4/lisp/progmodes/python.elc"
>> Aborted: Ran 1 tests, 0 results were as expected
>>
>> Suggest not to hard-code this case as error, rather issue a warning.
>
> Did you try unloading the python library with (unload-feature 'python
> t)?

Yeah, AFAICT, the feature requested already exists as the FORCE argument
(interactively, the prefix arg) of `unload-feature'.

>
> Could you explain how to reproduce your problem, starting from emacs -Q?