From: Alvin Hsu <alvinhsu2002@gmail.com>
To: daniel.szmulewicz@gmail.com
Cc: 72333@debbugs.gnu.org
Subject: bug#72333: Magit/Transient error message
Date: Tue, 30 Jul 2024 18:20:59 -0400 [thread overview]
Message-ID: <cd8fe8de-57c3-4da5-9aa3-88241dc7ce99@gmail.com> (raw)
In-Reply-To: <CAABPU6-gVgJTL8-qGGGVanMS0cWmtte0VJmEeK_q6LQxaLwapg@mail.gmail.com>
Hi Daniel,
> Running M-x magit-branch generates the following error:
> transient-setup: Symbol’s function definition is void:
> transient-prefix-object
>
> In order to reproduce:
>
> guix shell emacs emacs-magit -- emacs -Q
>
> M-x magit-version
> Magit 3.3.0-8.538cb2f, Transient 0.7.3, Git 2.45.2, Emacs 29.4, gnu/linux
It looks like this is because emacs is actually using the built-in (older)
version of transient, while magit relies on a function from a newer version.
Evaluating the following definition from the newer transient source code
fixes
this particular issue for me (I've put it in my init.el for the time being):
#+begin_src lisp
(defun transient-prefix-object ()
(or transient--prefix transient-current-prefix))
#+end_src
This sounds similar to another issue with embark and org [1], however in
that report it
was because emacs-org was not included in the environment; in this case, the
newer version of transient is already an input of magit in the guix
package, so
I'm not sure what's happening here.
[1] https://github.com/oantolin/embark/issues/723
Cheers,
aurtzy
next prev parent reply other threads:[~2024-08-05 17:36 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 [this message]
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
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cd8fe8de-57c3-4da5-9aa3-88241dc7ce99@gmail.com \
--to=alvinhsu2002@gmail.com \
--cc=72333@debbugs.gnu.org \
--cc=daniel.szmulewicz@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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).