Subject: Re: bug#77468: 30.1.50; package-quickstart file is not relocatable

From: Eli Zaretskii <[email-masked]>
Date: Thu, 03 Apr 2025 08:16:37 +0300

> Cc: [email-masked]
> Date: Wed, 02 Apr 2025 17:22:22 -0400
> From:  Spencer Baugh via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <[email-masked]>
> 
> Stefan Monnier <[email-masked]> writes:
> >> Maybe package-quickstart.el could use relative names to packages in
> >> package-user-dir (since it itself lives in package-user-dir), and
> >> absolute names to packages outside that?
> >
> > Sounds OK.  Tho maybe we should check `file*-in-directory-p` (or the
> > presence of "../" in the output of `file-relative-name`) rather than
> > distinguishing based on `package-user-dir` vs `package-directory-list`?
> >
> > In any case, it sounds like a good compromise.
> 
> Makes sense.  How about this?

Thanks, but please always remember to comment such non-trivial code,
explaining its purpose and the problems it attempts to solve.
Otherwise we make Emacs much harder to maintain for those who come
after us.