From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Please help me debug my Emacs initialization file Date: Mon, 29 Jan 2024 14:08:50 +0200 Message-ID: <86jzns4a0d.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20934"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 29 13:09:21 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 1rUQS0-0005FF-Ku for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 29 Jan 2024 13:09:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUQRZ-00079d-Gh; Mon, 29 Jan 2024 07:08:53 -0500 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 1rUQRY-00079U-GW for help-gnu-emacs@gnu.org; Mon, 29 Jan 2024 07:08:52 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rUQRY-0001sU-7N for help-gnu-emacs@gnu.org; Mon, 29 Jan 2024 07:08:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=arwvOD4NQEEnZwrbbCF3/BRJ14hlA6O7NFATpb3fK24=; b=dMJII0AbgbTdHyjxppG5 zrbnsvVYg911RNY/c/CTeRlM7A8Nxi/Q0cgxhIffqAU95KOGBNn6F34WL6YKrjxoSDQ4ecfWbftcX +RuRqoqqALunjo0HIkw2w6JWDnjERxFvA28RWd47dxWZNUuLtVBIKLdqtPg7EES3oCHJ2Ky2YlAyI 69MywsfCyb5JVmyLEvh1F93vQOQJIyhQm7IpCh4ZQClNTwO9iyTHuxe+zfrRsmwvB3EXxLNrxfJIg AmGJMnD7qBGPu+mSUHFVNgYwBr37fK4VqUd9u3Pdr+SKK3PZwKNg5DJRbjrKsxQzKvz38clqPEWXd HUYw7PwDFdojdw==; In-Reply-To: (message from Davin Pearson on Mon, 29 Jan 2024 11:20:07 +1300) 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:145815 Archived-At: > From: Davin Pearson > Date: Mon, 29 Jan 2024 11:20:07 +1300 > > Here is the file ~/Binaries/runmacs that I use for loading emacs > > !/bin/bash > date > cd ~/Downloads/emacs-29.1/src && ./emacs -q --eval "(setq debug-on-error > t)" --debug-init --load "~/java-training-wheels/dmp-emacs--no-init-file.el" > & > > Here is a tarball for you to load and execute: > > http://davin.50webs.com/java-training-wheels.tar.gz > > Extract the tarball: > cd && tar fvx java-training-wheels.tar.gz > > Here is the error message that occurs when you run it: > > byte-code: Recursive ‘require’ for feature ‘semantic’ > > This error occurs immediately after the checkpoint: > > &safe-require:15014: > > in the file ~/java-training-wheels/dlisp/new-code/dmp-safe--require.el. > It gives similar error messages when you execute the following commands: > > C-x C-f > M-/ > M-. > C-h a > C-s > > Why doesn't it show a backtrace since I have --debug-init on the command > line? Try removing the '--eval "(setq debug-on-error t)"' part from the command line. --debug-init arranges to report errors while loading the init file, but setting debug-on-error to a non-default value causes it to disable its smarts, since it assumes that the user knew what they were doing.