[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#38533: emacs-auctex breaks url package
From: |
Diego Nicola Barbato |
Subject: |
bug#38533: emacs-auctex breaks url package |
Date: |
Mon, 09 Dec 2019 11:19:10 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi Maxim,
Maxim Cournoyer <address@hidden> writes:
> Hello Diego,
>
> Diego Nicola Barbato <address@hidden> 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