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.devel Subject: Re: emacs-27 breaks null function Date: Mon, 06 Apr 2020 20:51:49 +0200 Message-ID: <87wo6s78hm.fsf@fastmail.fm> References: <87o8s4fqwj.fsf@igel.home> 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="29667"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.3.10; emacs 27.0.90 Cc: Andreas Schwab , emacs-devel@gnu.org To: "Nelson H. F. Beebe" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 06 20:52:38 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jLWrO-0007fH-2m for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Apr 2020 20:52:38 +0200 Original-Received: from localhost ([::1]:37176 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLWrN-000128-3G for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Apr 2020 14:52:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49423) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLWqj-0000Ca-Vy for emacs-devel@gnu.org; Mon, 06 Apr 2020 14:51:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLWqi-0007i3-0p for emacs-devel@gnu.org; Mon, 06 Apr 2020 14:51:57 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:58993) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jLWqh-0007hF-Pd for emacs-devel@gnu.org; Mon, 06 Apr 2020 14:51:55 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 33C575C00E8; Mon, 6 Apr 2020 14:51:54 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 06 Apr 2020 14:51:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm2; bh=EhPusdq2ndvtDiDo96fPBpu2ro dDpUnKp/onCYwsGZs=; b=bHicSBZRf2FhTykXNfgSoL6DSBc4JmXbs4Th1uwiEc bu/vvUKy4EEcrbujNJ4IjrQ0xfDogTQNQKFpfFKY1yzKStV6x5A1AZmBFY6VvrCL Ujbvrx412HDTr5dbCKl97q1FkdYiFwAUzDJB5TeqROqbRbEXgzE5Rk6XGm/xGM9d 08yLlI6E5WGrjlXdoPgXwp+N+a9Nmb+KnQBIhA+3tPolNwMiAEWdgAA2ZmoLJVel VWB4U+0RCzQsdBz0f5NlDd4Tg8AcLV4o3+E9ogwsXJMRgv+v2mbffuuJlEG1aSd8 aaG13hShb1lDM5D9aMuC56Cu9Ol6x6W28vJ38pVc1tAA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=fm2; bh=EhPusd q2ndvtDiDo96fPBpu2rodDpUnKp/onCYwsGZs=; b=ZlRYRrYLivu4LCttcdirIE QQAkUg3gFhZrk9jGhbV5nCh1AcNWBQscOBDL8aSCM2O47sywTsA+RJjHg+1h7tEW gUjEmj4Akgt67ess8nlKPd98gpbte5vjugjVSOeG/Wlm+jreLUkFu5pCnlbR+acx GYsFCoZ6IpAmKm4RAvDOCnQs3EcBzIkcunwo4WI1eNeneSMwlTOVFgevy33SNgFB yFtuKElY54vY5wYHNN8H5MycYPCG8FdNT3ybNTywseX9hAJERduEA+875XkzQZZT zBJ9P2CDsGG8SB5iA5PaXY7zhH8GVPzXk3hANYfxLNkFyJVPnWNi/VWEpgz2CKeQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudefgdduvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufgjfffkgggtsehttdertddtredtnecuhfhrohhmpeflohhoshht ucfmrhgvmhgvrhhsuceojhhoohhsthhkrhgvmhgvrhhssehfrghsthhmrghilhdrfhhmqe enucfkphepleehrdeltddrvddtuddriedvnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepjhhoohhsthhkrhgvmhgvrhhssehfrghsthhmrghilh drfhhm X-ME-Proxy: Original-Received: from Lenovo.fastmail.com (ip5f5ac93e.dynamic.kabel-deutschland.de [95.90.201.62]) by mail.messagingengine.com (Postfix) with ESMTPA id 096723280063; Mon, 6 Apr 2020 14:51:52 -0400 (EDT) In-reply-to: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.27 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:246555 Archived-At: On Mon, Apr 06 2020, Nelson H. F. Beebe wrote: > Andreas Schwab writes in response: > >>> That variable (executing-macro) as been marked obsolete for >>> more than 24 years. >>> The alias has finally been removed in emacs 27. Use >>> executing-kbd-macro >>> instead. > > Thanks, that solves the problem for the particular use of > executing-macro, > but what about testing for an undefined variable in general, > such as > > (null > this-var-might-not-be-defined-but-might-also-be-defined) That's what `boundp` is for. (And `fboundp` if you want to check whether a symbol has a function binding). -- Joost Kremers Life has its moments