From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Why shouldn't we have a #if .... #else .... #endif construct in Emacs Lisp? Date: Wed, 30 Aug 2023 21:59:11 +0100 Message-ID: References: <87zg2bosf3.fsf@dataswamp.org> <875y4y14vy.fsf@localhost> <878r9suuhx.fsf@melete.silentflame.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8042"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ihor Radchenko , emacs-devel To: Sean Whitton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 30 22:57:54 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 1qbSG9-0001q0-Gb for ged-emacs-devel@m.gmane-mx.org; Wed, 30 Aug 2023 22:57:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qbSF3-0001dL-1L; Wed, 30 Aug 2023 16:56:45 -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 1qbSF2-0001dD-AA for emacs-devel@gnu.org; Wed, 30 Aug 2023 16:56:44 -0400 Original-Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qbSF0-0004v3-4N for emacs-devel@gnu.org; Wed, 30 Aug 2023 16:56:44 -0400 Original-Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2ba1e9b1fa9so4301151fa.3 for ; Wed, 30 Aug 2023 13:56:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693429000; x=1694033800; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=U8yKhTk43fzt1qJp6AnxSiMKjkYzMFAog7gFdlYCOI0=; b=Z9rUWPDzYONMf4SJJFXNC3c9w73pqwz0wKtV7MCqFUheAxVzdvkPIm+j85RZL1d+3f mSgqnM8dEKvAbLoZ48YIYCvuuODRSl+1TY4D4oi27bBTufLN4unodbvKrDLyYSG9GXVy +2jyDVW9fQk5lVHl/vCoKs4rEsKDpEoHaoINt+6YeilzKSUlLt6H32og45qhpgAsgUbf R+MW0S7pHJbBxc8uFbHhQ3scUOV0aQo0Ews2C6r5u7HG7zNSi/rcyiwKXu2L61ZOwNnT vg1bDOVpN1YdrBRL58a/TsHP4epHC5PB6Lg2oR2BGkUE8etAK0OKmO+KzP4YGF5C5qKh y/6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693429000; x=1694033800; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=U8yKhTk43fzt1qJp6AnxSiMKjkYzMFAog7gFdlYCOI0=; b=Hx8wlPMPacmUwyMhugfvg0R13m7e7PStD1rqGFlIf5ILFRFce6eJQVB37jYx0jnStT y9T1DZ9Awp/Bq+mY4LxMDdI8g/v+E7Qkr0oB6AirBe+aZ0onAsNVi1oAP9WH3FYCsV6T ONcz3NwASF7l5dMJriFrIp6Nh3Z1NlJGEvrPSbmtia9ChNL4nLr4p3KHHMYj5x/xEVDW K4v/Q2HXD0OWz2iDgusCnHCJ6JQl/roFgMwhcvZvbV/ucsp5wwux7BcY9o6DxqswxzL6 DQhftwgYkrkzdp2jJfDIAQTq+2RtqBLLxwoCoJ10wcMHQ/FmTvia+bYYnPkP30Tqmd+Y J1XA== X-Gm-Message-State: AOJu0Yy+nT4ayRwQSl8twI8xsZTWgN6bTrrdrSWgxzEMuRd0FGlDTAT0 F9OCTeOrxEldbz269W7pp99FHvfO17fTdCRDXqU= X-Google-Smtp-Source: AGHT+IFIttg4QDS4vKtYVfAU7gID0qXyPKe35nuGqCW5lVOT4KRXlrdUMe4QzpIHF819qabyN6pzFRTgU1REdbJ+XJ8= X-Received: by 2002:a2e:9097:0:b0:2bc:df55:eec7 with SMTP id l23-20020a2e9097000000b002bcdf55eec7mr2249761ljg.40.1693429000102; Wed, 30 Aug 2023 13:56:40 -0700 (PDT) In-Reply-To: <878r9suuhx.fsf@melete.silentflame.com> Received-SPF: pass client-ip=2a00:1450:4864:20::22c; envelope-from=joaotavora@gmail.com; helo=mail-lj1-x22c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:309559 Archived-At: On Wed, Aug 30, 2023 at 9:48=E2=80=AFPM Sean Whitton wrote: > > Hello, > > On Tue 29 Aug 2023 at 12:20pm +01, Jo=C3=A3o T=C3=A1vora wrote: > > > Of course it has many more even, but the problem is that such things > > are hardcoded in C even if part of the implementation then jumps to Lis= p. > > See lread.c around line 4318 for how backquote is hardcoded. In Commo= n > > Lisp there is a programmable mechanism for adding such macros entirely > > within the language. So don't be fooled, Elisp simply doesn't have tha= t. > > It's a deliberate choice, right? As part of ideas about keeping elisp > simpler than something like CL. Yeah, you "keep something simple" then Greenspuns's 10th kicks in. Jo=C3=A3o