From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Why shouldn't we have a #if .... #else .... #endif construct in Emacs Lisp? Date: Sat, 09 Sep 2023 20:22:35 -0400 Message-ID: References: <87cyyr7i2i.fsf@localhost> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32258"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, ulm@gentoo.org, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 10 02:23:17 2023 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 1qf8EP-0008BF-6q for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Sep 2023 02:23:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qf8Dq-000062-AR; Sat, 09 Sep 2023 20:22:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qf8Dm-00004t-FE for emacs-devel@gnu.org; Sat, 09 Sep 2023 20:22:40 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qf8Dl-00080N-7p; Sat, 09 Sep 2023 20:22:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=asAndP7RdVbXMnl+8Te9g1G1rPWA2bNTMDAbAGPngH0=; b=U7+kHpuiloi2 S0PNYyGIDQnk9h2asLtcNSikgOd6HNyU9SbVDNumr9626SvvUwp2C9i+kTszqFEryPfLZY+LMN38B wrDAHjDVGSG5StK4LLWVw4O0gBoAaHMbS09QyECMWukp1CwQaa4LufYTWhj5tRCqhu7e3O7uABTlh W6kgAWckaWtEuEWS1VivNbCSIwMasX4PQXZpgwh35zVd8FIp1bCJlpeSHEa4MxCimFhcC6oT+y3X+ wJjArn7X79XJuZW7W5AU3eKPYX+YN2qygb2Y0fg7V3X1Wn0TYQHPAuEBsOqT/GS6gnk1u2nhr0Wy7 4F5lkY6UsxE0E9dvICxo6A==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1qf8Dj-0000bH-PE; Sat, 09 Sep 2023 20:22:36 -0400 In-Reply-To: <87cyyr7i2i.fsf@localhost> (message from Ihor Radchenko on Sat, 09 Sep 2023 10:32:37 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:310424 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > Because there are cases when `fboundp' should be checked at runtime. > For example, some parts of Org use `fboundp' to check if certain > third-party optional dependencies are loaded. If `fboundp' is resolved > at compile time, such checks will be broken. I am confident there is a convenient way to distinguish the cases where you want run-time tests from those where you would like compile-time tests. But I can't try to look for it until I see what the former cases look like. Can you show me an example? -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)