emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38533: closed (emacs-auctex breaks url package)


From: GNU bug Tracking System
Subject: bug#38533: closed (emacs-auctex breaks url package)
Date: Mon, 09 Dec 2019 04:59:02 +0000

Your message dated Mon, 09 Dec 2019 13:58:34 +0900
with message-id <address@hidden>
and subject line Re: bug#38533: emacs-auctex breaks url package
has caused the debbugs.gnu.org bug report #38533,
regarding emacs-auctex breaks url package
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
38533: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38533
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: emacs-auctex breaks url package Date: Sun, 08 Dec 2019 18:40:07 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
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



--- End Message ---
--- Begin Message --- Subject: Re: bug#38533: emacs-auctex breaks url package Date: Mon, 09 Dec 2019 13:58:34 +0900 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
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.

Thank you for the report!

Closing,

Maxim


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]