Hi Maxim, Maxim Cournoyer <maxim.courno...@gmail.com> writes:
> Hello Diego, > > Diego Nicola Barbato <dnbarb...@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