From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#21743: Allow unloading single features for tests Date: Fri, 23 Oct 2015 13:30:03 +0200 Message-ID: References: <5629FDEF.5070906@easy-emacs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c3c46e1dc90e0522c3f132 X-Trace: ger.gmane.org 1445599899 32148 80.91.229.3 (23 Oct 2015 11:31:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Oct 2015 11:31:39 +0000 (UTC) Cc: 21743@debbugs.gnu.org To: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 23 13:31:30 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZpaYz-0006md-KN for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Oct 2015 13:31:14 +0200 Original-Received: from localhost ([::1]:37735 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpaYz-0001IY-0g for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Oct 2015 07:31:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41837) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpaYt-0001EN-D9 for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2015 07:31:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpaYp-0002cO-64 for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2015 07:31:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpaYp-0002cI-27 for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2015 07:31:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZpaYo-0006H8-MM for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2015 07:31:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Oct 2015 11:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21743 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21743-submit@debbugs.gnu.org id=B21743.144559984723049 (code B ref 21743); Fri, 23 Oct 2015 11:31:02 +0000 Original-Received: (at 21743) by debbugs.gnu.org; 23 Oct 2015 11:30:47 +0000 Original-Received: from localhost ([127.0.0.1]:33870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZpaYY-0005ya-9x for submit@debbugs.gnu.org; Fri, 23 Oct 2015 07:30:47 -0400 Original-Received: from mail-lf0-f49.google.com ([209.85.215.49]:34938) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZpaYV-0005vM-Qr for 21743@debbugs.gnu.org; Fri, 23 Oct 2015 07:30:44 -0400 Original-Received: by lfbn126 with SMTP id n126so45543504lfb.2 for <21743@debbugs.gnu.org>; Fri, 23 Oct 2015 04:30:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=w4w91OfcjmaaWc2GL4By+68ch8iqchSa7LY3x/BN1eQ=; b=hZP3pi9T17T0SOiC9E+6VlTihDvsO7gYIa8UcIyCx7rzJT0K5v5ylCfUJFAy3AwSkj 5KQ/EBezktOMxIJ60pF872FsIebQ+ScmoN2jFpewPWPdG/oJFdMhAm7Jfwa7zv06b3Ze XvhqAaC/au8GubI+3KhKsuK6E7T96/MyDMvboFUrwDYiL66ru7tp7kAAUUBQEHPOLRjG UwYSjhxHMHh1q1e01OHPoxtzKe37GP7yZD/zxkhhmh/yvv7BjhDfRz588ls/bAcdFuez Jej08baQqnT+L2XlDb3rFHq7ReRyI5TiBqtATD1DQJIqjxirjhbKp9Bm4D4G5j+0kw2B EKRg== X-Received: by 10.112.62.194 with SMTP id a2mr11030441lbs.80.1445599842779; Fri, 23 Oct 2015 04:30:42 -0700 (PDT) Original-Received: by 10.25.217.135 with HTTP; Fri, 23 Oct 2015 04:30:03 -0700 (PDT) In-Reply-To: <5629FDEF.5070906@easy-emacs.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:107912 Archived-At: --001a11c3c46e1dc90e0522c3f132 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, Oct 23, 2015 at 11:29 AM, Andreas R=C3=B6hler < andreas.roehler@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 --001a11c3c46e1dc90e0522c3f132 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Fri, Oct 23, 2015 at 11:29 AM, Andreas R=C3=B6hler <= andreas.roehler@easy-emacs= .de> wrote:

> Whilest python-mode.el and python.el in= general don't conflict, when testing python-mode.el unloading the buil= t-in python.el seems preferable.
>
> Unfortunatly, with CEDET l= oadet, get the following:
>
> error: "Loaded libraries (\&= quot;/usr/share/emacs/24.4/lisp/cedet/semantic/wisent/python.elc\") de= pend on /usr/share/emacs/24.4/lisp/progmodes/python.elc"
> Abort= ed: 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)?<= /div>

Could you explain how to reproduce your problem, s= tarting from emacs -Q?

TIA,

=C2=A0 =C2=A0Juanma
--001a11c3c46e1dc90e0522c3f132--