From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "Nelson H. F. Beebe" Newsgroups: gmane.emacs.devel Subject: emacs-27 breaks null function Date: Mon, 6 Apr 2020 11:30:04 -0600 Message-ID: Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="59322"; mail-complaints-to="usenet@ciao.gmane.io" Cc: beebe@math.utah.edu To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 06 19:31:03 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 1jLVaR-000FM8-IB for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Apr 2020 19:31:03 +0200 Original-Received: from localhost ([::1]:35642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLVaQ-0002y2-KA for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Apr 2020 13:31:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60385) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLVZi-00021c-5v for emacs-devel@gnu.org; Mon, 06 Apr 2020 13:30:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLVZh-0000Kj-0k for emacs-devel@gnu.org; Mon, 06 Apr 2020 13:30:17 -0400 Original-Received: from ipo3.cc.utah.edu ([155.97.144.18]:23989) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jLVZg-00009k-Oq for emacs-devel@gnu.org; Mon, 06 Apr 2020 13:30:16 -0400 X-IronPort-AV: E=Sophos;i="5.72,351,1580799600"; d="scan'208";a="38720574" Original-Received: from mail.math.utah.edu ([155.101.98.135]) by ipo3smtp.cc.utah.edu with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Apr 2020 11:30:06 -0600 Original-Received: from gamma.math.utah.edu (gamma.math.utah.edu [155.101.96.20]) by mail.math.utah.edu (8.14.8/8.14.8) with ESMTP id 036HU4FD024841; Mon, 6 Apr 2020 11:30:04 -0600 (MDT) Original-Received: from gamma.math.utah.edu (localhost [127.0.0.1]) by gamma.math.utah.edu (8.15.1/8.15.1) with ESMTP id 036HU4YK027586; Mon, 6 Apr 2020 11:30:04 -0600 Original-Received: (from beebe@localhost) by gamma.math.utah.edu (8.15.1/8.15.1/Submit) id 036HU4ie027581; Mon, 6 Apr 2020 11:30:04 -0600 X-US-Mail: "Department of Mathematics, 110 LCB, University of Utah, 155 S 1400 E RM 233, Salt Lake City, UT 84112-0090, USA" X-Telephone: +1 801 581 5254 X-FAX: +1 801 581 4148 X-URL: http://www.math.utah.edu/~beebe X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.8 (mail.math.utah.edu [155.101.98.135]); Mon, 06 Apr 2020 11:30:04 -0600 (MDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 155.97.144.18 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:246543 Archived-At: Some 34 years ago, I wrote a function with the code snippet (if (null executing-macro) ...) and that function has been in daily use through emacs-26. However, with emacs-27, I get an error with this traceback Symbol's value as variable is void: executing-macro The Emacs Lisp function null is defined in C in the file data.c, and its body { if (NILP (object)) return Qt; return Qnil; } appears not to have changed between 2009 and 2020. I find nothing in the ChangeLog.* files that would explain the behavior change in emacs-27. Nor can I readily spot some other function that could be used to test for the prior definition of a variable. Comments and advice are welcome! ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - University of Utah FAX: +1 801 581 4148 - - Department of Mathematics, 110 LCB Internet e-mail: beebe@math.utah.edu - - 155 S 1400 E RM 233 beebe@acm.org beebe@computer.org - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ - -------------------------------------------------------------------------------