[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#72333: [PATCH] gnu: emacs-transient: Prioritise loading over built-i
From: |
Liliana Marie Prikler |
Subject: |
bug#72333: [PATCH] gnu: emacs-transient: Prioritise loading over built-in. |
Date: |
Wed, 31 Jul 2024 19:10:03 +0200 |
User-agent: |
Evolution 3.48.4 |
Am Mittwoch, dem 31.07.2024 um 21:04 +0900 schrieb gemmaro:
> * gnu/packages/emacs-xyz.scm (emacs-transient)[arguments]<#:emacs>:
> Use the full emacs package.
>
> Change-Id: Id6277f365ae0a780469658818872b7277de20135
> ---
> Hello,
>
> I hope this fixes the problem.
>
> I found out the followings:
> * Native compiled files (.eln) might be loaded first.
> * The built-in Transient has an eln version and lacks transient-
> prefix-object.
> * Using the full emacs generates the eln and now it is prioritised.
This won't work if you use any other Emacs (e.g. emacs-pgtk).
Try for example:
guix shell emacs-magit emacs-pgtk \
--with-input=emacs-minimal=emacs --pure -- emacs
One workaround would be to check the symbol in magit and other packages
that rely on this symbol, but I hazard a guess that there's a reason
why they require the newer magit.
The other (recommended at the moment) would be to use the proper
transformation to natively compile your emacs packages.
We could also, for the time being, offer an Emacs without native
compilation – YMMV on how well liked that'd be.
The proper fix would be to build Emacs packages for the various
variants directly with emacs-build-system. I have an as-of-yet
incomplete patch set to do exactly that.
Cheers
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#72333: [PATCH] gnu: emacs-transient: Prioritise loading over built-in.,
Liliana Marie Prikler <=