From: Lars Ingebrigtsen <larsi@gnus.org>
To: Daniel Semyonov <daniel@dsemy.com>
Cc: 55447@debbugs.gnu.org
Subject: bug#55447: 29.0.50; package-quickstart.el contains '#$', preventing Emacs from initializing correctly
Date: Tue, 17 May 2022 10:53:09 +0200 [thread overview]
Message-ID: <87lev0mtfu.fsf@gnus.org> (raw)
In-Reply-To: <87mtfg8zk5.fsf@dsemy.com> (Daniel Semyonov's message of "Tue, 17 May 2022 09:04:42 +0300")
Daniel Semyonov <daniel@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
next prev parent reply other threads:[~2022-05-17 8:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-16 10:30 bug#55447: 29.0.50; package-quickstart.el contains '#$', preventing Emacs from initializing correctly Daniel Semyonov via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-16 12:22 ` Lars Ingebrigtsen
2022-05-17 6:04 ` Daniel Semyonov via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-17 8:53 ` Lars Ingebrigtsen [this message]
2022-05-17 8:57 ` Lars Ingebrigtsen
2022-05-17 9:24 ` Lars Ingebrigtsen
2022-05-17 9:46 ` Lars Ingebrigtsen
2022-05-17 12:16 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-17 17:33 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lev0mtfu.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=55447@debbugs.gnu.org \
--cc=daniel@dsemy.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.