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 19:17:59 -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="30572"; 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 04:23:48 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 1sJkzE-0007n3-7F for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 19 Jun 2024 04:23:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJkyd-00023Q-E0; Tue, 18 Jun 2024 22:23:11 -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 1sJkyb-00022Z-3I for help-gnu-emacs@gnu.org; Tue, 18 Jun 2024 22:23:09 -0400 Original-Received: from mail-dm6nam04olkn20801.outbound.protection.outlook.com ([2a01:111:f403:2c09::801] helo=NAM04-DM6-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 1sJkyZ-0001yw-1m for help-gnu-emacs@gnu.org; Tue, 18 Jun 2024 22:23:08 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zl7SrHFBXvUpLWaJ8izAvVYoaKQQCEOVxUHK9pOaOZNXjgYcODgd3948w2ZHkott5n2euZmZmKzPp2N1kC/o8EhCD1dkwJPOZLms8VMGGD+xss5+H8RGoxHH5Qf6vXG0IJPevhqTvKkFpydktb2IGUnxhfBklnmfhzdVUR+8Snhzg8uouNnDf4ZurEZOwqVmNEKMNj09SQZpa5Lxve2eVgXIiCc6K1DxSYXoi18qXsjTV+BdGCX6XCKbaGbmMhqvLn+ZE7J52NiKn7ky4hyRTpPWgai9pp71+txfvhw1wePyaBgldjOVRv7XBwrBfqOi7Hm2CSI07azUDdQEKRdrNQ== 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=03cAbSPNc2Ppmt4tMLya090GlrJgyKLiRmIaD2vlBjI=; b=lQr3hgYxa27eAi4GWyTu/bGzKDI6id6LeAV4JDw29LErO/WgvkaUcmnmPnUgDSDnytoJTwCllp+WuXkJHvS7FCrw6UHoreEUrvyv/d3cgZgQSeYT9d8NWBPcg5IE6HG7o64L71xclkQ7eeP3t/aiBIaz+EpO0WSjP+l1ynocSiLH+qpfyDfQ7sCbKBbrPzuGZY+uLVUEF3ZhzXHrcPnjJLP+IdItvmLy68ZaFU0ZcFycHXmC/XBnvGwxNq1DERTJhBDCD9lV0MLZhjMoZvD7Qy2yuOwShYX7KRGRDvSXIRu4s6OWhteUikDO5uDiK7ALbL0pyCTErbB82sA+3gAdwA== 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=03cAbSPNc2Ppmt4tMLya090GlrJgyKLiRmIaD2vlBjI=; b=WciFY4dGZ6fH2MHdLwzXc/5TYKsONgcE5RJEWVvZN0xG1bQMIfaBYjoKah9UNk32XjBz+z2o8ipm3gE2NHI+QQ/BPfyZhP3B5F9uqQpb7oUGF4ko2NZsPw7KtZO5ot10x+zLCvSiviQeMTtoW8SYtK2m+vzN65ucxCfh4azhwsX/IQe4lR5apwfdyGS3rHmJ/CnE9zCiwoujHlJ8ms4fSehiKnqRNWjX7R6mhA/tD8b67KMtezWojZtGYnna48idhcgD90KBb+qU+xosJsTsoNBpkOOqOnKq72O9Lp3P4zgQl7i+9xlJjc4PPy//sWZZ01VwRJ5ArqvYPiBdHzHbjA== Original-Received: from LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:1be::16) by IA0P223MB0793.NAMP223.PROD.OUTLOOK.COM (2603:10b6:208:48d::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.19; Wed, 19 Jun 2024 02:18:02 +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; Wed, 19 Jun 2024 02:18:02 +0000 In-Reply-To: (David Masterson's message of "Tue, 18 Jun 2024 16:51:15 -0700") X-TMN: [1I76ZvWq/wosUj03pEUexWpzwvJK6lr1zW1kbeT7kCWLzUpufAd2WPw0WlXhjIzy] X-ClientProxiedBy: PH8PR21CA0019.namprd21.prod.outlook.com (2603:10b6:510:2ce::9) To LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:1be::16) X-Microsoft-Original-Message-ID: <87a5jh65go.fsf@penguin> X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV8P223MB0920:EE_|IA0P223MB0793:EE_ X-MS-Office365-Filtering-Correlation-Id: c2628f1a-1933-4f33-e93f-08dc90060b8c X-Microsoft-Antispam: BCL:0;ARA:14566002|461199025|440099025|3412199022; X-Microsoft-Antispam-Message-Info: onUjvw3KeYLkjA2cm4iyt3cSi2GUTKlODlLWiacwigV3mrBME+347aBgrvbBnkQBsp1sqn2qShkVknfXA2SgybC3VyruC2gyGU1fwLvpMQDI+tDidW3CfcohidRsQPtSnkGugR/8IOMMyIweb43tZ4a5KPRZKo4+HAKPvVjqAh675Qm45rUJxPu9onZQCW2cdqlys0imVc6bDrvlpk6IDGYzbCOQv9yjx/ND08+WWdO64mIgyi6ssLyiIlSPWO4v7Cd7DmSgSvi2AOIS5KAdfEvBZSZyo4fS4hnggnnRRQLcvhkak2wD9hw2rtwZdgXho0Er7xi6IDU0aPu6eFad6EzzRbgH7k5KzxMqQlrmNTV1R3nF+6xa9dBwHCk/wmKJ61TLOK1l1/uDpkK5aRU5nMj6AKE3+Z84bolg5aPM9B5wdL6rg4nLCVroJ8rSZw6h8hMx7BPQnvHnU9r7kFu+kP0029aJeugevNrwT1dwqDMEeyE7HcDrSssI1LkOyWzUOtzCvOrI2FgDRBcRfhc8m98mI9YgRPMpvA2XQ+R2SPNTHjNVsGrFUJtOOZSZ+/Nq X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?sp4jLbHlzT2osEg3eA0kWB4iRwldlS7vJGCXyiVtfCq8AaClFjF1dksAJzBm?= =?us-ascii?Q?oO0oJK+nZTEsi4f9WU4xrqRc6PN6NPm2kT/xn/RfMBD1a+lk8UZHvEjDXQUh?= =?us-ascii?Q?RhgHq4Oye5aQutN+bTdBrMrHebCH8WgSxvmXQXjLFAftuDDEPwlub4eeJrju?= =?us-ascii?Q?z0W4HIF3rNW2IAWa7ZJWztNQ1+QaLc1xzVy3UU/1ArEZar5fUTcGPtJSCszI?= =?us-ascii?Q?+CrFOP5JFzBSNYli7ObVFvJG3voa5vIBd5UdJUWIaUHcUb3Hooctji8p87u8?= =?us-ascii?Q?cDTK5q8Qk7MA5atD6t9LgTJ+IFUiAV9qzmlzxUP4rDf2GSaEp7jKLA/tIset?= =?us-ascii?Q?/sR0lLDJMG6BBleZNbUY0jpLOQS7lAdwp7WC1/YdoyeY/6Le+lCtaGt3hFAv?= =?us-ascii?Q?av9+46IiS4lmU4gyExl+yUOgWHDS3CuUpHJw5/vaN69+qpVDJZwMwAtD3cG3?= =?us-ascii?Q?pzycTcQlvht0GC7N+rfBl3HPCV35XNfmpfRfOub0wcjrg4bVkACll4EC52Fc?= =?us-ascii?Q?9zx8D6L9+i7h1GUoDRpM4x3UlZZiAJ97l+DfOiAnGXaLPlQ8bk2rzgNxv8xx?= =?us-ascii?Q?FdBn5FH4ZMykV987+EJcWrAd3b4l5FZDBK2NnNAg4/Jdnx3YPAljTCzOHhu6?= =?us-ascii?Q?fV X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c2628f1a-1933-4f33-e93f-08dc90060b8c X-MS-Exchange-CrossTenant-AuthSource: LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2024 02:18:01.9440 (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: IA0P223MB0793 Received-SPF: pass client-ip=2a01:111:f403:2c09::801; envelope-from=outlook_98C99531806B1C22@outlook.com; helo=NAM04-DM6-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, 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:146913 Archived-At: David Masterson writes: > 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. I think I found it -- it's in forge-autoloads.el. I wondered about your suggested startup with debug-on-error and noticed that the packages in ~/.emacs,d/elpa were not added to the load-path suggesting package-initialize had not run. When I ran that, the debugger found the file. Now, I have to walk through the code to see how it was supposed to require 'transient and raise a bug. Thanks. -- David Masterson