From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EDdgNb2pfGHhRgEAgWs5BA (envelope-from ) for ; Sat, 30 Oct 2021 04:11:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id WL8MMb2pfGHIOgAAB5/wlQ (envelope-from ) for ; Sat, 30 Oct 2021 02:11:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 319832FF79 for ; Sat, 30 Oct 2021 04:11:09 +0200 (CEST) Received: from localhost ([::1]:42074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgdpq-0003O4-RK for larch@yhetil.org; Fri, 29 Oct 2021 22:11:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgdp8-0003Np-Qp for emacs-orgmode@gnu.org; Fri, 29 Oct 2021 22:10:22 -0400 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]:37490) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgdp6-00054y-Kp for emacs-orgmode@gnu.org; Fri, 29 Oct 2021 22:10:21 -0400 Received: by mail-pl1-x62e.google.com with SMTP id j1so1458804plx.4 for ; Fri, 29 Oct 2021 19:10:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=6bYJLbLJyy2HkAQP0D7A6OXXPVZx2HwacAMpxOe44Is=; b=b06e4/haIhvhRlPhM+UDK++pLHMdP+n/LAUZnPbm+tkYf+0h3Bz44xEEQyajWv7C2d DTsFSfEb3NVA03t3WLJoZvorny08TBr5Iyv7BjdrOHZttTgpbRbZKiLRNxIEEXvlSMI3 dLpyjOkDIWkj2u0o14d0gRzekmtfgrZY+gUaolY2Dg198SMe30rrDpMVXxGD3MHohbWp EhCdGiJPHnEVbJMKrvebyTYkeu+x3FTvqvvjsIgJr9/mxNaM1LeK7arqSMDtiA2ItZpu OCUEXl/4bi80RAPy418Fo421IQCCk3K8deEiJ1mj4ZP38l5s7yEyYcKBvy8UinIC8Wk7 Zu7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=6bYJLbLJyy2HkAQP0D7A6OXXPVZx2HwacAMpxOe44Is=; b=qr4u3VSxBx9UNoQg2FiUvMnYR9XYtRL5sIVL+e7uH2YidceAU6JpJdRLINgNbCb8LC nlVty+opwYfmufzkV91YRURinn5Hzs9jisgYE9ksQxB+r5rkA0PQ2zncDIeZ3HKEPjsn 1ycemd5uNIf3rZuAjIilnai2T8rTsstnsjTX6Q0RkmMzROwMW+jeVOrD0YbBP29Ut+YI 1A5JIRXvenTZJsG7fA4BMowqZTHPK0e/Pkxy5ZIkcAlZ2SF65gsslbeHnwmdUJds0XLc DLeNHiOGBdPzVv0RQon6X3PmuwGJMHzq6HdaWzG82SyGTcY87dVAV757JFJxm3nGzAHf bbwA== X-Gm-Message-State: AOAM531Lb80Y9dwlAnDtIc7nFDntsKFzNnP7L+OMcp5Id+wDrpvOOgf/ cw+k7aVD8GUpJwWUxP+k52I= X-Google-Smtp-Source: ABdhPJxt0b5L/iclCX5w9YbAmHLCU0Da4FfcI9UI6cMHemGlMXm9IbP85vJaVHgiUYWGJjNLLKC+LA== X-Received: by 2002:a17:902:c652:b0:141:6ec4:dad3 with SMTP id s18-20020a170902c65200b001416ec4dad3mr12843446pls.75.1635559818580; Fri, 29 Oct 2021 19:10:18 -0700 (PDT) Received: from localhost (211-72-35-118.hinet-ip.hinet.net. [211.72.35.118]) by smtp.gmail.com with ESMTPSA id b24sm6621903pgm.26.2021.10.29.19.10.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Oct 2021 19:10:17 -0700 (PDT) From: Ihor Radchenko To: No Wayman Subject: Re: [BUG] org-element-cache-map calls native-comp-available-p without checking if it is bound first [9.5 (9.5-gf5faff @ /home/n/.emacs.d/straight/build/org/)] In-Reply-To: <87tugzinxz.fsf@gmail.com> References: <87tugzinxz.fsf@gmail.com> Date: Sat, 30 Oct 2021 10:11:46 +0800 Message-ID: <87ee83dzx9.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62e; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62e.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635559869; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=6bYJLbLJyy2HkAQP0D7A6OXXPVZx2HwacAMpxOe44Is=; b=NxcotuBb9LVyrecMySo9ehIfWPgPybzQZE/lTZ8/IdTqN5vsZoaRgilVppmrVUwQgtt3Hg 9AGGidyd4tW6RCIVCCEo9ddAIaKJfWZO5FSPwtfUaBRt/8478arK75S0m8ZSpZ+GpYpLQ8 MCeJHpXtw4m91voBRofL7MPpmaQnrDoHGRiCCQoRG0jgMvf/O1uS9LVeEWyLX28MXEKvcg Fhl8SqCWkUYDRxrzOPok5vXe1bcdOJJPkTdq2+MowDpq0P3DB4EjPLWEQHfFRDrDvFv9EX HQdjKw1VjEDzAjcYeRhNmKy/mSwWsxZx+ZkzCTsdj1oTz1motlXMumPEny5ypw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635559869; a=rsa-sha256; cv=none; b=ZMYXJL20ADxmH9iyraA0mUMtibIBp1m1I+H1e+mmrhcjzAGnie8eU/+j1LCEVI5lrLLNAi Xz9dM42Dk7oTrsmQDs2LWDplPMsqIN5/wRYZesSC+fvCQhchY71MDGTqeTknlUwKldwUPP pTBMykZmDX+JgLnCR3S/I6lMB+nxXhky9cyrRsU/xC66C1OFOSSS5h4mHDHWfUE4vkHTWQ dzf74j2UVKpTXD3roLF6LZ9KuQRt0srPnnpUIINGplJ/JSHptV+x+WhD2UaR1D9Id1oitn xNsUB+5rVl/eWjJ5oBa7+vnEKbPsDF/nBYY5WJVQJqz8N9E3CWExrxboBeg6WA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="b06e4/ha"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="b06e4/ha"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 319832FF79 X-Spam-Score: -2.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: +RmOG+Xu4jXg No Wayman writes: > See: > https://www.reddit.com/r/emacs/comments/qil2qh/symbols_function_definition_is_void/ > > > For context: > >>(and (symbolp func) >> (native-comp-available-p) >> (fboundp 'subr-native-elisp-p) > > The check could be wrapped in a function to prevent this in the > future. e.g. Oops. Thanks for noticing. I genuinely thought that I had this check there. Fixed on main. Best, Ihor