GNU bug report logs - #52945
29.0.50; Recursive load of uni-special-lowercase.el

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Sun, 2 Jan 2022 07:20:02 UTC

Severity: normal

Found in version 29.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52945 in the body.
You can then email your comments to 52945 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#52945; Package emacs. (Sun, 02 Jan 2022 07:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 02 Jan 2022 07:20:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; Recursive load of uni-special-lowercase.el
Date: Sun, 02 Jan 2022 02:18:41 -0500
Package: Emacs
Version: 29.0.50

Report by Eli to `emacs-devel`:

There's some strange problem with this file: when building Emacs after
it is updated, byte-compilation of various Lisp files fails with error
message like this:

  File local-variables error: (error Recursive load
/home/eliz/git/emacs/branch/lisp/international/uni-special-lowercase.el
/home/eliz/git/emacs/branch/lisp/international/uni-special-lowercase.el
/home/eliz/git/emacs/branch/lisp/international/uni-special-lowercase.el
/home/eliz/git/emacs/branch/lisp/international/uni-special-lowercase.el
/home/eliz/git/emacs/branch/lisp/international/uni-special-lowercase.el)

  In toplevel form:
  international/mule.el:1833:8: Error: Recursive load:
"/home/eliz/git/emacs/branch/lisp/international/uni-special-lowercase.el",
"/home/eliz/git/emacs/branch/lisp/international/uni-special-lowercase.el",
"/home/eliz/git/emacs/branch/lisp/international/uni-special-lowercase.el",
"/home/eliz/git/emacs/branch/lisp/international/uni-special-lowercase.el",
"/home/eliz/git/emacs/branch/lisp/international/uni-special-lowercase.el",
"/home/eliz/git/emacs/branch/lisp/international/uni-special-uppercase.el"
  Makefile:290: recipe for target '../lisp/international/mule.elc' failed

I guess we try to lower-case some parts of the file-local variables
section, and that causes recursive load or something?

I couldn't get around this except by removing the file-local vars from
the file.





Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. (Sun, 02 Jan 2022 07:27:01 GMT) Full text and rfc822 format available.

Notification sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
bug acknowledged by developer. (Sun, 02 Jan 2022 07:27:02 GMT) Full text and rfc822 format available.

Message #10 received at 52945-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: 52945-done <at> debbugs.gnu.org
Subject: Re: bug#52945: 29.0.50; Recursive load of uni-special-lowercase.el
Date: Sun, 02 Jan 2022 02:26:19 -0500
> There's some strange problem with this file: when building Emacs after
> it is updated, byte-compilation of various Lisp files fails with error
> message like this:

Indeed I can reproduce it with:

    make
    touch lisp/international/{ucs-normalize,charprop,uni-special-lowercase}.el
    make

It seems it is newly introduced by the symbol-shorthands
code, which apparently uses just enough more of the `hack-local-variables`
machinery to trigger it.

Not sure what's the best fix for it, but I installed a patch into
`emacs-28` which seems to work around the problem.
Maybe we should drop the lazy loading feature of lisp/international/uni-*
since those files end up preloaded anyway.


        Stefan





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 30 Jan 2022 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 58 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.