From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0O/kGTpafGGnnQAAgWs5BA (envelope-from ) for ; Fri, 29 Oct 2021 22:31:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yB+UFTpafGHDAgAA1q6Kng (envelope-from ) for ; Fri, 29 Oct 2021 20:31:54 +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 B3A9634E76 for ; Fri, 29 Oct 2021 22:31:53 +0200 (CEST) Received: from localhost ([::1]:42438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgYXY-0001wY-Pc for larch@yhetil.org; Fri, 29 Oct 2021 16:31:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgYLZ-0007vS-6z for emacs-orgmode@gnu.org; Fri, 29 Oct 2021 16:19:29 -0400 Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]:45831) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgYLX-00052D-CF for emacs-orgmode@gnu.org; Fri, 29 Oct 2021 16:19:28 -0400 Received: by mail-qt1-x834.google.com with SMTP id r2so8968463qtw.12 for ; Fri, 29 Oct 2021 13:19:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=user-agent:from:to:subject:date:message-id:mime-version; bh=4KxEH3tIyewZytt2K+DD4TmJhXFzSdLsgfZdYEz2DNk=; b=et6Z+b5On7O3OuujtexPER4L8cpqgEEvKq1xiHfjDbXQDaq6uCa+/8u78JWrgEoHBo F4+Mikdq2jJ8oLJb2qqzuprurI78jgd0/An1Yy4D4TwzWgToOOkVWPKR4cvGOiofp8ud BJsHPDUGUKFRxi2ppKYr5aDFUNXPz+G86ijVVC9QJZB+WDeKLtTX6747gxp/JC8zZU5G 8SI4fZl01BleZGOHPMpia9RR61KvXSvpddr6hstS423u8wi9JNUz6NR/Mo3OTX6vMDfe NSacYIRpvrOrNzKks7LB/rfeIS+J6oGCITunIV5HSyovyBho1cjDC1zS3H/8JnKKXdyT FJQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=4KxEH3tIyewZytt2K+DD4TmJhXFzSdLsgfZdYEz2DNk=; b=E6DNOcprXnjRZKxe0saxNLEAvudrAAfVpwi/HtZ/eUv2LXS0BCTJbh6sFOji6hhUyI bWiop5DqWnKGW4ZdicmJNGNgYP1ZvorOUIQYjGZpAQJNNcbEJcoS1tD5Snz8W0e8HTrS mwCkbiUz9EFFHn8PdEbZyXx8gNakS/JxhDusVtPBQSG1CIUhuGjhYLbeqt9IlJkk+goW zHkeXJu5OpSZAeZ00aaFQ57hteTQfn+w8emQ9DbAogFwxlrkQJpOrnJt9qw8UrQFhZJ4 oW/X9/AnG55BrhrEmoKpt8wSW6cnyoxPxu+oPuo/1v1pS3NXm0cz7asSjn5s/TI17HWC J4XQ== X-Gm-Message-State: AOAM533+E1D2CG5J16y2Ovzi/j7BQo6ndZjrXscBgK0hyE3iqbZEssRA OGxTQrUctNp97+ddWPSr8eVmDD92Bu2x4A== X-Google-Smtp-Source: ABdhPJz6+D8/6S71OcRRyy+hDznh7pJRRfUYSj7/gZiTd0tefei3qATxyxOneWRXtgleu68TVz13qg== X-Received: by 2002:a05:622a:606:: with SMTP id z6mr14662566qta.253.1635538762264; Fri, 29 Oct 2021 13:19:22 -0700 (PDT) Received: from arch ([2601:82:c200:166d:afae:ebe6:a0e2:409e]) by smtp.gmail.com with ESMTPSA id l3sm4690108qkj.110.2021.10.29.13.19.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Oct 2021 13:19:21 -0700 (PDT) User-agent: mu4e 1.7.0; emacs 29.0.50 From: No Wayman To: emacs-orgmode@gnu.org Subject: [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/)] Date: Fri, 29 Oct 2021 16:13:57 -0400 Message-ID: <87tugzinxz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2607:f8b0:4864:20::834; envelope-from=iarchivedmywholelife@gmail.com; helo=mail-qt1-x834.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-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: , 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=1635539513; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=4KxEH3tIyewZytt2K+DD4TmJhXFzSdLsgfZdYEz2DNk=; b=hxt/dbv/oSB9A70KcpGSi7fbIBbvuf3DolW9wEp9JKEnk7Q1syt/yNDiMZ3W8fEH2Dmc7S Wt9/ydu3ncHaI41sI7aZZPzBJIJ115IsuZVhQrVtq5O9UVeK8I+Xz5al1eF3YSmowZ4vT/ xw82JquisZp9VKVvht3B10g4t6XairTsM6s9aUuy4dhvaJFI3Rg8ZW1e8Qt8E9lLSqXH8E j1qTiU3YJqJxoqOymftsyJrFrJDAR5LkPyl/Ow2wntIMde4GgAnvttreY0zuPa/GXOmAHo JWSGGOuWwEzg9T8nC8bX+0xHQ8C7SSJ/EcHiiwHAgF80RG2yp8ipbYjEngncMg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635539513; a=rsa-sha256; cv=none; b=jw2ogtTYlpq4mXd7suRi75YBJ6eY6UpSi826V0aO51ExxLHQrM4Hh/Lj1MXlubPv0UTf1o peiTPRLo+fY+h0vHZfjO3Rt0IzHo0G1ukjxZzd8yB/6DILSTer6C3lSX+xIrVxPwVnsJnZ k9FWXi6xLu8TKRhMGZKZxymzYIaUYuOmjx8cpu6Tqu0K0N9ooVHPhE2dRzL2FP8hpF0Vjw LGgkDeBZOWN73S4eyECbFtjFT8BC80ENc/+Vow8XZF0yyYuctK9SkHpoqbQQftU8JHcNOM pa3uY4e24rlKQ4itL67+Bbtd6np4WLFcRlecDZUxCpSQmU3j3irhOpoPO7J3Pg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=et6Z+b5O; 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: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=et6Z+b5O; 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: B3A9634E76 X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: +Q84Wwsr/KH3 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. (defun org-native-comp-available-p () (and (fboundp 'native-comp-available-p) (native-comp-available-p)))