unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#72625: emacs-magit: autoload issue
@ 2024-08-14 18:58 Christopher Howard
  2024-08-20  8:12 ` Nicolas Goaziou via Bug reports for GNU Guix
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Howard @ 2024-08-14 18:58 UTC (permalink / raw)
  To: 72625

Recipe:

1. Make sure emacs-magit is already install.
2. In Emacs, go to an info manual (e.g., C-h r)
3. Position point on a menu link and press <ENTER>

This attempts to trigger some magit advice, but that fails with this error:

```
Debugger entered--Lisp error: (error "Autoloading file /gnu/store/fllbaw3s1i7b7f970pz3inmflgc5kb0w-emacs-magit-3.3.0-8.538cb2f/share/emacs/site-lisp/magit-3.3.0-8.538cb2f/magit-base.elc failed to define function Info-follow-nearest-node--magit-gitman")
  Info-follow-nearest-node--magit-gitman(#f(advice Info-follow-nearest-node@gitman :around #<subr Info-follow-nearest-node>) nil)
  apply(Info-follow-nearest-node--magit-gitman #f(advice Info-follow-nearest-node@gitman :around #<subr Info-follow-nearest-node>) nil)
  Info-follow-nearest-node(nil)
  funcall-interactively(Info-follow-nearest-node nil)
  command-execute(Info-follow-nearest-node)
```

Maybe magit-base.elc is compiled wrong somehow...?

I see magit 4.0 was just released, so if somebody wants to update the package, maybe the problem would go away.

Here is my system information:

```
christopher@theoden 
------------------- 
OS: Guix System x86_64 
Host: OptiPlex 9020 00 
Kernel: 5.15.161-gnu 
Uptime: 41 days, 21 hours, 44 mins 
Packages: 167 (guix-system), 251 (guix-user) 
Shell: bash 5.1.16 
Resolution: 1920x1080 
DE: GNOME 
Theme: Adwaita [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: shepherd 
CPU: Intel i5-4570 (4) @ 3.600GHz 
GPU: AMD ATI Radeon HD 8490 / R5 235X OEM 
GPU: Intel HD Graphics 
Memory: 3867MiB / 15914MiB 
```

``` guix describe
Generation 140	Aug 14 2024 10:02:53	(current)
  guix ca5ff8a
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: ca5ff8aa8b50ac317003d76cc4ea2a621d5a3819
```

GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0)

Magit 3.3.0-8.538cb2f, Transient 0.7.4, Git 2.45.2, Emacs 29.4, gnu/linux

-- 
📛 Christopher Howard
🚀 gemini://gem.librehacker.com
🌐 http://gem.librehacker.com

בראשית ברא אלהים את השמים ואת הארץ




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#72625: emacs-magit: autoload issue
  2024-08-14 18:58 bug#72625: emacs-magit: autoload issue Christopher Howard
@ 2024-08-20  8:12 ` Nicolas Goaziou via Bug reports for GNU Guix
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou via Bug reports for GNU Guix @ 2024-08-20  8:12 UTC (permalink / raw)
  To: Christopher Howard; +Cc: 72625

Hello,

Christopher Howard <christopher@librehacker.com> writes:

> Recipe:
>
> 1. Make sure emacs-magit is already install.
> 2. In Emacs, go to an info manual (e.g., C-h r)
> 3. Position point on a menu link and press <ENTER>
>
> This attempts to trigger some magit advice, but that fails with this error:
>
> ```
> Debugger entered--Lisp error: (error "Autoloading file /gnu/store/fllbaw3s1i7b7f970pz3inmflgc5kb0w-emacs-magit-3.3.0-8.538cb2f/share/emacs/site-lisp/magit-3.3.0-8.538cb2f/magit-base.elc failed to define function Info-follow-nearest-node--magit-gitman")
>   Info-follow-nearest-node--magit-gitman(#f(advice Info-follow-nearest-node@gitman :around #<subr Info-follow-nearest-node>) nil)
>   apply(Info-follow-nearest-node--magit-gitman #f(advice Info-follow-nearest-node@gitman :around #<subr Info-follow-nearest-node>) nil)
>   Info-follow-nearest-node(nil)
>   funcall-interactively(Info-follow-nearest-node nil)
>   command-execute(Info-follow-nearest-node)
> ```
>
> Maybe magit-base.elc is compiled wrong somehow...?
>
> I see magit 4.0 was just released, so if somebody wants to update the
> package, maybe the problem would go away.

Magit was updated to 4.0 a few hours ago. I cannot reproduce it (but
I didn't try before the update). Did this change anything on your side?

Regards,
-- 
Nicolas Goaziou






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-20  8:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-14 18:58 bug#72625: emacs-magit: autoload issue Christopher Howard
2024-08-20  8:12 ` Nicolas Goaziou via Bug reports for GNU Guix

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).