From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id MB9sIVOLLmaEyQAAqHPOHw:P1 (envelope-from ) for ; Sun, 28 Apr 2024 19:45:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id MB9sIVOLLmaEyQAAqHPOHw (envelope-from ) for ; Sun, 28 Apr 2024 19:45:55 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=outlook.com header.s=selector1 header.b=m3a4Gnl+; dmarc=fail reason="SPF not aligned (relaxed)" header.from=outlook.com (policy=none); arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=2; s=key1; d=yhetil.org; t=1714326355; a=rsa-sha256; cv=fail; b=Su7/F0GpJDC0Z/hrUQVyoGX5zneE71HS+nhI2FfymAE+O+TW63ydumzAVloZRt9M9aRc3N YvDT7p0Pf8q3VmSGzMgDP+WMGzmNCSrT+uY9Pgfea1vdc5GqY5qaBT71WiFHNBcdAGD5xs z6r33tBXBMaiSy3JjDF9N6lHUTQ+okRQCFke96dq4LOEZACNWzn9KdG9xawgyOAPpc1dK2 paXKSqwlLB1aPBdLDlE1IeIisrxZiNNbE1wP1cHF44uqBVJ5M2uRrEk9NDsWHB6i+yAUam Mg7xXOZ1mIlHvJxANQTluumeika+Qj7zjrImXgeEK9BxM1l2RLP1/45S7i6snA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=outlook.com header.s=selector1 header.b=m3a4Gnl+; dmarc=fail reason="SPF not aligned (relaxed)" header.from=outlook.com (policy=none); arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714326355; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=z75/Wd5gNuxrRMNlpcjK28EJr6uVhXAKDhccp1BHFaA=; b=g32OG3/Nr5ExL5YYYnwTWqObqMAYvR2lkeGJ43KiQk9j+isBTMrPwbcWNgYkqgAMPZli9x eIdBkm7ZHfzlmHalon6Ep9edUZnIdHTDL9UR6bQaXukXbrVOg0VMpE+QeGQhE63VFZ5oHP dI3p4UbJ8PCtu0oNVRQWhFCoq370czRhpExTkb2It5cdTM/FbIEDCVBPSGWkpfLWGOOjGV FWM02ENgeC6UdF7cmvEZJJ4IzpiC/qOX6W0glqTObtdiMiA8oKC7D3tFJByig7axzHFkZ1 57zs29XF5K8tNwnY7lWyVjlgrmc6nZ/I1OzipY9+CxS+kyn+lmVGKBTJW8xfVA== 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 4EB4D12FD6 for ; Sun, 28 Apr 2024 19:45:55 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s18av-00073o-Ba; Sun, 28 Apr 2024 13:45:45 -0400 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 1s18at-00073Y-F9 for guix-patches@gnu.org; Sun, 28 Apr 2024 13:45:43 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s18at-0002a8-69 for guix-patches@gnu.org; Sun, 28 Apr 2024 13:45:43 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s18bB-0001zO-U7 for guix-patches@gnu.org; Sun, 28 Apr 2024 13:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70632] [PATCH v2] aux-files: comp-integrity: Adjust for newer emacs. References: In-Reply-To: Resent-From: Morgan Smith Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Apr 2024 17:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70632 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70632@debbugs.gnu.org Cc: Morgan Smith Received: via spool by 70632-submit@debbugs.gnu.org id=B70632.17143263587638 (code B ref 70632); Sun, 28 Apr 2024 17:46:01 +0000 Received: (at 70632) by debbugs.gnu.org; 28 Apr 2024 17:45:58 +0000 Received: from localhost ([127.0.0.1]:51435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s18b7-0001z8-SH for submit@debbugs.gnu.org; Sun, 28 Apr 2024 13:45:58 -0400 Received: from mail-mw2nam10olkn2089.outbound.protection.outlook.com ([40.92.42.89]:10665 helo=NAM10-MW2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s18b4-0001yx-No for 70632@debbugs.gnu.org; Sun, 28 Apr 2024 13:45:56 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WV0iEsMjtpriDO6vRM7bLaE6+WXMF+ZXwbxCHqtdtKXR6q4x4HE1I2OAGSxUx9zGM29ejwHUL64NKxwB7foy5n+UESfufmRBOBsWd/8T7fak+oQp7WPmPAGYuE/tjf2xjPfTouNyjmauOaGUE79/Cx8dLUzFqYpBkJUyFPZuZZkWAt8DBwubIn5eDyv4tsD1/pJ59O5/V1o9kN4sTL4q/IbIFrWWUN22IBTo5mHRuBNrIfGMkOR1mvpakXgnCNONSdsHD4JN8cSAGN6sn4h30ez8RmyUSStU0r6BVu4eCzlQCRNHdA1PvNyfUPBk6C3dtthbtXNYRtVsXdnAmZQ7aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=z75/Wd5gNuxrRMNlpcjK28EJr6uVhXAKDhccp1BHFaA=; b=i64TMKQtO4bxEFu/1yPNXzgSZKQKlRUdVTJvqOC8ToUZFO1NdJQ0BMh/gkF8wavdA3l3qiB2HYe3K0QVbp9DZyAyHMcg6oxLcW5YVipAQrrFv5aB2ef1zytfM/NrYxuM13lxeIN3i7uecQdbD2MKJWQTaQhZkccH37cHlTlqwl2cFr+/jUs4CeAN50OgFX87DeMmS03f9d4n3mueA+XWpQ4KmJqRAL7kuM9HdAs9E2WkZ35+BI2HZb4dI/bF3oHzg2uyhZv9zJJ2VmkfsIrK9qeWS7zAUi927ypnPQOgDvazI2+2yaXsfvmlsTeXwdYurhjF0gS+FFKVU5YpFqWsgA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=z75/Wd5gNuxrRMNlpcjK28EJr6uVhXAKDhccp1BHFaA=; b=m3a4Gnl+jouuH9SJGuCNkSs5bi0Y0l/jQMpbTgRf3cO1xDgb3Ew9fa/xRp0lTMDH37itOJFQBBwLZfMZZcdKEpp5ZRl6SSOh6nlAAvllJ6FUwI6MXAvYegixsJZ6PxHc50BcfZofwme5ub64Mp4kOonHyQE/E7ERaymShG3C6otRKZ0H0RjsGyX6w+IbSlnLdg5Jz8KR5Oha7LGJFQr8S6S4loQ9VZJIqwDLXQcXzL7ym9x7Avxiv8xqaJWX823AsplUWSIhaeXhYHvlawqYYnrstCTtgG3SyOTbfNMYD56VK80CCSwBbYNATJWs4CC0IWzqsWBo4hMhee+ROui2Gw== Received: from CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:610:1c4::17) by PH7PR84MB1677.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:510:150::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.34; Sun, 28 Apr 2024 17:45:27 +0000 Received: from CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM ([fe80::178d:1518:8a49:2a45]) by CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM ([fe80::178d:1518:8a49:2a45%6]) with mapi id 15.20.7519.031; Sun, 28 Apr 2024 17:45:27 +0000 From: Morgan Smith Date: Sun, 28 Apr 2024 13:40:51 -0400 Message-ID: X-Mailer: git-send-email 2.41.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [6GD6AEZ1PNRNK7Lpg1af5fKv3nJZeclP] X-ClientProxiedBy: YQBPR0101CA0316.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:6c::10) To CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:610:1c4::17) X-Microsoft-Original-Message-ID: <29d9cd5e76abd61cfb02935e165186268a36dbc7.1714326049.git.Morgan.J.Smith@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PR84MB3424:EE_|PH7PR84MB1677:EE_ X-MS-Office365-Filtering-Correlation-Id: b57251bd-0810-42e0-089d-08dc67aafcff X-Microsoft-Antispam: BCL:0; ARA:14566002|461199019|440099019|3412199016|1710799017; X-Microsoft-Antispam-Message-Info: KXIqEH4q0KZXz+TjFBK82B1bcvxefwIQSWa2G5TBVGNM0UDHM/B98DqX6Vvpi3vpo3cxV2okja0br0fH3OIP2+vvVqPWqY0abQ0Hjf2ujIvGXxFOz52xQbu/fphLDTSeus88u2cEJahuFRh7VdcSGW+9bVkSC16o5KQzVfCS0MWSBdUbaHDb4mKYPttE3pB6F8GUVjZBUwUVuW50ozdRucdowUJ8NmQMyklLRGscFeihQKURuhmv2WZw372V4sR0YBeOJI4QUlYkx/LuimetJ1+2ic/QtMKfvPA97Jakmf1NJwmbi3HfbvE4Wpml6CYmRcz3E6HM9qa9S3UtmHjN7aPPDhuHR4rhadoKDY24m3KgrSpp2ooNx1LE0IcxQ0nkjLNKx27zcnqRt3iZppuRdq9qXUI1I8a8SyKFwJOLCZSVAMvCbFJgygvW7kQG8UHHLAW9fbngebqxDwp7yePUiwuE7/ru5JiXVbSzlaKnDKPlQe76nkfUlrCxbFhFVfXYR7KAuUtGoDoPrrj7ApQkCN1135NLVigwQhs7ndyBSiEQ0msfUNNAN9S9QgbpbyMEqO/kGSOojTsUjhoIl8xi749ID+47Kg9TBlINJtTKb10kF951iUTxnQIJoXQVYiwA X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 6FkvmO91uk9nxAIg7pKDW0xE0dZxwaprGrSk+S1XTJm2Tu4ursiz9DDclOhjwLABr70+coQq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ZGbpdRUiUKnzEpObakpF8uoX9Mq0IT+CbBkoqw2SjvikPJ6crbKPKjjtNlFyGb2j8+5FQktfFuZtDOaL44uI1hW8sFqbLFIZQX9pjA/5bI/pRz89bjLgGlrUrxIdJm9oQ+ss X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b57251bd-0810-42e0-089d-08dc67aafcff X-MS-Exchange-CrossTenant-AuthSource: CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Apr 2024 17:45:27.4509 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR84MB1677 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 4EB4D12FD6 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 4.11 X-Spam-Score: 4.11 X-TUID: sQkW7PfW+nCy * gnu/packages/aux-files/emacs/comp-integrity.el (expect-help): Update with new terms for function descriptions. Also return the description instead of 'nil' on failure to aid in debugging. Change-Id: I63a3644c91dd7817a72ab11ae87ec4fc8fdb2c1b --- I apologize. Two hours before I sent the original patch they changed the descriptions once again. This patch is the same as before except instead of "compiled-function" we now have "byte-code-function". gnu/packages/aux-files/emacs/comp-integrity.el | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/gnu/packages/aux-files/emacs/comp-integrity.el b/gnu/packages/aux-files/emacs/comp-integrity.el index abe7e7c0c9..0c11100d22 100644 --- a/gnu/packages/aux-files/emacs/comp-integrity.el +++ b/gnu/packages/aux-files/emacs/comp-integrity.el @@ -16,10 +16,16 @@ (let ((desc (substring-no-properties (with-output-to-string (help-fns-function-description-header ',fun))))) - (cond ((string-search "native-compiled" desc) 'native) - ((string-search "byte-compiled" desc) 'byte) - ((string-search "built-in" desc) 'built-in) - (t nil)))))))) + (cond ((or (string-search "native-compiled" desc) ;; Emacs <= 29 + (string-search "subr-native-elisp" desc)) ;; Emacs >= 30 + 'native) + ((or (string-search "byte-compiled" desc) ;; Emacs <= 29 + (string-search "byte-code-function" desc)) ;; Emacs >= 30 + 'byte) + ((or (string-search "built-in" desc) ;; Emacs <= 29 + (string-search "primitive-function" desc)) ;; Emacs >= 30 + 'built-in) + (t desc)))))))) (defmacro expect-native (fun &optional feature) `(progn (expect-help ,fun native ,feature))) base-commit: 9f183c3627a006e8fd3bb9708448bc05a6204e6d -- 2.41.0