unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#60627: emacs-nadvice package do not generate autoload file.
@ 2023-01-07 12:56 Feng Shu
  2023-01-07 15:11 ` Nicolas Goaziou
  0 siblings, 1 reply; 6+ messages in thread
From: Feng Shu @ 2023-01-07 12:56 UTC (permalink / raw)
  To: 60627


This let emacs --debug-init show the below error:

------------------------------------------------------

Debugger entered--Lisp error: (file-missing "Cannot open load file" "没有那个文件或目录" "/gnu/store/gcvj3grb55ic034b9a56p6m182b2qfdr-emacs-nadvice-0.3/share/emacs/site-lisp/nadvice-0.3/nadvice-autoloads")
  load("/gnu/store/gcvj3grb55ic034b9a56p6m182b2qfdr-emacs-nadvice-0.3/share/emacs/site-lisp/nadvice-0.3/nadvice-autoloads" nil t)
  package-activate-1(#s(package-desc :name nadvice :version (0 3) :summary "Forward compatibility for Emacs-24.4's nadvice" :reqs nil :kind nil :archive nil :dir "/gnu/store/gcvj3grb55ic034b9a56p6m182b2qfdr-emacs-..." :extras ((:maintainer "Stefan Monnier" . "monnier@iro.umontreal.ca") (:authors ("Stefan Monnier" . "monnier@iro.umontreal.ca"))) :signed nil) nil deps)
  package-activate(nadvice)
  package-activate-1(#s(package-desc :name compat :version (28 1 2 2) :summary "Emacs Lisp Compatibility Library" :reqs ((emacs (24 3)) (nadvice (0 3))) :kind nil :archive nil :dir "/gnu/store/an425abx04g2hhg11c39h0y63gf6wc3l-emacs-..." :extras ((:url . "https://sr.ht/~pkal/compat") (:keywords "lisp") (:maintainer "Compat Development" . "~pkal/compat-devel@lists.sr.ht") (:authors ("Philip Kaludercic" . "philipk@posteo.net"))) :signed nil) nil deps)
  package-activate(compat)
  package-activate-1(#s(package-desc :name magit :version (3 3 0 -4) :summary "A Git porcelain inside Emacs." :reqs ((emacs (25 1)) (compat (28 1 1 2)) (dash (20210826)) (git-commit (20220222)) (magit-section (20220325)) (transient (20220325)) (with-editor (20220318))) :kind nil :archive nil :dir "/gnu/store/pg4c1sm7llfh20bxk44z5s2xr525246v-emacs-..." :extras ((:keywords "git" "tools" "vc") (:homepage . "https://magit.vc")) :signed nil) nil deps)
  package-activate(magit)
  package--activate-all()
  package-activate-all()
  package-initialize()
  (if package--initialized nil (package-initialize))
  eval-buffer(#<buffer  *load*-797460> nil "/gnu/store/pszj3mq14iv9wknk3yk0qpx440a1hppg-Emacs-..." nil t)  ; Reading at buffer position 4608
  load-with-code-conversion("/gnu/store/pszj3mq14iv9wknk3yk0qpx440a1hppg-Emacs-..." "/gnu/store/pszj3mq14iv9wknk3yk0qpx440a1hppg-Emacs-..." nil t)
  require(eh-basic)
  eval-buffer(#<buffer  *load*-921378> nil "/gnu/store/pszj3mq14iv9wknk3yk0qpx440a1hppg-Emacs-..." nil t)  ; Reading at buffer position 1235
  load-with-code-conversion("/gnu/store/pszj3mq14iv9wknk3yk0qpx440a1hppg-Emacs-..." "/gnu/store/pszj3mq14iv9wknk3yk0qpx440a1hppg-Emacs-..." nil t)
  require(emacs-helper)
  eval-buffer(#<buffer  *load*> nil "/home/feng/.emacs" nil t)  ; Reading at buffer position 3366
  load-with-code-conversion("/home/feng/.emacs" "/home/feng/.emacs" t t)
  load("~/.emacs" noerror nomessage)
  startup--load-user-init-file(#f(compiled-function () #<bytecode 0x108875929997f362>) #f(compiled-function () #<bytecode -0x1f3c61addc0b8a75>) t)
  command-line()
  normal-top-level()


-- 





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

* bug#60627: emacs-nadvice package do not generate autoload file.
  2023-01-07 12:56 bug#60627: emacs-nadvice package do not generate autoload file Feng Shu
@ 2023-01-07 15:11 ` Nicolas Goaziou
  2023-01-07 22:37   ` Feng Shu
  0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2023-01-07 15:11 UTC (permalink / raw)
  To: Feng Shu; +Cc: 60627

Hello,

Feng Shu <tumashu@163.com> writes:

> Debugger entered--Lisp error: (file-missing "Cannot open load file" "没有那个文件或目录" "/gnu/store/gcvj3grb55ic034b9a56p6m182b2qfdr-emacs-nadvice-0.3/share/emacs/site-lisp/nadvice-0.3/nadvice-autoloads")
>   load("/gnu/store/gcvj3grb55ic034b9a56p6m182b2qfdr-emacs-nadvice-0.3/share/emacs/site-lisp/nadvice-0.3/nadvice-autoloads" nil t)
>   package-activate-1(#s(package-desc :name nadvice :version (0
> 3) :summary "Forward compatibility for Emacs-24.4's nadvice" :reqs
> nil :kind nil :archive nil :dir
> "/gnu/store/gcvj3grb55ic034b9a56p6m182b2qfdr-emacs-..." :extras
> ((:maintainer "Stefan Monnier" . "monnier@iro.umontreal.ca") (:authors
> ("Stefan Monnier" . "monnier@iro.umontreal.ca"))) :signed nil) nil
> deps)
>   package-activate(nadvice)
>   package-activate-1(#s(package-desc :name compat :version (28
> 1 2 2) :summary "Emacs Lisp Compatibility Library" :reqs ((emacs (24
> 3)) (nadvice (0 3))) :kind nil :archive nil :dir
> "/gnu/store/an425abx04g2hhg11c39h0y63gf6wc3l-emacs-..." :extras ((:url
> . "https://sr.ht/~pkal/compat") (:keywords "lisp") (:maintainer
> "Compat Development" . "~pkal/compat-devel@lists.sr.ht") (:authors
> ("Philip Kaludercic" . "philipk@posteo.net"))) :signed nil) nil deps)
>   package-activate(compat)

This is now mitigated in commit db746d16602f4b22ed678aaaeeb5974398d27874.

To properly fix this, as the next step, I'm leaning towards removing
emacs-nadvice package altogether. It is not useful in Guix since we
provide Emacs 28+.

WDYT?

Regards,
-- 
Nicolas Goaziou




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

* bug#60627: emacs-nadvice package do not generate autoload file.
  2023-01-07 15:11 ` Nicolas Goaziou
@ 2023-01-07 22:37   ` Feng Shu
  2023-01-08 11:30     ` Nicolas Goaziou
  0 siblings, 1 reply; 6+ messages in thread
From: Feng Shu @ 2023-01-07 22:37 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 60627

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

>
> This is now mitigated in commit db746d16602f4b22ed678aaaeeb5974398d27874.
>
> To properly fix this, as the next step, I'm leaning towards removing
> emacs-nadvice package altogether. It is not useful in Guix since we
> provide Emacs 28+.

agree :-)

>
> WDYT?
>
> Regards,

-- 





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

* bug#60627: emacs-nadvice package do not generate autoload file.
  2023-01-07 22:37   ` Feng Shu
@ 2023-01-08 11:30     ` Nicolas Goaziou
  2023-10-04  3:17       ` Maxim Cournoyer
  0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2023-01-08 11:30 UTC (permalink / raw)
  To: Feng Shu; +Cc: phodina, 60627

Hello,

Feng Shu <tumashu@163.com> writes:

> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

>> To properly fix this, as the next step, I'm leaning towards removing
>> emacs-nadvice package altogether. It is not useful in Guix since we
>> provide Emacs 28+.
>
> agree :-)

I'm CC'ing Phodina, since he introduced the package.

Phodina: Do you think there is a reason to keep Emacs Nadvice package
around?

Regards,
-- 
Nicolas Goaziou




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

* bug#60627: emacs-nadvice package do not generate autoload file.
  2023-01-08 11:30     ` Nicolas Goaziou
@ 2023-10-04  3:17       ` Maxim Cournoyer
  2023-10-04  9:50         ` Nicolas Goaziou
  0 siblings, 1 reply; 6+ messages in thread
From: Maxim Cournoyer @ 2023-10-04  3:17 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: Feng Shu, phodina, 60627

Hi,

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Feng Shu <tumashu@163.com> writes:
>
>> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>
>>> To properly fix this, as the next step, I'm leaning towards removing
>>> emacs-nadvice package altogether. It is not useful in Guix since we
>>> provide Emacs 28+.
>>
>> agree :-)
>
> I'm CC'ing Phodina, since he introduced the package.
>
> Phodina: Do you think there is a reason to keep Emacs Nadvice package
> around?

38 weeks later, I think you can proceed with the removal and close this
issue :-)

-- 
Thanks,
Maxim




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

* bug#60627: emacs-nadvice package do not generate autoload file.
  2023-10-04  3:17       ` Maxim Cournoyer
@ 2023-10-04  9:50         ` Nicolas Goaziou
  0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Goaziou @ 2023-10-04  9:50 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: Feng Shu, phodina, 60627-done

Hello,

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>
>> Hello,
>>
>> Feng Shu <tumashu@163.com> writes:
>>
>>> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>>
>>>> To properly fix this, as the next step, I'm leaning towards removing
>>>> emacs-nadvice package altogether. It is not useful in Guix since we
>>>> provide Emacs 28+.
>>>
>>> agree :-)
>>
>> I'm CC'ing Phodina, since he introduced the package.
>>
>> Phodina: Do you think there is a reason to keep Emacs Nadvice package
>> around?
>
> 38 weeks later, I think you can proceed with the removal and close this
> issue :-)

I know, but it seems the issue apparently disappeared when we updated
nadvice from 0.3 to 0.4, so I lazily opted for status quo while waiting
for an answer.

So, nowadays, I think it doesn't matter much if we remove the package or
not. I'll simply close this bug report unless other issues arise.

Thanks for the heads-up!

Regards,
-- 
Nicolas Goaziou




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

end of thread, other threads:[~2023-10-04  9:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-07 12:56 bug#60627: emacs-nadvice package do not generate autoload file Feng Shu
2023-01-07 15:11 ` Nicolas Goaziou
2023-01-07 22:37   ` Feng Shu
2023-01-08 11:30     ` Nicolas Goaziou
2023-10-04  3:17       ` Maxim Cournoyer
2023-10-04  9:50         ` Nicolas Goaziou

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