From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Douglas Lewan Newsgroups: gmane.emacs.help Subject: Re: Undefining an ERT test? Date: Thu, 11 Jun 2020 19:22:49 -0400 Message-ID: References: <30b33d01-3196-af12-fd6e-db9516829a49@gmail.com> <87lfktdzjl.fsf@fastmail.fm> <1b7504cc-2b1c-f155-c173-c85d0a3bce7f@gmail.com> <87a719dx6q.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="87613"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 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:23:23 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 1jjWXY-000MeY-Md for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 12 Jun 2020 01:23:20 +0200 Original-Received: from localhost ([::1]:44142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjWXX-0004iX-M6 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 11 Jun 2020 19:23:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjWXE-0004iO-Gj for help-gnu-emacs@gnu.org; Thu, 11 Jun 2020 19:23:00 -0400 Original-Received: from mail-qv1-xf36.google.com ([2607:f8b0:4864:20::f36]:46860) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jjWXC-0006XS-UV for help-gnu-emacs@gnu.org; Thu, 11 Jun 2020 19:23:00 -0400 Original-Received: by mail-qv1-xf36.google.com with SMTP id cv17so3564188qvb.13 for ; Thu, 11 Jun 2020 16:22:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=30T0FD1QLam1JvpinwaR/KaMTQ9faF3tKYdx4jw+7EE=; b=g8isSb5nC3WNKcqK9+kVrm3jte2ABskRfa5CKhXDu+vQ3s6DdBxmR7Ku+hz9kj8Nlr Br6J8R3J83YQnWtTMqt5SRodllDxJfC5Yx9RE8mVFFcPdNrffbDJvoV31sVpqNXBX1Ap damFNLZeAFEvpH6ObiWDVCwg+oNhJ3Dpl6tKYYfOhU92CbkvwBqYZ/NI0G+eSC9+iuYm 4tQqmEdLHvw5L0TsoKxHjJqc5FQGrp+0h6XHHSNt0Qvc2ajEgmIQff6FvyX8kp5+SzdU ys2RufiHNKWCDJSRG9Pi6d6VjPYpLbYBXgtgrRBXHDuj1yXvu4YyIieMLJC+AjwMyn05 GaMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=30T0FD1QLam1JvpinwaR/KaMTQ9faF3tKYdx4jw+7EE=; b=qhu+whTAf0V7kqwvF5L3ZbX2lSVwzpy80qSkbMNPq6fanbI+7pnILL46dosdd5CX3o G1UnlLYnHrfDQRWJN6Uy8QE6BIsl/0Pwlvq9NhtJG2YBVy1AZZ/yBiY0hWRFzLFH92lb ZODj8GwE+H8c3NBlZh98CiSzEYUlAchCbwxxw47oq5zMZZn0q8RxcmDpFvsUk8ElhDLm f2dKuyCKdPwfOomN8hcOOgpSDdzvKue06blGMmhD3ZOAG7Uo/gCDTaSUPGKPs0Zk4SbX FxZDCzBV4XP4vdfaWTdJGqAohJnf0GMZAQKQqJfbCXAnQ8ifZAFOXXitVddnXAbpJcW+ iEcg== X-Gm-Message-State: AOAM531fRxiqRAtA5Ggor74tBeNzg0fQ7+b03PcSKysd/S5Ot9qiLK0T Ah81sehGAxYpiLrVojZh29gKM4tiwA== X-Google-Smtp-Source: ABdhPJzCVaWzBjeZb4XPyQALwf584dtFwz9Yf/FNLNTkBO0FbhuqNAQ18Z+JWSDu+8BV0H+SAMRtnA== X-Received: by 2002:ad4:4368:: with SMTP id u8mr9917466qvt.227.1591917771571; Thu, 11 Jun 2020 16:22:51 -0700 (PDT) Original-Received: from [192.168.43.104] ([172.58.236.143]) by smtp.gmail.com with ESMTPSA id l8sm3520485qtb.57.2020.06.11.16.22.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Jun 2020 16:22:50 -0700 (PDT) In-Reply-To: <87a719dx6q.fsf@fastmail.fm> Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::f36; envelope-from=d.lewan2000@gmail.com; helo=mail-qv1-xf36.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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:123348 Archived-At: On 6/11/20 7:01 PM, Joost Kremers wrote: > > 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`. It looks like my copy of 26.3 was pulled (from ftp.gnu.org). I don't remember exactly when, but it looks like the most recent build was on 2020 May 21. I don't know if it's possible that the development repository and ftp.gnu.org/emacs/emacs-26.3.tar.gz could be out of sync. > > 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 Just what I want. Thanks. -- ,Doug d.lewan2000@gmail.com (908) 720 7908 If this is what winning looks like, I'd hate to see what losing is.