From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Masterson Newsgroups: gmane.emacs.help Subject: Re: "transient-define-suffix" autoload error ? Date: Tue, 18 Jun 2024 16:01:25 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20033"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cc: Stefan Monnier To: Stefan Monnier via Users list for the GNU Emacs text editor Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 19 01:02:11 2024 Return-path: Envelope-to: geh-help-gnu-emacs@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 1sJhq6-00052M-RP for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 19 Jun 2024 01:02:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJhpX-0003bK-7z; Tue, 18 Jun 2024 19:01:35 -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 1sJhpW-0003ao-25 for help-gnu-emacs@gnu.org; Tue, 18 Jun 2024 19:01:34 -0400 Original-Received: from mail-bn8nam11olkn2108.outbound.protection.outlook.com ([40.92.20.108] helo=NAM11-BN8-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sJhpT-0003VW-Ok for help-gnu-emacs@gnu.org; Tue, 18 Jun 2024 19:01:33 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WNSWTUtpGCOuF7kTSFXqXgvP2TCBXOepSEA47tk67nHAH8pM26tiwu7esucxWwHRcoslLJxIbWbRN/dG9hEvJwjJYY10xUvUcteO05geoITE4J+kv5hvq5BBzeGy3AKCz9XPtF3Y5GCKL+qYXqrjgcaNf9zGhKngXS4yGSppPBK8NcHw7u3y8f80sF+IHo/LbIQPHSF72cAUYn0/0PxE5OEMvQSHf29GuMtunE2sLKw4mXm2gQB2H1Vw2nXDpkt/u8IXaFOGhGfko8/AhZ0ckUXP1lZ0R0YfL5B57NA7cYA9o7tVz0GQd3lt4sh+6lIGKiNTuOG6aGae/0L5Z242fg== 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=J/Bx24de+4wowZnscyF+1w4J0Pl8hsh/raqppFaXOI8=; b=iaJjWkvy16mFnB/0TQiCJykFt2R9kZ7oKRX2ClbMH6+EAzEoMI+orPLIbrXQ2d4rHfTEG6SgtQLnclEPE0XkUS+nRhQX0+me8xvbUUWZef1TyBcpy83dR2w1eNESFhZq7qcFJDcbHGYw5xNvgtzjtcnMCtAYZoZb92i44kok/qggKHZD/icsiueiGJdWT4KLkAWRv3/0XNdTnxFCVByhuU8KZXHk42U21oMWcvVwkbi6qZ8czTjwAajOCLfuTssF0mxTqfgVJzXIY8pTVwSDValdOQWZ+Ix6/ihkxAYgomIAnk7gnCmUY2yze/PW6wvKO75xHKpW1FcnsAlq5WwFZg== 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=J/Bx24de+4wowZnscyF+1w4J0Pl8hsh/raqppFaXOI8=; b=nLOerwUBJUO+BsjGxkTJCyGMeqqqKOrFIQ7Kg2d1c8O79Unyi0MGvkfDh9NN0uXdsu0AVUtQB9i/VqZM8yFuzGRU+YPkjkmjfjrqo3gNyT1MtKFmsk2XeHRRwQyByOfMzqofS3r9hOdm5XpL50pkjDUpNuOYKLQcmfENeaxSFt1xm7DZMVxJ9+1IV0K/PnNL3o1wLTHV7X6M6PP00CgWitWaOlt+D9eZo+Mjl6XdZupIzP4ZTR77EseLPRFZEwJZSs54EoT44DtAJsb/h++XJgO2jqRg+NRoLtSfLkSSxzrG9hpNztXaEvCvxrOuRGvLUWxRjpOzUp/uh24pWRw07w== Original-Received: from LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:1be::16) by SJ1P223MB0505.NAMP223.PROD.OUTLOOK.COM (2603:10b6:a03:45c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.19; Tue, 18 Jun 2024 23:01:28 +0000 Original-Received: from LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM ([fe80::ec63:e3ac:48b2:8c01]) by LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM ([fe80::ec63:e3ac:48b2:8c01%3]) with mapi id 15.20.7677.030; Tue, 18 Jun 2024 23:01:28 +0000 In-Reply-To: (David Masterson's message of "Tue, 18 Jun 2024 14:48:19 -0700") X-TMN: [pPE569hUM3PMyQcd+MAJbaokoMVZGt3/NSzCESRsiMFOprRdqXfpXYhQAC2sxqod] X-ClientProxiedBy: PH7P221CA0025.NAMP221.PROD.OUTLOOK.COM (2603:10b6:510:32a::23) To LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:1be::16) X-Microsoft-Original-Message-ID: <875xu5vosa.fsf@penguin> X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV8P223MB0920:EE_|SJ1P223MB0505:EE_ X-MS-Office365-Filtering-Correlation-Id: 19df3596-0f51-469d-1971-08dc8fea95ed X-Microsoft-Antispam: BCL:0;ARA:14566002|461199025|3412199022|440099025; X-Microsoft-Antispam-Message-Info: pnfjvwcpp8azDC7mgPaia3Sp3GV0Wi6xEDlUUCbJyFfHmhuM2n9uMgoi9uzGAJX2AwaLPJmFQVkdPmyhxFe3An4ctxP4fnQqILw55wczzvtM240MZLEyeZfGAo/ssnYvK60v8BBQCWLushpkkDkHZ/jzjUU3ntFmsSbCUQfAB0MkiU2k97rlUZ45aHT8LrEkTKVFRu7PyxsJ69ICi7SzjN4xmrBKglTDaYZAvtlpYQ+6eoetKPwenc/9IkHyhnAGdjCe/RlOeDO2lnM58v1KHQ1u5SAppBIbO6D/rVZ+kw/ka1rba1O49kJ4ARdZObA9fPFP4R+SlNzEn8HqhKfc83pxNyvTYv0PTkBPqth2FWyL2qzk4HL/ZjQzHL+YbG8iAcsWqaBeCrKs/FuRm+4YUFtmOGZ25T1+4Smbm8a0rDOkEwtFY6Hi0XL036Gm14tLiCIymIHHiVzVTLJqJo7d0DS15iguKPAjE1UKDb/RXWBDcXanAt9ZCyWH33yEckUyVZviuA+yhccWgz5EbU0RUZu+X8VeUtr00RbtN8cb9QHOUcM+tiwyc3ZIJZadd3lM X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?GGkCWoXWHEGABTQmPLIyg4K8XhgNggvyNQuCNHGioPy3URnd7UeqDBfPt4ai?= =?us-ascii?Q?tdIJxykeddOEabY/u/MnHGmvd9jw3JQxDydX0OMYJYOc3Up5GHojBpO4BKpg?= =?us-ascii?Q?TbqQz6njxHlnicvpIa8gBYIA4lJMdB+BUc3SOondQ7VIBZH46KUF1EaSQvqo?= =?us-ascii?Q?aMgYORmD70KpHpb1qZ5GcM27jon1KyS5/O5AEGVsk3xZk9jhjDeKGAOdeVx0?= =?us-ascii?Q?t+P3td0Zq+O7qM9pr164lt4mYX59YahS1u+ob96M8jZgDaQA1KuEFNFzECrn?= =?us-ascii?Q?kbGo5lYPyYHVX017pi94kL5shr8k8iBm+69GxEEZcm6lee9uuHtkJcnhsg0K?= =?us-ascii?Q?59RVo2fxG2CifDRPCJPFaAVsYCenVvSRWUWjdKePCTvv28PS1lJr5CtIp6ZZ?= =?us-ascii?Q?eIsPjPe7vY2rvC5BhHBMqjLNmG7wAe+lJPl8eRXisFcuSaa6Wb7aumAPIG1g?= =?us-ascii?Q?Y2t5ihTZ1DJn7y2/5Kjoxr3ohJxS+3MhQmi5defguwkbud0QFEceI1YvbmgH?= =?us-ascii?Q?UuW6yYF746xAOa/g58hpgTmI/L0tlDgdQbai1G+xMdCrq+x+yeagvUzB88vX?= =?us-ascii?Q?W8FlJFqoC5sRM2qquo0waOY8asJgWWDYhdCnXPqdoqDqeg+nj07neu/1HhcV?= =?us-ascii?Q?t8 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 19df3596-0f51-469d-1971-08dc8fea95ed X-MS-Exchange-CrossTenant-AuthSource: LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jun 2024 23:01:28.2073 (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: SJ1P223MB0505 Received-SPF: pass client-ip=40.92.20.108; envelope-from=outlook_98C99531806B1C22@outlook.com; helo=NAM11-BN8-obe.outbound.protection.outlook.com X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FORGED_GMAIL_RCVD=1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146909 Archived-At: David Masterson writes: > Stefan Monnier via Users list for the GNU Emacs text editor > writes: > >>> Error loading autoloads: (void-function transient-define-suffix) >> >> This error indicates "the" file was miscompiled because it uses >> `transient-define-suffix` without making sure that macro is actually >> defined (i.e. without `require`ing `transient`). >> >> How to fix it depends on what "the" file is, and why >> `transient-define-suffix` is there. > > That is my problem! How do you find the file that is causing the error? > Based on where the error occurs in *Messages* and that it also prints to > standard error(?) as Emacs is starting, I would guess that the error is > occuring site-lisp or site-start. A "--debug-init" doesn't give me > anything because Emacs hasn't gotten to the init file yet (CMIIAW). > Therefore, I guess it is not in any of my ,emacs.d/elpa packages. > > I recognize what the problem is -- I'm just not sure how to find where > it is happening. Followup: A '--no-init-file' does make the error go away. That suggests that it is a problem with my packages. The only packages that I am using that use transient (AFAICT) is forge and magit. Debugging them is going to be difficult -- they looked good on requires in my first look. I use-package to load almost all of my interesting package, so I tried to ':disabled' these two as a first test. The error still comes up. I'm not sure how native compilation works internally, so I have some questions: 1. When are the native packages loaded in the startup sequence? 2. Does disabling a package via use-package prevent the native code from loading as well? 3. Is there a way to tell Emacs 28.2 to ignore the native code? 4. Does the natve compiler clean up old code from the cache? 5. Could my error be happening in the native code? -- David Masterson