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:51:15 -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="10416"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cc: Stefan Monnier via Users list for the GNU Emacs text editor To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 19 01:57:10 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 1sJihJ-0002Vl-Fz for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 19 Jun 2024 01:57:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJige-0003Ff-8x; Tue, 18 Jun 2024 19:56:28 -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 1sJigb-0003AP-U9 for help-gnu-emacs@gnu.org; Tue, 18 Jun 2024 19:56:25 -0400 Original-Received: from mail-mw2nam12olkn2024.outbound.protection.outlook.com ([40.92.23.24] helo=NAM12-MW2-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 1sJigZ-000496-SZ for help-gnu-emacs@gnu.org; Tue, 18 Jun 2024 19:56:25 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SsiNtsHWlN90J8xvufGXPAZeZqgzMZRcxPeQuT27nfIWRfSaolFg7V+5wpe487i2fcuA7CdOZwCOP+Rk4LSENlyRKU/YoP1WXWjdOrSyVZ00sbSjqDNYipm7d4pyrh9XmC66puY2gnXPtafPBKrET7GPvm2q7BaMcrT72f6M1WcHfts0AiDB0r31sPiP8j0ZPb6lv2ixJfuH45SIkkvuflSOXMTZYxRoD88tpeJXmvRuxhXZp/9e7P8lAnVwbyvXOM2MecYCY+/2xo+2ELs3BtHFlDqiFijNLyUxRp7A2mN3OXOYjdeDxd2NtuKayqOfdT9kG94D4VKu9xmB5EU6oQ== 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=nX96Lc1y0O1+WYEroS8iw4aknQ/wnumbCF6UlbKAnSQ=; b=QzZW5Mj4GpxAbANCrEjWG3ZOUom8MsxuTbyLFhSJW6zCONQSUt9UqwG3ULyDF0WF9XJUm9ZxQA6ZDWuldS+8lgi3UPyW3UvJx1mssgCEGIsFDzBRRM592HKSDYT+/YojvexRFT+YokgoRSbAmorOqi+g6/T6EnnaADdS5fHKsAU2u/gO/mo7haqGeEgoAVCZ4o9n4tDua5RTS743P39hWGmAcMSNP+GDUuVXmga1ozZo2IY1CqbTOvj14xWhVmitRGACK8phcCsxXU0LHLG4ay7EJbi91yqhOlO60g9SdP3WtSS1UlJ7cN4pZfcNYtjMhlL+8WlY+uECa7c99fdEow== 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=nX96Lc1y0O1+WYEroS8iw4aknQ/wnumbCF6UlbKAnSQ=; b=jeofSRQ4GB+IbJ2BJyFax4h7azOufqHLY5Sil8gjl9m+M+Pg1mXGVHjci6DNln2zKvPj4AWPK+hvrhAvAVL54BHUR0Ehbdmv/8MmH73hOHQ/f2xzi/jZK8q95AUHiG/EfINvodG8ldDRGEwb1SuqHvKYeQPDuEdStfKBVI3YS1+AKZR+4t+X02vMK+mBXMwvtCVSfybe5tPIfS9FH/rrmw+xE82+32VTTt27FeOuY7Ur9i1XHpdKQf5sxtNcXDetFoup8kXb9rc6ogbV3sD9YNyNlBdH44oB0ISqNYRpammdqW6an5oo8TJ207/VQlXe+qn5Z12BuXJVQMsMhLlIwg== Original-Received: from LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:1be::16) by EA2P223MB1122.NAMP223.PROD.OUTLOOK.COM (2603:10b6:303:24e::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.30; Tue, 18 Jun 2024 23:51:17 +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:51:17 +0000 In-Reply-To: (Stefan Monnier's message of "Tue, 18 Jun 2024 19:16:50 -0400") X-TMN: [CrlmAOQiqQztu1uhGYrW3PR4CZX7+gG5QSuBSy7E/ObjPTvi8qqmlOOx3o9SPJQC] X-ClientProxiedBy: PH8PR07CA0039.namprd07.prod.outlook.com (2603:10b6:510:2cf::7) To LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:1be::16) X-Microsoft-Original-Message-ID: <871q4tvmh8.fsf@penguin> X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV8P223MB0920:EE_|EA2P223MB1122:EE_ X-MS-Office365-Filtering-Correlation-Id: 760b232b-d145-4af3-3bad-08dc8ff18b7b X-Microsoft-Antispam: BCL:0;ARA:14566002|461199025|3412199022|440099025; X-Microsoft-Antispam-Message-Info: Xbcn0pFybOCkU90L1rBBCl+mPUYUQPBivfgeGCrlmQvfLf/IThyuNKfi5yioJ4AftHP1igE2EADB2LmlyCGNasEPd1XooBR34qS47t7rdkVOmILJGGeUhsBazwKs8ymZW2syQAp1aDCbmLgLO6XOhz8yI3kHFoeBjWOxHCdxPIq7iVZxv3FH1TxJbC6FZqZEOcRmoI9RGb5IoD46z3ykBjsDjappr8yGYXXJLvpT3ztrfRimmEpDVZ8AXc0Bor4sGOduWO3nlpEuS3F1wmD5AcxOXue3zqpMf8KR3vYXquVzEfboYIq71B5nNZIt44JmeqVLN774tm01KmoJ/zjxwSMkGJW8g8NlhlqaBx2OMW1ckb2pW7UHTuAuL4lg6mqbvxUPxkSpFTqJAqYoyGzS7kKUpAjObeMuZvBDRKxLtYY/8/QBIQeJWDcF6gmVnmAeoVftLHeJir1o8lQkmBhfjiEQOO7jmNr/C1x+TQRQqLpXnYBkb6KbqLZ5hW/Uo95Ryaiac+aot8PAaBkIY2mBSm6YknShMPbKpHARGK9/SYtrVnTkHL4eHzxZVfOfh9/o X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?xZ7Y/TTh44AH89pt/InoMJBl7a+qs+qQ7wFodQ8zaobWOtzbKmLWZAfXeIzC?= =?us-ascii?Q?4VFXu3JFkH1uzh1v0bn/W/9peFkcvz+cfqgp53ZkN3dyzJNNsGtxWJDhBuP/?= =?us-ascii?Q?Maxt/Gzh9EpKSZXA/sdUJexIClQNy8QyKpzlaDw8BCk1yWvei6EF7o54ABi4?= =?us-ascii?Q?nPWAcyGwMiqsdqB/oYx9i6YLCWzSxvQLvkyIxRhBn/wwPOrKZZybbiyTS7GN?= =?us-ascii?Q?71Af0uOHw2PlS4+B+0XVgmCeQ0yOq5YVHgU3QSUX5bm7SYD2LD36rLPOQ7YL?= =?us-ascii?Q?cE3EeOhyvHHPGXYwPI9EIeE2FN1YxAculo+cylc3G2Jh1rLMmRhTF3ntltPn?= =?us-ascii?Q?nYYuIXI6sMVFeQNOcfm62ZgV+UMrWrgtqYYjHpnv5VYLNe00/w8hN0+TrsEz?= =?us-ascii?Q?4yMGji+8NxCT/Bdtg/2k8kwF4MO+zIvWM1KPR+icLgybj6yKtcmnnRvw8dYm?= =?us-ascii?Q?U7bM8hvzREmhUBQfj0cPgk86wMunA+OAJIF3bA+ba5uJof6ibCMOXjOtw5KU?= =?us-ascii?Q?SNqz0i7wMVGgdm+H3YJP3G8q9B94eT5/yXUitv19uP80etvUOfM8CsjNFYih?= =?us-ascii?Q?tdYA+j1a5AoRHFaaB4+fCs4KNw/Jq4WCPJVwjnXZrvMKl/veTxEkUajIEaMF?= =?us-ascii?Q?3b X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 760b232b-d145-4af3-3bad-08dc8ff18b7b 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:51:17.2230 (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: EA2P223MB1122 Received-SPF: pass client-ip=40.92.23.24; envelope-from=outlook_98C99531806B1C22@outlook.com; helo=NAM12-MW2-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:146911 Archived-At: Stefan Monnier writes: >> 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. > > Ah, then if `--debug-init` does not help, maybe you should > > emacs -Q --eval '(setq debug-on-error t debug-on-signal t) \ > -l ~/.emacs.d/init.el I'm old school -- ~/.emacs -- but I get the idea. ;-) > which may give you a more interesting backtrace (but beware: > `debug-on-signal` will also give you false positives about errors which > aren't ones). With debug-on-signal, I get: Debugger entered--Lisp error: (void-variable kmacro-call-mouse-event) Without debug-on-signal, I get: Debugger entered--Lisp error: (file-missing "Cannot open load file" "No such file or directory" "use-package") require(use-package) >> 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. > > Maybe the problem is in `~/.emacs.d/package-quickstart.el(c)`? I don't have that file. >> 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? > > I don't see any indication in what you sent that the problem is linked > to native compilation. Of course, maybe it is, but my crystal ball is > screaming "look elsewhere". Your crystal ball is much more advanced than mine when it comes to Emacs, so I accept that. However, I think my questions above should be answered in the Emacs manuals somewhere to not make native compilation opaque. I don't trust ":disabled" in use-package. I'm going to try commenting out forge and magit. I might also try safely removing them from ~/.emacs.d. -- David Masterson