GNU bug report logs - #52292
29.0.50; when ~/.emacs.d is a relative symlink to ~/foo/bar, (setq find-file-visit-truename t) causes package-install to generate incorrect autoloads

Previous Next

Package: emacs;

Reported by: Faerryn <alexandre.liao <at> gmail.com>

Date: Sun, 5 Dec 2021 04:43:02 UTC

Severity: normal

Merged with 52413

Found in versions 28.0.90, 29.0.50

Full log


View this message in rfc822 format

From: Jorge Israel Peña <jorge.israel.p <at> gmail.com>
To: alexandre.liao <at> gmail.com, 52292 <at> debbugs.gnu.org
Subject: bug#52292: 29.0.50; when ~/.emacs.d is a relative symlink to ~/foo/bar, (setq find-file-visit-truename t) causes package-install to generate incorrect autoloads
Date: Sat, 9 Apr 2022 19:02:18 -0700
[Message part 1 (text/plain, inline)]
I am also observing this on Windows with Emacs 28. Reverting to Emacs 27.2
resolved the issue.

I was also able to work around this issue on Emacs 28 by using an
around-advice similar to the one provided by Faerryn but tailored for
straight.el, wrapping function straight--build-autoloads.

You can find other users running into this problem in this straight.el
issue: https://github.com/raxod502/straight.el/issues/701
[Message part 2 (text/html, inline)]

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

Previous Next


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