[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "transient-define-suffix" autoload error ?
From: |
David Masterson |
Subject: |
Re: "transient-define-suffix" autoload error ? |
Date: |
Tue, 18 Jun 2024 16:51:15 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> 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.
--
David Masterson
- "transient-define-suffix" autoload error ?, David Masterson, 2024/06/18
- Re: "transient-define-suffix" autoload error ?, Stefan Monnier, 2024/06/18
- Re: "transient-define-suffix" autoload error ?, David Masterson, 2024/06/18
- Re: "transient-define-suffix" autoload error ?, Stefan Monnier, 2024/06/18
- Re: "transient-define-suffix" autoload error ?, David Masterson, 2024/06/18
- Re: "transient-define-suffix" autoload error ?, Stefan Monnier, 2024/06/18
- Re: "transient-define-suffix" autoload error ?,
David Masterson <=
- Re: "transient-define-suffix" autoload error ?, Stefan Monnier, 2024/06/18
- Re: "transient-define-suffix" autoload error ?, David Masterson, 2024/06/19
- Re: "transient-define-suffix" autoload error ?, Stefan Monnier, 2024/06/19
- Re: "transient-define-suffix" autoload error ?, Eli Zaretskii, 2024/06/20
- Re: "transient-define-suffix" autoload error ?, David Masterson, 2024/06/18