From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: "transient-define-suffix" autoload error ? Date: Tue, 18 Jun 2024 19:16:50 -0400 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="18563"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Stefan Monnier via Users list for the GNU Emacs text editor To: David Masterson Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 19 01:17:33 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 1sJi4z-0004ae-3b for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 19 Jun 2024 01:17:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJi4P-0000ug-At; Tue, 18 Jun 2024 19:16:57 -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 1sJi4O-0000sv-5k for help-gnu-emacs@gnu.org; Tue, 18 Jun 2024 19:16:56 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sJi4M-00064q-54 for help-gnu-emacs@gnu.org; Tue, 18 Jun 2024 19:16:55 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 8756A80468; Tue, 18 Jun 2024 19:16:52 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1718752611; bh=2juvdxZz0IA9B+18E0zZQiWU2xItTS8XCY/QsXd802s=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=U1ATZycjHhFhLtj+umcrw0rPs53wBsef5OI2zMz/sh1nJ49DsKTX//p/RAzdDOUvn /WWLvcohnbaInnBUnhdjAVr051CzXuI4iyTgDKn97x06AT1STL6tZWvh+7ub+fJ2BJ OJ2WcK0iDTls+pklrcuXCEPM34REgofYrVBWq7co5cZ+bqysnY/MPJJcibZ6goXlOK PP9HhZZMiqRMXZOrq2zwZF+8Hpc/pPY7K/XJIoFWJXQtWQE4HJEr+B70IMlpgLcF5x N4PGuqzST/+66LObXUPQkAtOoay+yWxdIDl2S0jBgotCBNlGv0YiNf4SWt6/lQyCUf 9FD6NMeNrgX0Q== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 6C0CB8004C; Tue, 18 Jun 2024 19:16:51 -0400 (EDT) Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 576D91202DC; Tue, 18 Jun 2024 19:16:51 -0400 (EDT) In-Reply-To: (David Masterson's message of "Tue, 18 Jun 2024 16:01:25 -0700") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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:146910 Archived-At: > 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 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). > 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)`? > 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". Stefan