* bug#38533: emacs-auctex breaks url package
@ 2019-12-08 17:40 Diego Nicola Barbato
2019-12-09 4:58 ` Maxim Cournoyer
0 siblings, 1 reply; 3+ messages in thread
From: Diego Nicola Barbato @ 2019-12-08 17:40 UTC (permalink / raw)
To: 38533
Hi Guix,
AUCTeX breaks Emacs' bult-in url package. This bug appears to have been
introduced with commit 3ffdd00 and can be reproduced as follows:
1) Install ‘emacs’ and ‘emacs-auctex’.
2) Start Emacs and do M-: (require 'url), which will produce the
following backtrace:
--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (void-function TeX-add-style-hook)
(TeX-add-style-hook "url" #f(compiled-function () #<bytecode 0x48bbdd>) LaTeX-dialect)
require(url)
eval((require (quote url)) nil)
eval-expression((require (quote url)) nil nil 127)
funcall-interactively(eval-expression (require (quote url)) nil nil 127)
call-interactively(eval-expression nil nil)
command-execute(eval-expression)
--8<---------------cut here---------------end--------------->8---
It looks like Emacs tries to load the file
$GUIX_PROFILE/share/emacs/site-lisp/style/url.elc, which is provided by
‘emacs-auctex’, instead of
$GUIX_PROFILE/share/emacs/26.3/lisp/url/url.elc, which is provided by
Emacs itself.
Regards,
Diego
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#38533: emacs-auctex breaks url package
2019-12-08 17:40 bug#38533: emacs-auctex breaks url package Diego Nicola Barbato
@ 2019-12-09 4:58 ` Maxim Cournoyer
2019-12-09 10:19 ` Diego Nicola Barbato
0 siblings, 1 reply; 3+ messages in thread
From: Maxim Cournoyer @ 2019-12-09 4:58 UTC (permalink / raw)
To: Diego Nicola Barbato; +Cc: 38533-done
Hello Diego,
Diego Nicola Barbato <dnbarbato@posteo.de> writes:
> Hi Guix,
>
> AUCTeX breaks Emacs' bult-in url package. This bug appears to have been
> introduced with commit 3ffdd00 and can be reproduced as follows:
>
> 1) Install ‘emacs’ and ‘emacs-auctex’.
> 2) Start Emacs and do M-: (require 'url), which will produce the
> following backtrace:
>
> Debugger entered--Lisp error: (void-function TeX-add-style-hook)
> (TeX-add-style-hook "url" #f(compiled-function () #<bytecode 0x48bbdd>) LaTeX-dialect)
> require(url)
> eval((require (quote url)) nil)
> eval-expression((require (quote url)) nil nil 127)
> funcall-interactively(eval-expression (require (quote url)) nil nil 127)
> call-interactively(eval-expression nil nil)
> command-execute(eval-expression)
>
> It looks like Emacs tries to load the file
> $GUIX_PROFILE/share/emacs/site-lisp/style/url.elc, which is provided by
> ‘emacs-auctex’, instead of
> $GUIX_PROFILE/share/emacs/26.3/lisp/url/url.elc, which is provided by
> Emacs itself.
>
> Regards,
>
> Diego
This was caused by Emacs site-lisp/subdirs.el file, which when found in
a profile's union was causing Emacs to *recursively* add everything
under site-lisp to the load-path.
Fixed with commit a7a492899a.
Thank you for the report!
Closing,
Maxim
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#38533: emacs-auctex breaks url package
2019-12-09 4:58 ` Maxim Cournoyer
@ 2019-12-09 10:19 ` Diego Nicola Barbato
0 siblings, 0 replies; 3+ messages in thread
From: Diego Nicola Barbato @ 2019-12-09 10:19 UTC (permalink / raw)
To: Maxim Cournoyer; +Cc: 38533
Hi Maxim,
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
> Hello Diego,
>
> Diego Nicola Barbato <dnbarbato@posteo.de> writes:
>
>> Hi Guix,
>>
>> AUCTeX breaks Emacs' bult-in url package. This bug appears to have been
>> introduced with commit 3ffdd00 and can be reproduced as follows:
>>
>> 1) Install ‘emacs’ and ‘emacs-auctex’.
>> 2) Start Emacs and do M-: (require 'url), which will produce the
>> following backtrace:
>>
>> Debugger entered--Lisp error: (void-function TeX-add-style-hook)
>> (TeX-add-style-hook "url" #f(compiled-function () #<bytecode 0x48bbdd>) LaTeX-dialect)
>> require(url)
>> eval((require (quote url)) nil)
>> eval-expression((require (quote url)) nil nil 127)
>> funcall-interactively(eval-expression (require (quote url)) nil nil 127)
>> call-interactively(eval-expression nil nil)
>> command-execute(eval-expression)
>>
>> It looks like Emacs tries to load the file
>> $GUIX_PROFILE/share/emacs/site-lisp/style/url.elc, which is provided by
>> ‘emacs-auctex’, instead of
>> $GUIX_PROFILE/share/emacs/26.3/lisp/url/url.elc, which is provided by
>> Emacs itself.
>>
>> Regards,
>>
>> Diego
>
> This was caused by Emacs site-lisp/subdirs.el file, which when found in
> a profile's union was causing Emacs to *recursively* add everything
> under site-lisp to the load-path.
>
> Fixed with commit a7a492899a.
Wow, that was fast!
> Thank you for the report!
Thank you for fixing this (and the other Emacs related bugs I've
reported)!
Regards,
Diego
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-12-09 10:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-08 17:40 bug#38533: emacs-auctex breaks url package Diego Nicola Barbato
2019-12-09 4:58 ` Maxim Cournoyer
2019-12-09 10:19 ` Diego Nicola Barbato
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).