Hi Steve,

Steve McIntyre <[email protected]> writes:

> On Tue, Dec 09, 2025 at 11:42:36AM +0000, Steve McIntyre wrote:
>>
>>Hmmm, OK. That works without errors.
>>

I just realized that the minimalist command I provided didn't load the
transient package, so it's using the transient bundled in Emacs instead.
Can you also try the following command that does that and see whether
you can reproduce the issue?

,----[ Minialist command with trasient loaded ]
| emacs -Q --eval "(progn (add-to-list 'load-path 
\"/usr/share/emacs/site-lisp/elpa/magit-4.3.5\") (add-to-list 'load-path 
\"/usr/share/emacs/site-lisp/elpa/llama-0.6.2\") (add-to-list 'load-path 
\"/usr/share/emacs/site-lisp/elpa/magit-section-4.3.5\") (add-to-list 
'load-path \"/usr/share/emacs/site-lisp/elpa/with-editor-3.4.3\") (add-to-list 
'load-path \"/usr/share/emacs/site-lisp/elpa/transient-0.8.8\") (require 
'magit))"
`----

This should help determine whether anything related to the
transient-0.8.8 installation is causing issues.

>>I'll dig a little more.
>
> No joy at all :-(
>
> For now I've gone back to elpa-magit from bookworm so I can continue
> working. Happy to help with debugging if you can suggest anything more
> to try; I'm really not an elisp hacker and I'm out of my depth.
>

Another thing to try is to check whether you have any residual transient
installation lingering around under `/usr/share/emacs/site-lisp/elpa',
like `transient-0.3.7' from bookworm.  If so, can you remove it and
retry?

In that spirit, you can also try to remove the native compilation files
and regenerate them to see if that helps (they will regenerate next time
you launch Emacs after removal), which is usually named `eln-cache' and
located under the Emacs configuration directory (~/.config/emacs or
~/.emacs.d).

Also I would suggest to add `(setq load-prefer-newer t)' to your init.el
if you haven't done so, which should avoid most of the cache related
issues.

> -- 
> Steve McIntyre, Cambridge, UK.                                [email protected]
> Google-bait:       https://www.debian.org/CD/free-linux-cd
>   Debian does NOT ship free CDs. Please do NOT contact the mailing
>   lists asking us to send them to you.
>

-- 
Regards,
Xiyue Deng

Attachment: signature.asc
Description: PGP signature

Reply via email to