GNU bug report logs -
#55447
29.0.50; package-quickstart.el contains '#$', preventing Emacs from initializing correctly
Previous Next
Reported by: Daniel Semyonov <daniel <at> dsemy.com>
Date: Mon, 16 May 2022 10:31:01 UTC
Severity: normal
Tags: moreinfo
Found in version 29.0.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #16 received at 55447 <at> debbugs.gnu.org (full text, mbox):
Daniel Semyonov <daniel <at> dsemy.com> writes:
> I have deleted 'package-quickstart.el{,c}', all '*.elc' files in my
> package directory, restarted Emacs, then regenerated
> 'package-quickstart.el', and the same issue occurs.
I can reproduce this problem, too, but so far, I don't understand it.
The quickstart file includes these things from the package autoloads:
---
(add-to-list 'load-path (directory-file-name
(or (file-name-directory #$) (car load-path))))
---
Which... is wrong on many levels, I think?
Because this would just put ~/.emacs.d/ into the load path if it worked
(which isn't what we wanted to achieve), and the `or' statement itself
is slightly nonsensical (what is it really trying to test here? #$
should always return a file name?)
But the regression is that #$ returns nil now in this case, and I'm not
sure why. Anybody?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 8 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.