From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: gemmaro <gemmaro.dev@gmail.com>, 72333@debbugs.gnu.org
Cc: Katherine Cox-Buday <cox.katherine.e+guix@gmail.com>,
Andrew Tropin <andrew@trop.in>
Subject: bug#72333: [PATCH] gnu: emacs-transient: Prioritise loading over built-in.
Date: Wed, 31 Jul 2024 19:10:03 +0200 [thread overview]
Message-ID: <2b9d6faf689d9f5677387d29ff70f2bfdd1c1e04.camel@gmail.com> (raw)
In-Reply-To: <d147012fc8d18eef3e3b73b3a2ab802b94ad5f71.1722427477.git.gemmaro.dev@gmail.com>
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
next prev parent reply other threads:[~2024-07-31 17:12 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-28 12:41 bug#72333: Magit/Transient error message daniel szmulewicz
2024-07-30 22:20 ` Alvin Hsu
2024-07-30 22:50 ` aurtzy
2024-07-31 16:52 ` Richard Sent
2024-07-31 12:04 ` bug#72333: [PATCH] gnu: emacs-transient: Prioritise loading over built-in gemmaro
2024-07-31 17:10 ` Liliana Marie Prikler [this message]
2024-08-17 9:26 ` Tomas Volf
2024-08-17 11:21 ` Liliana Marie Prikler
[not found] ` <87ikvias2d.fsf@gmail.com>
2024-09-02 18:55 ` bug#72333: builtin native-compiled is loaded instead of emacs-packages Simon Tournier
2024-09-02 19:00 ` Simon Tournier
2024-09-02 19:22 ` Liliana Marie Prikler
2024-09-03 15:05 ` Simon Tournier
2024-09-03 14:57 ` bug#72333: [PATCH] gnu: emacs-minimal: Do not native-compile lisp/transient.el Simon Tournier
2024-09-03 16:49 ` Liliana Marie Prikler
2024-09-03 19:47 ` Liliana Marie Prikler
2024-09-03 21:00 ` Simon Tournier
2024-09-14 17:53 ` bug#72333: Magit/Transient error message Rutherther via Bug reports for GNU Guix
2024-09-14 19:12 ` Liliana Marie Prikler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2b9d6faf689d9f5677387d29ff70f2bfdd1c1e04.camel@gmail.com \
--to=liliana.prikler@gmail.com \
--cc=72333@debbugs.gnu.org \
--cc=andrew@trop.in \
--cc=cox.katherine.e+guix@gmail.com \
--cc=gemmaro.dev@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.