From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Hugh Daschbach Newsgroups: gmane.emacs.bugs Subject: bug#40800: 27.0.90; Incorrect external definition for calc-twos-complement-mode Date: Fri, 24 Apr 2020 09:48:38 -0700 Message-ID: <87pnbwj0d5.fsf@ccss.com> References: <4B3EA578-AA6A-4AE6-93E4-C6AFC3F6F41B@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="129057"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.3.3; emacs 27.0.90 Cc: Hugh Daschbach , 40800@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 24 20:09:13 2020 Return-path: Envelope-to: geb-bug-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 1jS2lD-000XOa-KV for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Apr 2020 20:09:11 +0200 Original-Received: from localhost ([::1]:47434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jS2lC-0005lA-LO for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Apr 2020 14:09:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33552) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jS2l5-0005kJ-6M for bug-gnu-emacs@gnu.org; Fri, 24 Apr 2020 14:09:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jS2l4-0005Ms-Jo for bug-gnu-emacs@gnu.org; Fri, 24 Apr 2020 14:09:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46344) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jS2l4-0005Li-7B for bug-gnu-emacs@gnu.org; Fri, 24 Apr 2020 14:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jS2l4-0001E0-1x for bug-gnu-emacs@gnu.org; Fri, 24 Apr 2020 14:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Hugh Daschbach Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Apr 2020 18:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40800 X-GNU-PR-Package: emacs Original-Received: via spool by 40800-submit@debbugs.gnu.org id=B40800.15877517254686 (code B ref 40800); Fri, 24 Apr 2020 18:09:02 +0000 Original-Received: (at 40800) by debbugs.gnu.org; 24 Apr 2020 18:08:45 +0000 Original-Received: from localhost ([127.0.0.1]:57890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jS2kn-0001DV-7h for submit@debbugs.gnu.org; Fri, 24 Apr 2020 14:08:45 -0400 Original-Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:49747) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jS1VP-0007nV-1h for 40800@debbugs.gnu.org; Fri, 24 Apr 2020 12:48:47 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 0E5B6165E; Fri, 24 Apr 2020 12:48:40 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 24 Apr 2020 12:48:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type:content-transfer-encoding; s=fm2; bh= 86gGE1PEkDftc/wRJXa3XdJ8Rj90+8LS46zJYuingzY=; b=ARznC+uKQnF/jYy+ gkQXdGHT3lIaAhxfaeU63Lq0Wa4kwakv2yJg80myKZA/1Q5w6iuEUaMRPzKg1ayK k5nkq9CJbYYvhz91FW5EZh9D4XfiCM1BoE/blBOi6CPRu9F0xlGodUe3dTFnHigG ZFmtR3hEiqVItNp0zjgyiU+0vAxQ3RwqLvxVhbdKH3fNiWSXWORdnfoiyX68uxBm TWvQg2C/3ErThi/adYl29wkc0Ag9D/Cnl/gBD47ARIu+4eC3nXdNLeKtZzWKY9Sw /PAkYmT9q0tW4L0BLgPR8jUl+/KYFwAJdZ4ZtHhPRFy4kDBQQzZ9jUToc+Mq8Ngi HNqNKA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=86gGE1PEkDftc/wRJXa3XdJ8Rj90+8LS46zJYuing zY=; b=iEPR8HSqpXe1qoDw9CsDdU86vEiuHeKI5YicrF2MKEb/bIarFtaZ4g3cB X0bWWewB57v0E0OoCQT5ZeXT4EzxoYJSdaQRiQnnfvr9+3u6KoRU6LUgzoOeA/bO ev7z9jo8V7su2DcNOONStDfORZQPMr+1HR/bXD8p1N34BIE3fXfYh1LCz+jcL+DH oBUtxIj/oXyRMq0hcwCmjyYyIHyeIsgsvB9Z3gFdkdXuGvD7tLXS0BFV+Ing4/b5 E43K6QJxUp3DVML8xta5g/jmtezz4lX0mKj46Kthmt9wr11MhYiHZeeJiYFbfkZt 7apWh+wovhH1jBchkU5ZTGBHezd3g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrhedugddutddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufgjfffkgggtgfesthhqredttderjeenucfhrhhomhepjfhughhh ucffrghstghhsggrtghhuceohhgurghstghhsehfrghsthhmrghilhdrtghomheqnecukf hppedukeegrddvfedrkeefrddvhedvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhephhgurghstghhsehfrghsthhmrghilhdrtghomh X-ME-Proxy: Original-Received: from klaatu (184-23-83-252.dsl.static.fusionbroadband.com [184.23.83.252]) by mail.messagingengine.com (Postfix) with ESMTPA id A3A6F328005E; Fri, 24 Apr 2020 12:48:39 -0400 (EDT) In-reply-to: <4B3EA578-AA6A-4AE6-93E4-C6AFC3F6F41B@acm.org> X-Mailman-Approved-At: Fri, 24 Apr 2020 14:08:44 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:178949 Archived-At: Mattias Engdeg=C3=A5rd writes: > Thank you! It seems that calc-twos-complement-mode is a=20 > variable, not a function, and there were more autoloads that=20 > didn't correspond to actual functions. Would this patch work for=20 > you? > > (By the way, how come you found this mistake?) That does work, thank you. Moreover, (fboundp=20 'calc-twos-complement-mode) now returns nil. I ran into this trying to generate a list of functions with an=20 arity of zero, with: (completing-read "Function: " (let (fns) (mapatoms (lambda (x) (when (and (fboundp x) (=3D 0 (car (func-arity x)))) (push (symbol-name x) fns)))) fns) nil t nil 'local/mapcar-dired-history) Still need to ignore autoloaded functions, as I don't want=20 func-arity to cause the function to be loaded. But that's where I=20 started. Many thanks. Hugh