GNU bug report logs - #21743
Allow unloading single features for tests

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Fri, 23 Oct 2015 09:30:04 UTC

Severity: wishlist

Tags: moreinfo, wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21743 in the body.
You can then email your comments to 21743 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#21743; Package emacs. (Fri, 23 Oct 2015 09:30:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Röhler <andreas.roehler <at> easy-emacs.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 23 Oct 2015 09:30:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: bug-gnu-emacs <at> gnu.org
Subject: Allow unloading single features for tests
Date: Fri, 23 Oct 2015 11:29:19 +0200
 GNU Emacs 24.4.1 (i586-pc-linux-gnu, GTK+ Version 3.14.5) of 
2015-03-07 on binet, modified by Debian

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.

BTW resides another python.el inside CEDET, which doesn't look optimal.

Thanks all,

Andreas




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21743; Package emacs. (Fri, 23 Oct 2015 11:31:02 GMT) Full text and rfc822 format available.

Message #8 received at 21743 <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: 21743 <at> debbugs.gnu.org
Subject: Re: bug#21743: Allow unloading single features for tests
Date: Fri, 23 Oct 2015 13:30:03 +0200
[Message part 1 (text/plain, inline)]
On Fri, Oct 23, 2015 at 11:29 AM, Andreas Röhler <
andreas.roehler <at> easy-emacs.de> 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)?

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

TIA,

   Juanma
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21743; Package emacs. (Fri, 01 Jul 2016 02:48:01 GMT) Full text and rfc822 format available.

Message #11 received at 21743 <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> users.sourceforge.net
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 21743 <at> debbugs.gnu.org,
 Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Subject: Re: bug#21743: Allow unloading single features for tests
Date: Thu, 30 Jun 2016 22:47:08 -0400
tags 21743 moreinfo
quit

Juanma Barranquero <lekktu <at> gmail.com> writes:

> On Fri, Oct 23, 2015 at 11:29 AM, Andreas Röhler <andreas.roehler <at> easy-emacs.de> 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?




Added tag(s) moreinfo. Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Fri, 01 Jul 2016 02:48:02 GMT) Full text and rfc822 format available.

Added tag(s) wontfix. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 07 Dec 2016 20:13:02 GMT) Full text and rfc822 format available.

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Wed, 07 Dec 2016 20:13:02 GMT) Full text and rfc822 format available.

Notification sent to Andreas Röhler <andreas.roehler <at> easy-emacs.de>:
bug acknowledged by developer. (Wed, 07 Dec 2016 20:13:02 GMT) Full text and rfc822 format available.

Message #20 received at 21743-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 21743-done <at> debbugs.gnu.org
Subject: Re: bug#21743: Allow unloading single features for tests
Date: Wed, 07 Dec 2016 15:12:28 -0500
I don't think this is leading anywhere; closing.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 05 Jan 2017 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 226 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.