From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#21743: Allow unloading single features for tests Date: Thu, 30 Jun 2016 22:47:08 -0400 Message-ID: <87furuhy6r.fsf@users.sourceforge.net> References: <5629FDEF.5070906@easy-emacs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1467341311 25571 80.91.229.3 (1 Jul 2016 02:48:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2016 02:48:31 +0000 (UTC) Cc: 21743@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 01 04:48:19 2016 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 1bIoV7-0006A6-0Z for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Jul 2016 04:48:17 +0200 Original-Received: from localhost ([::1]:53422 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIoV5-0006R9-Ut for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Jun 2016 22:48:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIoUx-0006Px-Bh for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2016 22:48:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIoUs-0005Rq-BM for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2016 22:48:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIoUs-0005Rm-7m for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2016 22:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bIoUr-0002dL-TW for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2016 22:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Jul 2016 02:48:01 +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.146734123110055 (code B ref 21743); Fri, 01 Jul 2016 02:48:01 +0000 Original-Received: (at 21743) by debbugs.gnu.org; 1 Jul 2016 02:47:11 +0000 Original-Received: from localhost ([127.0.0.1]:32960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIoU3-0002c2-8F for submit@debbugs.gnu.org; Thu, 30 Jun 2016 22:47:11 -0400 Original-Received: from mail-it0-f44.google.com ([209.85.214.44]:35919) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIoU1-0002ZI-Ek; Thu, 30 Jun 2016 22:47:09 -0400 Original-Received: by mail-it0-f44.google.com with SMTP id a5so7692882ita.1; Thu, 30 Jun 2016 19:47:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=NE4NtOXVvVwq7E1LyWV684C00butUN6z/Cld8karXWc=; b=EdMIpYk4L9WnRqF1xg42RvzdFqCAkFFbzQgbTI6huP5ZkXn4jr+YNjp3AxXgE/GWlD JjTQDib3xY28ru+RYftZrGwC4XZoUlGOusMg0DDXI1j0YpkU58kuYLZCbodDHdNRfUzm cayLdwb2SOtyBcPlSMcRVbULDv8jimhgB6xueeS5li8HakX70ex20hl3Q6vxaGirnVuD sSq01siAWrONoL0BTPLkJNhKmzrEMGXuuW9yNm9YQXRteVd5O2F1/CJO5psQRZQGF8Zm mgn5RhSE2jwPSvGHcsDmqYA0Bk1OoDeA6V9gvOa0grmgZWrrHugi8zRxCkxUqoOsAz4x A+SQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=NE4NtOXVvVwq7E1LyWV684C00butUN6z/Cld8karXWc=; b=OPoONTvnPn6B+RZQ8xTXPzyp8e4J0f7OHrnNQ2EI7NcMaApkFbWDVNCwZ2Vl6a6cnA MarZAemqs8X7RF87MxxYw3rfpRW0SE6nJ5mE5OR9qUWqps9l594IfBzbqSO6raLiTGNj nACmX+ifkkqxtzRW/HNv6TclYD/Jfks9yqsuAnXDZceS6pPyUmj3RNS4KAF1g2z684nQ 1EcFlIVcIhF87MiTkjXP8/bnihbOdOqd2sAaBzkMOYGTsL9ZApX02gEyzE1BgMpyiwzn KkPGHA9PH0WQ7w575+FMGQn25tmI+sjqToQ/s08m0o/wYknC9UnyeD5D7AC1pMjfwFBR 6Ktw== X-Gm-Message-State: ALyK8tLC8Q9qIP3wvZzm39Uq8RTXvHaNiPHe79V+PX2nZwcMT9Os6WFA+aZ/nVGVcTlQhQ== X-Received: by 10.36.101.6 with SMTP id u6mr27459585itb.8.1467341224002; Thu, 30 Jun 2016 19:47:04 -0700 (PDT) Original-Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id q126sm2934675ioe.44.2016.06.30.19.47.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jun 2016 19:47:03 -0700 (PDT) In-Reply-To: (Juanma Barranquero's message of "Fri, 23 Oct 2015 13:30:03 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:120246 Archived-At: tags 21743 moreinfo quit Juanma Barranquero writes: > On Fri, Oct 23, 2015 at 11:29 AM, Andreas R=C3=B6hler wrote: > >> Whilest python-mode.el and python.el in general don't conflict, when tes= ting 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/wi= sent/python.elc\") depend on /usr/share/emacs/24.4/lisp/progmodes/python.el= c" >> 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?