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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#52945: closed (29.0.50; Recursive load of uni-special-lowercase.el)
Date: Sun, 02 Jan 2022 07:27:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 02 Jan 2022 02:26:19 -0500
with message-id <jwvv8z2wqln.fsf-monnier+emacs <at> gnu.org>
and subject line Re: bug#52945: 29.0.50; Recursive load of uni-special-lowercase.el
has caused the debbugs.gnu.org bug report #52945,
regarding 29.0.50; Recursive load of uni-special-lowercase.el
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
52945: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52945
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.



[Message part 3 (message/rfc822, inline)]
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



This bug report was last modified 3 years and 137 days ago.

Previous Next


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