From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: Undefining an ERT test? Date: Fri, 12 Jun 2020 01:01:17 +0200 Message-ID: <87a719dx6q.fsf@fastmail.fm> References: <30b33d01-3196-af12-fd6e-db9516829a49@gmail.com> <87lfktdzjl.fsf@fastmail.fm> <1b7504cc-2b1c-f155-c173-c85d0a3bce7f@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="130610"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.2; emacs 27.0.91 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 12 01:01:59 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jjWCt-000Xsl-9N for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 12 Jun 2020 01:01:59 +0200 Original-Received: from localhost ([::1]:39748 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjWCs-0004W2-Bs for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 11 Jun 2020 19:01:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjWCP-0004Vu-Oj for help-gnu-emacs@gnu.org; Thu, 11 Jun 2020 19:01:29 -0400 Original-Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:44171) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjWCN-0001r5-T8 for help-gnu-emacs@gnu.org; Thu, 11 Jun 2020 19:01:29 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 48CF39B9 for ; Thu, 11 Jun 2020 19:01:26 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 11 Jun 2020 19:01:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= references:from:to:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm3; bh=SLXkLlhvT7rAUPpdQjZfb02QpP E3CbDzM20iMbNIXLE=; b=jzbHUXo/mSrU7zJJ0X+ECsrT0JEOGbZE9fk4eVZ7Xl grwr21tBMyf8EX12zBOHSOoRsCaImrs46rEjNu85aC/XPBL7iQJ4acBMg+I+yyFx HiGvFJa0bhzrRuM/sVXid/IYBAS9FFWlnTj5aQQy5whfKSQpNtXT8yS2MVhbuPmh Nfjbj+2kyj2t7p/qyEtXcXaove2BP6caWAIUwQye7d9Wj70C/hLABPcKt+NDlICJ Ecf801glG1mCzhNhHnd+ui0JjgBe0pZAzZeKqvbjNAn7lvsRilr1io0PtxgC7jCq XdW/HnFwEzWh9uWBiqC85QgQIeAXgE1IGNK+wM4WbwnQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=SLXkLl hvT7rAUPpdQjZfb02QpPE3CbDzM20iMbNIXLE=; b=CKaBhgtIefezCycSyvoFAG QSAMsZlg1y3EqldjYyZIqzVZ1UL3CmE7nUs+kkEluhYd5k350uUsMP/ZWH9bOADL e5wfhUnovMs/GPH7XkXo6k07nurIHLBiO8mJSBqa3Vo9dTQOY5+sU9uWX8PfnBY4 MLjuqnAhbuz6v+5MyiTKRDVhRIBJxBf+D9gUPMyGbcd05LYHrDmLmJ1DZRfoboYI huhh57eVgQvXc4EsC4ieY3Ili23M4JrMCooBGAFXD/ENFuvZ365CsvqAshev5+oi aVeKYgH5VRqGPTnDTcxlPFBYazQDDXTzWgfCqsdLr8PtvwWywlCgxd3Ykrj/6ZnQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudeitddgudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpehffgfhvffujgffkfggtgesthdtre dttdertdenucfhrhhomheplfhoohhsthcumfhrvghmvghrshcuoehjohhoshhtkhhrvghm vghrshesfhgrshhtmhgrihhlrdhfmheqnecuggftrfgrthhtvghrnhephfduffeuhfdule fhgfelueekgeduveettdduudfhfeetueegvdevtdduudfgffefnecukfhppeelhedrledt rddvtddurdeivdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Original-Received: from Swift.fastmail.com (ip5f5ac93e.dynamic.kabel-deutschland.de [95.90.201.62]) by mail.messagingengine.com (Postfix) with ESMTPA id 387FC30614FA for ; Thu, 11 Jun 2020 19:01:24 -0400 (EDT) In-reply-to: <1b7504cc-2b1c-f155-c173-c85d0a3bce7f@gmail.com> Received-SPF: pass client-ip=64.147.123.19; envelope-from=joostkremers@fastmail.fm; helo=wout3-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/11 18:10:26 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123347 Archived-At: On Fri, Jun 12 2020, Douglas Lewan wrote: > On 6/11/20 6:10 PM, Joost Kremers wrote: >> >> On Thu, Jun 11 2020, Douglas Lewan wrote: >>> So, the question is: Is there something like (fmakunbound) for >>> ERT? >> >> There is `ert-make-test-unbound`. > > Thanks, that looks like just the thing. > > It's not in my info file (I'm on emacs 24.5). I don't find it in > my 26.3 > source tree either. Should it be? Don't know about 24.5, but I'm pretty sure it should be in 26.3, because I remember using it when I was running 26.3. Just to make sure, I checked out the emacs-26 branch in my local copy of the Emacs git repo, and it *is* there, in `ert.el`. BTW, there's also `ert-delete-test` and `ert-delete-all-tests`, which are interactive functions (`ert-make-test-unbound` is not), so you can call them with `M-x`. HTH -- Joost Kremers Life has its moments