help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Please help me debug my Emacs initialization file


From: Eli Zaretskii
Subject: Re: Please help me debug my Emacs initialization file
Date: Mon, 29 Jan 2024 14:08:50 +0200

> From: Davin Pearson <davin.pearson@gmail.com>
> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]