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 18:27:07 -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="10292"; 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 00:28:00 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 1sJhJ1-0002So-PT for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 19 Jun 2024 00:27:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJhIO-0003wv-Kd; Tue, 18 Jun 2024 18:27:20 -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 1sJhIM-0003wG-I2 for help-gnu-emacs@gnu.org; Tue, 18 Jun 2024 18:27:18 -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 1sJhIK-0006AQ-7f for help-gnu-emacs@gnu.org; Tue, 18 Jun 2024 18:27:17 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id CCB614444D7; Tue, 18 Jun 2024 18:27:13 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1718749628; bh=XR22ccbi7Qdw062jHIqGk+q+ZUlDHERFa80FSJMXt5o=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=WiFBUHBL+EHSAi8j/8t+ynFZq1C363GZhxsFn9ZQJ9TqIXnBh+jtzu6eOj/BwUJW8 c5R0Dk4MjnVpcJQMPLRGg5kTLJuOwOD/e/IZ9FbZQYfYkVTkn8tAj2i+P0gr0A5Bp2 lmdRTIl4mfwrkLzVyvJSwuqn63IceHImqmN1a2Og0E3ioCd8l/618XEmVUON0qQh2w nOIza5+qEqUtiOk+Ea9+TcbHKgypJrHne2izDwsZ1agVq5adi5EHy0W49grP+Bm0TL QXiWG43njGnEdvkRKXF4N0VnVC4FOGyyFjAaCdUwvs7IywbzhCvNqfKds6Cktd/1Bn s42BXlCwwU1yQ== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 5C3B34444DE; Tue, 18 Jun 2024 18:27:08 -0400 (EDT) Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 4CF39120787; Tue, 18 Jun 2024 18:27:08 -0400 (EDT) In-Reply-To: (David Masterson's message of "Tue, 18 Jun 2024 14:48:19 -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:146908 Archived-At: > 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. Ah, right. I think `--debug-init` *should* help (tho apparently it doesn't, maybe that deserves its own bug-report), but otherwise you have to resort to simulating the init by hand. I.e. start with emacs -Q --eval '(setq debug-on-error t)' and then try and manually load the site-init files. But there's a chance the problem won't trigger in that case because of some detail of when&how the files get loaded. Stefan